/* ========================================================================
   Warmup Brasil — Site moderno otimizado para captação de leads
   Paleta: vermelho institucional Warmup + navy profundo + cream
   ======================================================================== */

:root {
  /* Brand palette */
  --navy-900: #08172E;
  --navy-800: #0B2545;
  --navy-700: #134B7C;
  --navy-600: #1E62A0;
  --navy-100: #E8F0F9;

  /* Warmup Red — cor institucional da marca */
  --warm-700: #A8141C;
  --warm-600: #BC1820;
  --warm-500: #D5202C;
  --warm-400: #E63946;
  --warm-300: #F47A82;
  --warm-100: #FBE0E2;

  --cream:    #FAF6F0;
  --paper:    #FBFBFB;
  --line:     #E6E1D9;

  --ink:      #0F172A;
  --ink-soft: #1F2937;
  --muted:    #5B6473;
  --muted-2:  #8A93A1;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.05), 0 2px 6px rgba(11,37,69,.04);
  --shadow-md: 0 8px 24px rgba(11,37,69,.08), 0 2px 6px rgba(11,37,69,.05);
  --shadow-lg: 0 30px 60px -20px rgba(11,37,69,.25), 0 12px 24px -10px rgba(11,37,69,.12);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 12px 16px; z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ============== Tipografia ============== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--warm-500);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--navy-700); }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--warm-500);
  box-shadow: 0 0 0 6px rgba(213,32,44,.18);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(213,32,44,.35); }
  50%     { box-shadow: 0 0 0 8px rgba(213,32,44,0);  }
}

.grad {
  background: linear-gradient(90deg, var(--warm-500), var(--warm-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============== Botões ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--warm-500), var(--warm-600));
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(188,24,32,.5);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -8px rgba(188,24,32,.55); }
.btn--ghost {
  border: 1px solid rgba(11,37,69,.15);
  color: var(--navy-800);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); }
.btn--ghost-light {
  border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============== Header ============== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,251,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-color: rgba(11,37,69,.08);
  background: rgba(251,251,251,.92);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--navy-900); font-size: 1.05rem;
}
.logo__img { height: 28px; width: auto; display: block; }
.logo__img--white { filter: brightness(0) invert(1); }
.logo__divider {
  width: 1px; height: 22px;
  background: rgba(11,37,69,.18);
}
.logo__country {
  font-size: .9rem; font-weight: 600;
  color: var(--navy-700); letter-spacing: -.01em;
}
.logo--light { color: #fff; }
.logo--light .logo__divider { background: rgba(255,255,255,.25); }
.logo--light .logo__country { color: rgba(255,255,255,.85); }

.nav {
  display: flex; gap: 28px;
}
.nav a {
  font-size: .94rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--warm-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--navy-900); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn--ghost { padding: 10px 14px; font-size: .9rem; }

.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 8px;
  border-radius: 10px; border: 1px solid rgba(11,37,69,.12);
  background: #fff;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy-800);
  border-radius: 2px; margin: 4px 0; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; }
  .nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open a:last-child { border-bottom: 0; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(213,32,44,.18), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(19,75,124,.12), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--cream));
}
.hero__bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(11,37,69,.06) 95%),
    linear-gradient(90deg, transparent 95%, rgba(11,37,69,.06) 95%);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: .55;
}

.hero__grid {
  position: relative;
  display: grid; gap: 60px;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero__content h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: .92rem; color: var(--ink-soft);
}
.hero__trust li { display: inline-flex; gap: 8px; align-items: center; }
.hero__trust svg { width: 18px; height: 18px; color: var(--warm-500); flex: none; }

/* Lead Card (Form) */
.lead-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(11,37,69,.06);
}
.lead-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(213,32,44,.5), transparent 40%, rgba(19,75,124,.35));
  z-index: -1;
  filter: blur(18px);
  opacity: .55;
}
.lead-card__head h2 { font-size: 1.55rem; margin-bottom: .15em; }
.lead-card__head p { color: var(--muted); margin-bottom: 22px; font-size: .96rem; }

