/*
Theme Name: Domécla
Theme URI: https://domecla.com
Author: Domécla
Description: Thème vitrine pour Domécla, assistance temporaire à domicile à Paris et Boulogne-Billancourt. Page d'accueil complète (solutions, services, engagements, étapes, formulaire de contact). Coordonnées modifiables dans Apparence → Personnaliser.
Version: 3.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: domecla
*/

/* ---------- Polices (hébergées localement) ---------- */
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("assets/fonts/newsreader-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

/* ---------- Couleurs et mesures ---------- */
:root {
	--navy: #0E5E6F;
	--navy-deep: #0A4553;
	--gold: #F26B5B;
	--gold-dark: #C2412F;
	--gold-soft: #FFE3DC;
	--sage: #1A9E8F;
	--sage-soft: #D9F2EE;
	--sky: #3F86CF;
	--sky-soft: #E1EEFB;
	--paper: #FFFAF5;
	--sand: #FFF0E6;
	--line: #F3DFD2;
	--white: #FFFFFF;
	--ink: #123B45;
	--muted: #4F6A72;
	--on-dark: #DDF1F0;
	--on-dark-muted: #A9D3D2;
	--on-dark-accent: #F7C948;
	--yellow: #F7C948;
	--header-bg: rgba(255,250,245,.92);
	--btn-bg: #D9503C;
	--btn-bg-hover: #B93F2D;
	--btn-text: #FFFFFF;
	--radius: 20px;
	--shadow: 0 1px 2px rgba(10, 69, 83, .05), 0 12px 32px rgba(10, 69, 83, .08);
	--serif: "Newsreader", Georgia, "Times New Roman", serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 10px; }

.eyebrow {
	font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--gold-dark); margin-bottom: .9rem;
	display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
	font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--btn-bg); color: var(--btn-text); }
.btn-gold:hover { background: var(--btn-bg-hover); color: var(--btn-text); }
.btn-navy, .btn-teal { background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-teal:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { border-color: color-mix(in srgb, var(--navy) 28%, transparent); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--header-bg);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand .custom-logo { max-height: 56px; width: auto; }
.brand-mark svg { width: 44px; height: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .04em; }
.brand-tag { font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--gold-dark); }
.header-cta { padding: .75rem 1.2rem; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- Héros ---------- */
.hero {
	padding: clamp(3rem, 7vw, 6rem) 0 3rem;
	background:
		radial-gradient(900px 480px at 88% 10%, var(--gold-soft) 0%, transparent 60%),
		radial-gradient(700px 420px at -5% 100%, var(--sage-soft) 0%, transparent 65%),
		var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 em { display: block; font-style: italic; color: var(--gold-dark); font-size: .78em; margin-top: .15em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.4rem; }
.hero-zone { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-weight: 500; margin: 0; }
.hero-zone svg { width: 20px; height: 20px; color: var(--gold); }

.journey {
	background: var(--white); border-radius: 28px; padding: 2rem 2rem 1.6rem;
	box-shadow: var(--shadow); border: 1px solid var(--line); position: relative;
}
.journey::before {
	content: ""; position: absolute; inset: -14px 18px auto auto; width: 70px; height: 70px;
	background: var(--gold); border-radius: 50%; opacity: .14; z-index: -1;
}
.journey-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 1.3rem; }
.journey ol { list-style: none; margin: 0; padding: 0; }
.journey li { position: relative; padding: 0 0 1.35rem 2.2rem; display: flex; flex-direction: column; }
.journey li::before {
	content: ""; position: absolute; left: 8px; top: 20px; bottom: -2px; width: 2px;
	background: repeating-linear-gradient(to bottom, var(--line) 0 5px, transparent 5px 10px);
}
.journey li:last-child { padding-bottom: .4rem; }
.journey li:last-child::before { display: none; }
.journey-dot { position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gold); background: var(--white); }
.journey li.is-goal .journey-dot { background: var(--sage); border-color: var(--sage); box-shadow: 0 0 0 5px var(--sage-soft); }
.journey-step { font-weight: 700; }
.journey-desc { color: var(--muted); font-size: .94rem; }
.journey-sign { font-family: var(--serif); font-style: italic; color: var(--gold-dark); font-size: 1.2rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }

