/* Palette BATIWATT : Bleu Corporate #0057B8, vert du « W » du logo #94C11F, Gris Clair #F4F4F4 */
:root {
  --blue: #0057B8;
  --blue-dark: #004A9C;
  --blue-deep: #003D82;
  --navy: #002E61;
  --blue-50: #E6EEF8;
  --green: #94C11F;
  --green-dark: #4E7B0B;
  --green-light: #94C11F;
  --green-50: #F2F8E4;
  --grey: #F4F4F4;
  --ink: #0F2647;
  --muted: #5B6573;
  --line: #E2E5E9;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 46, 97, .08);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Open Sans", Verdana, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--blue); letter-spacing: 0; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: var(--navy); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--grey); }
.section-blue { background: var(--blue-dark); color: var(--white); position: relative; overflow: hidden; }
.section-blue h2 { color: var(--white); }
.section-intro { max-width: 720px; color: var(--muted); font-size: 1.05rem; margin-bottom: 48px; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 4px; background: var(--green); border-radius: 2px; flex: none; }
.eyebrow-light { color: var(--green-light); }
.eyebrow-light::before { background: var(--green-light); }
.accent { color: var(--green-light); }
.accent-dark { color: var(--green-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--green-light); outline-offset: 2px;
}
.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-50); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .25s ease, box-shadow .25s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; width: 190px; flex: none; }
.brand img { width: 190px; height: auto; transition: opacity .25s ease; }
.brand .logo-white { position: absolute; inset: 0; }
.brand .logo-color { opacity: 0; }
.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 2px 20px rgba(0,46,97,.08); }
.site-header.scrolled .logo-color { opacity: 1; }
.site-header.scrolled .logo-white { opacity: 0; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; position: relative; white-space: nowrap; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--green-light); transition: width .2s ease;
}
.nav > a:not(.btn):hover::after, .nav a.current::after { width: 100%; }
.site-header.scrolled .nav > a:not(.btn) { color: var(--ink); }

.social { display: flex; align-items: center; gap: 10px; }
.social a, .social .soon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.contact-social { margin-top: 24px; }
.contact-social span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-light); font-weight: 600; margin-right: 6px; }
.soon { cursor: default; opacity: .85; }
.contact-social a, .footer-social a, .contact-social .soon, .footer-social .soon { color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.contact-social a:hover, .footer-social a:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.footer-social { margin-top: 18px; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header.scrolled .nav-toggle span { background: var(--blue); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  background: var(--navy); color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 110px;
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  background:
    linear-gradient(0deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.3) 100%),
    linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,0) 70%);
}
.hero-inner { position: relative; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.12; max-width: 760px; margin-bottom: 18px; text-shadow: 0 2px 18px rgba(0,0,0,.45); }.hero h1 .accent { color: var(--green); }
.hero .lead { max-width: 620px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero .eyebrow { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero .eyebrow::before { background: var(--green-light); }
.hero .btn-ghost { background: rgba(0,0,0,.15); border-color: var(--white); backdrop-filter: blur(2px); }
.hero .btn-ghost:hover { background: var(--white); color: var(--ink); }
.hero-social { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.hero-social a, .hero-social .soon { color: var(--white); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.4); transition: background .2s, border-color .2s; }
.hero-social a:hover { background: var(--green); border-color: var(--green); color: var(--navy); }
.hero-social svg { width: 18px; height: 18px; fill: currentColor; }
.hero-social::before, .hero-social::after { content: ""; width: 1px; height: 48px; background: rgba(255,255,255,.5); margin: 0 auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); opacity: .93; }
.hero .lead { font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.65; max-width: 500px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 36px; }
.hero-cta .btn { padding: 12px 22px; font-size: .9rem; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 5px; padding: 0; border: 0; border-radius: 3px; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .3s, width .3s;
}
.hero-dots button.active { background: var(--green-light); width: 56px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5);
  display: grid; place-items: center; color: var(--white); animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* Qui sommes-nous */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-lead { font-size: 1.15rem; font-weight: 600; color: var(--blue-dark); }
.about-grid p { color: var(--muted); }
.about-grid .about-lead { color: var(--blue-dark); }
.vm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.vm { border-left: 4px solid var(--green); padding: 4px 0 4px 18px; }
.vm h3 { color: var(--blue); margin-bottom: 6px; }
.vm p { margin: 0; font-size: .95rem; }
.vm strong { color: var(--blue-dark); }
.about-visual { margin: 0; position: relative; isolation: isolate; }
.about-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border-radius: 16px; box-shadow: 0 24px 50px rgba(0,46,97,.18); }
.about-visual::before { content: ""; position: absolute; left: -16px; bottom: -16px; width: 45%; height: 45%; border-radius: 16px; background: var(--green-light); opacity: .35; z-index: -1; }

