/* ═══════════════════════════════════════════════════════════════
   CABINET DU PORTAIL — Design system "Nature & Réunion"
   Palette : lagon · basalte volcanique · sable · végétation · corail
═══════════════════════════════════════════════════════════════ */

:root {
  /* Lagon (côte ouest de Saint-Leu) */
  --lagon:      #0d7d87;
  --lagon-dk:   #084e56;
  --lagon-lt:   #4fb3ad;
  --lagon-pale: #e3f2f1;

  /* Basalte volcanique */
  --basalte:    #171b22;
  --basalte-2:  #232a35;
  --basalte-3:  #38414f;

  /* Végétation tropicale */
  --vegetation: #3a7d5c;

  /* Sable & crème */
  --sable:      #fbf8f1;
  --sable-2:    #f4eede;
  --sable-3:    #e4d8be;

  /* Soleil couchant (Saint-Leu, côte ouest) */
  --corail:     #e08a63;
  --or:         #c99a4e;

  /* Texte */
  --text:       #2b313b;
  --muted:      #6e7884;
  --white:      #ffffff;
  --line:       rgba(23,27,34,.09);

  --radius-xs:  10px;
  --radius:     14px;
  --radius-md:  18px;
  --radius-lg:  26px;
  --radius-pill:999px;
  --shadow-sm:  0 2px 14px rgba(13,125,135,.07);
  --shadow:     0 14px 44px rgba(13,125,135,.11);
  --shadow-lg:  0 28px 70px rgba(8,78,86,.16);
  --ease:       cubic-bezier(.22,.61,.36,1);
  --t:          .35s var(--ease);
  --nav-h:      74px;
  --ring:       0 0 0 3px var(--sable), 0 0 0 5px var(--lagon);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body {
  font-family: var(--font-sans); color: var(--text);
  background: var(--sable); line-height: 1.65; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Accessible focus ───────────────────────────────────────── */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-xs); }
.btn:focus-visible { box-shadow: var(--ring), 0 8px 24px rgba(13,125,135,.30); }
a:focus-visible { border-radius: 4px; }
.form-group input:focus-visible, .form-group textarea:focus-visible, .form-group select:focus-visible { box-shadow: 0 0 0 4px rgba(13,125,135,.18); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--basalte); letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; }
h3 { font-size: 1.3rem; }
p  { color: var(--muted); text-wrap: pretty; }
.serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

