/* ============================================================
   Vortex Climatização — estilos
   Paleta e linguagem visual extraídas da Proposta Comercial 2026
   ============================================================ */

:root {
  --navy-900: #04081f;
  --navy-800: #060b2e;
  --navy-700: #0a1147;
  --navy-600: #101a5c;
  --gold:     #e0a80d;
  --gold-lt:  #f5b301;
  --blue:     #1b6fd4;
  --blue-lt:  #2b9bf5;
  --white:    #ffffff;
  --text:     #e8ecf7;
  --muted:    #a6b0d0;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --r: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--navy-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy-900); padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; font-weight: 600; font-size: .95rem;
  border-radius: var(--r); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-lt) 100%);
  color: var(--navy-900);
  box-shadow: 0 10px 30px -12px rgba(224,168,13,.7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(224,168,13,.85); }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); }
.btn-lg { padding: 17px 40px; font-size: 1.02rem; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(6,11,46,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.scrolled {
  background: rgba(6,11,46,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 18px 40px -30px #000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: auto; height: 46px; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-size: 1.32rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(100deg, #f2f5ff 30%, #9fb2d8 60%, var(--blue-lt) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text small {
  margin-top: 3px; font-size: .56rem; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--blue-lt);
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav > a:not(.btn) {
  font-size: .92rem; font-weight: 500; color: var(--text); position: relative; padding: 6px 0;
}
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transition: width .3s var(--ease);
}
.nav > a:not(.btn):hover::after, .nav > a.active::after { width: 100%; }
.nav > a.active { color: var(--white); font-weight: 600; }
.nav-cta { padding: 11px 22px; font-size: .88rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r); cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 72px;
  background:
    radial-gradient(1100px 700px at 78% 40%, #12205e 0%, transparent 62%),
    linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 62%, #010313 100%);
  overflow: hidden;
}
.hero-glow {
  position: absolute; right: -12%; top: 8%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle, rgba(43,155,245,.20) 0%, transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
}

.hero-media { position: relative; }
.hero-gold-shape {
  position: absolute; left: -6%; top: -7%; width: 62%; height: 42%;
  background: linear-gradient(160deg, var(--gold-lt), var(--gold));
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  animation: floatY 7s ease-in-out infinite;
}
.hero-photo {
  position: relative;
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  aspect-ratio: 4 / 3.6;
  box-shadow: 0 40px 90px -40px #000;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-logo { width: min(300px, 62%); height: auto; margin-bottom: 24px; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }

.eyebrow {
  font-size: clamp(.72rem, 1.5vw, .84rem); font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.eyebrow span { color: var(--gold-lt); margin: 0 6px; }

.hero h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.9rem); font-weight: 700; color: var(--white); max-width: 20ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-tag { font-size: .88rem; color: var(--muted); margin: 0; }
.hero-tag::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------------- Faixa de números ---------------- */
.stats-strip {
  background: linear-gradient(90deg, var(--navy-700), var(--navy-600) 50%, var(--navy-700));
  border-block: 1px solid rgba(255,255,255,.08);
  padding: 40px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong {
  display: block; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--white) 20%, var(--blue-lt) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 8px; font-size: .84rem; color: var(--muted); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.09); }

/* ---------------- Seções ---------------- */
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 14px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; color: var(--white); margin-bottom: 8px; }

h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 800; color: var(--white); text-transform: uppercase; margin-bottom: 26px; }
.grad {
  background: linear-gradient(110deg, var(--blue-lt), var(--gold-lt));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; font-size: clamp(.94rem, 1.5vw, 1.03rem); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 16px; height: 9px; border-left: 2px solid var(--gold-lt); border-bottom: 2px solid var(--gold-lt);
  transform: rotate(-45deg);
}

/* ---------------- Sobre ---------------- */
.sobre { background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-700) 100%); }
.sobre-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 72px); }