/* En un coup d'oeil */
.glance { position: relative; padding: 88px 0; color: var(--white); overflow: hidden; }
.glance-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(0,46,97,.9), rgba(0,46,97,.9)),
    url("assets/projets/villas-rue.jpg") center / cover no-repeat;
  background-attachment: scroll, fixed;
}
.glance .container { position: relative; }
.glance-title { color: var(--white); text-align: center; margin-bottom: 52px; }
.glance-title::after { content: ""; display: block; width: 64px; height: 4px; background: var(--green-light); border-radius: 2px; margin: 18px auto 0; }
.glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.glance-item svg { width: 52px; height: 52px; fill: none; stroke: var(--green-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 16px; display: block; }
.glance-item strong { display: block; font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }
.glance-item > span { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }

/* Lots */
.lots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lots-grid .lot { padding: 26px 24px; }
.lot {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.lot:hover { border-color: var(--green-light); box-shadow: var(--shadow); transform: translateY(-3px); }
.lot-icon { position: relative; display: block; width: 72px; height: 72px; border-radius: 16px; background: var(--blue-50); margin-bottom: 18px; transition: background .2s; }
.lot-icon img { position: absolute; inset: 10px; width: 52px; height: 52px; transition: opacity .2s; }
.lot-icon img + img { opacity: 0; }
.lot:hover .lot-icon { background: var(--green-50); }
.lot:hover .lot-icon img:first-child:not(:only-child) { opacity: 0; }
.lot:hover .lot-icon img + img { opacity: 1; }
.lot-code { display: block; font-weight: 800; font-size: .78rem; letter-spacing: .1em; color: var(--green-dark); margin-bottom: 8px; }
.lot h3 { color: var(--blue); }
.lot p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Missions (cycle de vie) */
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: lc; position: relative; }
.lifecycle::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.lifecycle li { position: relative; }
.lc-step {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green); color: var(--blue); font-weight: 800; margin-bottom: 18px;
}
.lifecycle h3 { color: var(--blue); }
.lifecycle p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Benefits */
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.two-col .section-intro { margin-bottom: 0; }
.benefits { list-style: none; margin: 0; padding: 0; }
.benefits li { display: flex; gap: 24px; padding: 24px 0; border-top: 2px solid var(--green-light); font-size: 1.05rem; color: var(--blue-dark); }
.benefits li:last-child { border-bottom: 2px solid var(--green-light); }
.benefits span { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); line-height: 1; min-width: 48px; }
.side-visual { margin-top: 32px; border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step { border: 1.5px solid rgba(148,193,31,.7); border-radius: var(--radius); padding: 30px; background: rgba(255,255,255,.03); }
.step-num { display: block; font-size: 3rem; font-weight: 800; color: var(--green-light); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.3rem; }
.step p { opacity: .88; margin: 0; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project {
  display: flex; flex-direction: column; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.project:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.project-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey); }
.zoom { all: unset; position: absolute; inset: 0; cursor: zoom-in; display: block; }
.zoom:focus-visible { outline: 3px solid var(--green-light); outline-offset: -3px; }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .6s ease; }
.project:hover .project-media img { transform: scale(1.03); }
.project-media-duo img + img { opacity: 0; }
.project:hover .project-media-duo img + img, .project:focus-within .project-media-duo img + img { opacity: 1; }
.project-media::after {
  content: "+"; position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--blue); font-size: 1.5rem; font-weight: 700; line-height: 38px; text-align: center;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s; pointer-events: none;
}
.project:hover .project-media::after { opacity: 1; transform: none; }
.project-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { color: var(--blue); font-size: 1.2rem; }
.project-body p { color: var(--muted); font-size: .93rem; }
.project-lots { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.project-lots li { font-size: .75rem; font-weight: 700; color: var(--blue-dark); background: var(--blue-50); padding: 5px 10px; border-radius: 999px; }
.project-large { grid-column: 1 / -1; flex-direction: row; }
.project-large .project-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 420px; }
.project-large .project-body { padding: 40px; justify-content: center; }
.project-large .project-body h3 { font-size: 1.7rem; }
.project-large .project-body p { font-size: 1.02rem; max-width: 520px; }
.project-large .project-lots { margin-top: 12px; }
.ref-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.ref-tag { color: var(--green-dark); }
.ref-place { color: var(--muted); }

