/* LaviLaba · site vitrine. Couleurs et polices : plateforme de marque v1.5. */
@font-face { font-family: 'Baloo 2'; font-weight: 500; font-display: swap; src: url('../fonts/baloo-2-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url('../fonts/baloo-2-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --bleu: #1A3E9E;
  --bleu-fonce: #142f78;
  --brique: #A8472F;
  --brique-claire: #D9775A;
  --papier: #FBF8F1;
  --brume: #EEF0F7;
  --nuit: #111322;
  --gris: #5C6170;
  --menthe: #1F7A65;
  --bordure: #DADDE8;
  --titre: 'Baloo 2', 'Avenir Next', 'Nunito', system-ui, sans-serif;
  --texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --rayon: 14px;
  --largeur: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--texte); color: var(--nuit); background: #fff; line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
a:hover { color: var(--bleu-fonce); }
h1, h2, h3 { font-family: var(--titre); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 800; }
p { margin: 0 0 1em; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lien-evitement { position: absolute; left: -999px; }
.lien-evitement:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--brique-claire); outline-offset: 2px; }

/* La bordure « par avion » (bleu et brique, jamais bleu-blanc-rouge) */
.par-avion { height: 8px; background: repeating-linear-gradient(-45deg, var(--bleu) 0 14px, #fff 14px 22px, var(--brique) 22px 36px, #fff 36px 44px); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--bordure); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--bleu); line-height: 1; }
.logo-nom { font-family: var(--titre); font-size: 1.65rem; letter-spacing: -0.01em; }
.logo-nom b { font-weight: 800; }
.logo-nom span { font-weight: 500; }
.logo svg { margin-top: 1px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--nuit); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--bleu); }
.nav a[aria-current="page"] { color: var(--bleu); }
@media (max-width: 720px) { .nav .lien-secondaire { display: none; } }

/* Boutons */
.bouton { display: inline-block; font-family: var(--texte); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 10px; padding: 13px 22px; transition: transform .12s ease, background .12s ease; }
.bouton:hover { transform: translateY(-1px); }
.bouton-plein { background: var(--bleu); color: #fff !important; }
.bouton-plein:hover { background: var(--bleu-fonce); }
.bouton-contour { border: 2px solid var(--bleu); color: var(--bleu); padding: 11px 20px; background: #fff; }
.bouton-petit { padding: 9px 16px; font-size: .92rem; }

/* Bandeau d'accueil */
.accueil { background: var(--papier); position: relative; overflow: hidden; }
.accueil .conteneur { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.surtitre { font-family: var(--titre); font-weight: 800; color: var(--brique); font-size: 1.05rem; letter-spacing: .02em; margin-bottom: .6em; }
.accueil .chapeau { font-size: 1.2rem; color: #2C3040; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.note { color: var(--gris); font-size: .9rem; margin-top: 14px; }
.ondes { position: absolute; right: -60px; top: -40px; width: 360px; opacity: .18; pointer-events: none; }
@media (max-width: 860px) { .accueil .conteneur { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; } }

/* La carte postale */
.carte-postale { background: #fff; border-radius: var(--rayon); box-shadow: 0 18px 40px -18px rgba(17,19,34,.35); padding: 22px 22px 18px; transform: rotate(2deg); position: relative; }
.carte-postale::before { content: ''; position: absolute; inset: 0; border-radius: var(--rayon); padding: 6px; background: repeating-linear-gradient(-45deg, var(--bleu) 0 10px, transparent 10px 16px, var(--brique) 16px 26px, transparent 26px 32px); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .9; }
.carte-postale .tampon { position: absolute; right: 18px; top: 16px; width: 92px; height: 92px; border: 2px solid var(--brique); border-radius: 50%; color: var(--brique); font-family: var(--titre); font-weight: 800; font-size: .78rem; display: grid; place-items: center; text-align: center; line-height: 1.1; transform: rotate(-12deg); opacity: .85; }
.carte-postale .ecrit { font-family: var(--titre); font-size: 1.15rem; line-height: 1.35; color: var(--nuit); margin: 6px 110px 14px 4px; min-height: 92px; }
.carte-postale .signe { color: var(--gris); font-size: .9rem; margin: 0 4px; }

/* Sections */
.section { padding: 80px 0; }
.section-brume { background: var(--brume); }
.section-papier { background: var(--papier); }
.section .intro { max-width: 40em; color: #2C3040; font-size: 1.08rem; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 34px; }
.carte { background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 24px; }
.carte h3 { color: var(--bleu); margin-top: 10px; }
.carte p { color: #2C3040; margin: 0; font-size: .98rem; }
.carte .pastille { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--menthe); background: #E4F2EE; border-radius: 99px; padding: 3px 10px; margin-top: 12px; }
.icone { width: 44px; height: 44px; border-radius: 12px; background: var(--brume); display: grid; place-items: center; color: var(--bleu); }
.section-brume .carte, .section-papier .carte { border-color: transparent; }

/* Villes */
.villes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ville { text-decoration: none; background: #fff; border: 1px solid var(--bordure); color: var(--nuit); border-radius: 99px; padding: 9px 18px; font-weight: 600; }
.ville:hover { border-color: var(--bleu); color: var(--bleu); }

/* Valeurs */
.valeurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-top: 30px; }
.valeurs h3 { color: var(--brique); }

/* Pass */
.prix { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 30px 0 10px; max-width: 640px; }
.prix .carte { text-align: left; }
.carte .montant { font-family: var(--titre); font-weight: 800; font-size: 2.3rem; color: var(--brique); line-height: 1.1; margin: 6px 0 2px; }
.liste-coches { list-style: none; padding: 0; margin: 20px 0; }
.liste-coches li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.liste-coches li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Questions fréquentes */
.faq { max-width: 760px; margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--bordure); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--bleu); font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: #2C3040; }

/* Liste de fiches */
.fiches { columns: 2 280px; column-gap: 32px; padding-left: 1.1em; margin: 20px 0 0; }
.fiches li { margin-bottom: 8px; break-inside: avoid; }

/* Appel final */
.appel { background: var(--bleu); color: #fff; text-align: center; }
.appel h2 { color: #fff; }
.appel p { color: #DCE3F7; max-width: 34em; margin-left: auto; margin-right: auto; }
.appel .bouton-plein { background: #fff; color: var(--bleu) !important; }

/* Pied de page */
.pied { background: var(--nuit); color: #B9BDCB; padding: 44px 0 34px; font-size: .92rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied nav { display: flex; flex-wrap: wrap; gap: 18px; }
.pied .logo { color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .carte-postale { transform: none; } }
