
/* ---------------------------------------------------------------------------
 *  Échelle typographique et d'espacements — fondations communes à tous les blocs.
 *  Méthode Utopia : une échelle pour petit écran, une pour grand écran, et le
 *  navigateur interpole. Base 18 → 20 px, rapport 1,2 → 1,25.
 *  Le terme central des clamp() garde une part en rem : le zoom navigateur
 *  continue donc de fonctionner (accessibilité).
 * ------------------------------------------------------------------------- */

:root,
.editor-styles-wrapper {
	--at-text-2xs:  clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);      /* 13 → 13 px */
	--at-text-xs:   clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);        /* 15 → 16 px */
	--at-text-base: clamp(1.125rem,  1.0739rem + 0.2273vw, 1.25rem);     /* 18 → 20 px */
	--at-text-lg:   clamp(1.35rem,   1.2631rem + 0.3864vw, 1.5625rem);   /* 22 → 25 px */
	--at-text-xl:   clamp(1.62rem,   1.4837rem + 0.6057vw, 1.9531rem);   /* 26 → 31 px */
	--at-text-2xl:  clamp(1.944rem,  1.7405rem + 0.9044vw, 2.4414rem);   /* 31 → 39 px */
	--at-text-3xl:  clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);   /* 37 → 49 px */
	--at-text-4xl:  clamp(2.7994rem, 2.384rem  + 1.8461vw, 3.8147rem);   /* 45 → 61 px */

	--at-space-4xs: clamp(0.375rem,  0.358rem  + 0.0758vw, 0.4167rem);
	--at-space-3xs: clamp(0.2812rem, 0.2685rem + 0.0568vw, 0.3125rem);
	--at-space-2xs: clamp(0.5625rem, 0.5369rem + 0.1136vw, 0.625rem);
	--at-space-xs:  clamp(0.8438rem, 0.8054rem + 0.1705vw, 0.9375rem);
	--at-space-s:   clamp(1.125rem,  1.0739rem + 0.2273vw, 1.25rem);
	--at-space-m:   clamp(1.6875rem, 1.6108rem + 0.3409vw, 1.875rem);
	--at-space-l:   clamp(2.25rem,   2.1477rem + 0.4545vw, 2.5rem);
	--at-space-xl:  clamp(3.375rem,  3.2216rem + 0.6818vw, 3.75rem);
	--at-space-2xl: clamp(4.5rem,    4.2955rem + 0.9091vw, 5rem);
	--at-space-3xl: clamp(6.75rem,   6.4432rem + 1.3636vw, 7.5rem);

	/* Hauteurs de ligne : quatre valeurs, pas dix-neuf. */
	--at-lh-tight:   1.05;  /* très grands titres */
	--at-lh-snug:    1.15;  /* titres de section */
	--at-lh-normal:  1.5;   /* texte courant */
	--at-lh-relaxed: 1.65;  /* longs paragraphes */

	/* Largeur de lecture confortable. */
	--at-measure: 68ch;

	/* Traitement d'image unique pour tout le site : trois arrondis différents
	   d'un bloc à l'autre suffisent à faire « bricolé ». */
	--at-radius-media: calc( var(--atelier-radius, 4px) + 8px );
}
/**
 * Atelier — styles du bloc Hero.
 *
 * Chaque valeur pointe d'abord vers un token WordPress natif
 * (--wp--preset--color--at-*), avec une valeur de repli en dur.
 * Conséquence : le rendu reste correct même si le plugin est désactivé.
 */

.at-hero,
.at-services,
.at-about,
.at-testimonials,
.at-cta,
.at-showcase,
.at-gallery,
.at-pricing,
.at-form,
.at-reviews,
.at-faq,
.at-stats,
.at-steps,
.at-team,
.at-logos,
.at-split,
.at-quote,
.at-video,
.at-map,
.at-ba,
.at-announce,
.at-floatbtn,
.at-tabs,
.at-timeline,
.at-header,
.at-footer {
	/* Taille et interlignage de base : nos sections ne dépendent plus du thème
	   installé, qui impose parfois un corps de texte très grand ou très petit. */
	font-size: var(--at-text-base);
	line-height: var(--at-lh-normal);
	/* Mapping des tokens vers des variables locales courtes, avec fallback. */
	--bg:      var(--wp--preset--color--at-bg,      #F7F6F3);
	--surface: var(--wp--preset--color--at-surface, #FFFFFF);
	--ink:     var(--wp--preset--color--at-ink,     #171614);
	--muted:   var(--wp--preset--color--at-muted,   #66625B);
	--primary: var(--wp--preset--color--at-primary, #2D4A3E);
	--accent:  var(--wp--preset--color--at-accent,  #C08552);
	--line:    var(--wp--preset--color--at-line,    #E4E1DB);

	/* Typographie et arrondi : pilotés par la charte active, avec repli. */
	--display: var(--atelier-display, 'Fraunces', Georgia, 'Times New Roman', serif);
	--body: var(--atelier-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);

	--space: clamp(4.5rem, 3.4091rem + 4.5455vw, 7.5rem); /* 72 → 120 px, même logique que l'échelle */
	--radius: var(--atelier-radius, 2px);

	position: relative;
	box-sizing: border-box;
	background-color: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	overflow: clip;
}

.at-hero *,
.at-hero *::before,
.at-hero *::after,
.at-services *,
.at-services *::before,
.at-services *::after,
.at-about *,
.at-about *::before,
.at-about *::after,
.at-testimonials *,
.at-testimonials *::before,
.at-testimonials *::after,
.at-cta *,
.at-cta *::before,
.at-cta *::after,
.at-showcase *,
.at-showcase *::before,
.at-showcase *::after,
.at-gallery *,
.at-gallery *::before,
.at-gallery *::after,
.at-pricing *,
.at-pricing *::before,
.at-pricing *::after,
.at-form *,
.at-form *::before,
.at-form *::after,
.at-reviews *,
.at-reviews *::before,
.at-reviews *::after,
.at-faq *,.at-faq *::before,.at-faq *::after,
.at-stats *,.at-stats *::before,.at-stats *::after,
.at-steps *,.at-steps *::before,.at-steps *::after,
.at-team *,.at-team *::before,.at-team *::after,
.at-logos *,.at-logos *::before,.at-logos *::after,
.at-split *,.at-split *::before,.at-split *::after,
.at-quote *,.at-quote *::before,.at-quote *::after,
.at-video *,.at-video *::before,.at-video *::after,
.at-map *,.at-map *::before,.at-map *::after,
.at-ba *,.at-ba *::before,.at-ba *::after,
.at-announce *,.at-announce *::before,.at-announce *::after,
.at-floatbtn *,
.at-tabs *,.at-tabs *::before,.at-tabs *::after,
.at-timeline *,.at-timeline *::before,.at-timeline *::after,
.at-header *,
.at-header *::before,
.at-header *::after,
.at-footer *,
.at-footer *::before,
.at-footer *::after {
	box-sizing: border-box;
}

/**
 * Pleine largeur, quel que soit le thème.
 * Le fond couvre toute la fenêtre ; le contenu reste centré via .at-hero__inner.
 * Cette technique ne dépend pas du support « alignfull » du thème actif.
 */
.at-hero.alignfull,
.at-services.alignfull,
.at-about.alignfull,
.at-testimonials.alignfull,
.at-cta.alignfull,
.at-showcase.alignfull,
.at-gallery.alignfull,
.at-pricing.alignfull,
.at-form.alignfull,
.at-reviews.alignfull,
.at-faq.alignfull,.at-stats.alignfull,.at-steps.alignfull,.at-team.alignfull,.at-logos.alignfull,
.at-split.alignfull,.at-quote.alignfull,.at-video.alignfull,.at-map.alignfull,.at-ba.alignfull,
.at-announce.alignfull,.at-tabs.alignfull,.at-timeline.alignfull,
.at-header.alignfull,
.at-footer.alignfull {
	/* 100vw inclut la barre de défilement verticale : sous Windows, chaque
	   section débordait de 15 px et la page défilait horizontalement. La
	   largeur de cette barre est mesurée par front.js (--at-scrollbar) et
	   retirée ici ; sans script, on retombe sur le comportement d'origine. */
	width: calc( 100vw - var(--at-scrollbar, 0px) );
	max-width: calc( 100vw - var(--at-scrollbar, 0px) );
	margin-left: calc( 50% - ( 50vw - var(--at-scrollbar, 0px) / 2 ) );
	margin-right: calc( 50% - ( 50vw - var(--at-scrollbar, 0px) / 2 ) );
}

.at-hero__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-block: var(--space);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* --- Typographie commune --- */

.at-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-xs);
	margin: 0 0 1.25rem;
	font-family: var(--body);
	font-size: var(--at-text-2xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

/* La signature : un court filet accent après le sur-titre. */
.at-hero__eyebrow::after {
	content: '';
	width: 2.5rem;
	height: 1px;
	background-color: var(--accent);
	opacity: 0.7;
}

.at-hero__heading {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 400);
	font-size: var(--at-text-4xl);
	line-height: 1.04;
	letter-spacing: -0.015em;
	color: var(--ink);
	text-wrap: balance;
}

.at-hero__heading em {
	font-style: italic;
	color: var(--primary);
}

.at-hero__subheading {
	margin: 1.5rem 0 0;
	max-width: 46ch;
	font-size: var(--at-text-lg);
	line-height: 1.6;
	color: var(--muted);
}

/* --- Bouton --- */

.at-hero__button {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2xs);
	margin-top: 2.25rem;
	padding: 0.95rem 1.6rem;
	background-color: var(--primary);
	/* Encre calculée pour rester lisible sur la couleur principale, quelle que
	   soit la charte (claire ou sombre). */
	color: var(--at-on-primary, var(--surface));
	font-family: var(--body);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border-radius: var(--radius);
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.at-hero__button:hover {
	background-color: var(--ink);
}

.at-hero__button-arrow {
	display: inline-block;
	transition: transform 0.25s ease;
}

.at-hero__button:hover .at-hero__button-arrow {
	transform: translateX(4px);
}

/* --- Variante : Centré --- */

.at-hero--centered .at-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	/* Sans image, cette variante n'a pas besoin d'autant d'air : un espace mort
	   sous le bouton repousse hors de l'écran ce qui suit — souvent le
	   formulaire, c'est-à-dire l'objectif de la page. */
	padding-block: var(--space);
	padding-bottom: calc( var(--space) * 0.7 );
}

.at-hero--centered .at-hero__subheading {
	margin-inline: auto;
}

/* --- Variante : Texte + image --- */

.at-hero--split .at-hero__inner,
.at-hero--curtain .at-hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.at-hero--split .at-hero__media,
.at-hero--curtain .at-hero__media {
	position: relative;
}

.at-hero--split .at-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 34rem;
	object-fit: cover;
	border-radius: var(--radius);
}

/* --- Variante : Image plein cadre --- */

.at-hero--imagefull {
	color: rgba(255, 255, 255, 0.92);
}

.at-hero--imagefull .at-hero__inner {
	/* Volontairement non positionné : le fond (.at-hero__bg) se cale alors sur
	   la section entière et couvre toute la largeur de l'écran — vraie bannière.
	   S'il était « relative », le fond serait limité au conteneur centré (1200px)
	   et laisserait des bandes visibles sur les côtés. */
	position: static;
	min-height: 100vh;
	min-height: 100svh;
	padding-bottom: clamp(3rem, 8vh, 6rem);
	display: flex;
	align-items: flex-end;
}

.at-hero--imagefull .at-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

/* Voile dégradé pour la lisibilité du texte. */
.at-hero--imagefull .at-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba(12, 14, 18, 0.94) 0%, rgba(12, 14, 18, 0.55) 38%, rgba(12, 14, 18, 0.15) 74%, rgba(12, 14, 18, 0.35) 100% );
}

.at-hero--imagefull .at-hero__overlay {
	position: relative;
	z-index: 1;
	max-width: 46rem;
}

.at-hero--imagefull .at-hero__heading {
	color: #FFFFFF;
	font-size: var(--at-text-4xl);
	letter-spacing: -0.02em;
	line-height: 1.04;
}

.at-hero--imagefull .at-hero__heading em {
	color: var(--accent);
}

.at-hero--imagefull .at-hero__subheading {
	color: rgba(255, 255, 255, 0.88);
}

/* --- Responsive --- */

@media ( max-width: 782px ) {
	.at-hero--split .at-hero__inner,
	.at-hero--curtain .at-hero__inner {
		grid-template-columns: 1fr;
	}

	.at-hero--split .at-hero__media {
		order: -1;
	}

	.at-hero--split .at-hero__image {
		max-height: 22rem;
	}
}

/* --- Accessibilité : mouvement réduit --- */

@media ( prefers-reduced-motion: reduce ) {
	.at-hero__button,
	.at-hero__button-arrow {
		transition: none;
	}
}

/* ===========================================================================
   Bloc Services
   =========================================================================== */

.at-services__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-block: var(--space);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* --- En-tête de section --- */

.at-services__header {
	max-width: 620px;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}

.at-services__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-xs);
	margin: 0 0 1rem;
	font-family: var(--body);
	font-size: var(--at-text-2xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.at-services__eyebrow::after {
	content: '';
	width: 2.5rem;
	height: 1px;
	background-color: var(--accent);
	opacity: 0.7;
}

.at-services__heading {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 400);
	font-size: var(--at-text-3xl);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-wrap: balance;
}

.at-services__heading em {
	font-style: italic;
	color: var(--primary);
}

.at-services__intro {
	margin: 1rem auto 0;
	max-width: 52ch;
	color: var(--muted);
	font-size: var(--at-text-lg);
	line-height: 1.6;
}

/* --- Grille --- */

.at-services__grid {
	display: grid;
	gap: var(--at-space-m);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.at-services__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.25rem;
	color: var(--accent);
}

.at-services__item-title {
	margin: 0 0 0.6rem;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 400);
	font-size: var(--at-text-lg);
	line-height: 1.25;
	color: var(--ink);
}

