/* =============================================
   RESET & TOKENS
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan:      #1993b5;
  --cyan-dk:   #0f6f88;
  --cyan-lt:   #e6f6fb;
  --ink:       #14181c;
  --muted:     #727272;
  --white:     #ffffff;
  --ease:      cubic-bezier(.22,1,.36,1);

  /* Couleurs de fond par section */
  --bg-home:     #f7f9fb;
  --bg-services: #ffffff;
  --bg-parcours: #1c2733;   /* sombre bleu-ardoise */
  --bg-tarifs:   #f2f0ec;   /* beige chaud */
  --bg-contact:  #0f6f88;   /* cyan profond */
  --bg-footer:   #14181c;

  --max-w:  1080px;
  --pad-x:  clamp(1.25rem, 5vw, 3rem);
}

html  { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-align: center;    /* tout centré comme l'original */
}

/* =============================================
   DIM BACKDROP (burger ouvert)
   -> "fade out" du contenu jusqu'à ~40% (overlay noir à 60%)
============================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 998; /* sous le panneau (999) et le burger (1001) */
  transition: opacity .35s var(--ease);
}

body.nav-open::before {
  opacity: .60;          /* laisse ~40% de visibilité */
  pointer-events: auto;  /* permet le clic "outside" pour fermer */
}

::selection { background: var(--cyan); color: #fff; }

/* =============================================
   TYPOGRAPHIE  (100 % fidèle à l'original)
============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-variant: small-caps;
  color: var(--cyan);
  line-height: 1.2;
}

h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.2rem); }

.eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: block;
  margin-bottom: .5rem;
}

p     { color: var(--muted); line-height: 1.75; font-size: .95rem; }
strong{ color: var(--ink); font-weight: 600; }
a     { color: inherit; text-decoration: none; }

.accent {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--cyan);
}

/* =============================================
   LAYOUT
============================================= */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-bottom: 300px;
}

section {
  /*
    Plus de "respiration" en bas de section pour éviter de voir
    la section suivante quand on arrive en bas.
  */
  padding-top:    clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
  padding-bottom:  200px;
}

.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section-header h2 { margin-bottom: .8rem; }
.section-header p  { max-width: 65ch; margin-inline: auto; }

/* =============================================
   SCROLL REVEAL
============================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

/* =============================================
   BURGER — sans navbar top bar
   Le bouton est fixe en haut à droite, toujours visible
============================================= */

/* Pas de navbar complète — juste le bouton burger flottant */
.burger {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;

  width: 48px;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
  transition: background .25s, box-shadow .25s, transform .2s var(--ease);
}

.burger:hover {
  background: var(--cyan-lt);
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(25,147,181,.25);
}

/* Les 3 traits — style moderne avec espacement précis */
.burger-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform .4s var(--ease),
    opacity   .3s,
    width     .3s var(--ease);
}

/* Transformation en X moderne */
.burger[aria-expanded="true"] {
  background: var(--cyan);
  box-shadow: 0 4px 20px rgba(25,147,181,.4);
}
.burger[aria-expanded="true"] .bar { background: #fff; }

.burger[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Tiroir circulaire ── */
.nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 60vw;
  height: 140vh;
  margin-top: -20%;
  background: var(--cyan);
  opacity: .93;
  border-radius: 100% 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  pointer-events: none;
  transition: right .5s var(--ease);
}

.nav-panel.open {
  right: -20%;
  pointer-events: auto;
}

.nav-panel ul {
  list-style: none;
  text-align: right;
  padding-right: 3rem;
}

.nav-panel li { margin: .85rem 0; }

.nav-panel a {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(.9rem, 1.8vw, 1rem);
  font-weight: 600;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-block;
  transition: color .25s, transform .3s var(--ease);
}
.nav-panel a:hover {
  color: rgba(0,0,0,.5);
  transform: translateX(-5px);
}

/* =============================================
   BOUTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.8rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover {
  background: var(--cyan-dk);
  box-shadow: 0 8px 22px rgba(25,147,181,.4);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(0,0,0,.18);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-lt);
}

.btn-ghost-white {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn-lg { padding: .85rem 2.2rem; font-size: .9rem; }

.btn-arrow::after {
  content: '→';
  transition: transform .25s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* =============================================
   HERO   — fond clair + texte centré
============================================= */
#home {
  min-height: 100dvh;
  background: var(--bg-home);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  padding: clamp(5rem,10vw,8rem) var(--pad-x) clamp(4rem,8vw,6rem);
  position: relative;
  overflow: hidden;
}

