/* ==========================================================================
   Hawerroth | Engenharia & Climatização
   Folha de estilo única — sem framework, sem build.
   ========================================================================== */

:root {
  /* Marca — paleta oficial (manual da marca) + tons derivados da mesma família */
  --navy-900: #14233c;          /* fundo escuro profundo (derivado do azul principal) */
  --navy-800: #1b2f4d;          /* seções escuras (derivado) */
  --navy-700: #243E63;          /* AZUL PRINCIPAL (oficial) */
  --blue-600: #2E4582;          /* AZUL SECUNDÁRIO (oficial) — interações/links */
  --blue-500: #3a5390;          /* hover (derivado, mesma família) */
  --blue-300: #8ea6cf;          /* acento claro sobre fundo escuro (derivado) */
  --blue-100: #e7ebf2;          /* fundo de ícones (derivado, bem claro) */

  --grad: linear-gradient(135deg, #243E63 0%, #2E4582 60%, #3a5390 100%);

  /* Neutros — cinzas oficiais */
  --ink: #1b2c46;               /* texto/títulos escuros */
  --body: #4a5568;              /* corpo legível */
  --muted: #7F8AA0;             /* CINZA MÉDIO (oficial) */
  --neutral: #A1A1A1;           /* CINZA NEUTRO (oficial) */
  --line: #e4e7ee;
  --surface: #F8F8F8;           /* CINZA CLARO (oficial) */
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 60, .06), 0 4px 14px rgba(20, 35, 60, .05);
  --shadow-md: 0 10px 34px rgba(36, 62, 99, .14);

  --max: 1180px;
  --gut: 24px;

  /* Tipografia oficial: Aboreto (títulos/destaques) + Raleway (corpo) */
  --display: "Aboreto", "Times New Roman", Georgia, serif;
  --sans: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

/* Aboreto nos títulos de maior evidência (h1/h2); Raleway nos menores por legibilidade */
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.7rem); }
h3 { font-size: 1.24rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

section { padding: clamp(64px, 8vw, 112px) 0; }

/* --------------------------------------------------------------- Utilitários */

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.on-dark .eyebrow { color: var(--blue-300); }

.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--body); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 52ch; }
.center .measure, .center .measure-narrow { margin-inline: auto; }

.surface { background: var(--surface); }

.on-dark { background: var(--navy-800); color: #b9cbe1; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark a { color: var(--blue-300); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- Botões */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 40px rgba(11, 62, 140, .26); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-600); }

.on-dark .btn-ghost { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.on-dark .btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-300); }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-group { justify-content: center; }

/* --------------------------------------------------------------- Cabeçalho */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 2px 18px rgba(16,28,46,.05); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
.site-footer .logo-img { height: 42px; }
@media (max-width: 480px) { .logo-img { height: 34px; } }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad);
  transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--blue-600); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 19px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
}

