/* APL Temporaire : transposition du thème Landestate (The Mazine) en Astro.
   Palette, typographies et composition reprises du thème : orange #ff551a,
   titres Raleway capitales, texte Open Sans, boutons pilule, pied de page noir. */

:root {
  --orange: #ff551a;
  --orange-dark: #e2440d;
  --ink: #333333;
  --text: #6f6f6f;
  --grey: #f3f3f3;
  --line: #e5e5e5;
  --black: #000000;
  --navy: #1f2370;
  --radius-pill: 30px;
  --wrap: 1170px;
  --head-h: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Open Sans', Arial, sans-serif; font-size: 15px; line-height: 30px; color: var(--text); background: #fff; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: 'Raleway', Arial, sans-serif; font-weight: 700; color: var(--ink); margin: 0 0 .6em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
.narrow { max-width: 900px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: #fff; padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Boutons pilule du thème */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #fff; border: 1px solid var(--orange); border-radius: var(--radius-pill); padding: 15px 35px; font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; text-align: center; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--orange); }
.btn--ghost:hover { background: var(--orange); color: #fff; }
.btn--white { background: #fff; color: var(--orange); border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--orange); }
.btn--full { width: 100%; }
.btns-c { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 30px; }

/* Bandeau supérieur orange */
.topbar { background: var(--orange); color: #fff; font-size: 14px; line-height: 40px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar p { margin: 0; }
.topbar .fa { margin-right: 8px; font-size: 16px; }
.topbar__links { list-style: none; display: flex; }
.topbar__links li { border-left: 1px solid rgba(255,255,255,.55); }
.topbar__links li:last-child { border-right: 1px solid rgba(255,255,255,.55); }
.topbar__links a { color: #fff; display: block; padding: 0 20px; }
.topbar__links a:hover { background: rgba(0,0,0,.12); }

/* En-tête blanc */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 4px solid #c9c9c9; transition: box-shadow .2s; }
.header.is-stuck { box-shadow: 0 6px 12px rgba(0,0,0,.12); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 116px; transition: min-height .2s; }
.header.is-stuck .header__in { min-height: 76px; }
.header__logo img { height: 64px; width: auto; transition: height .2s; }
.header.is-stuck .header__logo img { height: 48px; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu > ul { list-style: none; display: flex; gap: 6px; }
.menu > ul > li { position: relative; }
.menu > ul > li > a { display: block; padding: 12px 14px; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--ink); }
.menu > ul > li.is-active > a, .menu > ul > li > a:hover { color: var(--orange); }
.menu__sub { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 10px 20px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 5; }
.has-sub:hover .menu__sub, .has-sub:focus-within .menu__sub { opacity: 1; visibility: visible; transform: none; }
.menu__sub a { display: block; padding: 10px 20px; font-size: 14px; line-height: 1.5; color: var(--ink); border-bottom: 1px solid var(--line); }
.menu__sub a:hover, .menu__sub a[aria-current] { color: var(--orange); background: #fafafa; }
.header__cta { background: var(--orange); color: #fff; height: 40px; padding: 0 18px; display: inline-flex; align-items: center; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.header__cta:hover { background: var(--orange-dark); color: #fff; }
.header__toggle { display: none; background: var(--orange); color: #fff; border: 0; width: 44px; height: 44px; font-size: 20px; cursor: pointer; }

/* Héros : diaporama du thème */
.hero { position: relative; background-color: #222; background-size: cover; background-position: center 60%; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.25) 100%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: center; min-height: 640px; padding-top: 70px; padding-bottom: 70px; }
.hero__kicker { font-size: 16px; font-weight: 600; letter-spacing: .04em; color: #fff; margin-bottom: 14px; }
.hero__h1 { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 58px; line-height: 1.08; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.hero__h1 span { color: var(--orange); }
.hero__sub { font-size: 18px; line-height: 1.7; max-width: 560px; color: #f1f1f1; margin-bottom: 32px; }
.hero__form .simu { background: rgba(0,0,0,.72); }

/* Simulateur : formulaire de rendez-vous du thème */
.simu { padding: 34px 32px 30px; color: #fff; }
.simu__title { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 18px; margin-bottom: 18px; color: #fff; }
.simu__field { display: block; font-size: 13px; line-height: 1.4; margin-bottom: 14px; }
.simu__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.simu select, .simu input[type=date], .simu input[type=number] { width: 100%; margin-top: 6px; height: 46px; padding: 0 12px; background: transparent; border: 1px solid rgba(255,255,255,.75); color: #fff; font: inherit; font-size: 14px; color-scheme: dark; }
.simu select option { color: #333; }
.simu__range { width: 100%; accent-color: var(--orange); margin: 2px 0 10px; }
.simu__periode { font-size: 14px; line-height: 1.5; min-height: 42px; color: #f0f0f0; }
.simu--compact { background: #222; padding: 26px 24px 24px; }
.simu--compact .simu__title { font-size: 16px; }

/* Titres de section du thème */
.band { padding: 100px 0; }
.band--grey { background: var(--grey); }
.band--top0 { padding-top: 20px; }
.stitle { margin-bottom: 50px; }
.stitle--center { text-align: center; }
.stitle__kicker { font-style: italic; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.stitle__h { font-size: 45px; line-height: 1.1; text-transform: uppercase; margin-bottom: 18px; }
.stitle__rule { display: block; position: relative; width: 200px; height: 1px; background: var(--ink); margin: 0 0 30px; }
.stitle--center .stitle__rule { margin-left: auto; margin-right: auto; }
.stitle__rule::after { content: ''; position: absolute; left: 50%; top: -10px; width: 1px; height: 20px; background: var(--orange); }
.stitle--left .stitle__rule::after { left: 100px; }
.stitle--left { margin-bottom: 24px; }
.lead-c { max-width: 850px; margin: 0 auto; }

/* Bloc garanties : texte + icônes + photo encadrée */
.split__in { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.split__img { position: relative; padding: 20px 0 0 20px; }
.split__img::before { content: ''; position: absolute; top: 0; left: 0; right: 20px; bottom: 20px; border: 4px solid #fff; outline: 1px solid var(--line); z-index: 1; pointer-events: none; transform: translate(20px, 20px); }
.split__img img { width: 100%; aspect-ratio: 380 / 460; object-fit: cover; }
.kfig { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: center; }
.kfig__ico { display: inline-flex; align-items: center; justify-content: center; width: 85px; height: 85px; border: 1px solid var(--orange); color: var(--orange); font-size: 40px; margin-bottom: 14px; }
.kfig__label { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--text); min-height: 42px; }
.kfig__value { display: block; font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 34px; line-height: 1.2; color: var(--ink); margin-top: 4px; }
.kfig__unit { display: block; font-size: 13px; line-height: 1.4; }
.prose .kfig { margin: 30px 0 34px; }
.prose .kfig__ico { width: 64px; height: 64px; font-size: 28px; }
.prose .kfig__value { font-size: 26px; }

/* Cartes véhicules : propriétés du thème */
.vcards__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 50px; }
.vcards__filters button { background: none; border: 0; padding: 8px 18px; font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 15px; color: var(--text); cursor: pointer; }
.vcards__filters button.is-on, .vcards__filters button:hover { background: var(--orange); color: #fff; }
.vcards__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vcards__grid--4 { grid-template-columns: repeat(4, 1fr); }
.vcard[hidden] { display: none; }
.vcard a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: #fff; color: var(--text); }
.vcard a:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.vcard__img { overflow: hidden; }
.vcard__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.vcard a:hover .vcard__img img { transform: scale(1.05); }
.vcard__bar { display: flex; background: var(--orange); color: #fff; font-weight: 600; }
.vcard__t { flex: 1; padding: 12px 18px; font-size: 15px; line-height: 1.4; }
.vcard__d { padding: 12px 16px; border-left: 1px solid rgba(255,255,255,.6); font-size: 15px; white-space: nowrap; }
.vcard__txt { padding: 18px 20px 22px; font-size: 14px; line-height: 1.7; text-align: center; background: #fafafa; flex: 1; }

/* Bloc expert : agent du thème */
.expert__in { display: grid; grid-template-columns: 400px 1fr; gap: 50px; align-items: end; }
.expert__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; }
.expert__name { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--ink); margin-bottom: 0; }
.expert__stem { display: block; width: 30px; height: 50px; border-top: 1px solid var(--orange); border-right: 1px solid var(--orange); margin: 10px 0 0 45px; }
.expert__box { background: var(--orange); color: #fff; padding: 34px 30px 26px; margin-left: 60px; }
.expert__box p { line-height: 1.9; }
.expert__contact { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin-top: 10px; }
.expert__contact a { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.expert__contact span { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--orange); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

/* Points de vigilance : témoignages du thème */
.vigil { position: relative; background-color: #9a3510; background-size: cover; background-position: center; color: #fff; text-align: center; padding: 90px 0; }
.vigil::before { content: ''; position: absolute; inset: 0; background: rgba(255, 85, 26, .87); }
.vigil__in { position: relative; max-width: 760px; }
.vigil__kicker { font-style: italic; font-size: 14px; margin-bottom: 4px; }
.vigil__h { font-size: 26px; text-transform: uppercase; color: #fff; margin-bottom: 0; }
.vigil__stem { display: block; width: 1px; height: 30px; background: #fff; margin: 14px auto 20px; }
.vigil__slides { position: relative; border-left: 1px solid #fff; border-right: 1px solid #fff; padding: 10px 50px; min-height: 150px; }
.vigil__slide { display: none; }
.vigil__slide.is-on { display: block; animation: fade .5s; }
.vigil__t { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; margin-bottom: 10px; }
.vigil__dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.vigil__dots button { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.vigil__dots button.is-on { background: #fff; transform: scale(1.25); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Guides : blog du thème */
.posts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); color: var(--text); }
.post a:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.post__img { position: relative; }
.post__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post__date { position: absolute; top: 10px; left: 10px; background: var(--orange); color: #fff; text-align: center; padding: 6px 12px; font-size: 13px; line-height: 1.2; text-transform: uppercase; font-weight: 600; }
.post__date strong { display: block; font-size: 30px; line-height: 1.1; }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__t { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--ink); margin-bottom: 10px; }
.post__x { font-size: 14px; line-height: 1.7; flex: 1; }
.posts__all { text-align: center; margin-top: 36px; }
.post__more { margin-top: 14px; color: var(--orange); font-weight: 600; font-size: 14px; }

/* Bande orange de contact */
.ctaband { background: var(--orange); color: #fff; padding: 46px 0; }
.ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ctaband__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; margin-bottom: 4px; }
.ctaband p { margin: 0; }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* Préparer la demande : bloc contact du thème */
.prepare__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.prepare__h { font-size: 26px; text-transform: uppercase; }
.checks { list-style: none; margin: 10px 0 28px; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 8px; line-height: 1.7; }
.checks li::before { content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; top: 0; color: var(--orange); }
.docs { background: #222; color: #ddd; padding: 30px; }
.docs__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.docs ul { list-style: none; }
.docs li + li { border-top: 1px solid rgba(255,255,255,.12); }
.docs a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; color: #fff; line-height: 1.45; font-size: 14px; }
.docs a:hover { color: var(--orange); }
.docs .fa { font-size: 22px; color: var(--orange); margin-top: 2px; }
.docs small { display: block; color: #aaa; font-size: 12px; margin-top: 2px; }

/* Bandeau des pages intérieures */
.pagehead { position: relative; background: #1b1b1b; color: #fff; padding: 70px 0 64px; background-size: cover; background-position: center; }
.pagehead--photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.35) 100%); }
.pagehead .container { position: relative; }
.pagehead h1 { color: #fff; font-size: 44px; text-transform: uppercase; max-width: 860px; margin-bottom: 14px; }
.pagehead__lead { font-size: 17px; line-height: 1.7; max-width: 720px; color: #eee; margin-bottom: 0; }
.pagehead__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0 0 18px; font-size: 13px; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--orange); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: #ccc; }

/* Pages de service et guides */
.svc { padding: 80px 0; }
.svc__grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.svc__aside { position: sticky; top: 100px; display: grid; gap: 24px; }
.prose { color: var(--text); }
.prose h2 { font-size: 26px; text-transform: uppercase; margin: 44px 0 16px; padding-bottom: 14px; position: relative; }
.prose h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 2px; background: var(--orange); }
.prose > h2:first-child, .prose .authorbox + h2 { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 6px; line-height: 1.75; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose__next { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.encadre { margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--orange); background: #fff5f1; }
.encadre--vigilance { border-left-color: var(--navy); background: #f1f2fa; }
.encadre__label { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--orange); margin-bottom: 6px; }
.encadre--vigilance .encadre__label { color: var(--navy); }
.encadre p:last-child { margin-bottom: 0; }
.authorbox { display: flex; gap: 16px; align-items: center; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.authorbox img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.authorbox p { margin: 0; line-height: 1.5; display: flex; flex-direction: column; }
.authorbox__by { font-weight: 600; color: var(--ink); }
.authorbox__role, .authorbox__date { font-size: 13px; }
.side-links { border: 1px solid var(--line); padding: 22px 24px; }
.side-links__title { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.side-links ul { list-style: none; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 8px 0; color: var(--text); }
.side-links a:hover { color: var(--orange); }

/* FAQ en accordéon */
.faq__title { font-size: 26px; text-transform: uppercase; margin-bottom: 24px; }
.faq-group + .faq-group { margin-top: 50px; }
.faq__item { border: 1px solid var(--line); background: #fff; margin-bottom: 10px; }
.faq__q { margin: 0; font-size: 16px; }
.faq__q button { width: 100%; display: flex; justify-content: space-between; gap: 20px; align-items: center; text-align: left; background: none; border: 0; padding: 18px 22px; font: inherit; font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--ink); cursor: pointer; line-height: 1.4; }
.faq__q .fa { color: var(--orange); transition: transform .2s; }
.faq__item.is-open .faq__q .fa { transform: rotate(45deg); }
.faq__a { display: none; padding: 0 22px 18px; }
.faq__item.is-open .faq__a { display: block; }
.faq__a p { margin: 0; line-height: 1.8; }
html:not(.js) .faq__a { display: block; }

/* Tunnel de souscription (iframe JL Assure) */
.tunnel { border: 1px solid var(--line); background: #fff; }
.tunnel__frame { display: block; width: 100%; min-height: 420px; border: 0; }
.tunnel__repli { font-size: 14px; margin: 12px 0 28px; }

/* Demande de devis */
.devis__grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.devis__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 20px; padding: 0; }
.devis__steps li { background: var(--grey); padding: 10px 12px; font-size: 13px; line-height: 1.3; font-weight: 600; text-align: center; }
.devis__steps li.is-on { background: var(--orange); color: #fff; }
.devis__steps li.is-done { background: #ffd9cb; color: var(--ink); }
.devis__card { border: 1px solid var(--line); padding: 34px; background: #fff; }
.devis__step { border: 0; padding: 0; margin: 0; }
.devis__step legend { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.field.full, .check.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 12px; border: 1px solid #d5d5d5; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; }
.help { display: block; font-weight: 400; font-size: 12px; color: var(--text); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; margin: 14px 0; }
.check input { margin-top: 5px; accent-color: var(--orange); }
.devis__note { font-size: 13px; line-height: 1.6; margin: 18px 0 0; padding: 12px 14px; background: #f1f2fa; color: var(--navy); }
.devis .docs { margin: 10px 0 18px; }
.devis__recap { list-style: none; border: 1px solid var(--line); margin-bottom: 18px; }
.devis__recap li { display: grid; grid-template-columns: 200px 1fr; gap: 14px; padding: 10px 14px; line-height: 1.5; font-size: 14px; }
.devis__recap li:nth-child(odd) { background: #fafafa; }
.devis__recap li span:first-child { font-weight: 600; color: var(--ink); }
.devis__err { color: #b42318; font-weight: 600; margin: 16px 0 0; }
.devis__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.devis__nav [data-next], .devis__nav [data-send] { margin-left: auto; }
.devis__aside { background: var(--grey); padding: 28px 26px; position: sticky; top: 100px; }
.devis__aside-t { font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.devis__tel { font-weight: 700; font-size: 18px; }

/* Pages légales */
.prose--legal h2 { font-size: 24px; }
.prose--legal h3 { font-size: 18px; text-transform: none; }
.legal-toc { font-weight: 600; margin-bottom: 30px; }
.legal-doc + .legal-doc { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }

/* Pied de page noir */
.footer { background: var(--black); color: #9a9a9a; padding-top: 80px; font-size: 14px; line-height: 1.8; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 17px; text-transform: uppercase; color: #fff; margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.footer__title::before { content: ''; width: 20px; height: 1px; background: #fff; }
.footer__title--sub { margin-top: 26px; }
.footer__logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer a { color: #d6d6d6; }
.footer a:hover { color: var(--orange); }
.footer__list { list-style: none; }
.footer__list li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.footer__list li::before { content: '\f0da'; font-family: FontAwesome; position: absolute; left: 0; color: #fff; }
.footer__docs { list-style: none; }
.footer__docs li { margin-bottom: 10px; line-height: 1.5; }
.footer__docs .fa { color: var(--orange); margin-right: 6px; }
.footer__contact .fa { color: var(--orange); width: 18px; }
.footer__legal { border-top: 1px solid #222; padding: 24px 0; font-size: 13px; line-height: 1.7; }
.footer__legal p { margin: 0 0 6px; }

.scroll-top { position: fixed; right: 30px; bottom: 30px; width: 45px; height: 45px; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 14px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: .3s; z-index: 40; }
.scroll-top.is-on { opacity: 1; visibility: visible; }
.scroll-top:hover { color: #fff; background: var(--orange-dark); }

/* Responsive */
@media (max-width: 1199px) {
  .menu > ul > li > a { padding: 12px 9px; font-size: 14px; }
  .hero__h1 { font-size: 48px; }
  .vcards__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .topbar__addr { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { min-height: 84px; }
  .header__logo img { height: 52px; }
  .header__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 15px 20px; box-shadow: 0 12px 20px rgba(0,0,0,.12); display: none; max-height: calc(100vh - 120px); overflow-y: auto; }
  .menu.is-open { display: flex; }
  .menu > ul { flex-direction: column; gap: 0; }
  .menu > ul > li > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; min-width: 0; }
  .menu__sub a { padding: 8px 0 8px 18px; border-bottom: 0; }
  .header__cta { margin-top: 14px; justify-content: center; height: 46px; }
  .hero__in { grid-template-columns: 1fr; min-height: 0; gap: 34px; padding-top: 60px; padding-bottom: 60px; }
  .hero__h1 { font-size: 40px; }
  .band { padding: 70px 0; }
  .stitle__h { font-size: 32px; }
  .split__in, .prepare__in, .svc__grid, .devis__grid { grid-template-columns: 1fr; }
  .split__img { max-width: 420px; }
  .svc__aside, .devis__aside { position: static; }
  .kfig { grid-template-columns: repeat(2, 1fr); }
  .vcards__grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .expert__in { grid-template-columns: 1fr; gap: 20px; }
  .expert__photo { max-width: 360px; }
  .expert__box { margin-left: 0; }
  .ctaband__in { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pagehead h1 { font-size: 34px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; line-height: 27px; }
  .topbar__links li:first-child { display: none; }
  .topbar__links li { border: 0 !important; }
  .topbar { font-size: 13px; }
  .hero__h1 { font-size: 32px; }
  .hero__sub { font-size: 16px; }
  .simu { padding: 26px 20px; }
  .stitle__h { font-size: 27px; }
  .vcards__grid, .vcards__grid--4, .posts { grid-template-columns: 1fr; }
  .vcards__filters { margin-top: -10px; }
  .kfig__value { font-size: 26px; }
  .vigil__slides { padding: 10px 20px; }
  .grid2 { grid-template-columns: 1fr; }
  .devis__card { padding: 22px 18px; }
  .devis__steps { grid-template-columns: repeat(2, 1fr); }
  .devis__recap li { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .pagehead { padding: 50px 0; }
  .pagehead h1 { font-size: 28px; }
  .prose h2 { font-size: 22px; }
  .ctaband__title { font-size: 20px; }
  .scroll-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Les colonnes de grille ne doivent jamais dépasser l'écran sur mobile */
.svc__grid > *, .devis__grid > *, .split__in > *, .prepare__in > *, .hero__in > *, .expert__in > * { min-width: 0; }
@media (max-width: 991px) {
  .split__in, .prepare__in, .svc__grid, .devis__grid, .hero__in { grid-template-columns: minmax(0, 1fr); }
}
[hidden] { display: none !important; }

/* Emplacements sans photo : tuile graphique du thème */
.vcard__img--ico, .post__img--ico { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: linear-gradient(135deg, #2b2b2b 0%, #111 100%); color: var(--orange); font-size: 64px; position: relative; overflow: hidden; }
.post__img--ico { aspect-ratio: 16 / 9; }
.vcard__img--ico::after, .post__img--ico::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.14); }
.vcard a:hover .vcard__img--ico { color: #fff; }
.formule { background: var(--orange); color: #fff; padding: 34px 30px 30px; position: relative; }
.formule::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.45); pointer-events: none; }
.formule__t { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }
.formule__list { list-style: none; margin-bottom: 24px; }
.formule__list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.35); line-height: 1.35; }
.formule__list span { display: block; font-weight: 600; font-size: 16px; }
.formule__list small { font-size: 13px; opacity: .9; }
.formule .btn { position: relative; }
.split__img { padding: 0; }
.split__img::before { display: none; }
.vigil { background: var(--orange); }
.vigil::before { display: none; }