.at-services__item-desc {
	margin: 0;
	color: var(--muted);
	font-size: var(--at-text-base);
	line-height: 1.6;
}

/* --- Variante : Cartes --- */

.at-services--cards .at-services__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem 1.75rem;
}

/* --- Variante : Épuré --- */

.at-services--plain .at-services__item {
	padding: 0.25rem 0;
}

/* --- Variante : Liste --- */

.at-services--list .at-services__grid {
	grid-template-columns: 1fr;
	gap: 0;
	max-width: 780px;
	margin-inline: auto;
}

.at-services--list .at-services__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5rem;
	align-items: start;
	padding: 1.75rem 0;
	border-top: 1px solid var(--line);
}

.at-services--list .at-services__item:last-child {
	border-bottom: 1px solid var(--line);
}

.at-services--list .at-services__icon {
	margin: 0;
	flex: none;
	background: color-mix(in srgb, var(--accent) 12%, transparent);
	border-radius: 999px;
}

/* ===========================================================================
   Bouton partagé (À propos, CTA…)
   =========================================================================== */

.at-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-2xs);
	padding: 0.95rem 1.6rem;
	background-color: var(--primary);
	color: var(--surface);
	font-family: var(--body);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border-radius: var(--radius);
	transition: background-color 0.25s ease;
}

.at-btn:hover { background-color: var(--ink); color: var(--bg); }
.at-btn__arrow { display: inline-block; transition: transform 0.25s ease; }
.at-btn:hover .at-btn__arrow { transform: translateX(4px); }

@media ( prefers-reduced-motion: reduce ) {
	.at-btn, .at-btn__arrow { transition: none; }
}

/* ===========================================================================
   Bloc À propos
   =========================================================================== */

.at-about__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-block: var(--space);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
}

.at-about--imageleft .at-about__media {
	border-radius: var(--at-radius-media); order: -1; }

.at-about__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-xs);
	margin: 0 0 1.1rem;
	font-family: var(--body);
	font-size: var(--at-text-2xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.at-about__eyebrow::after {
	content: '';
	width: 2.5rem;
	height: 1px;
	background-color: var(--accent);
	opacity: 0.7;
}

.at-about__heading {
	margin: 0 0 1.25rem;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 400);
	font-size: var(--at-text-3xl);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-wrap: balance;
}

.at-about__heading em { font-style: italic; color: var(--primary); }

.at-about__body {
	color: var(--muted);
	font-size: var(--at-text-base);
	line-height: 1.7;
}

.at-about__body p { margin: 0 0 1rem; }
.at-about__body p:last-child { margin-bottom: 0; }

.at-about__text .at-btn { margin-top: 2rem; }

.at-about__image {
	display: block;
	width: 100%;
	max-height: 32rem;
	object-fit: cover;
	border-radius: var(--radius);
}

.at-about__media--empty {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: color-mix(in srgb, var(--accent) 10%, var(--surface));
	border-radius: var(--radius);
}

@media ( max-width: 782px ) {
	.at-about__inner { grid-template-columns: 1fr; }
	.at-about--imageleft .at-about__media,
	.at-about__media { order: -1; }
}

/* ===========================================================================
   Bloc Témoignages
   =========================================================================== */

.at-testimonials__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-block: var(--space);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.at-testimonials__header {
	max-width: 620px;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}

.at-testimonials__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--at-space-xs);
	margin: 0 0 1rem;
	font-family: var(--body);
	font-size: var(--at-text-2xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.at-testimonials__eyebrow::after {
	content: '';
	width: 2.5rem;
	height: 1px;
	background-color: var(--accent);
	opacity: 0.7;
}

.at-testimonials__heading {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 400);
	font-size: var(--at-text-3xl);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-wrap: balance;
}

