/*
 * Maison Oddo : page d'accueil.
 * Charte : charbon #272C30, crème #DFD6C6, taupe #968C7B. Alexandria seule.
 * Contrastes vérifiés : crème sur charbon 9,8:1; taupe sur charbon 4,25:1,
 * donc taupe réservé aux filets, survols et textes de 24 px et plus.
 * Les états cachés des animations ne s'appliquent que sous .oddo-js (ajoutée par
 * le script, retirée si les bibliothèques ne chargent pas ou si le mouvement est réduit).
 */

@font-face {
	font-family: "Alexandria";
	src: url("../fonts/alexandria-latin.woff2") format("woff2");
	font-weight: 300 600;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Ambiances : la page entière change de fond et de texte en douceur selon la section
 * à l'écran (charbon, crème ou noir). Variables enregistrées pour pouvoir être animées.
 */
@property --t-bg { syntax: "<color>"; inherits: true; initial-value: #272c30; }
@property --t-fg { syntax: "<color>"; inherits: true; initial-value: #dfd6c6; }
@property --t-soft { syntax: "<color>"; inherits: true; initial-value: #b7b1a5; }
@property --t-line { syntax: "<color>"; inherits: true; initial-value: rgba(223, 214, 198, 0.16); }
@property --t-line-strong { syntax: "<color>"; inherits: true; initial-value: rgba(223, 214, 198, 0.3); }

:root {
	--oddo-charbon: #272c30;
	--oddo-creme: #dfd6c6;
	--oddo-taupe: #968c7b;
	/* Nuances dérivées de la charte, jamais de nouvelle teinte. */
	--oddo-noir: color-mix(in srgb, var(--oddo-charbon) 62%, #000);
	--oddo-creme-doux: color-mix(in srgb, var(--oddo-creme) 78%, var(--oddo-charbon));
	--oddo-filet: color-mix(in srgb, var(--oddo-creme) 16%, transparent);
	--oddo-filet-fort: color-mix(in srgb, var(--oddo-creme) 30%, transparent);

	--oddo-font: "Alexandria", "Helvetica Neue", Arial, sans-serif;
	--oddo-light: 300;
	--oddo-medium: 500;
	--oddo-semibold: 600;
	--oddo-track: 0.05em; /* crénage maximal du guide (50) */

	--oddo-fs-body: clamp(1rem, 0.94rem + 0.25vw, 1.125rem);
	--oddo-fs-small: 0.875rem;
	--oddo-fs-caps: 0.8125rem;
	--oddo-fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.875rem);
	--oddo-fs-h2: clamp(2.25rem, 1.6rem + 3vw, 4.5rem);
	--oddo-fs-geant: clamp(2.5rem, 1.4rem + 4.4vw, 6.25rem);

	--oddo-gutter: clamp(1.25rem, 5vw, 6rem);
	--oddo-max: 1440px;
	--oddo-section: clamp(3.5rem, 2.25rem + 3.6vw, 6.5rem);
	--oddo-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--oddo-ease-io: cubic-bezier(0.65, 0, 0.35, 1);
	--oddo-header-h: clamp(4.5rem, 3rem + 4vw, 7rem);

	--t-bg: var(--oddo-charbon);
	--t-fg: var(--oddo-creme);
	--t-soft: var(--oddo-creme-doux);
	--t-line: var(--oddo-filet);
	--t-line-strong: var(--oddo-filet-fort);
	transition: --t-bg 0.9s var(--oddo-ease-io), --t-fg 0.9s var(--oddo-ease-io), --t-soft 0.9s var(--oddo-ease-io), --t-line 0.9s var(--oddo-ease-io), --t-line-strong 0.9s var(--oddo-ease-io);
}

/* Valeurs de chaque ambiance : sur la page (script actif) ou sur la section elle-même (sans script). */
html.oddo-theme-creme,
html:not(.oddo-themes) [data-oddo-theme="creme"] {
	--t-bg: var(--oddo-creme);
	--t-fg: var(--oddo-charbon);
	--t-soft: color-mix(in srgb, var(--oddo-charbon) 80%, var(--oddo-creme));
	--t-line: color-mix(in srgb, var(--oddo-charbon) 16%, transparent);
	--t-line-strong: color-mix(in srgb, var(--oddo-charbon) 30%, transparent);
}

html.oddo-theme-noir,
html:not(.oddo-themes) [data-oddo-theme="noir"] {
	--t-bg: var(--oddo-noir);
}

html:not(.oddo-themes) [data-oddo-theme] {
	background: var(--t-bg);
	color: var(--t-fg);
}

/* ---------- Base (gabarit Oddo seulement) ---------- */

body.oddo-page {
	margin: 0;
	background: var(--t-bg);
	color: var(--t-fg);
	font-family: var(--oddo-font);
	font-weight: var(--oddo-light);
	font-size: var(--oddo-fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(.oddo-page) *,
:where(.oddo-page) *::before,
:where(.oddo-page) *::after {
	box-sizing: border-box;
}

/* :where() garde ces règles de base à spécificité nulle : les composants passent devant. */
:where(.oddo-page) :is(img, video, svg) {
	display: block;
	max-width: 100%;
}

:where(.oddo-page) img {
	height: auto;
}

:where(.oddo-page) a {
	color: inherit;
}

.oddo-page :focus-visible {
	outline: 2px solid var(--t-fg);
	outline-offset: 4px;
	border-radius: 2px;
}

body.oddo-page ::selection {
	background: var(--t-fg);
	color: var(--t-bg);
}

/* En-tête, hero et menu restent sur fond charbon ou vidéo, quelle que soit l'ambiance. */
:is(.oddo-header, .oddo-overlay, .oddo-hero) :focus-visible {
	outline-color: var(--oddo-creme);
}

.oddo-main:focus {
	outline: none;
}

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

.oddo-skip {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 200;
	padding: 0.75rem 1.25rem;
	background: var(--oddo-creme);
	color: var(--oddo-charbon);
	border-radius: 999px;
	font-weight: var(--oddo-medium);
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform 0.3s var(--oddo-ease);
}

.oddo-skip:focus {
	transform: none;
}

.oddo-wrap {
	width: 100%;
	max-width: calc(var(--oddo-max) + 2 * var(--oddo-gutter));
	margin-inline: auto;
	padding-inline: var(--oddo-gutter);
}

.oddo-section {
	position: relative;
	padding-block: var(--oddo-section);
}

.oddo-flow > * {
	margin-block: 0;
}

.oddo-flow > * + *,
.oddo-gamme__inner > * + *,
.oddo-expertise__inner > * + *,
.oddo-rigueur__inner > * + * {
	margin-top: 1.5rem;
}

/* Le titre prend plus d'air que le surtitre au-dessus de lui. */
.oddo-section p.is-style-oddo-surtitre + :is(h1, h2, h3) {
	margin-top: 1.25rem;
}

/* ---------- Blocs natifs dans les sections ---------- */

:where(.oddo-section) :is(h1, h2, h3, h4) {
	margin: 0;
}

.oddo-section :is(h1, h2, h3, h4) {
	font-family: var(--oddo-font);
	font-weight: var(--oddo-semibold);
	color: inherit;
	letter-spacing: 0;
}

.oddo-section :is(h1, h2) {
	font-size: var(--oddo-fs-h2);
	line-height: 1.04;
	max-width: 14ch;
}

.oddo-section :is(h1, h2).is-style-oddo-geant {
	font-size: var(--oddo-fs-geant);
	line-height: 0.98;
	max-width: 11ch;
}

.oddo-section h3 {
	font-size: var(--oddo-fs-h3);
	line-height: 1.2;
	font-weight: var(--oddo-medium);
}

:where(.oddo-section) p {
	margin: 0;
}

.oddo-section p {
	max-width: 58ch;
}

.oddo-section p.is-style-oddo-surtitre {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--t-soft);
	display: flex;
	align-items: center;
	gap: 0.875rem;
}

/* Filet devant le surtitre, rappel des filets de MAISON. */
.oddo-section p.is-style-oddo-surtitre::before {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: var(--oddo-taupe);
	flex: none;
}

.oddo-section p.is-style-oddo-intro {
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.55;
}

.oddo-section .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
}

.oddo-section .wp-block-button {
	margin: 0;
}

/* Boutons : pilule crème, contour, lien fléché. Les classes .oddo-btn suivent le même dessin. */
.oddo-btn,
.oddo-section .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 3rem;
	padding: 0.95rem 2rem;
	border: 1px solid var(--t-fg);
	border-radius: 999px;
	background: transparent;
	color: var(--t-fg);
	font-family: var(--oddo-font);
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.5s var(--oddo-ease), color 0.5s var(--oddo-ease), border-color 0.5s var(--oddo-ease);
}

.oddo-btn--pill,
.oddo-section .is-style-oddo-pilule .wp-block-button__link {
	background: var(--t-fg);
	color: var(--t-bg);
}

.oddo-btn--pill:hover,
.oddo-section .is-style-oddo-pilule .wp-block-button__link:hover {
	background: transparent;
	color: var(--t-fg);
}

.oddo-btn--outline:hover,
.oddo-section .is-style-oddo-contour .wp-block-button__link:hover {
	background: var(--t-fg);
	color: var(--t-bg);
}

.oddo-link-arrow,
.oddo-section .is-style-oddo-fleche .wp-block-button__link {
	min-height: 2.75rem;
	padding: 0.5rem 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--t-fg);
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	text-decoration: none;
}

.oddo-link-arrow::after,
.oddo-section .is-style-oddo-fleche .wp-block-button__link::after {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	box-shadow: 0 0 0 0 transparent;
	transition: width 0.6s var(--oddo-ease), background-color 0.4s;
}

.oddo-link-arrow:hover::after,
.oddo-section .is-style-oddo-fleche .wp-block-button__link:hover::after {
	width: 3.5rem;
	background: var(--oddo-taupe);
}

/* ---------- Éléments de marque ---------- */

.oddo-svg {
	fill: currentColor;
}

/* Coup de pinceau : la forme sert de masque, la couleur vient de la charte. */
.oddo-brush {
	display: block;
	background: var(--oddo-creme);
	-webkit-mask: url("../svg/pinceau-1.svg") center / contain no-repeat;
	mask: url("../svg/pinceau-1.svg") center / contain no-repeat;
	aspect-ratio: 765.51 / 237.42;
	pointer-events: none;
}

.oddo-brush--2 {
	-webkit-mask-image: url("../svg/pinceau-2.svg");
	mask-image: url("../svg/pinceau-2.svg");
	aspect-ratio: 852.31 / 270.24;
}

/* ---------- En-tête ---------- */

.oddo-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	color: var(--oddo-creme);
	--brand: clamp(4.5rem, 2.5rem + 5.4vw, 8.75rem);
}

/* Connecté : l'en-tête passe sous la barre d'administration (fixe au-delà de 600 px). */
@media (min-width: 601px) {
	.admin-bar .oddo-header {
		top: var(--wp-admin--admin-bar--height, 32px);
	}
}

.oddo-header__bar {
	position: absolute;
	inset: 0;
	background: var(--oddo-charbon);
	border-bottom: 1px solid var(--oddo-filet);
	opacity: 0;
	transform: translateY(-100%);
	transition: opacity 0.6s var(--oddo-ease), transform 0.8s var(--oddo-ease);
}

.oddo-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(1.25rem, 3.4vw, 3.75rem) var(--oddo-gutter) 0;
	transition: padding 0.8s var(--oddo-ease);
}