.quote {
  margin: 0; padding: 24px 28px; border: 1px solid var(--gold);
  font-size: clamp(.98rem, 1.6vw, 1.1rem); font-style: italic; color: var(--white); background: rgba(224,168,13,.05);
  max-width: 540px;
}

.sobre-media { position: relative; }
.gold-bar {
  position: absolute; left: -22px; top: 6%; bottom: 6%; width: 16px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
}
.sobre-photo {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  aspect-ratio: 4 / 4.4; box-shadow: 0 40px 90px -46px #000;
}
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Serviços ---------------- */
.servicos { background: var(--navy-900); }
.servicos .section-title { margin-bottom: clamp(48px, 7vw, 88px); }

.servico { padding: clamp(40px, 6vw, 72px) 0; }
.servico-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 5vw, 76px); }
.servico.alt .servico-grid { grid-template-columns: 1.1fr 1fr; }

.servico-text .num {
  font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-lt); margin-bottom: 10px;
}
.servico-text h3 {
  font-size: clamp(1.75rem, 3.8vw, 2.9rem); font-weight: 800; text-transform: uppercase; color: var(--white);
  margin-bottom: 16px;
}
.lead { font-weight: 600; color: var(--white); font-size: clamp(1rem, 1.7vw, 1.12rem); margin-bottom: 22px; }
.lead.gold { color: var(--gold-lt); }

/* Colagem do bloco "obra" */
.collage { position: relative; aspect-ratio: 1 / .92; }
.collage-a, .collage-b { position: absolute; overflow: hidden; box-shadow: 0 30px 70px -34px #000; }
.collage-a {
  left: 8%; top: 0; width: 46%; height: 72%;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 84% 100%, 0 100%); z-index: 2;
}
.collage-b {
  left: 40%; top: 12%; width: 46%; height: 82%;
  clip-path: polygon(0 0, 86% 0, 100% 16%, 100% 100%, 0 100%); z-index: 1;
}
.collage-a img, .collage-b img { width: 100%; height: 100%; object-fit: cover; }
.collage-gold {
  position: absolute; left: -12%; top: 40%; width: 52%; height: 34%;
  background: linear-gradient(120deg, var(--gold), var(--gold-lt)); z-index: 0;
}
.badge {
  position: absolute; right: 4%; bottom: 4%; z-index: 3;
  background: var(--navy-700); border: 1px solid var(--gold);
  padding: 18px 26px; text-align: center; box-shadow: 0 26px 50px -26px #000;
}
.badge strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); line-height: 1; }
.badge span { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.badge-br { right: -4%; bottom: 8%; }

/* Foto emoldurada */
.framed { position: relative; }
.frame-gold {
  position: absolute; left: -26px; bottom: -26px; width: 68%; height: 58%;
  border-left: 16px solid var(--gold); border-bottom: 16px solid var(--gold);
}
.frame-gold.right { left: auto; right: -26px; border-left: 0; border-right: 16px solid var(--gold); }
.framed-photo {
  position: relative; z-index: 2; aspect-ratio: 4 / 3.2;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  box-shadow: 0 40px 90px -44px #000;
}
.framed-photo img { width: 100%; height: 100%; object-fit: cover; }
.framed-photo.tall { aspect-ratio: 4 / 4.1; }
.framed-photo.tall img { object-position: center 22%; }

/* ---------------- Propostas ---------------- */
.propostas {
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(27,111,212,.22), transparent 60%),
    linear-gradient(140deg, var(--navy-700), var(--navy-900));
  text-align: center;
}
.propostas-inner { max-width: 860px; margin-inline: auto; }
.propostas-lead { color: var(--muted); font-size: clamp(.98rem, 1.7vw, 1.1rem); margin-bottom: 44px; }
.propostas-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; text-align: left;
}
.step {
  border: 1px solid rgba(255,255,255,.12); padding: 22px 20px; background: rgba(255,255,255,.03);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.step:hover { border-color: var(--gold); transform: translateY(-4px); }
.step span {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--gold); color: var(--gold-lt); font-weight: 700; margin-bottom: 12px;
}
.step p { margin: 0; font-size: .92rem; color: var(--text); }

