/* ==========================================================================
   Haytam Bekkari – Portfolio Football
   ========================================================================== */

:root {
	--bg: #191634;
	--bg-2: #1f1b42;
	--card: #26225a;
	--card-2: #2d2866;
	--line: rgba(255, 255, 255, 0.07);
	--green: #08d565;
	--green-dark: #06b154;
	--text: #dcdbe8;
	--muted: #a4a1c6;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 20px 50px rgba(5, 3, 20, 0.45);
	--font-head: "Josefin Sans", system-ui, sans-serif;
	--font-body: "Open Sans", system-ui, sans-serif;
	--font-sign: "Mrs Saint Delafield", cursive;
	--header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container.narrow { max-width: 820px; }

.screen-reader-text,
.hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--green); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Lignes verticales décoratives (esprit « terrain ») */
.grid-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; z-index: 0; }
.grid-lines span { width: 1px; height: 100%; background: var(--line); position: relative; overflow: hidden; }
.grid-lines span::after {
	content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%;
	background: linear-gradient(to bottom, transparent, var(--green));
	animation: drop 7s linear infinite;
}
.grid-lines span:nth-child(2)::after { animation-delay: 1.8s; }
.grid-lines span:nth-child(3)::after { animation-delay: 3.6s; }
.grid-lines span:nth-child(4)::after { animation-delay: 5.2s; }
@keyframes drop { to { top: 110%; } }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .06em;
	text-transform: uppercase; line-height: 1; transition: all .25s ease;
}
.btn-primary { background: var(--green); color: var(--bg); box-shadow: 0 10px 30px rgba(8, 213, 101, .3); }
.btn-primary:hover { background: var(--white); color: var(--bg); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ==================== En-tête ==================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled { background: rgba(25, 22, 52, .94); backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, .3); --header-h: 70px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-text { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 24px; color: var(--white); letter-spacing: .02em; }
.brand-text strong { color: var(--green); font-weight: 700; margin-left: 4px; }
.brand-ball { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--bg); font-size: 20px; }
.custom-logo { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 26px; }
.site-nav .menu a {
	color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 14px;
	text-transform: uppercase; letter-spacing: .08em; position: relative; padding: 6px 0;
}
.site-nav .menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--green); transition: width .25s; }
.site-nav .menu a:hover::after,
.site-nav .menu a.is-active::after,
.site-nav .menu .current-menu-item > a::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle .bar { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: .3s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 991px) {
	.nav-toggle { display: block; z-index: 2; }
	.site-nav {
		position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px;
		background: rgba(20, 17, 44, .98); opacity: 0; visibility: hidden; transition: .3s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; align-items: center; gap: 18px; }
	.site-nav .menu a { font-size: 22px; }
}

