@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('/fonts/barlowc-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/barlowc-700.woff2') format('woff2'); }

:root {
  --nuit: #0e1f3b; --nuit-2: #1d3157; --papier: #fff; --brume: #f3f5f8; --trait: #dfe4eb; --ardoise: #5a6a80;
  --balise: #e8590c; --balise-fonce: #c2410c; --balise-pale: #fff1e8;
  --corps: 'Barlow', system-ui, sans-serif; --titre: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --large: min(1160px, 100% - 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--nuit); font: 400 18px/1.55 var(--corps); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--balise); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
.saut { position: absolute; left: -9999px; }
.saut:focus { left: 16px; top: 16px; background: var(--papier); padding: 8px 12px; z-index: 10; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border-radius: 10px; background: var(--balise); color: #fff; font: 600 17px/1.2 var(--corps); text-decoration: none; text-align: center; border: 1px solid var(--balise); }
.btn:hover { background: var(--balise-fonce); border-color: var(--balise-fonce); }
.btn.second { background: transparent; color: var(--nuit); border-color: var(--trait); }
.btn.second:hover { border-color: var(--nuit); background: transparent; }
.btn.petit { min-height: 42px; padding: 10px 16px; font-size: 15px; }
.note { color: var(--ardoise); font-size: 15px; margin: 12px 0 0; }

/* ----- en-tête ----- */
.haut { width: var(--large); margin: 0 auto; display: flex; align-items: center; gap: 32px; padding: 22px 0; }
.marque { display: inline-flex; align-items: center; gap: 10px; font: 700 26px/1 var(--titre); text-decoration: none; letter-spacing: .01em; }
.marque i { width: 11px; height: 11px; background: var(--balise); border-radius: 2px; transform: rotate(45deg); }
.haut nav { display: flex; gap: 26px; margin-left: auto; }
.haut nav a { text-decoration: none; color: var(--ardoise); font-weight: 500; font-size: 16px; }
.haut nav a:hover { color: var(--nuit); }

/* ----- héros ----- */
.hero { width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding: 48px 0 88px; }
.hero h1 { font: 700 clamp(44px, 6.2vw, 82px)/.98 var(--titre); letter-spacing: -.012em; max-width: 14ch; }
.chapo { font-size: 20px; color: var(--nuit-2); max-width: 54ch; margin: 26px 0 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.telephone { margin: 0 0 92px; position: relative; justify-self: center; width: min(360px, 100%); }
.ecran { border: 10px solid var(--nuit); border-radius: 38px; background: var(--brume); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(14, 31, 59, .45); }
.barre { background: var(--papier); border-bottom: 1px solid var(--trait); padding: 16px 18px 12px; display: flex; flex-direction: column; }
.barre b { font: 600 17px/1.2 var(--corps); }
.barre span { font-size: 13px; color: var(--ardoise); }
.messages { padding: 16px 12px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 470px; }
.m { margin: 0; max-width: 84%; padding: 9px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.42; animation: arrive .45s ease-out both; animation-delay: calc(var(--d) * 1.1s + .3s); }
.m.c { background: var(--papier); align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid var(--trait); }
.m.a { background: var(--nuit); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.m.photo { display: flex; gap: 6px; align-items: flex-end; padding: 6px; }
.m.photo em { font-style: normal; font-size: 12px; color: var(--ardoise); padding: 0 4px 2px; }
.vignette { width: 64px; height: 64px; border-radius: 8px; background: linear-gradient(160deg, #c9d2dc, #8c9aab); display: block; }
.vignette + .vignette { background: linear-gradient(200deg, #d5dce4, #9aa6b4); }
.notif { position: absolute; left: -64px; bottom: -92px; width: 300px; background: var(--papier); border: 1px solid var(--trait); border-left: 4px solid var(--balise); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.4; box-shadow: 0 18px 40px -18px rgba(14, 31, 59, .35); animation: arrive .5s ease-out both; animation-delay: calc(var(--d) * 1.1s + .5s); }
.notif b { display: block; font-size: 13px; color: var(--ardoise); font-weight: 600; margin-bottom: 4px; }
.faux-bouton { display: inline-block; margin: 10px 6px 0 0; padding: 7px 12px; border-radius: 8px; background: var(--balise); color: #fff; font-weight: 600; font-size: 14px; }
.faux-bouton.sobre { background: var(--brume); color: var(--nuit); }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ----- chiffres ----- */
.chiffres { background: var(--nuit); color: #fff; padding: 88px 0; }
.chiffres > * { width: var(--large); margin-left: auto; margin-right: auto; }
.chiffres h2 { font: 600 clamp(30px, 3.6vw, 46px)/1.08 var(--titre); max-width: 24ch; }
.trois { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.trois > div { padding: 0 32px; border-left: 1px solid rgba(255, 255, 255, .18); }
.trois > div:first-child { padding-left: 0; border-left: 0; }
.trois b { display: block; font: 700 clamp(56px, 6vw, 84px)/1 var(--titre); color: #fff; }
.trois p { margin: 12px 0 10px; font-size: 18px; color: #dfe6f0; max-width: 28ch; }
.trois small { font-size: 13px; color: #9fb0c8; }
.suite { margin-top: 48px; font-size: 20px; color: #dfe6f0; max-width: 60ch; }

/* ----- frise ----- */
.journee, .main, .questions { width: var(--large); margin: 0 auto; padding: 96px 0 0; }
.journee h2, .main h2, .questions h2 { font: 600 clamp(32px, 3.8vw, 48px)/1.06 var(--titre); max-width: 22ch; }
.intro { color: var(--ardoise); font-size: 19px; max-width: 58ch; margin: 16px 0 0; }
.frise { list-style: none; margin: 48px 0 0; padding: 0; position: relative; }
.frise::before { content: ''; position: absolute; left: 172px; top: 8px; bottom: 8px; width: 2px; background: var(--trait); }
.frise li { display: grid; grid-template-columns: 150px 1fr; gap: 0 46px; padding: 0 0 34px; position: relative; }
.frise li::before { content: ''; position: absolute; left: 167px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--papier); border: 2px solid var(--nuit); }
.frise time { font: 600 19px/1.4 var(--titre); color: var(--ardoise); text-align: right; }
.frise h3 { font: 600 22px/1.25 var(--corps); }
.frise p { margin: 6px 0 0; color: var(--nuit-2); max-width: 62ch; }
.frise li.vous > div { background: var(--balise-pale); border-radius: 12px; padding: 14px 18px; margin: -14px 0 0 -18px; }
.frise li.vous::before { background: var(--balise); border-color: var(--balise); }
.frise li.vous time { color: var(--balise-fonce); }

/* ----- règles ----- */
.main { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.main .col { position: sticky; top: 32px; }
.regles { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.regles div { border-top: 2px solid var(--nuit); padding: 18px 0 30px; }
.regles dt { font: 600 20px/1.25 var(--corps); }
.regles dd { margin: 8px 0 0; color: var(--nuit-2); font-size: 17px; }

/* ----- prix ----- */
.prix { width: var(--large); margin: 0 auto; padding: 104px 0 0; }
.carte-prix { background: var(--brume); border-radius: 20px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 64px; align-items: start; }
.carte-prix h2 { font: 600 clamp(32px, 3.6vw, 46px)/1.05 var(--titre); grid-column: 1; }
.carte-prix .montant { grid-column: 1; margin: 18px 0 0; color: var(--ardoise); font-size: 19px; }
.carte-prix .montant b { font: 700 96px/1 var(--titre); color: var(--nuit); display: block; letter-spacing: -.02em; }
.carte-prix ul { grid-column: 2; grid-row: 1 / span 3; margin: 0; padding: 0; list-style: none; }
.carte-prix li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--trait); position: relative; font-size: 18px; }
.carte-prix li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 12px; height: 7px; border-left: 2.5px solid var(--balise); border-bottom: 2.5px solid var(--balise); transform: rotate(-45deg); }
.carte-prix .btn { grid-column: 1; justify-self: start; margin-top: 26px; }
.carte-prix .note { grid-column: 1; }

/* ----- questions ----- */
.questions { padding-bottom: 40px; max-width: 860px; }
.questions h2 { margin-bottom: 26px; }
details { border-top: 1px solid var(--trait); }
details:last-of-type { border-bottom: 1px solid var(--trait); }
summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 20px/1.3 var(--corps); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font: 400 28px/1 var(--corps); color: var(--ardoise); }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 22px; color: var(--nuit-2); max-width: 66ch; }

.pied { width: var(--large); margin: 80px auto 0; padding: 32px 0 48px; border-top: 1px solid var(--trait); display: flex; gap: 24px; align-items: center; flex-wrap: wrap; color: var(--ardoise); font-size: 15px; }
.pied p { margin: 0; }
.pied p:last-child { margin-left: auto; }

@media (max-width: 960px) {
  .haut nav { display: none; }
  .haut .btn { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 72px; }
  .telephone { margin-bottom: 104px; }
  .notif { left: auto; right: -8px; bottom: -48px; width: 270px; }
  .trois { grid-template-columns: 1fr; gap: 36px; }
  .trois > div { padding: 0; border-left: 0; }
  .frise::before { left: 6px; }
  .frise li { grid-template-columns: 1fr; padding-left: 34px; }
  .frise li::before { left: 1px; }
  .frise time { text-align: left; }
  .frise li.vous > div { margin: 4px 0 0 -12px; padding: 12px; }
  .main { grid-template-columns: 1fr; gap: 28px; }
  .main .col { position: static; }
  .regles { grid-template-columns: 1fr; }
  .carte-prix { grid-template-columns: 1fr; padding: 32px 24px; }
  .carte-prix ul { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .carte-prix .montant b { font-size: 76px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  :root { --large: calc(100% - 32px); }
  .cta .btn { width: 100%; }
  .notif { position: relative; right: auto; bottom: auto; left: auto; width: 100%; margin-top: 14px; }
  .telephone { margin-bottom: 0; }
  .messages { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .m, .notif { animation: none; }
}
