/* ==================================================================
   trouverunpsy.fr — styles (repris du mockup V29)
   ================================================================== */

/* ── POLICES (auto-hébergées, aucune requête vers Google) ── */
@font-face {
	font-family: 'Lora';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/lora-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/lora-latin-wght-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'Lora';
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/lora-latin-wght-italic.woff2') format('woff2-variations'), url('../fonts/lora-latin-wght-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/dm-sans-latin-opsz-normal.woff2') format('woff2-variations'), url('../fonts/dm-sans-latin-opsz-normal.woff2') format('woff2');
}
@font-face {
	font-family: 'DM Sans';
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url('../fonts/dm-sans-latin-opsz-italic.woff2') format('woff2-variations'), url('../fonts/dm-sans-latin-opsz-italic.woff2') format('woff2');
}
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/caveat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/caveat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/caveat-latin-600-normal.woff2') format('woff2'); }

/* ── PALETTE ── */
:root {
	--cobalt:  #A0B8F8;
	--menthe:  #90D8A8;
	--abricot: #F0A870;
	--rose:    #F0C0D0;
	--beurre:  #F8D860;
	--violet:  #A8A8F0;
	--marine:  #1C2840;
	--noir:    #111111;
	--gris:    #666666;
	--gris-lt: #AAAAAA;
	--blanc:   #FFFFFF;

	/* Variantes foncées pour le TEXTE (contraste WCAG AA sur fond blanc).
	   Les pastels restent pour les fonds, bordures et décors. */
	--cobalt-titre:  #6285E2;  /* grands textes ≥ 24 px : 3,5:1 */
	--violet-titre:  #7F7FDB;
	--abricot-titre: #CA712B;
	--cobalt-texte:  #4B70D3;  /* petits textes : 4,6:1 */
	--cobalt-bouton: #4466D0;  /* fond des boutons, texte blanc : 5,2:1 */

	--pad-x: 64px;
	--serif:  'Lora', Georgia, serif;
	--bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--script: 'Caveat', cursive;
	--sans:   'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ── BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
body {
	font-family: var(--sans);
	background: var(--blanc);
	color: var(--noir);
	overflow-x: hidden;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cobalt-bouton); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 200;
	background: var(--marine); color: var(--blanc); padding: 10px 18px; border-radius: 8px;
	text-decoration: none; font-size: 0.875rem;
}
.skip-link:focus { top: 12px; }

/* Décalage de la barre d'admin WordPress (visible seulement connectée) */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }

/* ── NAV ── */
.site-nav {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,0.96);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(160,184,248,0.18);
	display: flex; justify-content: space-between; align-items: center;
	padding: 0 var(--pad-x); height: 68px;
}
.logo { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--noir); text-decoration: none; letter-spacing: -0.01em; }
.logo .fr { color: var(--cobalt-texte); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: #555; text-decoration: none; font-size: 0.98rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--noir); }
.nav-links a.nav-cta { background: var(--cobalt-bouton); color: var(--blanc); padding: 11px 24px; border-radius: 100px; font-weight: 600; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 2px 12px rgba(68,102,208,0.3); }
.nav-links a.nav-cta:hover { color: var(--blanc); opacity: 0.88; transform: translateY(-1px); }

.nav-toggle { display: none; }

/* ── BOUTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--cobalt-bouton); color: var(--blanc); padding: 16px 30px; border-radius: 100px; font-size: 1.08rem; font-weight: 600; text-decoration: none; transition: opacity 0.2s, transform 0.4s var(--bounce); box-shadow: 0 6px 24px rgba(68,102,208,0.35); }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 6px; font-size: 1.02rem; color: #555; text-decoration: none; font-weight: 400; border-bottom: 1px solid rgba(102,102,102,0.3); padding-bottom: 2px; transition: color 0.2s; }
.btn-ghost:hover { color: var(--noir); }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: #382800; color: var(--beurre); padding: 14px 28px; border-radius: 100px; font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: transform 0.4s var(--bounce), opacity 0.2s; box-shadow: 0 4px 20px rgba(56,40,0,0.2); }
.btn-dark:hover { transform: translateY(-2px); opacity: 0.9; }

/* ── TITRES & UTILITAIRES ── */
h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.2vw, 3.8rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.02em; color: var(--marine); margin-bottom: 24px; }
h1 em { font-style: italic; font-family: var(--script); color: var(--cobalt-titre); font-size: 1.08em; }
h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.018em; margin-bottom: 16px; color: var(--marine); }
h2 em { font-style: italic; font-family: var(--script); font-size: 1.06em; }
.s-eyebrow { font-family: var(--script); font-size: 1.95rem; line-height: 1.2; font-weight: 500; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.s-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; border-radius: 2px; flex-shrink: 0; background: currentColor; }
.s-sub { font-size: 1.08rem; font-weight: 400; line-height: 1.75; max-width: 500px; }

