@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/manrope-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ════════════════════════════════════════════════════════════
   SHILOH CONCEPT - base.css
   Identité Glassthick + chrome (en-tête, pied) + formulaire,
   modale de contact et listes déroulantes (partagé par toutes
   les pages). RGAA / WCAG 2.1 AA : contrastes vérifiés.
   ════════════════════════════════════════════════════════════ */
:root {
  --bg: #0a1626; --text: #eef6ff; --text-muted: #b6c9de;
  --sky: #7dd3fc; --ice: #a5d8ff; --white: #ffffff;
  --glass: rgba(148,197,255,.07); --glass-strong: rgba(148,197,255,.12);
  --glass-border: rgba(148,197,255,.18);
  --field-bg: rgba(148,197,255,.06); --field-border: rgba(148,197,255,.22);
  --radius: 18px;
  --cta-from: #7dd3fc; --cta-to: #38bdf8; --cta-text: #082f49;
  --danger: #fda4af;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; /* §13.152 : focus et ancres jamais masqués par l'en-tête collant */ }
body {
  margin: 0; font-family: var(--font-body);
  font-size: clamp(1rem,.95rem + .3vw,1.125rem); line-height: 1.65;
  color: var(--text); background: var(--bg); min-width: 320px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(55rem 36rem at 10% -12%, rgba(37,99,235,.35), transparent 62%),
    radial-gradient(48rem 34rem at 92% 6%, rgba(125,211,252,.20), transparent 60%),
    radial-gradient(52rem 42rem at 50% 118%, rgba(29,78,216,.30), transparent 62%),
    radial-gradient(30rem 22rem at 78% 70%, rgba(165,216,255,.08), transparent 65%), var(--bg);
}
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(95px); opacity: .5; }
.aurora::before { width: 34rem; height: 34rem; left: -9rem; top: 22%; background: rgba(37,99,235,.38); animation: drift 26s ease-in-out infinite alternate; }
.aurora::after { width: 26rem; height: 26rem; right: -7rem; bottom: 10%; background: rgba(125,211,252,.26); animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(3rem,2rem,0) scale(1.12); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Lien d'évitement : révélé dès la prise de focus (RGAA 12.7) — #0a1626 sur #7dd3fc ≈ 8,9:1. */
.sr-only:focus-visible { position: fixed; top: .7rem; left: .7rem; z-index: 1200; width: auto; height: auto;
  margin: 0; padding: .7rem 1.1rem; overflow: visible; clip: auto; white-space: normal;
  background: var(--sky); color: #0a1626; font-weight: 700; border-radius: 10px; border: 2px solid #fff; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
a { color: var(--ice); }
a:hover { color: #dff1ff; }

.container { width: min(100% - clamp(2rem,6vw,6rem), 1480px); margin-inline: auto; }
/* Très grands écrans (Full HD et au-delà) : le contenu occupe la largeur sans
   jamais s'étirer à l'infini - plafond 1760 px, mesure typographique intacte. */
@media (min-width: 1600px) {
  .container { width: min(100% - clamp(3rem,6vw,8rem), 1760px); }
}
section { padding: clamp(3rem,7vw,6rem) 0; scroll-margin-top: 5.5rem; }

/* ---------- Boutons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.6rem; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--cta-text); background: linear-gradient(96deg, var(--cta-from), var(--cta-to));
  border: none; border-radius: 14px; cursor: pointer; text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.6rem; font: inherit; font-weight: 600; font-size: 1rem;
  color: var(--text); background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 14px; cursor: pointer; text-decoration: none;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn-ghost:hover { background: var(--glass-strong); border-color: rgba(125,211,252,.4); transform: translateY(-2px); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,22,38,.72); border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand {
  display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; letter-spacing: .01em;
}
.brand-bubble {
  width: 2.5rem; height: 2.5rem; border-radius: .85rem; flex: none; display: grid; place-items: center;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand-bubble img { width: 1.55rem; height: 1.55rem; object-fit: contain; display: block; }
.nav-desktop { display: none; margin-left: auto; align-items: center; gap: .35rem; }
.nav-desktop a.nav-link {
  padding: .6rem .9rem; min-height: 44px; display: inline-flex; align-items: center;
  color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: .97rem;
  border-radius: 10px; transition: color 150ms ease, background 150ms ease;
}
.nav-desktop a.nav-link:hover { color: var(--text); background: var(--glass); }
.nav-cta { margin-left: .8rem; }
.nav-cta .btn-primary { min-height: 46px; padding: .6rem 1.2rem; }
.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle .bars::before { transform: translateY(-6px); }
.nav-toggle .bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::before { transform: rotate(90deg); }
.nav-toggle[aria-expanded="true"] .bars::after { opacity: 0; }
.nav-mobile { display: none; padding: .5rem 0 1.25rem; }
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: flex; align-items: center; min-height: 48px; padding: .7rem 1rem; margin-top: .4rem;
  color: var(--text); text-decoration: none; font-weight: 500;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px;
}
.nav-mobile a:hover { background: var(--glass-strong); }
.back {
  margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px;
}
.back:hover { background: var(--glass-strong); color: var(--text); }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--glass-border); padding: clamp(2.5rem,5vw,4rem) 0 2rem; background: rgba(8,18,34,.55); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%,13rem), 1fr)); }
.footer-grid h2 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 .9rem; }
.footer-brand p { color: var(--text-muted); font-size: .92rem; margin: .4rem 0 0; max-width: 30ch; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.footer-grid ul a { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem 0;
  color: var(--text-muted); text-decoration: none; font-size: .95rem; }
.footer-grid ul a:hover { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(148,197,255,.12);
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .85rem; color: var(--text-muted); }
/* Accessibilité (WCAG 2.1 - 1.4.1, audit Lighthouse 02/08 = score 97→visé 100) :
   un lien dans un bloc de texte ne doit pas être distingué UNIQUEMENT par sa
   couleur (« CNIL » du fine-print footer était flaggé). Souligné permanent,
   volontairement discret (translucide Glassthick), plein au survol/focus. */
.footer-bottom a { color: var(--ice); text-decoration: underline;
  text-decoration-color: rgba(165,216,255,.45); text-underline-offset: 3px; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { text-decoration-color: currentColor; }
.todo { background: rgba(125,211,252,.12); border-bottom: 2px dashed rgba(125,211,252,.55); padding: 0 .25rem; border-radius: 3px; }

/* ---------- Modale ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  padding: clamp(.75rem,3vw,2rem); background: rgba(4,10,20,.62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  /* Fermée = vraiment inerte (audit 4.1.2 : opacity seul laissait le dialogue
     et ses champs dans l'ordre de tabulation et l'arbre d'accessibilité ;
     visibility est transitionnable, le fondu est préservé). */
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; visibility: visible; }
.modal { width: min(100%,42rem); max-height: min(88vh,60rem); overflow-y: auto;
  padding: clamp(1.25rem,1rem + 1.5vw,2rem);
  background: rgba(14,29,51,.72); border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius) + 6px);
  backdrop-filter: blur(24px) saturate(1.35); -webkit-backdrop-filter: blur(24px) saturate(1.35);
  box-shadow: 0 30px 80px rgba(2,8,20,.6), inset 0 1px 0 rgba(165,216,255,.14);
  transform: translateY(14px) scale(.98); transition: transform 220ms ease; }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: .5rem; }
