/* Accueil : composition suivant la référence fournie par Infos-Forêt. */
.home-page .masthead .header-inner{display:grid;grid-template-columns:1fr 1fr;padding:0;gap:0;align-items:stretch;min-height:0}
.home-page .masthead .brand{display:block;width:100%;max-width:none;flex:none;aspect-ratio:auto;padding:18px 32px;margin:0!important;align-self:center}
.home-page .masthead .brand img{position:static;display:block;width:100%;height:auto;clip-path:none;filter:none}
.home-page .home-forest-intro{background:linear-gradient(to bottom,transparent 35%,rgba(12,29,18,.38)),url('foret-soleil-accueil.jpg') center bottom/cover no-repeat}.home-page .masthead{background:transparent}.home-page .masthead .brand{background:transparent}
.home-page .hero{background:none}
.home-page .hero-copy{padding-top:28px}
.home-page .hero-inner{padding-bottom:28px}
.home-page .hero h1{margin-bottom:17px;font-size:clamp(27px,3vw,40px)}
.home-page .hero p{margin:0}
.home-page .home-navigation{display:flex;justify-content:center;align-items:center;gap:0;padding:0 30px;background:#fff}
.home-page .home-navigation nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;padding:0;font-size:16px;font-weight:700}
.home-page .home-navigation nav a{padding:15px 0 11px;min-height:48px;display:flex;align-items:center}
.home-page .home-navigation .menu-toggle{display:none}
.home-page .resources{padding-top:14px;padding-bottom:35px}
.home-page .home-section-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-page .resource{min-height:124px}
.home-page .book-copy{padding:18px}
@media(max-width:1050px) and (min-width:761px){.home-page .masthead .header-inner{display:grid;grid-template-columns:1fr 1fr;padding:0;gap:0}.home-page .masthead .brand{width:100%;flex:none;padding:18px 24px}.home-page .hero-copy{padding-top:25px}.home-page .hero-inner{padding-bottom:25px}}
@media(max-width:760px){.home-page .masthead .header-inner{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);padding:0;gap:0}.home-page .masthead .brand{width:100%;max-width:none;flex:none;padding:15px 18px}.home-page .hero-copy{padding-top:23px}.home-page .hero-inner{padding-bottom:23px}.home-page .home-navigation{padding:0 21px}.home-page .home-navigation nav{display:flex;font-size:14px;gap:20px}.home-page .home-navigation nav a{padding:12px 0 9px}.home-page .resources{padding-top:18px}.home-page .resource{min-height:112px}}
@media(max-width:530px){.home-page .masthead .header-inner{grid-template-columns:1fr}.home-page .masthead .brand{width:100%;max-width:420px;justify-self:center;padding:14px 24px}.home-page .home-navigation{flex-wrap:wrap;justify-content:center;padding:8px 21px}.home-page .home-navigation .menu-toggle{display:flex;margin:0;gap:10px}.home-page .home-navigation nav{display:none;width:100%;font-size:15px;gap:7px 20px;padding:8px 0 3px}.home-page .home-navigation nav.open{display:flex}.home-page .hero h1{font-size:26px;letter-spacing:-.7px}.home-page .hero p{font-size:16px}}

/* Ajustement demandé : logo réduit de 15 % et titre du bandeau plus discret. */
.home-page .masthead .brand img{width:85%;margin-inline:auto}
.home-page .hero h1{font-size:clamp(22px,2.4vw,32px);letter-spacing:-.5px}
@media(max-width:530px){.home-page .hero h1{font-size:22px}}

/* Logo blanc détouré : la forêt reste visible derrière le lettrage et la pousse. */
.home-page .masthead .brand img{filter:drop-shadow(0 2px 3px rgba(12,28,16,.45))}

/* Slogan abaissé sur la canopée pour une lecture plus nette. */
.home-page .masthead .brand img{transform:translateY(22px)}
@media(max-width:760px){.home-page .masthead .brand img{transform:translateY(14px)}}

/* Cellulaire : le logo domine, et le slogan repose sur la forêt. */
@media(max-width:530px){
  .home-page .home-forest-intro{background-size:100% 100%,auto 125%;background-position:center,center bottom}
  .home-page .hero-copy{padding-top:36px}
  .home-page .hero h1{font-size:17px;line-height:1.35;font-weight:700;letter-spacing:0;margin-bottom:13px}
  .home-page .hero p{font-size:15px;line-height:1.5}
}
@media(max-width:360px){.home-page .hero h1{font-size:16px}}