/* ── HERO ── */
.hero {
	min-height: calc(100vh - 68px);
	display: grid; grid-template-columns: 55% 45%;
	align-items: center; padding: 0 var(--pad-x);
	background: var(--blanc); position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(160,184,248,0.10) 0%, transparent 65%); border-radius: 50%; top: -100px; right: 40px; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(144,216,168,0.10) 0%, transparent 65%); border-radius: 50%; bottom: -80px; left: 80px; pointer-events: none; }
.hero-left { position: relative; z-index: 2; padding: 80px 60px 80px 0; max-width: 600px; }
.hero-eyebrow { font-family: var(--script); font-size: 1.95rem; line-height: 1.2; color: var(--cobalt-titre); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--cobalt-titre); border-radius: 2px; flex-shrink: 0; }
.hero-sub { font-size: 1.12rem; color: #555; font-weight: 400; line-height: 1.75; max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; color: #555; font-weight: 400; background: rgba(160,184,248,0.08); border: 1px solid rgba(160,184,248,0.25); border-radius: 100px; padding: 6px 14px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); flex-shrink: 0; }
.hero-right { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 60px 0; height: 100%; }
/* Panneau indicateur : calque du poteau + 3 planches cliquables (positions en % de l'image 580×796) */
.signpost { position: relative; width: min(430px, 100%); aspect-ratio: 580 / 796; filter: drop-shadow(0 14px 30px rgba(28,40,64,0.12)); }
.signpost-base { position: absolute; inset: 0; width: 100%; height: 100%; }
.plank { position: absolute; display: block; text-decoration: none; transition: transform 0.45s var(--bounce); outline-offset: 4px; }
.plank-img { display: block; width: 100%; height: 100%; }
.plank-1 { left: 31.72%; top: 1.63%;  width: 67.59%; height: 19.10%; transform-origin: 18% 50%; }
.plank-2 { left: 0;      top: 18.72%; width: 68.97%; height: 21.23%; transform-origin: 82% 50%; }
.plank-3 { left: 31.38%; top: 41.08%; width: 68.62%; height: 18.72%; transform-origin: 18% 50%; }
.plank-1:hover, .plank-1:focus-visible { transform: translateY(-5px) rotate(-2deg); }
.plank-2:hover, .plank-2:focus-visible { transform: translateY(-5px) rotate(2deg); }
.plank-3:hover, .plank-3:focus-visible { transform: translateY(-5px) rotate(-2deg); }
.plank-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--script); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1; color: #5A3B12; }
.plank-1 .plank-label { padding: 0 20% 0 6%; transform: rotate(-1.7deg); }
.plank-2 .plank-label { padding: 0 6% 0 20%; transform: rotate(4.3deg); }
.plank-3 .plank-label { padding: 0 20% 0 6%; transform: rotate(1.8deg); }
.plank:hover .plank-label { color: #3D2608; }

/* ── BANDEAU ── */
.strip { background: var(--marine); padding: 22px var(--pad-x); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 10px; }
.strip-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-family: var(--script); font-size: 1.15rem; font-weight: 500; padding: 0 36px; }
.strip-item + .strip-item { border-left: 1px solid rgba(255,255,255,0.12); }
.strip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); flex-shrink: 0; }