.at-testimonials__grid {
	display: grid;
	gap: var(--at-space-m);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.at-testimonials__item {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: var(--at-space-s);
}

.at-testimonials__stars { display: inline-flex; gap: 3px; color: var(--accent); }
.at-testimonials__star { display: inline-flex; }

.at-testimonials__quote {
	margin: 0;
	border: 0;
	padding: 0;
	font-family: var(--display);
	font-size: 1.2rem;
	line-height: 1.5;
	color: var(--ink);
}

.at-testimonials__caption { margin-top: auto; }
.at-testimonials__author { margin: 0; font-weight: 600; color: var(--ink); }
.at-testimonials__role { margin: 0.1rem 0 0; font-size: 0.92rem; color: var(--muted); }

/* Variante Vedette : une colonne, citations larges et centrées. */
.at-testimonials--feature .at-testimonials__grid {
	grid-template-columns: 1fr;
	max-width: 760px;
	margin-inline: auto;
	gap: 2rem;
}

.at-testimonials--feature .at-testimonials__item {
	background: transparent;
	border: 0;
	padding: 0;
	text-align: center;
	align-items: center;
}

.at-testimonials--feature .at-testimonials__quote {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	line-height: 1.4;
}

/* ===========================================================================
   Bloc CTA
   =========================================================================== */

.at-cta__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-block: var(--space);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.at-cta__heading {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 400);
	font-size: var(--at-text-3xl);
	line-height: 1.12;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.at-cta__subtext {
	margin: 1rem 0 0;
	font-size: var(--at-text-lg);
	line-height: 1.6;
}

/* --- Variante Bandeau : fond primaire, texte clair, centré --- */
.at-cta--band { background-color: var(--primary); }
.at-cta--band .at-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
}
.at-cta--band .at-cta__heading { color: var(--at-on-primary, var(--surface)); }
.at-cta--band .at-cta__subtext { color: color-mix( in srgb, var(--at-on-primary, #FFFFFF) 85%, transparent ); margin-inline: auto; max-width: 46ch; }
/* Sur un aplat de couleur, le bouton se calcule depuis la couleur de marque :
   « surface » vaut blanc sur charte claire mais bleu nuit sur charte sombre. */
.at-cta--band .at-btn {
	background-color: var(--at-on-primary, var(--surface));
	/* Teinte de marque légèrement foncée : beaucoup de rouges et d'orangés
	   n'atteignent pas le contraste requis sur blanc à leur valeur d'origine. */
	color: color-mix( in srgb, var(--primary) 86%, #000000 );
}
.at-cta--band .at-btn:hover { background-color: var(--accent); color: var(--at-on-accent, #FFFFFF); }

/* --- Variante Encadré : carte surface centrée sur le fond --- */
.at-cta--boxed .at-cta__inner {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	max-width: 900px;
	padding: clamp(2.5rem, 5vw, 4rem);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1.75rem;
}
.at-cta--boxed .at-cta__heading { color: var(--ink); }
.at-cta--boxed .at-cta__subtext { color: var(--muted); margin-inline: auto; max-width: 46ch; }

/* --- Variante Split : texte à gauche, bouton à droite --- */
.at-cta--split .at-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.at-cta--split .at-cta__heading { color: var(--ink); }
.at-cta--split .at-cta__subtext { color: var(--muted); }
.at-cta--split .at-btn { flex: none; }

@media ( max-width: 600px ) {
	.at-cta--split .at-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ===========================================================================
   Bloc En-tête (Header)
   =========================================================================== */

.at-header {
	/* --at-header-bg : couleur de fond dédiée (optionnelle). Vide = charte. */
	background: var(--at-header-bg, color-mix(in srgb, var(--surface) 82%, transparent));
	--ink: var(--at-header-ink, var(--wp--preset--color--at-ink, #171614));
	color: var(--ink);
	/* --at-header-blur : flou "verre dépoli" activé selon la finition choisie. */
	-webkit-backdrop-filter: var(--at-header-blur, none);
	backdrop-filter: var(--at-header-blur, none);
	border-bottom: 1px solid transparent;
}

.at-header--sticky {
	position: sticky;
	top: 0;
	z-index: 100;
	-webkit-backdrop-filter: saturate(1.1) blur(10px);
	backdrop-filter: saturate(1.1) blur(10px);
	transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.at-header--sticky.is-scrolled {
	background: var(--at-header-bg, color-mix(in srgb, var(--surface) 96%, transparent));
	border-bottom-color: var(--line);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.at-header__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: 0.9rem clamp(1.25rem, 5vw, 4rem);
	display: flex;
	align-items: center;
	gap: 2rem;
}

.at-header__brand {
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 500);
	font-size: 1.35rem;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-decoration: none;
}

.at-header__logo {
	display: block;
	/* Hauteur réglable depuis Menu & Pied de page : un logo large et bas a
	   besoin de plus de place qu'un logo carré pour rester lisible. */
	max-height: var(--at-logo-h, 52px);
	width: auto;
}

.at-header__nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin-left: auto;
}

.at-header__link {
	font-family: var(--body);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.at-header__link:hover {
	opacity: 1;
	color: var(--primary);
}

.at-header__actions {
	display: flex;
	align-items: center;
	gap: var(--at-space-s);
}

.at-header__cta {
	padding: 0.6rem 1.15rem;
	font-size: 0.9rem;
	/* Un libellé un peu long se cassait sur trois lignes dans l'en-tête. */
	white-space: nowrap;
}

.at-header__toggle {
	display: none;
	background: none;
	border: 0;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--ink);
	cursor: pointer;
	padding: 0.25rem;
}

@media ( max-width: 860px ) {
	.at-header__nav {
		display: none;
	}
	.at-header.is-open .at-header__nav {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--at-space-s);
		padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
		background: var(--surface);
		border-bottom: 1px solid var(--line);
	}
	.at-header__inner {
		position: relative;
	}
	.at-header__toggle {
		display: block;
	}
	.at-header__nav {
		margin-left: 0;
	}
}

/* ===========================================================================
   Bloc Pied de page (Footer)
   =========================================================================== */

/* Le pied de page suit le fond de la charte (comme les sections),
   au lieu de s'inverser. Garantit un rendu correct sur charte sombre. */
.at-footer {
	/* --at-footer-bg : couleur de fond dédiée (optionnelle). Vide = charte. */
	background: var(--at-footer-bg, var(--bg));
	--ink: var(--at-footer-ink, var(--wp--preset--color--at-ink, #171614));
	color: var(--ink);
}

.at-footer__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem) 2rem;
}

.at-footer__top {
	display: grid;
	/* La marque garde une largeur raisonnable ; le reste va aux colonnes,
	   pour qu'elles tiennent sur une seule ligne même à quatre. */
	grid-template-columns: minmax(240px, 380px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	padding-bottom: 2.5rem;
	border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.at-footer__brand-col { max-width: 380px; }

.at-footer__brand {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 500);
	font-size: 1.5rem;
	color: var(--ink);
}

.at-footer__tagline {
	margin: 0.6rem 0 0;
	font-size: 0.98rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--ink) 72%, transparent);
	max-width: 34ch;
}

.at-footer__contact {
	margin-top: 1.25rem;
	/* Téléphone et e-mail côte à côte : trois lignes empilées donnaient un bloc
	   inutilement haut. L'adresse, plus longue, garde sa propre ligne. */
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 1.25rem;
}
.at-footer__contact-row:first-child { flex-basis: 100%; }

.at-footer__contact-row {
	margin: 0;
	font-size: var(--at-text-xs);
	color: color-mix(in srgb, var(--ink) 72%, transparent);
}

.at-footer__cols {
	display: grid;
	/* « auto-fit » créait des colonnes fantômes qui étiraient la seule colonne
	   présente sur toute la largeur. On s'adapte au nombre réel de colonnes. */
	grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
	justify-content: start;
	gap: clamp(1.5rem, 3vw, 3.5rem);
	align-items: start;
}

.at-footer__col-title {
	margin: 0 0 0.9rem;
	text-wrap: balance;
	font-family: var(--body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.at-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.at-footer__list li {
	margin: 0.5rem 0;
}

.at-footer__link {
	font-size: 0.95rem;
	color: color-mix(in srgb, var(--ink) 80%, transparent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.at-footer__link:hover {
	color: var(--ink);
}

.at-footer__bottom {
	padding-top: 1.75rem;
}

.at-footer__copy {
	margin: 0;
	font-size: var(--at-text-xs);
	color: color-mix(in srgb, var(--ink) 60%, transparent);
}

/* Écrans intermédiaires : la marque passe au-dessus, les colonnes gardent
   toute la largeur et restent alignées. */
@media ( max-width: 1080px ) {
	.at-footer__top {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}

@media ( max-width: 640px ) {
	.at-footer__cols {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.75rem 1.25rem;
	}
}

/* ===========================================================================
   Bloc Vitrine (Showcase) — cartes avec photos
   =========================================================================== */

.at-showcase {
	background: var(--bg);
	color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}

.at-showcase__inner {
	max-width: 1200px;
	margin-inline: auto;
}

.at-showcase__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.at-showcase__eyebrow {
	margin: 0 0 0.75rem;
	font-family: var(--body);
	font-size: var(--at-text-2xs);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.at-showcase__heading {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 500);
	font-size: var(--at-text-3xl);
	line-height: 1.1;
	color: var(--ink);
}

.at-showcase__intro {
	margin: 1rem 0 0;
	font-size: var(--at-text-base);
	line-height: 1.6;
	color: var(--muted);
}

.at-showcase__grid {
	display: grid;
	gap: var(--at-space-l);
	grid-template-columns: repeat(3, 1fr);
}

.at-showcase--wide .at-showcase__grid {
	grid-template-columns: repeat(2, 1fr);
}

@media ( max-width: 900px ) {
	.at-showcase__grid,
	.at-showcase--wide .at-showcase__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media ( max-width: 600px ) {
	.at-showcase__grid,
	.at-showcase--wide .at-showcase__grid {
		grid-template-columns: 1fr;
	}
}

.at-showcase__card {
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s ease;
}

.at-showcase__card:hover {
	transform: translateY(-5px);
}

.at-showcase__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--at-radius-media);
	background: color-mix(in srgb, var(--ink) 8%, var(--surface));
}

.at-showcase__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.at-showcase__card:hover .at-showcase__media img {
	transform: scale(1.05);
}

.at-showcase__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	color: var(--muted);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.at-showcase__body {
	padding: 1.15rem 0.2rem 0;
	display: flex;
	flex-direction: column;
	gap: var(--at-space-4xs);
	flex: 1;
}

.at-showcase__price {
	font-family: var(--body);
	font-weight: 600;
	font-size: var(--at-text-xs);
	color: var(--primary);
}

.at-showcase__title {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 500);
	font-size: var(--at-text-lg);
	line-height: 1.25;
	color: var(--ink);
}

.at-showcase__desc {
	margin: 0;
	font-size: var(--at-text-base);
	line-height: 1.55;
	color: var(--muted);
}

.at-showcase__btn {
	align-self: flex-start;
	margin-top: 0.5rem;
}

/* Bouton fantôme (contour) pour les cartes. */
.at-btn--ghost {
	background: transparent;
	color: var(--primary);
	border: 1px solid var(--primary);
	padding: 0.55rem 1.1rem;
	font-size: 0.9rem;
}

.at-btn--ghost:hover {
	background: var(--primary);
	color: var(--at-on-primary, var(--surface));
}

/* ===========================================================================
   Animations : apparition au défilement + survol (progressive enhancement)
   =========================================================================== */

/* Le masquage ne s'applique QUE si le JS est actif (classe posée par front.js),
   pour ne jamais cacher le contenu si JavaScript est désactivé. */
.atelier-anim .at-reveal {
	/* Déplacement discret et transition longue : l'apparition doit se remarquer
	   à peine. Un mouvement ample déclenché tard donne l'impression d'un raté
	   d'affichage quand on fait défiler vite. */
	opacity: 0;
	transform: translateY(16px);
	transition: opacity calc(0.9s * var(--at-speed, 1)) cubic-bezier(0.16, 1, 0.3, 1), transform calc(0.9s * var(--at-speed, 1)) cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.atelier-anim .at-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Léger décalage en cascade des cartes lorsqu'une section apparaît. */
.atelier-anim .at-reveal.is-visible .at-showcase__card,
.atelier-anim .at-reveal.is-visible .at-services__card {
	animation: at-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.atelier-anim .at-reveal.is-visible .at-showcase__card:nth-child(2),
.atelier-anim .at-reveal.is-visible .at-services__card:nth-child(2) { animation-delay: 0.08s; }
.atelier-anim .at-reveal.is-visible .at-showcase__card:nth-child(3),
.atelier-anim .at-reveal.is-visible .at-services__card:nth-child(3) { animation-delay: 0.16s; }
.atelier-anim .at-reveal.is-visible .at-showcase__card:nth-child(4),
.atelier-anim .at-reveal.is-visible .at-services__card:nth-child(4) { animation-delay: 0.24s; }

@keyframes at-rise {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

/* Respect des préférences d'accessibilité. */
@media ( prefers-reduced-motion: reduce ) {
	.atelier-anim .at-reveal,
	.atelier-anim .at-reveal.is-visible .at-showcase__card,
	.atelier-anim .at-reveal.is-visible .at-services__card {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
}

/* ===========================================================================
   Bloc Comparateur d'offres (Pricing)
   =========================================================================== */

.at-pricing {
	background: var(--bg);
	color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}
.at-pricing__inner { max-width: 1160px; margin-inline: auto; }
.at-pricing__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.at-pricing__eyebrow { margin: 0 0 0.75rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-pricing__heading { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); line-height: 1.1; color: var(--ink); }
.at-pricing__intro { margin: 1rem 0 0; font-size: var(--at-text-base); line-height: 1.6; color: var(--muted); }

.at-pricing__grid {
	display: grid;
	gap: var(--at-space-m);
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	align-items: start;
}

.at-pricing__plan {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 8px );
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: var(--at-space-4xs);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.at-pricing__plan.is-featured {
	border-color: var(--primary);
	border-width: 2px;
	box-shadow: 0 20px 45px rgba(0,0,0,0.10);
}
.at-pricing__plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.10); }

.at-pricing__badge {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--primary); color: var(--at-on-primary, var(--surface));
	font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 0.3rem 0.85rem; border-radius: 999px;
}
.at-pricing__name { margin: 0; font-family: var(--body); font-size: var(--at-text-lg); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.at-pricing__price { margin: 0.3rem 0 0.6rem; }
.at-pricing__amount { font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 2.4rem; line-height: 1; color: var(--ink); }
.at-pricing__period { font-size: 0.95rem; color: var(--muted); }
.at-pricing__desc { margin: 0 0 0.6rem; font-size: var(--at-text-base); color: var(--muted); line-height: 1.5; }

.at-pricing__features { list-style: none; margin: 0 0 1.5rem; padding: 0.5rem 0 0; display: flex; flex-direction: column; gap: var(--at-space-2xs); border-top: 1px solid var(--line); }
.at-pricing__feature { display: flex; align-items: flex-start; gap: var(--at-space-2xs); font-size: 0.95rem; line-height: 1.4; color: var(--ink); }
.at-pricing__feature.is-out { color: var(--muted); opacity: 0.7; }
.at-pricing__check { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.at-pricing__feature.is-out .at-pricing__check { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--muted); }

.at-pricing__btn { margin-top: auto; text-align: center; justify-content: center; }

/* ===========================================================================
   Bloc Galerie (Gallery) + Lightbox
   =========================================================================== */

.at-gallery {
	background: var(--bg);
	color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}
.at-gallery__inner { max-width: 1200px; margin-inline: auto; }
.at-gallery__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.at-gallery__eyebrow { margin: 0 0 0.75rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-gallery__heading { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); line-height: 1.1; color: var(--ink); }
.at-gallery__intro { margin: 1rem 0 0; font-size: var(--at-text-base); line-height: 1.6; color: var(--muted); }

.at-gallery__grid { display: grid; gap: var(--at-space-2xs); grid-template-columns: repeat(var(--at-cols, 3), 1fr); }
.at-gallery--masonry .at-gallery__grid { display: block; columns: var(--at-cols, 3); column-gap: 0.85rem; }
.at-gallery--masonry .at-gallery__item { break-inside: avoid; margin-bottom: 0.85rem; }

.at-gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--at-radius-media); }
.at-gallery--grid .at-gallery__item { aspect-ratio: 1 / 1; }
.at-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform 0.5s ease; }
.at-gallery__item:hover .at-gallery__img { transform: scale(1.06); }
.at-gallery__placeholder { display: flex; align-items: center; justify-content: center; min-height: 160px; height: 100%; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.at-gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.5rem 0.9rem 0.7rem; font-size: var(--at-text-base); color: #fff; background: linear-gradient( to top, rgba(0,0,0,0.6), transparent ); opacity: 0; transition: opacity 0.3s ease; }
.at-gallery__item:hover .at-gallery__caption { opacity: 1; }

@media ( max-width: 600px ) {
	.at-gallery__grid { grid-template-columns: repeat(2, 1fr) !important; }
	.at-gallery--masonry .at-gallery__grid { columns: 2 !important; }
}

/* Lightbox (agrandissement au clic) */
.at-lightbox {
	position: fixed; inset: 0; z-index: 9999;
	background: rgba(10, 10, 12, 0.92);
	display: flex; align-items: center; justify-content: center;
	padding: 4vw; cursor: zoom-out;
	opacity: 0; transition: opacity 0.25s ease;
}
.at-lightbox.is-open { opacity: 1; }
.at-lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.at-lightbox__close { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 2rem; line-height: 1; background: none; border: 0; cursor: pointer; opacity: 0.8; }
.at-lightbox__close:hover { opacity: 1; }

/* ===========================================================================
   Bloc Formulaire (Form)
   =========================================================================== */

.at-form {
	background: var(--bg);
	color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}
.at-form__inner { max-width: 1100px; margin-inline: auto; }
.at-form__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.at-form__eyebrow { margin: 0 0 0.75rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-form__heading { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); line-height: 1.1; color: var(--ink); }
.at-form__intro { margin: 1rem 0 0; font-size: var(--at-text-base); line-height: 1.6; color: var(--muted); }

.at-form__cols { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.at-form--split .at-form__cols { grid-template-columns: 0.85fr 1.15fr; }
@media ( max-width: 780px ) { .at-form--split .at-form__cols { grid-template-columns: 1fr; } }

.at-form__info-title { margin: 0 0 0.75rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 1.5rem; color: var(--ink); }
.at-form__info-text { font-size: 1rem; line-height: 1.65; color: var(--muted); }
.at-form__info-text p { margin: 0 0 0.8rem; }

.at-form__form-wrap {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 8px );
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
.at-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--at-space-s); }
.at-form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.at-form__field--full { grid-column: 1 / -1; }
@media ( max-width: 520px ) { .at-form__fields { grid-template-columns: 1fr; } }

.at-form__label { font-family: var(--body); font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.at-form__req { color: var(--primary); }
.at-form__input {
	width: 100%;
	font-family: var(--body);
	font-size: 1rem;
	color: var(--ink);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 2px );
	padding: 0.7rem 0.85rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.at-form__input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
textarea.at-form__input { resize: vertical; min-height: 130px; }

.at-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.at-form__consent { display: flex; align-items: flex-start; gap: var(--at-space-2xs); margin: 1.1rem 0 0; font-size: 0.85rem; line-height: 1.45; color: var(--muted); }
.at-form__consent input { margin-top: 0.2rem; accent-color: var(--primary); }

.at-form__submit { margin-top: 1.2rem; width: 100%; justify-content: center; cursor: pointer; border: 0; }
.at-form__submit:disabled { opacity: 0.6; cursor: default; }

.at-form__status { margin-top: 0.8rem; font-size: 0.9rem; min-height: 1.2em; }
.at-form__status.is-error { color: #c0392b; }
.at-form__status.is-sending { color: var(--muted); }

.at-form__success {
	background: color-mix(in srgb, var(--primary) 10%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
	border-radius: calc( var(--atelier-radius, 4px) + 6px );
	padding: 1.5rem;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--ink);
	text-align: center;
}

/* ===========================================================================
   Bloc Avis clients (Reviews) + étoiles
   =========================================================================== */

.at-reviews {
	background: var(--bg);
	color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}
.at-reviews__inner { max-width: 1100px; margin-inline: auto; }
.at-reviews__head { text-align: center; max-width: 640px; margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); }
.at-reviews__eyebrow { margin: 0 0 0.75rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-reviews__heading { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); line-height: 1.1; color: var(--ink); }
.at-reviews__intro { margin: 1rem 0 0; font-size: var(--at-text-base); line-height: 1.6; color: var(--muted); }

/* Étoiles */
.at-stars { color: #f5a623; letter-spacing: 0.1em; font-size: 1.05rem; line-height: 1; }

.at-reviews__summary { display: flex; align-items: center; justify-content: center; gap: var(--at-space-2xs); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.at-reviews__summary:empty { display: none; }
.at-reviews__avg { font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 2rem; color: var(--ink); }
.at-reviews__summary .at-stars { font-size: 1.3rem; }
.at-reviews__count { font-size: 0.9rem; color: var(--muted); }

.at-reviews__list { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.at-reviews--list .at-reviews__list { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
@media ( max-width: 860px ) { .at-reviews__list { grid-template-columns: 1fr 1fr; } }
@media ( max-width: 560px ) { .at-reviews__list { grid-template-columns: 1fr; } }

.at-reviews__placeholder { grid-column: 1 / -1; text-align: center; color: var(--muted); font-style: italic; }

.at-reviews__card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 6px );
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: var(--at-space-2xs);
}
.at-reviews__text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.at-reviews__author { margin: 0; font-weight: 600; color: var(--ink); }
.at-reviews__date { font-size: var(--at-text-xs); color: var(--muted); }

/* Formulaire de dépôt */
.at-reviews__form-wrap {
	max-width: 640px;
	margin-inline: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 8px );
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.at-reviews__form-title { margin: 0 0 1.2rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 1.4rem; color: var(--ink); text-align: center; }

.at-reviews__rating-field { display: flex; flex-direction: column; gap: var(--at-space-4xs); }
.at-reviews__rating-label { font-family: var(--body); font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.at-stars--input { display: inline-flex; gap: 0.2rem; }
.at-stars__btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 1.8rem; line-height: 1; color: #d9d5cf; transition: color 0.12s ease, transform 0.12s ease; }
.at-stars__btn:hover { transform: scale(1.15); }
.at-stars__btn.is-on { color: #f5a623; }

/* ===========================================================================
   Blocs premium : FAQ, Chiffres, Process, Équipe, Logos
   =========================================================================== */

/* En-têtes communs */
.at-faq, .at-stats, .at-steps, .at-team, .at-logos {
	background: var(--bg); color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}
.at-faq__inner, .at-stats__inner, .at-steps__inner, .at-team__inner, .at-logos__inner { max-width: 1160px; margin-inline: auto; }
.at-faq__head, .at-steps__head, .at-team__head, .at-stats__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.at-faq__eyebrow, .at-steps__eyebrow, .at-team__eyebrow { margin: 0 0 0.75rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-faq__heading, .at-steps__heading, .at-team__heading, .at-stats__heading { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); line-height: 1.1; color: var(--ink); }
.at-faq__intro, .at-steps__intro, .at-team__intro { margin: 1rem 0 0; font-size: var(--at-text-base); line-height: 1.6; color: var(--muted); }

/* FAQ */
.at-faq__list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--at-space-2xs); }
.at-faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: calc( var(--atelier-radius, 4px) + 4px ); padding: 0 1.25rem; }
details.at-faq__item > summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-family: var(--body); font-weight: 600; font-size: var(--at-text-lg); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: var(--at-space-s); }
details.at-faq__item > summary::-webkit-details-marker { display: none; }
details.at-faq__item > summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.2s ease; }
details.at-faq__item[open] > summary::after { transform: rotate(45deg); }
.at-faq__a { margin: 0; padding: 0 0 1.1rem; color: var(--muted); line-height: 1.6; }
.at-faq__item .at-faq__q { margin: 0; } /* éditeur */

/* Chiffres clés */
.at-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.at-stats__value { font-family: var(--display); font-weight: var(--atelier-heading-weight, 600); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--primary); display: flex; align-items: baseline; justify-content: center; gap: 0.05em; }
.at-stats__label { margin: 0.6rem 0 0; font-size: 0.98rem; color: var(--muted); }

/* Process / étapes */
.at-steps__list { display: grid; gap: var(--at-space-m); }
.at-steps--horizontal .at-steps__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.at-steps__item { display: flex; gap: var(--at-space-s); align-items: flex-start; }
.at-steps--horizontal .at-steps__item { flex-direction: column; text-align: left; }
.at-steps__num { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--at-on-primary, var(--surface)); font-family: var(--display); font-weight: 600; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.at-steps__title { margin: 0 0 0.4rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-lg); color: var(--ink); }
.at-steps__desc { margin: 0; color: var(--muted); line-height: 1.55; }

/* Équipe */
.at-team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--at-space-m); }
.at-team__card { background: var(--surface); border: 1px solid var(--line); border-radius: calc( var(--atelier-radius, 4px) + 6px ); overflow: hidden; }
.at-team__media { aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); }
.at-team__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-team__media--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.at-team__body { padding: 1.25rem; }
.at-team__name { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-lg); color: var(--ink); }
.at-team__role { margin: 0.2rem 0 0; font-size: var(--at-text-xs); font-weight: 600; color: var(--primary); }
.at-team__bio { margin: 0.6rem 0 0; font-size: var(--at-text-base); color: var(--muted); line-height: 1.55; }

/* Bandeau de confiance */
.at-logos__heading { text-align: center; margin: 0 0 2rem; font-family: var(--body); font-size: var(--at-text-3xl); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.at-logos__track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.at-logos__item { display: flex; align-items: center; justify-content: center; }
.at-logos__img { max-height: 46px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s ease, opacity 0.2s ease; }
.at-logos__item:hover .at-logos__img { filter: grayscale(0); opacity: 1; }
.at-logos__name { font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 1.3rem; color: var(--muted); opacity: 0.8; }

/* Défilement continu */
.at-logos--marquee .at-logos__inner { overflow: hidden; }
.at-logos--marquee .at-logos__marquee { display: flex; width: max-content; animation: at-marquee 26s linear infinite; }
.at-logos--marquee .at-logos__track { flex-wrap: nowrap; padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.at-logos--marquee:hover .at-logos__marquee { animation-play-state: paused; }
@keyframes at-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media ( prefers-reduced-motion: reduce ) { .at-logos--marquee .at-logos__marquee { animation: none; flex-wrap: wrap; } }

/* ===========================================================================
   Blocs : Section alternée, Citation, Vidéo, Carte, Avant/Après
   =========================================================================== */

.at-split, .at-quote, .at-video, .at-map, .at-ba {
	background: var(--bg); color: var(--ink);
	padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}
.at-split__inner, .at-video__inner, .at-map__inner, .at-ba__inner { max-width: 1160px; margin-inline: auto; }

/* Section alternée */
.at-split__rows { display: flex; flex-direction: column; gap: var(--at-space-2xl); }
.at-split__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.at-split__row:nth-child(even) .at-split__media { order: 2; }
@media ( max-width: 760px ) { .at-split__row { grid-template-columns: 1fr; } .at-split__row:nth-child(even) .at-split__media { order: 0; } }
.at-split__media { border-radius: var(--at-radius-media); overflow: hidden; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); }
.at-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-split__media--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.at-split__eyebrow { margin: 0 0 0.6rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-split__title { margin: 0 0 0.8rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-2xl); line-height: 1.15; color: var(--ink); }
.at-split__text { margin: 0 0 1.2rem; font-size: var(--at-text-base); line-height: 1.65; color: var(--muted); }

/* Citation */
.at-quote__inner { max-width: 900px; margin-inline: auto; text-align: center; }
.at-quote__text { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.3; color: var(--ink); }
.at-quote__text::before { content: '\201C'; color: var(--primary); }
.at-quote__text::after { content: '\201D'; color: var(--primary); }
.at-quote__foot { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.15rem; }
.at-quote__author { font-weight: 600; color: var(--ink); }
.at-quote__role { font-size: 0.9rem; color: var(--muted); }

/* Vidéo */
.at-video__heading { text-align: center; margin: 0 0 1.5rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); color: var(--ink); }
.at-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--at-radius-media); overflow: hidden; background: #000; }
.at-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.at-video__frame--empty { display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); color: var(--muted); }
.at-video__caption { margin: 1rem 0 0; text-align: center; font-size: 0.9rem; color: var(--muted); }