.lead-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.field label {
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
}
.field input, .field select {
  font: inherit; font-size: .96rem;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(11,37,69,.14);
  background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--warm-500);
  box-shadow: 0 0 0 4px rgba(213,32,44,.18);
}
.field--check { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; }
.field--check input { width: 18px; height: 18px; accent-color: var(--warm-500); margin-top: 2px; }
.field--check label { font-weight: 400; font-size: .85rem; color: var(--muted); }

.lead-form__alt { text-align: center; margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.lead-form__alt a { color: var(--navy-700); font-weight: 600; }
.lead-form__status {
  margin: 6px 0 0; font-size: .9rem; min-height: 1.2em;
  text-align: center;
}
.lead-form.is-success .lead-form__status { color: #0f7a3d; font-weight: 600; }
.lead-form.is-error   .lead-form__status { color: #b91c1c; font-weight: 600; }

/* ============== Strip / Proof ============== */
.strip {
  background: var(--navy-900); color: #cfd8e6;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.strip__inner {
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  text-align: center;
}
.strip p { margin: 0; font-size: .9rem; color: #aab6c8; }
.strip__items {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; color: #fff; letter-spacing: -.01em;
}
.strip__items span:nth-child(even) { color: rgba(255,255,255,.3); }

/* ============== Section ============== */
.section { padding: 100px 0; }
.section--alt { background: var(--cream); }
@media (max-width: 720px) { .section { padding: 70px 0; } }

.section__head {
  max-width: 760px; margin: 0 auto 56px; text-align: center;
}
.section__lead { color: var(--muted); font-size: 1.06rem; }

/* ============== Cards de produto ============== */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(213,32,44,.4); }

.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--warm-100), #fff);
  color: var(--warm-600);
  margin-bottom: 4px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { color: var(--navy-900); margin: 0; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card__link { color: var(--navy-700); font-weight: 600; font-size: .92rem; }
.card__link:hover { color: var(--warm-600); }

.card--featured {
  background: linear-gradient(180deg, #fff, var(--warm-100) 250%);
  border-color: rgba(213,32,44,.45);
  box-shadow: 0 12px 30px -16px rgba(188,24,32,.4);
}
.card__badge {
  position: absolute; top: 14px; right: 14px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--warm-500); color: #fff;
  padding: 4px 10px; border-radius: 999px;
}

/* ============== Stats ============== */
.stats {
  background:
    radial-gradient(900px 500px at 100% 50%, rgba(213,32,44,.22), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 90px 0;
}
.stats__grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  display: inline;
}
.stat__suffix {
  display: inline-block; margin-left: 6px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--warm-400); font-size: 1.2rem;
  vertical-align: middle;
}
.stat p { color: rgba(255,255,255,.7); margin: 10px 0 0; font-size: .96rem; max-width: 240px; }

/* ============== Benefits ============== */
.benefits {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefits { grid-template-columns: 1fr; } }

.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .25s var(--ease), border-color .25s;
}
.benefit:hover { transform: translateY(-2px); border-color: rgba(213,32,44,.4); }
.benefit__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--warm-600);
  background: var(--warm-100);
  margin-bottom: 16px;
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.05rem; color: var(--navy-900); margin: 0 0 6px; }
.benefit p  { font-size: .94rem; color: var(--muted); margin: 0; }

/* ============== Tecnologia ============== */
.tech {
  background:
    radial-gradient(700px 400px at 90% 60%, rgba(213,32,44,.12), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--cream));
}
.tech__grid {
  display: grid; gap: 60px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 900px) { .tech__grid { grid-template-columns: 1fr; gap: 48px; } }

.tech__copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.tech__list { padding: 0; margin: 22px 0 30px; list-style: none; display: grid; gap: 12px; }
.tech__list li {
  position: relative; padding-left: 30px; color: var(--ink-soft);
}
.tech__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--warm-500);
  box-shadow: 0 0 0 4px rgba(213,32,44,.2);
}