/* ── COMMENT ÇA MARCHE ── */
.how-section { background: var(--blanc); padding: 100px var(--pad-x); display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: center; }
.how-left .s-eyebrow { color: #1a6030; }
.how-left h2 em { color: var(--marine); }
.how-left .s-sub { color: #555; }
.how-illus { width: 180px; height: 180px; object-fit: contain; margin-top: 36px; display: block; }
.steps-col { display: flex; flex-direction: column; gap: 14px; }
.step { background: var(--menthe); border-radius: 20px; padding: 26px 28px; display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; transition: transform 0.2s; }
.step:hover { transform: translateX(4px); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.2rem; color: #183020; font-weight: 400; flex-shrink: 0; }
.step h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; font-weight: 400; color: #183020; margin-bottom: 6px; }
.step p { font-size: 1rem; color: #183020; line-height: 1.7; font-weight: 400; }

/* ── POUR QUI ── */
.forwho-section { background: var(--blanc); padding: 80px var(--pad-x); }
.forwho-top { margin-bottom: 40px; }
.forwho-top .s-eyebrow { color: var(--abricot-titre); }
.forwho-top .s-eyebrow::before { display: none; }
.forwho-top h2 { margin-bottom: 0; }
.forwho-top h2 em { color: var(--abricot-titre); }
.forwho-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fwc { border: 2px solid var(--fwc-color, var(--cobalt)); border-radius: 20px; padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.4s var(--bounce), box-shadow 0.2s; }
.fwc:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28,40,64,0.07); }
.fwc:nth-child(1) { --fwc-color: var(--cobalt); }
.fwc:nth-child(2) { --fwc-color: var(--menthe); }
.fwc:nth-child(3) { --fwc-color: var(--abricot); }
.fwc:nth-child(4) { --fwc-color: var(--violet); }

.fwc h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--marine); line-height: 1.3; }
.fwc p { font-size: 1rem; color: #555; line-height: 1.65; font-weight: 400; margin-top: 4px; }

/* ── CHIFFRES CLÉS ── */
.stats-section { background: var(--marine); padding: 40px var(--pad-x); }
.stats-inner { display: flex; align-items: center; }
.stat { display: flex; align-items: baseline; gap: 12px; flex: 1; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 40px; margin-left: 40px; }
.stat:nth-child(1) .stat-num { color: var(--menthe); }
.stat:nth-child(2) .stat-num { color: var(--beurre); }
.stat:nth-child(3) .stat-num { color: var(--cobalt); }
.stat:nth-child(4) .stat-num { color: var(--rose); }
.stat-num { font-family: var(--script); font-size: clamp(2.4rem, 3.2vw, 3rem); font-weight: 600; line-height: 1; white-space: nowrap; }
.stat-accent { opacity: 0.6; font-weight: 400; }
.stat-label { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.35; }

/* ── ENPSYCLOPÉDIE ── */
.encyclo-section { background: var(--blanc); padding: 100px var(--pad-x); }
.encyclo-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.encyclo-header .s-eyebrow { color: var(--violet-titre); }
.encyclo-header h2 { margin-bottom: 0; }
.encyclo-header h2 em { color: var(--violet-titre); }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; color: #555; text-decoration: none; border-bottom: 1px solid rgba(102,102,102,0.3); padding-bottom: 2px; transition: color 0.2s; white-space: nowrap; margin-bottom: 6px; }
.see-all:hover { color: var(--noir); }

/* Une seule grille : 5 cartes en 1re rangée, 4 en 2e (20 colonnes → 4 ou 5 colonnes par carte) */
.articles-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 14px; }
.articles-grid .article-card { grid-column: span 4; }
.articles-grid .article-card:nth-child(n+6) { grid-column: span 5; }

