/* ==========================================================================
   Les Toits de Johan — feuille de style principale
   ========================================================================== */

/* Polices (hébergées sur le site, aucun appel à Google) */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/caveat-latin-700-normal.woff2") format("woff2"); }

:root {
	--navy: #12306b;
	--navy-900: #0b1f47;
	--navy-800: #0f2859;
	--navy-100: #e8eef8;
	--red: #e3242b;
	--red-700: #c3161d;
	--ink: #13254d;
	--text: #3a4560;
	--muted: #5d6781;
	--line: #e2e7f0;
	--bg-light: #f3f6fb;
	--white: #fff;
	--radius: 6px;
	--shadow: 0 6px 22px rgba(18, 48, 107, .09);
	--shadow-lg: 0 14px 40px rgba(18, 48, 107, .16);
	--f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-script: "Caveat", "Segoe Script", cursive;
	--container: 1200px;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.05; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.005em; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--red); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* ---------- Icônes ---------- */
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 5px; border: 2px solid transparent; font-family: var(--f-head); font-weight: 600; font-size: 20px; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn .icon { width: 22px; height: 22px; }
.btn .icon--sm { width: 18px; height: 18px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(227, 36, 43, .28); }
.btn--red:hover { background: var(--red-700); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; border-radius: 40px; }
.btn--navy:hover { background: var(--navy-900); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .9); background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--sm { font-size: 17px; padding: 10px 18px; }
.btn--lg { font-size: 23px; padding: 15px 28px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Barre du haut ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar__zone, .topbar__tel { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tel { color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 20px; }
.topbar .icon { width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(18, 48, 107, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 84px; }
.site-header__logo { position: relative; z-index: 2; align-self: flex-start; margin-top: 4px; }
.site-header__logo .logo { width: 142px; height: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .12)); transition: width .25s; }
.is-scrolled .site-header__logo .logo { width: 96px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.main-nav__list { list-style: none; display: flex; gap: 6px; }
.main-nav__list a { display: block; padding: 10px 16px; font-weight: 500; font-size: 17px; color: var(--ink); text-decoration: none; position: relative; }
.main-nav__list a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--red); border-radius: 2px; transform: scaleX(0); transition: transform .2s; }
.main-nav__list a:hover::after, .main-nav__list .current-menu-item > a::after, .main-nav__list .current_page_item > a::after { transform: scaleX(1); }
.main-nav__list .current-menu-item > a, .main-nav__list .current_page_item > a { font-weight: 600; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle__close { display: none; }

/* ---------- Titres ---------- */
.hero-title { font-size: clamp(42px, 6vw, 76px); line-height: .95; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.hero-title em { display: block; font-style: normal; color: var(--red); }
.hero-title--light { color: #fff; }
.section-head { text-align: center; margin: 0 auto 34px; max-width: 820px; }
.section-title { font-size: clamp(30px, 3.4vw, 40px); margin: 0; position: relative; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--red); transform: translateX(-50%); }
.section-title .u { color: inherit; }
.section-sub { margin: 14px 0 0; color: var(--muted); font-size: 18px; }
.eyebrow { text-align: center; font-family: var(--f-script); font-size: 30px; color: var(--red); margin: 0 0 4px; }
.bar { display: block; width: 64px; height: 4px; background: var(--red); border-radius: 2px; margin: 12px 0 18px; }

/* ---------- Coup de pinceau ---------- */
.brush { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 20px 40px 30px 36px; transform: rotate(-6deg); }
.brush__bg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18)); }
.brush__text { position: relative; font-family: var(--f-script); font-weight: 700; color: #fff; font-size: 27px; line-height: 1.08; text-align: center; }

/* ---------- Accueil : grand visuel ---------- */
.hero-home { position: relative; min-height: 520px; background: var(--navy); overflow: hidden; }
.hero-home__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero-home__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-home__panel { position: relative; z-index: 1; width: 56%; min-height: 520px; background: linear-gradient(135deg, var(--navy-800), var(--navy) 60%, #16397c); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); display: flex; align-items: center; }
.hero-home__content { width: 100%; max-width: 680px; margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding: 56px 16% 56px 0; }
.hero-home .hero-title { font-size: clamp(40px, 4.4vw, 72px); }
.hero-title em { white-space: nowrap; }
.hero-home__text { color: #fff; font-size: 24px; line-height: 1.3; margin: 0 0 28px; max-width: 440px; }
.hero-home__brush { margin-top: 34px; margin-left: -10px; }
.hero-home__brush .brush__text { font-size: 28px; }

/* ---------- Pages intérieures : grand visuel ---------- */
.hero-page { position: relative; overflow: hidden; background: #fff; min-height: 440px; display: flex; align-items: center; }
.hero-page__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.hero-page__media img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.6) 22%, #000 42%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.6) 22%, #000 42%); }
.hero-page__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; padding-top: 48px; padding-bottom: 44px; }
.hero-page__content { max-width: 600px; }
.hero-page .hero-title { font-size: clamp(40px, 5vw, 64px); }
.hero-page__text { font-size: 22px; line-height: 1.35; color: var(--text); margin: 0 0 24px; max-width: 440px; }
.hero-page__brush { align-self: flex-start; margin-top: 10px; }
.badge-illu { position: absolute; right: 12px; bottom: 12px; background: rgba(11, 31, 71, .8); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 3px; }
.trust-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.trust-mini li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.2; color: var(--ink); font-weight: 500; }
.trust-mini .icon { width: 34px; height: 34px; color: var(--navy); }
.trust-mini li + li { padding-left: 22px; border-left: 1px solid var(--line); }

.page-head { background: linear-gradient(180deg, var(--bg-light), #fff); padding: 56px 0 18px; }
.page-head .hero-title { font-size: clamp(36px, 5vw, 60px); }
.page-head--real { padding-top: 40px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; text-decoration: none; margin-bottom: 14px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Bandeau de confiance ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-bar__item { display: flex; gap: 18px; align-items: center; padding: 22px 28px; }
.trust-bar__item + .trust-bar__item { border-left: 2px solid var(--line); }
.trust-bar__item .icon { width: 52px; height: 52px; color: var(--navy); }
.trust-bar__item h3 { font-family: var(--f-body); font-weight: 600; font-size: 18px; margin: 0 0 2px; }
.trust-bar__item p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 28px 0 64px; }
.section--light { background: var(--bg-light); }
.section--light .grid + .section-head { margin-top: 56px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card__img { display: block; overflow: hidden; aspect-ratio: 16 / 7; background: var(--navy-100); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: flex; gap: 18px; padding: 20px 22px 22px; flex: 1; }
.card__icon { width: 48px; height: 48px; color: var(--red); flex: none; stroke-width: 1.5; }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card h3 a { color: inherit; text-decoration: none; }
.card p { font-size: 16px; color: var(--text); margin-bottom: 10px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; text-decoration: none; font-size: 16px; }
.more .icon { width: 18px; height: 18px; transition: transform .2s; }
.more:hover .icon { transform: translateX(4px); }
.card--small .card__img { aspect-ratio: 16 / 6; }
.card__img--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #fff; }
.card__img--duo span { position: relative; overflow: hidden; }
.card__img--duo em { position: absolute; left: 10px; top: 10px; font-style: normal; background: var(--red); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 15px; padding: 2px 10px; border-radius: 3px; }
.card__img--duo span:last-child em { background: var(--navy); }
.card--small .card__body { gap: 14px; padding: 16px 18px 18px; }
.card--small .card__icon { width: 38px; height: 38px; }
.card--small h3 { font-size: 20px; margin-bottom: 4px; }
.card--small p { font-size: 15px; margin-bottom: 6px; }
.card--service .card__img { aspect-ratio: 2 / 1; }
.card--service .card__body { gap: 14px; }
.card--service h3 { font-size: 22px; }
.card--service p { font-size: 15.5px; }
.card--flat { box-shadow: none; border-radius: 0; background: transparent; padding: 0 6px 6px; }
.card--flat .card__img { aspect-ratio: 4 / 3; border-radius: var(--radius); margin-bottom: 16px; }
.card--flat h3 { font-size: 21px; margin-bottom: 6px; }
.card--flat p { font-size: 15.5px; color: var(--muted); }
.card__icon--top { width: 44px; height: 44px; margin-bottom: 8px; }
.grid--4 .card--flat + .card--flat { border-left: 1px solid var(--line); padding-left: 20px; }

.details { margin-top: 2px; }
.details summary { cursor: pointer; list-style: none; color: var(--red); font-weight: 600; font-size: 16px; display: inline-flex; gap: 6px; border-bottom: 1px solid currentColor; line-height: 1.3; }
.details summary::-webkit-details-marker { display: none; }
.details[open] summary span { transform: rotate(45deg); }
.details summary span { display: inline-block; transition: transform .2s; }
.details .checklist { margin-top: 12px; }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 24px; height: 24px; color: var(--red); margin-top: 1px; }
.checklist--small { gap: 5px; font-size: 15px; }
.checklist--small li { position: relative; padding-left: 16px; display: block; }
.checklist--small li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.checklist--2col { grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 4px 0 26px; }

.note-band { display: flex; gap: 14px; align-items: center; margin: 32px 0 0; background: var(--bg-light); border-left: 4px solid var(--red); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.note-band .icon { width: 30px; height: 30px; color: var(--navy); }

/* ---------- Blocs partagés image / texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.split--navy { background: linear-gradient(135deg, var(--navy-800), var(--navy)); color: #fff; }
.split--light { background: #fff; }
.split__media { position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.split--reverse .split__media { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.split--light .split__media { clip-path: none; }
.split__media > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split__content { padding: 56px max(var(--gutter), calc((100vw - var(--container)) / 2)) 56px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; }
.split--reverse .split__content { padding: 56px 40px 56px max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.split__title { color: #fff; font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 16px; }
.split__title em { font-style: normal; color: var(--red); }
.split__title--dark { color: var(--ink); margin-bottom: 0; }
.split__kicker { font-size: 24px; margin: -6px 0 0; font-weight: 500; }
.split--navy p { color: rgba(255, 255, 255, .92); font-size: 18px; }
.split--navy .checklist { font-size: 19px; }
.split--navy .checklist .icon { color: var(--red); }
.split--navy .checklist .icon path[stroke] { stroke: #fff; }
.split__brush { position: absolute; right: 8%; bottom: 10%; }
.split__brush--small { position: static; margin-top: 26px; align-self: flex-end; }
.split__brush--small .brush__text { font-size: 23px; }
.split__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split__media--duo figure { margin: 0; position: relative; }
.split__media--duo img { width: 100%; height: 100%; object-fit: cover; }
.split__media figcaption, .before-after figcaption { position: absolute; left: 12px; top: 12px; background: var(--red); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 18px; padding: 4px 12px; border-radius: 3px; }
.split__media--duo figure:last-child figcaption, .before-after figure:last-child figcaption { background: var(--navy); }

.icon-points { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin-top: 12px; }
.icon-points li { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.25; }
.icon-points .icon { width: 40px; height: 40px; color: #fff; }

/* ---------- Réalisations ---------- */
.real-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; margin: 0; background: var(--navy-100); }
.real-card__img { display: block; aspect-ratio: 4 / 2.6; overflow: hidden; }
.real-grid--tall .real-card__img { aspect-ratio: 3 / 4; }
.real-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
a.real-card:hover .real-card__img img { transform: scale(1.05); }
.real-card__label { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); background: #fff; color: var(--ink); font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.15; padding: 7px 14px; border-radius: 30px; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); }
.real-card__cat { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.real-card__count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(11, 31, 71, .78); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 20px; }
.real-card__count .icon { width: 15px; height: 15px; }
.real-grid + .center { margin-top: 30px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.filter { display: inline-block; padding: 9px 22px; border-radius: 30px; border: 1.5px solid #cfd6e3; background: #fff; color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 18px; transition: all .2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.tags .filter { font-size: 15px; padding: 4px 14px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.pager__num { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid #cfd6e3; text-decoration: none; color: var(--ink); font-weight: 600; }
.pager__num.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.head-brush { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 34px; }
.head-brush .section-head { text-align: left; margin: 0; }
.head-brush .section-title::after { left: 0; transform: none; }
.finish img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.finish__body { display: flex; gap: 14px; padding: 16px 4px 0; }
.finish h3 { font-size: 22px; margin-bottom: 4px; }
.finish h3 a { color: inherit; text-decoration: none; }
.finish p { font-size: 16px; color: var(--muted); margin: 0; }

.real-desc { max-width: 820px; margin-bottom: 26px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--navy-100); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--main { grid-column: span 2; grid-row: span 2; }
.real-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; }
.real-nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 16, 38, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox button .icon { width: 28px; height: 28px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 15px; }

/* ---------- Étapes / avant-après ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { display: flex; gap: 18px; padding: 8px 26px; }
.step + .step { border-left: 1px solid var(--line); }
.step__num { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 26px; margin-top: 44px; }
.step__icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 8px; }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 44px auto 0; }
.before-after figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.before-after img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }

/* ---------- Appels à l'action ---------- */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 250px; background: var(--navy); }
.cta-split__red { background: linear-gradient(120deg, #b3121a, var(--red) 55%, #d81f27); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); color: #fff; display: flex; align-items: center; position: relative; z-index: 1; margin-right: -8%; }
.cta-split__blue { background: radial-gradient(120% 140% at 80% 0%, #1d4185 0%, var(--navy) 45%, var(--navy-900) 100%); display: flex; align-items: center; }
.cta-split__content { padding: 42px 12% 42px max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.cta-split__red h2 { color: #fff; font-size: clamp(30px, 3.2vw, 42px); }
.cta-split__red h2::after { content: ""; display: block; width: 56px; height: 4px; background: #fff; border-radius: 2px; margin-top: 12px; opacity: .85; }
.cta-split__red p { font-size: 18px; max-width: 480px; margin: 0; }
.cta-split__call { display: flex; gap: 22px; align-items: center; padding-left: 16%; }
.cta-split__phone-icon { width: 78px; height: 78px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; }
.cta-split__phone-icon .icon { width: 40px; height: 40px; }
.cta-split__intro { color: #fff; font-size: 20px; margin: 0; font-weight: 500; }
.cta-split__tel { display: block; color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: clamp(38px, 4vw, 52px); line-height: 1.05; margin-bottom: 14px; }

.cta-photo { position: relative; background: var(--navy) var(--bg) center / cover no-repeat; color: #fff; }
.cta-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 31, 71, .9) 0%, rgba(11, 31, 71, .55) 50%, rgba(11, 31, 71, .1) 100%); }
.cta-photo__inner { position: relative; padding-top: 56px; padding-bottom: 56px; }
.cta-photo h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); max-width: 520px; }
.cta-photo p { font-size: 19px; max-width: 460px; }

.contact-band { background: var(--navy); color: #fff; }
.contact-band__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.contact-band a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 26px; }
.contact-band a + a { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.contact-band a.contact-band__main small { display: block; font-family: var(--f-body); font-size: 15px; font-weight: 500; }
.contact-band a.contact-band__main strong { font-size: 38px; line-height: 1; }
.round-icon { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; flex: none; }
.round-icon .icon { width: 30px; height: 30px; }

.cta-navy { background: linear-gradient(135deg, var(--navy-800), var(--navy)); color: #fff; }
.cta-navy__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.cta-navy h2 { color: #fff; font-size: clamp(32px, 3.4vw, 44px); margin: 0; }
.cta-navy p { font-size: 19px; margin: 0; max-width: 460px; }
.cta-navy__tel { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; margin-bottom: 18px; }
.cta-navy__tel small { display: block; font-size: 19px; }
.cta-navy__tel strong { display: block; font-family: var(--f-head); font-size: clamp(40px, 4.4vw, 56px); line-height: 1; }
.round-icon--white .icon { width: 32px; height: 32px; }
.cta-navy .round-icon { width: 72px; height: 72px; }

/* ---------- Contact ---------- */
.hero-contact { position: relative; background:
	radial-gradient(60% 80% at 15% 20%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%),
	radial-gradient(40% 60% at 70% 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 70%),
	radial-gradient(50% 50% at 90% 90%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 70%),
	linear-gradient(180deg, #bcd6f2 0%, #d8e8f8 55%, #f4f8fd 100%); }
.hero-contact__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 56px; padding-bottom: 60px; }
.hero-contact .hero-title { font-size: clamp(46px, 7vw, 88px); }
.hero-contact__text { font-size: 24px; color: var(--ink); line-height: 1.3; margin: 0; }
.hero-contact__brush .brush__text { font-size: 34px; }

.contact-main { background: var(--bg-light); padding: 0 0 50px; }
.contact-main__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; margin-top: -26px; position: relative; }
.form-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); padding: 30px 30px 34px; }
.form-card__head { display: flex; gap: 18px; align-items: center; margin-bottom: 26px; }
.form-card__icon { width: 60px; height: 60px; color: var(--red); stroke-width: 1.5; }
.form-card h2 { font-size: 34px; margin: 0 0 2px; }
.form-card__head p { margin: 0; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: 16px; }
.req { color: var(--red); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 11px 13px; border: 1.5px solid #d3d9e4; border-radius: 5px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(18, 48, 107, .12); }
.field ::placeholder { color: #98a1b3; }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: var(--red); }
.field__error { color: var(--red); font-size: 14px; font-weight: 500; }
.field__help { color: var(--muted); font-size: 13.5px; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.field--check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 16px; border: 2px dashed #b9c3d6; border-radius: 6px; background: #fafbfd; text-align: center; cursor: pointer; color: var(--text); transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--navy); background: var(--navy-100); }
.dropzone .icon { width: 50px; height: 50px; color: #3b5a8f; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.dropzone__list li { width: 74px; height: 74px; border-radius: 5px; overflow: hidden; background: var(--navy-100); position: relative; }
.dropzone__list img { width: 100%; height: 100%; object-fit: cover; }
.dropzone__list li span { position: absolute; inset: auto 0 0 0; font-size: 10px; background: rgba(0,0,0,.6); color: #fff; padding: 1px 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-alert { background: #fde8e9; color: #8f1116; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-weight: 500; }
.form-success { display: flex; gap: 16px; background: #eaf6ee; border-left: 4px solid #1f8a4c; padding: 20px; border-radius: 4px; }
.form-success .icon { width: 40px; height: 40px; color: #1f8a4c; }
.form-success h3 { font-size: 26px; margin-bottom: 6px; }
.form-success p { margin: 0; }

.contact-card { background: linear-gradient(160deg, var(--navy-800), var(--navy)); color: #fff; border-radius: 8px; padding: 30px 28px 34px; box-shadow: var(--shadow-lg); position: sticky; top: 100px; overflow: hidden; }
.contact-card__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.contact-card__head .round-icon { width: 70px; height: 70px; }
.contact-card h2 { color: #fff; font-size: 32px; margin: 0 0 8px; }
.contact-card h2 em { font-style: normal; color: var(--red); }
.contact-card__head p { margin: 0; font-size: 16px; }
.contact-card__list { list-style: none; display: grid; gap: 12px; }
.contact-card__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; }
.contact-card__list .icon { width: 26px; height: 26px; margin-top: 2px; }
.contact-card__list a { color: #fff; text-decoration: none; word-break: break-word; }
.contact-card__list .is-big a { font-family: var(--f-head); font-weight: 600; font-size: 30px; line-height: 1.1; }
.contact-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .25); margin: 22px 0; }
.contact-card__sub { display: flex; gap: 12px; align-items: center; color: #fff; font-size: 30px; margin-bottom: 14px; }
.contact-card__sub .icon { width: 32px; height: 32px; }
.contact-card__services { list-style: none; display: grid; gap: 10px; }
.contact-card__services li { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.contact-card__services .icon { width: 30px; height: 30px; color: var(--red); }
.contact-card__brush { margin-top: 28px; }
.contact-card__brush .brush__text { font-size: 24px; }

.zone-band { background: #fff; border-top: 1px solid var(--line); }
.zone-band__inner { display: flex; align-items: center; gap: 26px; padding-top: 34px; padding-bottom: 34px; }
.zone-band__pin { width: 64px; height: 64px; color: var(--red); flex: none; stroke-width: 1.4; }
.zone-band__pin circle { fill: #fff; }
.zone-band h2 { font-size: 32px; margin-bottom: 6px; }
.zone-band p { margin: 0; color: var(--muted); }
.zone-band__side { display: flex; align-items: center; gap: 14px; padding-left: 30px; margin-left: auto; border-left: 1px solid var(--line); font-family: var(--f-head); font-weight: 600; font-size: 21px; color: var(--ink); line-height: 1.1; min-width: 250px; }
.zone-band__side .icon { width: 54px; height: 54px; color: var(--navy); }
.script-underline { padding-bottom: 6px; background: linear-gradient(var(--red), var(--red)) left bottom / 80% 3px no-repeat; }

/* ---------- Pages de texte ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 30px; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.todo { background: #fff3c4; color: #7a5200; padding: 0 6px; border-radius: 3px; font-style: italic; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #fff; }
.site-footer__main { display: grid; grid-template-columns: auto 1fr 1.25fr; gap: 36px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.site-footer__logo .logo { width: 150px; }
.site-footer__contact { list-style: none; display: grid; gap: 7px; padding: 0 36px; border-left: 1px solid rgba(255, 255, 255, .2); border-right: 1px solid rgba(255, 255, 255, .2); }
.site-footer__contact li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.site-footer__contact li.is-big { font-family: var(--f-head); font-weight: 600; font-size: 24px; }
.site-footer__contact .icon { width: 20px; height: 20px; flex: none; }
.site-footer__contact a { color: #fff; text-decoration: none; }
.site-footer__zone { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.script { font-family: var(--f-script); font-weight: 600; font-size: 25px; line-height: 1.1; margin: 0; transform: rotate(-6deg); text-align: center; }
.script--underline::after { content: ""; display: block; height: 3px; width: 80%; margin: 6px auto 0; background: var(--red); border-radius: 3px; transform: rotate(-2deg); }
.carte-idf { width: 150px; height: auto; flex: none; }
.carte-idf__region { fill: #4f7fd0; stroke: #9cc0ff; stroke-width: 1.5; }
.carte-idf__lines path { fill: none; stroke: #9cc0ff; stroke-width: 1; opacity: .8; }
.carte-idf__paris { fill: #6b97df; stroke: #bcd4ff; }
.carte-idf__pin path { fill: #fff; }
.carte-idf__pin circle { fill: var(--navy-900); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; font-size: 14.5px; }
.footer-nav, .footer-legal { list-style: none; display: flex; flex-wrap: wrap; }
.footer-nav li + li::before, .footer-legal li + li::before { content: "|"; color: rgba(255, 255, 255, .45); margin: 0 14px; }
.footer-nav a, .footer-legal a { color: #fff; text-decoration: none; }
.footer-nav a:hover, .footer-legal a:hover { text-decoration: underline; }
.site-footer__legal { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; color: rgba(255, 255, 255, .7); }
.footer-legal a { color: rgba(255, 255, 255, .8); }

.mobile-bar { display: none; }

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 22px; box-shadow: 0 16px 30px rgba(18, 48, 107, .15); display: none; }
	.nav-open .main-nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.main-nav__list { flex-direction: column; gap: 0; }
	.main-nav__list a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 19px; }
	.main-nav__list a::after { display: none; }
	.main-nav__list .current-menu-item > a { color: var(--red); }
	.main-nav__cta { margin-top: 16px; }
	.site-header__logo .logo { width: 110px; }

	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
	.grid--4 .card--flat + .card--flat { border-left: 0; padding-left: 6px; }
	.hero-home__panel { width: 64%; }
	.hero-home__media { width: 50%; }
	.hero-page__media { width: 70%; }
	.hero-page__brush { display: none; }
	.site-footer__main { grid-template-columns: auto 1fr; }
	.site-footer__zone { grid-column: 1 / -1; justify-content: center; gap: 30px; }
	.site-footer__contact { border-right: 0; }
	.contact-main__grid { grid-template-columns: 1fr; }
	.contact-card { position: static; }
	.steps { grid-template-columns: 1fr; gap: 20px; }
	.step + .step { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
	.step__num { margin-top: 0; }
	.cta-navy__inner { grid-template-columns: 1fr; }
	.cta-split__call { padding-left: 12%; }
}

/* ==========================================================================
   Téléphone
   ========================================================================== */
@media (max-width: 760px) {
	:root { --gutter: 16px; }
	.hero-title em { white-space: normal; }
	body { font-size: 16px; padding-bottom: 64px; }
	.topbar__zone { font-size: 13px; }
	.topbar__zone .icon { display: none; }
	.topbar__tel { font-size: 17px; }
	.site-header__inner { height: 70px; }
	.site-header__logo .logo, .is-scrolled .site-header__logo .logo { width: 82px; }
	.site-header__logo { margin-top: 2px; }

	.hero-home { min-height: 0; display: flex; flex-direction: column-reverse; }
	.hero-home__media { position: relative; width: 100%; height: 300px; }
	.hero-home__panel { width: 100%; min-height: 0; clip-path: none; }
	.hero-home__content { margin: 0; padding: 34px var(--gutter) 38px; }
	.hero-home__text { font-size: 20px; }
	.hero-home__brush .brush__text { font-size: 23px; }

	.hero-page { flex-direction: column; min-height: 0; }
	.hero-page__media { position: relative; width: 100%; height: 240px; order: 2; }
	.hero-page__media img { -webkit-mask-image: none; mask-image: none; }
	.hero-page__inner { padding-top: 30px; padding-bottom: 26px; }
	.hero-page__text { font-size: 19px; }
	.trust-mini { gap: 12px; }
	.trust-mini li + li { padding-left: 12px; }
	.trust-mini .icon { width: 28px; height: 28px; }
	.trust-mini li { font-size: 12.5px; }

	.trust-bar__grid { grid-template-columns: 1fr; }
	.trust-bar__item { padding: 16px 4px; }
	.trust-bar__item + .trust-bar__item { border-left: 0; border-top: 1px solid var(--line); }
	.trust-bar__item .icon { width: 42px; height: 42px; }

	.section { padding: 46px 0; }
	.section-head { margin-bottom: 26px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.card__body { padding: 16px 16px 18px; gap: 14px; }
	.card__icon { width: 40px; height: 40px; }
	.card h3 { font-size: 22px; }

	.split, .split--reverse { grid-template-columns: 1fr; min-height: 0; }
	.split__media, .split--reverse .split__media { clip-path: none; height: 260px; }
	.split--reverse .split__media { order: -1; }
	.split__content, .split--reverse .split__content { padding: 34px var(--gutter) 38px; }
	.split__brush { right: 12px; bottom: 12px; transform: rotate(-6deg) scale(.8); }
	.split__brush--small { transform: rotate(-6deg); align-self: center; }
	.split__media--duo { height: 240px; }
	.checklist--2col { grid-template-columns: 1fr; }
	.icon-points { gap: 16px; }

	.cta-split { grid-template-columns: 1fr; }
	.cta-split__red { clip-path: none; margin: 0; }
	.cta-split__content { padding: 32px var(--gutter); }
	.cta-split__call { padding-left: var(--gutter); }
	.cta-split__phone-icon { width: 60px; height: 60px; }
	.cta-split__phone-icon .icon { width: 30px; height: 30px; }

	.head-brush { flex-direction: column; align-items: flex-start; }
	.filters { gap: 8px; margin-bottom: 28px; }
	.filter { font-size: 16px; padding: 7px 16px; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }

	.contact-band__inner { flex-direction: column; align-items: flex-start; }
	.contact-band a + a { padding-left: 0; border-left: 0; font-size: 21px; }
	.contact-band a { font-size: 21px; word-break: break-all; }
	.contact-band a.contact-band__main strong { font-size: 32px; }

	.hero-contact__inner { flex-direction: column; align-items: flex-start; padding-top: 34px; padding-bottom: 44px; }
	.hero-contact__text { font-size: 19px; }
	.hero-contact__brush { align-self: flex-end; }
	.hero-contact__brush .brush__text { font-size: 25px; }
	.form-card { padding: 22px 16px 24px; }
	.form-card h2 { font-size: 28px; }
	.form-card__icon { width: 44px; height: 44px; }
	.form-grid { grid-template-columns: 1fr; }
	.contact-card { padding: 24px 18px 28px; }
	.contact-card h2 { font-size: 27px; }
	.contact-card__list .is-big a { font-size: 27px; }
	.contact-card__list li { font-size: 16px; }
	.zone-band__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
	.zone-band__side { margin-left: 0; padding-left: 0; border-left: 0; }
	.zone-band h2 { font-size: 26px; }

	.site-footer__main { grid-template-columns: 1fr; justify-items: center; text-align: left; }
	.site-footer__contact { border: 0; padding: 0; }
	.site-footer__zone { flex-wrap: wrap; }
	.carte-idf { width: 120px; }
	.script { font-size: 21px; }
	.site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }

	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 21px; }
	.mobile-bar .icon { width: 22px; height: 22px; }
	.mobile-bar__tel { background: var(--navy); }
	.mobile-bar__devis { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