.tech__device {
  position: relative;
  display: grid; place-items: center;
}
.tech__img {
  width: 100%; max-width: 520px;
  height: auto; display: block;
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease);
  filter: drop-shadow(0 30px 50px rgba(11,37,69,.18));
}
.tech__img:hover { transform: scale(1.02); }

/* ============== Depoimentos ============== */

/* Google Panel — substitui o antigo google-badge */
.google-panel {
  display: flex; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  max-width: 340px;
  margin: 0 auto 52px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .google-panel { flex-direction: column; gap: 28px; padding: 26px 24px; margin-bottom: 36px; }
}

.google-panel__score-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center; flex: none; min-width: 140px;
}
.google-panel__logo { width: 42px; height: 42px; }

.google-panel__num-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.google-panel__num {
  font-family: var(--font-display);
  font-size: 3.8rem; font-weight: 800;
  color: var(--navy-900); line-height: 1;
  letter-spacing: -.04em;
}
.google-panel__stars { color: #FBBC04; font-size: 1.3rem; letter-spacing: 3px; }
.google-panel__excellent {
  display: inline-block;
  background: var(--navy-100); color: var(--navy-700);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  margin-top: 2px;
}
.google-panel__count { margin: 4px 0 0; font-size: .86rem; color: var(--muted); }

.google-panel__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .84rem; font-weight: 600;
  color: var(--navy-700); margin-top: 6px;
  transition: color .2s;
}
.google-panel__link svg { width: 13px; height: 13px; }
.google-panel__link:hover { color: var(--warm-600); }

/* Divisor vertical entre score e barras */
.google-panel__score-block + .google-panel__bars {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}
@media (max-width: 640px) {
  .google-panel__score-block + .google-panel__bars {
    border-left: 0; border-top: 1px solid var(--line);
    padding-left: 0; padding-top: 28px; width: 100%;
  }
}

.google-panel__bars { flex: 1; display: grid; gap: 9px; }

.rating-bar { display: flex; align-items: center; gap: 10px; }
.rating-bar__star {
  font-size: .82rem; font-weight: 600; color: var(--muted);
  width: 26px; text-align: right; flex: none;
}
.rating-bar__track {
  flex: 1; height: 8px; border-radius: 999px;
  background: var(--line); overflow: hidden;
}
.rating-bar__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #FBBC04, #F9A825);
  border-radius: 999px;
  transition: width 1s var(--ease) .4s;
}
.google-panel.is-in .rating-bar__fill { width: var(--pct); }
.rating-bar__pct {
  font-size: .78rem; color: var(--muted-2);
  width: 28px; text-align: right; flex: none;
}

/* Reviews Carousel */
.reviews-carousel { display: flex; flex-direction: column; gap: 24px; }

.carousel-row {
  display: flex; align-items: center; gap: 16px;
}

.carousel-outer {
  flex: 1;
  overflow: hidden;
  /* allow shadows to show without clipping */
  padding: 6px 0;
  margin: -6px 0;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  align-items: flex-start; /* CRUCIAL: cards size to content, no stretching */
  transition: transform .52s var(--ease);
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.testimonials-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* Testimonial card */
.testimonial {
  /* CSS default: 2 per view. JS overrides exact px value */
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), border-color .25s;
}
@media (max-width: 580px) {
  .testimonial { flex: 0 0 calc(100% - 0px); width: 100%; }
}
.testimonial:hover { box-shadow: var(--shadow-md); border-color: rgba(213,32,44,.2); }
.testimonial::before { display: none; }

.testimonial__header {
  display: flex; align-items: center; gap: 12px;
}
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--av-color, var(--warm-500));
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: .9rem; color: #fff;
}
.testimonial__avatar::after { content: attr(data-initials); }

