/* ============================================================
   LG DOOR — Vidraçaria & Esquadrias · Maringá
   Light & clean · yellow + black · punctual glassmorphism
   ============================================================ */

:root {
  --ink:      #14161b;
  --ink-2:    #41464f;
  --ink-3:    #6b7280;
  --paper:    #ffffff;
  --soft:     #f3f4f6;
  --soft-2:   #e9ebef;
  --gold:     #ffc61a;
  --gold-deep:#e8a200;
  --line:     rgba(20, 22, 27, .10);
  --line-2:   rgba(20, 22, 27, .16);
  --shadow:   0 1px 2px rgba(16,18,24,.06), 0 12px 34px -14px rgba(16,18,24,.22);
  --shadow-lg:0 1px 2px rgba(16,18,24,.08), 0 40px 80px -28px rgba(16,18,24,.40);
  --radius:   18px;
  --radius-s: 12px;
  --maxw:     1240px;
  --pad:      clamp(20px, 5vw, 56px);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(72px, 9vw, 132px); }

/* ---------- shared atoms ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.kicker--light { color: rgba(255,255,255,.82); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.lead { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 18px); }

.gold-text { color: var(--gold-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--wa {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(245,180,0,.85);
}
.btn--wa:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.18); }
.btn--lg { padding: 17px 28px; font-size: 16px; }

/* ---------- image placeholder ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--soft);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(20,22,27,.045) 0 12px,
      rgba(20,22,27,.00) 12px 24px);
  display: grid;
  place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 7px;
  text-align: center;
  max-width: 78%;
  line-height: 1.35;
  backdrop-filter: blur(2px);
}
.ph--dark {
  background-color: #1b1e25;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.05) 0 12px,
      rgba(255,255,255,.00) 12px 24px);
}
.ph--dark::after { color: #b7bcc6; background: rgba(16,18,24,.6); border-color: rgba(255,255,255,.12); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  letter-spacing: .01em;
  position: relative;
  padding-block: 6px;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.header-cta { flex: none; }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav { display: none; }
}
@media (max-width: 560px) {
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 12px 14px; }
}

/* ============================================================
   HERO  (3 variants via [data-hero])
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media .ph { width: 100%; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,13,17,.82) 0%, rgba(12,13,17,.52) 42%, rgba(12,13,17,.12) 100%),
    linear-gradient(0deg, rgba(12,13,17,.55), rgba(12,13,17,0) 55%);
}
.hero__inner {
  min-height: clamp(560px, 82vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding-block: clamp(80px, 12vh, 150px);
}
.hero__content { max-width: 680px; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 76px);
  font-weight: 800;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,.86);
  max-width: 50ch;
}
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  position: absolute;
  right: var(--pad);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(12px);
  color: #fff;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,180,0,.28); }
.hero__badge b { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.hero__badge small { display: block; font-size: 12px; color: rgba(255,255,255,.7); }

/* glass card variant element (hidden by default) */
.hero__glass { display: none; }

/* --- variant: split --- */
.hero[data-hero="split"] .hero__scrim { display: none; }
.hero[data-hero="split"] .hero__media {
  left: auto; width: 46%;
}
.hero[data-hero="split"] .hero__media::before {
  content: ""; position: absolute; inset: 0; left: -1px;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(255,255,255,0) 14%);
  z-index: 1;
}
.hero[data-hero="split"] { background: var(--paper); }
.hero[data-hero="split"] h1 { color: var(--ink); }
.hero[data-hero="split"] h1 em { color: var(--gold-deep); }
.hero[data-hero="split"] .hero__sub { color: var(--ink-2); }
.hero[data-hero="split"] .hero__inner { max-width: 56%; }
.hero[data-hero="split"] .kicker { color: var(--ink-2); }
.hero[data-hero="split"] .hero__badge {
  background: rgba(255,255,255,.7); border-color: var(--line); color: var(--ink);
}
.hero[data-hero="split"] .hero__badge small { color: var(--ink-3); }
.hero[data-hero="split"] .btn--ghost-light { background: transparent; color: var(--ink); border-color: var(--line-2); backdrop-filter: none; }
.hero[data-hero="split"] .btn--ghost-light:hover { border-color: var(--ink); background: transparent; }

/* --- variant: glasscard --- */
.hero[data-hero="glasscard"] .hero__scrim {
  background: linear-gradient(180deg, rgba(12,13,17,.32), rgba(12,13,17,.52));
}
.hero[data-hero="glasscard"] .hero__inner { align-items: flex-start; }
.hero[data-hero="glasscard"] .hero__content {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 52px);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
  max-width: 620px;
}
.hero[data-hero="glasscard"] .hero__corner {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.55); display: block;
}

@media (max-width: 760px) {
  .hero[data-hero="split"] .hero__media { position: relative; width: 100%; height: 280px; }
  .hero[data-hero="split"] .hero__inner { max-width: 100%; }
  .hero[data-hero="split"] .hero__media::before { display: none; }
  .hero[data-hero="split"] { display: flex; flex-direction: column-reverse; }
  .hero__badge { display: none; }
}

