/* Accueil : proportions et traitement visuel de la recette 01. */
body:has(.agenda-home) .brand-header>.container{min-height:100px}
body:has(.agenda-home) .brand-header .logo img{width:150px;height:auto}
body:has(.agenda-home) .desktop-nav{max-width:1310px;width:calc(100% - 64px);min-height:68px;margin:0 auto 28px;justify-content:flex-start;padding:0 12px}
body:has(.agenda-home) .desktop-nav li a{font-size:14px;padding:18px 12px}
body:has(.agenda-home) .desktop-nav details{margin-left:auto}
body:has(.agenda-home) .hero .agenda-shell-title{font-size:clamp(32px,3.2vw,43px);line-height:1.12;max-width:850px}
body:has(.agenda-home) .hero-content{padding-top:38px;padding-bottom:68px}
body:has(.agenda-home) .hero-content>p{max-width:800px}
body:has(.agenda-home) .hero .search-panel{width:100%}
body:has(.agenda-home) .hero .filters{grid-template-columns:1.15fr 1.25fr 1.2fr 1fr 1.1fr .85fr}
body:has(.agenda-home) .hero .search-line{margin-bottom:20px}
.agenda-home>.agenda-layout .race-card{border-radius:7px;box-shadow:0 3px 10px #243c3008;border-color:#dce8df}
.agenda-home>.agenda-layout .race-card.no-photo .card-body{border-top:4px solid #c8decf}
.agenda-home .race-grid .card-meta{border:0;padding:0;margin:0 0 12px;gap:7px}
.agenda-home .race-grid .card-copy .card-date{font-weight:700;color:#4d6855}
.agenda-home .race-grid .card-copy h3{font-size:18px;color:#14272d;margin:0 0 8px}
.agenda-home .race-grid .card-copy .card-location{margin-bottom:11px}
.agenda-home .card-distances{display:flex;flex-wrap:wrap;gap:0;margin-bottom:11px}
.agenda-home .card-distances>span{padding:0;border:0;background:none;border-radius:0;color:#294d36;font-size:13px;font-weight:700}
.agenda-home .card-distances>span:not(:last-child)::after{content:'·';padding:0 5px}
.agenda-home .card-distances small{font-size:inherit;color:inherit;font-weight:inherit}
.agenda-home .race-grid .card-cta{display:block;border:0;padding:0;margin-top:16px;font-weight:700;color:#087448}
.agenda-home .race-grid .card-cta span{margin-left:3px}
.agenda-home .agenda-sidebar{padding-top:0}
.agenda-home .stay-card{background:#102b35;padding:20px;color:white}
.agenda-home .equipment{padding:20px 14px;background:#edf8f0}
body:has(.agenda-home) .brand-footer{max-width:1310px;width:calc(100% - 64px);margin:48px auto 0}
@media(max-width:1100px){body:has(.agenda-home) .hero .filters{grid-template-columns:repeat(3,minmax(0,1fr))}body:has(.agenda-home) .desktop-nav li a{font-size:11px;padding:16px 7px}}
@media(max-width:800px){body:has(.agenda-home) .brand-header>.container{min-height:60px}body:has(.agenda-home) .brand-header .logo img{width:124px}body:has(.agenda-home) .hero .agenda-shell-title{font-size:30px}body:has(.agenda-home) .hero-content{padding-top:26px;padding-bottom:52px}body:has(.agenda-home) .hero .filters{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.agenda-home) .brand-footer{width:100%;margin-top:25px}}
/* Sur téléphone, chaque valeur de filtre doit rester lisible. */
@media(max-width:540px){body:has(.agenda-home) .hero .filters{grid-template-columns:1fr}}
/* Photo du coureur issue de la maquette de référence ; cadrage sans son texte. */
.hero-home{background-image:url("/agenda/assets/maquette-accueil-hero.jpg");background-size:auto 145%;background-position:66% bottom}
.hero-home .hero-shade{background:linear-gradient(90deg,#102b35cd 0%,#102b357c 48%,#102b3512 100%)}
@media(max-width:540px){.hero-home .hero-shade{background:linear-gradient(90deg,#102b35df,#102b357a)}}
@media(max-width:540px){.hero-home{background-size:auto 400px;background-position:72% top;background-repeat:no-repeat;background-color:#123e41}}
