/*
Theme Name: American College USA
Theme URI: https://americancollegeusa.com
Description: Thème sur mesure pour la boutique American College USA. Thème enfant de Twenty Twenty-Five, sans dépendance à un constructeur de pages payant. Identité visuelle inspirée du vestiaire universitaire américain : laine marine, bordure côtelée de blouson teddy, rouge varsity.
Author: American College USA
Template: twentytwentyfive
Version: 2.3.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: american-college
*/

/* =========================================================================
   1. VARIABLES
   ========================================================================= */

:root {
	--ac-navy: #101f3c;
	--ac-navy-deep: #0b1526;
	--ac-red: #c8102e;
	--ac-gold: #d8a11a;
	--ac-chalk: #ffffff;
	--ac-fog: #eef0f4;
	--ac-slate: #5a6478;

	--ac-rib: repeating-linear-gradient(
		90deg,
		var(--ac-navy) 0 4px,
		#1b2f57 4px 7px
	);
}

/* =========================================================================
   2. LA COTE — element signature
   Reprise de la bordure cotelee d'un blouson teddy : rayures verticales
   marine, liseres rouge et or. Utilisee sous l'en-tete, au-dessus du pied
   de page et comme separateur de section.
   ========================================================================= */

.ac-ribbing {
	height: 16px;
	background: var(--ac-rib);
	border-top: 4px solid var(--ac-red);
	border-bottom: 4px solid var(--ac-gold);
	width: 100%;
}

.ac-ribbing--thin {
	height: 8px;
	border-top-width: 2px;
	border-bottom-width: 2px;
}

/* =========================================================================
   3. TYPOGRAPHIE
   ========================================================================= */

body {
	font-family: "Archivo", system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--ac-navy-deep);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.wp-block-post-title,
.wp-block-heading {
	font-family: "Archivo Black", "Archivo", system-ui, sans-serif;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-transform: uppercase;
}

h1, .wp-block-post-title { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

/* Sur-titre : petites capitales espacees, comme un dossard */
.ac-eyebrow {
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ac-red);
	display: block;
	margin-bottom: 0.75rem;
}

/* =========================================================================
   4. EN-TETE
   ========================================================================= */

.ac-header {
	background: var(--ac-navy);
	color: var(--ac-chalk);
	padding-block: 1.1rem;
}

.ac-header a { color: var(--ac-chalk); text-decoration: none; }
.ac-header a:hover { color: var(--ac-gold); }

.ac-header .wp-block-site-title a {
	font-family: "Archivo Black", sans-serif;
	text-transform: uppercase;
	letter-spacing: -0.03em;
	font-size: 1.35rem;
	line-height: 1.05;
}

.ac-header .wp-block-navigation {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

/* =========================================================================
   5. BOUTONS
   ========================================================================= */

.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--ac-red);
	color: var(--ac-chalk);
	border: 0;
	border-radius: 2px;
	padding: 0.95em 2em;
	transition: background 0.18s ease, transform 0.18s ease;
}

.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--ac-navy);
	color: var(--ac-chalk);
	transform: translateY(-1px);
}

.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--ac-navy);
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
	background: var(--ac-red);
}

/* Bouton fantome sur fond marine */
.ac-button-ghost .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--ac-chalk);
}

.ac-button-ghost .wp-block-button__link:hover {
	background: var(--ac-chalk);
	color: var(--ac-navy);
}

/* =========================================================================
   6. BOUTIQUE — grille produits
   ========================================================================= */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 2rem 1.5rem;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	text-align: left;
	position: relative;
}

.woocommerce ul.products li.product a img {
	margin-bottom: 0.9rem;
	background: var(--ac-fog);
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.woocommerce ul.products li.product:hover a img { opacity: 0.88; }

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: "Archivo", sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.35;
	padding: 0 !important;
	margin-bottom: 0.3rem;
	color: var(--ac-navy-deep);
}

.woocommerce ul.products li.product .price {
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: var(--ac-navy);
}

.woocommerce ul.products li.product .price del { color: var(--ac-slate); font-weight: 400; }
.woocommerce ul.products li.product .price ins { color: var(--ac-red); text-decoration: none; }

/* Pastille promo : coin coupe, comme un ecusson cousu */
.woocommerce span.onsale {
	background: var(--ac-red);
	color: var(--ac-chalk);
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 0;
	padding: 0.35em 0.9em;
	min-height: 0;
	min-width: 0;
	line-height: 1.4;
	top: 0.6rem;
	left: 0.6rem;
	right: auto;
	margin: 0;
}

