/* ValGolf Studio — pages annexes de /clubs : « Conseils pour les golfs » (articles) et « Testez votre site ».
   S'ajoute à clubs.css (mêmes couleurs, mêmes polices). */

/* ---- Haut des pages annexes (sombre, sobre) ---- */
.page-tete { position: relative; padding: calc(var(--entete) + clamp(48px, 9vw, 110px)) 0 clamp(48px, 7vw, 90px); background: radial-gradient(70% 90% at 80% 0%, var(--nuit-3), var(--nuit) 70%); overflow: hidden; isolation: isolate; }
.page-tete .cadre { max-width: 900px; }
.page-tete-large .cadre { max-width: 1320px; }
.page-tete-large .page-titre { max-width: 14em; }
article .page-titre { font-size: clamp(32px, 5vw, 56px); }
.fil { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--doux-nuit); }
.fil li + li::before { content: "›"; margin-right: 6px; opacity: 0.6; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--creme); }
.page-titre { font: 700 clamp(34px, 5.6vw, 64px)/1.08 var(--titre); letter-spacing: -0.025em; margin: 0 0 20px; text-wrap: balance; }
.page-titre em { font-style: normal; color: var(--or-clair); }
.page-chapeau, .page-consigne { font-size: clamp(18px, 1.8vw, 21px); color: var(--doux-nuit); max-width: 40em; margin: 0; }
.page-maj { font-size: var(--t-detail); color: var(--doux-nuit); margin: 0; }
.auteur-ligne { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--doux-nuit); }
.auteur-ligne img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--nuit), 0 0 0 3.5px var(--or); }
.auteur-ligne strong { color: var(--creme); font: 700 14px/1.3 var(--titre); display: block; }

