/* =========================================================
   O&M Industrial — site institucional
   Paleta extraída do e-book: verde profundo, amarelo e laranja
   ========================================================= */

:root {
  --green-950: #04231b;
  --green-900: #062e24;
  --green-800: #0b3d30;
  --green-700: #135041;
  --green-600: #1a5c4a;
  --yellow: #f8c33a;
  --yellow-600: #e9ad16;
  --orange: #f05a28;
  --orange-600: #d9471a;
  --ink: #13201c;
  --ink-soft: #46544f;
  --line: #e4e2da;
  --paper: #f6f5f0;
  --white: #ffffff;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(4, 35, 27, .35);
  --shadow-lg: 0 30px 60px -25px rgba(4, 35, 27, .55);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--yellow); }
.hl { color: var(--yellow); }
.hl-dark { color: var(--orange); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--green-950); box-shadow: 0 10px 24px -10px rgba(248, 195, 58, .7); }
.btn--primary:hover { background: #ffd35a; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn--dark { background: var(--green-950); color: var(--white); }
.btn--dark:hover { background: var(--green-800); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-ico { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  --header-h: 70px;
  box-shadow: 0 6px 24px -12px rgba(4, 35, 27, .3);
}
/* fundo em pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transition: background .35s;
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; height: 62px; flex-shrink: 0; }
.brand-logo { height: 100%; width: auto; transition: opacity .3s; }
.brand-logo--dark { position: absolute; inset: 0; opacity: 0; }
.is-scrolled .brand { height: 50px; }
.is-scrolled .brand-logo--light { opacity: 0; }
.is-scrolled .brand-logo--dark { opacity: 1; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--white); position: relative; padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.is-scrolled .main-nav a:not(.btn) { color: var(--green-900); }
.is-scrolled .main-nav a:not(.btn)::after { background: var(--orange); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; width: 46px; height: 46px; position: relative; z-index: 60; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--white); margin: 5px auto; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.is-scrolled .nav-toggle span { background: var(--green-900); }
.nav-open .nav-toggle span { background: var(--white); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); background: var(--green-950); overflow: hidden;
  padding-top: var(--header-h);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,35,27,.95) 0%, rgba(4,35,27,.82) 38%, rgba(4,35,27,.35) 75%, rgba(4,35,27,.2) 100%),
    linear-gradient(0deg, rgba(4,35,27,.9) 0%, transparent 35%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-stripes {
  position: absolute; right: -120px; top: -80px; width: 520px; height: 520px; pointer-events: none;
  background:
    linear-gradient(135deg, transparent 46%, var(--yellow) 46%, var(--yellow) 49%, transparent 49%),
    linear-gradient(135deg, transparent 54%, var(--green-600) 54%, var(--green-600) 66%, transparent 66%);
  opacity: .9;
}
.hero-content { position: relative; padding: 60px 0 180px; max-width: 1200px; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 800; text-transform: uppercase;
  line-height: .95; max-width: 13ch; margin-bottom: 26px;
}
.hero h1 .hl { display: block; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { position: absolute; left: 0; right: 0; bottom: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat { padding: 26px 28px; border-right: 1px solid var(--line); position: relative; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 4px; background: var(--orange); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--green-900); line-height: 1.1; }
.stat strong small { font-size: 1.2rem; color: var(--orange); }
.stat span { font-size: .93rem; color: var(--ink-soft); line-height: 1.4; display: block; }

/* ---------- Sobre ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-media::before {
  content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%;
  border: 3px solid var(--yellow); border-radius: var(--radius); z-index: -1;
}
.about-badge {
  position: absolute; right: -24px; bottom: 36px; max-width: 230px;
  background: var(--orange); color: var(--white); padding: 22px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-badge-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.about-badge-txt { font-size: .9rem; line-height: 1.35; display: block; margin-top: 6px; }
.about-text p { color: var(--ink-soft); }
.about-text p strong { color: var(--ink); }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304231b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

.mvv { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-top: clamp(64px, 8vw, 100px); }
.mvv-card {
  background: var(--paper); border-radius: var(--radius); padding: 34px 32px;
  border-top: 4px solid var(--green-700); transition: transform .3s var(--ease), box-shadow .3s;
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mvv-card:nth-child(2) { border-top-color: var(--yellow); }
.mvv-card:nth-child(3) { border-top-color: var(--orange); }
.mvv-card h3 { font-size: 1.7rem; text-transform: uppercase; color: var(--green-900); }
.mvv-card p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.mvv-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-900); display: grid; place-items: center; margin-bottom: 18px; }
.mvv-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: var(--white); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--green-800); }

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p:not(.eyebrow) { color: rgba(255,255,255,.75); font-size: 1.1rem; margin: 0; }
.section-head--dark p:not(.eyebrow) { color: var(--ink-soft); }

/* ---------- Serviços ---------- */
.services { background: var(--green-900); color: var(--white); overflow: hidden; }
.services::before {
  content: ""; position: absolute; left: -200px; bottom: -200px; width: 600px; height: 600px;
  background: linear-gradient(45deg, transparent 47%, rgba(248,195,58,.12) 47%, rgba(248,195,58,.12) 50%, transparent 50%),
              linear-gradient(45deg, transparent 55%, rgba(255,255,255,.04) 55%, rgba(255,255,255,.04) 70%, transparent 70%);
  pointer-events: none;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.service-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -25px rgba(0,0,0,.6); }
.service-img { aspect-ratio: 16/10; overflow: hidden; background: var(--green-800); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 0 26px 26px; position: relative; flex: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: grid; place-items: center;
  margin-top: -28px; margin-bottom: 14px; border: 4px solid var(--white); position: relative;
}
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.4rem; text-transform: uppercase; color: var(--green-900); margin-bottom: 8px; }
.service-card p { font-size: .97rem; color: var(--ink-soft); margin: 0; }

/* ---------- Segmentos ---------- */
.segments { background: var(--paper); }
.segment { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.segment + .segment { margin-top: clamp(80px, 10vw, 130px); }
.segment--rev .segment-media { order: 2; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 5/4; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.mosaic .m-a { grid-row: 1 / 3; border-radius: var(--radius); }
.segment-num {
  font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--orange); display: block; margin-bottom: 6px; opacity: .9;
}
.segment h3 { font-size: clamp(2rem, 3.4vw, 2.7rem); text-transform: uppercase; color: var(--green-900); }
.segment h3 small { display: block; font-size: 1.05rem; letter-spacing: .14em; color: var(--orange); margin-top: 8px; font-weight: 700; }
.segment-text > p { color: var(--ink-soft); }
.segment-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 24px; }
.segment-cols > div { background: var(--white); padding: 22px; border-radius: var(--radius-sm); border-left: 4px solid var(--yellow); }
.segment-cols h4 { font-size: 1.2rem; text-transform: uppercase; color: var(--green-800); margin-bottom: 6px; }
.segment-cols p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.spec-list { margin: 22px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); font-size: 1.05rem; }
.spec-list dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Obras ---------- */
.works { background: var(--green-950); color: var(--white); }
.works-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: -24px 0 36px; }
.chip {
  background: transparent; border: 1.5px solid rgba(255,255,255,.25); color: var(--white);
  padding: 9px 20px; border-radius: 999px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; transition: all .25s;
}
.chip:hover { border-color: var(--yellow); }
.chip.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--green-950); }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { background: var(--green-900); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), opacity .35s; border: 1px solid rgba(255,255,255,.06); }
.work-card.is-hidden { display: none; }
.work-card:hover { transform: translateY(-5px); }
.work-media { display: block; width: 100%; padding: 0; border: 0; background: none; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.05); }
.work-media::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; font-weight: 300; color: var(--white); background: rgba(4,35,27,.45); opacity: 0; transition: opacity .3s;
}
.work-card:hover .work-media::after { opacity: 1; }
.work-count {
  position: absolute; right: 14px; bottom: 14px; z-index: 1; background: rgba(4,35,27,.8); color: var(--white);
  font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.work-body { padding: 26px 28px 30px; }
.work-body h3 { font-size: 1.6rem; text-transform: uppercase; margin: 12px 0 8px; }
.work-body p { color: rgba(255,255,255,.7); margin: 0; font-size: .98rem; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status--done { color: var(--yellow); }
.status--done::before { background: var(--yellow); }
.status--live { color: #7ee2b0; }
.status--live::before { background: #7ee2b0; box-shadow: 0 0 0 0 rgba(126,226,176,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126,226,176,0); } 100% { box-shadow: 0 0 0 0 rgba(126,226,176,0); } }

.field { margin-top: 80px; }
.field-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.field-head h3 { font-size: 1.9rem; text-transform: uppercase; margin: 0; }
.field-head p { margin: 0; color: rgba(255,255,255,.65); }
.field-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--yellow) transparent;
}
.field-strip button { padding: 0; border: 0; background: none; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.field-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; filter: saturate(.9); }
.field-strip button:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ---------- Diferenciais ---------- */
.features { color: var(--white); background: var(--green-900); overflow: hidden; }
.features-bg { position: absolute; inset: 0; }
.features-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: grayscale(.4); }
.features-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--green-900) 0%, rgba(6,46,36,.7) 50%, var(--green-900) 100%); }
.features .container { position: relative; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; }
.feature { background: rgba(6,46,36,.92); padding: 38px 34px; transition: background .3s; }
.feature:hover { background: rgba(19,80,65,.95); }
.feature-icon { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--yellow); display: grid; place-items: center; margin-bottom: 22px; }
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.45rem; text-transform: uppercase; }
.feature p { color: rgba(255,255,255,.72); margin: 0; font-size: .98rem; }