.promises {
	list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 1.2rem;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.promises li { display: flex; align-items: center; gap: .9rem; font-weight: 500; padding: .3rem .6rem; }
.promises li + li { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.promise-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; }
.promise-icon svg { width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 40rem; margin-bottom: 2.6rem; }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.solution {
	--tone: var(--gold); --tone-soft: var(--gold-soft); --tone-ink: var(--gold-dark);
	background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem 1.6rem;
	border: 1px solid var(--line); border-top: 5px solid var(--tone); box-shadow: var(--shadow);
	height: 100%;
}
.tone-sage { --tone: var(--sage); --tone-soft: var(--sage-soft); --tone-ink: var(--sage); }
.tone-sky { --tone: var(--sky); --tone-soft: var(--sky-soft); --tone-ink: var(--sky); }
.solution-num {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--tone-soft); color: var(--tone-ink); font: 600 1.6rem/1 var(--serif); margin-bottom: 1.1rem;
}
.solution h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.solution-sub { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.08rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; padding: .3rem 0; font-size: .97rem; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--tone-ink, var(--gold-dark)); stroke-width: 2.4; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.services-grid > *, .hero-grid > *, .contact-grid > *, .human > * { min-width: 0; }
.service-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-tiles li {
	background: var(--white); border-radius: 16px; padding: 1.4rem 1.2rem; border: 1px solid var(--line);
	font-weight: 500; line-height: 1.35; overflow-wrap: break-word; display: flex; flex-direction: column; gap: .9rem;
}
.tile-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); color: var(--gold-dark); display: grid; place-items: center; border: 1px solid var(--line); }
.tile-icon svg { width: 24px; height: 24px; }
.notice-box { background: var(--navy); color: var(--on-dark); border-radius: 24px; padding: 2.2rem; }
.notice-box h3 { color: var(--white); font-size: 1.45rem; }
.notice-box p { margin: 0; }
.notice-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--on-dark-accent); margin-bottom: 1.2rem; }
.notice-icon svg { width: 28px; height: 28px; }

/* Pourquoi */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; }
.reason { display: flex; gap: 1.2rem; align-items: flex-start; }
.reason-icon { width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; }
.reason-icon svg { width: 27px; height: 27px; }
.reason h3 { margin-bottom: .35rem; }
.reason p { color: var(--muted); margin: 0; }
.mission {
	margin: 3.5rem 0 0; padding: 2.2rem 2.4rem 2.2rem 5.2rem; position: relative;
	background: var(--sand); border-radius: var(--radius); border-left: 4px solid var(--gold);
}
.mission::before { content: "\201C"; position: absolute; left: 1.4rem; top: .4rem; font: 500 5.5rem/1 var(--serif); color: var(--gold); }
.mission p { font: italic 500 clamp(1.3rem, 2.4vw, 1.7rem)/1.35 var(--serif); margin-bottom: .6rem; }
.mission footer { color: var(--muted); }

/* Étapes */
.section-navy { background: var(--navy); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--on-dark-accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; position: relative; }
.steps li { position: relative; padding-top: .2rem; }
.step-num {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--gold); color: var(--btn-text); font: 600 1.3rem/1 var(--serif); position: relative; z-index: 1;
}
.steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 22px; left: 56px; right: -10px; height: 2px;
	background: repeating-linear-gradient(to right, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px);
}
.step-icon { display: block; color: var(--on-dark-accent); margin: 1.3rem 0 .7rem; }
.step-icon svg { width: 28px; height: 28px; }
.steps h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .97rem; }

