/* =========================
   DESIGN SYSTEM PREMIUM
========================= */
:root {
  --bg: #f6f5f2;
  --paper: #ffffff;
  --ink: #1c2320;
  --ink-soft: #5f6c72;
  --accent: #183b2a;
  --accent-soft: #e3ece6;
  --border: #e6e4df;
  --terracotta: #c97d60;
  --terracotta-light: #e8b8a8;
  --olive: #6b7a4f;
  --sand: #e8e3d8;
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 24px rgba(24, 59, 42, 0.12);
  --shadow-hover: 0 12px 32px rgba(24, 59, 42, 0.15);
  --gradient-subtle: linear-gradient(135deg, rgba(201, 125, 96, 0.05) 0%, rgba(107, 122, 79, 0.05) 100%);
}

/* =========================
   BASE
========================= */
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--bg);
  background-image: 
    url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='zellige-mosaic' x='0' y='0' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3C!-- Étoile 8 branches centrale --%3E%3Cg transform='translate(60,60)'%3E%3Cpath d='M0,-20 L5,-5 L20,0 L5,5 L0,20 L-5,5 L-20,0 L-5,-5 Z' fill='rgba(107, 122, 79, 0.04)' stroke='rgba(107, 122, 79, 0.08)' stroke-width='0.3'/%3E%3Cpath d='M-8,-8 L8,-8 L8,8 L-8,8 Z' fill='rgba(201, 125, 96, 0.05)'/%3E%3C/g%3E%3C!-- Étoiles 4 branches aux coins --%3E%3Cg transform='translate(30,30)'%3E%3Cpath d='M0,-10 L5,0 L0,10 L-5,0 Z' fill='rgba(201, 125, 96, 0.04)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(90,30)'%3E%3Cpath d='M0,-10 L5,0 L0,10 L-5,0 Z' fill='rgba(107, 122, 79, 0.04)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(30,90)'%3E%3Cpath d='M0,-10 L5,0 L0,10 L-5,0 Z' fill='rgba(107, 122, 79, 0.04)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(90,90)'%3E%3Cpath d='M0,-10 L5,0 L0,10 L-5,0 Z' fill='rgba(201, 125, 96, 0.04)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3C!-- Polygones de connexion --%3E%3Cpath d='M0,0 L30,0 L30,30 L0,30 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M30,0 L60,0 L60,30 L30,30 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M60,0 L90,0 L90,30 L60,30 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M90,0 L120,0 L120,30 L90,30 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M0,30 L30,30 L30,60 L0,60 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M30,30 L60,30 L60,60 L30,60 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M60,30 L90,30 L90,60 L60,60 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M90,30 L120,30 L120,60 L90,60 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M0,60 L30,60 L30,90 L0,90 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M30,60 L60,60 L60,90 L30,90 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M60,60 L90,60 L90,90 L60,90 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M90,60 L120,60 L120,90 L90,90 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M0,90 L30,90 L30,120 L0,120 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M30,90 L60,90 L60,120 L30,120 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M60,90 L90,90 L90,120 L60,120 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(107, 122, 79, 0.05)' stroke-width='0.2'/%3E%3Cpath d='M90,90 L120,90 L120,120 L90,120 Z' fill='rgba(232, 227, 216, 0.03)' stroke='rgba(201, 125, 96, 0.05)' stroke-width='0.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23zellige-mosaic)' opacity='0.4'/%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 50%, rgba(201, 125, 96, 0.015) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(107, 122, 79, 0.015) 0%, transparent 50%);
  background-attachment: fixed;
  background-size: 120px 120px, auto, auto;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2.2rem;
}

section {
  padding: 5rem 0;
  scroll-margin-top: 2rem;
  transition: all 0.6s ease;
  position: relative;
}

section + section {
  border-top: 1px solid var(--border);
  position: relative;
}

section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--terracotta-light), transparent);
  opacity: 0.5;
}

/* Animation pour la section contact quand on y arrive */
section#contact {
  position: relative;
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

section#contact:target,
section#contact.highlighted {
  animation: highlightContact 2s ease-out;
}