/* ─── Layout helpers ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.75rem; }
.container--narrow { max-width: 940px; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--sable { background: var(--sable); }
.section--cream { background: var(--sable-2); }
.section--basalte { background: var(--basalte); color: rgba(255,255,255,.75); }
.section--basalte h2, .section--basalte h3, .section--basalte h4 { color: var(--white); }
.section--lagon { background: var(--lagon-dk); color: rgba(255,255,255,.8); }
.section--lagon h2, .section--lagon h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--lagon);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--corail); border-radius: 2px; }
.section--basalte .eyebrow, .section--lagon .eyebrow { color: var(--lagon-lt); }

.section-title { margin-bottom: 1.35rem; }
.section-lead { max-width: 58ch; font-size: 1.08rem; line-height: 1.7; color: var(--muted); margin-bottom: clamp(2.75rem, 5vw, 3.75rem); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .section-lead { margin-inline: auto; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.75rem; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-weight: 600; font-size: .94rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn--primary { background: var(--lagon); color: var(--white); box-shadow: 0 8px 24px rgba(13,125,135,.30); }
.btn--primary:hover { background: var(--lagon-dk); box-shadow: 0 12px 30px rgba(13,125,135,.38); }
.btn--coral { background: var(--corail); color: var(--white); box-shadow: 0 8px 24px rgba(224,138,99,.32); }
.btn--coral:hover { background: #d2764e; }
.btn--ghost { background: transparent; color: var(--lagon); border-color: rgba(13,125,135,.3); }
.btn--ghost:hover { background: var(--lagon); color: var(--white); border-color: var(--lagon); }
.btn--white { background: var(--white); color: var(--basalte); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn--white:hover { background: var(--sable); }
.btn--outline-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: var(--white); color: var(--basalte); }

/* ─── Wave / topographic dividers ────────────────────────────── */
.divider { display: block; width: 100%; height: auto; }
.topo-bg {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%230d7d87' stroke-opacity='0.05' stroke-width='1.5'%3E%3Cpath d='M0 400 Q200 320 400 400 T800 400'/%3E%3Cpath d='M0 440 Q200 360 400 440 T800 440'/%3E%3Cpath d='M0 480 Q200 400 400 480 T800 480'/%3E%3Cpath d='M0 360 Q200 280 400 360 T800 360'/%3E%3Cpath d='M0 320 Q200 240 400 320 T800 320'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 800px;
}

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--nav-h);
  background: rgba(251,248,241,.0); transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav.scrolled { background: rgba(251,248,241,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; color: var(--white); transition: color var(--t); letter-spacing: -.02em; }
.nav__brand span { color: var(--lagon-lt); font-style: italic; }
.nav.scrolled .nav__brand { color: var(--basalte); }
.nav.scrolled .nav__brand span { color: var(--lagon); }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  padding: .5rem .9rem; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.88); transition: var(--t);
}
.nav.scrolled .nav__links a { color: var(--text); }
.nav__links a:hover, .nav__links a.active { background: rgba(13,125,135,.12); color: var(--white); }
.nav.scrolled .nav__links a:hover, .nav.scrolled .nav__links a.active { color: var(--lagon); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { display: block; height: 2px; border-radius: 2px; background: var(--white); transition: var(--t); }
.nav.scrolled .nav__burger span { background: var(--basalte); }

.nav__mobile {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: var(--sable); flex-direction: column; padding: 1.5rem; gap: .4rem; overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a { padding: 1rem; border-radius: var(--radius); font-weight: 600; font-size: 1.1rem; color: var(--basalte); border-bottom: 1px solid var(--line); }
.nav__mobile a:hover { background: var(--white); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh; min-height: 100dvh; position: relative; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8,78,86,.55) 0%, rgba(23,27,34,.30) 40%, rgba(23,27,34,.78) 100%),
    linear-gradient(115deg, rgba(13,125,135,.55) 0%, rgba(224,138,99,.18) 100%),
    url('photo-frederic.JPEG') center 25% / cover no-repeat;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.9); background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
  padding: .5rem 1.1rem; border-radius: var(--radius-pill); margin-bottom: 1.75rem;
}
.hero__title { color: var(--white); max-width: 16ch; margin-bottom: 1.6rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__title em { font-style: italic; font-weight: 400; color: var(--lagon-lt); }
.hero__sub { color: rgba(255,255,255,.92); font-size: 1.2rem; line-height: 1.6; max-width: 50ch; margin-bottom: 2.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.hero__scroll::after { content: ''; width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ─── Credential strip ───────────────────────────────────────── */
.creds { background: var(--basalte); color: var(--white); position: relative; }
.creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred {
  padding: 2.75rem 1.75rem; text-align: center; border-right: 1px solid rgba(255,255,255,.08);
  transition: background var(--t);
}
.cred:hover { background: rgba(255,255,255,.025); }
.cred:last-child { border-right: none; }
.cred__num { font-family: var(--font-serif); font-size: 2.7rem; font-weight: 500; color: var(--lagon-lt); line-height: 1; margin-bottom: .55rem; letter-spacing: -.02em; }
.cred__num small { font-size: 1.1rem; color: rgba(79,179,173,.7); }
.cred__label { font-size: .82rem; color: rgba(255,255,255,.62); letter-spacing: .015em; line-height: 1.45; max-width: 22ch; margin-inline: auto; }

/* ─── Soins ──────────────────────────────────────────────────── */
.soins__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.5rem; }
.soin-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.25rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative; overflow: hidden;
}
.soin-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--lagon), var(--lagon-lt)); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.soin-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(13,125,135,.16); }
.soin-card:hover::before { transform: scaleX(1); }
.soin-card:hover .soin-card__icon { transform: scale(1.06) rotate(-3deg); background: var(--lagon); }
.soin-card__icon {
  width: 58px; height: 58px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.35rem; background: var(--lagon-pale);
  transition: transform var(--t), background var(--t);
}
.soin-card h3 { margin-bottom: .6rem; }
.soin-card p { font-size: .96rem; }

