/* ==========================================================================
   À Table – charte graphique
   Couleurs, typographies et composants issus des maquettes Figma.
   Les classes .at-* s'ajoutent dans Elementor (Avancé > Classes CSS).
   ========================================================================== */

/* Styles d'Elementor regroupés ici pour économiser 3 requêtes (widget-image, widget-heading, fadeInUp). */
.elementor-widget-image{text-align:center}.elementor-widget-image a{display:inline-block}.elementor-widget-image a img[src$=".svg"]{width:48px}.elementor-widget-image img{display:inline-block;vertical-align:middle}
.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}
@keyframes fadeInUp{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:none}}.fadeInUp{animation-name:fadeInUp}

:root {
	--at-vert: #13523d;
	--at-creme: #fefde4;
	--at-peche: #f98867;
	--at-jaune: #fcf200;
	--at-rouge: #f61828;
	--at-violet: #a883ff;
	--at-vert-clair: #c8f98b;
	--at-noir: #262626;
	--at-encre: #1d2130;
	--at-gris: #525560;
	--at-blanc: #fff;

	--at-font-display: 'Touillette', 'Touillette Fallback', 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
	--at-font-title: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--at-font-text: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--at-radius: 30px;
	--at-radius-btn: 8px;
	--at-max: 1280px;
	--at-gutter: clamp(16px, 7.3vw, 110px);
	--at-section: clamp(56px, 7vw, 96px);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	background: var(--at-creme);
	color: var(--at-noir);
	font-family: var(--at-font-text);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

:where(h1, h2, h3, h4, h5, h6) { margin: 0 0 .5em; color: inherit; }

/* Échelle typographique (Figma : H1 home 96, H1 56, H2 48, H3 28, H4 20, H5 14) */
.at-h1-home, .at-h1-home .elementor-heading-title {
	font-family: var(--at-font-display); font-weight: 400;
	font-size: clamp(48px, 6.4vw, 96px); line-height: .83; letter-spacing: 0;
}
.at-h1, .at-h1 .elementor-heading-title {
	font-family: var(--at-font-display); font-weight: 400;
	font-size: clamp(36px, 3.75vw, 56px); line-height: .94;
}
.at-h2, .at-h2 .elementor-heading-title {
	font-family: var(--at-font-display); font-weight: 400;
	font-size: clamp(32px, 3.2vw, 48px); line-height: .86;
}
.at-h3, .at-h3 .elementor-heading-title {
	font-family: var(--at-font-title); font-weight: 700;
	font-size: clamp(22px, 1.9vw, 28px); line-height: 1.17;
}
.at-h4, .at-h4 .elementor-heading-title {
	font-family: var(--at-font-title); font-weight: 700;
	font-size: 20px; line-height: 1.18;
}
.at-h5, .at-h5 .elementor-heading-title, .at-kicker, .at-kicker .elementor-heading-title {
	font-family: var(--at-font-title); font-weight: 700;
	font-size: 14px; line-height: 1.5; text-transform: uppercase; letter-spacing: .02em;
}
.at-small { font-size: 14px; line-height: 1.6; }
.at-text-blanc, .at-text-blanc .elementor-heading-title, .at-text-blanc a { color: #fff !important; }
.at-text-vert, .at-text-vert .elementor-heading-title { color: var(--at-vert) !important; }
.at-text-peche, .at-text-peche .elementor-heading-title { color: var(--at-peche) !important; }
.at-text-violet, .at-text-violet .elementor-heading-title { color: var(--at-violet) !important; }
.at-text-rouge, .at-text-rouge .elementor-heading-title { color: var(--at-rouge) !important; }

/* Liens « flèche » en capitales soulignées */
.at-link, .at-link a, a.at-link {
	font-family: var(--at-font-title); font-weight: 700; font-size: 14px;
	text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px;
	color: inherit;
}
.at-link a:hover, a.at-link:hover { text-decoration-thickness: 2px; }

/* ---------- Boutons ----------
   Widget Bouton Elementor + classe : at-btn (crème), at-btn--vert, --rouge, --jaune, --peche, --violet, --vert-clair, --contour */
.at-btn .elementor-button, a.at-btn, button.at-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	padding: 16px 32px; border-radius: var(--at-radius-btn); border: 0;
	background: var(--at-creme); color: var(--at-encre);
	font-family: var(--at-font-title); font-weight: 700; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.at-btn .elementor-button:hover, a.at-btn:hover, button.at-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgb(0 0 0 / .12); }
.at-btn .elementor-button:focus-visible, a.at-btn:focus-visible, button.at-btn:focus-visible { outline: 3px solid var(--at-encre); outline-offset: 3px; }
.at-btn--vert .elementor-button, a.at-btn--vert, button.at-btn--vert { background: var(--at-vert); color: var(--at-creme); }
.at-btn--rouge .elementor-button, a.at-btn--rouge, button.at-btn--rouge { background: var(--at-rouge); color: var(--at-creme); }
.at-btn--jaune .elementor-button, a.at-btn--jaune { background: var(--at-jaune); color: var(--at-encre); }
.at-btn--peche .elementor-button, a.at-btn--peche { background: var(--at-peche); color: var(--at-encre); }
.at-btn--violet .elementor-button, a.at-btn--violet { background: var(--at-violet); color: #fff; }
.at-btn--vert-clair .elementor-button, a.at-btn--vert-clair { background: var(--at-vert-clair); color: var(--at-encre); }
.at-btn--blanc .elementor-button, a.at-btn--blanc { background: #fff; color: var(--at-encre); }
.at-btn--contour .elementor-button, a.at-btn--contour { background: transparent; color: var(--at-peche); box-shadow: inset 0 0 0 3px var(--at-peche); }
.at-btn--small .elementor-button, a.at-btn--small { padding: 12px 22px; font-weight: 500; }

/* Rangée de boutons */
.at-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; }

/* ---------- Sections ---------- */
.at-section { padding-block: var(--at-section); }
.at-wrap { width: min(100% - 2 * var(--at-gutter), var(--at-max)); margin-inline: auto; }
.at-bg-creme { background-color: var(--at-creme); }
.at-bg-vert { background-color: var(--at-vert); color: #fff; }
.at-bg-peche { background-color: var(--at-peche); }
.at-bg-jaune { background-color: var(--at-jaune); }
.at-bg-rouge { background-color: var(--at-rouge); color: #fff; }
.at-bg-violet { background-color: var(--at-violet); }
.at-bg-vert-clair { background-color: var(--at-vert-clair); }
.at-bg-blanc { background-color: #fff; }

/* Bandeau d'en-tête (hero) avec texture */
.at-hero { position: relative; overflow: hidden; min-height: clamp(380px, 49vw, 740px); }
@media (min-width: 1025px) { .at-nowrap-d .elementor-heading-title { white-space: nowrap; } }
.at-hero--court { min-height: clamp(260px, 25vw, 377px); }
.at-hero__perso img { width: 100%; height: auto; }

/* ---------- Cartes ---------- */
.at-card {
	border-radius: var(--at-radius);
	padding: clamp(20px, 2.4vw, 32px);
	overflow: hidden;
}
.at-card--blanc { background: #fff; }
.at-card--peche { background: var(--at-peche); }
.at-card--rouge { background: var(--at-rouge); color: #fff; }
.at-card--vert { background: var(--at-vert); color: #fff; }
.at-card--violet { background: var(--at-violet); color: #fff; }
.at-card--vert-clair { background: var(--at-vert-clair); }
.at-card--jaune { background: var(--at-jaune); }
.at-card--contour-vert { border: 5px solid var(--at-vert); }
.at-card--contour-rouge { border: 3px solid var(--at-rouge); }
.at-card--contour-violet { border: 3px solid var(--at-violet); }
.at-card--image-haut { padding: 0; }
.at-card--image-haut > .e-con-inner > .elementor-widget-image:first-child img,
.at-card--image-haut > .elementor-widget-image:first-child img { width: 100%; aspect-ratio: 411 / 335; object-fit: cover; border-radius: 0; }
@media (max-width: 1024px) { .at-card--image-haut > .elementor-widget-image:first-child img { aspect-ratio: 16 / 9; } }
.at-card__body { padding: 28px 32px 32px; }
.at-card--rouge a, .at-card--vert a, .at-card--violet a { color: inherit; }
.at-card--lien { transition: transform .2s ease; }
.at-card--lien:hover { transform: translateY(-4px); }

/* Chiffre dans une pastille (1, 2, 3…) */
.at-num .elementor-heading-title, .at-num {
	display: inline-grid; place-items: center;
	width: 66px; height: 66px; border-radius: 50%;
	background: var(--at-rouge); color: #fff;
	font-family: var(--at-font-display); font-size: 56px; line-height: 1;
	padding-top: 6px;
}
.at-num--vert .elementor-heading-title, .at-num--vert { background: var(--at-vert); }
.at-num--blanc .elementor-heading-title { background: #fff; color: var(--at-vert); }

/* Grands chiffres clés */
.at-stat .elementor-heading-title { font-family: var(--at-font-display); font-size: clamp(44px, 4.4vw, 72px); line-height: .9; color: var(--at-rouge); white-space: nowrap; }

/* Citation */
.at-quote .elementor-heading-title, .at-quote { font-family: var(--at-font-display); font-size: clamp(30px, 3.2vw, 48px); line-height: .86; text-align: center; color: var(--at-vert); }

/* Grille de photos arrondies */
.at-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--at-radius); }
.at-photo, .at-photo .elementor-widget-container { height: 100%; }

/* Logos partenaires */
.at-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; }
.at-logos img { max-height: 88px; width: auto; object-fit: contain; }

/* ---------- En-tête ---------- */
.at-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--at-vert); color: #fff; padding: 12px 18px; }
.at-skip:focus { left: 8px; top: 8px; }

.at-header {
	position: sticky; top: 0; z-index: 100;
	background: rgb(254 253 228 / .92);
	-webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
	border-bottom: 1px solid rgb(19 82 61 / .08);
}
.admin-bar .at-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .at-header { top: 0; } }
.at-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 85px; padding-inline: var(--at-gutter); max-width: 1500px; margin-inline: auto; }
.at-header__logo { display: block; flex: none; }
.at-header__logo img { display: block; width: 199px; height: auto; }
.at-nav { display: flex; align-items: center; gap: clamp(20px, 3.6vw, 57px); }
.at-nav ul { display: flex; align-items: center; gap: inherit; list-style: none; margin: 0; padding: 0; }
.at-nav li { position: relative; }
.at-nav a {
	display: block; padding: 8px 0;
	font-family: var(--at-font-title); font-weight: 700; font-size: 14px; line-height: 1.5;
	text-transform: uppercase; text-decoration: none; color: var(--at-gris);
}
.at-nav a:hover, .at-nav .current-menu-item > a, .at-nav .current-menu-ancestor > a, .at-nav .current_page_item > a { color: #0b0706; }
.at-nav .current-menu-item > a, .at-nav .current-menu-ancestor > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.at-nav .sub-menu {
	position: absolute; top: 100%; left: -16px; min-width: 260px;
	display: none; flex-direction: column; align-items: stretch; gap: 0;
	background: var(--at-creme); border-radius: 16px; padding: 8px; box-shadow: 0 10px 30px rgb(0 0 0 / .12);
}
.at-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.at-nav .sub-menu a:hover { background: var(--at-vert-clair); }
.at-nav li:hover > .sub-menu, .at-nav li:focus-within > .sub-menu { display: flex; }
.at-header__cta { flex: none; }
.at-header__cta a.at-btn { padding: 12px 22px; font-weight: 500; }
.at-burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--at-vert); }
.at-burger svg { display: block; }

@media (max-width: 1100px) {
	.at-burger { display: block; order: 3; }
	.at-header__cta { margin-left: auto; }
	.at-nav {
		position: fixed; inset: 85px 0 auto 0; max-height: calc(100vh - 85px); overflow: auto;
		display: none; flex-direction: column; align-items: stretch;
		background: var(--at-creme); padding: 16px var(--at-gutter) 32px; box-shadow: 0 20px 30px rgb(0 0 0 / .1);
	}
	.admin-bar .at-nav { top: 117px; }
	.at-header.is-open .at-nav { display: flex; }
	.at-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.at-nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgb(19 82 61 / .12); }
	.at-nav .sub-menu { position: static; display: flex; box-shadow: none; padding: 0 0 0 16px; background: none; }
}
@media (max-width: 480px) {
	.at-header__logo img { width: 150px; }
	.at-header__cta a.at-btn { padding: 10px 14px; font-size: 14px; }
}

/* ---------- Pied de page ---------- */
.at-footer { background: var(--at-vert); color: #fff; font-size: 16px; }
.at-footer a { color: #fff; }
.at-footer__inner { max-width: 1500px; margin-inline: auto; padding: 37px var(--at-gutter) 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.at-footer__brand img { width: 135px; height: auto; display: block; margin-bottom: 18px; }
.at-footer__brand p { font-size: 14px; line-height: 1.6; max-width: 260px; margin: 0; }
.at-footer__col { text-align: center; padding-top: 34px; }
.at-footer__col h2 { font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; margin: 0 0 6px; }
.at-footer__col p { margin: 0; line-height: 1.5; }
.at-footer__col .at-social { justify-content: center; }
.at-footer__news { padding-top: 0; }
.at-footer__news .at-btn { margin-top: 12px; background: var(--at-creme); color: var(--at-noir); font-weight: 500; }
.at-footer__bottom { grid-column: 2 / -1; border-top: 1px solid rgb(255 255 255 / .8); padding-top: 12px; text-align: right; font-size: 14px; }
.at-footer__bottom a { text-decoration: none; }
.at-footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 1024px) {
	.at-footer__inner { grid-template-columns: 1fr 1fr; }
	.at-footer__bottom { grid-column: 1 / -1; text-align: center; }
	.at-footer__col { padding-top: 0; }
}
@media (max-width: 600px) {
	.at-footer__inner { grid-template-columns: 1fr; text-align: center; }
	.at-footer__brand img, .at-footer__brand p { margin-inline: auto; }
}

/* Réseaux sociaux */
.at-social { display: flex; gap: 8px; align-items: center; }
.at-social__link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--at-vert); }
.at-social__link:hover { background: var(--at-vert-clair); }
.at-social__icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- FAQ (balises <details>) ---------- */
.at-faq { display: grid; gap: 19px; }
.at-faq__group + .at-faq__group { margin-top: 48px; }
.at-faq__group-title { font-family: var(--at-font-title); font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); margin: 0 0 20px; }
.at-faq__item { background: var(--at-vert-clair); border-radius: var(--at-radius); }
.at-faq--jaune .at-faq__item { background: var(--at-jaune); }
.at-faq__item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 18px 36px;
	font-family: var(--at-font-title); font-weight: 700; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.18; color: #000;
}
.at-faq__item summary::-webkit-details-marker { display: none; }
.at-faq__item summary::after {
	content: ''; flex: none; width: 14px; height: 14px;
	border-right: 3px solid currentColor; border-bottom: 3px solid currentColor;
	transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.at-faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.at-faq__item summary:focus-visible { outline: 3px solid var(--at-vert); outline-offset: 2px; border-radius: var(--at-radius); }
.at-faq__answer { padding: 0 36px 24px; }
.at-faq__answer > :last-child { margin-bottom: 0; }

/* ---------- Annuaire des points de vente ---------- */
.at-pdv { --at-pdv-h: 747px; }
.at-pdv__filters { display: grid; grid-template-columns: minmax(0, 519px) minmax(0, 194px) 1fr; gap: 24px 46px; align-items: end; margin-bottom: 40px; }
.at-pdv__field label { display: block; font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; margin-bottom: 8px; }
.at-pdv__field input, .at-pdv__field select {
	width: 100%; background: #fff; border: 2px solid var(--at-rouge); border-radius: 0;
	padding: 12px 16px; font: 400 18px/1.3 var(--at-font-text); color: var(--at-noir);
}
.at-pdv__field input::placeholder { color: #808080; }
.at-pdv__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-self: end; font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.at-pdv__legend li { display: flex; align-items: center; gap: 8px; }
.at-pdv__dot { flex: none; display: inline-block; width: 12px; height: 12px; border: 2px solid #000; }
.at-pdv__dot--producteur { border-radius: 50%; background: #000; }
.at-pdv__grid { display: grid; grid-template-columns: 737fr 519fr; gap: 24px; }
.at-pdv__map { position: relative; min-height: var(--at-pdv-h); border-radius: 0; overflow: hidden; background: #e9e6d0; }
.at-pdv__map-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.at-pdv__map-load { position: absolute; inset: auto 24px 24px 24px; display: grid; gap: 6px; justify-items: start; background: rgb(254 253 228 / .95); border-radius: 16px; padding: 16px 20px; }
.at-pdv__map-load small { font-size: 13px; color: var(--at-gris); }
.at-pdv__map .leaflet-container { position: absolute; inset: 0; font: inherit; }
.at-pdv__list { border: 2px solid var(--at-rouge); border-radius: 26px; height: var(--at-pdv-h); display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.at-pdv__count { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--at-rouge); font-family: var(--at-font-title); font-weight: 700; font-size: 20px; text-transform: uppercase; }
.at-pdv__items { list-style: none; margin: 0; padding: 0; overflow-y: auto; scrollbar-color: var(--at-rouge) transparent; }
.at-pdv__item + .at-pdv__item { border-top: 1px solid var(--at-rouge); }
.at-pdv__item button {
	all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
	display: grid; grid-template-columns: 12px 1fr; gap: 6px 16px; padding: 18px 18px 18px 18px;
	font-family: var(--at-font-title); font-weight: 700; text-transform: uppercase;
}
.at-pdv__item button:hover, .at-pdv__item button[aria-current="true"] { background: var(--at-creme); }
.at-pdv__item button:focus-visible { outline: 3px solid var(--at-vert); outline-offset: -3px; }
.at-pdv__item .at-pdv__dot { margin-top: 4px; }
.at-pdv__name { font-size: 14px; line-height: 1.5; }
.at-pdv__meta { grid-column: 2; font-size: 12px; line-height: 1.5; }
.at-pdv__empty { padding: 18px; }
.at-pdv__detail { margin-top: 56px; border: 5px solid var(--at-rouge); border-radius: var(--at-radius); padding: 40px 37px; display: grid; grid-template-columns: 374px 1fr; gap: 40px; scroll-margin-top: 110px; }
.at-pdv__detail[hidden] { display: none; }
.at-pdv__photo img { width: 100%; height: 100%; max-height: 403px; object-fit: cover; }
.at-pdv__photo:empty { background: var(--at-vert-clair); border-radius: 16px; min-height: 240px; }
.at-pdv__kicker { font-family: var(--at-font-title); font-weight: 700; font-size: 12px; text-transform: uppercase; margin: 0; }
.at-pdv__title { font-family: var(--at-font-display); font-weight: 400; font-size: clamp(36px, 3.2vw, 48px); line-height: .86; margin: 6px 0 4px; }
.at-pdv__lead { font-family: var(--at-font-title); font-weight: 700; font-size: 20px; line-height: 1.18; margin: 0 0 18px; }
.at-pdv__dl { margin: 0; display: grid; gap: 14px; }
.at-pdv__dl dt { font-family: var(--at-font-title); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.at-pdv__dl dd { margin: 0; white-space: pre-line; }
.at-pdv__dl dd.at-pdv__web { font-family: var(--at-font-title); font-weight: 700; font-size: 20px; }
.at-pdv__detail .at-actions { justify-content: flex-end; margin-top: 24px; }
.at-pdv-marker { width: 18px; height: 18px; border: 3px solid #000; background: #fff; box-shadow: 0 0 0 2px #fff; }
.at-pdv-marker--producteur { border-radius: 50%; background: #000; }
.at-pdv-marker.is-active { background: var(--at-rouge); border-color: var(--at-rouge); }

@media (max-width: 1024px) {
	.at-pdv { --at-pdv-h: 520px; }
	.at-pdv__filters { grid-template-columns: 1fr 200px; }
	.at-pdv__legend { grid-column: 1 / -1; justify-self: start; display: flex; gap: 24px; }
	.at-pdv__grid { grid-template-columns: 1fr; }
	.at-pdv__map { min-height: 380px; }
	.at-pdv__detail { grid-template-columns: 1fr; padding: 24px; }
}
@media (max-width: 600px) {
	.at-pdv__filters { grid-template-columns: 1fr; }
}

/* ---------- Liste d'actualités (shortcode) ---------- */
.at-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.at-news__card { display: flex; flex-direction: column; border-radius: 29px; overflow: hidden; background: var(--at-peche); color: var(--at-vert); text-decoration: none; min-height: 100%; }
.at-news--rouge .at-news__card { background: var(--at-rouge); color: #fff; }
.at-news__img { aspect-ratio: 411 / 335; background: var(--at-vert-clair); }
.at-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-news__body { padding: 28px 46px 40px; display: grid; gap: 4px; }
.at-news__meta { font-size: 14px; line-height: 1.6; text-transform: uppercase; }
.at-news__title { font-family: var(--at-font-title); font-weight: 700; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.17; margin: 0; }
.at-news__excerpt { margin: 0; }
.at-news__more { font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; text-decoration: underline; }
.at-news__card:hover .at-news__title { text-decoration: underline; }
@media (max-width: 1024px) { .at-news { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .at-news { grid-template-columns: 1fr; } .at-news__body { padding: 24px; } }

/* ---------- Revue de presse ---------- */
.at-press { columns: 3 260px; column-gap: 48px; }
.at-press__item { break-inside: avoid; margin: 0 0 22px; }
.at-press__date { font-family: var(--at-font-title); font-weight: 700; font-size: 20px; color: var(--at-rouge); }
.at-press__src { font-family: var(--at-font-title); font-weight: 700; font-size: 12px; text-transform: uppercase; }
.at-press__title { margin: 0; font-size: 14px; line-height: 1.5; }

/* ---------- Frise chronologique (« Notre histoire ») ---------- */
.at-year .elementor-heading-title {
	display: inline-grid; place-items: center; width: var(--at-disc, clamp(150px, 16.2vw, 243px)); aspect-ratio: 1; border-radius: 50%;
	background: var(--at-violet); color: #fff; font-family: var(--at-font-display); font-size: clamp(48px, 5vw, 72px);
}
.at-timeline__step { position: relative; }
.at-tl-disc { --at-disc: clamp(150px, 16.2vw, 243px); position: relative; width: var(--at-disc) !important; flex: 0 0 auto; }
.at-tl-disc > .elementor-widget { margin: 0 !important; }
.at-tl-disc > .at-tl-illu { position: absolute !important; z-index: 1; pointer-events: none; }
.at-tl-illu img { display: block; width: 100%; height: auto; }
@media (min-width: 1025px) {
	.at-timeline__step--1 .at-tl-visual, .at-timeline__step--3 .at-tl-visual { align-items: flex-start !important; padding-left: 8.5%; }
	.at-timeline__step--2 .at-tl-visual, .at-timeline__step--4 .at-tl-visual { align-items: flex-end !important; padding-right: 8.5%; }
}
.at-timeline__step .at-stat .elementor-heading-title { font-size: clamp(30px, 2.7vw, 40px); white-space: nowrap; }
.at-timeline__step .at-h5 { font-size: 12px; text-transform: uppercase; font-weight: 700; line-height: 1.35; }
.at-tl-disc--2023 > .at-tl-illu { left: 69%; top: 28%; width: 98% !important; }
.at-tl-disc--2024 > .at-tl-illu { left: -75%; top: 27.6%; width: 106% !important; }
.at-tl-disc--2025 > .at-tl-illu { left: 2.5%; top: 66%; width: 104.5% !important; }
.at-tl-disc--2026 > .at-tl-illu { left: -55.6%; top: -7%; width: 76.5% !important; }
.at-timeline__step--1::after, .at-timeline__step--2::after, .at-timeline__step--3::after {
	content: ""; position: absolute; top: calc(100% - 24px); width: 114px; height: 101px; background: center / contain no-repeat; pointer-events: none;
}
.at-timeline__step--1::after { left: 43%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 115 101'%3E%3Cpath fill='%23A883FF' d='M106.953 81.1261C98.9716 74.7246 90.1567 67.4647 83.1681 61.2439C88.1791 56.6752 93.2627 68.1964 98.0037 70.0567C127.467 91.7074 109.762 84.983 88.3487 96.3303C76.193 96.1037 103.683 86.6208 105.698 85.4065C60.2927 85.8157 17.2124 55.3629 1.97397 12.5744C1.05495 10.8943 -1.89846 4.44838 2.13954 6.38726C4.21702 9.8128 5.26083 13.7289 6.8008 17.3812C24.2378 54.4986 65.4223 84.7818 106.953 81.1261Z'/%3E%3C/svg%3E"); }
.at-timeline__step--2::after { left: 52%; width: 134px; height: 141px; top: calc(100% - 60px); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 134 141'%3E%3Cpath fill='%23A883FF' d='M15.4725 97.9028C25.0108 94.2021 35.71 90.2097 44.5947 87.2775C46.0388 93.9031 33.5207 92.5315 29.5357 95.7028C-3.96209 110.357 10.7273 98.4017 11.633 74.185C17.9185 63.778 12.3547 92.3206 12.3962 94.6728C34.7877 55.1702 82.7247 33.1402 127.391 41.3862C129.305 41.4324 136.364 42.1053 132.663 44.6289C128.657 44.7109 124.745 43.6526 120.813 43.1558C79.9534 39.6535 33.1129 60.1277 15.4725 97.9028Z'/%3E%3C/svg%3E"); }
.at-timeline__step--3::after { left: 42%; width: 127px; height: 116px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127 116'%3E%3Cpath fill='%23A883FF' d='M117.267 80.4416C108.393 75.3506 98.5618 69.5403 90.6957 64.4745C94.9403 59.1861 101.744 69.7831 106.715 70.8883C139.171 87.7251 120.639 83.818 101.237 98.3385C89.1923 99.9933 114.886 86.3756 116.69 84.8645C71.8929 92.2866 24.6236 68.8581 2.95494 28.939C1.78729 27.4212 -2.1269 21.5091 2.16224 22.8006C4.7442 25.8639 6.38074 29.5716 8.46669 32.942C31.431 66.9184 76.8011 90.4722 117.267 80.4416Z'/%3E%3C/svg%3E"); }
@media (max-width: 1024px) {
	.at-timeline__step::after { display: none; }
	.at-tl-visual { padding-bottom: 72px; }
}

/* ---------- Formulaires (Elementor Pro Form ou autre) ---------- */
.at-form .elementor-field-group > label, .at-form label { font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.at-form .elementor-field-textual, .at-form input[type="text"], .at-form input[type="email"], .at-form select, .at-form textarea {
	background: #fff !important; border: 0 !important; border-radius: 0 !important; padding: 14px 16px !important; font-size: 18px !important;
}
.at-form .elementor-button { background: var(--at-rouge) !important; color: var(--at-creme) !important; border-radius: var(--at-radius-btn) !important; padding: 16px 32px !important; font-family: var(--at-font-title) !important; font-weight: 500 !important; }
.at-form#contact { border: 2px solid var(--at-rouge); border-radius: 32px; padding: clamp(20px, 2.2vw, 28px) !important; }
.at-form .elementor-field-type-acceptance label, .at-form .elementor-field-option label { font-family: var(--at-font-body, inherit); font-weight: 400; font-size: 16px; text-transform: none; }
.at-form .elementor-field-type-submit { width: auto !important; flex: 0 0 auto; }
.at-form .elementor-field-type-submit .elementor-button { width: auto !important; }

/* ---------- Animations d'apparition (légères, désactivées si mouvement réduit) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.at-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
	.at-reveal.is-visible { opacity: 1; transform: none; }
}
.elementor-editor-active .at-reveal { opacity: 1; transform: none; }

/* Accessibilité */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Formulaire de contact [atable_contact] ---------- */
.at-contact { border: 3px solid var(--at-rouge); border-radius: var(--at-radius); padding: 28px; display: grid; gap: 22px; }
.at-contact p { margin: 0; }
.at-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.at-contact__field label { display: block; margin-bottom: 8px; font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.at-contact__field input, .at-contact__field select, .at-contact__field textarea { width: 100%; background: #fff; border: 0; border-radius: 0; padding: 14px 16px; font: 400 18px/1.43 var(--at-font-text); color: var(--at-noir); }
.at-contact__field textarea { min-height: 150px; resize: vertical; }
.at-contact__field :focus-visible { outline: 3px solid var(--at-vert); outline-offset: 0; }
.at-contact__rgpd { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.43; }
.at-contact__rgpd input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--at-vert); flex: none; }
.at-contact__hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .at-contact { padding: 20px; } .at-contact__row { grid-template-columns: 1fr; } }

/* Bloc coordonnées (page contact) */
.at-coord { display: grid; gap: 22px; }
.at-coord__item { background: var(--at-rouge); color: #fff; border-radius: var(--at-radius); padding: 15px 33px; }
.at-coord__item a { color: #fff; text-decoration: none; }
.at-coord__label { display: block; font-family: var(--at-font-title); font-weight: 700; font-size: 14px; text-transform: uppercase; }

/* Correctifs */
.at-header__logo img { max-height: 44px; width: auto; max-width: 199px; }
.at-footer__brand img { max-height: 106px; width: auto; }
.at-contact *, .at-pdv *, .at-pdv *::before, .at-pdv *::after { box-sizing: border-box; }
.at-pdv__title a { text-decoration: none; color: inherit; }
.at-pdv__title a:hover { text-decoration: underline; }

/* ==========================================================================
   Widgets Elementor natifs : en-tête / pied (Theme Builder), accordéon, articles
   ========================================================================== */
.at-btn--creme .elementor-button, a.at-btn--creme { background: var(--at-creme); color: var(--at-noir); }

/* En-tête */
.elementor-location-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .elementor-location-header { top: 0; } }
.at-hd { box-shadow: 0 1px 0 rgb(19 82 61 / .08); }
.at-hd .at-hd-logo img { display: block; height: auto; }
.at-hd .at-hd-nav { flex: 1 1 auto; }
.at-hd-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: center; gap: clamp(12px, 2.6vw, 44px); }
.at-hd-nav .elementor-nav-menu--main .elementor-item {
	font-family: var(--at-font-title); font-weight: 600; font-size: 16px; color: var(--at-vert); padding: 8px 0;
}
.at-hd-nav .elementor-nav-menu--main .elementor-item:hover,
.at-hd-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #0b0706; }
.at-hd-nav .elementor-item.elementor-item-active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.at-hd-nav .elementor-nav-menu--main .sub-menu { background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 10px 30px rgb(0 0 0 / .12); }
.at-hd-nav .elementor-nav-menu--main .sub-menu .elementor-sub-item { color: var(--at-vert); border-radius: 8px; padding: 10px 12px; }
.at-hd-nav .elementor-nav-menu--main .sub-menu .elementor-sub-item:hover { background: var(--at-vert-clair); }
.at-hd-nav .elementor-menu-toggle { background: none; color: var(--at-vert); font-size: 26px; }
.at-hd-nav .elementor-nav-menu--dropdown { background: var(--at-creme); }
.at-hd-nav .elementor-nav-menu--dropdown a { color: var(--at-vert); font-family: var(--at-font-title); font-weight: 600; padding: 14px 24px; border-bottom: 1px solid rgb(19 82 61 / .12); }
.at-hd-nav .elementor-nav-menu--dropdown a:hover, .at-hd-nav .elementor-nav-menu--dropdown a.elementor-item-active { background: var(--at-vert-clair); color: var(--at-vert); }
.at-hd .at-hd-cta { flex: none; }
.at-hd .at-hd-cta .elementor-button { padding: 12px 22px; font-weight: 500; }
@media (max-width: 1024px) {
	.at-hd .at-hd-nav { order: 3; flex: 0 0 auto; }
	.at-hd .at-hd-cta { margin-left: auto; }
}
@media (max-width: 767px) {
	.at-hd .at-hd-cta .elementor-button { padding: 10px 14px; font-size: 14px; }
	.at-hd, .at-hd > .e-con-inner { flex-wrap: nowrap !important; --gap: 12px !important; gap: 12px !important; }
	.at-hd .at-hd-logo { width: 128px !important; max-width: 40%; }
}

/* Pied de page */
.at-ft, .at-ft a, .at-ft p { color: #fff; font-size: 15px; line-height: 1.6; }
.at-ft p { margin: 0; }
.at-ft a { text-decoration: none; }
.at-ft a:hover, .at-ft a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.at-ft .at-ft-grid { align-items: start; }
.at-ft .at-ft-col { text-align: left; }
.at-ft .at-ft-col > .elementor-widget { width: 100%; margin: 0; }
.at-ft .at-ft-logo img { display: block; width: 135px; height: auto; }
.at-ft .at-ft-txt p { font-size: 14px; max-width: 260px; }
.at-ft .at-ft-h .elementor-heading-title { font-family: var(--at-font-title); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #fff; line-height: 1.2; margin: 0 0 2px; }
.at-ft .at-social { justify-content: flex-start; margin-top: 4px; }
.at-ft .at-btn--creme .elementor-button { margin-top: 4px; }
.at-ft .at-ft-bottom { border-top: 1px solid rgb(255 255 255 / .5); }
.at-ft .at-ft-bottom p, .at-ft .at-ft-bottom a { font-size: 14px; }
.at-ft .at-ft-bottom > .elementor-widget { width: auto; }
.at-ft .at-ft-credit { display: inline-flex; align-items: center; gap: 6px; }
.at-ft .at-ft-credit svg { flex: none; }
@media (max-width: 767px) {
	.at-ft .at-ft-bottom { align-items: flex-start; }
}

/* Accordéon (FAQ) */
.at-acc .elementor-accordion { display: grid; gap: 12px; }
.at-acc .elementor-accordion-item { border: 0 !important; border-radius: 20px; background: var(--at-vert-clair); overflow: hidden; }
.at-acc--peche .elementor-accordion-item { background: var(--at-peche); }
.at-acc--jaune .elementor-accordion-item { background: var(--at-jaune); }
.at-acc--violet .elementor-accordion-item { background: var(--at-violet); }
.at-acc--blanc .elementor-accordion-item { background: #fff; }
.at-acc .elementor-tab-title { border: 0 !important; padding: 20px 28px; }
.at-acc .elementor-tab-title .elementor-accordion-title,
.at-acc .elementor-tab-title a { font-family: var(--at-font-title); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); color: var(--at-encre); text-decoration: none; }
.at-acc .elementor-accordion-icon svg { fill: var(--at-encre); width: 16px; }
.at-acc .elementor-tab-content { border: 0 !important; padding: 0 28px 24px; color: var(--at-encre); font-size: 16px; line-height: 1.6; }
.at-acc .elementor-tab-content p:last-child { margin-bottom: 0; }
/* Variante « toggle » (toutes les questions fermées au chargement) */
.at-acc .elementor-toggle { display: grid; gap: 12px; }
.at-acc .elementor-toggle-item { border: 0 !important; border-radius: 20px; background: var(--at-vert-clair); overflow: hidden; margin: 0 !important; }
.at-acc--peche .elementor-toggle-item { background: var(--at-peche); }
.at-acc--jaune .elementor-toggle-item { background: var(--at-jaune); }
.at-acc--violet .elementor-toggle-item { background: var(--at-violet); }
.at-acc--blanc .elementor-toggle-item { background: #fff; }
.at-acc .elementor-tab-title .elementor-toggle-title { font-family: var(--at-font-title); font-weight: 700; font-size: clamp(17px, 1.6vw, 20px); color: var(--at-encre); text-decoration: none; }
.at-acc .elementor-toggle-icon svg { fill: var(--at-encre); width: 16px; }
.at-acc .elementor-toggle .elementor-tab-title { position: relative; padding-right: 60px !important; }
.at-acc .elementor-toggle-icon { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); float: none; }
.at-acc, .at-faq-group { max-width: 1064px !important; width: 100%; margin-inline: auto !important; align-self: center !important; }
.at-faq-group { margin-top: 20px !important; }

/* Articles (actualités) */
.at-posts .elementor-post { border-radius: var(--at-radius); overflow: hidden; background: var(--at-peche); display: flex; flex-direction: column; }
.at-posts--vert-clair .elementor-post { background: var(--at-vert-clair); }
.at-posts--jaune .elementor-post { background: var(--at-jaune); }
.at-posts--violet .elementor-post { background: var(--at-violet); }
.at-posts--blanc .elementor-post { background: #fff; }
.at-posts .elementor-post__thumbnail__link { margin-bottom: 0 !important; }
.at-posts .elementor-post__thumbnail img { object-fit: cover; }
.at-posts .elementor-post__text { padding: 22px 24px 26px; }
.at-posts .elementor-post__title, .at-posts .elementor-post__title a { font-family: var(--at-font-title); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--at-encre); }
.at-posts .elementor-post__meta-data { color: var(--at-encre); font-size: 14px; opacity: .8; }
.at-posts .elementor-post__excerpt p { color: var(--at-encre); font-size: 16px; line-height: 1.5; }
.at-posts .elementor-post__read-more { color: var(--at-encre); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* Marges latérales des sections quand l'écran est plus étroit que 1280 px + marges */
.elementor[data-elementor-type="wp-page"] > .e-con.e-con-boxed { --padding-left: clamp(16px, 4vw, 40px) !important; --padding-right: clamp(16px, 4vw, 40px) !important; }

/* Carrousel des logos partenaires : chaque logo dans une case identique */
.at-logo-carousel .elementor-carousel-image { background-color: #fff; background-origin: content-box; background-size: contain !important; background-repeat: no-repeat; padding: 14px 18px; border-radius: 16px; box-sizing: border-box; }
.at-logo-carousel .swiper-slide > a { display: block; border-radius: 16px; transition: box-shadow .2s; }
.at-logo-carousel .swiper-slide > a:hover, .at-logo-carousel .swiper-slide > a:focus-visible { box-shadow: 0 0 0 2px var(--at-vert); }
.at-logo-carousel .swiper-pagination { position: static; margin-top: 16px; }
.at-logo-carousel .swiper-pagination-bullet-active { background: var(--at-vert); }
.at-logo-carousel .elementor-swiper { padding-bottom: 0; }
.at-logo-carousel .elementor-carousel-image { height: 110px !important; }
@media (max-width: 767px) { .at-logo-carousel .elementor-carousel-image { height: 90px !important; } }

/* Animations d'entrée : plus courtes, et désactivées si l'utilisateur limite les animations */
.elementor-element.animated.animated-fast { animation-duration: .6s; }
@media (prefers-reduced-motion: reduce) {
	.elementor-element.elementor-invisible { visibility: visible !important; }
	.elementor-element.animated { animation: none !important; }
}

/* Pages légales */
.at-legal h2 { font-family: var(--at-font-title); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; color: var(--at-vert); margin: 40px 0 12px; }
.at-legal h2:first-of-type { margin-top: 28px; }
.at-legal p, .at-legal li { font-size: 17px; line-height: 1.7; color: var(--at-noir); }
.at-legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.at-legal a { color: var(--at-vert); text-decoration: underline; text-underline-offset: 3px; }

/* Mosaïque de photos : toujours en bande horizontale (défilement latéral sur mobile) */
.at-mosaic .at-mosaic__row .at-photo img { height: clamp(160px, 21vw, 300px); }
@media (max-width: 767px) {
	.at-mosaic .at-mosaic__row { --flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; --gap: 12px 12px; padding-bottom: 4px; }
	.at-mosaic .at-mosaic__row::-webkit-scrollbar { display: none; }
	.at-mosaic .at-mosaic__row > .e-con { --width: 72% !important; flex: 0 0 72% !important; scroll-snap-align: start; }
	.at-mosaic .at-mosaic__row .at-photo img { height: 200px; }
}

/* Bande de photos bord à bord (Qui est À Table ?) */
.at-strip { flex-wrap: nowrap !important; overflow: hidden; border-radius: 24px; }
.at-strip > .elementor-widget { flex: 1 1 0 !important; min-width: 0; width: auto !important; margin: 0 !important; }
.at-strip .at-photo img, .at-strip img { display: block; width: 100%; height: clamp(140px, 15.1vw, 227px); object-fit: cover; border-radius: 0; }
@media (max-width: 767px) {
	.at-strip { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.at-strip::-webkit-scrollbar { display: none; }
	.at-strip > .elementor-widget { flex: 0 0 62% !important; scroll-snap-align: start; }
	.at-strip img { height: 180px; }
}

/* Police de secours des titres tant que Touillette n'est pas installée */
.at-no-touillette { --at-font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.at-no-touillette :is(.at-h1-home, .at-h1, .at-h2, .at-quote, .at-stat, .at-pdv__title),
.at-no-touillette :is(.at-h1-home, .at-h1, .at-h2, .at-quote, .at-stat, .at-num, .at-year) .elementor-heading-title { font-weight: 700; letter-spacing: -.02em; line-height: 1.04; }
.at-no-touillette :is(.at-h1-home) .elementor-heading-title { font-size: clamp(40px, 4.1vw, 62px); line-height: 1.04; }
.at-no-touillette :is(.at-quote) .elementor-heading-title { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.12; }
.at-no-touillette .at-num .elementor-heading-title { font-size: 40px; }
.at-no-touillette .at-h1 .elementor-heading-title { font-size: clamp(30px, 3.2vw, 46px); }
.at-no-touillette .at-h2 .elementor-heading-title { font-size: clamp(26px, 2.6vw, 38px); }

/* ---------- Accès rapide (accueil) ---------- */
.at-quick { position: relative; overflow: visible !important; min-height: 188px; justify-content: center; padding: 28px 32px !important; }
.at-quick > .at-quick__perso { position: absolute !important; z-index: 1; margin: 0 !important; pointer-events: none; }
.at-quick > .at-quick__perso img { display: block; width: 100%; height: auto; }
.at-quick > :not(.at-quick__perso) { position: relative; z-index: 2; }
.at-quick .elementor-heading-title { font-size: clamp(24px, 2.2vw, 32px) !important; line-height: 1.1; }
.at-quick .at-h4 { font-size: 15px; line-height: 1.35; }
.at-quick:nth-child(1) { padding-left: 184px !important; }
.at-quick:nth-child(1) > .at-quick__perso { left: -56px; top: -36px; width: 230px !important; }
.at-quick:nth-child(2), .at-quick:nth-child(3) { padding-right: 150px !important; }
.at-quick:nth-child(2) > .at-quick__perso { right: 6px; top: -58px; width: 150px !important; }
.at-quick:nth-child(3) > .at-quick__perso { right: -5px; top: -62px; width: 150px !important; }
@media (max-width: 1024px) {
	.at-quick:nth-child(1) > .at-quick__perso { left: -16px; top: 12px; width: 170px !important; }
	.at-quick:nth-child(1) { padding-left: 140px !important; }
	.at-quick:nth-child(2) > .at-quick__perso, .at-quick:nth-child(3) > .at-quick__perso { width: 110px !important; top: -40px; }
	.at-quick:nth-child(2), .at-quick:nth-child(3) { padding-right: 110px !important; }
	.at-quick + .at-quick { margin-top: 24px; }
}
@media (max-width: 767px) {
	.at-quick { min-height: 132px; padding: 22px 20px !important; }
	.at-quick:nth-child(1) { padding-left: 116px !important; }
	.at-quick:nth-child(1) > .at-quick__perso { left: -14px; top: 50%; transform: translateY(-50%); width: 122px !important; }
	.at-quick:nth-child(2), .at-quick:nth-child(3) { padding-right: 92px !important; }
	.at-quick:nth-child(2) > .at-quick__perso, .at-quick:nth-child(3) > .at-quick__perso { width: 90px !important; top: -26px; right: 0; }
}

/* Personnage décoratif posé sur la première carte (Participer) */
.at-float-perso { width: 170px !important; max-width: 30%; flex: 0 0 auto; margin: 0 24px -84px 0 !important; position: relative; z-index: 2; pointer-events: none; }
.at-float-perso img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .at-float-perso { width: 110px !important; margin: 0 0 -56px 0 !important; } }

/* Smartphone : frise alignée à gauche (les dessins tiennent à droite de la pastille), personnage du héros réduit */
@media (max-width: 767px) {
	.at-timeline__step .at-tl-visual { align-items: flex-start !important; padding-left: 8% !important; padding-right: 0 !important; }
	.at-tl-disc--2024 > .at-tl-illu, .at-tl-disc--2026 > .at-tl-illu { left: 92%; top: 30%; width: 90% !important; }
	.at-hero__perso img { max-width: 240px; margin-inline: auto; }
	.at-pdv__detail .at-actions { justify-content: stretch; gap: 12px; }
	.at-pdv__detail .at-actions .at-btn { flex: 1 1 0; text-align: center; padding-inline: 12px; }
	.e-con:has(> .at-float-perso) { flex-wrap: nowrap !important; gap: 8px !important; }
	.e-con:has(> .at-float-perso) > .elementor-widget-heading { flex: 1 1 auto; }
	.at-float-perso { width: 92px !important; flex: 0 0 auto; margin: 0 0 -40px 0 !important; }
	.at-doc__img img { width: 100%; aspect-ratio: 3 / 2; height: auto !important; object-fit: cover; }
	.at-doc { padding-bottom: 8px; }
	.at-doc .at-h3 .elementor-heading-title { font-size: 16px !important; line-height: 1.2; }
	.at-doc .at-kicker .elementor-heading-title { font-size: 11px !important; }
}

/* Pages légères (.at-lite, sans les scripts d'Elementor) : carrousel de logos en défilement natif, sous-menus en CSS. */
.at-lite .at-logo-carousel .swiper { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.at-lite .at-logo-carousel .swiper::-webkit-scrollbar { display: none; }
.at-lite .at-logo-carousel .swiper-wrapper { display: flex; gap: 24px; }
.at-lite .at-logo-carousel .swiper-slide { flex: 0 0 calc((100% - 6 * 24px) / 7); scroll-snap-align: start; }
.at-lite .at-logo-carousel .swiper-pagination { display: none; }
.at-lite .at-logo-carousel .elementor-carousel-image { background-position: center; }
@media (max-width: 1024px) {
	.at-lite .at-logo-carousel .swiper-wrapper { gap: 10px; }
	.at-lite .at-logo-carousel .swiper-slide { flex-basis: calc((100% - 2 * 10px) / 3); }
}
@media (max-width: 767px) { .at-lite .at-logo-carousel .swiper-slide { flex-basis: calc((100% - 10px) / 2); } }
.at-lite .elementor-nav-menu--main .elementor-nav-menu li { position: relative; }
.at-lite .elementor-nav-menu--main .elementor-nav-menu ul.sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 50; }
.at-lite .elementor-nav-menu--main .elementor-nav-menu li:hover > ul,
.at-lite .elementor-nav-menu--main .elementor-nav-menu li:focus-within > ul { display: block; }
.at-lite .elementor-nav-menu--dropdown .sub-menu { display: block !important; position: static !important; width: auto !important; }
.at-lite .elementor-nav-menu--dropdown .sub-menu a { padding-left: 40px !important; }
.at-lite .elementor-nav-menu--dropdown .sub-arrow { display: none; }

/* Badge EcoIndex (pied de page) */
.at-ft .at-ft-badge { margin-top: 6px !important; min-height: 30px; }
.at-ft .at-ft-badge #ecoindex-badge a { font-size: 14px; }
.at-ft .at-ft-logo { text-align: left; }
.at-ft .at-ft-logo img { margin: 0; }

/* Widget Articles sans les scripts d'Elementor : vignette recadrée au ratio réglé (padding-bottom). */
.at-lite .elementor-posts-container .elementor-post__thumbnail { position: relative; overflow: hidden; }
.at-lite .elementor-posts-container .elementor-post__thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: none; }

/* Lettre d'infos (pied de page) */
.at-news-form { display: grid; gap: 8px; width: 100%; max-width: 340px; }
.at-news-form__row { display: flex; gap: 8px; flex-wrap: wrap; }
.at-news-form input[type="email"] { flex: 1 1 180px; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #fff; border-radius: 8px; background: #fff; color: #262626; font: inherit; font-size: 15px; }
.at-news-form button { height: 44px; padding: 0 18px; border: 0; border-radius: 8px; cursor: pointer; font-family: var(--at-font-title); font-weight: 700; font-size: 15px; background: var(--at-creme); color: var(--at-noir); }
.at-news-form button:hover, .at-news-form button:focus-visible { background: #fff; }
.at-news-form .at-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.at-news-form__rgpd { margin: 0; font-size: 12px; line-height: 1.4; opacity: .85; }
.at-news-form__rgpd a { color: inherit; text-decoration: underline; }
.at-news-form__msg { margin: 0; padding: 8px 12px; border-radius: 8px; font-size: 14px; background: rgb(255 255 255 / .15); }
.at-news-form__msg--erreur { background: #e8403a; color: #fff; }
#lettre-infos { scroll-margin-top: 120px; }