/* Grille fond subtile */
#home::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(25,147,181,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,147,181,.07) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
  pointer-events: none;
}

/* Halo droit */
#home::after {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 50vw; height: 50vw;
  max-width: 600px; max-height: 600px;
  background: radial-gradient(circle, rgba(25,147,181,.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 820px;
  margin-inline: auto;
}

/* Badge dispo */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .9rem .3rem .5rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(25,147,181,.2);
  font-family: "Montserrat", sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.5); }
}

/* Logo SVG — taille originale */
#hero-logo {
  width: min(66vw, 520px);
  height: auto;
  display: block;
}

.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--muted);
  max-width: 55ch;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Flèche scroll */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  opacity: .4;
}
.scroll-line {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  margin: 0 auto;
  animation: scrollA 1.9s var(--ease) infinite;
}
@keyframes scrollA {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   SERVICES — fond blanc + timeline alternée
============================================= */
#services {
  background: var(--bg-services);
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

.services-intro {
  max-width: 70ch;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: .95rem;
  line-height: 1.7;
}

/* ── Timeline alternée (reprise exacte de l'original) ── */
.timeline-alt {
  --accent: #1993b5;
  --line:   rgba(0,0,0,.14);

  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 18px 0 10px;
}

/* Ligne centrale verticale */
.timeline-alt::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-1px);
  border-radius: 999px;
}

/* Chaque item = <details> */
.tl-item {
  margin: 0 0 22px 0;
  border: 0;
  background: transparent;
}

/* Summary = trigger */
.tl-trigger {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 18px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;

  transition:
    color .8s cubic-bezier(.22,1,.36,1),
    transform .6s cubic-bezier(.22,1,.36,1);
}
.tl-trigger::-webkit-details-marker { display: none; }

/* Overlay cyan progressif au hover */
.tl-item:not([open]) .tl-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  opacity: 0;
  z-index: -1;
  transition: opacity 1s cubic-bezier(.22,1,.36,1);
}
.tl-item:not([open]) .tl-trigger:hover {
  color: #fff;
  transform: translateY(-1px);
}
.tl-item:not([open]) .tl-trigger:hover::before { opacity: .9; }

/* Titre du service */
.tl-title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.2;
  text-transform: lowercase;
  color: var(--ink);
  transition: color .4s;
}

/* "En savoir +" pill */
.tl-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  border: 1.5px solid rgba(0,0,0,.15);
  color: inherit;
  opacity: .8;
  transition: border-color .3s, opacity .3s;
}

/* Ligne "pont" vers le centre */
.tl-item:nth-child(odd) .tl-trigger::after,
.tl-item:nth-child(even) .tl-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--line);
  transform: translateY(-1px);
  z-index: 1;
  transition: background-color .6s;
}
.tl-item:nth-child(odd)  .tl-trigger::after { right: -34px; }
.tl-item:nth-child(even) .tl-trigger::after { left:  -34px; }

/* Alternance gauche / droite */
.tl-item:nth-child(odd)  .tl-trigger,
.tl-item:nth-child(odd)  .tl-panel {
  width: calc(50% - 34px);
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.tl-item:nth-child(even) .tl-trigger,
.tl-item:nth-child(even) .tl-panel {
  width: calc(50% - 34px);
  margin-left: auto;
  margin-right: 0;
  text-align: left;
}

/* Panel (tiroir) */
.tl-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  padding: 0 18px;
  background: transparent;
  transition:
    max-height .55s cubic-bezier(.22,1,.36,1),
    opacity    .35s,
    transform  .35s,
    padding    .35s,
    background .35s,
    color      .35s;
}
.tl-panel p {
  max-width: 80ch;
  line-height: 1.65;
  font-size: .9rem;
}