/* ─── Approche intégrative ───────────────────────────────────── */
.approche { position: relative; overflow: hidden; }
.approche__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; position: relative; z-index: 1; }
.approche__visual {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 30%, var(--lagon-lt), var(--lagon) 55%, var(--lagon-dk));
  display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: var(--shadow-lg);
}
.approche__visual::before { content: ''; position: absolute; inset: -20%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12' stroke-width='1.5'%3E%3Ccircle cx='200' cy='200' r='60'/%3E%3Ccircle cx='200' cy='200' r='110'/%3E%3Ccircle cx='200' cy='200' r='160'/%3E%3Ccircle cx='200' cy='200' r='200'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.approche__symbol { font-size: 5rem; position: relative; z-index: 1; }
.approche__pillars { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.pillar { display: flex; gap: 1.1rem; align-items: flex-start; }
.pillar__dot { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-sm); transition: transform var(--t); }
.pillar:hover .pillar__dot { transform: translateY(-3px); }
.pillar h4 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; color: var(--basalte); margin-bottom: .2rem; letter-spacing: -.005em; }
.pillar p { font-size: .92rem; line-height: 1.6; }

/* ─── Parcours / timeline ────────────────────────────────────── */
.parcours__inner { display: grid; grid-template-columns: 360px 1fr; gap: 4rem; align-items: start; }
.parcours__aside { position: sticky; top: 100px; }
.parcours__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.parcours__photo img { width: 100%; height: 100%; object-fit: cover; }
.parcours__name { font-size: 1.6rem; margin-bottom: .25rem; }
.parcours__role { color: var(--lagon); font-weight: 600; font-size: .92rem; margin-bottom: 1rem; }
.parcours__langs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.lang-tag { background: var(--sable-2); color: var(--lagon-dk); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .32rem .9rem; font-size: .8rem; font-weight: 600; transition: background var(--t), border-color var(--t); }
.lang-tag:hover { background: var(--lagon-pale); border-color: rgba(13,125,135,.25); }

.parcours__bio p { margin-bottom: 1.1rem; line-height: 1.8; }
.parcours__bio p:first-of-type { font-size: 1.15rem; color: var(--text); font-family: var(--font-serif); font-weight: 400; line-height: 1.6; }

.timeline { margin-top: 2.75rem; border-left: 2px solid var(--line); padding-left: 1.85rem; }
.timeline__item { position: relative; padding-bottom: 1.75rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ''; position: absolute; left: calc(-1.85rem - 1px); top: .3rem; transform: translateX(-50%); width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 3px solid var(--lagon); box-shadow: 0 0 0 4px var(--sable); transition: transform var(--t); }
.timeline__item:hover::before { transform: translateX(-50%) scale(1.15); }
.timeline__item--accent::before { background: var(--corail); border-color: var(--corail); }
.timeline__year { font-family: var(--font-serif); font-weight: 600; color: var(--lagon); font-size: 1.05rem; margin-bottom: .15rem; }
.timeline__text { font-size: .94rem; color: var(--text); line-height: 1.65; }
.timeline__text strong { font-weight: 600; }

/* ─── Expertise & formation ──────────────────────────────────── */
.expertise__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.exp-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2rem; transition: var(--t);
}
.exp-card:hover { background: rgba(255,255,255,.07); border-color: rgba(79,179,173,.4); transform: translateY(-4px); }
.exp-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lagon-lt); margin-bottom: .85rem; }
.exp-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; }
.exp-card p { font-size: .92rem; color: rgba(255,255,255,.65); }
.diploma-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.diploma { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-pill); padding: .6rem 1.2rem; font-size: .88rem; color: rgba(255,255,255,.85); transition: background var(--t), border-color var(--t), transform var(--t); }
.diploma:hover { background: rgba(255,255,255,.1); border-color: rgba(79,179,173,.45); transform: translateY(-2px); }
.diploma strong { color: var(--lagon-lt); font-family: var(--font-serif); font-weight: 600; }