/* =========================================================================
   7. FICHE PRODUIT
   ========================================================================= */

.woocommerce div.product .product_title {
	font-size: clamp(1.7rem, 3.5vw, 2.4rem);
	margin-bottom: 0.5rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: "Archivo Black", sans-serif;
	font-size: 1.6rem;
	color: var(--ac-navy);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	border-bottom: 2px solid var(--ac-navy);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { border: 0; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 1.5rem 0 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { content: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ac-slate);
	padding: 0.8rem 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ac-navy); }

/* =========================================================================
   8. MESSAGES WOOCOMMERCE
   ========================================================================= */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 0;
	border-left: 4px solid var(--ac-navy);
	background: var(--ac-fog);
	border-radius: 0;
	font-size: 0.95rem;
}

.woocommerce-error { border-left-color: var(--ac-red); }
.woocommerce-message { border-left-color: var(--ac-gold); }

.woocommerce-message::before,
.woocommerce-info::before { color: var(--ac-navy); }

/* =========================================================================
   9. BANDEAU DE REASSURANCE
   ========================================================================= */

.ac-reassurance {
	background: var(--ac-fog);
	padding-block: 2.2rem;
}

.ac-reassurance p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
}

.ac-reassurance strong {
	display: block;
	font-family: "Archivo", sans-serif;
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ac-navy);
	margin-bottom: 0.3rem;
}

/* =========================================================================
   10. PIED DE PAGE
   ========================================================================= */

.ac-footer {
	background: var(--ac-navy);
	color: #b9c2d4;
	padding-block: 3rem 2rem;
	font-size: 0.9rem;
}

.ac-footer a { color: #b9c2d4; text-decoration: none; }
.ac-footer a:hover { color: var(--ac-gold); text-decoration: underline; }

.ac-footer h2,
.ac-footer h3 {
	color: var(--ac-chalk);
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	margin-bottom: 1rem;
}

.ac-footer .ac-legal {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	font-size: 0.8rem;
	color: #8794ab;
}

/* =========================================================================
   11. ACCESSIBILITE ET CONFORT
   ========================================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 3px solid var(--ac-gold);
	outline-offset: 2px;
}

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

/* =========================================================================
   12. RESTES DE L'ANCIEN CONSTRUCTEUR
   Masque les shortcodes Divi non interpretes tant que les pages n'ont pas
   ete reecrites. A supprimer une fois le contenu repris.
   ========================================================================= */

.ac-hide-legacy .entry-content > p:first-child:not(:has(*)) {
	display: none;
}


/* =========================================================================
   13. CORRECTIONS v1.1
   ========================================================================= */

/* Plus de bande blanche entre la cote et la grande image */
main.wp-block-group > *:first-child,
.wp-site-blocks > main > *:first-child {
	margin-block-start: 0 !important;
}

/* Barre de rayons sous l'en-tete */
.ac-catnav {
	background: var(--ac-navy-deep);
	padding-block: 0.6rem;
}

.ac-catnav ul {
	list-style: none;
	margin: 0 auto;
	padding: 0 1.5rem;
	max-width: 1280px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.6rem;
	justify-content: center;
}

.ac-catnav a {
	color: #cfd6e4;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	padding-block: 0.25rem;
	border-bottom: 2px solid transparent;
	display: block;
}

.ac-catnav a:hover,
.ac-catnav a:focus-visible {
	color: var(--ac-chalk);
	border-bottom-color: var(--ac-red);
}

/* Rayons : vignettes de categories */
.ac-rayons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-rayon {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--ac-navy);
	aspect-ratio: 4 / 5;
	text-decoration: none;
}

.ac-rayon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.62;
	transition: opacity 0.25s ease, transform 0.35s ease;
}

.ac-rayon:hover img,
.ac-rayon:focus-visible img {
	opacity: 0.45;
	transform: scale(1.04);
}

.ac-rayon__texte {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.1rem 1.1rem 1.2rem;
	background: linear-gradient(to top, rgba(11, 21, 38, 0.92), transparent);
}

.ac-rayon__nom {
	display: block;
	font-family: "Archivo Black", sans-serif;
	text-transform: uppercase;
	color: var(--ac-chalk);
	font-size: 1.05rem;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.ac-rayon__nb {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ac-gold);
}

/* Quatre produits par ligne au maximum */
@media (min-width: 1100px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(4, 1fr);
	}
}


