/* Sogadmin Solutions : feuille de style unique du site. */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

:root {
	--ink: #12324a;
	--ink-2: #1c4660;
	--text: #1c232b; /* texte courant : noir légèrement bleuté */
	--muted: #5b6b7b;
	--black: #1c232b; /* textes d'introduction (chapeaux) */
	--teal: #0a7ca3;
	--teal-d: #07617f;
	--gold: #c9962b;
	--gold-text: #8f6714;
	--gold-soft: #f3e4bd;
	--cream: #fbf8f1;
	--sand: #f5eee0;
	--beige: #ebe3d3;
	--line: #e5ddcc;
	--white: #fff;

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1160px;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 24px 60px -30px rgba(18, 50, 74, .45);
	--shadow-sm: 0 10px 30px -18px rgba(18, 50, 74, .35);
	--header-h: 76px;
}

/* ---------- 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;
	background: var(--cream);
	color: var(--text);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); margin: 0; }
ul { margin: 0; padding: 0; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* Photos : léger traitement chaud, pour harmoniser des visuels d'origines différentes. */
.hero__media img, .card__img { filter: saturate(.85) sepia(.05); }

/* ---------- Typo ---------- */
.eyebrow {
	margin: 0 0 10px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--gold-text);
}
.eyebrow--light { color: var(--gold-soft); }

.display {
	font: 600 clamp(40px, 5.6vw, 64px)/1.05 var(--serif);
	letter-spacing: -.02em;
	margin-bottom: 22px;
}
.display em { font-style: normal; color: var(--gold-text); }
.display .eyebrow { display: block; margin-bottom: 18px; font-family: var(--sans); line-height: 1.4; }
.display .eyebrow--after { margin: 18px 0 0; }
.h2 { font: 600 clamp(26px, 3.2vw, 38px)/1.12 var(--serif); letter-spacing: -.015em; margin-bottom: 14px; }
.h3 { font: 600 22px/1.25 var(--serif); margin-bottom: 10px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--black); max-width: 54ch; }
.lead strong { color: var(--ink); font-weight: 600; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px;
	border: 2px solid var(--teal); border-radius: 999px;
	background: var(--teal); color: var(--white);
	font: 700 16px/1.2 var(--sans); text-decoration: none;
	box-shadow: 0 14px 26px -16px rgba(10, 124, 163, .9);
	transition: background-color .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.btn:hover { background: var(--teal-d); border-color: var(--teal-d); color: var(--white); transform: translateY(-2px); }
.btn .ico { transition: transform .18s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--phone { background: rgba(255, 255, 255, .92); border-color: var(--line); color: var(--ink); box-shadow: 0 10px 24px -18px rgba(18, 50, 74, .6); letter-spacing: .02em; }
.btn--phone .ico { color: var(--teal); }
.btn--phone:hover { background: var(--white); border-color: var(--teal); color: var(--ink); }
.btn--phone:hover .ico { transform: none; }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); box-shadow: none; }
.btn--light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }

