/* Passe-Partout · feuille de style du site */

:root {
  --navy: #1D2936;
  --night: #131D28;
  --night-2: #0E151E;
  --panel: #1C2A39;
  --panel-line: #2D4056;
  --ink-soft: #4B5A6B;
  --line: #E1E6EC;
  --mist: #F3F5F8;
  --blue: #316AB0;
  --blue-ink: #1F4C86;
  --blue-tint: #EAF1FA;
  --blue-on-dark: #6FA3E8;
  --orange: #EBA643;
  --orange-hover: #F2B85F;
  --orange-ink: #B4600F;
  --on-dark: #C5D0DC;
  --on-dark-soft: #9DAEC0;
  --field-line: #7D8EA0;
  --ok: #3DDC84;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Exo 2', 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: #2B62A8; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: #FFFFFF; color: var(--navy); }

/* Titres et textes communs */
.eyebrow {
  display: block;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--blue);
}
.title {
  margin: 0;
  max-width: 22em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}
.intro { margin: 20px 0 0; max-width: 46em; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn svg { flex: none; width: 20px; height: 20px; }
.btn-call { background: var(--orange); color: var(--navy); }
.btn-call:hover { background: var(--orange-hover); color: var(--navy); }
.btn-ghost { border: 2px solid #3A5069; color: #FFFFFF; }
.btn-ghost:hover { border-color: var(--on-dark); color: #FFFFFF; }
.btn-blue { background: var(--blue); color: #FFFFFF; }
.btn-blue:hover { background: var(--blue-ink); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--mist); color: var(--navy); }
.btn-dark { background: var(--navy); color: #FFFFFF; }
.btn-dark:hover { background: var(--night); color: #FFFFFF; }
.btn-lg { min-height: 58px; padding: 10px 26px; border-radius: 14px; font-size: 19px; }
.btn-lg svg { width: 22px; height: 22px; }
.btn-block { display: flex; width: 100%; }
.nowrap { white-space: nowrap; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 20; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.brand { display: block; line-height: 0; }
.brand img { height: clamp(48px, 6vw, 64px); width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 12px; color: var(--navy); font-size: 16px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--blue); }

/* Bandeau d'accueil */
.hero { background: var(--night); color: #FFFFFF; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 5vw, 64px); padding-block: clamp(44px, 7vw, 92px); }
.hero-text { flex: 1 1 480px; min-width: 0; }
.hero h1 { margin: 0; }
.hero .eyebrow { margin-bottom: 18px; color: var(--orange); }
.slogan {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
}
.slogan em { font-style: inherit; color: var(--blue-on-dark); }
.lead { margin: 24px 0 0; max-width: 34em; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--on-dark); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  font-size: 16px;
  font-weight: 600;
}
.status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); animation: blink 1.8s ease-in-out infinite; }
.status[data-open="true"] .status-dot { background: var(--ok); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hours-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.hours-chips li { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 12px; background: var(--panel); }
.hours-chips small { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-soft); }
.hours-chips strong { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 22px; }

.hero-photo { flex: 1 1 420px; min-width: 0; margin: 0; }
.hero-photo img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }

.map-panel { flex: 0 1 440px; min-width: 0; margin: 0 auto; padding: clamp(16px, 3vw, 28px); border-radius: 20px; background: var(--night); }
.map-panel svg { width: 100%; height: auto; }
.map-panel figcaption { margin-top: 8px; text-align: center; font-size: 15px; color: var(--on-dark-soft); }
.map-label { font-family: var(--font-body); font-size: 18px; font-weight: 600; fill: #DCE6F0; }
.map-scale { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: var(--on-dark-soft); letter-spacing: 0.04em; }
.map-home { font-family: var(--font-body); font-size: 16px; font-weight: 700; fill: var(--orange); }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }

.stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, var(--night) 16px 32px); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 100px); scroll-margin-top: 80px; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--night); color: #FFFFFF; }
.section-dark .eyebrow { color: var(--orange); }
.section-dark .title { color: #FFFFFF; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.card h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 23px; line-height: 1.15; }
.card p { margin: 0; line-height: 1.55; color: var(--ink-soft); }
.icon-tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--orange); }
.icon-tile svg { width: 26px; height: 26px; }

.band { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 20px; padding: 22px 26px; border-radius: var(--radius); background: var(--navy); color: #FFFFFF; }
.band-main { display: flex; align-items: center; gap: 14px; flex: 1 1 420px; min-width: 0; margin: 0; }
.band-main svg { flex: none; width: 30px; height: 30px; color: var(--orange); }
.band-side { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--on-dark); }
.band-side svg { flex: none; width: 20px; height: 20px; color: var(--orange); stroke-width: 2.4; }