.oddo-header__brand {
	position: relative;
	display: block;
	width: var(--brand);
	flex: none;
	color: var(--oddo-creme);
	transition: width 0.8s var(--oddo-ease);
}

.oddo-header__logo {
	width: 100%;
	height: auto;
}

.oddo-header__signature {
	position: absolute;
	left: var(--oddo-gutter);
	top: calc(100% + 1.75rem);
	margin: 0;
	font-size: clamp(1rem, 0.8rem + 0.6vw, 1.375rem);
	font-weight: var(--oddo-medium);
	line-height: 1.38;
	letter-spacing: var(--oddo-track);
	transition: opacity 0.5s var(--oddo-ease), transform 0.8s var(--oddo-ease), visibility 0.5s;
}

.oddo-nav {
	display: none;
	align-items: center;
	gap: clamp(1.5rem, 2.4vw, 2.5rem);
}

.oddo-nav__list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.oddo-nav__list li + li {
	border-left: 1px solid var(--oddo-creme);
}

.oddo-nav__link {
	display: block;
	padding: 0.25rem clamp(0.75rem, 1vw, 1rem);
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.4s;
}

.oddo-nav__list li:last-child .oddo-nav__link {
	padding-right: 0;
}

.oddo-nav__link:hover,
.oddo-nav__link[aria-current="page"] {
	color: var(--oddo-taupe);
}

.oddo-nav__cta.oddo-btn,
.oddo-overlay__cta.oddo-btn {
	background: var(--oddo-creme);
	border-color: var(--oddo-creme);
	color: var(--oddo-charbon);
}

.oddo-nav__cta.oddo-btn:hover,
.oddo-overlay__cta.oddo-btn:hover {
	background: transparent;
	color: var(--oddo-creme);
}

.oddo-nav__cta.oddo-btn {
	padding-inline: clamp(1.5rem, 2.2vw, 2.25rem);
}

/* Barre compacte au défilement : charbon, logo réduit, signature retirée. */
.oddo-header.is-compact .oddo-header__bar {
	opacity: 1;
	transform: none;
}

.oddo-header.is-compact .oddo-header__inner {
	padding-block: 0.875rem;
}

.oddo-header.is-compact .oddo-header__brand {
	width: clamp(3.25rem, 2.5rem + 1.6vw, 4.75rem);
}

.oddo-header.is-compact .oddo-header__signature {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.75rem);
}

/* Bouton Menu (mobile) */
.oddo-menu-toggle {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.75rem;
	padding: 0.5rem 0;
	border: 0;
	background: none;
	color: var(--oddo-creme);
	font: var(--oddo-medium) var(--oddo-fs-caps) / 1 var(--oddo-font);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	cursor: pointer;
}

.oddo-menu-toggle__icon {
	position: relative;
	width: 1.75rem;
	height: 0.5rem;
}

.oddo-menu-toggle__icon::before,
.oddo-menu-toggle__icon::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: currentColor;
	transition: transform 0.6s var(--oddo-ease), top 0.6s var(--oddo-ease);
}

.oddo-menu-toggle__icon::before {
	top: 0;
}

.oddo-menu-toggle__icon::after {
	top: 100%;
}

.oddo-menu-toggle[aria-expanded="true"] .oddo-menu-toggle__icon::before {
	top: 50%;
	transform: rotate(18deg);
}