/* ---------- En-tête ---------- */
.header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 248, 241, .92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(18, 50, 74, .5); }
.header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 600 19px/1.1 var(--serif); }
.brand__tag { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list a {
	display: block; padding: 10px 12px; border-radius: 8px;
	color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none;
}
.nav__list a:hover { background: var(--sand); }
.nav__list a[aria-current="page"] { color: var(--teal-d); }
.nav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; margin-left: -8px; padding: 0;
	border: 0; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer;
}
.nav__toggle .ico { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__sub {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
	list-style: none; padding: 8px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	/* Fermeture retardée (0,3 s) : le menu ne disparaît pas si la souris sort un instant de la zone. */
	transition: opacity .18s ease .3s, transform .18s ease .3s, visibility 0s linear .48s;
}
/* Pont invisible au-dessus du sous-menu : le survol ne se perd pas dans l'espace entre « Services » et la liste. */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__sub a { font-weight: 500; }
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub,
.nav__has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__has-sub.is-open .nav__toggle .ico { transform: rotate(180deg); }

.nav__actions { display: flex; align-items: center; gap: 16px; }
.phone {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.phone .ico { color: var(--teal); }
.phone:hover { color: var(--teal-d); }

.burger {
	display: none; width: 46px; height: 46px; padding: 0;
	align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); cursor: pointer;
}
.burger__close { display: none; }
.burger .ico { width: 24px; height: 24px; display: block; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5.5vw, 76px);
	background:
		radial-gradient(900px 500px at 90% -10%, rgba(201, 150, 43, .14), transparent 60%),
		var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero__points { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .ico { color: var(--teal); width: 18px; height: 18px; }

.hero__media { position: relative; }
.hero__media img {
	position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
}
.hero__badge {
	position: absolute; left: -28px; bottom: 28px;
	display: flex; align-items: center; gap: 14px;
	padding: 14px 20px 14px 14px;
	background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
	color: var(--ink); font: 700 18px/1.2 var(--sans); text-decoration: none;
}
.hero__badge .ico {
	width: 44px; height: 44px; padding: 11px; border-radius: 50%;
	background: var(--teal); color: var(--white);
}
.hero__badge small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.hero__badge:hover { color: var(--teal-d); }

/* Hero pleine largeur (accueil) : photo en fond, voile crème à gauche pour la lisibilité */
.hero--full { padding: 0; background: var(--cream); isolation: isolate; }
.hero__bg img {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%;
}
.hero--full::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(251, 248, 241, .97) 0%, rgba(251, 248, 241, .93) 36%, rgba(251, 248, 241, .55) 54%, rgba(251, 248, 241, 0) 70%),
		linear-gradient(0deg, rgba(251, 248, 241, .9) 0%, rgba(251, 248, 241, 0) 22%);
}
.hero__inner { display: flex; align-items: center; min-height: clamp(520px, 74vh, 720px); padding-block: clamp(40px, 6vw, 80px); }
.hero--full .hero__text { max-width: 600px; }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 5.5vw, 72px) 0; }
.section__head { max-width: 720px; margin: 0 auto clamp(24px, 3vw, 36px); text-align: center; }
.section__intro { color: var(--black); font-size: 17.5px; }

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: 1fr; max-width: 1040px; margin-inline: auto; gap: 14px; }
.card {
	display: flex; flex-direction: column;
	padding: 30px 28px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card p { color: var(--black); font-size: 16px; }

/* Services : carte photo */
.services { background: var(--white); }
.card--service { position: relative; padding: 0; overflow: hidden; background: var(--cream); }
.card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 28%; }
/* Trait de séparation photo / texte : épais au centre, s'affine et s'efface vers les bords. */
.card__rule {
	display: block; flex: none; position: relative; z-index: 1;
	height: 4px; margin-top: -2px;
	background: linear-gradient(90deg, transparent 4%, var(--gold) 50%, transparent 96%);
	clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card--service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--beige); }
.card__link {
	margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
	font-weight: 700; text-decoration: none; color: var(--teal-d);
}
.card__link::after { content: ""; position: absolute; inset: 0; } /* carte entièrement cliquable */
.card__link .ico { width: 18px; height: 18px; transition: transform .18s ease; }
.card--service:hover .card__link .ico { transform: translateX(4px); }