/* ---------- CTA ---------- */
.cta-band { background: var(--yellow); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 380px;
  background: linear-gradient(115deg, transparent 30%, var(--orange) 30%, var(--orange) 42%, transparent 42%, transparent 52%, var(--green-900) 52%);
  opacity: .95;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; position: relative; z-index: 1; padding-right: 260px; }
.cta-inner h2 { color: var(--green-950); margin-bottom: 6px; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.cta-inner p { margin: 0; color: var(--green-900); font-weight: 500; max-width: 560px; }

/* ---------- Contato ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact-info > p { color: var(--ink-soft); }
.person { display: flex; align-items: center; gap: 16px; margin: 30px 0 0; padding: 18px 20px; background: var(--paper); border-radius: var(--radius); }
.person-avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--green-900); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.person strong { display: block; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; }
.person span { color: var(--orange); font-weight: 600; font-size: .93rem; letter-spacing: .04em; }
.contact-card { background: var(--green-900); color: var(--white); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.contact-card h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 26px; }
.contact-card .btn { margin-top: 32px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(248,195,58,.12); display: grid; place-items: center; flex-shrink: 0; }
.ci svg { width: 21px; height: 21px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; color: rgba(255,255,255,.6); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.1rem; color: var(--white); word-break: break-word; }
.contact-list a:hover { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.7); padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; word-break: break-word; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.to-top { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: 1.1rem; }
.to-top:hover { border-color: var(--yellow); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .3s var(--ease), opacity .3s; opacity: 0; transform: scale(.6); pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2,18,14,.95); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; max-width: 100%; margin: 0 auto; border-radius: var(--radius-sm); box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 16px; font-size: .98rem; }
.lightbox figcaption b { color: var(--yellow); font-family: var(--font-display); letter-spacing: .1em; margin-right: 10px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: var(--white); border-radius: 50%; width: 54px; height: 54px; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--yellow); color: var(--green-950); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .main-nav a:not(.btn) { font-size: 1rem; }
  .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv { grid-template-columns: 1fr 1fr; }
  .mvv-card:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; background: var(--green-950); flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn), .is-scrolled .main-nav a:not(.btn) { color: var(--white); font-size: 1.6rem; }
  .nav-cta { margin-top: 10px; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { box-shadow: none; }
  .brand { z-index: 60; }
  .nav-open .site-header .brand-logo--light { opacity: 1; }
  .nav-open .site-header .brand-logo--dark { opacity: 0; }

  .hero-content { padding-bottom: 60px; }
  .hero-stats { position: relative; }
  .stats-grid { grid-template-columns: 1fr 1fr; border-radius: 0; width: 100%; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-stripes { width: 300px; height: 300px; right: -170px; top: -110px; opacity: .55; }

  .about-grid, .segment, .contact-grid { grid-template-columns: 1fr; }
  .segment--rev .segment-media { order: 0; }
  .about-media { max-width: 560px; }
  .about-badge { right: 12px; }
  .works-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding-right: 0; }
  .cta-band::after { width: 200px; right: -100px; opacity: .5; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand { height: 50px; }
  .hero-stripes { display: none; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .stat { padding: 20px 18px; }
  .stat::before { left: 18px; }
  .stat strong { font-size: 1.8rem; }
  .services-grid, .features-grid, .mvv, .segment-cols { grid-template-columns: 1fr; }
  .contact-list a { font-size: .95rem; }
  .contact-card .btn { padding-inline: 18px; text-align: center; line-height: 1.25; }
  .mvv-card:first-child { grid-column: auto; }
  .about-media::before { display: none; }
  .about-badge { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; max-width: none; }
  .mosaic { aspect-ratio: 1/1; gap: 10px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .field-strip { grid-auto-columns: 78%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { gap: 16px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