/* ---------------- Contato ---------------- */
.contato { background: var(--navy-800); overflow: hidden; }
.contato-bg { position: absolute; inset: 0; }
.contato-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.contato-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-800) 0%, rgba(6,11,46,.9) 38%, rgba(10,17,71,.42) 100%);
}
.contato-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(32px, 5vw, 56px);
}
.contato-title h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 16px; }
.contato-title p { color: var(--muted); }

.contato-card {
  border: 1px solid var(--gold); background: rgba(6,11,46,.82); backdrop-filter: blur(8px);
  padding: clamp(28px, 4vw, 44px);
  display: grid; gap: clamp(20px, 2.6vw, 28px);
}
.contato-item { display: flex; align-items: center; gap: 16px; }
.contato-item + .contato-item { border-top: 1px solid rgba(255,255,255,.09); padding-top: clamp(20px, 2.6vw, 28px); }
.contato-icone {
  flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid rgba(224,168,13,.45); color: var(--gold-lt);
  background: rgba(224,168,13,.07); transition: background .25s var(--ease), color .25s;
}
.contato-icone svg { width: 21px; height: 21px; }
.contato-item:hover .contato-icone { background: rgba(224,168,13,.16); color: var(--gold); }
.contato-dados { min-width: 0; }
.contato-item .label { font-weight: 700; color: var(--white); margin-bottom: 2px; font-size: 1.02rem; }
.contato-item a { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; transition: color .25s; }
.contato-item a:hover { color: var(--gold-lt); }

/* ---------------- Rodapé ---------------- */
.site-footer { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.08); padding: 52px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-logo { width: auto; height: 108px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.footer-links a { font-size: .9rem; color: var(--muted); transition: color .25s; }
.footer-links a:hover { color: var(--gold-lt); }
.footer-legal { font-size: .82rem; color: #6b779c; margin: 0; }
.footer-credito { font-size: .8rem; color: #6b779c; margin: -12px 0 0; }
.footer-credito a { color: var(--muted); border-bottom: 1px solid rgba(224,168,13,.35); transition: color .25s, border-color .25s; }
.footer-credito a:hover { color: var(--gold-lt); border-color: var(--gold-lt); }

/* ---------------- WhatsApp flutuante ---------------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #29c24a, #128c3f);
  box-shadow: 0 14px 34px -10px rgba(18,140,63,.8);
  transition: transform .25s var(--ease);
}
.whats-float:hover { transform: scale(1.08); }

/* ---------------- Animação de entrada ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-gold-shape { animation: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stat:nth-child(3) { border-left: 0; }
  .propostas-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { height: 74px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6,11,46,.98); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 8px var(--pad) 26px;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .4s var(--ease), opacity .3s;
  }
  .nav.open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 20px; width: 100%; }

  .hero { min-height: auto; padding: 116px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-content { order: 1; text-align: center; }
  .hero-media { order: 2; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-logo { margin-inline: auto; width: min(260px, 66%); }
  .hero h1 { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .sobre-grid, .servico-grid, .servico.alt .servico-grid, .contato-grid {
    grid-template-columns: 1fr; gap: 44px;
  }
  .sobre-media, .servico-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .servico.alt .servico-media { order: 2; }
  .gold-bar { left: -14px; width: 12px; }
  .quote { max-width: none; }
  .badge-br { right: 4%; }
  .contato-title h2 { text-align: left; }
}

@media (max-width: 620px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: 0; }
  .propostas-steps { grid-template-columns: 1fr; }
  .contato-bg::after { background: linear-gradient(180deg, rgba(6,11,46,.94) 30%, rgba(10,17,71,.86) 100%); }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .frame-gold { left: -14px; bottom: -14px; border-width: 10px; }
  .frame-gold.right { right: -14px; }
  .whats-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