.oddo-menu-toggle[aria-expanded="true"] .oddo-menu-toggle__icon::after {
	top: 50%;
	transform: rotate(-18deg);
}

/* Menu plein écran (mobile) */
.oddo-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	display: flex;
	align-items: flex-end;
	padding: calc(var(--oddo-header-h) + 2rem) var(--oddo-gutter) 2.5rem;
	background: var(--oddo-charbon);
	color: var(--oddo-creme);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.9s var(--oddo-ease), opacity 0.4s, visibility 0s linear 0.9s;
}

.oddo-overlay.is-open {
	opacity: 1;
	visibility: visible;
	clip-path: inset(0 0 0 0);
	transition: clip-path 0.9s var(--oddo-ease), opacity 0.2s, visibility 0s;
}

.oddo-overlay__inner {
	position: relative;
	width: 100%;
}

.oddo-overlay__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oddo-overlay__list li {
	overflow: hidden;
}

.oddo-overlay__link {
	display: block;
	padding-block: 0.25rem;
	font-size: clamp(2.5rem, 1.5rem + 7vw, 4.5rem);
	font-weight: var(--oddo-semibold);
	line-height: 1.1;
	text-decoration: none;
}

.oddo-overlay__list > li > *,
.oddo-overlay__signature {
	transform: translateY(110%);
	opacity: 0;
	transition: transform 0.9s var(--oddo-ease), opacity 0.6s var(--oddo-ease);
	transition-delay: 0s;
}

.oddo-overlay.is-open .oddo-overlay__list > li > *,
.oddo-overlay.is-open .oddo-overlay__signature {
	transform: none;
	opacity: 1;
	transition-delay: calc(0.25s + var(--i, 4) * 0.08s);
}

.oddo-overlay__cta {
	margin-top: 1.75rem;
}

.oddo-overlay__signature {
	margin: 2.5rem 0 0;
	color: var(--oddo-creme-doux);
	font-size: var(--oddo-fs-small);
}

.oddo-overlay__brush {
	position: absolute;
	right: -20%;
	top: -40%;
	width: 90%;
	opacity: 0.08;
}

html.oddo-menu-open,
html.oddo-menu-open body {
	overflow: hidden;
}

@media (min-width: 1024px) {
	.oddo-nav {
		display: flex;
	}

	.oddo-menu-toggle,
	.oddo-overlay {
		display: none;
	}
}

/* ---------- Hero ---------- */

.oddo-hero {
	position: relative;
	z-index: 2;
	min-height: max(36rem, 100svh);
	padding: 0;
	/* hero_banner_website.ai : mot-symbole 521 px sur 1920, x 690, y 407 sur 1080. */
	--logo-w: 27.14vw;
}

.oddo-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: var(--oddo-charbon);
}

.oddo-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Voile en mode produit : la couleur et l'opacité se règlent dans le bloc. */
.oddo-hero__voile {
	position: absolute;
	inset: 0;
	background: var(--oddo-voile, var(--oddo-charbon));
	opacity: var(--oddo-voile-opacite, 0.6);
	mix-blend-mode: multiply;
}

/* Logo horizontal : son bas est dans le hero, le pinceau déborde sur la section suivante. */
.oddo-hero__logo {
	position: absolute;
	left: 35.94%;
	top: 37.69%;
	width: var(--logo-w);
	aspect-ratio: 520.98 / 365;
	color: var(--oddo-creme);
	pointer-events: none;
}

.oddo-hero__wordmark {
	overflow: visible;
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
}

