/* Ker Coast — correctifs groupés issus de la recette V2 du 6 septembre 2026 */
.kc-nowrap{white-space:nowrap}

/* Accueil : tarifs lisibles en mode sombre. */
:root[data-theme="dark"] .pricing-card .price-row strong{
  color:#8ae0c6!important;
}

/* Navigation mobile : le JS conserve la classe historique sur body et synchronise
   désormais aussi la classe .open attendue par la feuille principale. */
@media(max-width:720px){
  body.nav-open .desktop-nav,
  .desktop-nav.open{
    display:flex!important;
  }
  body.nav-open .menu-toggle,
  .menu-toggle[aria-expanded="true"]{
    background:rgba(255,255,255,.10);
    border-color:rgba(255,255,255,.42);
  }
}

/* Aperçus : réserver la place de la flèche des cartes "journée type". */
.ap-day-tab.active h3{
  padding-right:46px;
}

/* Aperçus : la carte de la journée type est désormais un accès direct à son détail. */
.ap-day-tab.active[role="link"]{
  cursor:pointer;
}
.ap-day-tab.active[role="link"]:focus-visible{
  outline:3px solid #0a8b72;
  outline-offset:4px;
}
.ap-day-detail#journee-type{
  scroll-margin-top:90px;
}

/* Aperçus : libellé tarifaire du CTA final lisible en mode sombre. */
:root[data-theme="dark"] .ap-cta .eyebrow{
  color:#8ae0c6!important;
}

/* Concept : surtitre du hero plus lisible en mode sombre. */
:root[data-theme="dark"] .concept-hero .eyebrow{
  color:#afc1ba!important;
}

/* Pages légales : accents et liens suffisamment contrastés en mode sombre. */
:root[data-theme="dark"] .legal-card strong,
:root[data-theme="dark"] .legal-card a,
:root[data-theme="dark"] .legal-chip a,
:root[data-theme="dark"] .cgv-card strong,
:root[data-theme="dark"] .cgv-offer span,
:root[data-theme="dark"] .privacy-card strong,
:root[data-theme="dark"] .privacy-duration b,
:root[data-theme="dark"] .med-card strong,
:root[data-theme="dark"] .med-box b{
  color:#9de6d1!important;
}

/* Formulaire : après succès, masquer réellement le formulaire malgré display:block!important. */
#contact .kc-form[style*="display: none"]{
  display:none!important;
}

/* Grands titres légaux : éviter toute coupe sur petit écran. */
@media(max-width:650px){
  .legal-hero h1,
  .cgv-hero h1,
  .cgvp-hero h1,
  .ret-hero h1,
  .privacy-hero h1,
  .med-hero h1{
    font-size:clamp(2.55rem,11vw,3.4rem)!important;
    line-height:1.02!important;
    overflow-wrap:anywhere;
    hyphens:auto;
  }
}


/* Ker Coast Partenaire : contraste du lien secondaire dans le bloc accueil en mode sombre. */
:root[data-theme="dark"] .partner-link{
  color:#9de6d1!important;
}


/* Public header: keep the action on one line without changing the mobile menu. */
@media(min-width:721px){
  .site-header{gap:18px}
  .site-header .brand,.site-header .header-actions{flex-shrink:0}
  .site-header .desktop-nav{min-width:0;gap:clamp(12px,1.5vw,24px)}
  .site-header .desktop-nav .nav-cta{white-space:nowrap;flex-shrink:0;line-height:1.2}
}
:root[data-theme="dark"] .privacy-version{background:#153028;border-color:#396556;color:#b5eadb}
:root[data-theme="dark"] .privacy-card a{color:#a8ead7}
:root[data-theme="dark"] .privacy-warning{color:#bed2ca}
