/* ==========================================================================
   Oscar 2026 — feuille principale
   Valeurs relevées sur la maquette Figma (cadre 1440 px).
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
	font-family: "Inter";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-italic.woff2") format("woff2");
}

:root {
	--bleu: #20286d;
	--rouge: #c51932;
	--vert: #78b41e;
	--beige: #f9f2ec;
	--gris: #818897;
	--fond: #fffefe;
	--trait: rgba(32, 40, 109, .2);
	--rayon: 10px;
	--container: 1200px;
	--gouttiere: 20px;
	--header-h: 104px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.21;
	color: var(--bleu);
	background: var(--fond);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--bleu); border-radius: 6px; }
.skip-link:focus { top: 16px; }

.container {
	width: min(var(--container), 100% - 2 * var(--gouttiere));
	margin-inline: auto;
}

.section { position: relative; }
.section__titre {
	font-size: 48px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

/* Bouton pilule rouge (offres, envoi du formulaire) */
.bouton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 41px;
	padding: 11px 26px;
	border: 1px solid var(--rouge);
	border-radius: 55px;
	background: var(--rouge);
	color: #fff;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.bouton:hover, .bouton:focus-visible { background: #fff; color: var(--rouge); }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bleu);
	color: #fff;
}
.site-header { transition: background-color .35s, backdrop-filter .35s; }
.site-header.is-defile { /* barre translucide floutée, façon apple.com */
	background: rgba(32, 40, 109, .82);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--header-h);
	padding-inline: 40px;
}
.site-header__logo { justify-self: start; width: 163px; }
.site-header__logo svg, .site-header__logo img { width: 163px; height: auto; }

.site-nav__list { display: flex; gap: 32px; }
.site-nav__list a {
	display: block;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
	transition: background-size .25s, color .2s;
}
.site-nav__list a:hover, .site-nav__list a:focus-visible { background-size: 100% 2px; }

/* Badge numéro vert : pastille ronde + bandeau blanc (numéro) + bandeau vert (mention) */
.tel-badge {
	--rond: 62px;
	position: relative;
	justify-self: end;
	display: block;
	width: 225px;
	height: var(--rond);
	text-decoration: none;
	isolation: isolate;
}
.tel-badge::before, .tel-badge::after { content: ""; position: absolute; z-index: -1; }
.tel-badge::before { left: 26px; top: .5px; width: 199px; height: 31px; background: #fff; }   /* bandeau blanc */
.tel-badge::after { left: 30px; top: 30.5px; width: 195px; height: 31px; background: var(--vert); } /* bandeau vert */
.tel-badge__icon {
	position: absolute; left: 0; top: 0; z-index: 2;
	display: grid; place-items: center;
	width: var(--rond); height: var(--rond);
	border-radius: 50%;
	background: #fff;
	transition: transform .25s;
}
.tel-badge__icon svg { width: 35px; height: 36px; }
.tel-badge__num {
	position: absolute; left: 66px; top: 4px; z-index: 1;
	font-size: 22px; line-height: 26px; font-weight: 700; color: var(--vert); white-space: nowrap;
}
.tel-badge__num::after { /* petite pointe blanche sur le bandeau vert */
	content: ""; position: absolute; left: 72px; top: 24.6px;
	width: 8.1px; height: 8.1px; background: #fff; transform: rotate(45deg);
}
.tel-badge__mention {
	position: absolute; left: 66px; top: 39px; z-index: 1;
	font-size: 12px; line-height: 16px; color: #fff; white-space: nowrap;
	text-transform: capitalize; /* « Service & Appel Gratuits » */
}
.tel-badge:hover .tel-badge__icon, .tel-badge:focus-visible .tel-badge__icon { transform: rotate(-12deg) scale(1.05); }

/* Variante pied de page : pastille 38 px, bandeaux côte à côte */
.tel-badge--line { --rond: 38.46px; width: 329px; justify-self: start; }
.tel-badge--line::before { left: 32.45px; top: 8.41px; width: 112.97px; height: 22.84px; }
.tel-badge--line::after { left: 145.42px; top: 8.41px; width: 183.88px; height: 22.84px; }
.tel-badge--line .tel-badge__icon svg { width: 22.9px; height: 22.9px; }
.tel-badge--line .tel-badge__num { left: 40.86px; top: 10.2px; font-size: 12px; line-height: 19.2px; }
.tel-badge--line .tel-badge__num::after { left: 99.75px; top: 5.3px; width: 6px; height: 6px; }
.tel-badge--line .tel-badge__mention { left: 156.24px; top: 10.2px; line-height: 19.2px; }

/* Bouton hamburger (< 1024 px) */
.menu-toggle {
	display: none;
	justify-self: end;
	width: 48px; height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
	display: block; width: 28px; height: 2px; margin-inline: auto;
	background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -9px; }
.menu-toggle__bars::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-9px) rotate(-45deg); }