/* Humain */
.human { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.human-photo { margin: 0; position: relative; }
.human-photo img { border-radius: 28px; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; box-shadow: var(--shadow); }
.human-photo::after { content: ""; position: absolute; inset: auto -16px -16px auto; width: 45%; height: 45%; border: 2px solid var(--gold); border-radius: 28px; z-index: -1; }
.signature { font: italic 500 1.7rem/1.2 var(--serif); color: var(--gold-dark); margin-top: 1.5rem; }

/* Zone d'intervention */
.zone { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zone > * { min-width: 0; }
.zone-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.zone-list li { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.zone-list strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.zone-label { display: flex; flex-direction: column; gap: .25rem; }
.zone-sub { display: block; color: var(--muted); font-size: .95rem; line-height: 1.4; }
.zone-swatch { width: 34px; height: 24px; flex: none; border-radius: 7px; border: 2px solid var(--gold); background: repeating-linear-gradient(45deg, var(--gold-soft) 0 5px, color-mix(in srgb, var(--gold) 32%, transparent) 5px 7px); }
.zone-map { margin: 0; }
.zone-map img { width: 100%; border-radius: 28px; }

/* Contact */
.section-contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-text > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.info-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--gold-dark); display: grid; place-items: center; }
.info-icon svg { width: 20px; height: 20px; }
.info-list .k { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-list .v a { color: var(--navy); }
.hours-small { font-size: .9rem; color: var(--muted); }

.contact-form { background: var(--white); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font: 600 1.6rem/1.2 var(--serif); margin-bottom: .2rem; }
.contact-form .sub { color: var(--muted); margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
	width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
	padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
	transition: border-color .2s, background-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: .4rem 0 1.3rem; }
.consent input { margin-top: 4px; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: .9rem 1rem; border-radius: 12px; font-weight: 500; }
.form-msg.ok { background: var(--sage-soft); color: #0B6B60; }
.form-msg.err { background: #FBE7E3; color: #9B3A26; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding: 3rem 0; font-size: .94rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-brand { display: flex; gap: .9rem; align-items: center; line-height: 1.5; }
.footer-brand strong { color: var(--white); font-family: var(--serif); font-size: 1.2rem; letter-spacing: .04em; }
.footer-brand .brand-mark svg { width: 48px; }
.footer-note { margin: 0; text-align: center; font-size: .86rem; }
.footer-nav { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.footer-nav ul { list-style: none; display: flex; gap: 1.2rem; margin: 0; padding: 0; }
.footer-nav a { color: var(--on-dark); }

.call-fab {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: var(--gold); color: var(--btn-text); display: none; place-items: center; box-shadow: 0 10px 24px rgba(10, 69, 83, .25);
}
.call-fab svg { width: 26px; height: 26px; }

/* ---------- Pages classiques ---------- */
.page-hero { padding: 4rem 0 2.5rem; background: var(--sand); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-content { padding: 3rem 0 5rem; }
.entry { max-width: 46rem; }
.entry h2 { margin-top: 1.6em; }
.post-list { display: grid; gap: 2rem; max-width: 46rem; }

/* ---------- Tablettes ---------- */
@media (max-width: 1080px) {
	.main-nav ul { gap: 1.1rem; }
	.main-nav a { font-size: .9rem; }
	.header-cta { display: none; }
	.services-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
	.steps li::after { display: none; }
}
@media (max-width: 900px) {
	.menu-toggle { display: block; }
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.2rem;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { display: block; padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
	.hero-grid, .human, .contact-grid, .zone { grid-template-columns: 1fr; }
	.solutions { grid-template-columns: 1fr; max-width: 560px; }
	.promises { grid-template-columns: 1fr; }
	.promises li + li { border-left: 0; border-top: 1px solid var(--line); padding: .9rem .6rem .3rem; }
	.human-photo { max-width: 560px; }
	.human-photo::after { display: none; }
	.footer-inner { grid-template-columns: 1fr; text-align: left; }
	.footer-note { text-align: left; }
	.call-fab { display: grid; }
}
/* ---------- Mobiles ---------- */
@media (max-width: 600px) {
	body { font-size: 16px; }
	.brand-name { font-size: 1.3rem; }
	.brand-mark svg { width: 38px; }
	.service-tiles { grid-template-columns: 1fr; gap: .6rem; }
	.service-tiles li { flex-direction: row; align-items: center; gap: 1rem; padding: .8rem 1rem; hyphens: manual; }
	.tile-icon { width: 42px; height: 42px; flex: none; }
	.brand-tag { font-size: .55rem; letter-spacing: .1em; }
	.header-inner { min-height: 66px; gap: .8rem; }
	.hero .eyebrow { font-size: .7rem; letter-spacing: .1em; }
	.hero { padding-top: 2.2rem; }
	h1 { font-size: 2.3rem; }
	.section { padding: 3.2rem 0; }
	.section-head { margin-bottom: 1.8rem; }
	.solution { padding: 1.6rem 1.3rem 1.3rem; }
	.notice-box { padding: 1.6rem; }
	.reason-icon { width: 46px; height: 46px; }
	.contact-form { padding: 1.3rem; }
	.zone-map img { border-radius: 18px; }
	.reasons { grid-template-columns: 1fr; gap: 1.8rem; }
	.steps { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.mission { padding: 4rem 1.4rem 1.6rem; }
	.hero-actions .btn { width: 100%; }
	.journey { padding: 1.6rem 1.4rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}

/* ==========================================================================
   Textes d'accent en jaune doré, sur fond bleu canard foncé pour qu'ils ressortent
   ========================================================================== */
a:hover { color: var(--navy-deep); }
.main-nav a:hover { color: #12806F; }

/* Petits titres au-dessus des sections : pastille foncée, texte doré */
.eyebrow {
	display: inline-flex; background: var(--navy-deep); color: var(--yellow);
	padding: .5rem 1rem .5rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before { background: var(--yellow); width: 18px; }
.section-navy .eyebrow { background: rgba(0, 0, 0, .25); color: var(--yellow); }

/* Haut de page : fond foncé, titre blanc et doré */
.hero {
	background:
		radial-gradient(900px 480px at 88% 0%, rgba(26, 158, 143, .45) 0%, transparent 60%),
		linear-gradient(160deg, #0E5E6F 0%, #0A4553 100%);
	color: var(--on-dark);
}
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--yellow); }
.hero .lead { color: var(--on-dark); }
.hero .eyebrow { background: transparent; padding: 0; border-radius: 0; }
.hero .eyebrow::before { width: 28px; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.hero .btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.hero-zone { color: var(--on-dark); }
.hero-zone svg { color: var(--yellow); }
.journey { color: var(--ink); }
.journey-sign {
	margin: 1.3rem -2rem -1.6rem; padding: 1rem 2rem; border-top: 0;
	background: var(--navy-deep); color: var(--yellow); border-radius: 0 0 27px 27px;
}
.promises { color: var(--ink); }

/* Numéro de la première solution */
.solution:not(.tone-sage):not(.tone-sky) .solution-num { background: var(--navy-deep); color: var(--yellow); }

/* Phrase de mission */
.mission { background: var(--navy); border-left-color: var(--yellow); }
.mission::before { color: var(--yellow); }
.mission p { color: var(--white); }
.mission footer { color: var(--on-dark); }

/* « Proche de vous, à chaque étape. » */
.signature { display: inline-block; background: var(--navy-deep); color: var(--yellow); padding: .8rem 1.4rem; border-radius: 18px; }

@media (max-width: 600px) {
	.journey-sign { margin: 1.2rem -1.4rem -1.3rem; padding: .9rem 1.4rem; }
	.eyebrow { font-size: .7rem; letter-spacing: .1em; }
	.signature { font-size: 1.35rem; }
}

/* ---------- Encadré tarif ---------- */
.tarif {
	margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
	background: linear-gradient(135deg, #0E5E6F 0%, #0A4553 100%); color: var(--on-dark);
	border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow);
	scroll-margin-top: 100px;
}
.tarif p { margin: 0; }
.tarif-price { padding-right: clamp(1.5rem, 4vw, 3.5rem); border-right: 1px solid rgba(255, 255, 255, .22); }
.tarif-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.tarif-amount { color: var(--white); line-height: 1.05; margin: .3rem 0 .2rem !important; white-space: nowrap; }
.tarif-amount strong { font: 600 clamp(3rem, 6vw, 4.2rem)/1 var(--serif); color: var(--yellow); }
.tarif-amount span { font-size: 1.25rem; font-weight: 500; }
.tarif-note { font-style: italic; font-family: var(--serif); font-size: 1.1rem; }
.tarif-text p { font-size: 1.08rem; max-width: 34em; margin-bottom: 1.2rem; }
@media (max-width: 760px) {
	.tarif { grid-template-columns: 1fr; text-align: left; }
	.tarif-price { padding: 0 0 1.4rem; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
	.tarif .btn { width: 100%; }
}
.tarif-amount span { margin-left: .45rem; }

/* ---------- En-tête : le menu ne passe jamais sur deux lignes ---------- */
.main-nav a, .brand-tag, .header-cta { white-space: nowrap; }
@media (max-width: 1280px) {
	.header-cta { display: none; }
}
@media (max-width: 1080px) {
	.menu-toggle { display: block; }
	.main-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.2rem;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav a { display: block; padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
}
.tarif-after { margin-top: .9rem !important; display: inline-block; background: rgba(0, 0, 0, .25); border: 1px solid rgba(247, 201, 72, .5); border-radius: 12px; padding: .5rem .9rem; color: var(--white); font-weight: 500; }
.tarif-after strong { color: var(--yellow); font-size: 1.25rem; font-weight: 700; }

/* ---------- Pages légales et pied de page ---------- */
.footer-nav a { text-decoration: underline; text-underline-offset: 3px; }
.footer-nav a:hover { color: var(--yellow); }
.page-hero { background: linear-gradient(160deg, #0E5E6F 0%, #0A4553 100%); }
.page-hero h1 { color: var(--white); }
.entry { max-width: 48rem; font-size: 1.02rem; }
.entry h2 { font-size: 1.45rem; font-weight: 600; margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.entry h2:first-of-type { border-top: 0; padding-top: 0; }
.entry ul { padding-left: 1.2rem; margin: 0 0 1em; }
.entry li { margin-bottom: .35em; }
.entry a { color: #12806F; }

/* ---------- Confort de navigation (personnes et assistants) ---------- */
.btn, .main-nav a, .footer-nav a, .menu-toggle { min-height: 44px; }
@media (min-width: 1081px) { .main-nav a { display: inline-flex; align-items: center; } }
.footer-nav a { display: inline-flex; align-items: center; }
.menu-toggle { min-width: 44px; }
section[id], aside[id] { scroll-margin-top: 96px; }

/* ==========================================================================
   Articles de blog
   ========================================================================== */
.post-hero {
	background:
		radial-gradient(800px 420px at 90% 0%, rgba(26, 158, 143, .45) 0%, transparent 60%),
		linear-gradient(160deg, #0E5E6F 0%, #0A4553 100%);
	color: var(--on-dark); padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(5rem, 9vw, 7rem);
}
.post-hero-inner { max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; margin-bottom: 1.4rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); text-decoration: underline; }
.post-hero .eyebrow { background: rgba(0, 0, 0, .25); }
.post-title { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12; margin: 0 0 1.2rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 0; font-size: .95rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.post-meta svg { width: 18px; height: 18px; color: var(--yellow); }

.post-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start; margin-top: clamp(-4rem, -6vw, -3rem); padding-bottom: 5rem;
}
.post-main { min-width: 0; }
.post-cover { margin: 0 0 2.4rem; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 50px rgba(10, 69, 83, .22); border: 6px solid var(--white); }
.post-main > .post-body:first-child { background: var(--white); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }

/* Texte de l'article */
.post-body { font-size: 1.08rem; line-height: 1.8; color: #24424A; max-width: 46rem; }
.post-body > p:first-child { font-size: 1.24rem; line-height: 1.65; color: var(--navy); }
.post-body > p:first-child::first-letter { float: left; font: 600 3.6em/.82 var(--serif); color: var(--gold); margin: .08em .12em 0 0; }
.post-body h1, .post-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); font-weight: 600; margin: 2.6rem 0 1rem; padding-left: 1rem; border-left: 5px solid var(--gold); line-height: 1.25; }
.post-body h3 { font-size: 1.28rem; color: #12806F; margin: 2rem 0 .6rem; }
.post-body h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); margin-right: .6rem; vertical-align: middle; }
.post-body p { margin: 0 0 1.15em; }
.post-body a { color: #12806F; font-weight: 500; }
.post-body strong { color: var(--navy); font-weight: 700; }
.post-body ul, .post-body ol { margin: 0 0 1.5em; padding: 1.2rem 1.4rem; background: var(--sand); border-radius: 18px; list-style: none; }
.post-body ul li { position: relative; padding-left: 2rem; margin: .45rem 0; }
.post-body ul li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: #12806F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.post-body ol { counter-reset: n; }
.post-body ol li { counter-increment: n; position: relative; padding-left: 2.4rem; margin: .6rem 0; }
.post-body ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--navy-deep); color: var(--yellow); font: 600 .95rem/1.7rem var(--sans); text-align: center; }
.post-body blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--navy); color: var(--white); border-radius: 18px; border-left: 5px solid var(--yellow); font: italic 500 1.25rem/1.5 var(--serif); }
.post-body blockquote p:last-child { margin: 0; }
.post-body img { border-radius: 18px; }
.post-body figure { margin: 2rem 0; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 2.5rem 0; }
.post-body .wp-block-image figcaption { font-size: .9rem; color: var(--muted); text-align: center; }

/* Encadré final */
.post-cta {
	margin-top: 3rem; display: grid; grid-template-columns: 1fr auto; gap: 1.6rem; align-items: center;
	background: linear-gradient(135deg, #0E5E6F 0%, #0A4553 100%); color: var(--on-dark);
	border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.4rem);
}
.post-cta h2 { color: var(--white); margin: .2rem 0 .5rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-cta p { margin: 0; }
.post-cta-kicker { color: var(--yellow); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.post-cta-actions { display: flex; flex-direction: column; gap: .7rem; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.post-back { margin: 2rem 0 0; }
.post-back a { color: #12806F; font-weight: 500; }

/* Colonne de droite */
.post-aside { position: sticky; top: 96px; display: grid; gap: 1rem; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow); margin: 0; }
.aside-price { background: linear-gradient(160deg, #0E5E6F 0%, #0A4553 100%); border: 0; color: var(--on-dark); }
.aside-price p { margin: 0; }
.aside-label { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.aside-amount { color: var(--white); font-size: 1.1rem; margin: .2rem 0 0 !important; }
.aside-amount strong { font: 600 2.8rem/1 var(--serif); color: var(--yellow); margin-right: .3rem; }
.aside-note { font: italic 1rem var(--serif); }
.aside-after { margin: .8rem 0 1.1rem !important; padding: .5rem .8rem; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(247, 201, 72, .5); color: var(--white); font-size: .92rem; }
.aside-after strong { color: var(--yellow); }
.aside-phone { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .8rem; color: var(--white); font-weight: 700; text-decoration: none; min-height: 44px; }
.aside-phone:hover { color: var(--yellow); }
.aside-phone svg { width: 18px; height: 18px; }
.aside-list { list-style: none; display: grid; gap: .8rem; font-size: .95rem; }
.aside-list li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.4; }
.aside-list svg { width: 20px; height: 20px; flex: none; color: #12806F; stroke-width: 2.4; }

@media (max-width: 980px) {
	.post-layout { grid-template-columns: 1fr; }
	.post-aside { position: static; order: 2; }
	.post-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.post-body { font-size: 1.02rem; }
	.post-body > p:first-child { font-size: 1.12rem; }
	.post-body ul, .post-body ol { padding: 1rem; }
	.post-cover img { border-width: 4px; border-radius: 18px; }
	.post-cta .btn { width: 100%; }
}
.post-hero-inner { max-width: none; }
.post-title, .post-meta, .breadcrumb { max-width: 820px; }
.aside-list li, .post-body p, .post-body li { text-wrap: pretty; }

/* Le titre est déjà affiché en haut de page : on masque le titre H1 répété au début du texte */
/* Masqué seulement s'il y a du texte après lui : si tout le texte est dans ce titre, il reste visible. */
.post-body > h1:first-child:not(:last-child) { display: none; }
.post-body:empty { display: none; }
.post-body > h1:first-child:not(:last-child) + p { font-size: 1.24rem; line-height: 1.65; color: var(--navy); }
.post-body > h1:first-child:not(:last-child) + p::first-letter { float: left; font: 600 3.6em/.82 var(--serif); color: var(--gold); margin: .08em .12em 0 0; }
@media (max-width: 600px) { .post-body > h1:first-child:not(:last-child) + p { font-size: 1.12rem; } }
/* Image à la une affichée entière (pas de recadrage : elle peut contenir du texte ou un logo) */
.post-cover img { aspect-ratio: auto; height: auto; object-fit: contain; background: var(--white); }

.solutions-more { margin: 1.6rem 0 0; text-align: center; }
.solutions-more a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .7rem 1.3rem; border-radius: 999px; border: 1.5px solid #12806F; color: #12806F; font-weight: 700; text-decoration: none; }
.solutions-more a:hover { background: #12806F; color: var(--white); }
.solutions-more svg { width: 18px; height: 18px; }

@media (min-width: 1081px) and (max-width: 1240px) { .main-nav ul { gap: .9rem; } .main-nav a { font-size: .88rem; } }

/* ---------- Liens internes : « À lire aussi » et « Nos conseils » ---------- */
.related { margin-top: 3rem; }
.related-heading { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 1.2rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 360px)); gap: 1.2rem; }
.related-card {
	display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
	overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10, 69, 83, .14); color: var(--ink); }
.related-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.related-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.related-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #12806F; }
.related-title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; color: var(--navy); }
.related-excerpt { font-size: .94rem; color: var(--muted); line-height: 1.55; }
.related-more { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--gold-dark); font-size: .92rem; }
.related-more svg { width: 16px; height: 16px; }