/* ─── Engagement territorial ─────────────────────────────────── */
.engagement__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.engage-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: var(--t);
}
.engage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.engage-card__icon { width: 54px; height: 54px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--vegetation), var(--lagon)); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.1rem; transition: transform var(--t); }
.engage-card:hover .engage-card__icon { transform: scale(1.06) rotate(-3deg); }
.engage-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.engage-card__role { font-size: .8rem; font-weight: 700; color: var(--corail); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.engage-card p { font-size: .92rem; }

/* ─── Zone ───────────────────────────────────────────────────── */
.zone__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.zone__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4/3; }
.zone__map iframe { width: 100%; height: 100%; border: none; }
.zone__list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.zone__item { display: flex; align-items: center; gap: 1rem; background: var(--white); padding: 1.1rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.zone__item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.zone__icon { font-size: 1.4rem; }
.zone__item strong { display: block; color: var(--basalte); font-size: 1rem; font-family: var(--font-serif); }
.zone__item span { font-size: .86rem; color: var(--muted); }

/* ─── Infos ──────────────────────────────────────────────────── */
.infos__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.info-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(13,125,135,.14); }
.info-card__icon { font-size: 1.9rem; margin-bottom: 1rem; }
.info-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.info-card p { font-size: .94rem; }
.info-card strong { color: var(--lagon-dk); }

/* ─── Contact ────────────────────────────────────────────────── */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.contact__methods { display: flex; flex-direction: column; gap: 1.1rem; margin: 2rem 0; }
.contact__method { display: flex; align-items: center; gap: 1.1rem; }
.contact__method-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-md); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: background var(--t); }
.contact__method:hover .contact__method-icon { background: rgba(255,255,255,.2); }
.contact__method strong { display: block; font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .1rem; }
.contact__method a, .contact__method span { font-size: 1.05rem; color: var(--white); font-weight: 500; }
.contact__method a { transition: color var(--t); }
.contact__method a:hover { color: var(--lagon-lt); }
.contact__form { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact__form h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--basalte); margin-bottom: .45rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1.1rem; border: 1.5px solid var(--sable-3); border-radius: 12px;
  font-size: .96rem; color: var(--text); font-family: inherit; background: var(--sable); outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--lagon); background: var(--white); box-shadow: 0 0 0 4px rgba(13,125,135,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--basalte); color: rgba(255,255,255,.6); padding: 4.5rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 3.5rem; margin-bottom: 3rem; }
.footer__brand { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; }
.footer__brand span { color: var(--lagon-lt); font-style: italic; }
.footer__desc { font-size: .92rem; line-height: 1.8; max-width: 38ch; }
.footer h4 { font-family: var(--font-sans); color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.footer ul li { margin-bottom: .65rem; }
.footer ul li a { font-size: .92rem; transition: color var(--t); }
.footer ul li a:hover { color: var(--lagon-lt); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.75rem; display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; font-size: .82rem; }

/* ─── Modals ─────────────────────────────────────────────────── */
.modal { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(23,27,34,.6); backdrop-filter: blur(6px); align-items: center; justify-content: center; padding: 1.5rem; }
.modal.open { display: flex; }
.modal__box { background: var(--white); border-radius: var(--radius-lg); padding: 2.75rem; max-width: 580px; width: 100%; position: relative; box-shadow: var(--shadow-lg); animation: modal-in .3s var(--ease); max-height: 92vh; overflow-y: auto; }
.modal__box--sm { max-width: 380px; text-align: center; }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; background: var(--sable-2); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--t); color: var(--basalte); }
.modal__close:hover { background: var(--sable-3); }
.modal__phone-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--lagon-pale); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.25rem; }
.modal__box--sm h3 { margin-bottom: .35rem; }
.modal__box--sm p { margin-bottom: 1.75rem; }
.modal__phone-number { display: block; font-family: var(--font-serif); font-size: 1.9rem; font-weight: 600; color: var(--lagon); margin-bottom: 1.75rem; }
.modal__call-btn { width: 100%; }
.modal h3 { font-size: 1.5rem; }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* ─── Reveal animation ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .approche__inner, .parcours__inner, .zone__inner, .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .approche__visual { max-width: 380px; margin: 0 auto; }
  .parcours__aside { position: static; }
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
  .cred:nth-child(2) { border-right: none; }
  .cred:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .cred { padding: 1.75rem 1rem; }
  .cred__num { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .modal__box { padding: 2rem 1.5rem; }
}
