/* Kerioz — feuille de style unique. Règles reprises des maquettes validées (design/maquettes/*.dc.html, <style>).
   Les pages gardent les styles en ligne des maquettes : ce fichier ne porte que les polices, la base et les animations. */
@font-face{font-family:'Bricolage Grotesque';src:url('fonts/bricolage-grotesque.woff2') format('woff2');font-weight:200 800;font-stretch:75% 100%;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('fonts/instrument-serif-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('fonts/instrument-serif-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
html{-webkit-text-size-adjust:100%}
[hidden]{display:none!important}
body{margin:0;background:#F4F1EA}
a{color:inherit}a:hover{color:#2D3CFF}
input,select,textarea{font:inherit}
input[type=range]{accent-color:#FFC531;width:100%}
.kz-skip{font-family:'Bricolage Grotesque',system-ui,sans-serif;position:absolute;left:-9999px;top:0;background:#FFC531;color:#0A1238;padding:12px 18px;font-weight:700;z-index:10}
.kz-skip:focus{left:12px;top:12px}
:focus-visible{outline:3px solid #2D3CFF;outline-offset:3px}
@keyframes kz-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes kz-spin{to{transform:rotate(360deg)}}
@keyframes kz-bob{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-22px) rotate(var(--r,0deg))}}
@keyframes kz-wave{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes kz-grow{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.82)}}
.kz-track{animation:kz-marquee 26s linear infinite}
.kz-rev{animation:kz-marquee 34s linear infinite reverse}
.kz-spin{animation:kz-spin 16s linear infinite}
.kz-bob{animation:kz-bob 6s ease-in-out infinite}
.kz-bob2{animation:kz-bob 8s ease-in-out infinite reverse}
.kz-wave{animation:kz-wave 12s linear infinite}
.kz-bar{transform-origin:bottom;animation:kz-grow 4s ease-in-out infinite}
.kz-lift{transition:transform .4s cubic-bezier(.2,.9,.2,1.2)}
.kz-lift:hover{transform:translateY(-10px) rotate(-1deg)}
.kz-row{transition:padding .35s ease,background .35s ease}
.kz-row:hover{padding-left:28px;background:#2D3CFF;color:#F4F1EA}
/* Questions fréquentes : <details> natif à la place de l'état JavaScript des maquettes (même rendu) */
.kz-q summary{list-style:none}
.kz-q summary::-webkit-details-marker{display:none}
.kz-q .kz-dot{background:#0A1238;color:#F4F1EA}
.kz-q[open] .kz-dot{background:#FFC531;color:#0A1238}
.kz-q .kz-dot::before{content:"+"}
.kz-q[open] .kz-dot::before{content:"−"}
@media (max-width:600px){.kz-wrap{padding-left:20px!important;padding-right:20px!important}}
@media (prefers-reduced-motion:reduce){.kz-track,.kz-rev,.kz-spin,.kz-bob,.kz-bob2,.kz-wave,.kz-bar{animation:none}.kz-lift,.kz-row{transition:none}}

/* 404 : zone de résultats de recherche masquée tant qu'elle est vide (même rendu que la maquette NotFound) */
[data-resultats]:empty{display:none!important}

/* Menu principal au téléphone : liens de 44 px de haut minimum (DECISIONS.md, 26/11/2026) */
@media (max-width:600px){nav[aria-label="Navigation principale"] a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box}}
/* Lot 2-3 : pastilles « Termes liés » du glossaire et pastille de rubrique des guides, cibles de 44 px au téléphone (même règle que le menu) */
@media (max-width:600px){.kz-lies a,a.kz-cible{display:inline-flex!important;align-items:center;min-height:44px;box-sizing:border-box}}

/* Lot 4 — recette mobile. Rien ne change au-dessus de 900 px. */
/* Étape 1 : en-tête compact et menu burger (panneau plein écran ; sans JavaScript, ouvert par :target) */
.kz-mobile,.kz-panneau{display:none}
@media (max-width:900px){
  .kz-entete{position:sticky;top:0;z-index:50}
  .kz-entete-in{padding:10px 20px!important;flex-wrap:nowrap!important;gap:12px!important;min-height:0}
  .kz-entete .kz-nav,.kz-entete .kz-rdv-long{display:none!important}
  .kz-mobile{display:flex;align-items:center;gap:8px}
  .kz-rdv-court{display:inline-flex;align-items:center;height:44px;text-decoration:none;color:#0A1238}  /* zone tactile 44 px, pilule de 40 px */
  .kz-rdv-court span{display:inline-flex;align-items:center;height:40px;padding:0 18px;border-radius:999px;background:#FFC531;font-weight:700;font-size:15px;white-space:nowrap}
  .kz-burger{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:44px;height:44px;border-radius:999px;box-sizing:border-box}
  .kz-burger span{display:block;width:22px;height:3px;border-radius:2px;background:#0A1238}
  .kz-panneau:target,.kz-panneau.kz-ouvert{display:flex;flex-direction:column;position:fixed;inset:0;z-index:100;background:#0A1238;color:#F4F1EA;padding:10px 20px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;box-sizing:border-box;animation:kz-fondu .18s ease-out}
  .kz-panneau-haut{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin-bottom:28px}
  .kz-panneau-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:30px;letter-spacing:-.05em;text-decoration:none;color:#F4F1EA}
  .kz-fermer{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:40px;line-height:1;text-decoration:none;color:#F4F1EA}
  .kz-panneau-nav{display:flex;flex-direction:column;margin-bottom:32px}
  .kz-panneau-nav a{display:flex;align-items:center;min-height:56px;font-weight:800;font-size:32px;letter-spacing:-.03em;text-decoration:none;color:#F4F1EA}
  .kz-panneau-nav a[aria-current=page]{text-decoration:underline;text-decoration-color:#FFC531;text-decoration-thickness:4px;text-underline-offset:8px}
  .kz-panneau-rdv{display:flex;align-items:center;justify-content:center;min-height:56px;border-radius:999px;background:#FFC531;color:#0A1238;font-weight:700;font-size:18px;text-decoration:none;margin-bottom:12px}
  .kz-panneau-tel{display:flex;align-items:center;justify-content:center;min-height:48px;color:#F4F1EA;font-weight:700;font-size:18px}
  .kz-panneau a:hover{color:inherit}
  html.kz-bloque,html.kz-bloque body{overflow:hidden}
}
@keyframes kz-fondu{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.kz-panneau{animation:none!important}}
/* Étape 2 : accueil, premier écran. Les formes passent sous le texte, en petit (composition de 220 px) ; rien ne chevauche le texte. */
@media (max-width:900px){
  section.kz-hero{display:flex;flex-direction:column;padding:32px 20px 56px!important}
  .kz-hero h1{font-size:clamp(40px,11.5vw,52px)!important;line-height:.95!important}
  .kz-hero h1>span:first-child{font-size:18px!important;margin-bottom:14px!important}
  .kz-hero>div:not(.kz-formes){margin-top:28px!important;gap:24px!important}
  .kz-hero p{font-size:18px!important}
  .kz-hero-btns{flex-direction:column;width:100%}
  .kz-hero-btns a{display:block;text-align:center}
  .kz-formes{order:3;position:relative;height:220px;margin-top:40px;width:100%;max-width:400px}
  .kz-formes .kz-bob{right:auto!important;left:6%!important;top:16px!important;width:140px!important;height:180px!important;border-radius:70px 70px 16px 16px!important}
  .kz-formes .kz-bob2{right:auto!important;left:38%!important;top:96px!important;width:80px!important;height:100px!important;border-radius:40px 40px 10px 10px!important}
  .kz-formes .kz-spin{right:4%!important;top:28px!important;width:150px!important;height:150px!important}
}
/* >>> espaces mobiles (généré par site/espaces_mobile.py) */
@media (max-width:600px){
  [style*="gap: 24px 48px;"],[style$="gap: 24px 48px"]{gap:24px 24px!important}
  [style*="gap: 40px;"],[style$="gap: 40px"]{gap:20px!important}
  [style*="gap: 44px;"],[style$="gap: 44px"]{gap:22px!important}
  [style*="gap: 48px;"],[style$="gap: 48px"]{gap:24px!important}
  [style*="gap: 56px;"],[style$="gap: 56px"]{gap:28px!important}
  [style*="margin: 0 -60px 120px;"],[style$="margin: 0 -60px 120px"]{margin:0 -60px 60px -60px!important}
  [style*="padding: 0 40px 110px;"],[style$="padding: 0 40px 110px"]{padding:0 20px 55px 20px!important}
  [style*="padding: 0 40px 120px;"],[style$="padding: 0 40px 120px"]{padding:0 20px 60px 20px!important}
  [style*="padding: 0 40px 130px;"],[style$="padding: 0 40px 130px"]{padding:0 20px 64px 20px!important}
  [style*="padding: 100px 40px;"],[style$="padding: 100px 40px"]{padding:50px 20px 50px 20px!important}
  [style*="padding: 110px 40px;"],[style$="padding: 110px 40px"]{padding:55px 20px 55px 20px!important}
  [style*="padding: 130px 40px 100px;"],[style$="padding: 130px 40px 100px"]{padding:64px 20px 50px 20px!important}
  [style*="padding: 130px 40px 150px;"],[style$="padding: 130px 40px 150px"]{padding:64px 20px 64px 20px!important}
  [style*="padding: 140px 40px 110px;"],[style$="padding: 140px 40px 110px"]{padding:64px 20px 55px 20px!important}
  [style*="padding: 150px 40px 110px;"],[style$="padding: 150px 40px 110px"]{padding:64px 20px 55px 20px!important}
  [style*="padding: 20px 40px 130px;"],[style$="padding: 20px 40px 130px"]{padding:20px 20px 64px 20px!important}
  [style*="padding: 30px;"],[style$="padding: 30px"]{padding:24px!important}
  [style*="padding: 32px;"],[style$="padding: 32px"]{padding:24px!important}
  [style*="padding: 34px;"],[style$="padding: 34px"]{padding:24px!important}
  [style*="padding: 36px;"],[style$="padding: 36px"]{padding:24px!important}
  [style*="padding: 36px 36px 28px;"],[style$="padding: 36px 36px 28px"]{padding:36px 20px 28px 20px!important}
  [style*="padding: 36px 40px 60px;"],[style$="padding: 36px 40px 60px"]{padding:36px 20px 60px 20px!important}
  [style*="padding: 40px;"],[style$="padding: 40px"]{padding:24px!important}
  [style*="padding: 40px 40px 100px;"],[style$="padding: 40px 40px 100px"]{padding:40px 20px 50px 20px!important}
  [style*="padding: 40px 40px 120px;"],[style$="padding: 40px 40px 120px"]{padding:40px 20px 60px 20px!important}
  [style*="padding: 40px 40px 40px;"],[style$="padding: 40px 40px 40px"]{padding:40px 20px 40px 20px!important}
  [style*="padding: 56px 40px 40px;"],[style$="padding: 56px 40px 40px"]{padding:56px 20px 40px 20px!important}
  [style*="padding: 60px 40px 110px;"],[style$="padding: 60px 40px 110px"]{padding:60px 20px 55px 20px!important}
  [style*="padding-bottom: 100px;"],[style$="padding-bottom: 100px"]{padding-bottom:50px!important}
  [style*="padding-bottom: 110px;"],[style$="padding-bottom: 110px"]{padding-bottom:55px!important}
  [style*="padding-bottom: 80px;"],[style$="padding-bottom: 80px"]{padding-bottom:48px!important}
  [style*="padding-bottom: 90px;"],[style$="padding-bottom: 90px"]{padding-bottom:48px!important}
  [style*="padding-bottom: 96px;"],[style$="padding-bottom: 96px"]{padding-bottom:48px!important}
  [style*="padding-left: 40px;"],[style$="padding-left: 40px"]{padding-left:20px!important}
  [style*="padding-right: 40px;"],[style$="padding-right: 40px"]{padding-right:20px!important}
  [style*="padding-top: 110px;"],[style$="padding-top: 110px"]{padding-top:55px!important}
  [style*="padding-top: 72px;"],[style$="padding-top: 72px"]{padding-top:48px!important}
  [style*="padding-top: 80px;"],[style$="padding-top: 80px"]{padding-top:48px!important}
  [style*="padding-top: 90px;"],[style$="padding-top: 90px"]{padding-top:48px!important}
  [style*="padding-top: 96px;"],[style$="padding-top: 96px"]{padding-top:48px!important}
}
/* <<< espaces mobiles */
/* Étape 3 : cartes en arche (« Trois situations » de l'accueil, « Les autres leviers » des expertises) : haut arrondi de 120 px,
   marge haute de 48 px, sans hauteur minimale (le haut arrondi laissait 110 px de vide au-dessus du texte). Titres ramenés. */
@media (max-width:600px){
  [style*="border-radius: 220px 220px 40px 40px"],[style*="border-radius: 180px 180px 32px 32px"]{border-top-left-radius:120px!important;border-top-right-radius:120px!important;padding-top:48px!important;padding-left:24px!important;padding-right:24px!important;min-height:0!important}
  h1[style*="font-size: clamp(56px"]{font-size:44px!important}
  h2[style*="font-size: clamp(40px"],h2[style*="font-size: clamp(44px"],h2[style*="font-size: clamp(60px"]{font-size:36px!important}
}
/* Étape 3 : cartes d'offre plus compactes au téléphone (même contenu) */
@media (max-width:600px){
  article[style*="padding: 34px"]{padding:22px 20px!important;gap:7px!important}
  article p[style*="font-size: 54px"]{font-size:44px!important}
  ul[style*="gap: 9px"]{gap:6px!important}
}
@media (max-width:600px){[style*="min-height: 260px"],[style*="min-height: 240px"],[style*="min-height: 280px"],[style*="min-height: 320px"],[style*="min-height: 340px"]{min-height:0!important}}
@media (max-width:600px){
  .kz-row[style*="padding: 34px 12px"]{padding:22px 4px!important;gap:10px!important}
  h3[style*="font-size: 40px"]{font-size:32px!important}
}
@media (max-width:600px){
  article[style*="padding: 34px"] a[style*="padding: 16px 26px"]{padding:13px 22px!important}
  article[style*="padding: 34px"] h3{font-size:24px!important}
  article p[style*="font-size: 54px"]{font-size:40px!important}
}
/* Étape 4 : contenus qui débordent */
.kz-cmp-cartes{display:none}
.kz-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:600px){
  /* comparatif des offres : une carte par offre, avec ses ✓ (le tableau reste au-dessus de 600 px) */
  .kz-cmp-table{display:none}
  .kz-cmp-cartes{display:flex;flex-direction:column;gap:14px;margin:0;padding:0;list-style:none}
  .kz-cmp-cartes>li{background:#FFFFFF;border-radius:24px;padding:22px}
  .kz-cmp-cartes>li.kz-cmp-courante{background:#2D3CFF;color:#F4F1EA}
  .kz-cmp-nom{margin:0;font-weight:800;font-size:22px;letter-spacing:-.02em}
  .kz-cmp-nom a{display:inline-flex;align-items:center;min-height:44px}
  .kz-cmp-nom span{font-weight:500;font-size:15px}
  .kz-cmp-prix{margin:4px 0 12px;font-weight:700;font-size:17px}
  .kz-cmp-cartes ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:1.4}
  .kz-cmp-cartes ul li{display:flex;gap:10px}
  .kz-cmp-cartes .kz-cmp-non{opacity:.6}
  /* tableaux des guides et de /reglementation/ : une carte par ligne, chaque valeur précédée de son intitulé */
  table.kz-cartes{min-width:0!important}
  table.kz-cartes thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  table.kz-cartes tr{display:block;padding:14px 18px}
  table.kz-cartes th[scope=row]{display:block;padding:0 0 6px!important}
  table.kz-cartes td{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding:4px 0!important;text-align:right!important}
  table.kz-cartes td::before{content:attr(data-label);color:#3A4168;font-weight:500;text-align:left}
}
@media (max-width:600px){
  /* tuiles de chiffres de l'accueil : 2 colonnes égales, chiffres à 44 px, libellés qui passent à la ligne */
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]{gap:12px!important}
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]>div{padding:20px 16px!important;min-width:0}
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]>div>div[style*="font-size: 64px"]{font-size:44px!important}
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]>div>p{font-size:15px;hyphens:auto;overflow-wrap:anywhere}
}
@media (max-width:600px){
  /* cartes « 01 … 06 » des expertises : titre à 28 px, coupure en dernier recours */
  span[style*="font-weight: 800; font-size: 38px"]{font-size:28px!important;overflow-wrap:anywhere}
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]>div>p{font-size:14px!important}
}
/* Étape 5 : outils. Saisons des 12 mois en grille de 3 colonnes ; curseurs avec une zone tactile de 44 px. */
@media (max-width:600px){
  .kz-mois{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 8px!important}
  .kz-mois label{font-size:13px!important;gap:4px!important;min-width:0}
  .kz-mois select{font-size:15px!important;padding:0 6px!important;height:44px;width:100%;min-width:0;border-radius:12px!important}
  input[type=range]{height:44px;margin:0}
}
@media (max-width:600px){
  .kz-mois select{font-size:14px!important;padding:0 2px 0 8px!important}
  /* grille « Prix par nuit, mois par mois » : 4 colonnes courtes, resserrées pour tenir dans l'écran */
  table[data-grille]{font-size:14px!important}
  table[data-grille] th,table[data-grille] td{padding-left:8px!important;padding-right:8px!important}
}
/* Étape 6 : pied de page. Colonnes de liens en <details> : ouvertes et non repliables au-dessus de 600 px (même rendu),
   repliées au téléphone (kerioz.js retire « open » ; sans JavaScript elles restent ouvertes). */
.kz-pied>summary{display:block;list-style:none}
.kz-pied>summary::-webkit-details-marker{display:none}
@media (min-width:601px){.kz-pied>summary{pointer-events:none}}
@media (max-width:600px){
  .kz-pied{border-top:1px solid #2A3360}
  .kz-pied>summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;cursor:pointer}
  .kz-pied>summary h2{margin:0!important}
  .kz-pied>summary::after{content:"+";font-weight:700;font-size:24px;color:#FFC531}
  .kz-pied[open]>summary::after{content:"−"}
  .kz-pied>ul{padding-bottom:18px!important}
  footer [style*="gap: 40px; justify-content: space-between"]{gap:0!important}
  footer [style*="gap: 40px; justify-content: space-between"]>div:first-child{margin-bottom:24px}
}
/* Barre d'action en bas d'écran (sous 900 px) : visible après le premier écran, masquée quand le pied de page est visible */
.kz-barre{display:none}
@media (max-width:900px){
  .kz-barre{display:flex;gap:10px;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:40;box-sizing:border-box;min-height:calc(56px + env(safe-area-inset-bottom));padding:6px 12px calc(6px + env(safe-area-inset-bottom));background:#0A1238;transform:translateY(110%);visibility:hidden;transition:transform .25s ease,visibility 0s .25s}
  .kz-barre.kz-visible{transform:none;visibility:visible;transition:transform .25s ease}
  .kz-barre-rdv{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;background:#FFC531;color:#0A1238;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;font-size:16px;text-decoration:none}
  .kz-barre-tel{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;border:2px solid #F4F1EA;color:#F4F1EA;box-sizing:border-box}
  .kz-barre a:hover{color:inherit}
  .kz-barre-tel:hover{color:#F4F1EA}
}
@media (prefers-reduced-motion:reduce){.kz-barre,.kz-barre.kz-visible{transition:none}}
@media (max-width:600px){footer [style*="margin-top: 56px; padding-top: 24px"]{margin-top:24px!important}}
@media (max-width:600px){
  /* /offres/ : sélecteur de problème et cartes d'offre resserrés (même contenu) */
  button[data-choix][style*="padding: 16px 20px"]{padding:11px 16px!important;font-size:16px!important;min-height:44px}
  [style*="grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px"]{gap:14px!important}
  article[style*="padding: 34px"] ul{font-size:15px!important;line-height:1.35!important}
  article[style*="padding: 34px"] p{font-size:15px!important;line-height:1.45!important}
  article[style*="padding: 34px"] p[style*="font-size: 54px"]{font-size:40px!important;line-height:1!important}
}
@media (max-width:600px){section[style*="padding-top: 36px; padding-bottom: 70px"]{padding-bottom:40px!important}}
@media (max-width:600px){.kz-q>summary[style*="padding: 24px 0"]{padding-top:18px!important;padding-bottom:18px!important}}
