/* ================================================================
   SGB 2028 — landing « ouverture prochaine »
   Palette charte : marine #151a31 · or #d7b167 · rouge #cc1e2b
   Typo : Oswald (titres, condensé sportif) · Inter (texte)
   ================================================================ */

/* ---- Polices auto-hébergées ---- */
@font-face { font-family: 'Oswald'; font-weight: 500; font-display: swap; src: url('../fonts/oswald-500.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-weight: 600; font-display: swap; src: url('../fonts/oswald-600.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-weight: 700; font-display: swap; src: url('../fonts/oswald-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter';  font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff2')  format('woff2'); }
@font-face { font-family: 'Inter';  font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff2')  format('woff2'); }
@font-face { font-family: 'Inter';  font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff2')  format('woff2'); }
@font-face { font-family: 'Inter';  font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff2')  format('woff2'); }

/* ---- Tokens ---- */
:root {
	--navy:       #151a31;
	--navy-2:     #1d2440;
	--navy-3:     #262e52;
	--gold:       #d7b167;
	--gold-soft:  #e8cf9a;
	--red:        #cc1e2b;
	--ink:        #f4f2ec;
	--muted:      #b8bdd2;
	--line:       rgba(215, 177, 103, .25);
	--font-title: 'Oswald', 'Arial Narrow', sans-serif;
	--font-body:  'Inter', system-ui, sans-serif;
	--wrap:       1120px;
	--radius:     14px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--navy);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.u-gold { color: var(--gold); }
.u-desktop { display: none; }
@media (min-width: 720px) { .u-desktop { display: inline; } }

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--gold); color: var(--navy); padding: 10px 18px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Piège à bots : champ invisible (pas display:none, certains bots l'évitent) */
.u-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---- Titres ---- */
.section-title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: clamp(30px, 4.2vw, 44px);
	line-height: 1.12;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 0 0 22px;
}

/* ---- CTA ---- */
.cta {
	display: inline-block;
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: .06em;
	text-decoration: none;
	color: var(--navy);
	background: linear-gradient(160deg, var(--gold-soft), var(--gold));
	border: 0;
	border-radius: 999px;
	padding: 14px 32px;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(215, 177, 103, .35); }
.cta--sm { padding: 9px 20px; font-size: 14px; }
.cta--ghost {
	background: transparent;
	color: var(--gold);
	box-shadow: inset 0 0 0 2px var(--gold);
}
.cta--ghost:hover { box-shadow: inset 0 0 0 2px var(--gold), 0 10px 28px rgba(215, 177, 103, .2); }
.cta--submit { width: 100%; }
@media (min-width: 720px) { .cta--submit { width: auto; } }

/* ---- Header ---- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(21, 26, 49, .88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; }
.brand__name {
	font-family: var(--font-title);
	font-size: 17px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .05em;
	color: var(--ink); white-space: nowrap;
}
.brand__name strong { color: var(--gold); font-weight: 700; }
.site-header__nav { display: flex; align-items: center; gap: 20px; }
.site-header__link { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.site-header__link:hover { color: var(--gold); }
.cta--sm { white-space: nowrap; }
@media (max-width: 540px) {
	.brand__name { font-size: 14px; }
	.brand__name strong { display: block; line-height: 1.15; }
	.site-header__link { display: none; }
}

/* ---- Hero ---- */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 520px at 50% -160px, var(--navy-3), transparent 70%),
		radial-gradient(900px 420px at 85% 110%, rgba(204, 30, 43, .14), transparent 65%),
		var(--navy);
	text-align: center;
	padding-block: 56px 72px;
}
.hero__eyebrow {
	display: inline-block;
	font-family: var(--font-title);
	font-size: 14px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .22em;
	color: var(--gold);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 22px;
	margin: 0 0 30px;
}
.hero__logo img { width: min(320px, 62vw); height: auto; filter: drop-shadow(0 18px 44px rgba(0, 0, 0, .45)); }
.hero__title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: clamp(34px, 5.4vw, 58px);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: .015em;
	max-width: 21ch;
	margin: 26px auto 18px;
}
.hero__lead { max-width: 62ch; margin: 0 auto 32px; color: var(--muted); font-size: 18px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---- Stats ---- */
.stats { border-block: 1px solid var(--line); background: var(--navy-2); }
.stats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 8px;
	padding-block: 34px;
	text-align: center;
}
.stat__num {
	display: block;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: clamp(34px, 4vw, 46px);
	line-height: 1;
	color: var(--gold);
}
.stat__label {
	display: block;
	font-size: 13px; font-weight: 500;
	text-transform: uppercase; letter-spacing: .12em;
	color: var(--muted);
	margin-top: 8px;
}

/* ---- About ---- */
.about { padding-block: 76px; }
.about__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 880px) { .about__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.about p { color: var(--muted); }
.about p strong { color: var(--ink); }
.link-gold { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.link-gold:hover { border-color: var(--gold); }
.about__list {
	list-style: none; margin: 0; padding: 28px 30px;
	background: var(--navy-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: grid; gap: 16px;
	font-weight: 500;
}
.about__list li { display: flex; align-items: flex-start; gap: 11px; }
.about__flame {
	flex: 0 0 14px;
	height: 19px; margin-top: 2px;
	background: url('../img/flame.svg') no-repeat center / contain;
	filter: drop-shadow(0 0 6px rgba(204, 30, 43, .45));
}

/* ---- Contact ---- */
.contact {
	background:
		radial-gradient(800px 400px at 50% 115%, rgba(215, 177, 103, .1), transparent 70%),
		var(--navy);
	border-top: 1px solid var(--line);
	padding-block: 76px 88px;
}
.contact__inner { max-width: 760px; }
.contact__lead { color: var(--muted); margin-bottom: 34px; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.field > span { letter-spacing: .02em; }
.field input, .field select, .field textarea {
	font: inherit; font-weight: 400;
	color: var(--ink);
	background: var(--navy-2);
	border: 1px solid rgba(215, 177, 103, .3);
	border-radius: 10px;
	padding: 12px 14px;
	width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; font-weight: 400; color: var(--muted); }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); }
.form__status { min-height: 1.4em; margin: 0; font-weight: 600; }
.form__status.is-ok { color: var(--gold-soft); }
.form__status.is-err { color: #ff8d96; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-2); padding-top: 52px; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: auto 1fr 1.7fr; gap: 56px; } }
.site-footer__contacts { display: grid; gap: 32px; }
@media (min-width: 560px) { .site-footer__contacts { grid-template-columns: 1fr 1fr; gap: 40px; } }
.site-footer__name { color: var(--ink); font-weight: 600; }
.site-footer__note { color: var(--muted); font-size: 13px; }
.site-footer__logo { width: 140px; }
.site-footer__title {
	font-family: var(--font-title);
	font-size: 15px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .14em;
	color: var(--gold);
	margin: 0 0 12px;
}
.site-footer p { color: var(--muted); font-size: 15px; }
.site-footer a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-footer a:hover { color: var(--gold); border-color: var(--gold); }
.site-footer__asso { font-weight: 600; }
.site-footer__legal {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	border-top: 1px solid rgba(215, 177, 103, .12);
	padding-block: 18px;
}
.site-footer__legal p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---- Crédit Agence PTL ---- */
.ptl-credit__flame {
	display: inline-block;
	width: 12px; height: 17px;
	margin-inline: 2px;
	vertical-align: -3px;
	background: url('../img/flame.svg') no-repeat center / contain;
	transform-origin: 50% 88%;
}
.ptl-credit__link {
	color: var(--gold);
	font-weight: 600;
	border-bottom: 0;
	background: linear-gradient(var(--gold), var(--gold)) left bottom / 0% 1px no-repeat;
	transition: background-size .3s ease, color .2s ease;
	padding-bottom: 2px;
}
.ptl-credit:hover .ptl-credit__link { background-size: 100% 1px; color: var(--gold-soft); }
.ptl-credit:hover .ptl-credit__flame { filter: drop-shadow(0 0 6px rgba(204, 30, 43, .7)); }

/* ---- Apparitions au scroll ---- */
@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
	.reveal.is-in { opacity: 1; transform: none; }

	/* La flamme du crédit PTL vacille doucement. */
	.ptl-credit__flame { animation: sgb-flicker 2.4s ease-in-out infinite; }
}
@keyframes sgb-flicker {
	0%, 100% { transform: scale(1) rotate(0deg); }
	25%      { transform: scale(1.12, .92) rotate(-4deg); }
	50%      { transform: scale(.92, 1.1)  rotate(3deg); }
	75%      { transform: scale(1.06, .96) rotate(-2deg); }
}
