/* ============================================================
   OZARTEK — style.css
   Identité : conseil & services aux entreprises, méditerranéen,
   premium, chaleureux. Ink / Paper / Terracotta / Teal.
   ============================================================ */

:root {
  --ink: #142433;
  --ink-soft: #22384c;
  --ink-muted: #51677c;
  --paper: #fbf7f1;
  --paper-deep: #f3ecdf;
  --white: #ffffff;
  --terra: #d96a47;
  --terra-dark: #c05436;
  --terra-soft: #fbe9e2;
  --teal: #14555a;
  --teal-soft: #e3efee;
  --gold: #e8a33d;
  --wa: #1fb355;
  --wa-dark: #178a42;
  --line: #e7ddcf;
  --shadow-sm: 0 1px 2px rgba(20, 36, 51, 0.06), 0 2px 8px rgba(20, 36, 51, 0.06);
  --shadow-md: 0 4px 14px rgba(20, 36, 51, 0.08), 0 12px 32px rgba(20, 36, 51, 0.10);
  --shadow-lg: 0 8px 24px rgba(20, 36, 51, 0.12), 0 24px 56px rgba(20, 36, 51, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --maxw: 1180px;
}

/* La version arabe remplace les familles de polices */
html[lang="aeb"], html[dir="rtl"] {
  --font-head: "Tajawal", "Segoe UI", sans-serif;
  --font-body: "Tajawal", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--teal); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute; top: -48px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }

/* ---------- En-têtes de section ---------- */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 14px; font-family: var(--font-body);
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14.5px; }
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--terra); border-radius: 2px;
}
.section-head.center .eyebrow::after {
  content: ""; width: 26px; height: 2px; background: var(--terra); border-radius: 2px;
}

.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--ink-muted); font-size: 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 6px 18px rgba(217, 106, 71, .35); }
.btn-primary:hover { background: var(--terra-dark); box-shadow: 0 10px 24px rgba(217, 106, 71, .42); }

.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 179, 85, .32); }
.btn-whatsapp:hover { background: var(--wa-dark); box-shadow: 0 10px 24px rgba(31, 179, 85, .4); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20, 36, 51, .22); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20, 36, 51, .04); }

.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 18px 0;
  background: rgba(251, 247, 241, 0);
}
.site-header.scrolled {
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20, 36, 51, .06);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.02em;
}
.logo-text span { color: var(--terra); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--ink-soft); font-weight: 500; font-size: 15px;
  padding: 8px 13px; border-radius: 999px; transition: background .15s, color .15s;
}
.main-nav a:hover { background: rgba(20, 36, 51, .06); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 999px; overflow: hidden; background: #fff; font-size: 13.5px; font-weight: 700;
}
.lang-switch a, .lang-switch span {
  padding: 7px 13px; color: var(--ink-muted); letter-spacing: .04em;
}
.lang-switch .active { background: var(--ink); color: #fff; }
.lang-switch a:hover { color: var(--ink); }

.btn-header-wa {
  padding: 10px 20px; font-size: 14.5px;
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  z-index: 120;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; background: var(--ink);
  border-radius: 2px; margin: 5.5px 0; transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 170px 0 110px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(232, 163, 61, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(20, 85, 90, 0.10), transparent 55%),
    var(--paper);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -2px 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 80 C 240 20 480 110 720 70 C 960 30 1200 90 1440 50 L1440 120 L0 120 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 179, 85, .45); }
  50% { box-shadow: 0 0 0 7px rgba(31, 179, 85, 0); }
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 62px);
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--terra); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(232, 163, 61, .35); z-index: -1; border-radius: 3px;
}
html[dir="rtl"] .hero h1 { font-size: clamp(32px, 5vw, 56px); }

.hero-sub { font-size: 19px; color: var(--ink-muted); max-width: 560px; margin-bottom: 34px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
}

/* Carte hero (visuel de droite) */
.hero-card {
  background: var(--ink);
  border-radius: 26px; padding: 34px 30px;
  color: #f2ede4; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
  transform: rotate(1.2deg);
}
.hero-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.35), transparent 70%);
}
.hero-card-title {
  font-family: var(--font-head); font-size: 21px; font-weight: 600; margin-bottom: 22px; color: #fff;
}
.hero-card ul { list-style: none; display: grid; gap: 14px; }
.hero-card li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.hero-card li .check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: rgba(232, 163, 61, .2); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
  margin-top: 2px;
}
.hero-card-foot {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px; color: rgba(242, 237, 228, .75); display: flex; align-items: center; gap: 10px;
}

/* ============================================================
   BANDEAU LANGUES
   ============================================================ */
