/* design-8.5.css — couche visuelle v8.5 (05/10/2026) : en-têtes photo, bandeau final photo.
   Chargée après style-6.1.css sur toutes les pages. Ne modifie aucun texte. */
.page-hero.ph-split{display:grid;grid-template-columns:1fr;padding:0;align-items:stretch}
.page-hero.ph-split>.wrap{padding:40px 24px 52px;width:100%}
.ph-img{margin:0;position:relative;aspect-ratio:16/10;overflow:hidden;order:-1;background:#0f2f21}
.ph-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);display:block}
.ph-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(20,63,44,.35));pointer-events:none}
.page-hero.ph-split h1{font-size:clamp(2.1rem,4vw,3.4rem);line-height:1.08;max-width:18ch}
.page-hero.ph-split .meta{font-size:1.02rem;line-height:1.6;max-width:52ch;color:#d9e6dd}
@media(min-width:900px){
  .page-hero.ph-split{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);min-height:480px}
  .page-hero.ph-split>.wrap{max-width:none;margin:0;padding:72px 56px 76px max(24px,calc((100vw - var(--maxw))/2 + 24px));display:flex;flex-direction:column;justify-content:center}
  .ph-img{order:2;aspect-ratio:auto}
  .ph-img::after{background:linear-gradient(90deg,rgba(20,63,44,.28),transparent 35%)}
}
/* bandeau final : photo sous un voile vert */
section.contact{position:relative;background:linear-gradient(rgba(20,63,44,.9),rgba(14,46,31,.94)),url("photos/groupe-joie-parcours.webp") center 40%/cover no-repeat}
/* accueil : voile renforcé pour la lisibilité du texte sur la photo aérienne */
section.hero.hero-centered{background:linear-gradient(180deg,rgba(14,46,31,.62) 0%,rgba(14,46,31,.48) 45%,rgba(14,46,31,.78) 100%),url("hero-golf.webp") center 30%/cover no-repeat}

/* cartes « par type de joueur » (accueil + page rubrique) */
.tj-cards{display:grid;grid-template-columns:1fr;gap:22px}
@media(min-width:720px){.tj-cards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.tj-cards{grid-template-columns:repeat(6,1fr)}.tj-cards a:nth-child(-n+2){grid-column:span 3}.tj-cards a:nth-child(n+3){grid-column:span 2}}
.tj-cards a{display:flex;flex-direction:column;background:#fff;border-radius:18px;overflow:hidden;border:1px solid rgba(20,63,44,.12);color:var(--ink)}
.tj-cards a:hover{border-color:var(--gold)}
.tj-cards .im{aspect-ratio:16/10;overflow:hidden;background:#143f2c}
.tj-cards .im img{width:100%;height:100%;object-fit:cover;display:block}
.tj-cards .tx{padding:22px 24px 26px;display:flex;flex-direction:column;gap:6px;flex:1}
.tj-cards h3{font-size:1.65rem;color:var(--green-dark);margin:0;line-height:1.1}
.tj-cards .sub{color:var(--gold-dark);font-weight:600;font-size:.95rem}
.tj-cards p{margin:4px 0 0;font-size:.98rem;color:var(--ink)}
.tj-cards .go{margin-top:auto;padding-top:12px;color:var(--green);font-weight:700}

.nrg-grid.nrg-duo{grid-template-columns:1fr 1fr}
@media(max-width:820px){.nrg-grid.nrg-duo{grid-template-columns:1fr}}
.tj-home{background:var(--cream);padding:80px 0}
.tj-home .sec-head h2{color:var(--green-dark)}
.tj-cards .tx{padding:22px 24px 26px}
.nrg-tools .sec-head h2{color:#fff}
.tj-home .sec-head .eyebrow,.nrg-tools .sec-head .eyebrow{display:block}
