/* Djonan — site public
   Couleurs et typographie reprises du flyer : orange chantier, bleu nuit, titres condensés. */
:root {
  --orange: #DC4A04;
  --orange-btn: #C94404;
  --orange-ink: #B33C02;
  --orange-soft: #FCEDE4;
  --navy: #1E2A44;
  --navy-2: #2A3858;
  --steel: #5C6678;
  --concrete: #EEF0F2;
  --line: #DADDE2;
  --white: #FFFFFF;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --radius: 4px;
  --cut: 14%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--body); color: var(--navy); background: var(--white); }
img, video { max-width: 100%; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }

/* Typo */
h1, h2, h3 { margin: 0; line-height: 1.1; }
.h2 { font: 800 clamp(1.9rem, 3.4vw, 2.6rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--navy); }
.h2::after { content: ""; display: block; width: 52px; height: 5px; background: var(--orange); margin-top: .7rem; border-radius: 3px; }
.h2-light { color: #fff; }
.h3 { font: 700 1.35rem/1.2 var(--display); text-transform: uppercase; margin: 2.5rem 0 1rem; }
.rule { display: block; width: 56px; height: 6px; background: var(--orange); border-radius: 3px; }
.prose p { margin: 0 0 1rem; max-width: 68ch; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose h2 { font: 700 1.5rem/1.2 var(--display); text-transform: uppercase; margin: 2rem 0 .6rem; }
.prose-lg { font-size: 1.15rem; }
.link { font-weight: 600; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.3rem; border: 2px solid var(--orange-btn); border-radius: var(--radius);
  background: var(--orange-btn); color: #fff; font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); border-color: var(--navy); }
.btn-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Barre du haut */
.topbar { background: var(--navy); color: #cfd5e1; font-size: .875rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-right { gap: 1.4rem !important; }
.topbar .icon { color: var(--orange); }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 3px solid var(--orange); backdrop-filter: blur(6px); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--orange); }
.logo-mark { width: 46px; height: 46px; border-radius: 11px; background: #ED7A3C; position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--orange); }
.logo-word { font: 700 2rem/1 var(--body); letter-spacing: -.01em; display: flex; flex-direction: column; }
.logo-word small { font: 500 .78rem/1.2 var(--body); color: var(--orange-ink); letter-spacing: .02em; margin-top: .2rem; }
.logo:hover { color: var(--orange); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.nav > ul > li { position: relative; display: flex; align-items: center; }
.nav > ul > li > a { display: block; padding: .6rem .8rem; color: var(--navy); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--orange-ink); }
.nav > ul > li > a[aria-current] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav-toggle, .mega-toggle { background: none; border: 0; color: var(--navy); cursor: pointer; padding: .4rem; }
.nav-toggle { display: none; }
.nav-toggle .icon { width: 28px; height: 28px; }
.mega-toggle { margin-left: -.5rem; }
.mega-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }

.mega { position: absolute; top: calc(100% + 14px); left: -200px; width: 720px; display: grid; grid-template-columns: 1fr 220px; background: #fff;
  border-top: 4px solid var(--orange); box-shadow: 0 18px 40px rgba(30,42,68,.18); border-radius: 0 0 6px 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
.mega-grid { list-style: none; margin: 0; padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.mega-grid a { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--radius); line-height: 1.25; }
.mega-grid a:hover { background: var(--orange-soft); color: var(--orange-ink); }
.mega-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.mega-ico .icon { width: 20px; height: 20px; }
.mega-aside { background: var(--concrete); padding: 1.3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; border-radius: 0 0 6px 0; }
.mega-aside p { margin: 0; font-size: .95rem; color: var(--steel); }

/* Alertes */
.alert { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius); border-left: 4px solid; }
.alert-success { background: #E8F5EC; border-color: #2E8B57; color: #145A2C; }
.alert-error { background: #FDECEA; border-color: #C0392B; color: #8A1C0B; }

/* Hero / slider — coupe diagonale du flyer. Hauteur réglée dans l'admin (--hero-h). */
.hero { --hero-h: 320px; position: relative; background: linear-gradient(180deg, #F6F7F8 0%, #EEF0F2 100%); overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 100%; align-items: stretch; height: var(--hero-h); }
.hero-text { padding: calc(var(--hero-h) * .09) 2rem calc(var(--hero-h) * .09) 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(.6rem, calc(var(--hero-h) * .035), 1.3rem); position: relative; z-index: 2; min-width: 0; }
.hero-title { font: 800 clamp(1.9rem, calc(var(--hero-h) * .11), 4.6rem)/.98 var(--display); text-transform: uppercase; letter-spacing: .005em; color: var(--navy); max-width: 22ch; text-wrap: balance; }
.hero-title .hl { color: var(--orange); }
.hero-lead { margin: 0; font-size: clamp(1rem, calc(var(--hero-h) * .034), 1.15rem); max-width: 52ch; color: #39445C; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-visual { position: relative; margin-right: calc(-1 * max(1.25rem, (100vw - var(--wrap)) / 2 + 1.25rem)); clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); background: #9EBFDF; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-visual::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--cut) + 10px); background: var(--orange); clip-path: polygon(calc(100% - 10px) 0, 100% 0, 10px 100%, 0 100%); z-index: 1; }
.slider-nav { position: absolute; z-index: 3; right: max(1.25rem, (100vw - var(--wrap)) / 2 + 1.25rem); bottom: 14px; display: flex; align-items: center; gap: .4rem; background: rgba(30,42,68,.82); padding: 4px; border-radius: 99px; }
.slider-btn { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.slider-btn:hover { background: rgba(255,255,255,.15); }
.slider-btn .icon { width: 18px; height: 18px; }
.flip { transform: rotate(180deg); }
.slider-dots { display: flex; gap: 6px; padding: 0 2px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s, background .25s; }
.slider-dots button[aria-current] { width: 24px; background: var(--orange); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--concrete); }
.section-head { margin-bottom: 2.2rem; max-width: 62ch; }
.section-head p { margin: 1rem 0 0; color: var(--steel); font-size: 1.1rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }

/* Tuiles prestations (reprise du flyer : photo + disque orange) */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tile a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--navy); text-decoration: none; position: relative; }
.tile-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--concrete); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.tile a { padding-bottom: 1.2rem; }
.tile-ico { position: relative; margin: -32px 0 0 1rem; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; border: 4px solid #fff; }
.tile-ico .icon { width: 30px; height: 30px; }
.tile-title { display: block; padding: .7rem 1.1rem 0; font: 700 1.3rem/1.15 var(--display); text-transform: uppercase; }
.tile-text { display: block; padding: .5rem 1.1rem 0; color: var(--steel); font-size: .98rem; }
.tile a:hover .tile-title { color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 2px; }
.tile a:hover { border-color: #c7ccd4; }
.tiles-large { grid-template-columns: repeat(3, 1fr); }
.tiles-compact { grid-template-columns: repeat(4, 1fr); }

/* Section vedette (ascenseurs) */
.feature { background: var(--navy); color: #DCE1EA; overflow: hidden; }
.feature-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; align-items: stretch; }
.feature-media { position: relative; margin-left: calc(-1 * max(1.25rem, (100vw - var(--wrap)) / 2 + 1.25rem)); clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); min-height: 520px; background: #000; }
.feature-media video, .feature-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-text { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem); display: flex; flex-direction: column; gap: 1.2rem; }
.feature-text p { margin: 0; font-size: 1.1rem; max-width: 56ch; }
.feature-tag { display: inline-flex; align-items: center; gap: .55rem; color: #FFB48A; font-weight: 600; }
.feature-tag .icon { width: 22px; height: 22px; }

/* Listes à coches */
.checks { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { color: var(--orange); margin-top: .2rem; stroke-width: 2.6; }
.checks-light li { color: #fff; }
.checks-light .icon { color: #FF8C4D; }

/* Méthode (séquence réelle → numérotée) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; font: 800 2.6rem/1 var(--display); color: var(--orange); }
.steps li::after { content: ""; position: absolute; top: 1.25rem; left: 2.6rem; right: -1.5rem; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 700 1.3rem/1.15 var(--display); text-transform: uppercase; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--steel); }

/* Pourquoi */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.why-lead { color: var(--steel); font-size: 1.1rem; margin: 1rem 0 0; }
.why-list { margin: 0; display: grid; gap: 1.6rem; }
.why-list dt { display: flex; align-items: center; gap: .6rem; font: 700 1.35rem/1.15 var(--display); text-transform: uppercase; }
.why-list dt .icon { color: var(--orange); width: 26px; height: 26px; }
.why-list dd { margin: .35rem 0 0 2.25rem; color: var(--steel); }

/* Cartes réalisations */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--navy); height: 100%; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.2rem; }
.card-meta { color: var(--orange-ink); font-weight: 600; font-size: .88rem; }
.card-title { font: 700 1.3rem/1.15 var(--display); text-transform: uppercase; }
.card-place { display: inline-flex; align-items: center; gap: .3rem; color: var(--steel); font-size: .92rem; }
.card a:hover .card-title { text-decoration: underline; }

/* Bandeau d'appel */
.cta-band { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 38%; background: var(--orange-ink); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 2.6rem; padding-bottom: 2.6rem; flex-wrap: wrap; }
.cta-band h2 { font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.05 var(--display); text-transform: uppercase; }
.cta-band p { margin: .5rem 0 0; font-size: 1.08rem; color: #FFE9DC; }
.cta-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cta-phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font: 700 1.6rem/1 var(--display); text-decoration: none; }
.cta-phone:hover { color: #fff; text-decoration: underline; }

/* En-tête de page */
.page-head { background: var(--navy); color: #fff; padding: 2.4rem 0 2.8rem; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 26%; background: var(--orange); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%); opacity: .95; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font: 800 clamp(2.1rem, 4.5vw, 3.4rem)/1 var(--display); text-transform: uppercase; max-width: 22ch; margin-top: .8rem; }
.page-head .lead { margin: .9rem 0 0; font-size: 1.15rem; color: #C9D0DD; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .92rem; color: #A9B3C6; }
.crumbs a { color: #DCE1EA; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Onglets ancres (à la Electroclass) */
.tabs { position: sticky; top: 81px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.tabs-in { display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; align-items: center; }
.tabs a { white-space: nowrap; padding: 1rem .9rem; color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.tabs a:hover, .tabs a.active { color: var(--orange-ink); border-color: var(--orange); }
.tabs .tabs-cta { margin-left: auto; color: var(--orange-ink); }

/* Présentation */
.pres { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.gallery { position: sticky; top: 150px; }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; background: var(--concrete); border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.gallery-thumbs { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: none; width: 100%; }
.gallery-thumbs button.current { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pres-text .prose { font-size: 1.08rem; }
.expert { margin-top: 2rem; padding: 1.5rem; background: var(--concrete); border-left: 5px solid var(--orange); border-radius: 0 6px 6px 0; }
.expert h2 { font: 800 1.6rem/1.1 var(--display); text-transform: uppercase; }
.expert p { margin: .5rem 0 1rem; color: var(--steel); }
.expert-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.expert-phone { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; text-decoration: none; }

/* FAQ / problématiques */
.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { color: var(--orange); transition: transform .2s; }
.faq details[open] .faq-ico { transform: rotate(180deg); }
.faq details[open] summary { color: var(--orange-ink); }
.faq-a { padding: 0 1.25rem 1.1rem; color: #39445C; }
.faq-a p { margin: 0; }

/* Atouts techniques */
.args { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.args li { position: relative; padding-left: 3.2rem; }
.args-ico { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; }
.args-ico .icon { stroke-width: 2.6; }
.args h3 { font: 700 1.25rem/1.15 var(--display); text-transform: uppercase; margin: .3rem 0 .35rem; }
.args p { margin: 0; color: var(--steel); }

/* Options */
.options { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.options li { background: #fff; border-radius: 6px; padding: 1.2rem 1.25rem; border-top: 3px solid var(--navy); }
.options li.has-img { padding: 0; overflow: hidden; }
.options li.has-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.options li.has-img div { padding: 1rem 1.2rem 1.2rem; }
.options h3 { font: 700 1.2rem/1.15 var(--display); text-transform: uppercase; }
.options p { margin: .4rem 0 0; color: var(--steel); font-size: .98rem; }

/* Ressources */
.videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.videos video { width: 100%; aspect-ratio: 9/16; max-height: 520px; background: #000; border-radius: 6px; object-fit: contain; }
.videos p { margin: .5rem 0 0; font-weight: 600; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; max-width: 760px; }
.docs a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--navy); }
.docs a:hover { border-color: var(--orange); }
.docs-ico { width: 32px; height: 32px; color: var(--orange); }
.docs span { display: flex; flex-direction: column; }
.docs small { color: var(--steel); }
.docs-dl { margin-left: auto; flex-direction: row !important; align-items: center; gap: .4rem; color: var(--orange-ink); font-weight: 700; }

/* Réalisations */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters a { padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.filters a[aria-current] { background: var(--navy); color: #fff; border-color: var(--navy); }
.masonry { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 1rem; }
.masonry li { break-inside: avoid; margin-bottom: 1rem; }
.masonry button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; border-radius: 6px; overflow: hidden; }
.masonry video { width: 100%; border-radius: 6px; background: #000; }
.real-video { width: 100%; margin-top: 1rem; border-radius: 6px; background: #000; max-height: 560px; }
.facts { margin: 0 0 1.5rem; display: grid; gap: .1rem; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--steel); font-weight: 600; }
.facts dd { margin: 0; }

/* À propos */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.id-card { background: var(--concrete); padding: 1.6rem; border-radius: 6px; border-top: 5px solid var(--orange); }
.id-card h2 { font: 800 1.5rem/1 var(--display); text-transform: uppercase; margin-bottom: 1rem; }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--steel); font-size: .85rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #BFC5CF; border-radius: var(--radius); background: #fff; color: var(--navy); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(220,74,4,.18); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field-error { color: #B42318; font-size: .9rem; font-weight: 600; }
.check { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .95rem; }
.check input { width: 18px !important; height: 18px; margin-top: .2rem; accent-color: var(--orange); flex: none; }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #145A2C; }
.form-status.err { color: #B42318; }
.contact-form.sent .form-grid, .contact-form.sent .form-foot .btn { display: none; }
.contact-form.sent .form-status { font-size: 1.1rem; padding: 1rem 1.2rem; background: #E8F5EC; border-radius: 6px; }

.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.contact-form-wrap .h2 { margin-bottom: 1.5rem; }
.contact-side { background: var(--navy); color: #DCE1EA; padding: 2rem; border-radius: 6px; position: sticky; top: 100px; }
.contact-side h2 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
.contact-side a { color: #fff; }
.map-link { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1.2rem; font-weight: 600; }

/* Modale devis */
.modal { width: min(760px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); border: 0; border-radius: 8px; padding: 1.6rem 1.8rem 1.8rem; color: var(--navy); border-top: 6px solid var(--orange); }
.modal::backdrop { background: rgba(20,28,46,.65); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.modal-head h2 { font: 800 2rem/1 var(--display); text-transform: uppercase; }
.modal-close, .lightbox-close { background: none; border: 0; cursor: pointer; color: var(--navy); padding: .3rem; }
.modal-close .icon { width: 26px; height: 26px; }
.modal-intro { color: var(--steel); margin: .5rem 0 1.2rem; }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10,14,24,.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 4.5rem; }
.lightbox img { max-height: calc(100vh - 8rem); max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: #DCE1EA; margin-top: .8rem; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; color: #fff; z-index: 2; }
.lightbox-close .icon { width: 32px; height: 32px; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-nav.next .icon { transform: rotate(180deg); }

/* WhatsApp flottant */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { color: #fff; background: #178C46; }

/* Pied de page */
.footer { background: #172036; color: #B9C1D0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-top: 3.5rem; padding-bottom: 3rem; }
.logo-light .logo-word { color: #fff; }
.logo-light .logo-word small { color: #FFB48A; }
.footer-about { margin: 1.2rem 0; max-width: 42ch; }
.footer-title { font: 700 1.3rem/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: #DCE1EA; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: .25rem; }
.contact-list { gap: 1rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-legal { background: var(--orange); color: #fff; font-size: .92rem; }
.footer-legal-in { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-top: .9rem; padding-bottom: .9rem; }
.footer-legal a { color: #fff; }

.notfound { text-align: left; min-height: 45vh; }

/* Réactif */
@media (max-width: 1080px) {
  .tiles, .tiles-compact { grid-template-columns: repeat(2, 1fr); }
  .tiles-large { grid-template-columns: repeat(2, 1fr); }
  .args, .options { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2)::after { display: none; }
  .mega { left: -260px; }
}
@media (max-width: 960px) {
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 81px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 2rem; gap: 1rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { flex: 1; padding: 1rem .2rem; font-size: 1.1rem; }
  .nav > ul > li > a[aria-current] { box-shadow: none; }
  .mega-toggle { margin: 0; padding: .8rem; }
  .has-mega.open .mega-toggle .icon { transform: rotate(180deg); }
  .mega { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; grid-template-columns: 1fr; }
  .has-mega:hover .mega { display: none; }
  .has-mega.open .mega, .has-mega.open:hover .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; padding: 0 0 1rem; }
  .mega-aside { display: none; }
  .nav-cta { justify-content: center; }
  .hero-in { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .hero-visual { order: -1; margin: 0 -1.25rem; height: 220px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); }
  .hero-visual::before { display: none; }
  .hero-text { padding: 1.4rem 0 3.6rem; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .slider-nav { right: 1.25rem; bottom: 12px; }
  .feature-in { grid-template-columns: 1fr; }
  .feature-media { margin: 0 -1.25rem; min-height: 420px; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .feature-text { padding: 2.5rem 0 3rem; }
  .why, .pres, .about, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .gallery, .contact-side { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .tabs { top: 81px; }
  .page-head::after { width: 18%; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .header-in { min-height: 68px; }
  .nav { inset: 71px 0 0 0; }
  .tabs { top: 71px; }
  .logo-word { font-size: 1.7rem; }
  .logo-mark { width: 40px; height: 40px; }
  .tiles, .tiles-compact, .tiles-large, .cards, .args, .options, .steps { grid-template-columns: 1fr; }
  .tiles-compact { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .tiles-compact .tile-title { font-size: 1.05rem; padding: .5rem .8rem 0; }
  .tiles-compact .tile-ico { width: 52px; height: 52px; margin-top: -26px; margin-left: .7rem; }
  .steps li::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .cta-band::before { display: none; }
  .modal { padding: 1.2rem; }
  .lightbox figure { padding: 3.5rem .5rem; }
  .facts > div { grid-template-columns: 100px 1fr; }
  .docs a { flex-wrap: wrap; }
  .hero-visual { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Application installable */
.install-btn { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; padding: .8rem 1rem; width: 100%; max-width: 380px; text-align: left;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 6px; color: #fff; font: 600 1rem/1.3 var(--body); cursor: pointer; }
.install-btn:hover { background: rgba(255,255,255,.12); }
.install-btn .icon { width: 26px; height: 26px; color: var(--orange); }
.install-btn small { display: block; font-weight: 400; font-size: .85rem; color: #B9C1D0; }
.install-btn[hidden], .nav-install[hidden] { display: none; }
.nav-install { display: none; }
.modal-sm { width: min(460px, calc(100% - 2rem)); }
.ios-steps { margin: 1rem 0 0; padding-left: 1.3rem; display: grid; gap: .6rem; }
.offline { min-height: 55vh; }
.offline-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--orange-soft); color: var(--orange); margin-bottom: 1.2rem; }
.offline-ico .icon { width: 30px; height: 30px; }
.lead-dark { font-size: 1.15rem; color: #39445C; margin: 1.2rem 0; max-width: 56ch; }
.offline-phones { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
@media (display-mode: standalone) { .topbar { display: none; } }
@media (max-width: 960px) { .nav-install:not([hidden]) { display: inline-flex; justify-content: center; } }