.oddo-hero__brush {
	position: absolute;
	left: -18.8%;
	top: 24.6%;
	width: 147%;
	--reveal: 120%;
	/* Révélation de gauche à droite, comme un trait peint; la forme est sur l'enfant. */
	-webkit-mask-image: linear-gradient(90deg, #000 calc(var(--reveal) - 12%), transparent var(--reveal));
	mask-image: linear-gradient(90deg, #000 calc(var(--reveal) - 12%), transparent var(--reveal));
}

.oddo-hero__brush .oddo-brush {
	width: 100%;
}

@media (max-width: 899px) {
	.oddo-hero {
		--logo-w: min(64vw, 24rem); /* le pinceau (147 % du logo) reste dans l'écran */
	}

	.oddo-hero__logo {
		left: calc(50% - var(--logo-w) / 2);
		top: auto;
		bottom: 18%;
	}
}

.oddo-hero__scroll {
	position: absolute;
	right: var(--oddo-gutter);
	bottom: 2.5rem;
	width: 1px;
	height: 4rem;
	background: var(--oddo-filet-fort);
	overflow: hidden;
}

.oddo-hero__scroll span {
	position: absolute;
	inset: 0;
	background: var(--oddo-creme);
	animation: oddo-scroll 2.4s var(--oddo-ease-io) infinite;
}

@keyframes oddo-scroll {
	0% {
		transform: translateY(-100%);
	}

	60%,
	100% {
		transform: translateY(100%);
	}
}

/* ---------- Introduction ---------- */

.oddo-intro {
	z-index: 1;
	overflow: clip;
}

.oddo-intro__grid {
	display: grid;
	gap: clamp(4rem, 8vw, 7rem);
}

.oddo-intro__collage {
	position: relative;
	/* Plus haut que large : la 3e photo descend sous la grande, avec un vrai décalage. */
	aspect-ratio: 1 / 1.19;
	width: min(100%, 40rem);
	margin-inline: auto;
}

.oddo-collage__item {
	position: absolute;
	margin: 0;
	overflow: hidden;
	background: var(--oddo-noir);
}

.oddo-collage__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oddo-collage__item--1 {
	left: 0;
	top: 0;
	width: 58%;
	aspect-ratio: 4 / 5;
}

.oddo-collage__item--2 {
	right: 0;
	top: 22%;
	width: 46%;
	aspect-ratio: 3 / 4;
	z-index: 2;
}

.oddo-collage__item--3 {
	left: 11%;
	bottom: 0;
	width: 38%;
	aspect-ratio: 1;
	z-index: 3;
}

@media (min-width: 1024px) {
	.oddo-intro__grid {
		grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
		align-items: center;
	}
}

/* ---------- Gamme ---------- */

.oddo-gamme {
	padding-block: 0;
	overflow: clip;
}

.oddo-gamme__pin {
	position: relative;
	padding-block: var(--oddo-section);
}

.oddo-gamme__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* sinon la grille prend la largeur de toutes les cartes */
}

.oddo-gamme__inner > :is(p, h2) {
	width: 100%;
	max-width: calc(var(--oddo-max) + 2 * var(--oddo-gutter));
	margin-inline: auto;
	padding-inline: var(--oddo-gutter);
}

/* Titre sur deux lignes, aligné sur la grille du site. */
.oddo-gamme__inner > h2 {
	max-width: calc(16.5ch + 2 * var(--oddo-gutter));
	margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
	margin-left: max(0px, calc((100% - var(--oddo-max) - 2 * var(--oddo-gutter)) / 2));
	margin-right: auto;
	text-wrap: balance;
}

.oddo-gamme__inner > .wp-block-buttons {
	width: 100%;
	max-width: calc(var(--oddo-max) + 2 * var(--oddo-gutter));
	margin-inline: auto;
	padding-inline: var(--oddo-gutter);
}

/* Le total est calculé par le script : sans lui, le compteur reste masqué. */
.oddo-counter {
	display: none !important;
}

.oddo-ready .oddo-counter {
	display: flex !important;
}

.oddo-counter {
	position: absolute;
	right: var(--oddo-gutter);
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	font-variant-numeric: tabular-nums;
	color: var(--t-soft);
}

.oddo-counter [data-oddo-current] {
	color: var(--t-fg);
}

.oddo-counter__sep {
	width: 2.5rem;
	height: 1px;
	background: var(--oddo-taupe);
}

.oddo-gamme__track {
	position: relative;
	margin-top: 0 !important; /* l'espace vient du titre : la rangée épinglée n'a pas de marge */
	padding-bottom: 3.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.oddo-gamme__track::-webkit-scrollbar {
	display: none;
}

.oddo-gamme__list {
	display: flex;
	gap: clamp(1rem, 2vw, 2rem);
	width: max-content;
	padding-inline: var(--oddo-gutter);
}

/* Carte produit : le produit détouré se pose sur le grand O. */
.oddo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: clamp(16.5rem, 74vw, 26rem);
	scroll-snap-align: start;
	scroll-margin-inline: var(--oddo-gutter);
	background: var(--oddo-charbon);
	border: 1px solid var(--oddo-filet);
	color: var(--oddo-creme);
	--o: var(--oddo-creme);
}

.oddo-card--creme {
	background: var(--oddo-creme);
	border-color: transparent;
	color: var(--oddo-charbon);
	--o: var(--oddo-charbon);
}

.oddo-card__stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.oddo-card__o {
	width: 64%;
	height: auto;
	color: var(--o);
	transition: color 0.7s var(--oddo-ease);
}

.oddo-card__product {
	position: absolute;
	left: 50%;
	top: 50%;
	width: var(--p-w, 64%);
	height: auto;
	object-fit: contain;
	transform: translate(-50%, -62%);
	filter: drop-shadow(0 1.25rem 1.5rem rgba(0, 0, 0, 0.35));
	transition: transform 1s var(--oddo-ease);
}

.oddo-card:hover .oddo-card__o,
.oddo-card:focus-within .oddo-card__o {
	color: var(--oddo-taupe);
}

.oddo-card:hover .oddo-card__product,
.oddo-card:focus-within .oddo-card__product {
	transform: translate(-50%, -62%) scale(1.06) rotate(-4deg);
}

.oddo-card__body {
	padding: 0 clamp(1.25rem, 2vw, 2rem) clamp(1.5rem, 2.4vw, 2.25rem);
}

.oddo-card__body > * + * {
	margin-top: 0.625rem;
}

.oddo-card__body p {
	font-size: var(--oddo-fs-small);
	line-height: 1.6;
	opacity: 0.85;
}

.oddo-card--creme .oddo-card__body p {
	opacity: 1;
}

.oddo-card__link {
	position: absolute;
	inset: 0;
	z-index: 2;
}

@media (min-width: 1024px) {
	.oddo-card {
		width: clamp(20rem, 31vw, 32rem);
	}

	/* Piste pilotée par le défilement : le script épingle la section. */
	/* Rangée fixée sous la barre : les cartes prennent la hauteur disponible. */
	.oddo-js .oddo-gamme.is-pinned .oddo-gamme__track {
		overflow: visible;
	}

	.oddo-js .oddo-gamme.is-pinned .oddo-card__stage {
		aspect-ratio: auto;
		height: clamp(17rem, calc(100vh - 21rem), 38rem);
	}
}

/* ---------- Vedette ---------- */

.oddo-vedette {
	overflow: clip;
	padding-block: calc(var(--oddo-section) * 0.35);
}

.oddo-vedette__grid {
	display: grid;
	gap: clamp(3rem, 6vw, 5rem);
}

.oddo-vedette__stage {
	position: relative;
	margin: 0;
	aspect-ratio: 1000 / 720;
}

.oddo-vedette__product {
	position: absolute;
	left: 21%;
	top: 6%;
	width: 58%;
}

/* Ombre douce posée sous le produit, pour l'ancrer sur le fond. */
.oddo-vedette__img {
	width: 100%;
	filter: drop-shadow(0 1.75rem 1.5rem rgba(0, 0, 0, 0.32)) drop-shadow(0 0.5rem 0.5rem rgba(0, 0, 0, 0.18));
}

.oddo-vedette__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	display: none;
}

.oddo-vedette__lines path {
	fill: none;
	stroke: var(--t-fg);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.85;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
}

.oddo-vedette__dot {
	fill: var(--t-fg);
}

.oddo-vedette__notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	inset: auto 0 0;
}

.oddo-note__title {
	display: block;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--oddo-taupe);
}

.oddo-note__text {
	display: block;
	margin-top: 0.375rem;
	font-size: var(--oddo-fs-small);
	line-height: 1.5;
}

@media (max-width: 899px) {
	.oddo-vedette__stage {
		aspect-ratio: auto;
	}

	.oddo-vedette__product {
		position: relative;
		left: auto;
		top: auto;
		width: 86%;
		margin-inline: auto;
	}

	.oddo-vedette__notes {
		position: static;
		margin-top: 2.5rem;
		padding-top: 2rem;
		border-top: 1px solid var(--t-line);
	}
}

@media (min-width: 900px) {
	.oddo-vedette__grid {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		align-items: center;
	}

	.oddo-vedette__lines {
		display: block;
	}

	.oddo-vedette__notes {
		display: block;
		inset: 0;
		pointer-events: none;
	}

	/* Le titre de la note s'aligne sur le bout de la ligne. */
	.oddo-note {
		position: absolute;
		top: var(--y);
		width: 19%;
		max-width: 13rem;
		transform: translateY(-0.6rem);
	}

	.oddo-note--droite {
		left: calc(79% + 0.875rem);
	}

	.oddo-note--gauche {
		right: calc(79% + 0.875rem);
		text-align: right;
	}
}

/* ---------- Savoir-faire ----------
 * Sur grand écran, la section reste plein écran : une étape à la fois à gauche,
 * une grande photo à droite qui change avec elle.
 */

.oddo-expertise {
	/* Alias locaux : la section suit l'ambiance de la page. */
	--sec-bg: var(--t-bg);
	--sec-fg: var(--t-fg);
	overflow: clip;
}

.oddo-expertise p.is-style-oddo-surtitre {
	color: color-mix(in srgb, var(--sec-fg) 80%, var(--sec-bg));
}

/* Indicateur d'étape : seulement quand la section est épinglée. */
.oddo-expertise__progress {
	display: none;
}

.oddo-expertise__inner {
	position: relative;
	counter-reset: pilier;
}

.oddo-piliers {
	display: grid;
	gap: clamp(3rem, 6vw, 5rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.oddo-pilier {
	display: grid;
	gap: 1.75rem;
}

.oddo-pilier__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: color-mix(in srgb, var(--sec-fg) 8%, var(--sec-bg));
}

.oddo-pilier__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oddo-pilier__text {
	counter-increment: pilier;
}

.oddo-pilier__text > * + * {
	margin-top: 1rem;
}

.oddo-pilier__num {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--sec-fg) 80%, var(--sec-bg));
}

.oddo-pilier__num::before {
	content: counter(pilier, decimal-leading-zero);
}

.oddo-pilier__num::after {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: var(--oddo-taupe);
	transition: width 0.8s var(--oddo-ease);
}

.oddo-pilier h3 {
	font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem);
	font-weight: var(--oddo-semibold);
	line-height: 1.1;
}

