/* Montserrat hébergée sur le site (licence SIL OFL, voir assets/fonts/OFL-Montserrat.txt) */
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/Montserrat-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Awesome Network : styles du thème
   Palette : noir, or, bleu royal, blanc. Police : Montserrat.
   Signature visuelle : la lame diagonale des affiches (onglets, bas de bandeau, pied de page).
   ========================================================================== */

:root {
	--noir: #0a0a0a;
	--or: #f2b705;
	--or-fonce: #d9a400;
	--bleu: #2346d1;
	--blanc: #ffffff;
	--gris: #f4f5f7;
	--ligne: #e3e5ea;
	--texte: #14161a;
	--texte-2: #555b66;
	--rayon: 14px;
	--wrap: 1180px;
	--police: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--police);
	font-size: 16px;
	line-height: 1.6;
	color: var(--texte);
	background: var(--blanc);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; }
img { height: auto; }

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 40px);
	margin-inline: auto;
	padding-inline: 20px;
}

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--or); color: var(--noir);
	padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }
.site-header :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible,
.cta-box :focus-visible,
.topbar :focus-visible { outline-color: var(--or); }
.topbar :focus-visible { outline-color: var(--noir); }

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

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--or); color: var(--noir); }
.btn-gold:hover { background: var(--or-fonce); }
.btn-dark { background: var(--noir); color: var(--blanc); }
.btn-dark:hover { background: var(--bleu); }
.btn-outline { border-color: var(--blanc); color: var(--blanc); }
.btn-outline:hover { background: var(--or); border-color: var(--or); color: var(--noir); }
.btn-outline-dark { border-color: var(--noir); color: var(--noir); }
.btn-outline-dark:hover { background: var(--noir); color: var(--blanc); }

/* ---------- Barre d'informations ---------- */
.topbar { background: var(--or); color: var(--noir); font-size: 13px; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { width: 15px; height: 15px; flex: none; }
.topbar-zones, .topbar-links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-links { display: inline-flex; align-items: center; gap: 24px; }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--noir); color: var(--blanc);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.brand { margin-right: auto; position: relative; z-index: 2; }

.wordmark {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--blanc); text-decoration: none;
	font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
}
.wordmark b { color: var(--or); font-weight: 800; }
.wordmark-slash { flex: none; }
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo-link img { display: block; width: auto; max-height: 52px; }

/* Menu principal (bureau) */
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav .menu li { position: relative; }
.main-nav .menu a {
	position: relative; display: block;
	padding: 12px 13px; white-space: nowrap;
	color: var(--blanc); font-size: 15px; font-weight: 600; text-decoration: none;
	transition: color .15s;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 3px;
	background: var(--or);
	transform: skewX(-30deg) scaleX(0); transform-origin: left;
	transition: transform .2s;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a,
.main-nav .menu > li.current_page_item > a { color: var(--or); }
.main-nav .menu > li > a:hover::after,
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current-menu-ancestor > a::after,
.main-nav .menu > li.current_page_item > a::after { transform: skewX(-30deg) scaleX(1); }

.main-nav .menu-item-has-children > a { padding-right: 32px; }
.main-nav .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 14px; top: 50%;
	width: 6px; height: 6px;
	border: solid currentColor; border-width: 0 2px 2px 0;
	transform: translateY(-70%) rotate(45deg);
}

.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: 100%; left: 0; min-width: 300px;
	background: var(--noir);
	border-top: 3px solid var(--or);
	border-radius: 0 0 14px 14px;
	box-shadow: 0 18px 32px rgba(0, 0, 0, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.main-nav .menu li:hover > .sub-menu,
.main-nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 11px 14px; border-radius: 9px; font-weight: 500; font-size: 14.5px; }
.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .08); color: var(--or); }

.sub-toggle, .nav-toggle, .main-nav .nav-cta { display: none; }
.site-header .header-cta { align-self: center; }
.header-cta { padding: 12px 22px; font-size: 14.5px; white-space: nowrap; }