.menu-mobile {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 49;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 48px;
	padding: 32px var(--gouttiere);
	background: var(--bleu);
	color: #fff;
	overflow-y: auto;
}
.admin-bar .menu-mobile { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
.menu-mobile__list { display: grid; gap: 28px; text-align: center; }
.menu-mobile__list a { font-size: 22px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.tel-badge--mobile { justify-self: auto; }
body.menu-ouvert { overflow: hidden; }

/* Boutons flottants (appel, e-mail) */
.joindre {
	position: fixed;
	right: 41px;
	top: 331px;
	z-index: 40;
	display: grid;
	gap: 12px;
	width: 62px;
}
.joindre__btn {
	display: grid;
	place-items: center;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--bleu);
	box-shadow: 0 0 0 0 rgba(32, 40, 109, .35);
	transition: transform .2s, box-shadow .2s, background-color .2s;
}
.joindre__btn svg { width: 62px; height: 62px; }
.joindre__btn--mail svg { width: 40px; height: 40px; }
.joindre__btn:hover, .joindre__btn:focus-visible { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(32, 40, 109, .18); }

/* ---------- 1. Bandeau ---------- */
.hero { position: relative; }
.hero__media { /* la photo démarre sous l'en-tête, comme dans la maquette (0 → 880) */
	position: absolute;
	inset: calc(-1 * var(--header-h)) 0 auto;
	height: 880px;
	overflow: hidden;
	background: #fff;
}
.hero__media::after { /* voile blanc à gauche pour la lisibilité du texte */
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to right, #fff max(0px, 50% - 720px), rgba(255, 255, 255, 0) calc(50% - 62px)); /* blanc → transparent sur 658 px à 1440 */
}
.hero__img { /* cadrage relevé dans la maquette : 102,26 % × 102,21 %, décalé de 1,37 % */
	position: absolute;
	top: -.03%;
	right: -1.37%;
	width: 102.26%;
	height: 102.21%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 0;
	transform: scaleX(-1); /* la maquette retourne la photo */
}
.hero__inner { position: relative; min-height: 776px; padding-top: 219px; }
.hero__content { width: min(417px, 100%); margin-left: -3px; }
.hero__titre {
	font-size: 40px;
	line-height: 48.4px;
	font-weight: 900;
	text-transform: uppercase;
	white-space: nowrap;
}
.hero__ligne { display: block; }
.hero__oscar { display: inline-block; vertical-align: -6px; }
.hero__oscar svg { width: 158.8px; height: 47.1px; }
.hero__texte { margin-top: 23px; font-size: 16px; line-height: 19.36px; }
.hero__cta {
	display: inline-block;
	margin-top: 2px;
	font-size: 16px;
	line-height: 29px;
	font-weight: 800;
	color: var(--rouge);
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 4px;
	transition: text-decoration-color .2s;
}
.hero__cta:hover, .hero__cta:focus-visible { text-decoration-color: currentColor; }

.hero__atouts-wrap { position: relative; z-index: 2; width: min(1009px, 100% - 2 * var(--gouttiere)); margin-top: -120px; }
.atouts {
	display: grid;
	grid-template-columns: 291fr 356fr 362fr;
	min-height: 232px;
	padding: 48px 0 30px;
	border-radius: var(--rayon);
	background: var(--beige);
}
.atouts__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.atouts__item + .atouts__item::before { /* séparateur vertical 135 px */
	content: "";
	position: absolute; left: -1px; top: 1px;
	width: 2px; height: 135px;
	background: var(--bleu);
}
.atouts__icone { display: grid; place-items: center; height: 65px; margin-bottom: 23px; }
.atouts__icone img { width: auto; max-height: 65px; }
.atouts__texte { font-size: 20px; line-height: 24.2px; font-weight: 600; }
.atouts__mascotte {
	position: absolute;
	right: -44px;
	top: -37px;
	width: 123px;
	transform: scaleX(-1);
	pointer-events: none;
}

/* ---------- Cartes (avantages, étapes) ---------- */
.cartes {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px 17px;
	counter-reset: none;
}
.carte {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 380px;
	min-height: 300px;
	padding: 30px 30px 37px;
	border: 1px solid var(--bleu);
	border-radius: var(--rayon);
	background: var(--fond);
}
.carte__num {
	position: absolute;
	right: 19px;
	top: 21px;
	font-size: 48px;
	line-height: 48px;
	font-weight: 700;
	color: var(--rouge);
}
.carte__titre {
	max-width: 200px;
	font-size: 25px;
	line-height: 30.25px;
	font-weight: 700;
	text-transform: uppercase;
}
.carte__texte { margin-top: 12px; font-size: 16px; line-height: 19.36px; opacity: .8; }
.carte__lien {
	margin-top: auto;
	padding-top: 30px;
	align-self: flex-start;
	font-size: 16px;
	color: var(--rouge);
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .2s;
}
.carte__lien:hover, .carte__lien:focus-visible { color: var(--bleu); }
.carte__etiquette {
	position: absolute;
	left: -23px;
	top: -38px;
	display: grid;
	place-items: center;
	width: 90px;
	height: 78px;
	pointer-events: none;
}
.carte__etiquette svg { width: 78.2px; height: 45.1px; transform: rotate(-30.67deg); }

/* ---------- 2. Simple, rapide, avantageux ---------- */
.avantages { padding-top: 85px; }
.avantages .cartes { margin-top: 43px; }

/* ---------- 3. Services ---------- */
.services { padding-top: 85px; }
.services__grille {
	display: grid;
	grid-template-columns: 249px 268px 580px;
	column-gap: 38px;
	justify-content: center;
	margin-top: 44px;
	margin-left: -4px;
}
.services__onglets { display: flex; flex-direction: column; grid-row: 1; grid-column: 1; }
.services__onglet {
	display: flex;
	align-items: center;
	min-height: 53px;
	padding: 0 10px 0 0;
	border: 0;
	border-right: 2px solid var(--trait);
	background: none;
	font-size: 20px;
	line-height: 24.2px;
	font-weight: 700;
	text-align: left;
	text-transform: uppercase;
	transition: color .2s, border-color .2s;
}
.services__onglet:hover { color: var(--rouge); }
.services__onglet[aria-selected="true"] { color: var(--rouge); border-right-color: var(--rouge); }
.services__panneau {
	grid-row: 1;
	grid-column: 2 / 4;
	display: grid;
	grid-template-columns: 268px 580px;
	column-gap: 41px;
	align-items: center;
}
.services__texte { font-size: 16px; line-height: 19.36px; }
.services__texte p + p { margin-top: 19.36px; }
.services__photo { align-self: start; aspect-ratio: 580 / 424; border-radius: var(--rayon); overflow: hidden; }
.services__photo img { width: 100%; height: 100%; object-fit: cover; }
.services__panneau:not([hidden]) { animation: fondu .35s ease; }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 4. Avance immédiate ---------- */
.avance { padding-top: 133px; }
.avance__intro {
	display: grid;
	grid-template-columns: 440px 580px;
	column-gap: 110px;
	align-items: center;
	justify-content: center;
	margin-top: 36px; /* le titre fait 133 px dans la maquette, 144 ici */
}
.avance__visuel { border-radius: var(--rayon); overflow: hidden; }
.avance__visuel img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.avance__texte { align-self: start; margin-top: 81px; font-size: 20px; line-height: 24.2px; font-weight: 600; } /* 81 px sous le haut du visuel */
.avance__texte p + p { margin-top: 24.2px; }
.avance__texte a { color: var(--rouge); font-style: italic; text-decoration: underline; }
.avance__texte a:hover { color: var(--bleu); }
.avance__etapes-titre {
	margin-top: 156px;
	font-size: 30px;
	line-height: 36px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}
.is-rouge { color: var(--rouge); }
.cartes--etapes { margin-top: 50px; }
.carte--etape { padding: 76px 30px 34px 31px; }
.carte--etape .carte__num { top: 14px; }
.carte__icone { position: absolute; left: 21px; top: 8px; display: grid; place-items: center; width: 60px; height: 60px; }
.carte__icone img { width: auto; max-width: 60px; max-height: 60px; }
.carte--etape .carte__titre { max-width: 348px; margin-right: -29px; text-transform: none; } /* 348 px dans la maquette, jusqu'au bord de la carte */
/* Largeurs de texte relevées carte par carte dans la maquette */
.carte--etape:nth-child(1) .carte__titre { max-width: 263px; margin-right: 0; }
.carte--etape:nth-child(3) .carte__texte { max-width: 291px; }
.carte--etape:nth-child(n+4) .carte__texte { max-width: 317px; }
.carte--etape .carte__titre a { text-decoration: underline; font-style: italic; }
.carte--etape .carte__texte { max-width: 263px; margin-top: 16px; }
.carte--etape:nth-child(-n+3) { padding-bottom: 30px; }
.carte--etape:nth-child(-n+3) .carte__titre { /* 1re rangée : titres centrés dans une zone fixe, textes alignés à 210 px */
	display: flex;
	align-items: center;
	min-height: 121px;
}
.carte--etape:nth-child(-n+3) .carte__texte { margin-top: 13px; }
.carte--etape:nth-child(n+4) { min-height: 372px; padding-top: 86px; padding-bottom: 26px; } /* 2e rangée de la maquette */
.carte--etape:nth-child(n+4) .carte__texte { margin-top: 18px; }
.carte--etape .carte__texte a { font-style: italic; text-decoration: underline; }

/* ---------- Bandeaux défilants ---------- */
.defilant {
	overflow: hidden;
	color: var(--bleu);
	font-size: 48px;
	line-height: 120px;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
}
.defilant__piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
.defilant__groupe { display: flex; flex: none; }
.defilant__mot { padding-inline: 0 .25em; }
.defilant__puce { padding-inline: 0 .35em; font-weight: 400; }
@keyframes defile { to { transform: translateX(-50%); } }
.defilant:hover .defilant__piste { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.defilant__piste { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- 5. Offres (onglets) ---------- */
.offres { padding-top: 58px; }
.offres__inner { position: relative; width: min(1176px, 100% - 2 * var(--gouttiere)); margin-top: 67px; text-align: center; }
.offres__mascotte { position: absolute; left: 72px; top: -10px; z-index: 1; width: 141px; pointer-events: none; }
.offres__onglets {
	display: flex;
	justify-content: center;
	border-bottom: 1px solid var(--trait);
}
.offres__onglet {
	min-width: 225px;
	height: 53px;
	margin-bottom: -1px;
	padding: 0 20px;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	transition: color .2s, border-color .2s;
}
.offres__onglet:hover { color: var(--rouge); }
.offres__onglet[aria-selected="true"] { border-bottom-color: var(--rouge); }
.offres__panneau { display: flex; flex-direction: column; align-items: center; padding-top: 32px; min-height: 266px; }
.offres__panneau:not([hidden]) { animation: fondu .35s ease; }
.offres__visuel img { width: 135px; margin-bottom: 16px; border-radius: 6px; }
.offres__texte { font-size: 20px; line-height: 24.2px; font-weight: 600; }
.offres__prix { margin-top: 31px; font-size: 60px; line-height: 38px; font-weight: 900; color: var(--rouge); text-transform: uppercase; }
.offres__note { margin-top: 22px; font-size: 15px; font-weight: 600; }
.offres__panneau .bouton { min-width: 269px; margin-top: 36px; padding-inline: 13px; }

/* ---------- 6. Avis ---------- */
.avis { margin-top: 100px; padding: 100px 0 97px; background: var(--beige); }
.avis .container { width: min(1300px, 100% - 2 * var(--gouttiere)); }
.avis__slider {
	display: grid;
	grid-template-columns: 24px minmax(0, 1175px) 24px;
	align-items: center;
	justify-content: center;
	column-gap: 16px;
	margin-top: 30px;
}
.avis__swiper { width: 100%; overflow: hidden; }
.avis__liste { display: flex; }
.avis__swiper:not(.swiper-initialized) .avis__liste { gap: 19px; }
.avis__swiper:not(.swiper-initialized) .avis__carte { flex: 0 0 calc(50% - 9.5px); }
.avis .swiper-slide.avis__carte { /* swiper-bundle.css remet la bordure à zéro */
	height: auto;
	min-height: 276px;
	padding: 50px 51px 40px 50px;
	border: 1px solid var(--bleu);
	border-radius: var(--rayon);
	background: rgba(249, 242, 236, .4);
	backdrop-filter: blur(5px);
}
.avis__entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.avis__service { font-size: 20px; line-height: 22px; font-weight: 700; text-transform: uppercase; }
.avis__note { display: flex; gap: 4px; flex: none; }
.avis__note svg { width: 17px; height: 17px; }
.avis__texte { max-width: 476px; margin-top: 27px; font-size: 14.4px; line-height: 17.28px; color: var(--gris); }
.avis__auteur { font-style: normal; }
.avis__fleche {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--rouge);
	transition: transform .2s;
}
.avis__fleche svg { width: 24px; height: 24px; }
.avis__fleche svg path { fill: currentColor; }
.avis__fleche--prev svg { transform: rotate(-90deg); }
.avis__fleche--next svg { transform: rotate(90deg); }
.avis__fleche--prev:hover { transform: translateX(-3px); }
.avis__fleche--next:hover { transform: translateX(3px); }
.avis__fleche:disabled, .avis__fleche.swiper-button-disabled { opacity: .3; cursor: default; transform: none; }
.avis__fleche.swiper-button-lock { display: grid; opacity: .3; cursor: default; } /* verrouillé tant que tous les avis tiennent à l'écran */

/* ---------- 7. Contact ---------- */
.contact { padding-top: 50px; }
.contact .defilant { background: #fff; }
.contact__grille {
	display: grid;
	grid-template-columns: 611px 575px;
	column-gap: 0;
	justify-content: space-between;
	align-items: stretch;
	width: min(1180px, 100% - 2 * var(--gouttiere));
	margin-top: 57px;
}
.contact__infos { display: flex; flex-direction: column; padding-left: 0; }
.contact__titre { font-size: 24px; line-height: 24px; font-weight: 700; }
.contact__texte { max-width: 532px; margin-top: 19px; font-size: 16px; line-height: 22.4px; }
.coord-cartes {
	display: grid;
	grid-template-columns: repeat(2, 255px);
	gap: 20px 22px;
	margin-top: 17px;
}
.coord-carte {
	display: grid;
	grid-template-columns: 24px 1fr;
	column-gap: 21px;
	align-items: center;
	min-height: 92px;
	height: 100%;
	padding: 12px 8px 12px 20px; /* texte de 180 px comme la maquette */
	border: 1px solid var(--bleu);
	border-radius: var(--rayon);
	text-decoration: none;
	transition: background-color .2s, box-shadow .2s;
}
a.coord-carte:hover, a.coord-carte:focus-visible { background: var(--beige); }
.coord-carte__icone { grid-row: 1 / 3; display: grid; place-items: center; width: 24px; height: 24px; }
.coord-carte__icone svg { width: 24px; height: 24px; }
.coord-carte__icone svg[width="20"] { width: 20px; height: auto; }
.coord-carte__label {
	align-self: end;
	font-size: 11.2px;
	font-weight: 500;
	letter-spacing: .3px;
	text-transform: uppercase;
	opacity: .35;
}
.coord-carte__valeur { align-self: start; margin-top: 3px; font-size: 12px; font-weight: 700; }
.contact__plan { display: block; width: 611px; max-width: 100%; margin-top: 43px; }
.contact__plan img { width: 100%; aspect-ratio: 611 / 392; object-fit: cover; }

/* Formulaire (Gravity Forms, thème « gravity-theme ») */
.contact__form {
	padding: 60px 50px 47px;
	border: 1px solid var(--bleu);
	border-radius: var(--rayon);
}
.contact__form .gform_wrapper { margin: 0; }
.contact__form .gform_fields { display: grid !important; grid-template-columns: 1fr 1fr; gap: 9px 7.44px !important; }
.contact__form .gfield { grid-column: span 2; margin: 0; padding: 0; }
.contact__form .gfield--width-half { grid-column: span 1; }
.contact__form .gfield_label, .contact__form .gform_required_legend, .contact__form .gfield_required_text { display: none !important; }
.contact__form .gfield:not(.gfield--type-consent) > .gfield_label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form input[type="tel"],
.contact__form select,
.contact__form textarea {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	border: 1px solid var(--trait);
	border-radius: var(--rayon);
	background: rgba(255, 255, 255, .5);
	color: var(--bleu);
	font: 400 16px/1.2 "Inter", sans-serif !important; /* Gravity Forms impose 15 px */
	padding-inline: 15px !important;
	box-shadow: none;
	transition: border-color .2s;
}
.contact__form select {
	appearance: none;
	padding-right: 45px;
	background: rgba(255, 255, 255, .5) url("../icons/chevron.svg") right 15px center / 12px 24px no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='12' viewBox='0 0 24 12'%3E%3Cpath d='M6.09 2 5.03 3.06l5.78 5.78a1 1 0 0 0 1.41 0L18 3.06 16.94 2l-5.43 5.42z' fill='%2320286D'/%3E%3C/svg%3E");
	background-size: 24px 12px;
}
.contact__form textarea { height: 288px; padding: 15px; resize: vertical; }
.contact__form .gfield:has(textarea) { margin-top: -1px; }
.contact__form ::placeholder { color: var(--bleu); opacity: 1; }
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--bleu); }
.contact__form .gfield--type-consent { margin-top: 11px; }
.contact__form .ginput_container_consent { display: flex; align-items: center; gap: 8px; padding-left: 4px; }
.contact__form .ginput_container_consent input {
	width: 13px; height: 13px; margin: 0;
	accent-color: var(--rouge);
}
.contact__form .gfield_consent_label { font-size: 16px; color: var(--bleu); }
.contact__form .gfield_consent_label .gfield_required { margin-left: 2px; color: var(--rouge); font-size: 13px; }
.contact__form .gfield_consent_description {
	max-height: 75px;
	margin-top: 13px !important;
	padding: 5px 8px !important;
	overflow: auto;
	white-space: nowrap; /* lignes de la maquette (les <br> viennent de Gravity Forms), défilement horizontal */
	border: 1px solid var(--trait) !important;
	border-radius: 0;
	color: var(--bleu);
	font-size: 13px !important;
	line-height: 1.2;
}
.contact__form .gfield_consent_description_text {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	font-size: 13px !important;
	line-height: 15.73px !important;
	color: var(--bleu);
}
.contact__form .gfield_consent_label::after { /* astérisque rouge de la maquette */
	content: "*";
	margin-left: 1px;
	color: var(--rouge);
	font-size: 13px;
	vertical-align: 1px;
}
.contact__form .gform_footer, .contact__form .gform_page_footer { margin: 22px 0 0 !important; padding: 0 !important; }
.contact__form .bouton--envoyer {
	min-width: 143px;
	min-height: 47px;
	font-size: 15px;
	font-weight: 700;
}
.contact__form .gfield_validation_message, .contact__form .validation_message { margin-top: 4px; padding: 0 !important; border: 0 !important; background: none !important; color: var(--rouge); font-size: 13px; }
.contact__form .gform_validation_errors { margin-bottom: 16px; padding: 12px 16px; border: 1px solid var(--rouge); border-radius: var(--rayon); color: var(--rouge); box-shadow: none; }
.contact__form .gform_confirmation_message { font-size: 18px; font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 87px; background: var(--bleu); color: #fff; overflow: hidden; }
.site-footer__inner {
	display: grid;
	grid-template-columns: 397px 168px 206px 1fr;
	width: min(1300px, 100% - 2 * var(--gouttiere));
	margin-inline: auto;
	padding-top: 59px;
	min-height: 353px;
}
.site-footer__logo { display: block; width: 163px; }
.site-footer__logo svg, .site-footer__logo img { width: 163px; }
.footer-coord { display: grid; gap: 16.8px; margin-top: 51px; }
.footer-coord__item {
	display: flex;
	align-items: center;
	gap: 4.8px;
	font-size: 15px;
	line-height: 16px;
	text-decoration: none;
}
a.footer-coord__item:hover span:last-child { text-decoration: underline; }
.footer-coord__icon {
	display: grid; place-items: center; flex: none;
	width: 38.46px; height: 38.46px;
	border-radius: 50%;
	background: #fff;
}
.footer-coord__icon svg { width: 28.8px; height: 28.8px; }
.footer-coord li:last-child .footer-coord__icon svg { width: 25px; height: auto; }
.site-footer__col { padding-top: 115px; }
.site-footer__titre { font-size: 13px; line-height: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .7; }
.site-footer__liens { display: grid; gap: 10.8px; margin-top: 22px; }
.site-footer__liens li { line-height: 17.2px; }
.footer-coord li:last-child { margin-top: -6px; } /* 55 puis 49 px entre les lignes */
.site-footer__liens a { font-size: 15.2px; line-height: 17.2px; text-decoration: none; }
.site-footer__liens a:hover, .site-footer__liens a:focus-visible { text-decoration: underline; }
.site-footer__encarts { display: flex; flex-direction: column; }
.encart-mardis {
	display: flex;
	align-items: center;
	min-height: 150px;
	padding-left: 74px;
	background: #fff;
	color: var(--bleu);
	position: relative;
}
.encart-mardis::after { /* l'encart blanc file jusqu'au bord droit de la fenêtre */
	content: "";
	position: absolute; top: 0; bottom: 0; left: calc(100% - 1px);
	width: 100vw;
	background: #fff;
}
.encart-mardis__logo { width: 112px; height: 84px; object-fit: contain; }
.encart-mardis__texte {
	position: relative;
	margin-left: 15px;
	padding-left: 17px;
	font-size: 20px;
	line-height: 24.2px;
	font-weight: 600;
}
.encart-mardis__texte::before { /* filet vertical de 85 px */
	content: "";
	position: absolute; left: 0; top: 50%;
	width: 2px; height: 85px;
	background: var(--bleu);
	transform: translateY(-50%);
}
.encart-mardis__texte strong { color: var(--rouge); font-weight: 600; }
.encart-assad { display: flex; align-items: center; gap: 32px; margin-top: 37px; padding-left: 72px; }
.encart-assad__logo { width: 158px; height: 60px; object-fit: contain; }
.encart-assad__texte { font-size: 20px; line-height: 24.2px; font-weight: 600; }
.site-footer__copyright {
	padding: 21px var(--gouttiere) 29px;
	font-size: 12px;
	line-height: 16.8px;
	text-align: center;
	opacity: .6;
}
.site-footer__copyright a { text-decoration: none; }
.site-footer__copyright a:hover { text-decoration: underline; }

/* ---------- Pages simples ---------- */
.page-simple { padding: 80px 0 40px; }
.container--texte { width: min(860px, 100% - 2 * var(--gouttiere)); }
.page-simple__titre { margin-bottom: 32px; font-size: 40px; line-height: 1.15; font-weight: 800; text-transform: uppercase; }
.contenu { font-size: 16px; line-height: 1.6; }
.contenu > * + * { margin-top: 1em; }
.contenu h2 { margin-top: 1.6em; font-size: 26px; line-height: 1.2; }
.contenu h3 { margin-top: 1.4em; font-size: 20px; }
.contenu ul { padding-left: 1.2em; list-style: disc; }
.contenu a { color: var(--rouge); }
.page-404 .bouton { margin-top: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1279px) {
	.services__grille { grid-template-columns: 220px 1fr 1fr; column-gap: 32px; margin-left: 0; }
	.services__panneau { grid-template-columns: 1fr 1fr; column-gap: 32px; }
	.services__onglet { font-size: 17px; }
	.avance__intro { grid-template-columns: 1fr 1.2fr; column-gap: 60px; }
	.avance__texte { align-self: center; margin-top: 0; }
	.contact__grille { grid-template-columns: 1fr 1fr; column-gap: 40px; }
	.coord-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__plan { width: 100%; }
	.site-footer__inner { grid-template-columns: 1.4fr .8fr .8fr; row-gap: 40px; padding-bottom: 32px; }
	.site-footer__encarts { grid-column: 1 / -1; }
	.encart-mardis { padding-left: 32px; border-radius: var(--rayon); }
	.encart-mardis::after { display: none; }
	.encart-assad { padding-left: 0; }
}

@media (max-width: 1023px) {
	:root { --header-h: 80px; }
	.site-header__inner { grid-template-columns: 1fr auto; padding-inline: var(--gouttiere); }
	.site-header__logo, .site-header__logo svg, .site-header__logo img { width: 130px; }
	.site-header .site-nav, .site-header__inner > .tel-badge { display: none; }
	.menu-toggle { display: block; }
	.joindre { top: auto; bottom: 20px; right: 16px; width: 52px; }
	.joindre__btn, .joindre__btn svg { width: 52px; height: 52px; }
	.joindre__btn--mail svg { width: 32px; height: 32px; }

	.section__titre { font-size: 36px; }
	.hero__media, .hero__inner { height: auto; min-height: 640px; }
	.hero__media { height: calc(640px + var(--header-h)); }
	.hero__inner { padding-top: 120px; }
	.atouts { grid-template-columns: repeat(3, 1fr); padding-inline: 12px; }
	.atouts__texte { font-size: 17px; }
	.atouts__mascotte { right: -10px; width: 90px; top: -60px; }

	.services__grille { grid-template-columns: 1fr; row-gap: 24px; }
	.services__onglets { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
	.services__onglet { min-height: 44px; padding: 0 14px; border-right: 0; border-bottom: 2px solid var(--trait); font-size: 15px; text-align: center; }
	.services__onglet[aria-selected="true"] { border-bottom-color: var(--rouge); }
	.services__panneau { grid-row: 2; grid-column: 1; grid-template-columns: 1fr 1fr; }

	.avance__intro { grid-template-columns: 1fr 1.3fr; column-gap: 40px; }
	.avance__etapes-titre { margin-top: 96px; }
	.carte { width: min(380px, 100%); }

	.offres__mascotte { display: none; }
	.contact__grille { grid-template-columns: 1fr; row-gap: 40px; }
	.contact__plan { order: 3; }
}

@media (max-width: 767px) {
	:root { --gouttiere: 16px; }
	body { text-align: center; }
	.section__titre { font-size: 30px; line-height: 1.1; }

	.hero__media { position: relative; inset: auto; height: 300px; min-height: 0; }
	.hero__media::after { display: none; }
	.hero__img { top: 0; right: 0; width: 100%; height: 100%; object-position: 35% 20%; }
	.hero__inner { min-height: 0; padding-top: 32px; }
	.hero__content { margin-inline: auto; }
	.hero__titre { font-size: 28px; line-height: 36px; white-space: normal; }
	.hero__oscar svg { width: 112px; height: auto; }
	.hero__oscar { vertical-align: -4px; }
	.hero__atouts-wrap { margin-top: 40px; }
	.atouts { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px; }
	.atouts__item + .atouts__item::before { left: 50%; top: -15px; width: 120px; height: 2px; transform: translateX(-50%); }
	.atouts__mascotte { display: none; }

	.avantages, .services { padding-top: 64px; }
	.avantages .cartes, .services__grille { margin-top: 32px; }
	.carte { align-items: center; text-align: center; padding-top: 72px; }
	.carte__num { right: 50%; transform: translateX(50%); top: 14px; }
	.carte__titre, .carte--etape .carte__titre { max-width: none; }
	.carte__lien { align-self: center; }
	.carte__etiquette { left: -12px; top: -30px; transform: scale(.8); }
	.carte--etape, .carte--etape:nth-child(n+4) { min-height: 0; padding-top: 76px; }
	.carte--etape:nth-child(-n+3) .carte__titre { display: block; min-height: 0; }
	.carte__icone { left: 18px; top: 10px; width: 48px; height: 48px; }
	.carte__icone img { max-width: 48px; max-height: 48px; }
	.carte--etape .carte__num { right: 18px; transform: none; }
	.carte--etape .carte__titre, .carte--etape .carte__texte, .carte--etape:nth-child(n) .carte__titre, .carte--etape:nth-child(n) .carte__texte { max-width: none; margin-right: 0; }

	.services__panneau { grid-template-columns: 1fr; row-gap: 24px; }
	.services__photo { order: -1; }

	.avance { padding-top: 72px; }
	.avance__intro { grid-template-columns: 1fr; row-gap: 32px; margin-top: 32px; }
	.avance__visuel { max-width: 440px; margin-inline: auto; }
	.avance__texte { font-size: 17px; line-height: 1.35; }
	.avance__etapes-titre { margin-top: 64px; font-size: 24px; line-height: 1.25; }
	.cartes--etapes { margin-top: 32px; }

	.defilant { font-size: 32px; line-height: 80px; }
	.offres__inner { margin-top: 32px; }
	.offres__onglets { flex-direction: column; border-bottom: 0; }
	.offres__onglet { min-width: 0; width: 100%; border-bottom: 1px solid var(--trait); font-size: 17px; }
	.offres__onglet[aria-selected="true"] { border-bottom: 2px solid var(--rouge); }
	.offres__texte { font-size: 17px; }
	.offres__prix { font-size: 44px; line-height: 1.1; }
	.offres__panneau .bouton { min-width: 0; }

	.avis { margin-top: 64px; padding: 64px 0; }
	.avis__slider { grid-template-columns: 1fr 1fr; row-gap: 20px; column-gap: 0; }
	.avis__swiper { grid-column: 1 / -1; grid-row: 1; }
	.avis__fleche { grid-row: 2; justify-self: center; width: 44px; height: 44px; }
	.avis__fleche--prev { justify-self: end; margin-right: 12px; }
	.avis__fleche--next { justify-self: start; margin-left: 12px; }
	.avis__swiper:not(.swiper-initialized) .avis__carte { flex-basis: 100%; }
	.avis .swiper-slide.avis__carte { padding: 32px 22px; }
	.avis__entete { flex-direction: column; gap: 10px; }
	.avis__texte { margin-inline: auto; }

	.contact { padding-top: 48px; }
	.contact__texte { margin-inline: auto; }
	.coord-cartes { grid-template-columns: 1fr; }
	.coord-carte { text-align: left; }
	.contact__form { padding: 32px 16px; text-align: left; }
	.contact__form .gfield--width-half { grid-column: span 2; }
	.contact__form .gform_footer { justify-content: center; display: flex; }

	.site-footer { margin-top: 64px; }
	.site-footer__inner { grid-template-columns: 1fr; justify-items: center; padding-top: 40px; row-gap: 32px; }
	.site-footer__col { padding-top: 0; }
	.footer-coord { justify-items: center; margin-top: 28px; }
	.tel-badge--line { transform: scale(.92); }
	.encart-mardis { flex-direction: column; gap: 14px; padding: 24px 16px; }
	.encart-mardis__texte { margin: 0; padding: 14px 0 0; border-top: 2px solid var(--bleu); font-size: 18px; }
	.encart-mardis__texte::before { display: none; }
	.encart-assad { flex-direction: column; gap: 14px; margin-top: 28px; }
	.encart-assad__texte { font-size: 18px; }

	.page-simple { text-align: left; }
	.page-simple__titre { font-size: 28px; }
}