/* Version approuvée : logo vert entièrement dans le ciel. */
.home-page .home-forest-intro{background:linear-gradient(to bottom,transparent 48%,rgba(12,29,18,.35)),url('foret-ciel-etendu.webp') center 40%/cover no-repeat}
.home-page .masthead .brand{background:transparent}
.home-page .masthead .brand img{transform:none;filter:none}
@media(max-width:530px){
 .home-page .home-forest-intro{background-size:cover;background-position:center top}
 .home-page .hero-copy{padding-top:60px}
}

/* Coins arrondis de toutes les images de l’accueil, logo et panorama compris. */
.home-page img{border-radius:16px}
.home-page .home-forest-intro{border-radius:16px;overflow:hidden}
.home-page .book-image{border-radius:16px;overflow:hidden}

/* Étiquettes des deux nouveaux outils. */
.home-page .resource--new{position:relative}
.home-page .resource-new{position:relative;isolation:isolate;display:inline-block;flex:none;color:#fff;background:#e73532;font-family:'Arial Narrow',Arial,sans-serif;font-size:14px;font-weight:800;line-height:1.1;letter-spacing:.1px;padding:8px 9px;border-radius:4px;transform:rotate(-6deg);white-space:nowrap;text-shadow:none;box-shadow:3px 4px 0 rgba(50,40,30,.10)}
.home-page .resource-new::after{content:'';position:absolute;z-index:-1;bottom:-4px;left:31%;width:58%;height:8px;background:#e73532;border-radius:1px;transform:rotate(3deg)}
@media(max-width:530px){
 .home-page .resource--new{display:grid;grid-template-columns:37px minmax(0,1fr) 20px;gap:10px 12px}
 .home-page .resource--new .tool-icon{grid-column:1;grid-row:1 / 3;align-self:center}
 .home-page .resource--new>div{grid-column:2;grid-row:1}
 .home-page .resource-new{grid-column:2;grid-row:2;justify-self:start;margin-left:14px;font-size:11px;padding:5px 7px;transform:rotate(-5deg)}
 .home-page .resource--new .chevron{grid-column:3;grid-row:1 / 3;align-self:center;margin-left:0;font-size:28px}
}


/* Logo original et bandeau de l’accueil : coins carrés sur tous les écrans. */
.home-page .masthead .brand,.home-page .masthead .brand img,.home-page .home-forest-intro{border-radius:0}

/* Annonce du dossier du mois, au-dessus de l’espace Jeunesse. */
.home-monthly{margin:0 0 24px;background:#fff;border:1px solid #e7e3db;border-radius:9px;box-shadow:0 4px 16px #21341c12}
.home-monthly>a{display:block;padding:23px;text-decoration:none}
.home-monthly-badge{display:inline-block;max-width:100%;padding:10px 13px;background:#be302c;color:#fff;border-radius:7px;font-size:clamp(14px,1.5vw,18px);font-weight:800;line-height:1.3;text-transform:uppercase;transform:rotate(-3deg);box-shadow:3px 5px 0 #34251e12;margin:0 0 17px}
.home-monthly h3{font-size:25px;line-height:1.2;margin:0 0 9px;letter-spacing:-.4px}
.home-monthly p{font-size:17px;line-height:1.5;margin:0 0 12px;color:#526451}
.home-monthly-link{font-size:15px;color:#98501e;font-weight:bold;line-height:1.5}
.home-monthly a:hover .home-monthly-link{text-decoration:underline;text-underline-offset:4px}
@media(max-width:530px){.home-monthly>a{padding:21px}.home-monthly h3{font-size:24px}.home-monthly-badge{font-size:16px}}

/* Petite illustration à droite du dossier mensuel. */
.home-monthly>a{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:18px;align-items:center}.home-monthly-copy{min-width:0}.home-monthly-visual{margin:0;min-width:0}.home-monthly-visual img{display:block;width:100%;height:145px;object-fit:cover;border-radius:10px}.home-monthly-visual figcaption{font:11px/1.3 Arial,sans-serif;color:#697363;margin-top:5px}.home-monthly-badge{font-size:clamp(12px,1.2vw,16px)}@media(max-width:530px){.home-monthly>a{grid-template-columns:minmax(0,1fr) 88px;gap:12px;padding:18px}.home-monthly-visual img{height:120px}.home-monthly h3{font-size:22px}.home-monthly-badge{font-size:13px;padding:8px 10px}}@media(min-width:531px) and (max-width:1100px){.home-monthly>a{grid-template-columns:minmax(0,1fr) 90px;gap:12px;padding:18px}.home-monthly h3{font-size:22px}}