/* À propos */
.about { background: var(--sand); }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.about__visual { position: relative; padding-bottom: 40px; }
.about__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about__card {
	position: absolute; right: -20px; bottom: 0;
	display: flex; align-items: center; gap: 14px;
	padding: 16px 22px 16px 16px;
	background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
}
.about__logo { width: 56px; height: 56px; border-radius: 50%; }
.about__sign { margin: 0; font: 600 20px/1.2 var(--serif); color: var(--ink); }
.about__sign small { display: block; margin-top: 2px; font: 500 13px/1.4 var(--sans); color: var(--muted); }
.about__text .prose { font-size: 17.5px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.facts div { padding-right: 28px; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font: 600 26px/1 var(--serif); color: var(--teal-d); }
.facts dd { margin: 6px 0 0; font-size: 13.5px; line-height: 1.3; color: var(--muted); }

/* Confiance */
.trust { background: var(--ink); color: #d6e0e8; }
.trust .h2 { color: var(--white); }
.trust__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4.5vw, 60px); align-items: start; }
.trust__head { position: sticky; top: calc(var(--header-h) + 32px); }
.trust__text p { padding-left: 22px; border-left: 2px solid rgba(243, 228, 189, .35); margin-bottom: 1.3em; }
.trust__text p:first-child { font: 500 22px/1.45 var(--serif); color: var(--white); border-color: var(--gold); }
.trust__text strong { color: var(--gold-soft); }

/* Bénéfices : 2 × 2, numérotés */
.card--benefit { display: grid; grid-template-columns: 44px 1fr; align-content: start; gap: 2px 16px; padding: 22px 28px; }
/* Un bloc par ligne, en quinconce : alternance gauche / droite. */
.cards--4 > .card--benefit { width: min(100%, 780px); }
.cards--4 > .card--benefit:nth-child(even) { justify-self: end; }
.card__num { grid-row: span 2; font: 500 30px/1 var(--serif); color: var(--gold); padding-top: 2px; }
.card--benefit .h3 { margin: 0 0 4px; }
.card--benefit .card__text p { margin: 0 0 .5em; line-height: 1.6; }
.card--benefit .card__text p:last-child { margin: 0; }
.card--benefit:hover { border-color: var(--beige); box-shadow: var(--shadow-sm); }

/* Secteurs & zone */
.reach { background: var(--white); }
.reach__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.chips li {
	padding: 5px 11px; border: 1px solid var(--line); border-radius: 10px;
	background: var(--cream); color: var(--ink); font-weight: 600; font-size: 14px;
}
.reach__note { color: var(--black); font-size: 15px; margin: 0; }
.reach__area { padding: 22px 24px; background: var(--sand); border-radius: 14px; }
.reach__title { font-size: 21px; margin-bottom: 8px; }
.towns { list-style: none; display: flex; flex-wrap: wrap; margin-top: 8px; font-size: 15.5px; }
.towns li { font-weight: 600; color: var(--ink); line-height: 1.8; }
.towns li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--gold); font-weight: 700; }

/* FAQ */
.faq--sand { background: var(--sand); }
.faq--cream { background: var(--cream); }
.faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: 8px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 15px 20px; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font: 600 19px/1.35 var(--serif); }
.faq__item summary .ico { color: var(--teal); transition: transform .2s ease; }
.faq__item[open] summary .ico { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 16px; color: var(--black); }