/* Comparateur plan / rendu */
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,46,97,.15); background: var(--white); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--white);
  box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none;
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; letter-spacing: 2px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-handle span { outline: 3px solid var(--green-light); }
.compare-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.compare-tag-left { left: 16px; background: var(--blue); color: var(--white); }
.compare-tag-right { right: 16px; background: rgba(255,255,255,.92); color: var(--blue); }

/* Markets & clients */
.markets { position: relative; padding: 96px 0; color: var(--white); overflow: hidden; }
.markets-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(0,46,97,.96), rgba(0,74,156,.9)),
    url("assets/projets/brazza-facade.jpg") center / cover no-repeat;
}
.markets .container { position: relative; }
.markets h2 { color: var(--white); }
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.tag-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.tag-list li { padding: 16px 0 16px 30px; border-bottom: 1px solid rgba(255,255,255,.18); font-weight: 600; position: relative; }
.tag-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--green-light); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.client-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.client-list li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 20px; }
.client-list strong { display: block; color: var(--green-light); margin-bottom: 6px; font-size: 1.02rem; }
.client-list span { font-size: .9rem; opacity: .9; }

/* Values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--green-light); margin-top: 24px; }
.value { padding: 24px 20px 0 0; }
.value h3 { color: var(--blue); font-size: 1.05rem; }
.value p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.office { border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 20px; }
.office h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-light); margin-bottom: 10px; }
.office a { font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.office a:hover, .mail-line a:hover { color: var(--green-light); }
.mail-line { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.mail-line span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-light); font-weight: 600; }
.mail-line a { font-size: 1.2rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }

.contact-form { background: var(--white); color: var(--ink); border-radius: 14px; padding: 34px; box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.contact-form h3 { color: var(--blue); font-size: 1.3rem; margin-bottom: 20px; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 16px; color: var(--ink); }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-weight: 500; font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: none; }
.contact-form textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checks { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { font-size: .85rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; font-weight: 600; }
.checks label:has(input:checked) { border-color: var(--green); background: var(--green-50); color: var(--green-dark); }
.checks input { accent-color: var(--green); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-error { color: #B42318; font-size: .9rem; font-weight: 600; }
.form-success { background: var(--green-50); border-left: 4px solid var(--green); color: var(--green-dark); padding: 12px 14px; border-radius: 6px; font-size: .92rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions .btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* Footer */
.site-footer { background: var(--grey); color: var(--muted); padding: 64px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 170px; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 { color: var(--blue); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.footer-col h3::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--green); margin-top: 10px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.site-footer .footer-social a, .site-footer .footer-social .soon { color: var(--blue); background: var(--white); border-color: var(--line); }
.site-footer .footer-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-band { background: var(--blue); margin-top: 48px; }
.footer-bottom { padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.88); }

/* WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45; height: 58px; min-width: 58px; padding: 0 14px;
  border-radius: 999px; background: #25D366; color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.5); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
.wa-label { padding-right: 4px; }

/* Back to top */
.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: var(--navy); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.2);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-dark); color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,30,64,.95);
  display: flex; align-items: center; justify-content: center; padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: 14px; font-size: .92rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Pages expertise */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lot-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--blue); text-decoration: none; }
.lot-link::after { content: "→"; transition: transform .2s; }
.lot-link:hover::after { transform: translateX(4px); }