/* ---- Corps d'article (clair, très lisible) ---- */
.article { background: var(--papier); color: var(--encre); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.article .cadre { max-width: 900px; }
.prose > * { max-width: 720px; }
.prose { font-size: 18px; line-height: 1.7; color: #25352b; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 + p { margin-top: 0.55em; }
.prose h2 { font: 700 clamp(24px, 2.8vw, 32px)/1.2 var(--titre); letter-spacing: -0.015em; color: var(--encre); margin-top: 1.9em; }
.prose h3 { font: 700 20px/1.3 var(--titre); color: var(--encre); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: 0.45em; }
.prose strong { color: var(--encre); }
.prose p a, .prose li a, .encadre a { color: #1d5b3a; font-weight: 600; }
.prose .numero { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--nuit-3); color: var(--or); font: 700 15px/1 var(--titre); vertical-align: 3px; }
.encadre { margin-top: 1.6em; padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: inset 4px 0 0 var(--or), 0 0 0 1px var(--filet); font-size: 17px; }
.encadre strong { display: block; font: 700 16px/1.3 var(--titre); margin-bottom: 4px; }

/* ---- Fin d'article : l'auteur, puis l'appel à l'action ---- */
.auteur { display: flex; gap: 18px; align-items: center; margin-top: 56px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--filet); }
.auteur img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--or); }
.auteur p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--doux); }
.auteur strong { display: block; color: var(--encre); font: 700 17px/1.3 var(--titre); margin-bottom: 2px; }
.appel { margin-top: 26px; padding: clamp(26px, 4vw, 40px); border-radius: 26px; background: linear-gradient(160deg, var(--nuit-3), var(--nuit)); color: var(--creme); }
.appel h2 { font: 700 clamp(24px, 3vw, 34px)/1.15 var(--titre); letter-spacing: -0.02em; margin: 0 0 10px; color: var(--creme); }
.appel h2 em { font-style: normal; color: var(--or-clair); }
.appel p { margin: 0 0 22px; color: var(--doux-nuit); }
.appel .boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Liste des conseils (les cartes elles-mêmes sont dans clubs.css) ---- */
.liste-conseils { background: var(--papier); color: var(--encre); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.appel-test { margin-top: clamp(32px, 5vw, 56px); }
.intro-article, .premier-paragraphe { font-size: 20px; line-height: 1.6; color: #22382b; }
.lire-aussi { margin-top: 56px !important; }
.lire-aussi .sur-titre { color: var(--or-fonce); margin-bottom: 16px; }
.lire-aussi .carte-conseil h3 { margin: 0; font: 700 19px/1.3 var(--titre); }
.plan-page { margin: 8px 0 0; }
.nav a[aria-current="page"] { color: var(--creme); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Page « Testez votre site » ---- */
.test-page { background: var(--nuit-2); padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.test-grille { display: grid; gap: 20px; }
@media (min-width: 960px) { .test-grille { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; } }
.test-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.test-liste label { position: relative; display: flex; gap: 16px; align-items: flex-start; min-height: 60px; padding: 18px 20px; border-radius: 18px; background: rgb(243 239 227 / 0.04); box-shadow: inset 0 0 0 1px var(--filet-nuit); cursor: pointer; font-size: 16px; line-height: 1.45; color: var(--doux-nuit); transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease); }
.test-liste label:hover { transform: translateX(4px); }
.test-liste strong { color: var(--creme); font-weight: 600; }
.test-liste input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.test-liste .case { flex: none; position: relative; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgb(243 239 227 / 0.4); transition: background 0.3s, box-shadow 0.3s; }
.test-liste input:checked ~ .case { background: var(--or); box-shadow: none; }
.test-liste input:checked ~ .case::after { content: ""; position: absolute; left: 9px; top: 4px; width: 7px; height: 13px; border-right: 2.5px solid var(--nuit); border-bottom: 2.5px solid var(--nuit); transform: rotate(45deg); }
.test-liste label:has(input:checked) { background: rgb(255 201 60 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 201 60 / 0.45); }
.test-liste label:has(input:focus-visible) { outline: 2px solid var(--or); outline-offset: 3px; }
.test-resultat { border-radius: 26px; padding: 30px 26px; text-align: center; background: linear-gradient(160deg, rgb(255 201 60 / 0.16), rgb(255 201 60 / 0.03)); box-shadow: inset 0 0 0 1px rgb(255 201 60 / 0.35); }
@media (min-width: 960px) { .test-resultat { position: sticky; top: calc(var(--entete) + 28px); } }
.test-score { margin: 0 0 8px; font: 200 84px/1 var(--sans); letter-spacing: -0.04em; color: var(--or-clair); }
.test-score small { font-size: 36px; color: var(--doux-nuit); }
.test-message { margin: 0 0 22px; min-height: 3.2em; color: var(--creme); font-weight: 400; }
.trajet { position: relative; margin: 6px 4px 26px; }
.trajet-piste { position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #c9a55a 0%, #c9a55a 20%, #4f7d4a 20%, #4f7d4a 45%, #2f9e57 45%, #2f9e57 75%, #3ad06f 75%); opacity: 0.85; }
.trajet-balle { position: absolute; top: 50%; left: var(--pos, 4%); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e6e1d4 60%, #b9b29f); box-shadow: 0 3px 8px rgb(0 0 0 / 0.45); transition: left 0.8s var(--ease); }
.trajet-drapeau { position: absolute; right: -2px; bottom: 3px; width: 2px; height: 26px; background: var(--creme); }
.trajet-drapeau::after { content: ""; position: absolute; left: 2px; top: 0; border-left: 14px solid var(--or); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.trajet-noms { display: grid; grid-template-columns: 20fr 25fr 30fr 25fr; text-align: center; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--doux-nuit); }
@media (prefers-reduced-motion: reduce) { .trajet-balle { transition: none; } }
.test-resultat .bouton { width: 100%; }
.test-conseils { margin-top: 18px; font-size: 15px; }
.test-conseils a { color: var(--or-clair); }

/* Les photos rondes ne se tassent jamais (la balise picture est l'élément flexible) */
.auteur picture, .auteur-ligne picture { flex: none; }