.modal-header .modal-icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: .9rem;
  display: grid; place-items: center; font-size: 1.35rem; background: var(--glass-strong); border: 1px solid var(--glass-border); }
.modal-header h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: .1rem 0 .2rem; }
.modal-header p { margin: 0; color: var(--text-muted); font-size: .95rem; max-width: 46ch; }
.modal-close { margin-left: auto; flex: none; width: 44px; height: 44px; font-size: 1.35rem; line-height: 1;
  color: var(--text); background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px;
  cursor: pointer; transition: background 160ms ease; }
.modal-close:hover { background: var(--glass-strong); }

/* ---------- Formulaire ---------- */
.modal form { margin-top: 1.25rem; display: grid; gap: 1rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 480px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.req { color: var(--white); }
.field .hint { display: block; font-weight: 400; font-size: .82rem; color: var(--text-muted); margin-top: .15rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field select, .field textarea {
  width: 100%; padding: .75rem .9rem; min-height: 48px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--field-bg); border: 1px solid var(--field-border); border-radius: 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; color-scheme: dark; color: var(--text);
  background-color: rgba(56,189,248,.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a5d8ff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: calc(100% - 1.1rem) center; background-size: .75rem;
  border-color: rgba(125,211,252,.32); padding-right: 2.75rem; }
.field select:hover, .field select:focus { background-color: rgba(56,189,248,.20); }
.field select option, .field select optgroup { background-color: #ffffff; color: #0a1626; } /* RGAA : repli natif contraste fort si custom listbox non active - fond blanc texte sombre */
.field input::placeholder, .field textarea::placeholder { color: #9fb4ca; opacity: 1; } /* RGAA 3.2 (25/09/2026) : 6,6:1 au lieu de 3,6:1 */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(165,216,255,.20); outline: none; }
/* RGAA 10.7 (25/09/2026) : sans bordure à colorer, une case à cocher ou un bouton radio
   perdait tout indicateur de focus avec la règle ci-dessus. */
.field input[type="checkbox"]:focus-visible, .field input[type="radio"]:focus-visible,
.field select:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field fieldset { margin: 0; padding: .9rem 1rem; border: 1px solid var(--field-border); border-radius: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .35rem; }
.checks .check { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; font-size: .95rem; cursor: pointer; min-height: 44px; margin-bottom: 0; }
input[type="checkbox"], input[type="radio"] { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: var(--cta-to); flex: none; }
.consent { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem 1rem;
  background: rgba(56,189,248,.09); border: 1px solid rgba(125,211,252,.38); border-radius: 12px; font-size: .92rem; cursor: pointer; }
.consent a { color: var(--ice); }
.consent a:hover { color: #dff1ff; }
.hp { position: absolute; left: -9000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-direction: column; gap: .75rem; margin-top: .25rem; }
.form-error { margin: 0; padding: .7rem .9rem; font-size: .92rem; color: #ffe4e6;
  background: rgba(244,63,94,.12); border: 1px solid rgba(253,164,175,.5); border-radius: 10px; }
.btn-submit { min-height: 52px; padding: .8rem 1.5rem; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--cta-text); background: linear-gradient(96deg, var(--cta-from), var(--cta-to));
  border: none; border-radius: 14px; cursor: pointer; transition: transform 160ms ease, filter 160ms ease; }
.btn-submit:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.privacy-note { font-size: .82rem; color: var(--text-muted); text-align: center; margin: 0; }

/* Modale Libre - <dialog> natif - §13.180. Fond, flou, bordure et ombre viennent de .modal, comme
   la modale de contact (25/09/2026 : le fond opaque à 96 % s'écartait du thème). transform: none,
   car le décalage de repos de .modal restait appliqué au <dialog> après l'animation. */
dialog.modal {
  width: min(100% - 1.5rem, 44rem); max-height: min(88vh, 60rem); overflow-y: auto;
  color: var(--text); transform: none;
}
dialog.modal::backdrop { background: rgba(4,10,20,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog.modal[open] { animation: entree 220ms ease; }
@keyframes entree { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 30rem) { .modal-icon { display: none; } }
.avec-bouton { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; }
.avec-bouton input { flex: 1 1 12rem; }
.resultat { margin: .4rem 0 0; font-size: .88rem; }
.donnees { margin-top: 1.1rem; font-size: .85rem; color: var(--text-muted); }
.donnees p { margin: .35rem 0; }

.modal-success { text-align: center; padding: 2rem 1rem; }
.modal-success .ok { width: 4rem; height: 4rem; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: #052e16;
  background: linear-gradient(96deg, #86efac, #4ade80); }
.modal-success h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .5rem; }
.modal-success h3:focus { outline: 3px solid var(--ice); outline-offset: 3px; }
.modal-success p { color: var(--text-muted); margin: 0 0 1.5rem; max-width: 42ch; margin-inline: auto; }

/* ---------- Listes déroulantes custom (ARIA listbox) ---------- */
.lb-wrap { position: relative; }
.lb-btn { width: 100%; padding: .75rem 2.75rem .75rem .9rem; min-height: 48px;
  font: inherit; font-size: 1rem; text-align: left; color: var(--text);
  background-color: rgba(56,189,248,.13);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a5d8ff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: calc(100% - 1.1rem) center; background-size: .75rem;
  border: 1px solid rgba(125,211,252,.32); border-radius: 12px; cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.lb-btn:hover { background-color: rgba(56,189,248,.20); }
.lb-btn[aria-expanded="true"] { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(165,216,255,.20); }
.lb-popup { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
  margin: 0; padding: .35rem; list-style: none; max-height: 15rem; overflow-y: auto;
  background: rgba(13,26,48,.96); border: 1px solid rgba(125,211,252,.38); border-radius: 12px;
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 18px 48px rgba(2,8,20,.6); }
.lb-popup.up { top: auto; bottom: calc(100% + 6px); }
.lb-popup[hidden] { display: none; }
.lb-option { display: flex; align-items: center; gap: .6rem; min-height: 44px;
  padding: .55rem .8rem; font-size: .98rem; border-radius: 9px; cursor: pointer; color: var(--text); }
.lb-option .tick { width: 1rem; flex: none; color: var(--ice); opacity: 0; font-size: .85rem; }
.lb-option[aria-selected="true"] .tick { opacity: 1; }
.lb-option.active { background: rgba(56,189,248,.25); color: var(--text); } /* contraste renforce */
.lb-option[aria-selected="true"] { color: var(--ice); font-weight: 600; }

/* ---------- Réduit-mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .aurora::before, .aurora::after { animation: none; }
}
/* ---------- iPhone SE ---------- */
@media (max-width: 374px) {
  .container { width: calc(100% - 1.5rem); }
  .modal { padding: 1rem; border-radius: var(--radius); }
  .modal-overlay { padding: .5rem; }
}