.page-hero { position: relative; padding: calc(var(--header-h) + 64px) 0 72px; background: var(--navy); color: var(--white); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,46,97,.94) 0%, rgba(0,46,97,.82) 50%, rgba(0,46,97,.5) 100%); }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; max-width: 760px; margin-bottom: 16px; }
.page-hero .lead { max-width: 620px; }
.page-hero .hero-cta { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-bottom: 28px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current] { color: var(--green); font-weight: 600; }
.page-hero-icons { display: flex; gap: 10px; margin-bottom: 18px; }
.page-hero-icons img { width: 54px; height: 54px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.1); }

.duo-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-visual.duo-visual img { aspect-ratio: 1 / 1; }
.duo-visual img + img { margin-top: 48px; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.scope { background: var(--white); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); }
.scope-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.scope-head .lot-icon { margin: 0; flex: none; }
.scope-head .lot-icon img + img { display: none; }
.scope-head h3 { color: var(--blue); margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--green-dark); border-bottom: 2.5px solid var(--green-dark); transform: rotate(-45deg); }
.scope-note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); background: var(--blue-50); padding: 12px 14px; border-radius: 8px; }
.scope-note a { color: var(--blue); font-weight: 700; }

.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliverable { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; }
.deliverable span { display: block; font-size: 1.6rem; font-weight: 800; color: var(--green-dark); line-height: 1; margin-bottom: 14px; }
.deliverable h3 { color: var(--blue); }
.deliverable p { color: var(--muted); font-size: .93rem; margin: 0; }
.norm-line { margin: 28px 0 0; padding: 16px 20px; border-left: 4px solid var(--green); background: var(--grey); border-radius: 6px; color: var(--ink); }

.ref-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.ref-card { display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s; }
.ref-card:hover { transform: translateY(-3px); }
.ref-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ref-card div { padding: 20px 22px 24px; }
.ref-card .ref-tag { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.ref-card h3 { color: var(--blue); font-size: 1.1rem; }
.ref-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

.cta-band { background: var(--blue-dark); color: var(--white); padding: 64px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .hero-cta { margin: 0; }
.footer-col a[aria-current] { color: var(--blue); font-weight: 700; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .01s; transform: none; }
  .scroll-hint, .wa-float::before { animation: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav > a:not(.btn) { font-size: .85rem; }
}
@media (max-width: 1024px) {
  .lots-grid, .projects { grid-template-columns: repeat(2, 1fr); }
  .project-large { flex-direction: column; }
  .project-large .project-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .project-large .project-body { padding: 28px; }
  .values { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .lifecycle { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .lifecycle::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .scope-grid, .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .deliverables, .ref-cards { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 24px 24px; box-shadow: 0 12px 24px rgba(0,46,97,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .site-header.menu-open { background: var(--white); }
  .site-header.menu-open .logo-color { opacity: 1; }
  .site-header.menu-open .logo-white { opacity: 0; }
  .site-header.menu-open .nav-toggle span { background: var(--blue); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .about-grid, .two-col, .contact-grid, .markets-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual img { aspect-ratio: 16 / 10; }
  .glance-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .glance-bg { background-attachment: scroll, scroll; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .deliverables, .ref-cards { grid-template-columns: 1fr; }
  .duo-visual { gap: 10px; }
  .duo-visual img + img { margin-top: 24px; }
  .scope { padding: 22px 18px; }
  .page-hero { padding: calc(var(--header-h) + 40px) 0 56px; }
  .cta-band .btn { width: 100%; }
  :root { --header-h: 66px; }
  .container { padding: 0 16px; }
  .section, .markets { padding: 64px 0; }
  .glance { padding: 64px 0; }
  .brand, .brand img { width: 150px; }
  .lots-grid, .values, .projects, .lifecycle, .vm-list, .client-list, .offices, .footer-grid { grid-template-columns: 1fr; }
  .lifecycle li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .lifecycle .lc-step { grid-row: span 2; margin: 0; }
  .project-large .project-media { aspect-ratio: 1 / 1; }
  .project-large .project-body h3 { font-size: 1.35rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .hero-cta .btn, .form-actions .btn { width: 100%; }
  .hero-social { display: none; }  .hero { padding-bottom: 96px; }
  .glance-item > span { font-size: .72rem; }
  .wa-label { display: none; }
  .wa-float { padding: 0; width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 84px; }
  .lightbox { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