.testimonial__meta { flex: 1; min-width: 0; }
.testimonial__name {
  display: block; font-family: var(--font-display);
  color: var(--navy-900); font-weight: 700; font-size: .97rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.testimonial__source { font-size: .8rem; color: var(--muted-2); }

.testimonial__google { width: 22px; height: 22px; flex: none; }

.testimonial__rating {
  display: flex; align-items: center; gap: 10px;
}
.t-stars { color: #FBBC04; font-size: 1rem; letter-spacing: 2px; }
.testimonial__date { font-size: .8rem; color: var(--muted-2); }

.testimonial blockquote {
  margin: 0; padding: 0;
  color: var(--ink-soft); font-size: .96rem; line-height: 1.65;
}
.testimonial figcaption { display: none; }

/* Arrows — inline flex items, not absolute */
.carousel-arrow {
  flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  color: var(--warm-500);
  transition: border-color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover {
  border-color: var(--warm-500);
  box-shadow: 0 4px 18px rgba(213,32,44,.25);
  transform: scale(1.08);
}
.carousel-arrow:disabled { opacity: .25; pointer-events: none; }
@media (max-width: 480px) { .carousel-arrow { width: 38px; height: 38px; } }

/* Dots */
.carousel-dots {
  display: flex; justify-content: center; gap: 7px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--line); padding: 0;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.carousel-dot.is-active { background: var(--warm-500); width: 26px; }

/* ============== FAQ ============== */
.faq__grid {
  display: grid; gap: 60px;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
}
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }

.faq__head { position: sticky; top: 90px; }
.faq__head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.faq__head p { color: var(--muted); }
.faq__head a { color: var(--warm-600); font-weight: 600; }

.faq__list { display: grid; gap: 12px; }
.faq__list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq__list details[open] {
  border-color: rgba(213,32,44,.4);
  box-shadow: var(--shadow-sm);
}
.faq__list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display);
  font-weight: 700; color: var(--navy-900); font-size: 1.02rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; font-size: 1.5rem; color: var(--warm-500);
  transition: transform .2s var(--ease);
}
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { margin: 12px 0 0; color: var(--muted); font-size: .96rem; }

/* ============== CTA Final ============== */
.cta-final {
  position: relative;
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(213,32,44,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 80px 0;
}
.cta-final__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-final h2 { color: #fff; margin: 0 0 8px; max-width: 540px; }
.cta-final p { color: rgba(255,255,255,.75); margin: 0; max-width: 480px; }
.cta-final__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============== Contato ============== */
.contact__grid {
  display: grid; gap: 50px;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__lead { color: var(--muted); }
.contact__info { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact__info li { display: flex; gap: 16px; align-items: flex-start; }
.contact__info svg {
  width: 22px; height: 22px; color: var(--warm-500); flex: none;
  margin-top: 4px;
}
.contact__info strong { display: block; font-family: var(--font-display); color: var(--navy-900); }
.contact__info span, .contact__info a { color: var(--muted); line-height: 1.55; }
.contact__info a:hover { color: var(--warm-600); }

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  box-shadow: var(--shadow-sm);
}
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============== Footer ============== */
.site-footer {
  background: var(--navy-900); color: #cfd8e6;
  padding: 70px 0 24px;
}
.footer__inner {
  display: grid; gap: 40px;
  grid-template-columns: 1.1fr 2fr;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 800px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand p { color: rgba(255,255,255,.55); max-width: 320px; margin-top: 14px; }

.footer__nav {
  display: grid; gap: 30px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 600px) { .footer__nav { grid-template-columns: repeat(2, 1fr); } }
.footer__nav h4 {
  font-family: var(--font-display); color: #fff; font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px;
}
.footer__nav a { display: block; padding: 4px 0; color: rgba(255,255,255,.65); font-size: .94rem; }
.footer__nav a:hover { color: var(--warm-400); }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; color: rgba(255,255,255,.45); font-size: .82rem;
}

/* ============== WhatsApp FAB ============== */
.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366; color: #fff;
  border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.55);
  transition: transform .2s var(--ease);
}
.whatsapp-fab:hover { transform: translateY(-2px); }
.whatsapp-fab svg { width: 22px; height: 22px; }
@media (max-width: 540px) {
  .whatsapp-fab span { display: none; }
  .whatsapp-fab { padding: 14px; }
}

/* ============== Reveal animations ============== */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger.is-in > *           { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .03s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .2s;  }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .26s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .38s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .44s; }
.reveal-stagger.is-in > *:nth-child(9) { transition-delay: .5s;  }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ============================================================
   CONCEITO DE CALOR — "calor que sobe do piso"
   ============================================================ */