/* =========================================================================
   14. v1.3 — Rayons dans l'en-tete, tailles
   ========================================================================= */

/* La barre de rayons vit maintenant dans la ligne principale de l'en-tete */
.ac-header .ac-catnav {
	background: transparent;
	padding: 0;
	flex: 1 1 auto;
}

.ac-header .ac-catnav ul {
	padding: 0;
	justify-content: center;
	gap: 0.3rem 1.15rem;
}

.ac-header .ac-catnav a {
	color: var(--ac-chalk);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
}

.ac-header .ac-catnav a:hover,
.ac-header .ac-catnav a:focus-visible {
	color: var(--ac-gold);
	border-bottom-color: var(--ac-gold);
}

.ac-header__liens { flex: 0 0 auto; }

@media (max-width: 900px) {
	.ac-header .ac-catnav ul { justify-content: flex-start; }
}

/* Tailles sous chaque produit de la grille */
.ac-tailles {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-top: 0.6rem;
}

.ac-taille {
	display: inline-block;
	min-width: 2.1rem;
	padding: 0.28rem 0.45rem;
	text-align: center;
	font-family: "Archivo", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ac-slate);
	border: 1px solid #d5dae3;
	text-decoration: none;
	transition: all 0.15s ease;
}

.ac-taille:hover,
.ac-taille:focus-visible {
	color: var(--ac-chalk);
	background: var(--ac-navy);
	border-color: var(--ac-navy);
}

/* Tailles en boutons sur la fiche produit */
.ac-select-masque {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ac-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.2rem 0 0.4rem;
}

.ac-swatch {
	min-width: 2.9rem;
	padding: 0.6rem 0.7rem;
	background: transparent;
	border: 2px solid #d5dae3;
	border-radius: 0;
	font-family: "Archivo", sans-serif;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ac-navy-deep);
	cursor: pointer;
	transition: all 0.15s ease;
}

.ac-swatch:hover { border-color: var(--ac-navy); }

.ac-swatch.est-actif {
	background: var(--ac-navy);
	border-color: var(--ac-navy);
	color: var(--ac-chalk);
}


/* =========================================================================
   15. v1.4 — Mise en page de l'en-tete et menu mobile
   ========================================================================= */

.ac-header { position: relative; }

/* Trois zones fixes : logo a gauche, rayons au centre, compte a droite.
   Fini l'empilement des liens sous le logo. */
.ac-header > .wp-block-group > .wp-block-group.alignwide {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem 1.5rem;
}

.ac-header .ac-catnav { min-width: 0; }

.ac-header__liens {
	justify-self: end;
	gap: 1.1rem;
	white-space: nowrap;
}

/* Bouton hamburger : masque sur grand ecran */
.ac-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.ac-burger__barres {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 16px;
}

.ac-burger__barres span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--ac-chalk);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ac-catnav.est-ouvert .ac-burger__barres span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ac-catnav.est-ouvert .ac-burger__barres span:nth-child(2) { opacity: 0; }
.ac-catnav.est-ouvert .ac-burger__barres span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Texte reserve aux lecteurs d'ecran */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 980px) {
	.ac-header > .wp-block-group > .wp-block-group.alignwide {
		grid-template-columns: auto 1fr auto;
	}

	/* Le hamburger passe a gauche, le compte reste a droite */
	.ac-header .ac-catnav { order: -1; }

	.ac-burger { display: flex; }

	.ac-header .ac-catnav ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 40;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0.5rem 0;
		background: var(--ac-navy-deep);
		border-top: 3px solid var(--ac-red);
		box-shadow: 0 18px 32px rgba(11, 21, 38, 0.28);
	}

	.ac-header .ac-catnav.est-ouvert ul { display: flex; }

	.ac-header .ac-catnav ul li { width: 100%; }

	.ac-header .ac-catnav ul a {
		display: block;
		width: 100%;
		padding: 0.85rem 1.5rem;
		font-size: 0.8rem;
		border-bottom: 0;
		border-left: 3px solid transparent;
	}

	.ac-header .ac-catnav ul a:hover,
	.ac-header .ac-catnav ul a:focus-visible {
		background: rgba(255, 255, 255, 0.06);
		border-left-color: var(--ac-red);
		border-bottom-color: transparent;
	}

	.ac-header .wp-block-site-title a { font-size: 1.05rem; }

	.ac-header__liens p { margin: 0; }
}

@media (max-width: 600px) {
	.ac-header__liens { gap: 0.75rem; }
	.ac-header__liens p { font-size: 0.72rem; }
}