/* Appel à l'action */
.cta__box {
	display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--radius);
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(201, 150, 43, .35), transparent 60%),
		linear-gradient(135deg, var(--ink-2), var(--ink));
	color: #d6e0e8;
	box-shadow: var(--shadow);
}
.cta__box--img { position: relative; overflow: hidden; grid-template-columns: minmax(200px, .75fr) 1.3fr auto; padding-block: 0; padding-left: 0; }
.cta__img {
	align-self: stretch; width: 100%; height: 100%; min-height: 250px; object-fit: cover; object-position: 50% 30%;
	filter: saturate(.85) sepia(.05);
	-webkit-mask-image: linear-gradient(to right, #000 45%, transparent 100%);
	mask-image: linear-gradient(to right, #000 45%, transparent 100%);
}
.cta__box--img .cta__text, .cta__box--img .cta__actions { padding-block: clamp(28px, 4vw, 44px); }
.cta__box .h2 { color: var(--white); }
.cta__box .lead { color: #c7d3dd; margin: 0; max-width: 46ch; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 18px; text-decoration: none; }
.cta__phone .ico { color: var(--gold-soft); }
.cta__phone:hover { color: var(--gold-soft); }


/* ---------- Pages intérieures ---------- */
.phero {
	padding: clamp(24px, 3.5vw, 44px) 0 clamp(36px, 4.5vw, 60px);
	background:
		radial-gradient(800px 420px at 92% -20%, rgba(201, 150, 43, .14), transparent 60%),
		var(--cream);
}
.phero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.phero--plain .phero__grid { grid-template-columns: 1fr; }
.phero--plain .phero__text { max-width: 820px; }
.phero__title { font: 600 clamp(32px, 4.4vw, 52px)/1.08 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 0 0 16px; }
.phero__title .eyebrow { display: block; margin-bottom: 14px; font-family: var(--sans); line-height: 1.4; }
.phero .lead { margin-bottom: 0; }
.phero .hero__actions { margin: 24px 0 0; align-items: center; }
.phero__media img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%;
	filter: saturate(.85) sepia(.05);
}
/* Fondu à gauche et à droite : la photo se fond dans le fond de la page. */
.phero__media img, .hero__media img, .about__photo {
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
/* Variante pleine largeur : photo sur la moitié droite, fondue vers la gauche sous le texte */
.phero--full { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: clamp(440px, 58vh, 580px); }
.phero--full > .wrap { width: 100%; }
.phero__bgimg {
	/* Démarre à la fin de la colonne de texte (600 px) et va jusqu'au bord droit de l'écran */
	--bg-left: calc(max(0px, (100vw - var(--wrap)) / 2) + 24px + 520px);
	position: absolute; top: 0; left: var(--bg-left); z-index: -1;
	width: calc(100% - var(--bg-left)); height: 100%; object-fit: cover; object-position: 55% 40%;
	/* Léger filtre : la photo reste en retrait par rapport au texte */
	filter: saturate(.75) sepia(.06) brightness(1.04);
	opacity: .82;
	/* Fondu progressif (courbe douce) pour éviter toute ligne de démarcation */
	-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .03) 6%, rgba(0, 0, 0, .1) 13%, rgba(0, 0, 0, .22) 21%, rgba(0, 0, 0, .38) 29%, rgba(0, 0, 0, .56) 37%, rgba(0, 0, 0, .74) 45%, rgba(0, 0, 0, .88) 53%, #000 62%);
	mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .03) 6%, rgba(0, 0, 0, .1) 13%, rgba(0, 0, 0, .22) 21%, rgba(0, 0, 0, .38) 29%, rgba(0, 0, 0, .56) 37%, rgba(0, 0, 0, .74) 45%, rgba(0, 0, 0, .88) 53%, #000 62%);
}
.phero--full .phero__text { max-width: 600px; }
/* Version compacte (page Contact) : la photo suit la hauteur du texte */
.phero--full.phero--tight { min-height: 0; padding-top: clamp(24px, 3.5vw, 44px); }
.phero--full.phero--tight .phero__bgimg { object-position: 60% 0%; }

.phone--lg { font-size: 17px; padding: 0 6px; }

.crumbs { margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-d); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Missions (pages services) */
.missions { background: var(--white); }
.missions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 980px; margin-inline: auto; }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.checklist .ico { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--sand); color: var(--teal-d); }
.missions__note { max-width: 760px; margin: 28px auto 0; text-align: center; font: 500 19px/1.5 var(--serif); color: var(--ink); }

/* Pour qui (pages services) */
.audience { background: var(--sand); }
.audience__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.audience__points { list-style: none; display: grid; gap: 10px; }
.audience__points li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--black); font-size: 15.5px; }
.audience__check { flex: none; display: inline-flex; margin-top: 3px; color: var(--teal); }
.audience__check .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.audience__points strong { display: block; font: 600 18px/1.3 var(--serif); color: var(--ink); margin-bottom: 2px; }

.others { background: var(--white); }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }

/* Secteurs */
.chips--links a {
	display: block; color: var(--ink); text-decoration: none;
}
.chips--links li { padding: 0; }
.chips--links a { padding: 5px 11px; border-radius: 10px; transition: background-color .15s ease, color .15s ease; }
.chips--links a:hover { background: var(--white); color: var(--teal-d); }
.others-sectors { background: var(--sand); }
.others-sectors .chips { justify-content: center; }
.pains { background: var(--white); }
.card--pain { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-content: start; padding: 24px 24px; }
.card--pain .card__num { grid-row: span 2; font-size: 28px; }
.card--pain .h3 { font-size: 20px; margin: 0 0 4px; }
.card--pain p { margin: 0; }
.tasks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tasks__col { padding: 22px 22px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tasks__col .h3 { font-size: 20px; margin-bottom: 4px; }
.tasks__col .h3 a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold-soft); }
.tasks__col .h3 a:hover { color: var(--teal-d); border-color: var(--teal); }
.tasks__col .checklist li:last-child { border-bottom: 0; }
.sectors__note { margin: 22px 0 0; text-align: center; color: var(--black); }

/* Tarifs */
.steps { background: var(--white); }
.steps__list { list-style: none; margin: 0; padding: 0; }
.formula { padding: 26px 28px; border-top: 4px solid var(--gold); }
.formula .h3 { margin-bottom: 8px; }
.formula p { margin: 0; }
.formulas__factors { max-width: 780px; margin: 28px auto 0; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.formulas__factors .h3 { font-size: 20px; }
.formulas__factors .checklist li:last-child { border-bottom: 0; }
.formulas__note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; font-weight: 600; color: var(--teal-d); font-size: 15px; }

/* Articles (rubrique Conseils) */
.article { background: var(--white); }
.article__grid { display: grid; grid-template-columns: 230px minmax(0, 740px); gap: clamp(24px, 4vw, 56px); justify-content: center; align-items: start; }
.article__toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 18px 18px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14.5px; }
.article__toc-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.article__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.article__toc a { color: var(--ink); text-decoration: none; }
.article__toc a:hover { color: var(--teal-d); text-decoration: underline; }
.article__body { font-size: 17.5px; line-height: 1.75; }
.article__body h2 { font: 600 clamp(24px, 2.6vw, 30px)/1.2 var(--serif); margin: 38px 0 12px; scroll-margin-top: calc(var(--header-h) + 20px); }
.article__body h3 { font: 600 21px/1.3 var(--serif); margin: 26px 0 8px; }
.article__body ul, .article__body ol { padding-left: 22px; margin: 0 0 1.1em; }
.article__body li { margin-bottom: 6px; }
.article__body ul li::marker { color: var(--gold); }
.article__body a { color: var(--teal-d); font-weight: 600; }
.article__body blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article__body blockquote p { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.article__body table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.article__body th, .article__body td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article__body thead th { background: var(--ink); color: var(--white); font-weight: 600; }
.article__body tbody td:first-child { font-weight: 700; color: var(--ink); background: var(--cream); }
.article__body tbody tr:last-child td { border-bottom: 0; }
.article__author { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 18px 20px; background: var(--sand); border-radius: var(--radius-sm); }
.article__author img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.article__author p { margin: 0; font-size: 15px; line-height: 1.5; }

/* Contact */
.form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 600; color: var(--ink); }
.field abbr, .consent abbr { color: var(--gold-text); text-decoration: none; }
.field input, .field select, .field textarea {
	width: 100%; padding: 11px 14px;
	border: 1px solid var(--line); border-radius: 10px; background: var(--cream);
	font: inherit; font-size: 16px; color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(10, 124, 163, .15); }