/* OUVERT — titre + panel deviennent cyan */
.tl-item[open] .tl-trigger {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.tl-item[open] .tl-title   { color: #fff; }
.tl-item[open] .tl-cta     { border-color: rgba(255,255,255,.5); opacity: 1; }

.tl-item[open] .tl-panel {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 10px;
  padding-bottom: 30px;
  background: var(--accent);
  color: rgba(255,255,255,.9);
}
.tl-item[open] .tl-panel p { color: rgba(255,255,255,.9); }

/* Pas de bullet */
.tl-pin { display: none; }

/* Focus */
.tl-trigger:focus-visible {
  outline: 3px solid rgba(25,147,181,.4);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .tl-panel, .tl-trigger { transition: none !important; }
}

/* =============================================
   PARCOURS — fond sombre
============================================= */
#parcours {
  background: var(--bg-parcours);
  color: rgba(255,255,255,.85);
  display: flex;
  justify-content: center;
  padding-top:    clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(6rem, 12vw, 10rem);
}

#parcours .container { max-width: 80%; }

#parcours h2 { color: var(--cyan); }
#parcours h3 { color: var(--cyan); }
#parcours .eyebrow { color: rgba(25,147,181,.8); }
#parcours .section-header p { color: rgba(255,255,255,.55); }

/* Header centré */
.parcours-header { text-align: center; margin-bottom: 3rem; }

/* Photo ronde centrée */
.parcours-photo {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.parcours-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 999px;
  border: 3px solid var(--cyan);
  display: block;
  background: linear-gradient(135deg, var(--cyan-lt), var(--cyan));
}

/* Intro */
.parcours-intro {
  max-width: 65ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
}
.parcours-intro strong { color: #fff; }

/* Grille des blocs */
.parcours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

/* Blocs */
.parcours-block {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.parcours-block h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  font-variant: normal;
}

/* Listes sans bullets */
.parcours-block ul { list-style: none; padding: 0; margin: 0; }
.parcours-block li { margin-bottom: .9rem; line-height: 1.6; color: rgba(255,255,255,.75); }
.parcours-block li strong { color: rgba(255,255,255,.95); }
.parcours-block > p { color: rgba(255,255,255,.6); margin-top: .5rem; line-height: 1.65; }
.parcours-note { margin-top: 1rem; font-style: italic; opacity: .8; color: rgba(255,255,255,.6); }

/* =============================================
   TARIFS — fond beige chaud
============================================= */
#tarifs { background: var(--bg-tarifs); }

#tarifs h2 { color: var(--cyan); }
#tarifs h3 { color: var(--cyan-dk); }
#tarifs .section-header p { color: var(--muted); }

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

.tarif-card {
  background: var(--white);
  border: 1px solid rgba(25,147,181,.18);
  border-radius: 0;          /* angles droits comme l'original */
  padding: 1.35rem 1.25rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tarif-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.09);
  border-color: rgba(25,147,181,.42);
}

.tarif-card-icon { font-size: 1.6rem; display: block; margin-bottom: .8rem; }

.tarif-card h3 {
  font-variant: normal;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan-dk);
  margin-bottom: .75rem;
}

.tarif-card h4 {
  font-variant: normal;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  margin: .85rem 0 .3rem;
}

.price {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  margin: .15rem 0 .8rem;
}

.tarif-card p, .tarif-card li { color: #444; line-height: 1.55; font-size: .87rem; }
.tarif-card ul { padding-left: 1rem; margin-top: .5rem; }
.tarif-card li { margin: .35rem 0; }

.tarif-item {
  padding-top: .65rem;
  margin-top: .65rem;
  border-top: 1px dashed rgba(0,0,0,.1);
}
.tarif-item:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.note { font-size: .85rem; color: #888; margin-top: .65rem; font-style: italic; }

/* Blocs bas de tarifs */
.tarifs-positionnement {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(25,147,181,.06);
  border: 1px solid rgba(25,147,181,.18);
  border-radius: 0;
  text-align: left;
}
.tarifs-positionnement h3 {
  font-variant: normal;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cyan-dk);
  margin-bottom: .55rem;
}
.tarifs-positionnement ul { margin-top: .65rem; padding-left: 1rem; }
.tarifs-positionnement li { margin: .35rem 0; font-size: .88rem; color: #444; }

.tarifs-footer { margin-top: 1.75rem; text-align: center; }

.tarifs-cta {
  display: inline-block;
  margin-top: .85rem;
  padding: .85rem 2rem;
  background: var(--cyan);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: .04em;
  border-radius: 0;          /* angles droits */
  transition: transform .15s, opacity .15s;
}
.tarifs-cta:hover { transform: translateY(-2px); opacity: .9; }

/* =============================================
   CONTACT — fond cyan profond
============================================= */
#contact {
  background: var(--bg-contact);
  color: #fff;
}

#contact h2    { color: #fff; }
#contact h3    { color: #fff; }
#contact .eyebrow { color: rgba(255,255,255,.65); }
#contact .section-header p { color: rgba(255,255,255,.6); }

/* Desktop 2 col · Tablette+ 1 col */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  text-align: left;
}

.contact-info h2 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); margin-bottom: .6rem; }
.contact-info > p { font-size: .9rem; margin-bottom: 1.75rem; color: rgba(255,255,255,.65); }