.lang-band { background: var(--ink); color: #f2ede4; padding: 26px 0; }
.lang-band-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 38px; text-align: center;
}
.lang-band .flag-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.lang-band .flag-item .fl { font-size: 22px; }
.lang-band .sep { opacity: .35; }
.lang-band-note { font-size: 14.5px; color: rgba(242, 237, 228, .72); width: 100%; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--terra-soft); color: var(--terra); margin-bottom: 20px;
}
.service-card:nth-child(3n+2) .service-icon { background: var(--teal-soft); color: var(--teal); }
.service-card:nth-child(3n) .service-icon { background: #fdf3e0; color: #b97d1e; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card > p { color: var(--ink-muted); font-size: 15.5px; margin-bottom: 16px; }
.service-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; }
.service-card ul li {
  position: relative; padding-inline-start: 22px; font-size: 14.5px; color: var(--ink-soft);
}
.service-card ul li::before {
  content: "→"; position: absolute; inset-inline-start: 0; color: var(--terra); font-weight: 700;
}
html[dir="rtl"] .service-card ul li::before { content: "←"; }
.service-note {
  margin-top: auto; font-size: 14px; font-weight: 600; color: var(--teal);
  background: var(--teal-soft); border-radius: 10px; padding: 10px 14px;
}

/* ============================================================
   PROBLÈMES / SOLUTIONS
   ============================================================ */
.problems { background: var(--paper); }
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.problem-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.problem-quote {
  font-family: var(--font-head); font-size: 19.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start;
}
.problem-quote .q { color: var(--terra); font-size: 30px; line-height: 1; font-family: Georgia, serif; }
.problem-answer { color: var(--ink-muted); font-size: 15px; padding-inline-start: 4px; }
.problem-answer strong { color: var(--teal); }

/* ============================================================
   MÉTHODE
   ============================================================ */
.method { background: var(--ink); color: #f2ede4; position: relative; overflow: hidden; }
.method::before {
  content: ""; position: absolute; top: -140px; inset-inline-end: -140px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(217,106,71,.22), transparent 70%);
}
.method .section-head h2 { color: #fff; }
.method .section-head p { color: rgba(242, 237, 228, .75); }
.method-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; z-index: 2;
  counter-reset: step;
}
.method-step {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm); padding: 26px 20px; position: relative;
  transition: background .2s, transform .2s;
}
.method-step:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.method-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--terra); color: #fff; font-weight: 800; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-family: var(--font-body);
}
.method-step h3 { color: #fff; font-size: 18.5px; margin-bottom: 8px; }
.method-step p { font-size: 14px; color: rgba(242, 237, 228, .72); }
.method-arrow {
  position: absolute; top: 50%; inset-inline-end: -16px; transform: translateY(-50%);
  color: rgba(255,255,255,.35); font-size: 18px; z-index: 3;
}
html[dir="rtl"] .method-arrow { transform: translateY(-50%) scaleX(-1); }
.method-cta { margin-top: 44px; text-align: center; position: relative; z-index: 2; }

/* ============================================================
   POURQUOI OZARTEK
   ============================================================ */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  padding: 26px 22px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1.5px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.why-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--teal-soft); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.why-item:nth-child(even) .why-icon { background: var(--terra-soft); color: var(--terra); }
.why-item h3 { font-size: 17.5px; margin-bottom: 8px; }
.why-item p { font-size: 14.5px; color: var(--ink-muted); }

/* ============================================================
   FRANCE / À DISTANCE
   ============================================================ */
.france {
  background: linear-gradient(135deg, var(--teal) 0%, #0d3d41 100%);
  color: #eef5f4; position: relative; overflow: hidden;
}
.france::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(232,163,61,.18), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(217,106,71,.16), transparent 60%);
}
.france-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.france h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.france .eyebrow { color: var(--gold); }
.france .eyebrow::before { background: var(--gold); }
.france-lead { font-size: 18px; color: rgba(238, 245, 244, .85); margin-bottom: 26px; }
.france-points { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.france-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
.france-points .check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: rgba(232, 163, 61, .22); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.france-points strong { color: #fff; }
.france-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px; padding: 34px 30px; backdrop-filter: blur(4px);
}
.france-card h3 { color: #fff; font-size: 21px; margin-bottom: 14px; }
.france-card p { color: rgba(238, 245, 244, .82); font-size: 15.5px; margin-bottom: 22px; }
.france-bridge {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 38px; margin-bottom: 22px;
}
.france-bridge .link-line {
  flex: 1; height: 2px; max-width: 110px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 8px, transparent 8px 16px);
  position: relative;
}

/* ============================================================
   POUR QUI
   ============================================================ */
.who { background: var(--paper); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 20px; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--terra); }
.who-emoji { font-size: 30px; margin-bottom: 12px; }
.who-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.who-card p { font-size: 13.5px; color: var(--ink-muted); }

/* ============================================================
   TARIFS
   ============================================================ */