/* =========================================================================
   16. v1.6 — Compte et panier toujours visibles, en haut a droite
   ========================================================================= */

.ac-header > .wp-block-group > .wp-block-group.alignwide > .ac-header__liens {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	align-self: center;
	display: flex;
	flex-wrap: nowrap;
}

.ac-header__liens p {
	margin: 0;
	white-space: nowrap;
}


/* =========================================================================
   17. v1.7 — Chargement continu
   ========================================================================= */

.ac-pagination-masquee { display: none; }

.ac-chargement {
	display: none;
	margin: 2rem 0 0;
	text-align: center;
	font-family: "Archivo", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ac-slate);
}


/* =========================================================================
   18. v1.9 — En-tete centre, icones, image d'accueil sans texte sur mobile
   ========================================================================= */

.ac-header {
	position: relative;
	padding-block: 0.85rem 0;
}

/* Barre principale : bouton a gauche, marque au centre, icones a droite */
.ac-header__barre {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.ac-header__barre > .ac-burger { justify-self: start; }
.ac-header__marque { justify-self: center; text-align: center; }
.ac-header__barre > .ac-icones { justify-self: end; }

.ac-header .wp-block-site-title a {
	font-size: 1.15rem;
	letter-spacing: -0.01em;
}

.ac-header__marque .wp-block-site-logo { margin-inline: auto; }

/* Icones compte et panier */
.ac-icones {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.ac-icone {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--ac-chalk);
	text-decoration: none;
}

.ac-icone svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ac-icone:hover { color: var(--ac-gold); }

.ac-icone__compteur {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--ac-red);
	color: var(--ac-chalk);
	font-family: "Archivo", sans-serif;
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}

.ac-icone__compteur.est-vide { display: none; }

/* Rangee des rayons, centree sous la marque */
.ac-header .ac-catnav {
	background: transparent;
	padding: 0.55rem 1.5rem 0.85rem;
	margin-top: 0.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ac-header .ac-catnav ul {
	max-width: 1400px;
	margin-inline: auto;
	padding: 0;
	justify-content: center;
	gap: 0.3rem 1.35rem;
}

.ac-burger { display: none; }

/* --- Mobile --- */
@media (max-width: 980px) {
	.ac-header { padding-block: 0.5rem 0.5rem; }

	.ac-header__barre { padding-inline: 0.85rem; }

	.ac-burger { display: flex; }

	.ac-header .wp-block-site-title a { font-size: 0.95rem; }

	.ac-header .ac-catnav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 40;
		margin: 0;
		padding: 0.4rem 0;
		background: var(--ac-navy-deep);
		border-top: 3px solid var(--ac-red);
		box-shadow: 0 18px 32px rgba(11, 21, 38, 0.32);
	}

	.ac-header.est-ouvert .ac-catnav { display: block; }

	.ac-header .ac-catnav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
}

/* =========================================================================
   19. v2.0 — Texte de presentation des rayons
   ========================================================================= */

.ac-texte-rayon {
	margin-top: 4rem;
	padding: 3rem 1.5rem;
	background: var(--ac-fog);
	border-top: 3px solid var(--ac-navy);
}

.ac-texte-rayon__contenu {
	max-width: 760px;
	margin-inline: auto;
}

.ac-texte-rayon h2 {
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	margin-bottom: 1.2rem;
}

.ac-texte-rayon p {
	margin-bottom: 1rem;
	font-size: 0.95rem;
	line-height: 1.75;
	color: #2c3546;
}

.ac-texte-rayon p:last-child { margin-bottom: 0; }


/* =========================================================================
   20. v2.1 — Carrousel d'accueil
   ========================================================================= */

.ac-slider {
	position: relative;
	width: 100%;
	min-height: 76vh;
	overflow: hidden;
	background: var(--ac-navy-deep);
	display: flex;
	align-items: center;
}

.ac-slider__images {
	position: absolute;
	inset: 0;
}

.ac-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.1s ease-in-out;
}

.ac-slide.est-active { opacity: 1; }

.ac-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
}

.ac-slider__voile {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(11, 21, 38, 0.86) 0%,
		rgba(11, 21, 38, 0.62) 42%,
		rgba(11, 21, 38, 0.28) 100%
	);
}

.ac-slider__contenu {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding: 3rem 1.5rem;
	color: var(--ac-chalk);
}

.ac-slider__contenu h1 {
	color: var(--ac-chalk);
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	margin: 0 0 1.2rem;
}