.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.perk { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.perk .icon-tile { flex: none; }
.perk h3 { margin: 0 0 4px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 21px; line-height: 1.2; }
.perk p { margin: 0; line-height: 1.5; color: var(--ink-soft); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--line); }
.gallery figcaption { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* Horaires */
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.hours-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius); background: #FFFFFF; border: 2px solid var(--line); }
.hours-card.is-today { border-color: var(--orange); }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.hours-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.badge { display: none; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--navy); font-size: 14px; font-weight: 700; }
.hours-card.is-today .badge { display: inline-block; }
.hours-big { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(38px, 5vw, 54px); line-height: 1; }
.hours-note { margin: 0; font-size: 16px; color: var(--ink-soft); }
.after-note { margin: 24px 0 0; color: var(--ink-soft); }

/* Zone */
.zone-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 64px); }
.zone-text { flex: 1 1 520px; min-width: 0; }
.section-mist .communes { background: #FFFFFF; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-ink); font-size: 16px; font-weight: 600; }
.communes { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--mist); }
.communes h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.communes p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

/* Rapatriement */
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(32px, 5vw, 64px); }
.split-text { flex: 1 1 360px; min-width: 0; }
.split-text .copy { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.ticks { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.tick { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--navy); }
.tick svg { width: 16px; height: 16px; }

.form-card { flex: 1 1 460px; min-width: 0; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: #FFFFFF; color: var(--navy); }
.form-card h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 26px; }
.form-card .hint { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 22px; }
.field { min-width: 0; }
.field-full { margin-top: 18px; }
.field label, .legend { display: block; margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 600; }
.req { color: var(--orange-ink); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--field-line);
  background: #FFFFFF;
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.choice { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.segmented { display: flex; gap: 10px; }
.segmented label { position: relative; flex: 1 1 0; min-width: 0; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid var(--field-line); font-weight: 700; text-align: center; }
.segmented input:checked + span { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.segmented input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.send-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.send-row .btn { flex: 1 1 200px; }
.form-note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* Conseils */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: #FFFFFF; border: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; color: var(--orange-ink); }
.steps h3 { margin: 0; font-size: 20px; font-weight: 700; }
.steps p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.alert { display: flex; align-items: flex-start; gap: 16px; margin-top: 20px; padding: 22px 24px; border-radius: var(--radius); background: var(--navy); color: #FFFFFF; }
.alert svg { flex: none; width: 26px; height: 26px; margin-top: 1px; color: var(--orange); }
.alert p { margin: 0; line-height: 1.55; }

/* Avis */
.review { background: var(--mist); }
.review .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(48px, 6vw, 72px); }
.review h2 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; }
.review .copy { margin: 10px 0 0; font-size: 18px; color: var(--ink-soft); }

/* Pied de page */
.site-footer { background: var(--night-2); color: var(--on-dark); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 36px 56px; padding-block: 56px 0; }
.footer-col { flex: 1 1 240px; min-width: 0; }
.footer-col:first-child { flex: 1.6 1 280px; }
.footer-col h2 { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); }
.footer-col p { margin: 8px 0 0; line-height: 1.7; }
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: 14px; background: #FFFFFF; line-height: 0; }
.footer-logo img { height: 72px; width: auto; }
.footer-col a { color: var(--on-dark); }
.footer-col a:hover { color: #FFFFFF; }
.footer-col .footer-tel { color: #FFFFFF; font-size: 22px; font-weight: 700; text-decoration: none; }
.footer-col .footer-tel:hover { color: var(--orange); }
.footer-col .footer-sub { margin-top: 24px; }
.legal-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid #223042; font-size: 14px; color: var(--on-dark-soft); }
.legal-row a { color: var(--on-dark); }
.legal-row a:hover { color: #FFFFFF; }

/* Barre d'appel sur téléphone */
.callbar { display: none; }

/* Pages secondaires */
.page { padding-block: clamp(40px, 6vw, 72px); }
.page h2 { margin: 40px 0 12px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1.15; }
.page p { margin: 0 0 12px; line-height: 1.65; }
.legal-list { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 10px 24px; margin: 16px 0 0; }
.legal-list dt { font-weight: 700; }
.legal-list dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
mark.todo { padding: 1px 4px; border-radius: 4px; background: #FFE58A; color: var(--navy); }
.page .todo-note { margin: 24px 0 8px; padding: 14px 18px; border-radius: 12px; background: #FFF6D1; }
.notfound { padding-block: clamp(64px, 10vw, 120px); }
.notfound .copy { margin: 16px 0 0; font-size: 18px; color: var(--ink-soft); }
.notfound .btn { margin-top: 20px; }

/* Animations */
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(3.4); opacity: 0; } }
@keyframes blink { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .status-dot { animation: none; }
}

/* Téléphone */
@media (max-width: 760px) {
  .nav, .site-header .btn-call { display: none; }
  .site-header { position: static; }
  .callbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #FFFFFF;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(19, 29, 40, 0.14);
  }
  .callbar .btn { flex: 1 1 0; min-height: 52px; font-size: 18px; }
  .callbar .btn-dark { background: var(--navy); color: #FFFFFF; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .section { scroll-margin-top: 16px; }
  .legal-list { grid-template-columns: 1fr; gap: 2px; }
  .legal-list dd { margin-bottom: 12px; }
}
