/* =========================================================
   Antoine Marais — Agent Immobilier
   Refonte design : clair, moderne, 100% responsive
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Couleurs */
  --bg: #ffffff;
  --bg-soft: #f6f9f8;
  --bg-tint: #ecf7f3;
  --surface: #ffffff;
  --ink: #0f1f1c;
  --ink-soft: #43554f;
  --muted: #71837d;
  --line: #e6ebe9;

  --accent: #12a594;
  --accent-strong: #0c7d70;
  --accent-deep: #0a5d54;
  --accent-soft: #d7f2ec;
  --accent-glow: rgba(18, 165, 148, 0.18);

  --gold: #c9a44e;

  /* Typo */
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rayons */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Ombres */
  --sh-xs: 0 1px 2px rgba(15, 31, 28, 0.06);
  --sh-sm: 0 4px 14px rgba(15, 31, 28, 0.06);
  --sh-md: 0 12px 30px rgba(15, 31, 28, 0.08);
  --sh-lg: 0 28px 60px rgba(15, 31, 28, 0.12);
  --sh-accent: 0 14px 30px rgba(12, 125, 112, 0.28);

  /* Layout */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--tint {
  background: linear-gradient(180deg, var(--bg-tint), #fff);
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 7px 16px;
  border-radius: var(--r-pill);
}

.section-head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 18px 0 14px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: var(--sh-accent);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(10, 93, 84, 0.34); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--accent-deep); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}
.brand-avatar img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-role { font-size: 0.76rem; font-weight: 600; color: var(--accent-strong); letter-spacing: 0.04em; }

/* Nav */
.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding: 9px 15px;
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav-list > li > a:hover { color: var(--accent-strong); background: var(--bg-tint); }
.nav-list > li > a.active { color: var(--accent-strong); background: var(--accent-soft); }
.nav-cta { margin-left: 10px; }
/* Le bouton téléphone garde son texte blanc (prioritaire sur la couleur de lien du menu) */
.nav-list > li.nav-cta > a.btn { color: #fff; background: var(--accent-strong); }
.nav-list > li.nav-cta > a.btn:hover { color: #fff; background: var(--accent-deep); }

/* Dropdown secteurs */
.dropdown { position: relative; }
.dropdown-toggle svg { width: 16px; height: 16px; transition: transform .25s; }
.dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 420px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.dropdown-menu a:hover { background: var(--bg-tint); color: var(--accent-strong); }

/* Menu mobile burger */
.burger, .close-menu { display: none; }
.burger svg, .close-menu svg { width: 26px; height: 26px; color: var(--ink); }
.overlay { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 130px);
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 0%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, #eef6ff 0%, transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent-strong); position: relative; white-space: nowrap; }
.hero .lead { margin-bottom: 34px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust .stars { display: flex; gap: 2px; }
.hero-trust .stars svg { width: 18px; height: 18px; fill: var(--gold); }
.hero-trust .trust-text { font-size: 0.9rem; color: var(--muted); }
.hero-trust .trust-text strong { color: var(--ink); }

/* Hero visuel */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 4.4;
  background: var(--bg-tint);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-float {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-float .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
}
.hero-float .ico svg { width: 22px; height: 22px; }
.hero-float .v { font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.hero-float .l { font-size: 0.78rem; color: var(--muted); }
.hero-float--top { top: -18px; left: -28px; }
.hero-float--bottom { bottom: -18px; right: -28px; }

/* =========================================================
   Bandeau "valeurs" (sous hero)
   ========================================================= */
.pills-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 11px 20px;
  font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  box-shadow: var(--sh-xs);
}
.pill svg { width: 18px; height: 18px; color: var(--accent); }

/* =========================================================
   Services / Features (grilles de cartes)
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.card-icon {
  width: 58px; height: 58px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; margin-bottom: 22px;
  box-shadow: var(--sh-accent);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.99rem; }
.card-num {
  font-size: 0.8rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 14px; display: block;
}

/* =========================================================
   Témoignages
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s, box-shadow .3s;
}
.testi:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.testi-stars { display: flex; gap: 3px; }
.testi-stars svg { width: 18px; height: 18px; fill: var(--gold); }
.testi-text { color: var(--ink); font-size: 1.02rem; line-height: 1.6; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
  font-weight: 800; font-size: 1rem;
}
.testi-name { font-weight: 700; font-size: 0.97rem; }
.testi-name span { display: block; font-weight: 500; font-size: 0.82rem; color: var(--muted); }

/* =========================================================
   Bloc "à propos" / portrait
   ========================================================= */
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 76px); align-items: center;
}
.about-photo {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--accent-soft), var(--sh-lg);
  position: relative;
  aspect-ratio: 4/4.6; background: var(--bg-tint);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body h2 { margin-bottom: 22px; }
.about-body p { margin-bottom: 18px; }
.about-body p strong { color: var(--ink); }

.quote {
  border-left: 4px solid var(--accent);
  background: var(--bg-tint);
  padding: 22px 26px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 26px 0;
}
.quote p { font-size: 1.1rem; font-style: italic; color: var(--ink); margin: 0; }

/* Page "Qui suis-je" : photo à gauche, intro + bio à droite (desktop) */
.parcours-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  column-gap: clamp(40px, 6vw, 76px);
  align-items: start;
}
.parcours-photo { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.parcours-intro { grid-column: 2; grid-row: 1; }
.parcours-bio { grid-column: 2; grid-row: 2; }
.parcours-bio p { margin-bottom: 18px; }
.parcours-bio p strong { color: var(--ink); }

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 40px;
}
.stat {
  text-align: center; padding: 26px 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.stat-value { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--accent-strong); letter-spacing: -0.02em; }