/* Linha incandescente no piso — borda inferior do hero */
.hero::after {
  content: "";
  position: absolute; bottom: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(213,32,44,.35) 20%,
    rgba(230,80,44,.7)  50%,
    rgba(213,32,44,.35) 80%,
    transparent
  );
  animation: heatLine 3s ease-in-out infinite alternate;
  filter: blur(.5px);
}
@keyframes heatLine {
  from { opacity: .5; transform: scaleX(.92); }
  to   { opacity: 1;  transform: scaleX(1);   }
}

/* Gradiente quente no chão do hero */
.heat-floor {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 260px; pointer-events: none; z-index: 0;
  background: linear-gradient(to top,
    rgba(213,32,44,.12) 0%,
    rgba(213,32,44,.05) 40%,
    transparent 100%
  );
}

/* Partículas de calor subindo */
.heat-particles {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 0;
}
.heat-particles i {
  position: absolute; bottom: -8px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle at 35% 35%,
    rgba(230,100,50,.55),
    rgba(213,32,44,.2) 55%,
    transparent 75%
  );
  animation: heatRise var(--d, 5s) ease-out var(--dl, 0s) infinite;
}
/* posição + tamanho + timing de cada partícula */
.heat-particles i:nth-child(1)  { --d:4.8s; --dl:0s;    left:4%;  width:7px;  height:7px;  }
.heat-particles i:nth-child(2)  { --d:6.2s; --dl:1.3s;  left:10%; width:5px;  height:5px;  }
.heat-particles i:nth-child(3)  { --d:5.1s; --dl:2.6s;  left:17%; width:10px; height:10px; }
.heat-particles i:nth-child(4)  { --d:7.0s; --dl:0.6s;  left:24%; width:4px;  height:4px;  }
.heat-particles i:nth-child(5)  { --d:4.3s; --dl:3.4s;  left:32%; width:8px;  height:8px;  }
.heat-particles i:nth-child(6)  { --d:5.7s; --dl:1.9s;  left:40%; width:6px;  height:6px;  }
.heat-particles i:nth-child(7)  { --d:6.6s; --dl:0.4s;  left:48%; width:5px;  height:5px;  }
.heat-particles i:nth-child(8)  { --d:4.9s; --dl:2.2s;  left:55%; width:11px; height:11px; }
.heat-particles i:nth-child(9)  { --d:5.4s; --dl:4.0s;  left:63%; width:6px;  height:6px;  }
.heat-particles i:nth-child(10) { --d:6.3s; --dl:1.6s;  left:71%; width:8px;  height:8px;  }
.heat-particles i:nth-child(11) { --d:4.5s; --dl:0.9s;  left:78%; width:5px;  height:5px;  }
.heat-particles i:nth-child(12) { --d:7.3s; --dl:2.9s;  left:85%; width:9px;  height:9px;  }
.heat-particles i:nth-child(13) { --d:5.9s; --dl:4.3s;  left:92%; width:4px;  height:4px;  }
.heat-particles i:nth-child(14) { --d:4.7s; --dl:1.1s;  left:97%; width:7px;  height:7px;  }
.heat-particles i:nth-child(15) { --d:6.9s; --dl:3.6s;  left:43%; width:6px;  height:6px;  }
.heat-particles i:nth-child(16) { --d:5.5s; --dl:0.8s;  left:28%; width:10px; height:10px; }