@keyframes highlightContact {
  0% {
    background-color: var(--bg);
    box-shadow: none;
  }
  30% {
    background-color: var(--accent-soft);
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  100% {
    background-color: var(--bg);
    box-shadow: none;
  }
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3 {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.015em;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 1.4rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.8rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--ink);
}

ul {
  margin: 1.4rem 0;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.6rem;
}

/* =========================
   HEADER / HERO PREMIUM
========================= */
header {
  background: linear-gradient(180deg, #ede9e2 0%, #f6f5f2 50%, #faf9f7 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(201, 125, 96, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(107, 122, 79, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

header .container {
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--ink-soft);
  max-width: 700px;
}

/* =========================
   CTA
========================= */
.cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.cta-button {
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.9rem 1.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: #122d20;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-outline {
  border: 2px solid var(--accent);
  padding: 0.9rem 1.9rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-outline:hover::before {
  left: 100%;
}

.cta-outline:hover {
  background-color: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* =========================
   STEPS (PREMIUM CARDS)
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  background-color: var(--paper);
  padding: 2.2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--terracotta);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='zellige-card' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3C!-- Étoile 8 branches --%3E%3Cg transform='translate(40,40)'%3E%3Cpath d='M0,-12 L3,-3 L12,0 L3,3 L0,12 L-3,3 L-12,0 L-3,-3 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.08)' stroke-width='0.3'/%3E%3Cpath d='M-4,-4 L4,-4 L4,4 L-4,4 Z' fill='rgba(201, 125, 96, 0.06)'/%3E%3C/g%3E%3C!-- Étoiles 4 branches --%3E%3Cg transform='translate(20,20)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(201, 125, 96, 0.05)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(60,20)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(20,60)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(60,60)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(201, 125, 96, 0.05)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3C!-- Grille de connexion --%3E%3Cpath d='M0,0 L40,0 L40,40 L0,40 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(201, 125, 96, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M40,0 L80,0 L80,40 L40,40 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(107, 122, 79, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M0,40 L40,40 L40,80 L0,80 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(107, 122, 79, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M40,40 L80,40 L80,80 L40,80 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(201, 125, 96, 0.06)' stroke-width='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23zellige-card)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--olive));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.step:hover::before {
  transform: scaleX(1);
}

.step h3 {
  position: relative;
  padding-left: 1rem;
}

.step h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--terracotta);
  border-radius: 2px;
}

/* =========================
   FAQ
========================= */
details {
  background: linear-gradient(135deg, var(--paper) 0%, rgba(255, 255, 255, 0.98) 100%);
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 125, 96, 0.1);
  transition: all 0.3s ease;
}

details:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

details[open] {
  border-left: 3px solid var(--terracotta);
  box-shadow: var(--shadow-elevated);
}

summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--accent);
}

/* Amélioration contraste liens */
a {
  color: var(--accent);
  transition: color 0.2s ease;
}

a:hover {
  color: #122d20;
  text-decoration: underline;
}

/* =========================
   NAVIGATION FIXE
========================= */
.sticky-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(230, 228, 223, 0.5);
  z-index: 100;
  padding: 0.8rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.sticky-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(230, 228, 223, 0.8);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--accent), var(--olive));
  color: white;
  box-shadow: 0 4px 12px rgba(24, 59, 42, 0.25);
  transform: translateY(-1px);
}

/* =========================
   FORM
========================= */
form {
  max-width: 520px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-size: 18px;
}

.form-help {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
}

.form-error {
  display: block;
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  min-height: 1.2rem;
}

input, textarea {
  width: 100%;
  padding: 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 0;
  font-size: 18px;
  font-family: inherit;
  background-color: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease;
}

input:invalid:not(:focus):not(:placeholder-shown),
textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #d32f2f;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: #2e7d32;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-submit-wrapper {
  margin-top: 2rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  font-style: italic;
}

/* WhatsApp button in contact section */
.contact-whatsapp {
  text-align: center;
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(201, 125, 96, 0.05) 0%, rgba(107, 122, 79, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(201, 125, 96, 0.15);
}

.contact-whatsapp p {
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-size: 1rem;
}

.contact-whatsapp .cta-button {
  display: inline-block;
  background-color: #25D366;
  color: #ffffff;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.contact-whatsapp .cta-button:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

/* FIX BOUTON FORMULAIRE */
form button,
form button[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.9rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  position: relative;
  min-width: 140px;
}

form button:hover {
  background-color: #122d20;
}

#submitBtn.loading .btn-text {
  display: none;
}

#submitBtn.loading .btn-loading {
  display: inline !important;
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* =========================
   FOOTER
========================= */
footer {
  background: linear-gradient(180deg, #16261e 0%, #1a2d24 50%, #1e3328 100%);
  color: #ffffff;
  padding: 3rem 0;
  font-size: 0.95rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--terracotta-light), transparent);
  opacity: 0.3;
}

/* =========================
   ICONS
========================= */
.icon {
  margin-right: 0.4rem;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--terracotta-light), var(--accent-soft));
  border-radius: 50%;
  font-size: 1.2rem;
  padding: 0.3rem;
  box-shadow: 0 2px 8px rgba(201, 125, 96, 0.2);
  transition: all 0.3s ease;
}