.stat-label { font-size: 0.86rem; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* =========================================================
   Engagements (liste icônes)
   ========================================================= */
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.commit { display: flex; flex-direction: column; gap: 14px; }
.commit-ico {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-strong);
}
.commit-ico svg { width: 26px; height: 26px; }
.commit h3 { font-size: 1.15rem; }
.commit p { font-size: 0.98rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.contact-card .card-icon { margin-bottom: 6px; }
.contact-card h3 { margin: 0; }
.contact-card p { font-size: 0.97rem; flex: 1; }
.contact-card .btn { align-self: flex-start; margin-top: 6px; }

/* =========================================================
   Page secteur
   ========================================================= */
.prose { max-width: 760px; }
.prose h2 { margin: 0 0 18px; }
.prose h3 { margin: 36px 0 12px; color: var(--accent-deep); }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 10px; }
.prose ul li {
  position: relative; padding-left: 30px; color: var(--ink-soft);
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c7d70' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.sector-blason {
  max-width: 360px; margin: 0 auto 10px;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md);
}

/* =========================================================
   CTA bannière
   ========================================================= */
.cta {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(40px, 7vw, 70px);
  text-align: center;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-deep));
  color: #fff;
  box-shadow: var(--sh-lg);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 15% 20%, rgba(255,255,255,0.16), transparent 60%),
    radial-gradient(50% 70% at 90% 90%, rgba(255,255,255,0.12), transparent 60%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 520px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #c7d4d0; padding-block: 64px 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 40px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .brand-name { color: #fff; }
.footer .brand-role { color: var(--accent); }
.footer-brand p { color: #9fb0ab; margin-top: 16px; font-size: 0.96rem; max-width: 340px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: #9fb0ab; font-size: 0.95rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact a { display: flex; align-items: center; gap: 11px; color: #9fb0ab; font-size: 0.95rem; transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.footer-bottom {
  padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; font-size: 0.85rem; color: #7d8f8a;
}
.footer-bottom a { color: #7d8f8a; }
.footer-bottom a:hover { color: var(--accent); }

/* =========================================================
   Animations reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .hero-float--top { left: 0; }
  .hero-float--bottom { right: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin-inline: auto; }
  /* Qui suis-je : 1 colonne, ordre intro -> photo -> bio */
  .parcours-grid { grid-template-columns: 1fr; row-gap: 26px; }
  .parcours-intro, .parcours-photo, .parcours-bio { grid-column: 1; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .grid-3, .testi-grid, .commit-grid { grid-template-columns: repeat(2, 1fr); }

  /* Photo du hero masquée sur mobile (doublon avec la section « À propos ») */
  .hero-visual { display: none; }
  .hero { padding-block: clamp(48px, 9vw, 80px); }

  /* Header opaque sur mobile : supprime le flou et fiabilise le menu plein écran */
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Nav mobile */
  .nav-cta.desktop-only { display: none; }
  .burger { display: inline-grid; place-items: center; padding: 6px; }
  .overlay {
    display: block; position: fixed; inset: 0;
    background: rgba(10, 30, 26, 0.5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 90;
  }
  .overlay.open { opacity: 1; visibility: visible; }
  .nav-list {
    position: fixed; top: 0; right: 0; z-index: 120;
    height: 100dvh; width: min(84vw, 340px);
    background: #fff;
    flex-direction: column; align-items: stretch;
    gap: 2px; padding: 80px 20px 28px;
    box-shadow: var(--sh-lg);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1);
    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list > li { width: 100%; }
  .nav-list > li > a { display: flex; font-size: 1.05rem; padding: 13px 16px; }
  .close-menu { display: inline-grid; position: absolute; top: 22px; right: 20px; }
  /* Bouton téléphone : pleine largeur, centré, détaché du reste */
  .nav-cta { margin: 14px 0 0; }
  .nav-list > li.nav-cta > a.btn { width: 100%; justify-content: center; padding: 15px 20px; }
  /* Sous-menu Secteurs */
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-left: 2px solid var(--accent-soft);
    border-radius: 0; min-width: 0; margin: 2px 0 6px 14px; padding: 2px 0;
    grid-template-columns: 1fr; background: transparent;
    display: none; /* replié par défaut sur mobile */
  }
  .dropdown-toggle.open + .dropdown-menu { display: grid; }
  /* Neutralise le décalage horizontal hérité du menu desktop (hover/focus) */
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu { transform: none; }
  .dropdown-menu a { font-size: 0.98rem; padding: 10px 14px; }
  .dropdown:hover .dropdown-toggle svg { transform: none; }
  .dropdown-toggle.open svg { transform: rotate(180deg); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .testi-grid, .commit-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-float { display: none; }
  .card, .testi, .contact-card { padding: 26px 22px; }
  .about-photo { max-width: 220px; }
  /* le segment surligné du titre peut revenir à la ligne (sinon rogné) */
  .hero h1 .hl { white-space: normal; }
}