@media (min-width: 1024px) {
	.oddo-expertise.is-pinned {
		padding-block: 0;
	}

	/*
	 * Plein écran éditorial : titre en haut à gauche, une seule étape en bas à gauche,
	 * grande photo à droite jusqu'au bord de l'écran.
	 */
	.oddo-expertise.is-pinned .oddo-expertise__inner {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
		grid-template-rows: auto auto 1fr auto auto;
		height: 100vh;
		padding-block: calc(var(--oddo-header-h) + clamp(1rem, 4vh, 3rem)) clamp(2rem, 6vh, 4.5rem);
	}

	.oddo-expertise.is-pinned .oddo-expertise__inner > p {
		grid-column: 1;
		grid-row: 1;
	}

	.oddo-expertise.is-pinned .oddo-expertise__inner > h2 {
		grid-column: 1;
		grid-row: 2;
		font-size: clamp(2.25rem, 5vh + 1vw, 4.25rem);
	}

	.oddo-expertise.is-pinned .oddo-expertise__progress {
		grid-column: 1;
		grid-row: 4;
		display: flex;
		align-items: center;
		gap: 1.25rem;
		margin: 0 0 clamp(1.25rem, 3vh, 2rem);
		font-size: var(--oddo-fs-caps);
		font-weight: var(--oddo-medium);
		letter-spacing: var(--oddo-track);
		font-variant-numeric: tabular-nums;
	}

	.oddo-expertise__bar {
		position: relative;
		flex: 1;
		max-width: 12rem;
		height: 1px;
		background: color-mix(in srgb, var(--sec-fg) 18%, transparent);
	}

	.oddo-expertise__bar span {
		position: absolute;
		inset: 0;
		background: var(--sec-fg);
		transform-origin: 0 50%;
		transform: scaleX(var(--step-progress, 0.25));
		transition: transform 0.8s var(--oddo-ease);
	}

	.oddo-expertise.is-pinned .oddo-piliers,
	.oddo-expertise.is-pinned .oddo-pilier {
		display: contents;
	}

	/* Toutes les étapes occupent la même cellule; seule l'active est visible. */
	.oddo-expertise.is-pinned .oddo-pilier__text {
		grid-column: 1;
		grid-row: 5;
		margin: 0 !important;
		max-width: 30rem;
		opacity: 0;
		visibility: hidden;
		transform: translateY(1.25rem);
		transition: opacity 0.5s var(--oddo-ease), transform 0.8s var(--oddo-ease), visibility 0s linear 0.5s;
	}

	.oddo-expertise.is-pinned .oddo-pilier__text.is-active {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 0.7s var(--oddo-ease) 0.25s, transform 0.9s var(--oddo-ease) 0.25s, visibility 0s;
	}

	.oddo-expertise.is-pinned .oddo-pilier__num {
		display: none;
	}

	.oddo-expertise.is-pinned .oddo-pilier__text > * + * {
		margin-top: 1rem;
	}

	.oddo-expertise.is-pinned .oddo-pilier h3 {
		font-size: clamp(1.75rem, 3vh + 1vw, 2.75rem);
	}

	/* Grande photo : toute la hauteur utile, jusqu'au bord droit de l'écran. */
	.oddo-expertise.is-pinned .oddo-pilier__media {
		grid-column: 3;
		grid-row: 1 / -1;
		align-self: stretch;
		aspect-ratio: auto;
		width: auto;
		height: auto;
		margin-right: calc(-1 * var(--oddo-gutter) - max(0px, (100vw - var(--oddo-max) - 2 * var(--oddo-gutter)) / 2));
		/* Le masque et le zoom de chaque photo sont pilotés par le défilement (GSAP). */
	}
}

/* Sans épinglage (sans script, mouvement réduit) : image et texte côte à côte. */
@media (min-width: 900px) {
	.oddo-expertise:not(.is-pinned) .oddo-pilier {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(3rem, 6vw, 6rem);
		align-items: center;
	}
}

/* ---------- Chiffres clés (section crème) ---------- */

.oddo-rigueur__inner {
	display: grid;
	gap: 1.5rem;
}

.oddo-chiffres {
	display: grid;
	gap: 2.5rem;
	margin-top: clamp(2.5rem, 4.5vw, 4rem);
	padding-top: clamp(2rem, 3.5vw, 3rem);
	border-top: 1px solid var(--t-line);
}

.oddo-chiffre__value {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
	font-size: clamp(3.25rem, 2rem + 5vw, 6.5rem);
	font-weight: var(--oddo-semibold);
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.oddo-chiffre__suffix {
	font-size: 0.45em;
	font-weight: var(--oddo-medium);
}

.oddo-chiffre p:not(.oddo-chiffre__value) {
	margin-top: 1rem;
	font-size: var(--oddo-fs-small);
	max-width: 22ch;
}

@media (min-width: 900px) {
	.oddo-rigueur__inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
		column-gap: 0;
	}

	.oddo-rigueur__inner > :is(p, h2) {
		grid-column: 1;
	}

	.oddo-rigueur__inner > p:not(.is-style-oddo-surtitre) {
		grid-column: 3;
		grid-row: 2;
		align-self: end;
	}

	.oddo-rigueur__inner > .oddo-chiffres {
		grid-column: 1 / -1;
	}

	.oddo-chiffres {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		gap: 0;
	}

	.oddo-chiffres > * + * .oddo-chiffre,
	.oddo-chiffres > .oddo-chiffre + .oddo-chiffre {
		border-left: 1px solid var(--t-line);
	}

	.oddo-chiffre {
		padding-inline: clamp(1.5rem, 3vw, 3rem);
		height: 100%;
	}

	.oddo-chiffres > :first-child .oddo-chiffre,
	.oddo-chiffres > .oddo-chiffre:first-child {
		padding-left: 0;
	}
}

/* ---------- Bande en boucle ---------- */

.oddo-bande {
	padding-block: clamp(2rem, 4vw, 4rem);
	overflow: hidden;
}

.oddo-bande__track {
	display: flex;
	width: max-content;
	animation: oddo-marquee var(--oddo-duree, 60s) linear infinite;
}

.oddo-bande__group {
	display: flex;
	align-items: center;
	flex: none;
	gap: clamp(1rem, 2vw, 1.75rem);
	padding-right: clamp(1rem, 2vw, 1.75rem);
}

.oddo-bande .wp-block-gallery {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: clamp(1rem, 2vw, 1.75rem) !important;
	margin: 0 !important;
}

.oddo-bande .wp-block-gallery .wp-block-image {
	width: auto !important;
	flex: none !important;
	margin: 0 !important;
}

.oddo-bande .wp-block-gallery img {
	width: auto !important;
	height: clamp(13rem, 8rem + 16vw, 24rem) !important;
	object-fit: cover;
}

.oddo-bande__text {
	font-size: clamp(3rem, 1.5rem + 7vw, 8.5rem);
	font-weight: var(--oddo-light);
	line-height: 1.1;
	white-space: nowrap;
	color: var(--oddo-taupe);
}

.oddo-bande__o {
	width: clamp(2rem, 1rem + 3vw, 4rem);
	color: var(--oddo-taupe);
	flex: none;
}

@keyframes oddo-marquee {
	to {
		transform: translateX(-50%);
	}
}

/* Sans script, une seule piste : pas de boucle, défilement manuel. */
.oddo-bande:not(.is-looping) .oddo-bande__track {
	animation: none;
}

.oddo-bande:not(.is-looping) {
	overflow-x: auto;
}

/* ---------- Succursales ---------- */

.oddo-succ-list {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	margin: clamp(2.5rem, 4.5vw, 4rem) 0 0;
	padding: 0;
	list-style: none;
}