h2:hover .icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(201, 125, 96, 0.3);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .container {
    padding: 0 1.5rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  header {
    padding: 4rem 0 3rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-button,
  .cta-outline {
    width: 100%;
    text-align: center;
  }

  .sticky-nav {
    padding: 0.6rem 0;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }

  .trust-points {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mobile-phone-button {
    display: flex;
  }

  .scroll-to-top {
    bottom: 5rem;
  }
}

footer p {
  max-width: 760px;
  margin: 0 auto 0.8rem;
  line-height: 1.7;
  color: #e6ebe8;
}

.footer-meta {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

footer a {
  color: #e6ebe8;
  text-decoration: underline;
}

/* =========================
   SECTION NAVIGATION
========================= */
.section-nav {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.section-nav-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.section-nav-link:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* =========================
   TRUST POINTS
========================= */
.trust-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.trust-point {
  background: linear-gradient(135deg, var(--paper) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--terracotta);
  border-top: 1px solid rgba(201, 125, 96, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='zellige-trust' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3C!-- Étoile 8 branches --%3E%3Cg transform='translate(40,40)'%3E%3Cpath d='M0,-12 L3,-3 L12,0 L3,3 L0,12 L-3,3 L-12,0 L-3,-3 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.08)' stroke-width='0.3'/%3E%3Cpath d='M-4,-4 L4,-4 L4,4 L-4,4 Z' fill='rgba(201, 125, 96, 0.06)'/%3E%3C/g%3E%3C!-- Étoiles 4 branches --%3E%3Cg transform='translate(20,20)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(201, 125, 96, 0.05)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(60,20)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(20,60)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(60,60)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(201, 125, 96, 0.05)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3C!-- Grille --%3E%3Cpath d='M0,0 L40,0 L40,40 L0,40 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(201, 125, 96, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M40,0 L80,0 L80,40 L40,40 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(107, 122, 79, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M0,40 L40,40 L40,80 L0,80 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(107, 122, 79, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M40,40 L80,40 L80,80 L40,80 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(201, 125, 96, 0.06)' stroke-width='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23zellige-trust)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.trust-point::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--terracotta), var(--olive));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trust-point:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-elevated);
}

.trust-point:hover::before {
  opacity: 1;
}

.trust-point h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.trust-point p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* =========================
   INFO BOXES
========================= */
.info-box {
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(227, 236, 230, 0.8) 100%);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--olive);
  box-shadow: 0 2px 8px rgba(107, 122, 79, 0.1);
  position: relative;
}

.info-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(107, 122, 79, 0.1) 0%, transparent 70%);
  border-radius: 0 12px 0 0;
}

.info-box h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.info-box ul {
  margin: 0;
  padding-left: 1.5rem;
}

.info-box li {
  margin-bottom: 0.8rem;
}

.info-note {
  background: linear-gradient(135deg, var(--paper) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--terracotta);
  margin-top: 2rem;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(201, 125, 96, 0.1);
  position: relative;
}

.info-note::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--terracotta), var(--olive));
  border-radius: 8px 0 0 8px;
}

/* =========================
   CONTACT INFO BOX
========================= */
.contact-info-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  background: linear-gradient(135deg, var(--paper) 0%, rgba(255, 255, 255, 0.98) 100%);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border: 1px solid rgba(201, 125, 96, 0.1);
  transition: all 0.3s ease;
  position: relative;
  background-image: 
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='zellige-contact' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3C!-- Étoile 8 branches --%3E%3Cg transform='translate(40,40)'%3E%3Cpath d='M0,-12 L3,-3 L12,0 L3,3 L0,12 L-3,3 L-12,0 L-3,-3 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.08)' stroke-width='0.3'/%3E%3Cpath d='M-4,-4 L4,-4 L4,4 L-4,4 Z' fill='rgba(201, 125, 96, 0.06)'/%3E%3C/g%3E%3C!-- Étoiles 4 branches --%3E%3Cg transform='translate(20,20)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(201, 125, 96, 0.05)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(60,20)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(20,60)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(107, 122, 79, 0.05)' stroke='rgba(107, 122, 79, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3Cg transform='translate(60,60)'%3E%3Cpath d='M0,-6 L3,0 L0,6 L-3,0 Z' fill='rgba(201, 125, 96, 0.05)' stroke='rgba(201, 125, 96, 0.07)' stroke-width='0.25'/%3E%3C/g%3E%3C!-- Grille --%3E%3Cpath d='M0,0 L40,0 L40,40 L0,40 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(201, 125, 96, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M40,0 L80,0 L80,40 L40,40 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(107, 122, 79, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M0,40 L40,40 L40,80 L0,80 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(107, 122, 79, 0.06)' stroke-width='0.3'/%3E%3Cpath d='M40,40 L80,40 L80,80 L40,80 Z' fill='rgba(232, 227, 216, 0.04)' stroke='rgba(201, 125, 96, 0.06)' stroke-width='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23zellige-contact)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.contact-method::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--terracotta-light), var(--olive));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.contact-method:hover::after {
  opacity: 0.3;
}

.contact-method h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-method p {
  margin-bottom: 0.5rem;
}

.contact-method a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.contact-method a:hover {
  color: #122d20;
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.5rem;
}

/* =========================
   BOUTON TÉLÉPHONE MOBILE
========================= */
.mobile-phone-button {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  z-index: 999;
  transition: all 0.3s ease;
}

.mobile-phone-button:hover {
  background-color: #122d20;
  transform: scale(1.1);
}

.mobile-phone-button:active {
  transform: scale(0.95);
}

/* =========================
   LANGUAGE SWITCH (FR / AR)
========================= */
.lang-switch {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.lang-switch button {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch button:hover {
  background-color: var(--accent-soft);
}

.lang-switch button.active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* =========================
   BOUTON RETOUR EN HAUT
========================= */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #122d20;
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}
