.subhero h1 { color: #c9b52f; }


/* Ajustements AuDaS : identité par rubrique, sans modifier les couleurs des pavés ordinaires */
.main-nav li:nth-child(6) a{border-top-color:var(--gray)!important}
.main-nav li:nth-child(6) a:hover,.main-nav li:nth-child(6).active a{background:var(--gray)!important;border-color:var(--gray)!important;color:#fff!important}
.kicker:before{background:var(--page-accent)!important}
.subhero h1{color:var(--page-accent)!important}
.footer .foot-dots{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.footer .foot-dots a{display:inline-block;width:14px;height:14px;border-radius:50%;transition:transform .2s,box-shadow .2s;outline-offset:4px}
.footer .foot-dots a:hover,.footer .foot-dots a:focus-visible{transform:scale(1.35);box-shadow:0 0 0 4px rgba(255,255,255,.18)}
.footer .foot-dots a:nth-child(1){background:var(--mint)}
.footer .foot-dots a:nth-child(2){background:var(--blue)}
.footer .foot-dots a:nth-child(3){background:var(--orange)}
.footer .foot-dots a:nth-child(4){background:var(--gold)}
.footer .foot-dots a:nth-child(5){background:var(--rose)}
.footer .foot-dots a:nth-child(6){background:var(--gray)}
.brand-small{font-size:.77em;vertical-align:baseline;letter-spacing:-.02em}
.telephone{white-space:nowrap;font-variant-numeric:tabular-nums}

:root{--page-accent:#c9b52f;}

/* Bandeau de la rubrique */
.subhero{background:linear-gradient(115deg,#fff 0%,color-mix(in srgb,var(--page-accent) 14%,#fff) 100%)!important}
.subhero::before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--page-accent)}

/* La page Animateurs est accessible après saisie du mot de passe. */
body.auth-pending .subhero,body.auth-pending .subpage-main{display:none!important}
body.auth-pending .footer{display:none!important}
.auth-gate{max-width:510px;margin:55px auto 95px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:32px}
.auth-gate h1{font-family:Brandish,'Trebuchet MS',sans-serif;font-size:32px;margin:0 0 10px;color:var(--ink)}
.auth-gate label{display:block;font-weight:800;margin:18px 0 7px}
.auth-gate input{padding:13px;border:1px solid #c6d7df;border-radius:10px;width:100%;font:inherit}
.auth-gate button{display:inline-block;margin-top:17px;background:var(--gold);border:0;padding:12px 22px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer;color:#27383c}
.auth-gate p{color:var(--sub)}
.auth-gate .error{color:#a32132;min-height:1.5em}
.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:26px}
.resource-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column}
.resource-card .resource-top{height:6px;background:var(--gold)}
.resource-card:nth-child(2) .resource-top{background:var(--blue)}
.resource-card .resource-body{padding:24px;display:flex;flex-direction:column;flex:1;gap:12px}
.resource-card h2{font:800 23px/1.25 Brandish,'Trebuchet MS',sans-serif;margin:0}
.resource-card p{margin:0 0 4px;flex:1}
.resource-link{display:inline-block;text-align:center;padding:12px 17px;border-radius:12px;background:var(--gold);color:#1b2831;font-weight:800;text-decoration:none}
.resource-card:nth-child(2) .resource-link{background:var(--blue);color:#fff}
.resource-link:hover{filter:brightness(.94);color:inherit}
@media(max-width:700px){.resource-grid{grid-template-columns:1fr}.auth-gate{margin:28px 18px;padding:24px}}

/* Corrections finales V9 */
.kicker{color:var(--page-accent)!important}

/* V12 — Alignement des titres et confort mobile sur toutes les pages */
.subhero-inner > div:first-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0}
.subhero-inner .kicker{margin:0 0 13px!important;line-height:1.3}
.subhero-inner h1{margin:0 0 19px!important;line-height:1.12}
.subhero-inner p{margin-top:0!important;line-height:1.7}
/* Keep all page locations, titles and subtitles aligned consistently. */
.subhero-inner{align-items:start!important}
.subhero-mark{align-self:center}
.hero .hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-top:0}
.hero .hero-copy .kicker{margin:0 0 13px!important;line-height:1.3}
.hero .hero-copy h1{margin:0 0 20px!important}
.hero .hero-copy p{margin:0 0 25px!important;line-height:1.7}
/* Consistent letter heights for AuDAS custom lettering even in nested headings. */
.section-heading .brand-small,.card h2 .brand-small,.btn .brand-small{font-size:.77em;vertical-align:baseline;letter-spacing:-.02em}
@media(max-width:780px){
  .hero-inner,.subhero-inner{padding-left:16px!important;padding-right:16px!important}
  .hero-copy,.subhero-inner > div:first-child{padding-left:6px!important;padding-right:6px!important}
  .hero .hero-copy h1,.subhero-inner h1{overflow-wrap:break-word;word-break:normal}
  .hero .hero-copy p,.subhero-inner p{max-width:100%;overflow-wrap:break-word}
  .section-heading{overflow-wrap:break-word}
}
@media(max-width:390px){
  .hero-inner,.subhero-inner{padding-left:18px!important;padding-right:18px!important}
  .hero .hero-copy h1{font-size:clamp(32px,9vw,40px)}
  .subhero-inner h1{font-size:clamp(32px,9vw,43px)}
}

/* V13 : placement identique en haut des bandeaux de toutes les rubriques. */
.hero-inner,.subhero-inner{padding-top:42px!important;align-items:start!important}
.hero .hero-copy,.subhero-inner > div:first-child{padding-top:0!important;margin-top:0!important}
.hero .kicker,.subhero .kicker{margin-top:0!important;line-height:1.3!important}
@media(max-width:780px){.hero-inner,.subhero-inner{padding-top:30px!important}}

/* V14 — Respiration horizontale du bandeau à toutes les tailles d'écran. */
.hero-inner,.subhero-inner{min-width:0;box-sizing:border-box}
.hero-copy,.subhero-inner > div:first-child{min-width:0;max-width:100%}
@media(max-width:1120px){
  .hero-inner,.subhero-inner{padding-left:32px!important;padding-right:32px!important}
}
@media(max-width:780px){
  .hero-inner,.subhero-inner{padding-left:34px!important;padding-right:34px!important}
  .hero .hero-copy,.subhero-inner > div:first-child{padding-left:0!important;padding-right:0!important}
}
@media(max-width:390px){
  .hero-inner,.subhero-inner{padding-left:27px!important;padding-right:27px!important}
}

/* V15 — Responsive : empêche les débordements horizontaux, notamment sur tablette. */
html,body{width:100%;min-width:0;max-width:100%;overflow-x:clip}
body{min-height:100dvh;display:flex;flex-direction:column}
.site-header,.hero,.subhero,main,.footer,.planning-shell{max-width:100%;min-width:0}
.footer{margin-top:auto}
.hero-inner,.subhero-inner,.main-grid,.planning,.feature-row{min-width:0}
.hero-inner>*,.subhero-inner>*,.main-grid>*,.planning>*{min-width:0}
.hero-copy,.subhero-inner>div:first-child{overflow-wrap:break-word}
@media(min-width:781px) and (max-width:1190px){
  .hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}
  .subhero-inner{grid-template-columns:minmax(0,1fr) minmax(0,170px)}
  .main-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
  .planning-links{min-width:0}
  .identity{flex-basis:100%}
}
@media(max-width:780px){
  .hero-inner,.subhero-inner{grid-template-columns:minmax(0,1fr)!important;padding-left:clamp(24px,6vw,42px)!important;padding-right:clamp(24px,6vw,42px)!important}
  .subhero-mark{max-width:180px;width:40%;justify-self:center}
  .hero-copy,.subhero-inner>div:first-child{padding-inline:0!important}
  .main-grid,.feature-row{grid-template-columns:minmax(0,1fr)!important}
  .planning-links{width:100%}
  .planning-link{white-space:normal}
  .identity img{max-width:100%}
}
/* Une police de remplacement explicite évite les changements de largeur inattendus. */
/* Brandish is declared only in css/audas.css */


.password-visibility{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5;margin:10px 0 20px;cursor:pointer;user-select:none}
.password-visibility input{width:18px;height:18px;accent-color:var(--blue);flex:none}