.pricing { background: #fff; }
.pricing-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.pricing-points { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.pricing-points li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.pricing-points .check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--terra-soft); color: var(--terra);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
}
.pricing-card {
  background: var(--ink); color: #f2ede4; border-radius: 24px; padding: 40px 36px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.pricing-card::before {
  content: ""; position: absolute; bottom: -70px; inset-inline-start: -70px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(20,85,90,.5), transparent 70%);
}
.pricing-card h3 { color: #fff; font-size: 24px; margin-bottom: 14px; position: relative; }
.pricing-card p { color: rgba(242,237,228,.78); font-size: 15.5px; margin-bottom: 26px; position: relative; }
.pricing-card .btn { position: relative; }
.pricing-badge {
  display: inline-block; background: rgba(232,163,61,.16); color: var(--gold);
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: 7px 15px; margin-bottom: 18px; position: relative;
  font-family: var(--font-body);
}
html[dir="rtl"] .pricing-badge { letter-spacing: 0; }

/* ============================================================
   À PROPOS
   ============================================================ */
.about { background: var(--paper); }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-visual {
  background: linear-gradient(150deg, var(--terra) 0%, #b34a2c 60%, #8f3b22 100%);
  border-radius: 26px; padding: 40px 34px; color: #fff;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
  transform: rotate(-1.2deg);
}
.about-visual::before {
  content: ""; position: absolute; top: -50px; inset-inline-end: -50px; width: 190px; height: 190px;
  border-radius: 50%; background: rgba(255,255,255,.10);
}
.about-visual::after {
  content: ""; position: absolute; bottom: -70px; inset-inline-start: -40px; width: 230px; height: 230px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.about-visual .big {
  font-family: var(--font-head); font-size: clamp(26px, 3vw, 34px); font-weight: 600;
  line-height: 1.25; margin-bottom: 18px; position: relative; z-index: 2;
}
.about-visual .loc {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,.16); border-radius: 999px; padding: 9px 17px;
  position: relative; z-index: 2;
}
.about-text p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.about-text p strong { color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }

.contact-form {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 22px; padding: 36px 32px;
}
.contact-form h3 { font-size: 23px; margin-bottom: 8px; }
.contact-form > p { color: var(--ink-muted); font-size: 15px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(217,106,71,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-hint { font-size: 13px; color: var(--ink-muted); margin-top: 14px; }
.form-feedback { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.form-feedback.show { display: block; }
.form-feedback.ok { background: #e5f6ec; color: #17693a; }
.form-feedback.err { background: #fdeaea; color: #a02929; }

.contact-side { display: grid; gap: 22px; }
.contact-card {
  border: 1.5px solid var(--line); border-radius: 20px; padding: 28px 26px; background: var(--paper);
}
.contact-card.wa-card { background: #ebfaf0; border-color: #bfe9cd; }
.contact-card h3 { font-size: 19px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.contact-card p { color: var(--ink-muted); font-size: 15px; margin-bottom: 18px; }
.contact-lines { list-style: none; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.contact-lines .ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: #fff; border: 1.5px solid var(--line); color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-lines a { color: var(--ink); font-weight: 600; }
.contact-lines a:hover { color: var(--terra); }
.contact-lines .lbl { display: block; font-size: 12.5px; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
html[dir="rtl"] .contact-lines .lbl { letter-spacing: 0; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final-cta {
  background:
    radial-gradient(800px 400px at 50% -20%, rgba(217,106,71,.28), transparent 60%),
    var(--ink);
  color: #f2ede4; text-align: center;
}
.final-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); max-width: 760px; margin: 0 auto 18px; }
.final-cta p { color: rgba(242,237,228,.78); font-size: 18px; max-width: 620px; margin: 0 auto 34px; }
.final-cta .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d1926; color: rgba(242,237,228,.72); padding: 60px 0 30px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .logo-text { color: #fff; }
.footer-about p { margin-top: 16px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: rgba(242,237,228,.72); transition: color .15s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}

/* ============================================================
   BOUTON WHATSAPP FLOTTANT
   ============================================================ */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(31, 179, 85, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(31,179,85,.55); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-tip {
  position: absolute; inset-inline-end: 70px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ============================================================
   ANIMATIONS AU SCROLL
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid, .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(3, 1fr); }
  .method-steps { grid-template-columns: repeat(3, 1fr); }
  .method-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a { padding: 8px 9px; font-size: 14px; }
}

@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 130px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { transform: none; max-width: 480px; }
  .france-inner, .pricing-inner, .about-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { transform: none; }

  /* backdrop-filter sur le header créerait un containing block
     qui casserait le menu mobile en position fixed */
  .site-header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(251, 247, 241, 0.97);
  }

  .main-nav {
    position: fixed; inset: 0; z-index: 110;
    height: 100vh; height: 100dvh;
    background: var(--paper);
    flex-direction: column; justify-content: center; gap: 8px;
    transform: translateY(-100%); transition: transform .32s ease;
    padding: 40px 24px;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { font-size: 21px; font-weight: 600; padding: 12px 22px; }
  .main-nav .nav-cta-mobile { margin-top: 18px; }
  .nav-toggle { display: block; }
  .btn-header-wa { display: none; }
  body.nav-locked { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .problems-grid, .why-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .method-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 40px); }
  .hero-ctas .btn { width: 100%; }
  .final-cta .hero-ctas .btn { width: 100%; }
  .form-actions .btn { width: 100%; }
  .contact-form { padding: 28px 22px; }
  .lang-switch a, .lang-switch span { padding: 6px 11px; }
  .wa-float { bottom: 18px; inset-inline-end: 16px; width: 54px; height: 54px; }
  .wa-float .wa-tip { display: none; }
}