/* Carte & accès */
.at-map__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.at-map__inner--noMap { grid-template-columns: 1fr; max-width: 640px; }
@media ( max-width: 760px ) { .at-map__inner { grid-template-columns: 1fr; } }
.at-map__heading { margin: 0 0 0.8rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); color: var(--ink); }
.at-map__intro { margin: 0 0 1.2rem; color: var(--muted); line-height: 1.6; }
.at-map__contact { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: var(--at-space-2xs); color: var(--ink); }
.at-map__contact a { color: var(--primary); text-decoration: none; }
.at-map__hours-title { margin: 0 0 0.5rem; font-weight: 600; color: var(--ink); }
.at-map__hours ul { list-style: none; margin: 0; padding: 0; }
.at-map__hours li { display: flex; justify-content: space-between; gap: var(--at-space-s); padding: 0.35rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.at-map__map { border-radius: calc( var(--atelier-radius, 4px) + 6px ); overflow: hidden; min-height: 320px; }
.at-map__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Avant / Après */
.at-ba__heading { text-align: center; margin: 0 0 1.5rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); color: var(--ink); }
.at-ba__stage { position: relative; overflow: hidden; border-radius: calc( var(--atelier-radius, 4px) + 6px ); user-select: none; cursor: ew-resize; --at-pos: 50%; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); }
.at-ba__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.at-ba__img--empty { display: flex; align-items: center; justify-content: center; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }
.at-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--at-pos)) 0 0); }
.at-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--at-pos); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.2); transform: translateX(-1px); }
.at-ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.3); display: flex; }
.at-ba__handle span::before, .at-ba__handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; }
.at-ba__handle span::before { left: 6px; border-right-color: var(--ink); transform: translateY(-50%); }
.at-ba__handle span::after { right: 6px; border-left-color: var(--ink); transform: translateY(-50%); }
.at-ba__tag { position: absolute; top: 12px; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.55); }
.at-ba__tag--before { left: 12px; }
.at-ba__tag--after { right: 12px; }

/* ===========================================================================
   Blocs : Bandeau d'annonce, Bouton flottant, Onglets, Chronologie
   =========================================================================== */

/* Bandeau d'annonce */
/* La bannière se cale SOUS l'en-tête collant (hauteur mesurée par front.js)
   et passe derrière lui : sinon elle recouvre les menus déroulants. */
