/* SSMV 2026 — refonte immersive */
:root {
    --ssmv: #1a6d78;     --ssmv-soft: #d7ecee;
    --ancrage: #47733a;  --ancrage-soft: #e1edd9;
    --avat: #263f55;     --avat-soft: #dbe4ec;
    --rose: #b9474c;
    --ink: #17252b;
    --muted: #5b676c;
    --line: #dfe5e4;
    --paper: #f4f6f5;
    --white: #fff;
    --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --body: "Figtree", "Segoe UI", system-ui, sans-serif;
    --wrap: 1240px;
    --header-h: 92px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); 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(--ssmv); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.6rem; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--ssmv); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- En-tête transparent ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.header-row { display: flex; align-items: center; gap: 2rem; height: var(--header-h); max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.brand { flex-shrink: 0; background: #fff; border-radius: 14px; padding: .45rem .8rem; box-shadow: 0 6px 20px rgba(0,0,0,.12); transition: box-shadow .3s; }
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: block; padding: .5rem .9rem; font-weight: 500; font-size: 1.05rem; color: #fff; text-decoration: none; }
.main-nav ul a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav ul a:hover::after, .main-nav .is-active a::after { transform: scaleX(1); }
.main-nav .is-active a { font-weight: 700; }

.search { position: relative; }
.search input { width: 170px; padding: .6rem 1rem .6rem 2.4rem; font: inherit; font-size: .95rem; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; transition: width .25s, background .25s; }
.search input::placeholder { color: rgba(255,255,255,.8); }
.search input:focus { width: 230px; outline: none; background: rgba(255,255,255,.24); }
.search .fa-search { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: #fff; pointer-events: none; }
#suggesstion-box { display: none; position: absolute; top: calc(100% + 8px); right: 0; width: 300px; max-height: 340px; overflow-y: auto; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.18); z-index: 110; }
#suggesstion-box ul { list-style: none; margin: 0; padding: .4rem 0; }
#suggesstion-box li { padding: .55rem 1rem; cursor: pointer; color: var(--ink); }
#suggesstion-box li:hover { background: var(--paper); }
#suggesstion-box a { color: var(--ink); text-decoration: none; }
.nav-call { padding: .6rem 1.1rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-call .fa { color: var(--ssmv); margin-right: .3rem; }

.site-header.is-solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(23,37,43,.06); }
.site-header.is-solid .brand { box-shadow: none; padding-left: 0; }
.site-header.is-solid .main-nav ul a { color: var(--ink); }
.site-header.is-solid .search input { color: var(--ink); background: var(--paper); border-color: var(--line); }
.site-header.is-solid .search input::placeholder { color: var(--muted); }
.site-header.is-solid .search .fa-search { color: var(--muted); }
.site-header.is-solid .nav-call { background: var(--ssmv); color: #fff; }
.site-header.is-solid .nav-call .fa { color: #fff; }

.nav-toggle { display: none; margin-left: auto; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; position: relative; z-index: 120; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 15px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .25s, background .25s; }
.nav-toggle-bar { top: 24px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero plein écran (accueil) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1100px; color: #fff; overflow: hidden; background: var(--ink); }
.hero-slider, .hero-slider .owl-stage-outer, .hero-slider .owl-stage, .hero-slider .owl-item, .hero-slider .item { height: 100%; }
.hero-slider .item { position: relative; overflow: hidden; }
.hero-slider .item::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; transform: scale(1.08); transition: transform 7.5s linear; }
.hero-slider .owl-item.active .item::before { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(23,37,43,.55) 0%, rgba(23,37,43,0) 28%), linear-gradient(75deg, rgba(23,37,43,.88) 0%, rgba(23,37,43,.55) 45%, rgba(23,37,43,.05) 80%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: clamp(5rem, 12vh, 8rem); z-index: 2; }
.hero-text { max-width: 44rem; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.hero-text > *:first-child, .hero-text code, .hero-text pre { display: block; font-family: var(--display); font-weight: 800; font-style: normal; font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -0.02em; color: #fff; background: none; padding: 0; margin: 0 0 1.5rem; white-space: normal; }
.hero-text > *:first-child * { font-style: normal !important; font-family: inherit !important; font-size: inherit !important; }
.hero-text hr { display: none; }
.hero-text p { color: rgba(255,255,255,.9); max-width: 36rem; margin-bottom: .6rem; }
.hero-text * { color: inherit; font-style: normal; }
.hero-text strong, .hero-text b { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero .owl-dots { position: absolute; right: clamp(1.25rem, 4vw, 2.5rem); bottom: clamp(5rem, 12vh, 8rem); z-index: 3; display: flex; flex-direction: column; gap: .6rem; }
.hero .owl-dot span { display: block; width: 4px; height: 26px; border-radius: 2px; background: rgba(255,255,255,.4); transition: background .3s, height .3s; }
.hero .owl-dot.active span { background: #fff; height: 44px; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; z-index: 3; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* entrée unique au chargement */
.page-home .hero-content > * { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.page-home.is-ready .hero-content > * { opacity: 1; transform: none; }
.page-home.is-ready .hero-content > *:nth-child(2) { transition-delay: .25s; }

/* ---------- Bandeau des pages internes ---------- */
.page-hero { position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink) var(--img, none) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,37,43,.6) 0%, rgba(23,37,43,.15) 35%, rgba(23,37,43,.85) 100%); }
.page-hero-inner { position: relative; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -0.025em; margin: .5rem 0 0; max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; font-size: .95rem; color: rgba(255,255,255,.8); }
.crumbs a { color: #fff; }

/* ---------- Blocs structures ---------- */
.structures { display: block; }
.structure { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 680px); }
.structure-visual { display: grid; place-items: center; padding: 3rem; background: var(--soft); position: relative; overflow: hidden; }
.structure-visual::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0,0,0,.06); }
.structure-visual::after { content: ""; position: absolute; width: 95%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0,0,0,.06); }
.structure-logo { position: relative; z-index: 1; width: clamp(220px, 28vw, 380px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 14%; box-shadow: 0 30px 60px rgba(23,37,43,.14); }
.structure-logo img { width: 100%; height: 100%; object-fit: contain; }
.structure-initial { font-family: var(--display); font-weight: 800; font-size: 8rem; color: var(--tone); }
.structure-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem, 6vw, 6rem); background: var(--tone); color: #fff; }
.structure-name { font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.25rem; color: #fff; }
.structure-text { font-size: 1.1rem; max-width: 34rem; color: rgba(255,255,255,.92); margin-bottom: 2rem; }
.structure-text * { color: inherit !important; background: transparent !important; font-family: inherit !important; }
.structure-text ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.structure-text li { margin-bottom: .35rem; }
.structure-text p:last-child { margin-bottom: 0; }
.structure-body .btn { align-self: flex-start; }
.structure.is-flipped .structure-visual { order: 2; }
.st-ssmv { --tone: var(--ssmv); --soft: var(--ssmv-soft); }
.st-ancrage { --tone: var(--ancrage); --soft: var(--ancrage-soft); }
.st-avat { --tone: var(--avat); --soft: var(--avat-soft); }

/* ---------- Intro (page Services) ---------- */
.intro-band { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.intro-text { max-width: 58rem; font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.3; color: var(--ink); }
.intro-text * { background: transparent !important; border: 0 !important; font-size: inherit !important; font-family: inherit !important; color: inherit !important; padding: 0 !important; box-shadow: none !important; }
.intro-text ul { list-style: none; margin: 1.5rem 0 0 !important; display: grid; gap: .6rem; }
.intro-text li { font-size: .62em !important; font-family: var(--body) !important; font-weight: 500; color: var(--muted) !important; }
.intro-text li:first-child { font-size: 1em !important; font-family: var(--display) !important; color: var(--ink) !important; margin-bottom: .6rem; }
.intro-text table { width: auto; }

/* ---------- Sections génériques ---------- */
.section { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; margin: 0; }
.link-more { font-weight: 700; }
.empty-state { max-width: 36rem; padding: 3rem; background: var(--paper); border-radius: 24px; }
.empty-state h2 { font-size: 1.8rem; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.news-card { color: var(--ink); text-decoration: none; }
.news-img { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--paper); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-date { position: absolute; left: 1rem; top: 1rem; padding: .45rem .7rem; text-align: center; background: #fff; color: var(--ink); font-weight: 700; font-size: .8rem; line-height: 1.1; border-radius: 12px; }
.news-date span { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
.news-body { padding: 1.2rem .2rem 0; }
.news-body h2, .news-body h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.news-card:hover h2, .news-card:hover h3 { color: var(--ssmv); }
.news-excerpt { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-excerpt p { margin: 0; }
.pager { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pager a, .pager strong { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 700; color: var(--ink); }
.pager strong { background: var(--ink); color: #fff; }

/* ---------- Liste des services ---------- */
.service-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.service-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-link { color: var(--ink); text-decoration: none; }
.service-link h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: .5rem; transition: color .2s; }
.service-link:hover h2 { color: var(--ssmv); }
.service-desc { color: var(--muted); max-width: 48rem; }
.service-desc p:last-child { margin-bottom: 0; }
.service-side { display: flex; align-items: center; gap: 1.5rem; }
.service-phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.service-arrow { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.4rem; transition: background .2s, color .2s; }
.service-item:hover .service-arrow { background: var(--ssmv); color: #fff; }

/* ---------- Détail ---------- */
.detail { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.detail-info { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 2rem; border-radius: 24px; background: var(--ssmv); color: #fff; }
.detail-info a { color: #fff; }
.info-block { margin-bottom: 1.4rem; }
.info-block h2 { font-family: var(--body); font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: .25rem; }
.info-big { font-family: var(--display); font-weight: 800; font-size: 1.7rem; text-decoration: none; }
.info-block .prose * { color: inherit !important; }
.link-back { display: inline-block; font-weight: 700; }
.link-back::before { content: "\2190\00a0"; }
.prose { max-width: 46rem; font-size: 1.1rem; }
.prose img { border-radius: 16px; margin: 1.5rem 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.5em; font-family: var(--display); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; }
.prose iframe { max-width: 100%; }
.ssmv-gallery { margin-top: 2.5rem; position: relative; }
.ssmv-gallery figure { margin: 0; }
.ssmv-gallery img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 20px; }
.ssmv-gallery .owl-nav button { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0 !important; border-radius: 50%; background: #fff !important; color: var(--ink) !important; font-size: 2rem !important; line-height: 1; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.ssmv-gallery .owl-prev { left: 1rem; } .ssmv-gallery .owl-next { right: 1rem; }
.ssmv-gallery .owl-dots { text-align: center; margin-top: 1rem; }
.ssmv-gallery .owl-dot span { display: inline-block; width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; background: var(--line); }
.ssmv-gallery .owl-dot.active span { background: var(--ssmv); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; filter: grayscale(.35); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; }
.contact-panel { background: var(--ssmv); color: #fff; display: flex; justify-content: flex-end; }
.contact-panel-inner { width: 100%; max-width: 520px; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem); }
.contact-panel h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.75); }
.contact-panel a { color: #fff; }
.contact-big { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.05; text-decoration: none; margin-bottom: .8rem; }
.contact-mail { display: inline-block; font-size: 1.25rem; font-weight: 700; margin-bottom: 2rem; }
.contact-panel address { font-style: normal; font-size: 1.25rem; line-height: 1.5; margin-bottom: 2rem; }
.contact-form { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem); max-width: 760px; }
.contact-form h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; }
.form-note { color: var(--muted); }
.field { display: flex; flex-direction: column; flex: 1; margin-bottom: 1.2rem; }
.field-row { display: flex; gap: 1rem; }
.field label { font-weight: 700; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .85rem 1rem; color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 14px; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ssmv); }
.notice { padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.2rem; font-weight: 700; }
.notice-ok { background: var(--ancrage-soft); color: #2d5022; }
.notice-error { background: #f8e3e4; color: #8c2f33; }
.social { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; }

/* ---------- Bande d'appel ---------- */
.call-band { background: var(--rose); color: #fff; }
.call-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.call-lead { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; margin: 0; max-width: 30rem; }
.call-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.call-number { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; text-decoration: none; line-height: 1; }
.call-number:hover { color: #fff; text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 3rem; }
.site-footer h2 { font-family: var(--body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: .7rem; }
.footer-brand { display: inline-block; background: #fff; border-radius: 14px; padding: .5rem .8rem; margin-bottom: 1.2rem; }
.footer-brand img { height: 52px; width: auto; }
.footer-id p { max-width: 24rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-partners { margin-top: 1.4rem; display: inline-block; background: #fff; border-radius: 12px; padding: .6rem .9rem; }
.footer-partners img { max-width: 200px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; padding-bottom: 1.6rem; font-size: .9rem; }
.footer-legal p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav-call { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    :root { --header-h: 78px; }
    .brand img { height: 42px; }
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: 0; z-index: 110; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; padding: 6rem 2rem 3rem; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    .nav-open .main-nav { opacity: 1; visibility: visible; }
    .nav-open { overflow: hidden; }
    .main-nav ul { flex-direction: column; gap: .25rem; }
    .main-nav ul a, .site-header.is-solid .main-nav ul a { color: #fff; font-family: var(--display); font-weight: 700; font-size: 2.4rem; padding: .25rem 0; }
    .main-nav ul a::after { left: 0; right: auto; width: 2.5rem; }
    .search, .search input, .search input:focus { width: 100%; }
    .site-header.is-solid .main-nav .search input { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
    .nav-call { display: inline-block; }
    .site-header.is-solid .nav-call { background: #fff; color: var(--ink); }
    .structure { grid-template-columns: 1fr; min-height: 0; }
    .structure.is-flipped .structure-visual { order: 0; }
    .structure-visual { padding: 3rem 1.5rem; }
    .structure-logo { width: 220px; }
    .detail, .contact { grid-template-columns: 1fr; }
    .detail-info { position: static; }
    .contact-panel { justify-content: flex-start; }
    .contact-panel-inner { max-width: none; }
    .service-item { grid-template-columns: 1fr; }
    .hero .owl-dots { flex-direction: row; top: auto; bottom: 1.6rem; right: auto; left: clamp(1.25rem, 4vw, 2.5rem); }
    .hero .owl-dot span { width: 26px; height: 4px; }
    .hero .owl-dot.active span { width: 44px; height: 4px; }
    .hero-scroll { display: none; }
}
@media (max-width: 600px) {
    body { font-size: 1rem; }
    .field-row { flex-direction: column; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
    .call-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .hero-slider .item::before { transform: none; }
    .page-home .hero-content > * { opacity: 1; transform: none; }
}