.oddo-succ {
	display: grid;
	gap: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--t-line);
}

.oddo-succ__media {
	position: relative;
	display: grid;
	place-items: center;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--oddo-noir);
}

.oddo-succ__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oddo-succ__placeholder {
	width: 28%;
	color: var(--oddo-taupe);
}

.oddo-succ__body > * + * {
	margin-top: 1.25rem;
}

.oddo-succ__name {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem) !important;
	font-weight: var(--oddo-semibold) !important;
}

.oddo-succ__note {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--t-soft);
}

.oddo-succ__address {
	font-style: normal;
	line-height: 1.6;
}

.oddo-succ__hours {
	margin: 1.5rem 0 0;
	max-width: 26rem;
}

.oddo-succ__hours div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.625rem;
	border-bottom: 1px solid var(--t-line);
	font-size: var(--oddo-fs-small);
}

.oddo-succ__hours dt {
	font-weight: var(--oddo-medium);
}

.oddo-succ__hours dd {
	margin: 0;
}

.oddo-succ__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: 2rem !important;
}

.oddo-succ.is-bientot .oddo-succ__media {
	background: transparent;
	border: 1px solid var(--t-line);
}

@media (min-width: 900px) {
	/* Une seule adresse : photo large et infos côte à côte. */
	.oddo-succursales[data-count="1"] .oddo-succ {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(2.5rem, 5vw, 5rem);
		align-items: end;
	}

	/* Deux adresses et plus : grille de cartes, même dessin. */
	.oddo-succursales:not([data-count="1"]) .oddo-succ-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Appel à l'action ---------- */

.oddo-cta {
	text-align: center;
	overflow: clip;
}

.oddo-cta__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.oddo-cta__inner > * {
	position: relative;
	z-index: 1;
}

.oddo-cta .is-style-oddo-surtitre {
	justify-content: center;
}

.oddo-cta h2 {
	margin-inline: auto;
}

.oddo-cta p {
	margin-inline: auto;
}

.oddo-cta .wp-block-buttons {
	justify-content: center;
}


/* ---------- En-tête de page (pages intérieures) ---------- */

/* L'en-tête du site est fixe et transparent en haut de page : on réserve sa hauteur, signature
   comprise (marge du haut, logo, puis 3 lignes de signature : mêmes valeurs que
   .oddo-header__inner, --brand et .oddo-header__signature). */
.oddo-entete {
	--entete-header: calc(clamp(1.25rem, 3.4vw, 3.75rem) + clamp(4.5rem, 2.5rem + 5.4vw, 8.75rem) + 1.75rem + 4.14 * clamp(1rem, 0.8rem + 0.6vw, 1.375rem));
	padding-top: calc(var(--entete-header) + var(--oddo-section) * 0.6);
}

.oddo-entete__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
}

.oddo-entete__media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--oddo-noir);
}

.oddo-entete__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 1024px) {
	.oddo-entete.has-media .oddo-entete__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(3rem, 6vw, 7rem);
		align-items: end;
	}

	/* Carrée : la photo ne doit pas pousser le titre sous la ligne de flottaison. */
	.oddo-entete__media {
		aspect-ratio: 1;
	}
}

/* ---------- Liste numérotée ---------- */

.oddo-liste__grid {
	display: grid;
}

.oddo-liste__grid > :is(ul, ol) {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: oddo-liste;
	border-top: 1px solid var(--t-line);
}

.oddo-liste li {
	counter-increment: oddo-liste;
	display: grid;
	grid-template-columns: 3rem minmax(0, 1fr);
	gap: 1rem;
	padding-block: clamp(1.25rem, 2.2vw, 1.75rem);
	border-bottom: 1px solid var(--t-line);
	font-size: var(--oddo-fs-h3);
	line-height: 1.3;
}

.oddo-liste li::before {
	content: counter(oddo-liste, decimal-leading-zero);
	padding-top: 0.6em;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	line-height: 1;
	color: var(--t-soft);
}

@media (min-width: 900px) {
	/* Titre à gauche, liste à droite. La dernière rangée (1fr) absorbe la hauteur de la
	   liste, pour que le surtitre et le titre restent collés en haut. */
	.oddo-liste__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
		grid-template-rows: repeat(3, min-content) 1fr;
		align-items: start;
	}

	.oddo-liste__grid > :is(p, h2) {
		grid-column: 1;
	}

	.oddo-liste__grid > :is(ul, ol) {
		grid-column: 3;
		grid-row: 1 / -1;
		margin-top: 0;
	}
}

/* ---------- Offres d'emploi ---------- */

.oddo-emplois__list {
	margin: clamp(2.5rem, 4.5vw, 4rem) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--t-line);
}

.oddo-emploi {
	border-bottom: 1px solid var(--t-line);
}

.oddo-emploi__link {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.75rem 1rem;
	align-items: baseline;
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
	text-decoration: none;
}

.oddo-emploi__num {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	color: var(--t-soft);
}

.oddo-emplois .oddo-emploi__title {
	font-size: clamp(1.625rem, 1.2rem + 1.8vw, 3rem);
	font-weight: var(--oddo-semibold);
	line-height: 1.1;
	transition: color 0.4s;
}

.oddo-emploi__meta {
	display: flex;
	flex-wrap: wrap;
	margin-top: 0.875rem;
	font-size: var(--oddo-fs-small);
	color: var(--t-soft);
}

.oddo-emploi__meta span + span::before {
	content: "·";
	margin-inline: 0.75rem;
	color: var(--oddo-taupe);
}

.oddo-emploi__cta {
	grid-column: 2;
	justify-self: start;
	pointer-events: none;
}

.oddo-emploi__link:hover .oddo-emploi__title {
	color: var(--oddo-taupe);
}

.oddo-emploi__link:hover .oddo-link-arrow::after {
	width: 3.5rem;
	background: var(--oddo-taupe);
}

.oddo-emplois__vide {
	margin-top: clamp(2rem, 4vw, 3rem) !important;
	padding-top: 2rem;
	border-top: 1px solid var(--t-line);
}

@media (min-width: 900px) {
	.oddo-emploi__link {
		grid-template-columns: 4rem minmax(0, 1fr) auto;
		align-items: center;
	}

	.oddo-emploi__num {
		align-self: baseline;
		padding-top: 0.9em;
	}

	.oddo-emploi__cta {
		grid-column: 3;
	}
}

/* ---------- Formulaire ---------- */

.oddo-formulaire__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 1024px) {
	.oddo-formulaire__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: clamp(3rem, 7vw, 8rem);
		align-items: start;
	}
}

.oddo-coord {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	border-top: 1px solid var(--t-line);
	max-width: 26rem;
}

.oddo-coord div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--t-line);
}

.oddo-coord dt {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--t-soft);
}

.oddo-coord dd {
	margin: 0;
}

.oddo-coord a {
	text-decoration: none;
	transition: color 0.4s;
}

.oddo-coord a:hover {
	color: var(--oddo-taupe);
}

/* Champs Contact Form 7 : filet sous le champ, étiquette en petites capitales. */
.oddo-fields {
	display: grid;
	gap: 1.75rem 2rem;
}

@media (min-width: 700px) {
	.oddo-fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.oddo-field--full {
		grid-column: 1 / -1;
	}
}

.oddo-field {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

.oddo-field > label,
.oddo-field__label {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--t-soft);
}

.oddo-form .hidden-fields-container {
	display: none;
}

