/* ===================================================================
   AR VITTA CLIMATIZAÇÃO - design system
   =================================================================== */

:root{
  --navy: #0B1E3D;
  --navy-2: #122A52;
  --teal: #1FB8A6;
  --teal-light: #E6FBF7;
  --coral: #FF6B45;
  --coral-dark: #E8532B;
  --cta: #25D366;
  --cta-dark: #1DA851;
  --ink: #10151F;
  --slate: #5B6472;
  --bg: #F6F8FA;
  --white: #FFFFFF;
  --border: #E3E8EF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(11,30,61,.06);
  --shadow: 0 12px 32px rgba(11,30,61,.10);
  --shadow-lg: 0 24px 60px rgba(11,30,61,.16);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family: var(--font-head); color: var(--navy); margin:0; line-height:1.15; }
p{ margin:0; color: var(--slate); line-height:1.65; }

.container{
  width:100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow{ max-width: 820px; }

/* ---------- reveal on scroll ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: none;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-head);
  font-weight:600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: none;
  cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary{
  background: var(--cta);
  color:#fff;
  box-shadow: 0 10px 24px rgba(37,211,102,.35);
}
.btn--primary:hover{
  background: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37,211,102,.42);
}
.btn--ghost{
  background: rgba(255,255,255,.08);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover{
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn--lg{ padding: 16px 28px; font-size: 16px; }
.btn--sm{ padding: 10px 16px; font-size: 13.5px; }

/* ---------- pill / eyebrow ---------- */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: var(--teal-light);
  color: #0E8A7D;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow{
  display:block;
  font-family: var(--font-head);
  font-weight:700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.eyebrow--light{ color: #63E6D6; }

/* =====================================================
   HEADER
   ===================================================== */
.header{
  position: sticky;
  top:0;
  z-index: 200;
  background: rgba(246,248,250,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.header.is-scrolled{
  background: rgba(255,255,255,.92);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 76px;
}
.brand{ display:flex; align-items:center; }
.brand__logo{ height: 46px; width:auto; display:block; transition: transform .4s ease; }
.brand--footer .brand__logo{ height: 42px; filter: brightness(0) invert(1); opacity:.95; }

.nav{ display:flex; align-items:center; gap:32px; }
.nav a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position:relative;
  padding: 4px 0;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background: var(--coral);
  transition: width .25s ease;
}
.nav a:hover::after{ width:100%; }

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

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero{
  position:relative;
  padding-top: 72px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(680px 420px at 82% -10%, rgba(31,184,166,.16), transparent 60%),
    radial-gradient(520px 420px at 8% 30%, rgba(255,107,69,.10), transparent 60%),
    var(--bg);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items:center;
  padding-bottom: 64px;
}
.hero h1{
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 span{ color: var(--coral); }
.hero__lead{
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero__lead strong{ color: var(--navy); }
.hero__cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 28px; }
.hero__trust{ display:flex; gap:22px; flex-wrap:wrap; }
.hero__trust li{
  display:flex; align-items:center; gap:7px;
  font-size: 13.5px; font-weight:600; color: var(--navy);
}
.hero__trust svg{ color: var(--teal); flex-shrink:0; }

.hero__art{ position:relative; display:flex; justify-content:center; }
.art-card{
  position:relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 20px;
  width:100%;
  max-width: 460px;
}
.art-illustration{ width:100%; height:auto; }
.art-chip{
  position:absolute;
  display:flex;
  align-items:center;
  gap:8px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight:700;
  color: var(--navy);
  font-family: var(--font-head);
}
.art-chip--1{ top: 10%; left: -6%; }
.art-chip--2{ bottom: 8%; right: -4%; }

.stats{ background: var(--navy); }
.stats__grid{
  display:flex;
  justify-content:center;
  flex-wrap: wrap;
  padding: 36px 24px;
}
.stat{ text-align:center; padding: 0 48px; max-width: 280px; }
.stat + .stat{ border-left: 1px solid rgba(255,255,255,.15); }
.stat strong{
  display:block;
  font-family: var(--font-head);
  color: #fff;
  font-size: 26px;
  font-weight:800;
  margin-bottom:8px;
}
.stat span{
  color: rgba(255,255,255,.65);
  font-size: 12.5px;
  line-height:1.5;
}

/* =====================================================
   SECTIONS (generic)
   ===================================================== */
.section{ padding: 96px 0; }
.section--muted{ background: var(--white); }
.section--dark{ background: var(--navy); }
.section__head{
  max-width: 640px;
  margin: 0 auto 56px;
  text-align:center;
}
.section__head h2{
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.section__head p{ font-size: 15.5px; }
.h2--light{ color:#fff; font-size: clamp(26px,3vw,36px); font-weight:800; margin-bottom:14px; }
.p--light{ color: rgba(255,255,255,.68); font-size:15.5px; margin-bottom:26px; max-width:440px; }

/* ---------- services ---------- */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: opacity .6s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 50px; height:50px;
  border-radius: 14px;
  background: var(--teal-light);
  color: var(--teal);
  margin-bottom: 18px;
}
.service-card h3{
  font-size: 18px;
  margin-bottom: 12px;
}
.service-card__problem{
  font-size: 13.5px;
  font-style: italic;
  color: #8A93A3;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
}
.service-card__solution{
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 18px;
}
.service-card__link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family: var(--font-head);
  font-weight:700;
  font-size: 13.5px;
  color: var(--cta-dark);
}
.service-card__link svg{ transition: transform .2s ease; }
.service-card__link:hover svg{ transform: translateX(3px); }

/* ---------- process ---------- */
.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position:relative;
}
.process__step{ position:relative; padding-top: 8px; }
.process__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 40px; height:40px;
  border-radius:50%;
  background: var(--navy);
  color:#fff;
  font-family: var(--font-head);
  font-weight:700;
  font-size:16px;
  margin-bottom: 18px;
}
.process__step h3{ font-size:16.5px; margin-bottom:8px; }
.process__step p{ font-size:14px; }

/* ---------- perks ---------- */
.perks{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}
.perk{ display:flex; flex-direction:column; gap:10px; }
.perk svg{ color: var(--coral); }
.perk h3{ font-size:16.5px; }
.perk p{ font-size:14px; }

/* ---------- área de atendimento ---------- */
.atendimento__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:center;
}
.chips{ display:flex; flex-wrap:wrap; gap:12px; }
.chip{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight:500;
}

/* ---------- testimonials ---------- */
.testimonials{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.stars{ color: var(--coral); letter-spacing:2px; margin-bottom:14px; font-size:15px; }
.testimonial p{ font-size:14.5px; color: var(--ink); margin-bottom:18px; }
.testimonial__name{ font-family: var(--font-head); font-weight:700; font-size:13px; color: var(--navy); }

/* ---------- galeria de trabalhos ---------- */
.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.gallery__item{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  background: var(--border);
}

/* ---------- FAQ ---------- */
.faq__item{
  border-bottom: 1px solid var(--border);
}
.faq__question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  background:none;
  border:none;
  text-align:left;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight:600;
  color: var(--navy);
  padding: 22px 4px;
  cursor:pointer;
}
.faq__question svg{ flex-shrink:0; transition: transform .3s ease; color: var(--teal); }
.faq__item.is-open .faq__question svg{ transform: rotate(180deg); }
.faq__answer{
  max-height:0;
  overflow:hidden;
  transition: max-height .3s ease;
}
.faq__answer p{ padding: 0 4px 22px; font-size:14.5px; }

/* ---------- CTA final ---------- */
.cta-final{
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  padding: 90px 0;
  text-align:center;
}
.cta-final h2{
  color:#fff;
  font-size: clamp(26px,3.4vw,38px);
  font-weight:800;
  max-width: 620px;
  margin: 0 auto 16px;
}
.cta-final p{
  color: rgba(255,255,255,.68);
  font-size: 16px;
  margin-bottom: 32px;
}
.cta-final__actions{ display:flex; justify-content:center; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer{ background: #081428; padding-top: 72px; }
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand p{ color: rgba(255,255,255,.55); font-size:13.5px; margin: 16px 0 20px; max-width:280px; }
.footer__social{ display:flex; gap:12px; }
.footer__social a{
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px;
  border-radius:50%;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.75);
  transition: border-color .2s ease, color .2s ease;
}
.footer__social a:hover{ border-color: var(--teal); color: var(--teal); }

.footer__col{ display:flex; flex-direction:column; gap:12px; }
.footer__col h4{
  color:#fff;
  font-size: 13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom: 6px;
}
.footer__col a, .footer__col span{
  color: rgba(255,255,255,.55);
  font-size: 13.5px;
}
.footer__col a:hover{ color: var(--teal); }

.footer__bottom{ border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner{
  padding: 22px 24px;
  text-align:center;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
}

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.whatsapp-float{
  position:fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display:flex;
  align-items:center;
  justify-content:center;
  width: 58px;
  height: 58px;
  border-radius:50%;
  background: #25D366;
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float__ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  border: 2px solid #25D366;
  animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring{
  0%{ transform: scale(1); opacity:.7; }
  100%{ transform: scale(1.7); opacity:0; }
}

/* =====================================================
   MICRO-ANIMAÇÕES
   (leves, poucas e escolhidas a dedo, nada de excesso)
   ===================================================== */

/* entrada escalonada dos cards em grade: cada item aparece
   um pouco depois do anterior, em vez de todos de uma vez */
.services-grid .service-card:nth-child(1){ transition-delay: 0ms; }
.services-grid .service-card:nth-child(2){ transition-delay: 70ms; }
.services-grid .service-card:nth-child(3){ transition-delay: 140ms; }
.services-grid .service-card:nth-child(4){ transition-delay: 210ms; }
.services-grid .service-card:nth-child(5){ transition-delay: 280ms; }
.services-grid .service-card:nth-child(6){ transition-delay: 350ms; }

.perks .perk:nth-child(1){ transition-delay: 0ms; }
.perks .perk:nth-child(2){ transition-delay: 70ms; }
.perks .perk:nth-child(3){ transition-delay: 140ms; }
.perks .perk:nth-child(4){ transition-delay: 210ms; }
.perks .perk:nth-child(5){ transition-delay: 280ms; }
.perks .perk:nth-child(6){ transition-delay: 350ms; }

.testimonials .testimonial:nth-child(1){ transition-delay: 0ms; }
.testimonials .testimonial:nth-child(2){ transition-delay: 100ms; }
.testimonials .testimonial:nth-child(3){ transition-delay: 200ms; }

.process .process__step:nth-child(1){ transition-delay: 0ms; }
.process .process__step:nth-child(2){ transition-delay: 90ms; }
.process .process__step:nth-child(3){ transition-delay: 180ms; }
.process .process__step:nth-child(4){ transition-delay: 270ms; }

/* marca no cabeçalho: leve resposta ao passar o mouse */
.brand:hover .brand__logo{ transform: scale(1.04); }

/* botões: feedback de clique */
.btn:active{ transform: scale(.96); }

/* ícones de serviço e diferenciais reagem ao hover do card */
.service-card__icon{ transition: transform .3s ease, background-color .3s ease; }
.service-card:hover .service-card__icon{ transform: scale(1.08) rotate(-5deg); background: #d7f5f0; }
.perk svg{ transition: transform .3s ease; color: var(--coral); }
.perk:hover svg{ transform: scale(1.15) rotate(-6deg); }

/* chips da área de atendimento sobem levemente ao passar o mouse */
.chip{ transition: transform .25s ease, background .25s ease; }
.chip:hover{ transform: translateY(-3px); background: rgba(255,255,255,.12); }

/* eyebrow ganha um tracinho que "cresce" quando a seção entra em cena */
.eyebrow{ position: relative; }
.eyebrow::after{
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 8px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .6s ease .15s;
}
[data-reveal].is-visible .eyebrow::after{ transform: scaleX(1); }

/* fundo do hero com deriva bem sutil, quase imperceptível */
.hero__bg{ animation: heroDrift 22s ease-in-out infinite; }
@keyframes heroDrift{
  0%, 100%{ transform: translate(0,0); }
  50%{ transform: translate(-16px, 12px); }
}

/* cartão da ilustração flutua suavemente, como se estivesse no ar */
.art-card{ animation: floatCard 5.5s ease-in-out infinite; will-change: transform; }
@keyframes floatCard{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
.art-chip{ animation: floatChip 5.5s ease-in-out infinite; }
.art-chip--1{ animation-delay: .3s; }
.art-chip--2{ animation-delay: .9s; }
@keyframes floatChip{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

/* ilustração: linhas de ar "correndo", reforçando a ideia de climatização */
.flow-line{ stroke-dasharray: 10 10; animation: flowDash 1.4s linear infinite; }
@keyframes flowDash{ to{ stroke-dashoffset: -40; } }

/* ilustração: pequenos brilhos piscando ao redor do aparelho */
.sparkle path{ animation: twinkle 2.6s ease-in-out infinite; }
.sparkle path:nth-child(2){ animation-delay: .5s; }
.sparkle path:nth-child(3){ animation-delay: 1s; }
@keyframes twinkle{
  0%, 100%{ opacity: .25; }
  50%{ opacity: .9; }
}

/* botão flutuante do WhatsApp: ícone reage ao hover */
.whatsapp-float svg{ transition: transform .25s ease; }
.whatsapp-float:hover svg{ transform: scale(1.1); }

/* galeria: entrada suave, alinhada e reta */
.gallery__item{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .5s ease, box-shadow .35s ease;
}
.gallery__item:nth-child(4n+1){ transition-delay: 0ms; }
.gallery__item:nth-child(4n+2){ transition-delay: 70ms; }
.gallery__item:nth-child(4n+3){ transition-delay: 140ms; }
.gallery__item:nth-child(4n){ transition-delay: 210ms; }
.gallery__item.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.gallery__item:hover{
  transform: translateY(0) scale(1.045);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

/* quem prefere menos movimento na tela, recebe a versão estática */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .perks{ grid-template-columns: repeat(2, 1fr); }
  .process{ grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .testimonials{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .nav{
    position:fixed;
    top: 76px; left:0; right:0;
    flex-direction:column;
    align-items:flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    max-height:0;
    overflow:hidden;
    transition: max-height .3s ease;
  }
  .nav.is-open{ max-height: 400px; box-shadow: var(--shadow); }
  .nav a{ width:100%; padding: 16px 24px; border-bottom: 1px solid var(--border); }
  .nav a::after{ display:none; }
  .nav-toggle{ display:flex; }
  .header__actions .btn--sm{ display:none; }

  .hero__grid{ grid-template-columns: 1fr; padding-bottom: 40px; }
  .hero__art{ order:-1; margin-bottom: 8px; }
  .art-chip{ display:none; }
  .atendimento__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .section{ padding: 64px 0; }
  .services-grid{ grid-template-columns: 1fr; }
  .perks{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr; }
  .stats__grid{ flex-direction: column; gap: 22px; padding: 30px 24px; }
  .stat{ padding: 0; max-width: none; }
  .stat + .stat{ border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 22px; }
  .hero__cta{ flex-direction:column; align-items:stretch; }
  .hero__cta .btn{ justify-content:center; }
  .footer__grid{ grid-template-columns: 1fr; }
}