.contact-detail {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .85rem;
}
.contact-detail-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.contact-detail-body strong {
  display: block;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: .1rem;
  font-family: "Montserrat", sans-serif;
}
.contact-detail-body span,
.contact-detail-body a {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .875rem;
  transition: color .2s;
}
.contact-detail-body a:hover { color: #fff; }

/* Formulaire */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .36rem;
  margin-bottom: .9rem;
}
.form-field label {
  font-family: "Montserrat", sans-serif;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.2);
  font-family: "Montserrat", sans-serif;
  font-size: .875rem;
  color: #fff;
  background: rgba(255,255,255,.1);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.35); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(255,255,255,.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}
.form-field select { color: rgba(255,255,255,.8); }
.form-field select option { color: var(--ink); background: var(--white); }
.form-field textarea { resize: vertical; min-height: 130px; }

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #ff8080; }

.field-error {
  font-family: "Montserrat", sans-serif;
  font-size: .67rem;
  font-weight: 700;
  color: #ffb3b3;
  display: none;
}
.form-field.has-error .field-error { display: block; }

.phone-row { display: grid; grid-template-columns: 148px 1fr; gap: .75rem; }

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

#contact-status {
  display: none;
  padding: .8rem 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid;
}
#contact-status.is-success {
  display: block;
  background: rgba(0,200,100,.12);
  color: #a3ffc3;
  border-color: rgba(0,200,100,.3);
}
#contact-status.is-error {
  display: block;
  background: rgba(255,80,80,.12);
  color: #ffc3c3;
  border-color: rgba(255,80,80,.3);
}

.hp-field {
  position: absolute;
  left: -9999px; width: 0; height: 0;
  overflow: hidden; opacity: 0; pointer-events: none;
}

/* =============================================
   FOOTER — fond noir
============================================= */
footer {
  background: var(--bg-footer);
  padding: 1.75rem var(--pad-x);
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo svg { width: 110px; height: auto; opacity: .4; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a {
  font-family: "Montserrat", sans-serif;
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.28);
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--cyan); }
footer p {
  font-family: "Montserrat", sans-serif;
  font-size: .72rem;
  color: rgba(255,255,255,.2);
}

/* =============================================
   TABLETTE  ≤ 900px
============================================= */
@media (max-width: 900px) {

  /* Burger : légèrement plus petit */
  .burger { top: 16px; right: 18px; width: 44px; height: 44px; }

  /* Tiroir */
  .nav-panel {
    width: 72vw;
    height: 140vh;
    margin-top: -25%;
  }
  .nav-panel.open { right: -18%; }

  /* Timeline : colonne unique */
  .timeline-alt { padding: 0 18px; }
  .timeline-alt::before { content: none; }

  .tl-item {
    width: 90%;
    max-width: 520px;
    margin: 0 auto 44px auto;
  }
  .tl-item .tl-trigger,
  .tl-item .tl-panel {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
  }
  .tl-item .tl-trigger::after { display: none !important; }
  .tl-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -44px;
    height: 44px;
    border-left: 2px solid var(--line);
    transform: translateX(-1px);
  }

  /* Sécurité : si :last-child ne matche pas (DOM/whitespace), on force la fin à blanc */
  .tl-item:last-of-type::after {
    content: none !important;
    border: 0 !important;
    display: none !important;
  }

  #parcours .container { max-width: 90%; }

  /* Tarifs : 2 colonnes */
  .tarifs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  /* Contact : 1 colonne centré */
  .contact-layout { grid-template-columns: 1fr; text-align: center; }
  .contact-detail  { justify-content: center; }
}

/* =============================================
   MOBILE  ≤ 600px
============================================= */
@media (max-width: 600px) {

  .burger { top: 14px; right: 14px; }

  /* Tiroir plein écran */
  .nav-panel {
    width: 90vw;
    height: 160vh;
    margin-top: -80%;
    right: -100%;
  }
  .nav-panel.open { right: -14%; }
  .nav-panel a    { font-size: 1rem; }

  /* Timeline mobile */
  .services-intro { max-width: 42ch; padding: 0 10px; }

  /* Tarifs : 1 colonne */
  .tarifs-grid { grid-template-columns: 1fr; }

  /* Formulaire : 1 colonne */
  .form-row  { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: center; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* =============================================
   PRINT
============================================= */
@media print {
  .burger, .nav-panel, .hero-scroll { display: none !important; }
  section { page-break-inside: avoid; }
}