.was-validated :invalid { border-color: #c0392b; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.was-validated .consent input:invalid { outline: 2px solid #c0392b; }
.form .btn { justify-self: start; }
.form__note { margin: 0; font-size: 13.5px; color: var(--muted); }
.form__alert { padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #8a1c1c; font-size: 15px; }

.contact__name { font: 600 20px/1.2 var(--serif); color: var(--ink); margin-bottom: 10px; }
.contact__name small { display: block; margin-top: 2px; font: 500 13.5px/1.4 var(--sans); color: var(--muted); }
.contact__list { list-style: none; display: grid; gap: 8px; margin-bottom: 12px; }
.contact__list li { display: flex; gap: 10px; align-items: flex-start; }
.contact__list .ico { color: var(--teal); margin-top: 3px; width: 18px; height: 18px; }
.contact__list a { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact__list a[href^="mailto:"] { font-size: 15px; overflow-wrap: normal; white-space: nowrap; }
.contact__list a:hover { color: var(--teal-d); }

/* Page contact */
.phero--tight { padding-bottom: 16px; } /* haut identique aux autres pages, bas resserré */
.phero--tight .lead { max-width: 80ch; }
.contact { padding: 4px 0 clamp(28px, 3vw, 40px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 680px) 320px; justify-content: start; gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.contact__card { display: flex; flex-direction: column; padding: 20px 18px 18px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contact__photo {
	width: 136px; height: 136px; margin: 0 auto 12px; padding: 4px;
	border-radius: 50%; object-fit: cover; object-position: 50% 20%;
	/* Anneau aux couleurs du site : bleu qui se fond dans le doré */
	background: conic-gradient(from 210deg, var(--teal) 0deg, #4f9fb3 70deg, var(--gold-soft) 150deg, var(--gold) 200deg, #e6c98a 260deg, #3d93ad 320deg, var(--teal) 360deg);
	box-shadow: 0 10px 24px -14px rgba(18, 50, 74, .55);
}
.contact__card { transition: transform .25s ease, box-shadow .25s ease; }
.contact__card:hover { transform: scale(1.025); box-shadow: 0 28px 60px -28px rgba(18, 50, 74, .55); }
.contact__body { display: flex; flex-direction: column; flex: 1; text-align: left; }
.contact__card .contact__name { text-align: center; }
.contact__map { position: relative; display: block; margin-top: 4px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.contact__map img { width: 100%; height: auto; aspect-ratio: 600 / 210; object-fit: cover; object-position: 30% 57%; transition: transform .3s ease; }
.contact__map:hover img { transform: scale(1.04); }
.contact__map-cta {
	position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px;
	background: var(--white); color: var(--teal-d); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-sm);
}
.contact__osm { margin: 4px 0 10px; text-align: right; font-size: 11px; color: var(--muted); }
.contact__osm a { color: var(--muted); font-weight: 400; }
.contact__zone { margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.contact__list small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; font-weight: 400; }

.form--compact { gap: 8px; padding: 18px 20px; }
.form--compact .form__row { gap: 10px; }
.form--compact .field { gap: 3px; }
.form--compact .field span { font-size: 13px; }
.form--compact .field input, .form--compact .field select { padding: 6px 10px; font-size: 15px; border-radius: 8px; }
.form--compact .field textarea { padding: 6px 10px; min-height: 72px; font-size: 15px; border-radius: 8px; }
.form--compact .consent { font-size: 13.5px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.form__actions .form__note { flex: 1 1 200px; font-size: 12.5px; }
.form--compact .btn { min-height: 42px; padding: 9px 20px; font-size: 15px; }

.form__row:has(> :only-child) { grid-template-columns: 1fr; }

/* Accueil : même disposition que la page Contact, formulaire plus étroit, ensemble centré */
.homecontact { background: var(--cream); }
.homecontact__grid { grid-template-columns: minmax(0, 560px) 320px; justify-content: center; }
.homecontact .form { box-shadow: var(--shadow-sm); }

/* Pages de message (merci, 404) */
.notice { text-align: center; }
.notice__box { max-width: 640px; }
.notice__ok {
	display: inline-flex; align-items: center; justify-content: center;
	width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%;
	background: #e6f6ec; color: #1e9e57; box-shadow: 0 0 0 8px rgba(30, 158, 87, .08);
	animation: sga-pop .45s cubic-bezier(.2, .9, .3, 1.4) both;
}
.notice__ok .ico { width: 38px; height: 38px; stroke-width: 2.6; }
@keyframes sga-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.notice__cards { margin-top: clamp(28px, 4vw, 44px); text-align: left; }

/* Pages légales */
.legal { padding: clamp(28px, 3vw, 40px) 0 clamp(36px, 4vw, 52px); background: var(--white); border-top: 1px solid var(--line); }
.legal__text { max-width: 780px; }
.legal__text h2 { font: 600 21px/1.3 var(--serif); margin: 22px 0 8px; }
.legal__text h2:first-child { margin-top: 0; }
.legal__text ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal__text li { margin-bottom: 4px; }

/* ---------- Pied de page ---------- */
.footer { background: #0d2536; color: #aebdca; font-size: 15.5px; }
.footer a { color: #d6e0e8; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 44px 32px; }
.footer__logo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px; }
.footer__name { font: 600 21px/1.2 var(--serif); color: var(--white); margin-bottom: 2px; }
.footer__tagline { color: var(--gold-soft); font-size: 14px; margin-bottom: 14px; }
.footer__desc { max-width: 36ch; }
.footer__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .ico { color: var(--gold-soft); width: 18px; height: 18px; margin-top: 4px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
}
.footer__social a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.footer__social .ico { width: 20px; height: 20px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer__legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.footer__credit { color: var(--gold-soft) !important; font-weight: 600; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav__actions .phone { display: none; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.burger { display: inline-flex; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px 24px 24px;
		background: var(--cream); border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -30px rgba(18, 50, 74, .6);
		display: none;
	}
	.header.is-open .nav { display: flex; }
	.header.is-open .burger__open { display: none; }
	.header.is-open .burger__close { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__list > li > a { flex: 1; padding: 14px 4px; font-size: 17px; }
	/* Menu mobile : tout est affiché, sous-menu services compris (pas d'accordéon). */
	.nav__toggle { display: none; }
	.nav__sub {
		position: static; flex-basis: 100%; min-width: 0;
		padding: 0 0 10px 12px; border: 0; box-shadow: none; background: transparent;
		opacity: 1; visibility: visible; transform: none; display: block; transition: none;
	}
	.nav__sub::before { display: none; }
	.header.is-open .nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
	.nav__actions { flex-direction: column; align-items: stretch; }
	.nav__actions .phone { display: inline-flex; justify-content: center; padding: 10px; }

	.hero__grid, .about__grid, .trust__grid, .reach__grid, .phero__grid, .audience__grid, .contact__grid, .missions__grid { grid-template-columns: 1fr; }
	.phero__media { max-width: 560px; }
	.cards--2 { grid-template-columns: 1fr; }
	.tasks__grid { grid-template-columns: 1fr; }
	.homecontact__grid { grid-template-columns: 1fr; justify-items: stretch; }
	.article__grid { grid-template-columns: 1fr; }
	.article__toc { position: static; }
	.card--pain { grid-template-columns: 1fr; }
	.card--pain .card__num { grid-row: auto; }
	.contact__card { position: static; max-width: 520px; }
	.hero__media { max-width: 560px; margin-right: 18px; }
	.hero__badge { left: 16px; bottom: -22px; }
	.about__visual { max-width: 520px; }
	.about__photo { aspect-ratio: 1 / 1; }
	.about__card { right: 16px; }
	.trust__head { position: static; }
	.cards--3, .cards--4 { grid-template-columns: 1fr; }
	.cards--4 > .card--benefit { width: 100%; }
	.card--service { display: grid; grid-template-columns: 200px 1fr; }
	.card__rule { display: none; }
	.card--service .card__img { aspect-ratio: auto; height: 100%; }
	.cta__box { grid-template-columns: 1fr; }
	.cta__box--img { grid-template-columns: 1fr; padding: 0 0 clamp(24px, 4vw, 36px); gap: 20px; }
	.cta__img {
		min-height: 0; height: 210px;
		-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	}
	.cta__box--img .cta__text, .cta__box--img .cta__actions { padding: 0 clamp(24px, 4vw, 36px); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	body { font-size: 16.5px; }
	.wrap { padding-inline: 18px; }
	.brand__tag { display: none; }
	.hero__actions .btn { flex: 1 1 100%; }
	.card--service { display: flex; }
	.card__rule { display: block; }
	.card--service .card__img { aspect-ratio: 16 / 10; height: auto; }
	.card--benefit { grid-template-columns: 1fr; padding: 26px 24px; }
	.card__num { grid-row: auto; font-size: 28px; margin-bottom: 8px; }
	.facts { grid-template-columns: 1fr 1fr 1fr; }
	.facts div, .facts div + div { padding: 0 10px; }
	.facts div:first-child { padding-left: 0; }
	.facts dt { font-size: 21px; }
	.reach__area { padding: 24px; }
	.faq__item summary { padding: 18px; }
	.faq__item p { padding: 0 18px 20px; }
	.footer__grid { grid-template-columns: 1fr; }
	.form__row { grid-template-columns: 1fr; }
	.form .btn { justify-self: stretch; width: 100%; }
}

/* ---------- Boutons flottants (mobile uniquement) ---------- */
.mobilebar { display: none; }
@media (max-width: 760px) {
	/* Bandeau pleine largeur des pages intérieures : photo en fond, voile crème */
	.phero--full { min-height: 0; }
	.phero__bgimg { --bg-left: 0px; opacity: .28; -webkit-mask-image: none; mask-image: none; }
	/* Hero mobile : photo en fond derrière le texte, voile crème renforcé vers le bas */
	.hero--full::before {
		background: linear-gradient(180deg, rgba(251, 248, 241, .62) 0%, rgba(251, 248, 241, .86) 38%, rgba(251, 248, 241, .95) 70%, rgba(251, 248, 241, .98) 100%);
	}
	.hero__bg img { object-position: 60% 20%; }
	.hero__inner { min-height: 0; padding-block: 44px 36px; }
	.mobilebar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(251, 248, 241, .94);
		backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px -20px rgba(18, 50, 74, .5);
	}
	.mobilebar__btn {
		display: inline-flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 48px; border-radius: 12px;
		font: 700 15.5px/1.1 var(--sans); text-decoration: none;
	}
	.mobilebar__btn .ico { width: 19px; height: 19px; }
	.mobilebar__btn--call { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
	.mobilebar__btn--call .ico { color: var(--teal); }
	.mobilebar__btn--quote { background: var(--teal); color: var(--white); }
	.mobilebar__btn--quote:hover, .mobilebar__btn--quote:active { background: var(--teal-d); color: var(--white); }
	.mobilebar__btn--call:hover { color: var(--ink); }
	/* Masquée quand le pied de page est visible (classe posée par site.js) ou quand le menu est ouvert */
	.mobilebar { transition: transform .25s ease, opacity .25s ease; }
	.mobilebar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
	body:has(.header.is-open) .mobilebar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	/* Sans animation, mais avec le même délai de fermeture du sous-menu (ce n'est pas un mouvement). */
	.nav__sub { transition: visibility 0s linear .3s, opacity 0s linear .3s !important; }
	.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub, .nav__has-sub.is-open .nav__sub { transition-delay: 0s !important; }
}

/* Aperçu d'un article depuis l'espace rédaction (visible uniquement par Sophie) */
.preview-banner { position: sticky; top: 0; z-index: 60; background: var(--gold-soft); color: var(--text); border-bottom: 1px solid var(--gold); padding: 10px 16px; text-align: center; font-size: .95rem; }

/* Barre de rédaction (Sophie connectée, pages Conseils uniquement) */
.author-bar { background: var(--ink); color: #fff; font-size: .88rem; }
.author-bar__in { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; flex-wrap: wrap; padding-block: 7px; }
.author-bar span:first-child { opacity: .8; }
.author-bar__links { display: flex; gap: 18px; flex-wrap: wrap; }
.author-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.author-bar a:hover { color: var(--gold-soft); }
