:root {
  --paper: #ffffff;
  --paper-2: #f3f5f8;
  --card: #ffffff;
  --ink: #0d1b2e;
  --ink-soft: #55606e;
  --green: #12305a;
  --green-deep: #0c2342;
  --clay: #12305a;
  --clay-dark: #0c2342;
  --sand: #8fb3e0;
  --line: #dde3ea;
  --radius: 4px;
  --wrap: 1160px;
  --serif: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p + p { margin-top: 1em; }

/* Language visibility */
html[lang="fr"] [data-lang="en"],
html[lang="en"] [data-lang="fr"] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--green-deep); color: #e9efe9; }
.section.dark h2, .section.dark h3 { color: #fff; }

.kicker {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 14px;
  display: block;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); }
.dark .section-head p, .dark .lead { color: #c5d3cb; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-wa { background: #1f9e55; color: #fff; }
.btn-wa:hover { background: #178345; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Top bar + header */
.topbar { background: var(--green-deep); color: #cfdcd4; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 234, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; background: #fff; }
.brand strong { font-family: var(--serif); font-size: 1.35rem; display: block; line-height: 1; }
.brand small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: 0.95rem;
  padding: 8px 12px; border-radius: var(--radius);
}
.nav a:hover { background: var(--paper-2); }
.nav a.active { color: var(--clay); }
.nav a.active::after { content: ""; display: block; height: 2px; background: var(--clay); margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 30px; overflow: hidden; }
.lang-switch button {
  background: transparent; border: 0; padding: 6px 12px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem; color: var(--ink);
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 7px 10px; cursor: pointer; color: var(--ink); }
.menu-btn svg { display: block; }
.header-cta { padding: 10px 18px; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
}

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--clay); font-weight: 500; }
.hero .lead { margin-top: 22px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.hero-note {
  position: absolute; left: -28px; bottom: 28px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; max-width: 250px; box-shadow: 0 10px 30px rgba(28, 43, 36, 0.12);
  font-size: 0.92rem;
}
.hero-note strong { font-family: var(--serif); font-size: 1.6rem; display: block; color: var(--green); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts div { font-size: 0.9rem; color: var(--ink-soft); }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }

@media (max-width: 860px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-note { left: 12px; bottom: 12px; }
  .hero-photo img { aspect-ratio: 4/3; }
}

/* Page banner for inner pages */
.page-banner { padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-banner h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 820px; }
.page-banner .lead { margin-top: 18px; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .num { font-family: var(--serif); color: var(--clay); font-size: 1rem; margin-bottom: 18px; font-weight: 600; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: none; color: var(--green); }
.card .more:hover { text-decoration: underline; }

.svc-card { padding: 0; overflow: hidden; }
.svc-card img { width: 100%; height: 200px; object-fit: cover; }
.svc-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Lists */
.ticks { list-style: none; margin-top: 18px; }
.ticks li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px dashed var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 17px;
  width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}
.dark .ticks li { border-color: rgba(255,255,255,0.15); }
.dark .ticks li::before { border-color: var(--sand); }

/* Steps timeline */
.steps { counter-reset: step; list-style: none; border-left: 2px solid var(--line); margin-left: 18px; }
.steps > li { position: relative; padding: 0 0 44px 44px; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -19px; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--clay); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-soft); max-width: 680px; }
.steps .meta { display: inline-block; margin-top: 10px; font-size: 0.85rem; background: var(--paper-2); padding: 4px 10px; border-radius: 20px; color: var(--green); font-weight: 600; }

/* Notice box */
.notice {
  border-left: 4px solid var(--clay); background: var(--card);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}
.notice strong { color: var(--clay-dark); }

/* Checklist document blocks */
.doc-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 24px; }
.doc-block header { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 8px; }
.doc-block header span { font-size: 0.85rem; color: var(--ink-soft); }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.checklist label { cursor: pointer; }
.checklist small { display: block; color: var(--ink-soft); font-size: 0.88rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.6rem; color: var(--clay); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); max-width: 780px; }

/* Testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.quote blockquote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; }
.quote cite { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-style: normal; font-weight: 600; }
.quote cite img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote cite small { display: block; font-weight: 400; color: var(--ink-soft); }

/* Stats strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip div { border-top: 2px solid var(--sand); padding-top: 16px; }
.strip strong { font-family: var(--serif); font-size: 2.4rem; display: block; color: #fff; line-height: 1.1; }
.strip span { color: #c5d3cb; font-size: 0.95rem; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* CTA band */
.cta-band { background: var(--clay); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { color: #fbe3d6; margin-top: 10px; max-width: 620px; }

/* Forms */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); }
.form .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 640px) { .form .checks { grid-template-columns: 1fr; } }
.form .checks label { font-weight: 400; display: flex; gap: 10px; align-items: center; margin: 0; }
.form .checks input { width: auto; accent-color: var(--green); }
#status { display: none; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); font-weight: 600; }
#status.ok { display: block; background: #e3f1e7; color: #1d5c34; }
#status.err { display: block; background: #fbe4df; color: #8a2a17; }