.oddo-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	width: 100%;
	padding: 0.75rem 0;
	border: 0;
	border-bottom: 1px solid var(--t-line-strong);
	border-radius: 0;
	background: transparent;
	color: var(--t-fg);
	font: inherit;
	font-weight: var(--oddo-light);
	transition: border-color 0.4s, box-shadow 0.4s;
}

.oddo-form :is(input, select, textarea):focus {
	outline: none;
	border-bottom-color: var(--t-fg);
	box-shadow: 0 1px 0 var(--t-fg);
}

.oddo-form ::placeholder {
	color: var(--t-soft);
	opacity: 0.7;
}

/* CF7 met rows="10" : on fixe une hauteur d'environ 4 lignes, agrandissable à la poignée. */
.oddo-form textarea {
	height: 7.5rem;
	min-height: 5rem;
	resize: vertical;
}

/* Flèche du menu déroulant dessinée en dégradés, couleur héritée. */
.oddo-form select {
	appearance: none;
	padding-right: 2rem;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 0.6rem) 55%, calc(100% - 0.25rem) 55%;
	background-size: 0.35rem 0.35rem;
	background-repeat: no-repeat;
}

.oddo-form select option {
	color: var(--oddo-charbon);
}

.oddo-form input[type="file"] {
	width: 100%;
	padding-block: 0.5rem;
	font: inherit;
	font-size: var(--oddo-fs-small);
	color: var(--t-soft);
}

.oddo-form input[type="file"]::file-selector-button {
	margin-right: 1rem;
	padding: 0.7rem 1.4rem;
	border: 1px solid var(--t-fg);
	border-radius: 999px;
	background: transparent;
	color: var(--t-fg);
	font: inherit;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.5s var(--oddo-ease), color 0.5s var(--oddo-ease);
}

.oddo-form input[type="file"]::file-selector-button:hover {
	background: var(--t-fg);
	color: var(--t-bg);
}

.oddo-field__hint {
	font-size: var(--oddo-fs-small);
	color: var(--t-soft);
}

.oddo-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: 2.5rem;
}

.oddo-form__note {
	flex: 1 1 18rem;
	margin: 0;
	font-size: var(--oddo-fs-small);
	color: var(--t-soft);
}

.oddo-form .wpcf7-submit {
	min-height: 3rem;
	padding: 0.95rem 2.25rem;
	border: 1px solid var(--t-fg);
	border-radius: 999px;
	background: var(--t-fg);
	color: var(--t-bg);
	font-family: var(--oddo-font);
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.5s var(--oddo-ease), color 0.5s var(--oddo-ease);
}

.oddo-form .wpcf7-submit:hover {
	background: transparent;
	color: var(--t-fg);
}

.oddo-form .wpcf7-submit:disabled {
	opacity: 0.5;
	cursor: wait;
}

/* Erreurs : filet orangé sous le champ, message dans la couleur du texte (lisible sur les deux fonds). */
.oddo-form .wpcf7-not-valid {
	border-bottom-color: #d0694f !important;
}

.oddo-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.5rem;
	font-size: var(--oddo-fs-small);
	color: var(--t-fg);
}

.oddo-form .wpcf7-not-valid-tip::before {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	margin-right: 0.5rem;
	border-radius: 50%;
	background: #d0694f;
	vertical-align: 0.1em;
}

.oddo-form .wpcf7 form[class] .wpcf7-response-output {
	margin: 2rem 0 0;
	padding: 1rem 1.25rem;
	border: 1px solid var(--t-line-strong);
	font-size: var(--oddo-fs-small);
}

.oddo-form .wpcf7 form[class].sent .wpcf7-response-output {
	border-color: var(--oddo-taupe);
}

.oddo-form .wpcf7 form[class]:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output {
	border-color: #d0694f;
}

.oddo-form__missing {
	padding: 2rem;
	border: 1px dashed var(--t-line-strong);
}

/* ---------- Fiche d'emploi ---------- */

/* Fil d'Ariane sur une ligne, au style du surtitre. */
.oddo-fil a {
	color: var(--t-fg);
	text-decoration: none;
	transition: color 0.4s;
}

.oddo-fil a:hover {
	color: var(--oddo-taupe);
}

.oddo-fil__sep {
	color: var(--oddo-taupe);
}

.oddo-section .oddo-fil + h1 {
	margin-top: 1.25rem;
}

.oddo-poste__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
}

/* Encadré des conditions : fixe à droite pendant la lecture, bouton Postuler compris. */
.oddo-poste__aside {
	align-self: start;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border: 1px solid var(--t-line-strong);
}

.oddo-poste__conditions {
	margin: 0;
}

.oddo-poste__conditions div {
	padding-block: 1rem;
	border-bottom: 1px solid var(--t-line);
}

.oddo-poste__conditions div:first-child {
	padding-top: 0;
}

.oddo-poste__conditions dt {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--t-soft);
}

.oddo-poste__conditions dd {
	margin: 0.375rem 0 0;
	line-height: 1.5;
}

.oddo-poste__cta {
	width: 100%;
	margin-top: 1.75rem;
}

@media (min-width: 1024px) {
	.oddo-poste__grid {
		grid-template-columns: minmax(0, 7fr) minmax(18rem, 4fr);
		gap: clamp(3rem, 7vw, 8rem);
	}

	/* Sous la barre compacte de l'en-tête (logo réduit + 2 x 0,875 rem) avec un peu d'air. */
	.oddo-poste__aside {
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: calc(clamp(3.25rem, 2.5rem + 1.6vw, 4.75rem) + 1.75rem + 2rem);
	}

	.admin-bar .oddo-poste__aside {
		top: calc(clamp(3.25rem, 2.5rem + 1.6vw, 4.75rem) + 1.75rem + 2rem + var(--wp-admin--admin-bar--height, 32px));
	}

	.oddo-poste__grid > .oddo-prose {
		grid-column: 1;
		grid-row: 1;
	}
}

/* Description du poste rédigée dans l'éditeur : colonne de lecture. */
.oddo-prose {
	max-width: 46rem;
}

.oddo-prose > :first-child {
	margin-top: 0;
}

.oddo-prose * + :is(p, ul, ol, div) {
	margin-top: 1.25rem;
}

.oddo-section .oddo-prose :is(h2, h3, h4) {
	max-width: none;
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	font-size: var(--oddo-fs-h3);
	line-height: 1.2;
}

.oddo-section .oddo-prose p {
	max-width: none;
}

.oddo-prose :is(ul, ol) {
	margin-bottom: 0;
	padding-left: 1.25rem;
}

.oddo-prose li + li {
	margin-top: 0.5rem;
}

.oddo-prose li::marker {
	color: var(--oddo-taupe);
}

.oddo-prose :is(ul, ol) :is(ul, ol) {
	margin-top: 0.5rem;
}

/* ---------- Fiches des succursales (page Succursales) ---------- */

.oddo-fiche {
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
	scroll-margin-top: 7rem;
}

.oddo-fiche + .oddo-fiche {
	margin-top: var(--oddo-section);
	padding-top: var(--oddo-section);
	border-top: 1px solid var(--t-line);
}

.oddo-fiche__photo {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--oddo-noir);
}

.oddo-fiche__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.oddo-fiche__placeholder {
	display: grid;
	place-items: center;
	color: var(--oddo-taupe);
}

.oddo-fiche__placeholder svg {
	width: 22%;
}

.oddo-fiche__body > * {
	margin-block: 0;
}