.at-announce { position: sticky; top: var(--at-header-h, 0px); z-index: 90; background: var(--primary); color: var(--at-on-primary, #fff); }
.at-announce__inner { max-width: 1200px; margin-inline: auto; padding: 0.6rem 3rem 0.6rem 1.25rem; display: flex; align-items: center; justify-content: center; gap: var(--at-space-xs); flex-wrap: wrap; position: relative; font-size: 0.92rem; }
.at-announce__text { font-weight: 500; }
.at-announce__link { color: #fff; text-decoration: underline; font-weight: 600; }
.at-announce__close { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0.85; }
.at-announce__close:hover { opacity: 1; }

/* Bouton flottant */
.at-floatbtn-wrap { position: fixed; z-index: 300; }
.at-floatbtn--br { right: 20px; bottom: 20px; }
.at-floatbtn--bl { left: 20px; bottom: 20px; }
.at-floatbtn { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--primary); color: #fff; text-decoration: none; padding: 0.85rem 1.15rem; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 0.95rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.at-floatbtn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.32); }
.at-floatbtn--whatsapp { background: #25d366; }
.at-floatbtn--icononly { padding: 0.9rem; border-radius: 50%; }
.at-floatbtn__icon { flex: 0 0 auto; }
.at-floatbtn--edit { position: static !important; box-shadow: none; }
.at-floatbtn__badge { font-size: 11px; opacity: 0.7; margin-left: 8px; }

/* Onglets */
.at-tabs { background: var(--bg); color: var(--ink); padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem); }
.at-tabs__inner { max-width: 900px; margin-inline: auto; }
.at-tabs__heading { text-align: center; margin: 0 0 2rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); color: var(--ink); }
.at-tabs__nav { display: flex; flex-wrap: wrap; gap: var(--at-space-2xs); justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.at-tabs__tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0.7rem 1.1rem; font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease; }
.at-tabs__tab:hover { color: var(--ink); }
.at-tabs__tab.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.at-tabs__panel { display: none; font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.at-tabs__panel.is-active { display: block; animation: at-rise 0.4s ease both; }
.at-tabs__panel p { margin: 0 0 1rem; }

/* Chronologie */
.at-timeline { background: var(--bg); color: var(--ink); padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem); }
.at-timeline__inner { max-width: 760px; margin-inline: auto; }
.at-timeline__head { text-align: center; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.at-timeline__eyebrow { margin: 0 0 0.75rem; font-family: var(--body); font-size: var(--at-text-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.at-timeline__heading { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-3xl); line-height: 1.1; color: var(--ink); }
.at-timeline__intro { margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }
.at-timeline__list { position: relative; padding-left: 2rem; }
.at-timeline__list::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.at-timeline__item { position: relative; padding-bottom: 2rem; }
.at-timeline__item:last-child { padding-bottom: 0; }
.at-timeline__marker { position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.at-timeline__date { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.3rem; }
.at-timeline__title { margin: 0 0 0.4rem; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: var(--at-text-lg); color: var(--ink); }
.at-timeline__desc { margin: 0; color: var(--muted); line-height: 1.6; }

/* ===========================================================================
   Sous-menus (menu global)
   =========================================================================== */

/* L'en-tête doit laisser sortir le sous-menu : la règle générale
   « overflow: clip » appliquée à tous les blocs le découperait. */
.at-header { overflow: visible; }
.at-header__nav, .at-header__inner { overflow: visible; }

/* La hauteur de la barre est fixée par le bouton d'action. On déplace la marge
   verticale de la barre sur la marque et les actions, pour que la navigation
   occupe TOUTE la hauteur : les libellés restent alignés entre eux, et le
   sous-menu s'ouvre exactement sous l'en-tête. */
.at-header__inner { padding-block: 0; }
.at-header__brand,
.at-header__actions { padding-block: 0.9rem; }

.at-header__nav { align-self: stretch; align-items: stretch; }
.at-header__link { display: inline-flex; align-items: center; }

.at-header__item {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	align-self: stretch;
}
.at-header__item > .at-header__link { align-self: stretch; }
.at-header__caret {
	display: inline-block; width: 0; height: 0; margin-left: 0.35em;
	border-left: 4px solid transparent; border-right: 4px solid transparent;
	border-top: 5px solid currentColor; opacity: 0.65;
	transition: transform 0.15s ease;
}
.at-header__subtoggle { display: none; }

.at-header__sub {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 0.4rem 0;
	background: var(--surface);
	/* Le déroulant garde l'encre de la charte, même si le header a un fond custom. */
	--ink: var(--wp--preset--color--at-ink, #171614);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 4px );
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
	z-index: 60;
}
.at-header__item:hover > .at-header__sub,
.at-header__item:focus-within > .at-header__sub {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.at-header__item:hover > .at-header__link .at-header__caret { transform: rotate(180deg); }

.at-header__sublink {
	display: block;
	padding: 0.55rem 1rem;
	font-family: var(--body);
	font-size: 0.94rem;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.12s ease, color 0.12s ease;
}
.at-header__sublink:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary); }

@media ( max-width: 860px ) {
	.at-header__nav { align-self: auto; }
	.at-header.is-open .at-header__nav { align-items: flex-start; }
	.at-header__link { display: block; }
	.at-header__item { display: block; width: 100%; align-self: auto; }
	.at-header__caret { display: none; }
	.at-header__subtoggle {
		display: block;
		position: absolute; top: 0; right: 0;
		width: 40px; height: 34px;
		background: none; border: 0; cursor: pointer;
	}
	.at-header__subtoggle::after {
		content: ''; position: absolute; top: 50%; left: 50%;
		width: 0; height: 0; transform: translate(-50%, -50%);
		border-left: 5px solid transparent; border-right: 5px solid transparent;
		border-top: 6px solid var(--ink); opacity: 0.6;
		transition: transform 0.15s ease;
	}
	.at-header__item.is-open .at-header__subtoggle::after { transform: translate(-50%, -50%) rotate(180deg); }
	.at-header__sub {
		position: static; min-width: 0; border: 0; box-shadow: none;
		background: transparent; padding: 0 0 0 0.9rem;
		display: none; opacity: 1; visibility: visible; transform: none;
	}
	.at-header__item.is-open > .at-header__sub { display: flex; }
	.at-header__sublink { padding: 0.45rem 0; }
}

/* ===========================================================================
   Habillage du blog (articles, archives, recherche, 404)
   =========================================================================== */

.atelier-blog { background: var(--wp--preset--color--at-bg, #fff); }

.at-post, .at-archive {
	--bg: var(--wp--preset--color--at-bg, #F7F6F3);
	--surface: var(--wp--preset--color--at-surface, #FFFFFF);
	--ink: var(--wp--preset--color--at-ink, #171614);
	--muted: var(--wp--preset--color--at-muted, #66625B);
	--primary: var(--wp--preset--color--at-primary, #2D4A3E);
	--accent: var(--wp--preset--color--at-accent, #C08552);
	--line: var(--wp--preset--color--at-line, #E4E1DB);
	--display: var(--atelier-display, 'Fraunces', Georgia, 'Times New Roman', serif);
	--body: var(--atelier-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}
.at-post *, .at-archive * { box-sizing: border-box; }

/* Article */
.at-post__inner { max-width: 740px; margin-inline: auto; }
.at-post__head { margin-bottom: 2rem; }
.at-post__cats { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.at-post__cats a { color: var(--accent); text-decoration: none; }
.at-post__title {
	margin: 0 0 0.8rem;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 500);
	font-size: clamp(2rem, 5vw, 3.1rem);
	line-height: 1.12;
	color: var(--ink);
}
.at-post__meta { margin: 0; font-size: 0.92rem; color: var(--muted); }
.at-post__sep { margin: 0 0.45rem; opacity: 0.5; }
.at-post__cover { margin: 0 0 2.5rem; border-radius: calc( var(--atelier-radius, 4px) + 6px ); overflow: hidden; }
.at-post__cover img { width: 100%; height: auto; display: block; }

.at-post__content { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.at-post__content > * { margin-block: 0 1.35rem; }
.at-post__content h2 { font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin-top: 2.5rem; }
.at-post__content h3 { font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 1.3rem; margin-top: 2rem; }
.at-post__content a { color: var(--primary); text-underline-offset: 3px; }
.at-post__content img { max-width: 100%; height: auto; border-radius: calc( var(--atelier-radius, 4px) + 4px ); }
.at-post__content blockquote {
	margin: 2rem 0; padding: 0.4rem 0 0.4rem 1.4rem;
	border-left: 3px solid var(--primary);
	font-family: var(--display); font-size: 1.2rem; line-height: 1.5; color: var(--ink);
}
.at-post__content ul, .at-post__content ol { padding-left: 1.3rem; }
.at-post__content li { margin-bottom: 0.5rem; }
.at-post__content code { background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.92em; }
.at-post__content pre { background: color-mix(in srgb, var(--ink) 92%, #000); color: #f5f5f5; padding: 1.1rem; border-radius: 8px; overflow-x: auto; }
.at-post__content pre code { background: none; padding: 0; }

.at-post__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.at-post__comments { max-width: 740px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--line); }

/* Listes d'articles */
.at-archive__inner { max-width: 1160px; margin-inline: auto; }
.at-archive__head { text-align: center; max-width: 660px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.at-archive__title {
	margin: 0;
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 500);
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	line-height: 1.12;
	color: var(--ink);
}
.at-archive__intro { margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }
.at-archive__actions { text-align: center; margin-bottom: 1.5rem; }
.at-archive__search { max-width: 420px; margin-inline: auto; }
.at-archive__empty { text-align: center; color: var(--muted); }

.at-archive__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.at-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 6px );
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.at-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.09); }
.at-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--ink) 8%, var(--surface)); }
.at-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.at-card:hover .at-card__media img { transform: scale(1.04); }
.at-card__placeholder { display: block; width: 100%; height: 100%; }
.at-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: var(--at-space-2xs); flex: 1; }
.at-card__date { margin: 0; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.at-card__title { margin: 0; font-family: var(--display); font-weight: var(--atelier-heading-weight, 500); font-size: 1.25rem; line-height: 1.25; }
.at-card__title a { color: var(--ink); text-decoration: none; }
.at-card__title a:hover { color: var(--primary); }
.at-card__excerpt { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--muted); flex: 1; }
.at-card__more { font-size: 0.9rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.at-card__more:hover { text-decoration: underline; }

.at-archive__pagination { display: flex; justify-content: center; gap: var(--at-space-4xs); margin-top: clamp(2rem, 4vw, 3rem); }
.at-archive__pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 0.6rem;
	border: 1px solid var(--line); border-radius: calc( var(--atelier-radius, 4px) + 2px );
	color: var(--ink); text-decoration: none; font-size: 0.95rem;
}
.at-archive__pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.at-archive__pagination .page-numbers:hover:not(.current) { border-color: var(--primary); color: var(--primary); }

/* ===========================================================================
   Crédits photo (obligation de l'API Unsplash)
   =========================================================================== */

/* Crédits regroupés en bas de page */
.at-credits {
	background: var(--wp--preset--color--at-bg, #fff);
	padding: 1rem clamp(1.25rem, 5vw, 4rem) 1.5rem;
	text-align: center;
}
.at-credits__inner {
	max-width: 1160px;
	margin-inline: auto;
	font-family: var(--atelier-body, system-ui, sans-serif);
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--wp--preset--color--at-muted, #777);
	opacity: 0.75;
	margin: 0;
}
.at-credits__inner a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.at-credits__inner a:hover { opacity: 1; }

/* Crédit ancré sous chaque photo */
.at-credit {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--atelier-body, system-ui, sans-serif);
	font-size: 0.7rem;
	line-height: 1.3;
	color: var(--wp--preset--color--at-muted, #888);
	opacity: 0.7;
}
.at-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ===========================================================================
   Pages réglementaires
   =========================================================================== */

.at-legal ul { padding-left: 1.3rem; }
.at-legal li { margin-bottom: 0.45rem; }
.at-legal h2 { margin-top: 2.5rem; }
.at-legal h3 { margin-top: 1.8rem; }

/* Mention manquante à compléter par le propriétaire du site */
.at-legal__gap {
	background: #fff3cd;
	color: #7a5b00;
	padding: 0.05em 0.4em;
	border-radius: 3px;
	font-size: 0.92em;
	font-weight: 600;
}

/* ===========================================================================
   HERO — variantes animées
   Principe : une entrée ORCHESTRÉE (sur-titre, puis titre mot à mot, puis
   sous-titre, puis bouton), plutôt qu'une accumulation d'effets isolés.
   Tout est en transform/opacity, et neutralisé si l'utilisateur a demandé
   moins d'animations.
   =========================================================================== */

/* --- Séquence d'entrée commune ------------------------------------------ */

@keyframes at-hero-rise {
	from { transform: translateY(105%); }
	to   { transform: translateY(0); }
}
@keyframes at-hero-fade {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Le titre est découpé en mots par le script : chaque mot monte derrière un
   masque, avec un léger décalage. */
.at-hero__word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}
.at-hero__word > span {
	display: inline-block;
	transform: translateY(105%);
	will-change: transform;
}
.at-hero.is-entering .at-hero__word > span {
	animation: at-hero-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc( var(--i, 0) * 55ms + 120ms );
}

.at-hero--anim .at-hero__eyebrow,
.at-hero--anim .at-hero__subheading,
.at-hero--anim .at-hero__button { opacity: 0; }
.at-hero--anim.is-entering .at-hero__eyebrow {
	animation: at-hero-fade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}
.at-hero--anim.is-entering .at-hero__subheading {
	animation: at-hero-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc( var(--out, 0) * 55ms + 260ms ) forwards;
}
.at-hero--anim.is-entering .at-hero__button {
	animation: at-hero-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc( var(--out, 0) * 55ms + 380ms ) forwards;
}

/* --- Variante « Éditorial » : le titre est l'événement -------------------- */

.at-hero--reveal .at-hero__inner {
	max-width: 1100px;
	padding-block: clamp(5rem, 12vw, 10rem);
}
.at-hero--reveal .at-hero__text { text-align: left; max-width: 26ch; }
.at-hero--reveal .at-hero__heading {
	/* Plafond volontairement modeste : au-delà, un titre un peu long occupe
	   tout l'écran et le hero déborde. */
	font-size: var(--at-text-4xl);
	line-height: 1;
	letter-spacing: -0.02em;
}
.at-hero--reveal .at-hero__subheading { max-width: 46ch; }
/* Un filet qui se déploie sous le sur-titre : ancre la composition à gauche. */
.at-hero--reveal .at-hero__eyebrow { position: relative; padding-left: 3.4rem; }
.at-hero--reveal .at-hero__eyebrow::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 2.6rem;
	height: 1px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
}
.at-hero--reveal.is-entering .at-hero__eyebrow::before {
	animation: at-line-grow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
@keyframes at-line-grow { to { transform: scaleX(1); } }

/* --- Variante « Profondeur » : l'image dérive et respire ------------------ */

.at-hero--parallax { overflow: clip; }
.at-hero--parallax .at-hero__bg {
	/* Débordement volontaire : le fond peut glisser sans laisser de vide. */
	top: -12%;
	height: 124%;
	transform: translate3d( 0, var(--at-par, 0px), 0 ) scale(1.06);
	will-change: transform;
}
.at-hero--parallax.is-entering .at-hero__bg {
	animation: at-hero-breathe 18s ease-in-out 0.2s infinite alternate;
}
@keyframes at-hero-breathe {
	from { scale: 1.06; }
	to   { scale: 1.13; }
}
.at-hero--parallax .at-hero__overlay {
	background: linear-gradient( 180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.52) 60%, rgba(0,0,0,0.68) 100% );
}
.at-hero--parallax .at-hero__heading { font-size: var(--at-text-4xl); line-height: var(--at-lh-tight); }

/* --- Variante « Rideau » : l'image se dévoile ----------------------------- */

.at-hero--curtain .at-hero__inner { max-width: 1440px; }
.at-hero--curtain .at-hero__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	max-height: min( 74vh, 46rem );
	border-radius: calc( var(--atelier-radius, 4px) + 8px );
	clip-path: inset( 0 0 100% 0 );
}
.at-hero--curtain.is-entering .at-hero__media {
	animation: at-curtain 1.1s cubic-bezier(0.76, 0, 0.24, 1) 0.25s forwards;
}
@keyframes at-curtain {
	to { clip-path: inset( 0 0 0 0 ); }
}
/* L'image se remet à l'échelle pendant l'ouverture : effet de poussée. */
.at-hero--curtain .at-hero__image { transform: scale(1.18); width: 100%; height: 100%; object-fit: cover; display: block; }
.at-hero--curtain.is-entering .at-hero__image {
	animation: at-curtain-zoom 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}
@keyframes at-curtain-zoom { to { transform: scale(1); } }

/* --- Variante « Cinétique » : bandeau de mots en fond --------------------- */

.at-hero--marquee { position: relative; overflow: clip; }
.at-hero--marquee .at-hero__inner { position: relative; }
.at-hero__marquee {
	position: absolute;
	inset-inline: 0;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	user-select: none;
	overflow: hidden;
	z-index: 0;
}
.at-hero__marquee-track {
	display: flex;
	width: max-content;
	gap: 0.4em;
	animation: at-hero-marquee 38s linear infinite;
}
.at-hero__marquee-word {
	font-family: var(--display);
	font-weight: var(--atelier-heading-weight, 600);
	font-size: clamp(5rem, 18vw, 15rem);
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px color-mix( in srgb, var(--ink) 16%, transparent );
	text-transform: uppercase;
}
@keyframes at-hero-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
.at-hero--marquee .at-hero__text { position: relative; z-index: 1; }
.at-hero--marquee .at-hero__heading { font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.02; }

/* --- Boutons : remplissage balayé + flèche qui avance -------------------- */

.at-hero__button,
.at-btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.at-hero__button::before,
.at-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
	z-index: -1;
}
.at-hero__button:hover::before,
.at-btn:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}
.at-hero__button-arrow {
	display: inline-block;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.at-hero__button:hover .at-hero__button-arrow { transform: translateX(5px); }

/* --- Images : dévoilement au défilement ---------------------------------- */

.at-reveal-media {
	clip-path: inset( 0 0 100% 0 );
	transition: clip-path 1s cubic-bezier(0.76, 0, 0.24, 1);
}
.at-reveal-media.is-visible { clip-path: inset( 0 0 0 0 ); }
.at-reveal-media img {
	transform: scale(1.14);
	transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.at-reveal-media.is-visible img { transform: scale(1); }

/* --- Respect du réglage système « animations réduites » ------------------- */

@media ( prefers-reduced-motion: reduce ) {
	.at-hero__word > span,
	.at-hero--anim .at-hero__eyebrow,
	.at-hero--anim .at-hero__subheading,
	.at-hero--anim .at-hero__button {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.at-hero--curtain .at-hero__media,
	.at-reveal-media { clip-path: none !important; animation: none !important; }
	.at-hero--curtain .at-hero__image,
	.at-reveal-media img { transform: none !important; animation: none !important; }
	.at-hero--parallax .at-hero__bg { animation: none !important; transform: none !important; }
	.at-hero__marquee-track { animation: none !important; }
	.at-hero--reveal .at-hero__eyebrow::before { transform: scaleX(1) !important; animation: none !important; }
}

/* --- Variante « Vidéo en fond » ------------------------------------------ */

.at-hero--video { overflow: clip; }
.at-hero__bg--video { background: none; }
.at-hero__poster {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.at-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.9s ease;
	pointer-events: none;
}
/* La vidéo ne remplace le poster qu'une fois réellement lisible. */
.at-hero__video.is-playing { opacity: 1; }
.at-hero--video .at-hero__overlay {
	background: linear-gradient( 180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.50) 55%, rgba(0,0,0,0.66) 100% );
}
.at-hero--video .at-hero__heading { font-size: clamp(2.6rem, 7.5vw, 5.8rem); line-height: 1; }

/* Économie de données ou animations réduites : on garde l'image fixe. */
@media ( prefers-reduced-motion: reduce ) {
	.at-hero__video { display: none; }
}

/* ===========================================================================
   HERO — présence et amplitude
   Ces variantes sont des ouvertures de page : elles doivent occuper l'écran
   et respirer sur toute la largeur, pas se contenter de la hauteur du texte.
   =========================================================================== */

.at-hero--reveal,
.at-hero--marquee,
.at-hero--mosaic,
.at-hero--parallax,
.at-hero--video,
.at-hero--curtain {
	min-height: min( 90vh, 62rem );
	display: flex;
	align-items: center;
}
.at-hero--reveal .at-hero__inner,
.at-hero--marquee .at-hero__inner,
.at-hero--mosaic .at-hero__inner,
.at-hero--curtain .at-hero__inner { width: 100%; }

/* --- Éditorial : le titre occupe vraiment la largeur ---------------------- */

.at-hero--reveal .at-hero__inner {
	max-width: 1440px;
	padding-block: clamp(4rem, 9vw, 8rem);
	position: relative;
}
.at-hero--reveal .at-hero__text { max-width: none; }
.at-hero--reveal .at-hero__heading {
	font-size: clamp(3rem, 9.5vw, 9rem);
	line-height: 0.92;
	letter-spacing: -0.035em;
	max-width: 15ch;
}
.at-hero--reveal .at-hero__subheading {
	max-width: 42ch;
	margin-top: 2rem;
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}
/* Étiquette verticale en bord de page : signature éditoriale. */
.at-hero--reveal .at-hero__inner::after {
	content: attr(data-side);
	position: absolute;
	right: clamp(1.25rem, 3vw, 2.5rem);
	top: 50%;
	transform: translateY(-50%) rotate(90deg);
	transform-origin: center;
	font-family: var(--body);
	font-size: 0.7rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: color-mix( in srgb, var(--ink) 35%, transparent );
	white-space: nowrap;
	pointer-events: none;
}
@media ( max-width: 900px ) {
	.at-hero--reveal .at-hero__inner::after { display: none; }
}

/* --- Cinétique : deux bandes qui se croisent ----------------------------- */

.at-hero__marquee { top: 0; bottom: 0; transform: none; display: flex; flex-direction: column; justify-content: center; gap: 0.1em; }
.at-hero__marquee-track { animation-duration: 30s; }
.at-hero__marquee-track--rev { animation-direction: reverse; animation-duration: 44s; }
.at-hero__marquee-word {
	font-size: clamp(6rem, 21vw, 19rem);
	-webkit-text-stroke: 1.5px color-mix( in srgb, var(--primary) 42%, transparent );
	opacity: 0.9;
}
.at-hero--marquee .at-hero__inner { max-width: 1440px; }
.at-hero--marquee .at-hero__heading {
	font-size: clamp(2.8rem, 7.5vw, 6rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	max-width: 16ch;
}
.at-hero--marquee .at-hero__subheading { max-width: 44ch; }

/* --- Mosaïque : trois images se dévoilent en cascade ---------------------- */

.at-hero--mosaic { position: relative; overflow: clip; padding: 0; }
.at-hero--mosaic .at-hero__inner { max-width: none; padding: 0; position: relative; }
.at-hero__mosaic {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 6px;
}
.at-hero__tile {
	overflow: hidden;
	clip-path: inset( 0 0 100% 0 );
	background: color-mix( in srgb, var(--ink) 10%, var(--surface) );
}
.at-hero__tile--1 { grid-row: 1 / 3; }
.at-hero__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.16);
}
.at-hero--mosaic.is-entering .at-hero__tile {
	animation: at-tile-open 1.1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
	animation-delay: calc( var(--i, 0) * 160ms + 150ms );
}
.at-hero--mosaic.is-entering .at-hero__tile img {
	animation: at-tile-zoom 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc( var(--i, 0) * 160ms + 150ms );
}
@keyframes at-tile-open { to { clip-path: inset( 0 0 0 0 ); } }
@keyframes at-tile-zoom { to { transform: scale(1); } }

.at-hero--mosaic .at-hero__overlay {
	position: relative;
	z-index: 1;
	min-height: min( 90vh, 62rem );
	display: flex;
	align-items: flex-end;
	padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
	background: linear-gradient( 180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.30) 45%, rgba(0,0,0,0.72) 100% );
}
.at-hero--mosaic .at-hero__text { color: #fff; max-width: 60ch; }
.at-hero--mosaic .at-hero__heading {
	color: #fff;
	font-size: clamp(2.6rem, 7vw, 5.6rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
}
.at-hero--mosaic .at-hero__subheading { color: rgba(255,255,255,0.86); max-width: 46ch; }
.at-hero--mosaic .at-hero__eyebrow { color: #fff; }

@media ( max-width: 780px ) {
	.at-hero__mosaic { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr 1fr; }
	.at-hero__tile--1 { grid-row: auto; }
}

@media ( prefers-reduced-motion: reduce ) {
	.at-hero__tile { clip-path: none !important; animation: none !important; }
	.at-hero__tile img { transform: none !important; animation: none !important; }
}

/* ===========================================================================
   Réseaux sociaux (pied de page)
   =========================================================================== */

.at-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1.4rem;
}
.at-socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid color-mix( in srgb, var(--bg) 26%, transparent );
	color: color-mix( in srgb, var(--bg) 78%, transparent );
	text-decoration: none;
	transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}
.at-socials__link:hover {
	color: var(--at-on-primary, var(--surface));
	background: var(--primary);
	border-color: var(--primary);
	transform: translateY(-2px);
}
.at-socials__link svg { display: block; }

@media ( prefers-reduced-motion: reduce ) {
	.at-socials__link:hover { transform: none; }
}

/* ---------------------------------------------------------------------------
 *  Variantes de mise en page — donner un visage différent à chaque page.
 *  Chaque variante n'ajoute qu'une classe : les blocs déjà enregistrés dans les
 *  pages existantes ne changent pas et restent valides.
 * ------------------------------------------------------------------------- */

/* FAQ — deux colonnes : la section respire au lieu de s'étirer en longueur. */
.at-faq--twocol .at-faq__list {
	max-width: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

/* FAQ — titre tenu à gauche pendant le défilement, questions à droite. */
.at-faq--aside .at-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.at-faq--aside .at-faq__head {
	position: sticky;
	top: 6rem;
	text-align: left;
	margin: 0;
}
.at-faq--aside .at-faq__list { max-width: none; margin-inline: 0; }

@media ( max-width: 900px ) {
	.at-faq--twocol .at-faq__list { grid-template-columns: 1fr; }
	.at-faq--aside .at-faq__inner { grid-template-columns: 1fr; }
	.at-faq--aside .at-faq__head { position: static; }
}

/* Section image/texte — image dominante et texte resserré : plus éditorial. */
.at-split--wide .at-split__row { grid-template-columns: 1.45fr 1fr; }
.at-split--wide .at-split__row:nth-child(even) { grid-template-columns: 1fr 1.45fr; }
.at-split--wide .at-split__media { border-radius: 0; }
.at-split--wide .at-split__body { padding-block: clamp(0.5rem, 2vw, 2rem); }

/* Section image/texte — le texte chevauche l'image, sur une carte décalée. */
.at-split--overlap .at-split__row {
	grid-template-columns: 1fr;
	position: relative;
	align-items: end;
}
.at-split--overlap .at-split__media { aspect-ratio: 21 / 9; }
.at-split--overlap .at-split__body {
	position: relative;
	margin: -4.5rem 0 0 clamp(1rem, 4vw, 4rem);
	max-width: 34rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc( var(--atelier-radius, 4px) + 8px );
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
}

@media ( max-width: 860px ) {
	.at-split--wide .at-split__row,
	.at-split--wide .at-split__row:nth-child(even) { grid-template-columns: 1fr; }
	.at-split--overlap .at-split__body { margin: -2.5rem 1rem 0; }
}

/* Vitrine — grandes lignes alternées : chaque élément prend toute la largeur. */
.at-showcase--alternating .at-showcase__grid {
	grid-template-columns: 1fr;
	gap: clamp(2.5rem, 6vw, 5rem);
}
.at-showcase--alternating .at-showcase__card {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.at-showcase--alternating .at-showcase__card:nth-child(even) { direction: rtl; }
.at-showcase--alternating .at-showcase__card:nth-child(even) > * { direction: ltr; }
.at-showcase--alternating .at-showcase__media { aspect-ratio: 16 / 10; }
.at-showcase--alternating .at-showcase__title { font-size: var(--at-text-lg); }

@media ( max-width: 860px ) {
	.at-showcase--alternating .at-showcase__card,
	.at-showcase--alternating .at-showcase__card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
}

/* Services — grands numéros à la place des icônes : plus éditorial, moins « SaaS ». */
.at-services--numbered .at-services__grid { gap: clamp(1.5rem, 3vw, 3rem); }
.at-services--numbered .at-services__item {
	background: transparent;
	border: none;
	border-top: 1px solid var(--line);
	border-radius: 0;
	padding: 1.5rem 0 0;
	counter-increment: at-svc;
}
.at-services--numbered .at-services__grid { counter-reset: at-svc; }
.at-services--numbered .at-services__icon { display: none; }
.at-services--numbered .at-services__item::before {
	content: counter( at-svc, decimal-leading-zero );
	display: block;
	font-family: var(--display);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--accent);
	margin-bottom: 0.9rem;
}

/* ---------------------------------------------------------------------------
 *  Tonalités de fond par section — le rythme visuel d'une page haut de gamme.
 *  Une page dont toutes les sections ont le même fond paraît plate ; alterner
 *  deux ou trois tons donne du relief, comme sur les sites de marque.
 *  Appliqué via une simple classe : aucun bloc existant n'est modifié.
 * ------------------------------------------------------------------------- */

/* Ton doux : la teinte « surface » de la charte, à peine détachée du fond. */
.at-tone--soft.at-tone--soft { background: var(--surface); }

/* Ton coloré : un voile de la couleur principale, discret. */
.at-tone--tint.at-tone--tint { background: color-mix( in srgb, var(--primary) 8%, var(--bg) ); }

/* Dégradé : fondu de couleur vers le fond, façon page produit. */
.at-tone--gradient.at-tone--gradient {
	background: linear-gradient( 180deg, color-mix( in srgb, var(--primary) 12%, var(--bg) ) 0%, var(--bg) 72% );
}

/* Panneau inversé : la section bascule en contraste fort et l'encre suit. */
.at-tone--deep.at-tone--deep {
	/* On vise les jetons de la charte, pas --ink : redéfinir --ink puis s'en
	   servir pour le fond dans la même règle donnerait la nouvelle valeur,
	   et la section resterait identique au reste de la page. */
	background: var(--wp--preset--color--at-ink, #171614);
	--ink: var(--wp--preset--color--at-bg, #F7F6F3);
	--surface: color-mix( in srgb, var(--wp--preset--color--at-ink, #171614) 88%, var(--wp--preset--color--at-bg, #F7F6F3) );
	/* Le texte secondaire doit suivre l'inversion, sinon il devient illisible
	   (gris clair sur fond clair). */
	--muted: color-mix( in srgb, var(--wp--preset--color--at-bg, #F7F6F3) 72%, var(--wp--preset--color--at-ink, #171614) );
	--line: color-mix( in srgb, var(--wp--preset--color--at-bg, #F7F6F3) 16%, var(--wp--preset--color--at-ink, #171614) );
	color: var(--ink);
}
.at-tone--deep .at-faq__item,
.at-tone--deep .at-services__item {
	border-color: color-mix( in srgb, var(--ink) 22%, transparent );
}

/* ---------------------------------------------------------------------------
 *  Étapes — plusieurs façons de raconter un processus.
 *  Ce bloc revient sur presque toutes les pages : lui donner plusieurs visages
 *  évite que les pages d'un même site se ressemblent.
 * ------------------------------------------------------------------------- */

/* « Fil » : un trait continu relie les pastilles, comme un parcours. */
.at-steps--timeline .at-steps__list { gap: 0; }
.at-steps--timeline .at-steps__item {
	position: relative;
	padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.at-steps--timeline .at-steps__item::before {
	content: '';
	position: absolute;
	left: 21px;
	top: 52px;
	bottom: 0;
	width: 2px;
	background: color-mix( in srgb, var(--primary) 32%, transparent );
}
.at-steps--timeline .at-steps__item:last-child::before { display: none; }
.at-steps--timeline .at-steps__item:last-child { padding-bottom: 0; }

/* « Alternée » : les étapes se répondent de part et d'autre d'un axe central. */
.at-steps--zigzag .at-steps__list {
	position: relative;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.at-steps--zigzag .at-steps__list::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 1px;
	transform: translateX(-50%);
	background: var(--line);
}
.at-steps--zigzag .at-steps__item { width: calc( 50% - clamp(1.5rem, 4vw, 3rem) ); }
.at-steps--zigzag .at-steps__item:nth-child(even) { margin-left: auto; }

/* « Grands chiffres » : numéros en filigrane et filets fins, rendu éditorial. */
.at-steps--figures .at-steps__list {
	grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
	gap: clamp(1.5rem, 3vw, 2.5rem);
}
.at-steps--figures .at-steps__item {
	display: block;
	border-top: 1px solid var(--line);
	padding-top: 1.25rem;
}
.at-steps--figures .at-steps__num {
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	color: color-mix( in srgb, var(--ink) 20%, transparent );
	font-size: clamp(3rem, 6vw, 4.5rem);
	line-height: 1;
	display: block;
	margin-bottom: 0.4rem;
}

@media ( max-width: 860px ) {
	.at-steps--zigzag .at-steps__list::before { left: 21px; }
	.at-steps--zigzag .at-steps__item,
	.at-steps--zigzag .at-steps__item:nth-child(even) { width: 100%; margin-left: 0; }
}

/* ---------------------------------------------------------------------------
 *  Motifs de fond — une alternative légère à la photo.
 *  Dessinés en CSS : aucun fichier à charger, ils prennent les couleurs de la
 *  charte et restent nets sur tous les écrans. Se combinent avec les tonalités.
 * ------------------------------------------------------------------------- */

/* Quadrillage fin, façon papier millimétré : structure sans bruit. */
.at-pattern--grid {
	background-image:
		linear-gradient( to right, color-mix( in srgb, var(--ink) 7%, transparent ) 1px, transparent 1px ),
		linear-gradient( to bottom, color-mix( in srgb, var(--ink) 7%, transparent ) 1px, transparent 1px );
	background-size: 64px 64px;
	background-position: center;
}

/* Pointillés réguliers : discret, donne de la matière au fond. */
.at-pattern--dots {
	background-image: radial-gradient( color-mix( in srgb, var(--ink) 13%, transparent ) 1.5px, transparent 1.6px );
	background-size: 26px 26px;
}

/* Hachures diagonales : dynamique, bien pour une section « méthode ». */
.at-pattern--diagonal {
	background-image: repeating-linear-gradient( 45deg, color-mix( in srgb, var(--ink) 6%, transparent ) 0 1px, transparent 1px 14px );
}

/* Halo coloré : une lumière diffuse dans un angle, très haut de gamme. */
.at-pattern--glow {
	background-image:
		radial-gradient( 55% 75% at 18% 0%, color-mix( in srgb, var(--primary) 20%, transparent ), transparent 70% ),
		radial-gradient( 45% 60% at 95% 100%, color-mix( in srgb, var(--accent) 14%, transparent ), transparent 70% );
}

/* Dégradé d'angle : fondu doux d'un coin vers le fond. */
.at-pattern--corner {
	background-image: linear-gradient( 135deg, color-mix( in srgb, var(--primary) 14%, transparent ) 0%, transparent 45% );
}

/* ---------------------------------------------------------------------------
 *  Menu transparent posé par-dessus le visuel.
 *  L'en-tête se fond dans la grande image d'ouverture, puis se solidifie dès
 *  que la page défile — signature des sites de marque actuels.
 * ------------------------------------------------------------------------- */

.at-header--overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: transparent;
	border-bottom-color: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	--ink: #FFFFFF;
	color: var(--ink);
	transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Lisibilité sur une photo chargée : une ombre douce, pas un bandeau. */
.at-header--overlay:not(.is-scrolled) .at-header__inner {
	text-shadow: 0 1px 14px rgba( 0, 0, 0, 0.35 );
}

/* Au défilement : le menu reprend son fond et ses couleurs normales. */
.at-header--overlay.is-scrolled {
	position: fixed;
	background: var( --at-header-bg, color-mix( in srgb, var(--surface) 96%, transparent ) );
	--ink: var( --at-header-ink, var(--wp--preset--color--at-ink, #171614) );
	border-bottom-color: var(--line);
	box-shadow: 0 6px 24px rgba( 0, 0, 0, 0.06 );
	-webkit-backdrop-filter: var( --at-header-blur, blur(10px) saturate(1.2) );
	backdrop-filter: var( --at-header-blur, blur(10px) saturate(1.2) );
}
.at-header--overlay.is-scrolled .at-header__inner { text-shadow: none; }

/* Le sous-menu déroulant garde ses couleurs de charte dans les deux états. */
.at-header--overlay .at-header__sub {
	--ink: var(--wp--preset--color--at-ink, #171614);
	color: var(--ink);
	text-shadow: none;
}

/* ---------------------------------------------------------------------------
 *  Cohérence entre sections.
 *  La variété des mises en page ne doit pas se payer d'un manque d'unité :
 *  ces règles fixent ce qui doit rester identique d'une section à l'autre.
 * ------------------------------------------------------------------------- */

/* En-têtes de section : même alignement partout. Les mises en page à deux
   colonnes (à propos, image/texte) gardent naturellement leur alignement. */
.at-cta__inner:not(.at-cta--split .at-cta__inner),
.at-cta__heading,
.at-cta__subtext {
	text-align: center;
}

/* Introductions de section : une seule largeur de lecture, centrée. */
.at-services__intro,
.at-showcase__intro,
.at-steps__intro,
.at-faq__intro,
.at-gallery__intro,
.at-team__intro,
.at-pricing__intro,
.at-testimonials__intro {
	max-width: var(--at-measure);
	margin-inline: auto;
}

/* Surtitres : un seul traitement, quel que soit le bloc. */
[class$="__eyebrow"] {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--accent);
}

/* Espace entre l'en-tête d'une section et son contenu : une seule valeur. */
.at-services__head,
.at-showcase__head,
.at-steps__head,
.at-faq__head,
.at-gallery__head,
.at-team__head,
.at-pricing__head,
.at-testimonials__head {
	margin-bottom: var(--at-space-xl);
}

/* ---------------------------------------------------------------------------
 *  Styles d'animation — un seul réglage gouverne tout le site.
 *  Le défaut « Élégant » privilégie la lisibilité : un seul effet à la fois,
 *  des durées accordées entre elles. Les effets qui se superposent (volet +
 *  zoom + montée + cascade) donnent une impression de désordre.
 * ------------------------------------------------------------------------- */

/* --- Aucune : tout est visible d'emblée ---------------------------------- */
.at-anim-none .at-reveal,
.at-anim-none .at-reveal-media,
.at-anim-none .at-reveal.is-visible .at-showcase__card,
.at-anim-none .at-reveal.is-visible .at-services__card {
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
	animation: none !important;
	transition: none !important;
}
.at-anim-none .at-reveal-media img { transform: none !important; }

/* --- Sobre : un simple fondu, sans déplacement ---------------------------- */
.at-anim-subtle .at-reveal { transform: none; transition: opacity calc(0.6s * var(--at-speed, 1)) ease; }
.at-anim-subtle .at-reveal-media { clip-path: none; transition: opacity calc(0.6s * var(--at-speed, 1)) ease; opacity: 0; }
.at-anim-subtle .at-reveal-media.is-visible { opacity: 1; }
.at-anim-subtle .at-reveal-media img { transform: none; transition: none; }
.at-anim-subtle .at-reveal.is-visible .at-showcase__card,
.at-anim-subtle .at-reveal.is-visible .at-services__card { animation: none; }

/* --- Élégant (défaut) : l'image se pose, la section monte à peine ---------- */
.at-anim-elegant .at-reveal-media {
	/* Pas de volet : l'image apparaît en fondu avec un très léger recadrage. */
	clip-path: none;
	opacity: 0;
	transition: opacity calc(0.9s * var(--at-speed, 1)) cubic-bezier(0.16, 1, 0.3, 1);
}
.at-anim-elegant .at-reveal-media.is-visible { opacity: 1; }
.at-anim-elegant .at-reveal-media img {
	transform: scale(1.05);
	transition: transform calc(1.1s * var(--at-speed, 1)) cubic-bezier(0.16, 1, 0.3, 1);
}
.at-anim-elegant .at-reveal-media.is-visible img { transform: scale(1); }
.at-anim-elegant .at-reveal.is-visible .at-showcase__card,
.at-anim-elegant .at-reveal.is-visible .at-services__card {
	animation: at-rise calc(0.7s * var(--at-speed, 1)) cubic-bezier(0.16, 1, 0.3, 1) both;
}
.at-anim-elegant .at-reveal.is-visible .at-showcase__card:nth-child(2),
.at-anim-elegant .at-reveal.is-visible .at-services__card:nth-child(2) { animation-delay: 0.05s; }
.at-anim-elegant .at-reveal.is-visible .at-showcase__card:nth-child(3),
.at-anim-elegant .at-reveal.is-visible .at-services__card:nth-child(3) { animation-delay: 0.1s; }
.at-anim-elegant .at-reveal.is-visible .at-showcase__card:nth-child(4),
.at-anim-elegant .at-reveal.is-visible .at-services__card:nth-child(4) { animation-delay: 0.15s; }

/* --- Marqué : le volet et la cascade, pour les sites très visuels --------- */
.at-anim-bold .at-reveal-media { clip-path: inset( 0 0 100% 0 ); transition: clip-path calc(0.9s * var(--at-speed, 1)) cubic-bezier(0.76, 0, 0.24, 1); }
.at-anim-bold .at-reveal-media.is-visible { clip-path: inset( 0 0 0 0 ); }

/* --- Survol des boutons, accordé au style choisi -------------------------- */
.at-btn { transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.at-btn svg,
.at-btn .at-btn__arrow { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

.at-anim-elegant .at-btn:hover,
.at-anim-bold .at-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }
.at-anim-elegant .at-btn:hover svg,
.at-anim-bold .at-btn:hover svg { transform: translateX(3px); }

@media ( prefers-reduced-motion: reduce ) {
	.at-btn,
	.at-btn:hover { transform: none !important; transition: none !important; }
}

/* Mode élégant : les sections se contentent d'un fondu. Le mouvement est
   réservé aux images — deux éléments qui bougent en même temps, c'est ce qui
   donnait un effet trop appuyé entre les sections. */
.at-anim-elegant .at-reveal {
	transform: none;
	transition: opacity calc(0.8s * var(--at-speed, 1)) cubic-bezier(0.16, 1, 0.3, 1);
}
.at-anim-elegant .at-reveal.is-visible .at-showcase__card,
.at-anim-elegant .at-reveal.is-visible .at-services__card {
	animation-duration: calc(0.6s * var(--at-speed, 1));
}

/* Respiration des sections, réglable depuis l'écran Design. */
.at-rhythm-compact { --space: clamp(3rem, 2.3rem + 3vw, 5rem); }
.at-rhythm-airy    { --space: clamp(6rem, 4.5rem + 6vw, 10rem); }

/* Vitesse des animations : multiplicateur global réglable (écran Design). */
:root { --at-speed: 1; }
.at-speed-slow   { --at-speed: 1.6; }
.at-speed-normal { --at-speed: 1; }
.at-speed-fast   { --at-speed: 0.65; }

/* ---------------------------------------------------------------------------
 *  Animations réglables — trois familles, trois niveaux.
 *  Chaque règle s'applique aussi bien quand la classe est posée sur le site
 *  (body), sur une page, ou directement sur un bloc : le réglage le plus
 *  proche de l'élément l'emporte, comme une cascade normale.
 * ------------------------------------------------------------------------- */

/* --- Vitesse : multiplicateur commun à toutes les animations -------------- */
.at-speed-instant { --at-speed: 0.35; }
.at-speed-veryfast { --at-speed: 0.6; }
.at-speed-fast    { --at-speed: 0.8; }
.at-speed-normal  { --at-speed: 1; }
.at-speed-calm    { --at-speed: 1.35; }
.at-speed-slow    { --at-speed: 1.8; }
.at-speed-veryslow { --at-speed: 2.4; }

/* --- Sections ------------------------------------------------------------- */
.at-sec-none .at-reveal,
.at-reveal.at-sec-none {
	opacity: 1;
	transform: none;
	transition: none;
}

.at-sec-fade .at-reveal,
.at-reveal.at-sec-fade {
	opacity: 0;
	transform: none;
	transition: opacity calc( 0.8s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}

.at-sec-fadeup .at-reveal,
.at-reveal.at-sec-fadeup {
	opacity: 0;
	transform: translateY( 16px );
	transition: opacity calc( 0.8s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1),
	            transform calc( 0.8s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}

.at-sec-zoom .at-reveal,
.at-reveal.at-sec-zoom {
	opacity: 0;
	transform: scale( 0.985 );
	transition: opacity calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1),
	            transform calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}

.at-sec-fade .at-reveal.is-visible,
.at-sec-fadeup .at-reveal.is-visible,
.at-sec-zoom .at-reveal.is-visible,
.at-reveal.at-sec-fade.is-visible,
.at-reveal.at-sec-fadeup.is-visible,
.at-reveal.at-sec-zoom.is-visible {
	opacity: 1;
	transform: none;
}

/* --- Images --------------------------------------------------------------- */
.at-img-none .at-reveal-media,
.at-reveal-media.at-img-none {
	opacity: 1;
	clip-path: none;
	transition: none;
}
.at-img-none .at-reveal-media img,
.at-reveal-media.at-img-none img { transform: none; transition: none; }

.at-img-fade .at-reveal-media,
.at-reveal-media.at-img-fade {
	clip-path: none;
	opacity: 0;
	transition: opacity calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}
.at-img-fade .at-reveal-media img,
.at-reveal-media.at-img-fade img { transform: none; transition: none; }

.at-img-zoom .at-reveal-media,
.at-reveal-media.at-img-zoom {
	clip-path: none;
	opacity: 0;
	transition: opacity calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}
.at-img-zoom .at-reveal-media img,
.at-reveal-media.at-img-zoom img {
	transform: scale( 1.05 );
	transition: transform calc( 1.2s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}

.at-img-wipe .at-reveal-media,
.at-reveal-media.at-img-wipe {
	opacity: 1;
	clip-path: inset( 0 0 100% 0 );
	transition: clip-path calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.76, 0, 0.24, 1);
}
.at-img-wipe .at-reveal-media.is-visible,
.at-reveal-media.at-img-wipe.is-visible { clip-path: inset( 0 0 0 0 ); }

.at-img-fade .at-reveal-media.is-visible,
.at-img-zoom .at-reveal-media.is-visible,
.at-reveal-media.at-img-fade.is-visible,
.at-reveal-media.at-img-zoom.is-visible { opacity: 1; }
.at-img-zoom .at-reveal-media.is-visible img,
.at-reveal-media.at-img-zoom.is-visible img { transform: scale(1); }

/* --- Boutons -------------------------------------------------------------- */
.at-btn-none .at-btn:hover,
.at-btn.at-btn-none:hover { transform: none; box-shadow: none; }

.at-btn-lift .at-btn:hover,
.at-btn.at-btn-lift:hover {
	transform: translateY( -2px );
	box-shadow: 0 10px 24px rgba( 0, 0, 0, 0.16 );
}

.at-btn-arrow .at-btn:hover svg,
.at-btn.at-btn-arrow:hover svg { transform: translateX( 4px ); }
.at-btn-arrow .at-btn:hover,
.at-btn.at-btn-arrow:hover { transform: translateY( -1px ); }

/* Balayage : un voile de couleur traverse le bouton au survol. */
.at-btn-sweep .at-btn,
.at-btn.at-btn-sweep { position: relative; overflow: hidden; z-index: 0; }
.at-btn-sweep .at-btn::after,
.at-btn.at-btn-sweep::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix( in srgb, var(--ink) 22%, transparent );
	transform: translateX( -100% );
	transition: transform calc( 0.45s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1);
}
.at-btn-sweep .at-btn:hover::after,
.at-btn.at-btn-sweep:hover::after { transform: translateX( 0 ); }

@media ( prefers-reduced-motion: reduce ) {
	.at-reveal, .at-reveal-media, .at-btn, .at-btn::after {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
		transition: none !important;
		animation: none !important;
	}
}


/* ---------------------------------------------------------------------------
 *  Priorité du réglage de bloc.
 *  La classe doublée donne une spécificité supérieure à celle des réglages de
 *  page et de site : un bloc peut donc toujours déroger, y compris pour
 *  réactiver une animation désactivée plus haut.
 * ------------------------------------------------------------------------- */

.at-reveal.at-sec-none.at-sec-none { opacity: 1; transform: none; transition: none; }
.at-reveal.at-sec-fade.at-sec-fade { opacity: 0; transform: none; transition: opacity calc( 0.8s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1); }
.at-reveal.at-sec-fadeup.at-sec-fadeup { opacity: 0; transform: translateY( 16px ); transition: opacity calc( 0.8s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1), transform calc( 0.8s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1); }
.at-reveal.at-sec-zoom.at-sec-zoom { opacity: 0; transform: scale( 0.985 ); transition: opacity calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1), transform calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1); }
.at-reveal.at-sec-fade.at-sec-fade.is-visible,
.at-reveal.at-sec-fadeup.at-sec-fadeup.is-visible,
.at-reveal.at-sec-zoom.at-sec-zoom.is-visible { opacity: 1; transform: none; }

.at-reveal-media.at-img-none.at-img-none { opacity: 1; clip-path: none; transition: none; }
.at-reveal-media.at-img-none.at-img-none img { transform: none; transition: none; }
.at-reveal-media.at-img-fade.at-img-fade,
.at-reveal-media.at-img-zoom.at-img-zoom { clip-path: none; opacity: 0; transition: opacity calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1); }
.at-reveal-media.at-img-fade.at-img-fade.is-visible,
.at-reveal-media.at-img-zoom.at-img-zoom.is-visible { opacity: 1; }
.at-reveal-media.at-img-zoom.at-img-zoom img { transform: scale( 1.05 ); transition: transform calc( 1.2s * var(--at-speed, 1) ) cubic-bezier(0.16, 1, 0.3, 1); }
.at-reveal-media.at-img-zoom.at-img-zoom.is-visible img { transform: scale( 1 ); }
.at-reveal-media.at-img-wipe.at-img-wipe { opacity: 1; clip-path: inset( 0 0 100% 0 ); transition: clip-path calc( 0.9s * var(--at-speed, 1) ) cubic-bezier(0.76, 0, 0.24, 1); }
.at-reveal-media.at-img-wipe.at-img-wipe.is-visible { clip-path: inset( 0 0 0 0 ); }

/* Logo du pied de page, posé à la place du nom en texte. */
.at-footer__logo {
	display: block;
	max-height: var(--at-flogo-h, 52px);
	width: auto;
	margin-bottom: var(--at-space-2xs);
}

/* Coordonnées cliquables : discrètes au repos, évidentes au survol. */
.at-footer__contact-row a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid color-mix( in srgb, var(--ink) 30%, transparent );
}
.at-footer__contact-row a:hover {
	color: var(--ink);
	border-bottom-color: currentColor;
}

/* ---------------------------------------------------------------------------
 *  Tailles réglables bloc par bloc (panneau « Taille du texte et des images »).
 *  Posées en classe personnalisée : aucun bloc n'est modifié dans son code, les
 *  pages existantes restent valides. Classe doublée pour passer devant les
 *  tailles propres à chaque variante.
 * ------------------------------------------------------------------------- */

/* Taille du titre principal du bloc */
.at-ts-s.at-ts-s [class*="__heading"]   { font-size: var(--at-text-2xl); }
.at-ts-m.at-ts-m [class*="__heading"]   { font-size: var(--at-text-3xl); }
.at-ts-l.at-ts-l [class*="__heading"]   { font-size: var(--at-text-4xl); }
.at-ts-xl.at-ts-xl [class*="__heading"] { font-size: clamp( 3.2rem, 2.4rem + 3.2vw, 5.2rem ); line-height: 1.02; }
.at-ts-xxl.at-ts-xxl [class*="__heading"] { font-size: clamp( 3.8rem, 2.6rem + 5vw, 7rem ); line-height: 1; }

/* Taille des textes courants (sous-titre, introduction, descriptions) */
.at-bs-s.at-bs-s :is( [class*="__subheading"], [class*="__intro"], [class*="__desc"], [class*="__text"], [class*="__body"], [class*="__subtext"] ) {
	font-size: var(--at-text-xs);
}
.at-bs-l.at-bs-l :is( [class*="__subheading"], [class*="__intro"], [class*="__desc"], [class*="__text"], [class*="__body"], [class*="__subtext"] ) {
	font-size: var(--at-text-lg);
}
.at-bs-xl.at-bs-xl :is( [class*="__subheading"], [class*="__intro"], [class*="__desc"], [class*="__text"], [class*="__body"], [class*="__subtext"] ) {
	font-size: var(--at-text-xl);
}

/* Taille des images du bloc */
.at-ms-s.at-ms-s [class*="__media"] { max-width: 60%; margin-inline: auto; }
.at-ms-m.at-ms-m [class*="__media"] { max-width: 80%; margin-inline: auto; }
.at-ms-l.at-ms-l [class*="__media"] { max-width: 100%; }

/* Hauteur du hero (bannière, parallaxe, rideau…) */
.at-hh-50.at-hh-50 .at-hero__inner  { min-height: 50vh;  min-height: 50svh; }
.at-hh-70.at-hh-70 .at-hero__inner  { min-height: 70vh;  min-height: 70svh; }
.at-hh-85.at-hh-85 .at-hero__inner  { min-height: 85vh;  min-height: 85svh; }
.at-hh-100.at-hh-100 .at-hero__inner { min-height: 100vh; min-height: 100svh; }


/* ---------------------------------------------------------------------------
 *  Mobile : corrections relevées par l'audit visuel.
 *  Même seuil que l'apparition du bouton de menu (860 px), tablettes comprises.
 * ------------------------------------------------------------------------- */
@media ( max-width: 860px ) {
	/* Zones tactiles d'au moins 44 px : le bouton du menu mesurait 30 × 32 px
	   et le bouton d'action de l'en-tête 34 px de haut, difficiles à toucher. */
	.at-header__toggle {
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.at-header__cta {
		min-height: 44px;
	}

	/* Hero plein écran : sur un téléphone, occuper tout l'écran avec le texte
	   calé en bas laisse une large bande de photo vide avant le moindre mot.
	   75 % de l'écran par défaut ; un réglage « Hauteur du hero » choisi à la
	   main sur le bloc garde la priorité. */
	.at-hero--imagefull:not( [class*="at-hh-"] ) .at-hero__inner {
		min-height: 75vh;
		min-height: 75svh;
	}
	.at-hero--reveal:not( [class*="at-hh-"] ),
	.at-hero--marquee:not( [class*="at-hh-"] ),
	.at-hero--mosaic:not( [class*="at-hh-"] ),
	.at-hero--parallax:not( [class*="at-hh-"] ),
	.at-hero--video:not( [class*="at-hh-"] ),
	.at-hero--curtain:not( [class*="at-hh-"] ) {
		min-height: 75vh;
		min-height: 75svh;
	}
}