/* --------------------------------------------------------------- Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #b9cbe1;
  padding: clamp(72px, 9vw, 124px) 0 clamp(64px, 8vw, 104px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 780px; height: 780px;
  background: radial-gradient(circle at 60% 40%, rgba(90, 116, 180, .42), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 30% 45%, #000 5%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #8ea6cf, #cdd9ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #a9bfd8; max-width: 56ch; font-size: clamp(1.05rem, 1rem + .5vw, 1.26rem); }
.hero .btn-group { margin-top: 34px; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .88rem;
  color: #8ba4c2;
}
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-300);
  flex: none;
}

/* Hero interno (páginas secundárias) */
.page-hero {
  background: var(--navy-800);
  color: #a9bfd8;
  padding: clamp(56px, 7vw, 92px) 0 clamp(52px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -60% -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(90, 116, 180, .32), transparent 65%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #a9bfd8; max-width: 60ch; margin-bottom: 0; }

/* --------------------------------------------------------------- Grades */

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.section-head { max-width: 64ch; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- Cards */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 23px; height: 23px; }

.card-list { list-style: none; margin: 18px 0 0; padding: 0; }
.card-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .96rem;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 2px;
  background: var(--blue-500);
  border-radius: 2px;
}
.card-list li:last-child { margin-bottom: 0; }

/* Card de serviço em destaque */
.card-feature {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: #cfe2f7;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.card-feature::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(90, 116, 180, .38), transparent 66%);
}
.card-feature > * { position: relative; z-index: 2; }
.card-feature h3 { color: #fff; font-size: 1.5rem; }
.card-feature .card-icon { background: rgba(142,166,207,.20); color: var(--blue-300); }
.card-feature .card-list li::before { background: var(--blue-300); }

/* --------------------------------------------------------------- Contraste (o problema) */

.contrast {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.contrast > div { padding: 34px 32px; }
.contrast-divider {
  width: 1px;
  background: var(--line);
  padding: 0 !important;
}
.contrast h3 { font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contrast p:last-child { margin-bottom: 0; }
.contrast .bad { background: var(--surface); }
.contrast .good h3 { color: var(--blue-600); }
@media (max-width: 780px) {
  .contrast { grid-template-columns: 1fr; }
  .contrast-divider { width: auto; height: 1px; }
}

/* --------------------------------------------------------------- Etapas / ciclo */

.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 34px 26px 30px;
  border-top: 3px solid var(--line);
  position: relative;
}
.steps li:first-child { padding-left: 0; }
.steps li:last-child { padding-right: 0; }
.steps li::before {
  content: "0" counter(step);
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.steps li h3 { font-size: 1.08rem; margin-bottom: .4em; }
.steps li p { font-size: .95rem; margin-bottom: 0; }
.steps li.is-active { border-top-color: var(--blue-500); }

.on-dark .steps li { border-top-color: rgba(255,255,255,.16); }
.on-dark .steps li::before { color: var(--blue-300); }
.on-dark .steps li.is-active { border-top-color: var(--blue-300); }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding-inline: 22px 22px !important; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-inline: 0 !important; }
}

/* --------------------------------------------------------------- Citação / case */

.quote {
  font-size: clamp(1.3rem, 1.05rem + 1.3vw, 1.95rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  border-left: 3px solid var(--blue-500);
  padding-left: clamp(20px, 3vw, 34px);
  margin: 0;
}
.on-dark .quote { color: #fff; border-left-color: var(--blue-300); }
.quote cite { display: block; font-size: .88rem; font-weight: 500; font-style: normal; color: var(--muted); margin-top: 18px; letter-spacing: 0; }
.on-dark .quote cite { color: #8ba4c2; }

.case-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.case-head {
  padding: 32px 34px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: baseline;
  justify-content: space-between;
}
.case-head h3 { margin: 0; }
.case-meta { font-size: .88rem; color: var(--muted); }
.case-body { padding: 32px 34px; }
.case-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- Equipe */

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.person-photo {
  position: relative;
  height: 320px;
  background: var(--grad);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .6s ease;
}
.person:hover .person-photo img { transform: scale(1.045); }
.person-photo .initials {
  font-weight: 700;
  font-size: 2.6rem;
  color: #fff;
  letter-spacing: .04em;
}
.person-body { padding: 26px 30px 30px; }
.person-body h3 { margin-bottom: .12em; }
.person .role {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.person-body p:last-child { margin-bottom: 0; font-size: .97rem; }

/* --------------------------------------------------------------- Fatos / números */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.facts div { background: #fff; padding: 30px 28px; }
.facts dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.facts dd { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--blue-500);
  border-bottom: 2px solid var(--blue-500);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding-right: 44px; margin-bottom: 22px; }

/* --------------------------------------------------------------- CTA final */

.cta-band {
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 62px) clamp(28px, 4vw, 56px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 54ch; margin-inline: auto; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--blue-600); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.cta-band .btn-primary:hover { color: var(--navy-800); }

/* --------------------------------------------------------------- Formulário */

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #fff;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46,69,130,.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- Contato */

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
}
.contact-list .ci svg { width: 19px; height: 19px; }
.contact-list strong { display: block; color: var(--ink); font-size: .87rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; font-weight: 700; }
.contact-list a, .contact-list span { color: var(--body); }

/* --------------------------------------------------------------- Rodapé */

.site-footer {
  background: var(--navy-900);
  color: #8ba4c2;
  padding: clamp(52px, 6vw, 76px) 0 34px;
  font-size: .95rem;
}
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: #8ba4c2; text-decoration: none; }
.site-footer a:hover { color: var(--blue-300); text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: #6d86a4; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 11px; }
.footer-bottom {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  font-size: .85rem;
  color: #6d86a4;
}

/* --------------------------------------------------------------- WhatsApp flutuante */

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .42);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); text-decoration: none; }
.wa-float svg { width: 29px; height: 29px; fill: #fff; }

/* --------------------------------------------------------------- Animação de entrada */

/* Sem JS, nada some: a classe .reveal-armed só é aplicada pelo main.js. */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.reveal-armed { opacity: 0; transform: translateY(22px) scale(.985); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Movimento — sutil, some com prefers-reduced-motion (bloco abaixo)
   ========================================================================== */

/* Aurora viva no fundo do hero */
@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1);     opacity: .85; }
  50%  { transform: translate3d(-5%, 4%, 0) scale(1.14); opacity: 1; }
  100% { transform: translate3d(0, 0, 0) scale(1);     opacity: .85; }
}
.hero::before { animation: auroraDrift 16s ease-in-out infinite; }

/* Leve deriva da grade técnica */
@keyframes gridDrift { to { background-position: 62px 62px, 62px 62px; } }
.hero::after { animation: gridDrift 44s linear infinite; }

/* Entrada em cascata do conteúdo do hero (no load, sem JS) */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .wrap > *,
.page-hero .wrap > * { opacity: 0; animation: fadeUp .85s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .eyebrow,   .page-hero .eyebrow   { animation-delay: .05s; }
.hero h1,         .page-hero h1         { animation-delay: .16s; }
.hero .lead,      .page-hero .lead      { animation-delay: .3s; }
.hero .btn-group                        { animation-delay: .44s; }
.hero-tags                              { animation-delay: .58s; }

/* Brilho passando nos botões primários */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn-primary:hover::after { left: 150%; }

/* Ícones reagem no hover do card */
.card-icon { transition: transform .28s ease, background-color .28s ease; }
.card:hover .card-icon { transform: translateY(-3px) scale(1.08); }

/* A onda do logo respira (motivo de ar/climatização) */
@keyframes logoWave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.6px); } }
.logo svg path[stroke] { animation: logoWave 3.6s ease-in-out infinite; transform-origin: center; }

/* Pulso no botão de WhatsApp */
@keyframes waPulse {
  0%   { box-shadow: 0 8px 26px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 8px 26px rgba(37,211,102,.42), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 26px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float { animation: waPulse 2.8s ease-out infinite; }

/* Barra de progresso de rolagem (injetada pelo main.js) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 80;
  transition: width .1s linear;
}

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