.oddo-fiche__body > * + * {
	margin-top: 1.5rem;
}

.oddo-fiche__body > p.is-style-oddo-surtitre + h2 {
	margin-top: 1.25rem;
}

.oddo-section .oddo-fiche__name {
	max-width: 12ch;
}

.oddo-fiche__description {
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	line-height: 1.6;
}

.oddo-fiche__infos {
	margin-top: 2.25rem !important;
	border-top: 1px solid var(--t-line);
}

.oddo-fiche__infos > div {
	display: grid;
	grid-template-columns: minmax(6.5rem, 1fr) minmax(0, 2.6fr);
	gap: 1rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--t-line);
}

.oddo-fiche__infos dt {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--t-soft);
	padding-top: 0.2em;
}

.oddo-fiche__infos dd {
	margin: 0;
}

.oddo-fiche__infos address {
	font-style: normal;
}

.oddo-fiche__infos a {
	text-decoration: none;
	transition: color 0.4s;
}

.oddo-fiche__infos a:hover {
	color: var(--oddo-taupe);
}

.oddo-fiche__hours {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oddo-fiche__hours li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 1rem;
}

.oddo-fiche__hours li + li {
	margin-top: 0.375rem;
}

.oddo-fiche__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
	margin-top: 2.5rem !important;
}

/* Carte en pleine largeur, désaturée pour rester dans la charte. */
.oddo-fiche__map {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--oddo-noir);
}

.oddo-fiche__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(0.95);
	transition: filter 0.6s var(--oddo-ease);
}

.oddo-fiche__map:hover iframe {
	filter: none;
}

.oddo-fiche.is-bientot .oddo-fiche__photo {
	background: transparent;
	border: 1px solid var(--t-line);
}

@media (min-width: 1024px) {
	.oddo-fiche {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: clamp(3rem, 6vw, 7rem);
		align-items: start;
	}

	/* Une fiche sur deux : photos à droite. */
	/* La photo occupe toute la hauteur de la fiche, à côté du texte. */
	.oddo-fiche__photo {
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 32rem;
	}

	.oddo-fiche:nth-of-type(even) .oddo-fiche__photo {
		grid-column: 2;
		grid-row: 1;
	}

	.oddo-fiche:nth-of-type(even) .oddo-fiche__body {
		grid-column: 1;
		grid-row: 1;
	}

	.oddo-fiche__map {
		grid-column: 1 / -1;
		aspect-ratio: 21 / 8;
	}
}

/* ---------- Portrait ---------- */

.oddo-portrait__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
}

.oddo-portrait__photo {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: var(--oddo-noir);
}

.oddo-portrait__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Parcours : la liste du portrait, l'année en gras dans une colonne à gauche. */
.oddo-portrait__text > :is(ul, ol) {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--t-line);
}

.oddo-portrait__text li {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: 1rem;
	padding-block: 0.875rem;
	border-bottom: 1px solid var(--t-line);
	font-size: var(--oddo-fs-small);
	line-height: 1.5;
}

.oddo-portrait__text li strong {
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	color: var(--oddo-taupe);
	padding-top: 0.15em;
}

@media (min-width: 1024px) {
	.oddo-portrait__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(3rem, 7vw, 8rem);
		align-items: start;
	}

	/* La photo reste à l'écran pendant la lecture, sous la barre compacte de l'en-tête. */
	.oddo-portrait__photo {
		position: sticky;
		top: calc(clamp(3.25rem, 2.5rem + 1.6vw, 4.75rem) + 1.75rem + 2rem);
	}
}

/* ---------- Pied de page ---------- */

.oddo-footer {
	padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
	border-top: 1px solid color-mix(in srgb, var(--oddo-taupe) 60%, transparent);
	font-size: var(--oddo-fs-small);
	text-align: center;
}

.oddo-footer__grid {
	display: grid;
	gap: 3rem;
}

.oddo-footer__brand {
	display: grid;
	justify-items: center;
	gap: 1.5rem;
}

.oddo-footer__logo {
	width: clamp(6.5rem, 5rem + 4vw, 8.5rem);
	color: var(--t-fg);
}

.oddo-footer__signature {
	margin: 0;
	font-size: 1rem;
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
}

.oddo-footer__title {
	margin: 0 0 1.25rem;
	font-size: var(--oddo-fs-caps);
	font-weight: var(--oddo-medium);
	letter-spacing: var(--oddo-track);
	text-transform: uppercase;
	color: var(--t-soft);
}

.oddo-footer__list,
.oddo-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oddo-footer__list li + li {
	margin-top: 0.5rem;
}

.oddo-footer__link {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.5s var(--oddo-ease), color 0.3s;
}

.oddo-footer__link:hover {
	background-size: 100% 1px;
}

.oddo-footer__succ + .oddo-footer__succ {
	margin-top: 1.5rem;
}

.oddo-footer__succ p,
.oddo-footer address {
	margin: 0;
	font-style: normal;
	line-height: 1.6;
}

.oddo-footer__succ-name {
	font-weight: var(--oddo-medium);
}

.oddo-footer__social {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}

.oddo-footer__social-link {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--t-line-strong);
	border-radius: 50%;
	transition: border-color 0.4s, background-color 0.4s, color 0.4s;
}

.oddo-footer__social-link svg {
	width: 1.125rem;
	height: 1.125rem;
}

.oddo-footer__social-link:hover {
	background: var(--t-fg);
	border-color: var(--t-fg);
	color: var(--t-bg);
}

.oddo-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: clamp(2.5rem, 4.5vw, 4rem);
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--oddo-taupe) 60%, transparent);
	color: var(--t-soft);
	font-size: 0.8125rem;
}

.oddo-footer__bottom p {
	margin: 0;
}

@media (min-width: 900px) {
	.oddo-footer {
		text-align: left;
	}

	.oddo-footer__grid {
		grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
		gap: 2.5rem;
	}

	.oddo-footer__brand {
		justify-items: start;
	}

	.oddo-footer__social {
		justify-content: flex-start;
	}

	.oddo-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

/* ---------- États initiaux des animations (seulement avec le script) ---------- */

.oddo-js .oddo-header {
	opacity: 0;
}

/* Les filets sont cachés ici; GSAP seul gère ensuite leur transformation. */
.oddo-js .oddo-hero__logo .logo-h__line {
	opacity: 0;
}

.oddo-js .oddo-hero__logo .logo-h__maison,
.oddo-js .oddo-hero__logo .logo-h__oddo {
	opacity: 0;
}

.oddo-js .oddo-hero__brush {
	--reveal: -15%;
}

.oddo-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.08em;
	margin-bottom: -0.08em;
}

.oddo-word__inner {
	display: inline-block;
}

.oddo-js [data-oddo-reveal] {
	clip-path: inset(100% 0 0 0);
}

/* ---------- Mouvement réduit : tout reste lisible et statique ---------- */

@media (prefers-reduced-motion: reduce) {

	.oddo-page *,
	.oddo-page *::before,
	.oddo-page *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.oddo-bande__track {
		animation: none !important;
	}

	.oddo-bande {
		overflow-x: auto;
	}

	.oddo-hero__scroll {
		display: none;
	}
}


/* Cibles tactiles : liens texte du pied de page et des fiches portés à 24 px de haut
   (padding sur l'élément en ligne, sans changer la mise en page). */
.oddo-footer__link,
.oddo-fiche__infos a {
	padding-block: 0.1875rem;
	background-origin: content-box;
	background-clip: content-box;
}