
/* 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:#4bd48d;}

.card.contacts ul,.card.calendar ul{margin:0;padding-left:1.25rem;display:grid;gap:12px}
.card.contacts li,.card.calendar li{padding-left:.3rem;line-height:1.65}
.card.contacts li::marker{color:var(--blue)}
.card.calendar li::marker{color:var(--gold)}
.card.contacts .contact-hours{font-size:.93rem;margin:.35rem 0 0;color:var(--sub)}

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

.hero .kicker{color:var(--mint)!important}

/* V10 : trait latéral vert sur le bandeau de l’accueil */
.hero{position:relative}
.hero::after{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--mint);pointer-events:none}

/* 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}}

/* V13 : planning 6e/5e vert, planning 4e/3e bleu. */
.planning-links .planning-link:nth-child(1){border-top-color:var(--mint)!important}
.planning-links .planning-link:nth-child(2){border-top-color:var(--blue)!important}
.planning-links .planning-link:nth-child(1):hover,.planning-links .planning-link:nth-child(1):focus-visible{background:var(--mint)!important;border-color:var(--mint)!important;color:#fff!important}
.planning-links .planning-link:nth-child(2):hover,.planning-links .planning-link:nth-child(2):focus-visible{background:var(--blue)!important;border-color:var(--blue)!important;color:#fff!important}

/* V13 : titre d'accueil sans interlettrage et accent vert. */
.section-heading{letter-spacing:normal!important}
.section-heading:before{background:var(--mint)!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 */