.contact-list { list-style: none; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }
.contact-list a, .contact-list strong { font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; }

/* Footer */
.site-footer { background: #121c17; color: #aebbb3; padding: 72px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; }
.site-footer a { color: #dfe7e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer .f-brand strong { font-family: var(--serif); font-size: 1.6rem; color: #fff; display: block; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid #26332c; margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}

.muted { color: var(--ink-soft); }
.center { text-align: center; }
.mt-l { margin-top: 48px; }

/* Header fit fixes */
.nav a, .brand small, .header-cta { white-space: nowrap; }
.nav a { padding: 8px 9px; font-size: 0.92rem; }
@media (max-width: 1240px) {
  .menu-btn { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
}
@media (max-width: 860px) { aside[style*="sticky"] { position: static !important; } }
@media (max-width: 480px) {
  .brand small { display: none; }
  .topbar .wrap > div:last-child { display: none; }
  .section { padding: 64px 0; }
}
html, body { overflow-x: hidden; }
.split > *, .grid > * { min-width: 0; }

/* ===== Navy theme ===== */
h1, h2, h3 { font-weight: 700; letter-spacing: 0; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
.kicker { color: var(--green); font-size: .82rem; letter-spacing: .14em; margin-bottom: 16px; }
.dark .kicker, .section.dark .kicker { color: var(--sand) !important; }
.btn { border: 1.5px solid transparent; border-radius: var(--radius); font-weight: 600; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-light:hover { background: #e6edf6; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 80px; }
.nav a.active { color: var(--green); font-weight: 600; }
.nav a.active::after { background: var(--green); height: 2px; }
.lang-switch { border: 1px solid var(--line); border-radius: var(--radius); }
.lang-switch button[aria-pressed="true"] { background: var(--green); color: #fff; }
.brand strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.brand img { border-radius: 0; background: none; }
.nav { } @media (max-width: 1240px) { .nav { top: 80px; } }
.hero { padding: 64px 0 80px; }
.hero-photo img { aspect-ratio: 4/5; }
.hero-note { background: var(--green-deep); color: #dce6f2; border: 0; box-shadow: none; border-radius: var(--radius); }
.hero-note strong { color: #fff; font-family: var(--serif); }
.hero-facts { border-top: 1px solid var(--line); }
.page-banner { background: var(--paper-2); border-bottom: 0; }
.card, .doc-block, .quote, .form { border: 1px solid var(--line); border-radius: var(--radius); }
.card { transition: border-color .2s; }
.card:hover { border-color: #b7c4d4; }
.card .num { color: var(--sand); font-family: var(--serif); font-size: 1.1rem; letter-spacing: .1em; }
.card .more { color: var(--green); }
.svc-card img { height: 220px; }
.split img { border-radius: var(--radius); }
.section.dark { background: var(--green-deep); }
.ticks li { border-bottom: 1px solid var(--line); }
.ticks li::before { border-color: var(--green); }
.dark .ticks li { border-color: rgba(255,255,255,.12); }
.dark .ticks li::before { border-color: var(--sand); }
.steps { border-left: 1px solid var(--line); }
.steps > li::before { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--sans); font-weight: 600; font-size: 1.2rem; }
.faq summary::after { color: var(--green); }
.quote blockquote { font-family: var(--sans); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.quote cite img { border-radius: 50%; }
.strip div { border-top: 1px solid rgba(255,255,255,.25); }
.cta-band { background: var(--green); }
.cta-band p { color: #c9d7ea; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); }
.contact-list li { border-bottom: 1px solid var(--line); }
.site-footer { background: #081a33; }
.contact-list strong span, .contact-list a span { display: inline; font-size: inherit; text-transform: none; letter-spacing: 0; color: inherit; }

/* Blue navigation */
.site-header { background: var(--green-deep); border-bottom: 0; }
.brand, .brand strong { color: #fff; }
.brand small { color: #9fb6d4; }
.brand img { background: #fff; border-radius: 50%; padding: 3px; }
.nav a { color: #dbe5f2; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.active { color: #fff; }
.nav a.active::after { background: #8fb3e0; }
.lang-switch { border-color: rgba(255,255,255,.3); }
.lang-switch button { color: #dbe5f2; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--green-deep); }
.header-cta.btn-primary { background: #fff; color: var(--green-deep); }
.header-cta.btn-primary:hover { background: #e6edf6; }
.menu-btn { color: #fff; border-color: rgba(255,255,255,.4); }
@media (max-width: 1240px) {
  .nav { background: var(--green-deep); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a { border-bottom-color: rgba(255,255,255,.1); }
}