.ac-slider__accroche {
	max-width: 34rem;
	font-size: clamp(1rem, 1.6vw, 1.25rem);
	line-height: 1.55;
	margin-bottom: 1.8rem;
}

.ac-slider__boutons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.ac-bouton {
	display: inline-block;
	padding: 0.95em 2em;
	background: var(--ac-red);
	color: var(--ac-chalk);
	border: 2px solid var(--ac-red);
	border-radius: 2px;
	font-family: "Archivo", sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.18s ease;
}

.ac-bouton:hover {
	background: var(--ac-chalk);
	border-color: var(--ac-chalk);
	color: var(--ac-navy);
}

.ac-bouton--clair {
	background: transparent;
	border-color: var(--ac-chalk);
}

.ac-bouton--clair:hover {
	background: var(--ac-chalk);
	color: var(--ac-navy);
}

/* Pastilles */
.ac-slider__points {
	position: absolute;
	z-index: 3;
	bottom: 1.6rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.6rem;
}

.ac-point {
	width: 34px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.38);
	cursor: pointer;
	transition: background 0.2s ease;
}

.ac-point:hover { background: rgba(255, 255, 255, 0.65); }
.ac-point.est-active { background: var(--ac-gold); }

/* Mobile : image nue, texte en dessous */
@media (max-width: 781px) {
	.ac-slider { min-height: 58vh; }
	.ac-slider__contenu { display: none; }
	.ac-slider__voile {
		background: linear-gradient(to bottom, rgba(11, 21, 38, 0.12), rgba(11, 21, 38, 0.28));
	}
	.ac-slider__points { bottom: 1rem; }
	.ac-point { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.ac-slide { transition: none; }
}


/* =========================================================================
   21. v2.2 — Carrousel pleine largeur, deux lignes, intro sous l'image
   ========================================================================= */

/* Le carrousel sort de la largeur de contenu et occupe tout l'ecran */
.ac-slider {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 68vh;
	align-items: flex-end;
}

/* Voile leger : l'image doit rester lisible, il n'y a presque plus de texte */
.ac-slider__voile {
	background: linear-gradient(
		to top,
		rgba(11, 21, 38, 0.72) 0%,
		rgba(11, 21, 38, 0.28) 32%,
		rgba(11, 21, 38, 0.06) 62%,
		rgba(11, 21, 38, 0.14) 100%
	);
}

.ac-slider__contenu {
	padding: 0 1.5rem 3.6rem;
	max-width: 1280px;
}

.ac-slider__ligne1 {
	margin: 0 0 0.35rem;
	font-family: "Archivo", sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ac-gold);
}

.ac-slider__ligne2 {
	margin: 0;
	font-family: "Archivo Black", sans-serif;
	font-size: clamp(1.1rem, 2.2vw, 1.7rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--ac-chalk);
	text-shadow: 0 2px 18px rgba(11, 21, 38, 0.55);
}

/* Bloc de presentation, sous le carrousel, visible partout */
.ac-hero-intro {
	padding: 3.2rem 1.5rem 3.4rem;
	text-align: center;
	background: var(--ac-chalk);
}

.ac-hero-intro h1 {
	font-size: clamp(1.9rem, 4.4vw, 3.2rem);
	margin: 0 auto 1.1rem;
	max-width: 20ch;
}

.ac-hero-intro p {
	max-width: 56ch;
	margin: 0 auto 1.8rem;
	font-size: clamp(0.95rem, 1.4vw, 1.1rem);
	line-height: 1.65;
	color: #2c3546;
}

.ac-hero-intro .wp-block-buttons { justify-content: center; }

.ac-hero-intro .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ac-navy);
	border: 2px solid var(--ac-navy);
}

.ac-hero-intro .is-style-outline .wp-block-button__link:hover {
	background: var(--ac-navy);
	color: var(--ac-chalk);
}

@media (max-width: 781px) {
	.ac-slider { min-height: 52vh; }
	.ac-slider__contenu { padding: 0 1.1rem 2.6rem; }
	.ac-hero-intro { padding: 2.4rem 1.25rem 2.6rem; }
	.ac-hero-intro .wp-block-button { width: 100%; }
	.ac-hero-intro .wp-block-button__link { width: 100%; text-align: center; }
	.ac-slider__points { bottom: 0.9rem; }
}


/* =========================================================================
   22. v2.3 — Enchainement plus rapide
   ========================================================================= */

.ac-slide { transition: opacity 0.75s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
	.ac-slide { transition: none; }
}