@keyframes heatRise {
  0%   { transform: translateY(0)     scale(1)   translateX(0px);   opacity: 0;   }
  12%  {                                                             opacity: .75; }
  50%  { transform: translateY(-38%)  scale(.75) translateX(7px);               }
  88%  {                                                             opacity: .15; }
  100% { transform: translateY(-100%) scale(.1)  translateX(-4px);  opacity: 0;   }
}

/* Calor sutil nas seções escuras (stats + CTA) */
.stats, .cta-final {
  position: relative;
  overflow: hidden;
}
.stats::before, .cta-final::before {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px; pointer-events: none;
  background: linear-gradient(to top,
    rgba(213,32,44,.18) 0%,
    rgba(213,32,44,.06) 50%,
    transparent 100%
  );
}

/* ============== Vídeo institucional ============== */
.video-section {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.video-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  min-height: 360px;
  max-height: 600px;
}
.video-frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  transform: scale(1.04);
  pointer-events: none;
}
.video-shield {
  position: absolute; inset: 0; z-index: 3;
  background: transparent;
}
.video-overlay__top,
.video-overlay__bottom {
  position: absolute; left: 0; right: 0; z-index: 2;
  height: 80px; pointer-events: none;
}
.video-overlay__top {
  top: 0;
  background: linear-gradient(to bottom, var(--navy-900), transparent);
}
.video-overlay__bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--navy-900), transparent);
}
@media (max-width: 720px) {
  .video-wrap { aspect-ratio: 16 / 9; min-height: 220px; }
}

/* ============== Termostato showcase ============== */
.tech__device { position: relative; display: grid; place-items: center; }

.thermostat-showcase {
  position: relative;
  display: grid; place-items: center;
  width: 100%; max-width: 480px;
  padding: 40px;
}

/* Glow ambiente ao redor do device */
.thermostat-glow {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%,
    rgba(213,32,44,.28) 0%,
    rgba(213,32,44,.08) 45%,
    transparent 70%
  );
  filter: blur(32px);
  animation: glowPulse 3.5s ease-in-out infinite alternate;
}
@keyframes glowPulse {
  from { opacity: .6; transform: scale(.95); }
  to   { opacity: 1;  transform: scale(1.05); }
}

/* Anéis de calor irradiando */
.thermostat-heat-rings { position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 28px; }
.thermostat-heat-rings span {
  position: absolute;
  bottom: 10%; left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(213,32,44,.4);
  animation: ringExpand 2.8s ease-out infinite;
}
.thermostat-heat-rings span:nth-child(1) { width: 80px;  height: 30px; animation-delay: 0s;    }
.thermostat-heat-rings span:nth-child(2) { width: 160px; height: 55px; animation-delay: .9s;   }
.thermostat-heat-rings span:nth-child(3) { width: 260px; height: 85px; animation-delay: 1.8s;  }

@keyframes ringExpand {
  0%   { opacity: 0;   transform: translateX(-50%) scaleY(.6); }
  20%  { opacity: .7;                                           }
  100% { opacity: 0;   transform: translateX(-50%) scaleY(1) translateY(-12px); }
}

/* A imagem em si */
.thermostat-img {
  position: relative; z-index: 2;
  width: 100%; max-width: 380px; height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(11,37,69,.25))
          drop-shadow(0 4px 12px rgba(213,32,44,.2));
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.thermostat-img:hover {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 36px 60px rgba(11,37,69,.3))
          drop-shadow(0 6px 20px rgba(213,32,44,.3));
}

/* Reflexo/sombra no chão */
.thermostat-floor {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 20px;
  background: radial-gradient(ellipse, rgba(213,32,44,.25), transparent 70%);
  filter: blur(8px);
  z-index: 1;
}