.article-card { --ac-color: var(--cobalt); --ac-bg: #E7EDFD; background: var(--blanc); border-radius: 18px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; border: 2.5px solid var(--ac-color); transition: transform 0.4s var(--bounce), box-shadow 0.2s; min-height: 260px; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(28,40,64,0.12); box-shadow: 0 16px 48px color-mix(in srgb, var(--ac-color) 25%, transparent); }
/* --ac-bg = couleur à 22 % sur blanc (repli pour les navigateurs sans color-mix) */
.ac-r { --ac-color: #EE9AB8;       --ac-bg: #FCE6EE; }
.ac-v { --ac-color: var(--violet); --ac-bg: #EEEEFC; }
.ac-m { --ac-color: var(--menthe); --ac-bg: #E9F7ED; }
.ac-a { --ac-color: var(--abricot); --ac-bg: #FCEEE2; }
.ac-b { --ac-color: var(--beurre); --ac-bg: #FEF7D7; }
.ac-c { --ac-color: var(--cobalt); --ac-bg: #E7EDFD; }

.ac-illus-zone { flex: 1; position: relative; background: var(--ac-bg); background: color-mix(in srgb, var(--ac-color) 22%, white); overflow: hidden; min-height: 180px; }
.ac-illus { width: 100%; height: 100%; object-fit: contain; display: block; position: absolute; inset: 0; padding: 18px 18px 70px; transition: transform 0.35s ease; transform-origin: 50% 40%; }
.article-card:hover .ac-illus { transform: scale(1.08); }
.ac-title-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 14px 14px; background: linear-gradient(to top, var(--ac-color) 0%, transparent 100%); background: linear-gradient(to top, color-mix(in srgb, var(--ac-color) 85%, transparent) 0%, transparent 100%); z-index: 2; }
.ac-cat { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 3px; color: #1C2840; }
.ac-title { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.2; color: var(--marine); }

/* ── CTA THÉRAPEUTES ── */
.psy-section { background: var(--beurre); padding: 90px var(--pad-x); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; position: relative; overflow: hidden; }
.psy-text { position: relative; z-index: 1; }
.psy-text .s-eyebrow { color: #382800; }
.psy-text h2, .psy-text h2 em { color: #382800; }
.psy-text .s-sub { color: #382800; max-width: 520px; margin-bottom: 26px; }
.psy-args { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; max-width: 560px; }
.psy-args li { position: relative; padding-left: 36px; font-size: 1.05rem; line-height: 1.6; color: #382800; }
.psy-args li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #382800 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3L9.5 3.8' fill='none' stroke='%23F8D860' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.psy-args strong { font-weight: 600; color: #382800; }
.psy-proof { font-family: var(--script); font-size: 1.6rem; font-weight: 600; color: #382800; }

/* Carte offre — seul élément blanc de la section, donc point focal */
.psy-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--blanc); border-radius: 28px; padding: 34px 36px 36px; text-decoration: none; box-shadow: 0 24px 60px rgba(56,40,0,0.18); transition: transform 0.45s var(--bounce), box-shadow 0.3s; }
.psy-card:hover, .psy-card:focus-visible { transform: translateY(-8px) rotate(-0.6deg); box-shadow: 0 34px 70px rgba(56,40,0,0.24); }
.psy-card-illus { width: 220px; height: 150px; object-fit: contain; margin-bottom: 14px; transition: transform 0.5s var(--bounce); }
.psy-card:hover .psy-card-illus { transform: rotate(-4deg) scale(1.06); }
.psy-card-kicker { font-family: var(--script); font-size: 1.7rem; font-weight: 600; color: #6B4E0A; line-height: 1; }
.psy-card-title { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3rem); color: #382800; line-height: 1.1; margin: 6px 0 8px; letter-spacing: -0.02em; }
.psy-card-sub { font-size: 1.05rem; color: #555; max-width: 300px; line-height: 1.55; margin-bottom: 26px; }
/* Bouton « autocollant » : jaune, contour et ombre franche — très lisible, donne envie d'appuyer */
.psy-card-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; width: 100%; background: var(--beurre); color: #382800; padding: 20px 22px; border: 2.5px solid #382800; border-radius: 100px; font-size: 1.4rem; font-weight: 700; letter-spacing: 0.005em; box-shadow: 5px 6px 0 #382800; transition: transform 0.35s var(--bounce), box-shadow 0.35s var(--bounce), background 0.2s; }
.psy-card-btn-arrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #382800; color: var(--beurre); transition: transform 0.4s var(--bounce); }
.psy-card:hover .psy-card-btn, .psy-card:focus-visible .psy-card-btn { transform: translate(-2px, -3px); box-shadow: 8px 10px 0 #382800; background: #FBE27F; }
.psy-card:active .psy-card-btn { transform: translate(3px, 4px); box-shadow: 1px 1px 0 #382800; }
.psy-card:hover .psy-card-btn-arrow { transform: translateX(4px); }


/* ── CTA FINAL ── */
.final-section { background: var(--blanc); text-align: center; padding: 100px var(--pad-x); position: relative; overflow: hidden; }
.final-section::before { content: ''; position: absolute; width: 560px; height: 560px; background: radial-gradient(circle, rgba(160,184,248,0.1) 0%, transparent 68%); border-radius: 50%; top: -140px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.final-section > * { position: relative; z-index: 1; }
.final-illus-wrap { width: 180px; height: 180px; margin: 0 auto 32px; }
.final-illus { width: 180px; height: 180px; object-fit: contain; display: block; filter: drop-shadow(0 8px 24px rgba(28,40,64,0.12)); }
.final-section .s-eyebrow { justify-content: center; color: var(--cobalt-titre); }
.final-section .s-eyebrow::before { display: none; }
.final-section h2 em { color: var(--cobalt-titre); }
.final-sub { font-size: 1.1rem; color: #555; font-weight: 400; line-height: 1.75; max-width: 500px; margin: 16px auto 40px; }
.final-note { margin-top: 20px; font-size: 0.95rem; color: #555; font-weight: 400; }

/* ── FOOTER ── */
.site-footer { background: var(--marine); color: rgba(255,255,255,0.8); padding: 60px var(--pad-x) 44px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; font-size: 1rem; font-weight: 400; }
.footer-logo { font-family: var(--serif); font-size: 1.1rem; color: var(--blanc); font-weight: 400; margin-bottom: 12px; letter-spacing: -0.01em; }
.footer-logo .fr { color: var(--cobalt); }
.footer-desc { line-height: 1.7; margin-bottom: 20px; }
.footer-copy { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-col-title { font-family: var(--sans); color: #FFFFFF; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; line-height: 1.6; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom { background: #151E31; padding: 16px var(--pad-x); display: flex; justify-content: space-between; font-size: 0.9rem; color: rgba(255,255,255,0.75); flex-wrap: wrap; gap: 8px; }

/* ── PAGES GÉNÉRIQUES (index.php) ── */
.page-wrap { max-width: 760px; margin: 0 auto; padding: 80px 24px 100px; }
.page-title { margin-bottom: 32px; }
.entry + .entry { margin-top: 40px; }
.entry-title { font-size: 1.6rem; margin-bottom: 8px; }
.entry-title a { color: var(--marine); text-decoration: none; }
.entry-content { color: #333; font-size: 1.02rem; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--marine); margin-top: 1.4em; }
.entry-content a { color: #3D5FC4; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1024px) {
	:root { --pad-x: 32px; }
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero-right { padding: 0 0 64px; justify-content: center; }
	.signpost { width: min(340px, 80%); }
	.hero-left { padding: 64px 0 32px; max-width: 100%; }
	.how-section, .psy-section { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
	.how-illus { display: none; }
	.forwho-grid { grid-template-columns: 1fr 1fr; }
	.stat + .stat { padding-left: 24px; margin-left: 24px; }
	.stat { flex-direction: column; gap: 6px; }
	.articles-grid { grid-template-columns: repeat(3, 1fr); }
	.articles-grid .article-card, .articles-grid .article-card:nth-child(n+6) { grid-column: auto; }
	.encyclo-section, .final-section { padding-top: 72px; padding-bottom: 72px; }
	.site-footer { grid-template-columns: 1fr 1fr; }
	.site-footer > div:first-child { grid-column: 1 / -1; }
	.strip-item { padding: 0 20px; }
}

@media (max-width: 640px) {
	:root { --pad-x: 20px; }

	/* Menu mobile */
	.nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; }
	.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: var(--marine); border-radius: 2px; position: relative; transition: transform 0.2s, background 0.2s; }
	.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
	.nav-toggle-bar::before { top: -7px; }
	.nav-toggle-bar::after  { top: 7px; }
	.is-open .nav-toggle-bar { background: transparent; }
	.is-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
	.is-open .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

	.nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--blanc); border-bottom: 1px solid rgba(160,184,248,0.25); box-shadow: 0 16px 32px rgba(28,40,64,0.08); padding: 12px 20px 24px; }
	.is-open .nav-menu { display: block; }
	.nav-links { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-links a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid #F0F0F0; }
	.nav-links li:last-child a { border-bottom: 0; }
	.nav-links a.nav-cta { margin-top: 16px; text-align: center; padding: 14px 24px; }

	.hero-left { padding: 40px 0 24px; }
	.signpost { width: min(300px, 86%); }
	.plank-label { font-size: 1.15rem; }
	.s-eyebrow, .hero-eyebrow { font-size: 1.6rem; }
	.hero-actions { flex-direction: column; align-items: flex-start; }
	.strip { flex-direction: column; align-items: flex-start; padding: 22px var(--pad-x); }
	.strip-item { padding: 0; }
	.strip-item + .strip-item { border-left: 0; }
	.step { grid-template-columns: 36px 1fr; gap: 14px; padding: 22px 20px; }
	.step-num { width: 36px; height: 36px; font-size: 1rem; }
	.forwho-section { padding-top: 64px; padding-bottom: 64px; }
	.forwho-grid { grid-template-columns: 1fr; }
	.stats-inner { flex-direction: column; align-items: stretch; gap: 20px; }
	.stat { flex-direction: row; align-items: baseline; gap: 14px; }
	.stat + .stat { border-left: none; padding-left: 0; margin-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
	.articles-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.articles-grid .article-card:last-child { grid-column: 1 / -1; }
	.article-card { min-height: 200px; }
	.ac-illus-zone { min-height: 150px; }
	.ac-illus { padding: 12px 12px 62px; }
	.site-footer { grid-template-columns: 1fr; gap: 32px; }
	.psy-card { padding: 28px 20px 30px; }
	.psy-card-btn { font-size: 1.25rem; padding: 18px 14px; gap: 10px; white-space: nowrap; }
	.psy-card-btn-arrow { width: 30px; height: 30px; flex-shrink: 0; }
}