/* corner screws shared (glass panels) */
.screws::before, .screws::after,
.screws .s3, .screws .s4 {
  content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #cfd3da 60%, #9aa0aa);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.screws::before { top: 16px; left: 16px; }
.screws::after  { top: 16px; right: 16px; }
.screws .s3 { bottom: 16px; left: 16px; }
.screws .s4 { bottom: 16px; right: 16px; }

/* ============================================================
   TRUST STRIP (differentiators, no fake numbers)
   ============================================================ */
.trust {
  position: relative;
  z-index: 5;
  margin-top: -52px;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trust__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}
.trust__item:last-child { border-right: none; }
.trust__ico {
  flex: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff7e0;
  display: grid; place-items: center;
  color: var(--gold-deep);
}
.trust__ico svg { width: 22px; height: 22px; }
.trust__item h3 { font-size: 17px; font-weight: 800; }
.trust__item p { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
@media (max-width: 760px) {
  .trust { margin-top: -36px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: none; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: none; }
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 52px); margin-top: 14px; }
.head p { margin-top: 16px; color: var(--ink-2); font-size: clamp(15px,1.4vw,18px); max-width: 58ch; }
.head--center p { margin-inline: auto; }
.head--center .kicker { justify-content: center; }
.head--center .kicker::before { display: none; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc {
  position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc .ph { position: absolute; inset: 0; }
.svc__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(0deg, rgba(10,11,15,.86) 4%, rgba(10,11,15,.30) 46%, rgba(10,11,15,0) 78%);
  color: #fff;
  z-index: 2;
}
.svc__num {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  color: rgba(255,255,255,.7); letter-spacing: .06em;
}
.svc h3 { font-size: 18px; font-weight: 800; color: #fff; }
.svc p { font-size: 12.5px; color: rgba(255,255,255,.78); margin-top: 4px; }
.svc__tag {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px); color: #fff;
  transform: translateY(-4px); opacity: 0; transition: .22s ease;
}
.svc__tag svg { width: 15px; height: 15px; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc:hover .svc__tag { transform: translateY(0); opacity: 1; }
.svc--wide { grid-column: span 2; aspect-ratio: auto; }

@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(3, 1fr); } .svc--wide { grid-column: span 1; } }
@media (max-width: 720px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .services-grid { grid-template-columns: 1fr; } .svc { aspect-ratio: 16/11; } }

/* ============================================================
   DIFFERENTIATORS — frosted glass panel (signature)
   ============================================================ */
.glassband {
  position: relative;
  isolation: isolate;
  padding-block: clamp(80px, 10vw, 150px);
}
.glassband__bg { position: absolute; inset: 0; z-index: -2; }
.glassband__bg .ph { width: 100%; height: 100%; }
.glassband__tint {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(14,16,21,.66), rgba(14,16,21,.42));
}
.glasspanel {
  position: relative;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 26px;
  padding: clamp(30px, 5vw, 64px);
  backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: 0 50px 90px -36px rgba(0,0,0,.6);
  color: #fff;
  overflow: hidden;
}
.glasspanel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.glasspanel .head { margin-bottom: 40px; }
.glasspanel h2 { color: #fff; }
.glasspanel .kicker { color: rgba(255,255,255,.8); }
.glasspanel .head p { color: rgba(255,255,255,.82); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.diff {
  border-top: 2px solid rgba(245,180,0,.9);
  padding-top: 20px;
}
.diff__ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 16px;
}
.diff__ico svg { width: 24px; height: 24px; }
.diff h3 { font-size: 21px; color: #fff; }
.diff p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.78); }
@media (max-width: 760px) { .diff-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio { background: var(--soft); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gcell { position: relative; border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow); }
.gcell .ph { position: absolute; inset: 0; }
.gcell__cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff;
  background: rgba(10,11,15,.5); padding: 5px 11px; border-radius: 8px;
  backdrop-filter: blur(4px); opacity: 0; transform: translateY(6px); transition: .25s ease;
}
.gcell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,15,.32), transparent 50%); opacity: 0; transition: .25s ease; }
.gcell:hover .gcell__cap { opacity: 1; transform: translateY(0); }
.gcell:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } .g-wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; } .g-wide, .g-tall { grid-column: auto; grid-row: auto; } }

.portfolio__foot { margin-top: 34px; display: flex; justify-content: center; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
  position: relative; isolation: isolate;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 120% at 88% 18%, rgba(245,180,0,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px);
}
.cta__inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  padding-block: clamp(64px, 8vw, 110px);
}
.cta h2 { font-size: clamp(32px, 4.6vw, 60px); color: #fff; }
.cta h2 em { font-style: normal; color: var(--gold); }
.cta p { margin-top: 18px; color: rgba(255,255,255,.78); font-size: 17px; max-width: 44ch; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta__actions .btn { width: 100%; justify-content: center; }
.cta__phone { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; }
.cta__phone span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: 0; }
@media (max-width: 820px) { .cta__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0e1014; color: rgba(255,255,255,.7); padding-block: 56px 30px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 40px; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer__brand p { margin-top: 18px; max-width: 36ch; font-size: 14px; color: rgba(255,255,255,.6); }
.footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a, .footer ul li { font-size: 14px; color: rgba(255,255,255,.66); }
.footer ul a:hover { color: var(--gold); }
.footer__contact .row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 13px; color: rgba(255,255,255,.72); }
.footer__contact svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 2px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.45); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 30px; } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* floating whatsapp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