/* ---------- Menu mobile ---------- */
@media (max-width: 1179px) {
	.header-inner { min-height: 68px; gap: 14px; }
	.site-header .header-cta { display: none; }

	.nav-toggle {
		position: relative; z-index: 2;
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; padding: 0;
		background: transparent; border: 2px solid rgba(255, 255, 255, .35); border-radius: 12px;
		color: var(--blanc); cursor: pointer;
	}
	.nav-toggle-bars { position: relative; display: block; width: 20px; height: 14px; }
	.nav-toggle-bars i {
		position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
		transition: transform .2s, opacity .2s, top .2s;
	}
	.nav-toggle-bars i:nth-child(1) { top: 0; }
	.nav-toggle-bars i:nth-child(2) { top: 6px; }
	.nav-toggle-bars i:nth-child(3) { top: 12px; }
	.nav-open .nav-toggle-bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
	.nav-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle-bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

	.main-nav {
		position: fixed; inset: 0; z-index: 1;
		padding: 88px 20px 32px; overflow-y: auto;
		background: var(--noir);
		transform: translateX(100%); visibility: hidden;
		transition: transform .25s ease, visibility .25s;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }

	.main-nav .menu { display: block; }
	.main-nav .menu a { padding: 16px 52px 16px 4px; font-size: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.main-nav .menu > li > a::after,
	.main-nav .menu-item-has-children > a::before { display: none; }

	.main-nav .sub-menu {
		position: static; display: none; min-width: 0; padding: 0 0 8px 14px;
		background: transparent; border: 0; box-shadow: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.main-nav .menu li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { font-size: 17px; padding: 13px 4px; border-radius: 0; }

	.sub-toggle {
		position: absolute; right: 0; top: 9px;
		display: flex; align-items: center; justify-content: center;
		width: 42px; height: 42px; padding: 0;
		background: transparent; border: 0; color: var(--blanc); cursor: pointer;
	}
	.sub-toggle svg { transition: transform .2s; }
	.menu li.is-open > .sub-toggle svg { transform: rotate(180deg); }
	.main-nav .sub-menu .sub-toggle { display: none; }

	.main-nav .nav-cta { display: inline-flex; margin-top: 28px; width: 100%; padding: 17px 26px; font-size: 17px; }

	.topbar-zones, .topbar-links .topbar-mail { display: none; }
	.topbar-inner { justify-content: center; }
}

/* ---------- Bandeau de titre ---------- */
.page-hero {
	background: var(--noir); color: var(--blanc);
	padding: 76px 0 96px;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.page-hero h1 {
	margin: 0; max-width: 20ch;
	font-size: clamp(34px, 5.2vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em;
}
.page-hero-intro { margin: 20px 0 0; max-width: 58ch; font-size: 19px; color: #cfd3da; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
	display: inline-block; padding: 9px 18px;
	border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px;
	color: var(--blanc); font-size: 14px; font-weight: 600; text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
.chip:hover, .chip.is-current { background: var(--or); border-color: var(--or); color: var(--noir); }

/* ---------- Pages classiques ---------- */
.page-body { padding: 56px 0 88px; }
.an-ele { width: 100%; }

/* ---------- Blog : grille ---------- */
.blog { padding: 56px 0 96px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }

.card { display: flex; flex-direction: column; }
.card-media {
	position: relative; display: block; overflow: hidden;
	aspect-ratio: 3 / 2; border-radius: var(--rayon); background: var(--noir);
}
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-ph {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(115deg, var(--noir) 0 56%, var(--bleu) 56% 76%, var(--or) 76% 100%);
}
.card-cat {
	position: absolute; left: 0; bottom: 0;
	padding: 9px 26px 9px 18px;
	background: var(--or); color: var(--noir);
	font-size: 13px; font-weight: 800; line-height: 1;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}
.card-body { display: flex; flex-direction: column; flex: 1; }
.card-title { margin: 18px 0 8px; font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.card-title a { color: var(--texte); text-decoration: none; }
.card-title a:hover { color: var(--bleu); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.card-excerpt { margin: 0; color: var(--texte-2); font-size: 15px; line-height: 1.6; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: auto 0 0; padding-top: 16px; color: #7a808c; font-size: 13px; font-weight: 500; }

.navigation.pagination { margin-top: 64px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 46px; height: 46px; padding: 0 18px;
	border: 1.5px solid var(--ligne); border-radius: 999px;
	color: var(--texte); font-weight: 700; text-decoration: none;
}
a.page-numbers:hover { border-color: var(--noir); }
.page-numbers.current { background: var(--noir); border-color: var(--noir); color: var(--blanc); }

.empty { max-width: 520px; margin: 24px auto; text-align: center; }
.empty h2 { margin: 0 0 8px; font-size: 26px; font-weight: 800; }
.empty p { margin: 0 0 24px; color: var(--texte-2); }

.section-title { margin: 0 0 32px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Article ---------- */
.article-hero h1 { margin-top: 18px; max-width: 24ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 20px 0 0; color: #cfd3da; font-size: 14.5px; font-weight: 500; }
.article-feature { max-width: 1020px; margin-top: 8px; }
.article-feature img { display: block; width: 100%; border-radius: 20px; }

.prose { max-width: 720px; margin: 0 auto; padding: 48px 0 24px; font-size: 18px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { margin: 2.1em 0 .6em; font-size: 28px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 22px; font-weight: 700; line-height: 1.3; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--or-fonce); }
.prose a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: #1a37a8; }
.prose img { border-radius: 14px; }
.prose blockquote {
	margin: 1.8em 0; padding: 20px 24px;
	background: var(--gris); border-left: 5px solid var(--or); border-radius: 0 14px 14px 0;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.article-end { padding-top: 24px; padding-bottom: 72px; }
.cta-box {
	position: relative; overflow: hidden;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
	max-width: 960px; margin: 0 auto; padding: 44px 48px;
	background: var(--noir); color: var(--blanc); border-radius: 24px;
}
.cta-box::after {
	content: ""; position: absolute; top: 0; right: -30px; bottom: 0; width: 90px;
	background: var(--or); transform: skewX(-18deg); opacity: .95;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.cta-box p { margin: 0; max-width: 44ch; color: #cfd3da; }
.cta-box-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-right: 70px; }

.related { padding-top: 24px; border-top: 1px solid var(--ligne); }
.related .section-title { margin-top: 56px; }
.comments-wrap { max-width: 800px; padding-bottom: 72px; }
.comment-list { padding-left: 1.2em; }

/* ---------- Recherche et 404 ---------- */
.search-bar { padding: 40px 0 0; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] {
	flex: 1; min-width: 0; padding: 13px 18px;
	border: 1.5px solid var(--ligne); border-radius: 999px;
	font-family: inherit; font-size: 15px;
}
.notfound { padding: 96px 0 112px; text-align: center; }
.notfound-code { margin: 0; font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--noir); }
.notfound h1 { margin: 8px 0 12px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.notfound p { max-width: 52ch; margin: 0 auto 28px; color: var(--texte-2); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.notfound .search-form { margin: 0 auto; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: #d3d6dc; }

.footer-hero { display: grid; grid-template-columns: 62% 38%; }
.footer-hero-left { padding: 80px 20px 80px max(20px, calc((100vw - var(--wrap)) / 2)); }
.footer-slogan {
	margin: 0; max-width: 9ch;
	color: var(--blanc); font-size: clamp(44px, 7.4vw, 100px); font-weight: 800; line-height: .96; letter-spacing: -.04em;
}
.footer-cta {
	display: flex; flex-direction: column; justify-content: center; gap: 22px;
	padding: 56px max(20px, calc((100vw - var(--wrap)) / 2)) 56px 130px;
	background: var(--or); color: var(--noir);
	clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}
.footer-cta-title { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.footer-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.footer-main { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 52px; }
.footer-brand p { margin: 18px 0 0; max-width: 36ch; font-size: 14.5px; color: #b9bdc6; }
.footer-title { margin: 0 0 18px; color: var(--blanc); font-size: 16px; font-weight: 700; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-menu a, .footer-static { display: inline-flex; align-items: flex-start; gap: 10px; color: #cfd3da; font-size: 14.5px; text-decoration: none; }
.footer-menu a:hover { color: var(--or); }
.footer-menu svg { flex: none; margin-top: 3px; width: 16px; height: 16px; color: var(--or); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.footer-bottom p { margin: 0; color: #8e939e; font-size: 13.5px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 50%;
	color: var(--blanc); transition: background-color .15s, color .15s, border-color .15s;
}
.socials a:hover { background: var(--or); border-color: var(--or); color: var(--noir); }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: flex; align-items: center; gap: 10px;
	padding: 14px 20px; border-radius: 999px;
	background: #25d366; color: #fff;
	font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.wa-float:hover { background: #1ebe5a; color: #fff; }
.wa-float:focus-visible { outline-color: #fff; }
.wa-float svg { width: 22px; height: 22px; }

/* ---------- Formulaires WPForms ---------- */
.wpforms-container .wpforms-field input:not([type="checkbox"]):not([type="radio"]),
.wpforms-container .wpforms-field select,
.wpforms-container .wpforms-field textarea {
	font-family: inherit !important;
	border: 1.5px solid var(--ligne) !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
	max-width: 100% !important;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field select:focus,
.wpforms-container .wpforms-field textarea:focus { border-color: var(--bleu) !important; box-shadow: none !important; }
.wpforms-container .wpforms-submit-container .wpforms-submit {
	background: var(--or) !important; color: var(--noir) !important;
	border: 0 !important; border-radius: 999px !important;
	padding: 15px 32px !important; font-family: inherit !important; font-weight: 700 !important; font-size: 15px !important;
}
.wpforms-container .wpforms-submit-container .wpforms-submit:hover { background: var(--or-fonce) !important; }

/* ---------- Adaptation ---------- */
@media (max-width: 1023px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-hero { grid-template-columns: 1fr; }
	.footer-hero-left { padding: 64px 20px 48px; }
	.footer-cta {
		padding: 64px 20px 48px;
		clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%);
	}
}

@media (max-width: 639px) {
	.post-grid { grid-template-columns: 1fr; }
	.page-hero { padding: 56px 0 76px; }
	.page-hero-intro { font-size: 17px; }
	.prose { font-size: 17px; }
	.prose h2 { font-size: 24px; }
	.cta-box { padding: 32px 24px 40px; }
	.cta-box-actions { padding-right: 0; }
	.cta-box::after { display: none; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
	.wa-float span { display: none; }
	.wa-float { padding: 15px; }
	.search-form { flex-direction: column; }
}

/* Sélecteur de langue EN | FR */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.lang-switch a { color: inherit; text-decoration: none; opacity: .6; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-current { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang-top { padding-left: 20px; border-left: 1px solid rgba(10, 10, 10, .3); }
.lang-nav { margin: 18px 0 0; color: var(--noir); }
@media (max-width: 1024px) { .lang-top { padding-left: 14px; } .topbar-links { gap: 16px; } }

/* Liens légaux et bandeau de cookies */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.legal-links a, .cookie-manage { color: #cfd3da; font-size: 13.5px; text-decoration: none; }
.legal-links a:hover, .cookie-manage:hover { color: var(--or); text-decoration: underline; }
.cookie-manage { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; margin: 0 auto; padding: 26px 26px 24px; background: #fff; color: var(--noir); border: 1px solid #e3e3e3; border-radius: 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.cookie-banner[hidden], .cookie-banner [hidden] { display: none !important; }
.cookie-banner p { margin: 0; font-size: 15px; line-height: 1.6; color: #333; }
.cookie-banner .cookie-title { font-weight: 800; font-size: 20px; color: var(--noir); margin-bottom: 10px; }
.cookie-banner a { color: var(--bleu); text-decoration: underline; }
.cookie-panel { display: grid; gap: 12px; margin-top: 18px; }
.cookie-opt { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid #e3e3e3; border-radius: 16px; font-size: 14.5px; line-height: 1.55; color: #333; cursor: pointer; }
.cookie-opt strong { color: var(--noir); font-size: 16px; }
.cookie-opt input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--bleu); }
.cookie-opt.is-locked { cursor: default; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.cookie-btn { font: inherit; font-weight: 700; font-size: 15px; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--bleu); background: var(--bleu); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.cookie-btn:hover { background: #1b37a8; border-color: #1b37a8; }
.cookie-btn-line, .cookie-btn-wide { grid-column: 1 / -1; }
.cookie-btn-line { background: #fff; color: var(--bleu); }
.cookie-btn-line:hover { background: #eef1fc; color: var(--bleu); }
.cookie-btn:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
@media (max-width: 600px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-height: calc(100vh - 20px); padding: 22px 18px 20px; } }
