/* Euro Énergies Construction — feuille de style principale
   Palette : bleu nuit, gris acier, blanc, bleu industriel, orange discret (appels à l'action). */
:root {
  --navy: #0b1b2e;
  --navy-2: #13293f;
  --navy-3: #1c3a57;
  --blue: #1f6fb2;
  --blue-soft: #e8f1f9;
  --steel: #5c6b7a;
  --steel-2: #8795a3;
  --line: #dde3e9;
  --bg: #f4f6f8;
  --white: #fff;
  --ink: #1a2633;
  --orange: #d9661f;
  --orange-dark: #b9541a;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 27, 46, .06), 0 8px 24px rgba(11, 27, 46, .07);
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); margin: 0 0 .6em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.ico-sm { width: 16px; height: 16px; }
.ico-xs { width: 14px; height: 14px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.35em; border-radius: var(--radius); border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .ico { width: 18px; height: 18px; }
.btn-lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- en-tête ---------- */
.topbar { background: var(--navy); color: #c7d2dd; font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 18px; }
.topbar a { color: #e5ecf2; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--white); }
.topbar .ico { color: var(--steel-2); margin-right: 4px; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); font: 700 1.3rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .03em; }
.brand img { width: 52px; height: 52px; }
.brand small { display: block; font: 600 .74rem/1.3 var(--font); letter-spacing: .24em; color: var(--steel); margin-top: 3px; }
.brand-light { color: var(--white); }
.brand-light small { color: var(--steel-2); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; color: var(--navy); text-decoration: none; font: 500 1rem/1 var(--font); background: none; border: 0; cursor: pointer; border-radius: var(--radius); }
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--blue); }
.nav-list a[aria-current="page"], .has-sub.is-active > .sub-toggle { color: var(--blue); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: -12px; min-width: 290px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
.has-sub.open .sub { display: block; }
.sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 4px; color: var(--navy); text-decoration: none; font-weight: 500; }
.sub a .ico { color: var(--blue); width: 20px; height: 20px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--blue-soft); }
.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px; color: var(--navy); cursor: pointer; }
@media (min-width: 1081px) { .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; } }
@media (max-width: 1080px) {
  .topbar { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: 76px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 120px; overflow-y: auto; display: none; }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"], .has-sub.is-active > .sub-toggle { box-shadow: none; }
  .sub { position: static; box-shadow: none; border: 0; padding: 4px 0 8px; min-width: 0; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { width: 100%; }
  body.menu-open { overflow: hidden; }
}

/* ---------- héros ---------- */
.hero, .page-hero { position: relative; color: var(--white); background: var(--navy); isolation: isolate; overflow: hidden; }
.hero-img, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 27, 46, .92) 0%, rgba(11, 27, 46, .72) 45%, rgba(11, 27, 46, .35) 100%); }
.hero-inner { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(60px, 9vw, 110px); max-width: var(--wrap); }
.hero h1, .page-hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead, .page-hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #dbe4ec; max-width: 60ch; }
.eyebrow { font: 600 .82rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--orange); margin-bottom: 14px; }
.hero .eyebrow, .page-hero .eyebrow { color: #f0a774; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { list-style: none; margin: 48px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 980px; }
.hero-facts li { display: flex; gap: 10px; font-size: .95rem; color: #dbe4ec; line-height: 1.4; }
.hero-facts .ico { color: #f0a774; margin-top: 1px; }
.page-hero-inner { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: #b8c6d3; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #dbe4ec; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--white); }
@media (max-width: 900px) { .hero-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hero-facts { grid-template-columns: 1fr; gap: 12px; } .hero-actions .btn { width: 100%; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #d3dde6; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--steel); font-size: 1.1rem; }
.section-dark .section-head p { color: #b4c2cf; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.top { align-items: start; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.muted { color: var(--steel); }
.note { font-size: .92rem; color: var(--steel); border-left: 3px solid var(--line); padding-left: 14px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* listes */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fb2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.section-dark .checklist li::before { background-color: rgba(255, 255, 255, .1); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; color: var(--navy); background: var(--white); }

/* ---------- cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #b9c7d5; box-shadow: var(--shadow); }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { display: flex; gap: 10px; align-items: center; margin-bottom: .45em; }
.card-body h3 .ico { color: var(--blue); width: 28px; height: 28px; }
.card-body p { color: var(--steel); font-size: 1rem; flex: 1; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; }
.card .link-arrow { margin-top: 6px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card-cta { background: var(--navy); border-color: var(--navy); color: #d3dde6; }
.card-cta .card-body { justify-content: center; }
.card-cta h3 { color: var(--white); }
.card-cta p { color: #b4c2cf; flex: 0; }
.cards.four .card-cta { grid-column: span 2; }
@media (max-width: 1100px) { .cards.four { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cards.four .card-cta { grid-column: auto; } }
@media (max-width: 980px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards.four { grid-template-columns: 1fr; } }

/* tuiles icône */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { background: var(--white); padding: 28px 26px; }
.tile .ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 14px; }
.tile h3 { font-size: 1.2rem; margin-bottom: .4em; }
.tile p { color: var(--steel); margin: 0; font-size: 1rem; }
.section-dark .tiles { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }
.section-dark .tile { background: var(--navy); }
.section-dark .tile p { color: #b4c2cf; }
.section-dark .tile .ico { color: #f0a774; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .tiles, .tiles.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles, .tiles.four { grid-template-columns: 1fr; } }

/* étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 700 1.05rem/1 var(--font-head); color: var(--white); background: var(--blue); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.steps li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -8px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { color: var(--steel); font-size: .98rem; margin: 0; }
.section-dark .steps li::after { background: rgba(255, 255, 255, .15); }
.section-dark .steps p { color: #b4c2cf; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- réalisations / galeries ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery.four { grid-template-columns: repeat(4, 1fr); }
.shot { margin: 0; }
.shot a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg); position: relative; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.shot a:hover img { transform: scale(1.03); }
.shot.natural img { aspect-ratio: auto; object-fit: contain; }
.shot figcaption { font-size: .9rem; color: var(--steel); padding: 8px 2px 0; line-height: 1.45; }
.shot.wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery, .gallery.four { grid-template-columns: 1fr 1fr; } .shot.wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery, .gallery.two, .gallery.four { grid-template-columns: 1fr; } .shot.wide { grid-column: auto; } }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--white); min-height: 340px; display: flex; align-items: flex-end; isolation: isolate; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 46, 0) 30%, rgba(11, 27, 46, .92) 100%); }
.project:hover img { transform: scale(1.04); }
.project-body { padding: 22px; }
.project-body .eyebrow { color: #f0a774; margin-bottom: 8px; font-size: .75rem; }
.project h3 { color: var(--white); margin: 0 0 .3em; font-size: 1.3rem; }
.project h3 a { color: inherit; text-decoration: none; }
.project h3 a::after { content: ""; position: absolute; inset: 0; }
.project p { margin: 0; color: #d3dde6; font-size: .97rem; }
.project.featured { grid-column: span 2; min-height: 420px; }
@media (max-width: 980px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } .project.featured { grid-column: auto; min-height: 340px; } }

/* références clients */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logos li { flex: 0 1 158px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 92px; display: grid; place-items: center; padding: 14px; }
.logos img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 560px) { .logos li { flex-basis: calc(50% - 6px); } }

/* ---------- fiche réalisation ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin: 0; }
.facts div { padding: 18px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); line-height: 1.35; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(2) { border-right: 0; } .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .facts div { border-right: 0; border-bottom: 1px solid var(--line); } .facts div:last-child { border-bottom: 0; } }
.feature-img { border-radius: var(--radius); overflow: hidden; }
.feature-img img { width: 100%; }
.feature-img figcaption { font-size: .9rem; color: var(--steel); padding-top: 8px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); background: var(--white); font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.related a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.related .ico { width: 32px; height: 32px; color: var(--blue); }
.related span small { display: block; font-weight: 400; color: var(--steel); font-size: .92rem; }
.related a > .ico:last-child { margin-left: auto; width: 20px; height: 20px; }
@media (max-width: 700px) { .related { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--navy); list-style: none; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] { border-color: #b9c7d5; }
.faq .answer { padding: 0 22px 18px; color: #3a4a5a; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.5rem; }

/* ---------- formulaire & contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--navy); color: #d3dde6; border-radius: var(--radius); padding: 30px; }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { color: #f0a774; margin-top: 3px; }
.contact-list strong { display: block; color: var(--white); font-weight: 600; }
.contact-list a { color: #e5ecf2; }
.contact-list a:hover { color: var(--white); }
.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c3ccd6; border-radius: var(--radius); background: var(--white); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 178, .18); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.check label { font-weight: 400; font-size: .93rem; color: var(--steel); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }
.quote-form .btn { margin-top: 8px; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1px; }
.form-status.ok { color: #1e7b45; background: #e9f6ee; padding: 12px 14px; border-radius: var(--radius); }
.form-status.err { color: #a42a1d; background: #fbecea; padding: 12px 14px; border-radius: var(--radius); }
.form-note { font-size: .9rem; color: var(--steel); margin-top: 14px; }
.btn[disabled] { opacity: .65; cursor: progress; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .quote-form .btn { width: 100%; } }

/* ---------- bandeau CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-2), var(--navy-3)); color: #d3dde6; padding: clamp(44px, 6vw, 72px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .3em; max-width: 28ch; }
.cta-band p { margin: 0; max-width: 60ch; color: #b4c2cf; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta-actions .btn { width: 100%; } }

/* ---------- pied de page ---------- */
.site-footer { background: var(--navy); color: #a9b8c6; padding-top: 64px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 36px; padding-bottom: 44px; }
.footer-brand p { margin: 18px 0; max-width: 40ch; }
.footer-title { font: 600 .82rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--white); margin-bottom: 16px; }
.footer-links, .footer-contact, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.site-footer a { color: #c7d2dd; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; word-break: break-word; }
.footer-contact .ico { color: var(--steel-2); width: 18px; height: 18px; margin-top: 3px; }
.footer-contact + .btn { margin-top: 8px; }
.site-footer .btn-primary { color: var(--white); }
.site-footer .btn-primary:hover { text-decoration: none; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; }
.social a:hover { background: rgba(255, 255, 255, .08); }
.social .ico { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* contact rapide */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f9e55; color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.whatsapp-float:hover { background: #18834a; color: var(--white); }
.whatsapp-float .ico { width: 30px; height: 30px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .whatsapp-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(11, 27, 46, .08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 10px; font-size: .8rem; font-weight: 600; color: var(--navy); text-decoration: none; }
  .mobile-bar a.is-primary { background: var(--orange); color: var(--white); }
  .mobile-bar .ico { width: 22px; height: 22px; }
  body { padding-bottom: 64px; }
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 14, 24, .94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 56px 64px 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox p { color: #dbe4ec; margin: 14px 0 0; text-align: center; max-width: 80ch; font-size: .95rem; }
.lb-btn { position: absolute; background: rgba(255, 255, 255, .12); color: var(--white); border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 10px 20px; } .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } .lb-prev { transform: rotate(180deg); } }

/* ---------- apparition discrète ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* page 404 / merci */
.simple-page { padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.simple-page .hero-actions { justify-content: center; }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; }
.breadcrumb.on-light ol { color: var(--steel); }
.breadcrumb.on-light a { color: var(--blue); }
.breadcrumb.on-light a:hover { color: var(--navy); }
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.compare tbody th { color: var(--navy); font-weight: 600; width: 22%; }
.compare tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) { .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; } .compare thead { display: none; } .compare tbody th { background: var(--bg); } .compare td::before { content: attr(data-label); display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); } }