/* ==================== Bannière ==================== */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
	padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden;
	background: radial-gradient(ellipse at 70% 40%, #2c2766 0%, var(--bg) 60%);
}
.hero-media {
	position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 1;
	background-size: cover; background-position: 70% center;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
	mask-image: linear-gradient(to right, transparent 0%, #000 40%);
	opacity: .9;
}
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, transparent 35%), linear-gradient(to right, rgba(25,22,52,.2), rgba(25,22,52,.1)); }
.hero-content { max-width: 640px; }
.hero-intro { font-family: var(--font-head); font-weight: 700; font-size: clamp(34px, 5vw, 64px); color: var(--green); text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.hero-title { font-size: clamp(52px, 9vw, 116px); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; margin-bottom: 24px; }
.hero-title span { display: block; }
.hero-title span:last-child { -webkit-text-stroke: 2px var(--white); color: transparent; }
.hero-tagline { font-size: 18px; color: var(--muted); max-width: 480px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; border-radius: 50px;
	background: rgba(8, 213, 101, .1); border: 1px solid rgba(8, 213, 101, .35); color: var(--white); font-size: 14px;
}
.hero-badge strong { color: var(--green); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(8,213,101,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(8,213,101,0); } 100% { box-shadow: 0 0 0 0 rgba(8,213,101,0); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 10px; }
.signature { font-family: var(--font-sign); font-size: clamp(48px, 6vw, 72px); color: rgba(255,255,255,.85); line-height: 1; margin: 34px 0 0; transform: rotate(-4deg); transform-origin: left; }

.scroll-down { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

@media (max-width: 991px) {
	.hero-media { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
	.hero { align-items: flex-end; }
	.scroll-down { display: none; }
}

/* ==================== Fiche joueur ==================== */
.facts { position: relative; z-index: 3; margin-top: -50px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fact { background: var(--card); padding: 26px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.fact i { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(8,213,101,.12); color: var(--green); font-size: 18px; }
.fact-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.fact-value { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 17px; line-height: 1.3; }

/* ==================== Sections ==================== */
.section { position: relative; padding: 110px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.section-title { font-size: clamp(32px, 4.4vw, 50px); font-weight: 700; }

/* À propos */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.about-media { margin: 0; position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-2deg); border: 6px solid var(--card); }
.about-media::before { content: ""; position: absolute; inset: 30px -24px -24px 30px; border: 2px solid var(--green); border-radius: var(--radius); z-index: -1; }
.about-media figcaption { position: relative; margin: -40px 24px 0 auto; max-width: 340px; background: var(--green); color: var(--bg); padding: 18px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.5; box-shadow: var(--shadow); }
.about-text p { color: var(--text); }
.about-route { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.about-route span { background: var(--card); border: 1px solid var(--line); padding: 8px 16px; border-radius: 50px; font-weight: 600; color: var(--white); font-size: 14px; }
.about-route em { font-style: normal; }
.about-route i { color: var(--green); }

/* ==================== Parcours ==================== */
.career { background: var(--bg-2); overflow: hidden; }
.career-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 60px; }
.chip { background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--white); padding: 9px 20px; border-radius: 50px; font-weight: 600; font-size: 14px; transition: .2s; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--bg); }

.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(to bottom, var(--green), rgba(8,213,101,.1)); }
.tl-item { position: relative; width: 50%; padding: 0 50px 44px 0; transition: opacity .3s; }
.tl-item.is-right { margin-left: 50%; padding: 0 0 44px 50px; }
.tl-item.is-hidden { display: none; }
.tl-dot {
	position: absolute; top: 18px; right: -22px; width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center; font-size: 20px; background: var(--bg); border: 2px solid var(--green); z-index: 2;
}
.tl-item.is-right .tl-dot { right: auto; left: -22px; }
.tl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(8,213,101,.4); }
.tl-thumb { display: block; width: 100%; padding: 0; border: 0; background: none; aspect-ratio: 16 / 8; overflow: hidden; }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tl-card:hover .tl-thumb img { transform: scale(1.06); }
.tl-body { padding: 22px 24px 24px; }
.tl-years { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 15px; letter-spacing: .05em; margin-bottom: 4px; }
.tl-club { font-size: 24px; margin-bottom: 8px; }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.tag { background: rgba(255,255,255,.08); color: var(--white); padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.tag-live { background: var(--green); color: var(--bg); }
.tl-text { color: var(--text); font-size: 15px; margin: 0; }
.tl-item.is-pause .tl-card { background: transparent; border-style: dashed; border-color: rgba(255,255,255,.18); }
.tl-item.is-pause .tl-club { color: var(--muted); font-size: 20px; }
.tl-item.is-pause .tl-dot { border-color: rgba(255,255,255,.3); font-size: 16px; }
.tl-item.is-current .tl-dot { box-shadow: 0 0 0 6px rgba(8,213,101,.2); }
.tl-item.is-current .tl-card { border-color: var(--green); }

@media (max-width: 767px) {
	.timeline::before { left: 22px; }
	.tl-item,
	.tl-item.is-right { width: 100%; margin-left: 0; padding: 0 0 32px 64px; }
	.tl-dot,
	.tl-item.is-right .tl-dot { left: 0; right: auto; }
}

/* ==================== Chiffres ==================== */
.stats { padding: 80px 0; background: linear-gradient(120deg, var(--green) 0%, #05a852 100%); position: relative; overflow: hidden; }
.stats::before { content: "⚽"; position: absolute; right: -40px; top: -60px; font-size: 280px; opacity: .08; transform: rotate(-20deg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(48px, 6vw, 72px); color: var(--bg); line-height: 1; }
.stat-label { display: block; margin-top: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: rgba(25,22,52,.8); }
@media (max-width: 767px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* ==================== Galerie ==================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.gallery-item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6n + 4) { grid-row: span 2; }
.gallery-item button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.gallery-caption {
	position: absolute; inset: auto 0 0; padding: 40px 18px 16px; text-align: left; color: var(--white); font-size: 14px; font-weight: 600;
	background: linear-gradient(to top, rgba(25,22,52,.95), transparent); transform: translateY(100%); transition: transform .35s;
}
.gallery-caption i { color: var(--green); margin-right: 6px; }
.gallery-item button:hover img,
.gallery-item button:focus-visible img { transform: scale(1.08); }
.gallery-item button:hover .gallery-caption,
.gallery-item button:focus-visible .gallery-caption { transform: none; }
@media (hover: none) { .gallery-caption { transform: none; } }
@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery-grid { grid-auto-rows: 150px; gap: 10px; } }

/* ==================== Qualités ==================== */
.skills { background: var(--bg-2); overflow: hidden; }
.skills-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.skills-intro { color: var(--muted); font-size: 17px; }
.skill { margin-bottom: 26px; }
.skill-head { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: 10px; }
.skill-head span:last-child { color: var(--green); }
.skill-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, var(--green-dark), var(--green)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.js .skill:not(.is-visible) .skill-bar span { width: 0; }

/* ==================== Contact ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.contact-list { margin: 26px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--white); }
.contact-list i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); color: var(--green); flex-shrink: 0; }
.contact-list a { color: var(--white); word-break: break-word; }
.contact-list a:hover { color: var(--green); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: var(--white); transition: .25s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: var(--bg); transform: translateY(-3px); }
.socials-lg a { width: 48px; height: 48px; font-size: 18px; }

.contact-form { background: var(--card); padding: 40px; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%; background: var(--bg); border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
	color: var(--white); padding: 14px 16px; font: inherit; transition: border-color .2s;
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--green); }
.contact-form .btn { justify-self: start; border: 0; }
.form-notice { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.form-notice--success { background: rgba(8,213,101,.15); color: var(--green); border: 1px solid rgba(8,213,101,.4); }
.form-notice--error { background: rgba(255,90,90,.12); color: #ff8a8a; border: 1px solid rgba(255,90,90,.35); }

@media (max-width: 991px) {
	.about-grid,
	.skills-grid,
	.contact-grid { grid-template-columns: 1fr; gap: 50px; }
	.about-media { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 575px) {
	.section { padding: 80px 0; }
	.form-row { grid-template-columns: 1fr; }
	.contact-form { padding: 26px 20px; }
	.container { padding: 0 16px; }
	.about-media::before { inset: 20px -10px -12px 20px; }
}

/* ==================== Pied de page ==================== */
.site-footer { background: #13102b; padding: 60px 0 30px; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--muted); font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.footer-links a:hover { color: var(--green); }
.copyright { text-align: center; color: var(--muted); font-size: 14px; margin: 26px 0 0; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--green); color: var(--bg); box-shadow: 0 10px 25px rgba(8,213,101,.35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ==================== Visionneuse ==================== */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 8, 26, .95); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox figcaption { color: var(--white); margin-top: 14px; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: var(--white); width: 50px; height: 50px; border-radius: 50%; font-size: 20px; transition: .2s; }
.lightbox button:hover { background: var(--green); color: var(--bg); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575px) { .lightbox { padding: 70px 12px; } .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ==================== Pages internes / blog ==================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 70px; background: radial-gradient(ellipse at 70% 0%, #2c2766 0%, var(--bg) 70%); overflow: hidden; text-align: center; }
.page-hero .eyebrow::before { display: none; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s; }
.post-card:hover { transform: translateY(-4px); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 24px; }
.post-date { color: var(--green); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.post-title { font-size: 22px; }
.post-title a { color: var(--white); }
.post-title a:hover { color: var(--green); }
.post-excerpt { color: var(--muted); font-size: 15px; }
.read-more { font-weight: 600; font-size: 14px; }
.pagination { margin-top: 50px; text-align: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin: 0 4px; border-radius: 50%; background: var(--card); color: var(--white); }
.pagination .page-numbers.current { background: var(--green); color: var(--bg); }
.empty { text-align: center; color: var(--muted); }

.entry-thumb { margin: 0 0 40px; }
.entry-thumb img { border-radius: var(--radius); }
.entry-content { font-size: 17px; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 24px; margin-top: 1.4em; }
.entry-content img { border-radius: 10px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1em; }
.entry-content blockquote { margin: 1.6em 0; padding: 20px 26px; border-left: 4px solid var(--green); background: var(--card); border-radius: 0 10px 10px 0; font-style: italic; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { color: var(--muted); font-size: 14px; text-align: center; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 50px 0; padding-top: 26px; border-top: 1px solid var(--line); font-weight: 600; }

.comments-area { margin-top: 40px; }
.comment-list { margin-bottom: 30px; }
.comment-list .comment { background: var(--card); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.comment-list .children { margin: 14px 0 0 20px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea { width: 100%; background: var(--card); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: var(--white); padding: 12px 14px; font: inherit; }
.comment-form .submit { background: var(--green); color: var(--bg); border: 0; padding: 12px 26px; border-radius: 50px; font-weight: 700; }

.page-404 { min-height: 80vh; display: flex; align-items: center; }
.big-404 { font-family: var(--font-head); font-weight: 700; font-size: clamp(100px, 20vw, 200px); line-height: 1; color: var(--white); margin: 0; }
.big-404 i { color: var(--green); font-size: .8em; margin: 0 .05em; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Animations d'apparition ==================== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
