/* ============================================================
   D.A. Refrigeração e Climatização — estilo principal
   Paleta: azul profundo + azul gelo, CTA verde WhatsApp
   ============================================================ */

:root {
  --azul-950: #062a46;
  --azul-900: #083a5e;
  --azul-700: #0b5e9e;
  --azul-500: #1c86c8;
  --azul-300: #6fc0e8;
  --gelo-100: #eaf5fb;
  --gelo-50:  #f5fafd;
  --ink:      #12283a;
  --ink-soft: #47617a;
  --branco:   #ffffff;
  --wpp:      #1fae54;
  --wpp-dark: #178a42;
  --radius:   18px;
  --shadow:   0 10px 34px rgba(8, 58, 94, .12);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--branco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 92%); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--azul-950); }

h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: 1.22rem; font-weight: 700; }

a { color: var(--azul-700); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-size: .98rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  border: 0;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn--wpp {
  background: var(--wpp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 174, 84, .35);
}
.btn--wpp:hover { background: var(--wpp-dark); }
.btn--ghost {
  background: transparent;
  color: var(--azul-950);
  border: 2px solid rgba(8, 58, 94, .25);
}
.btn--ghost:hover { border-color: var(--azul-700); color: var(--azul-700); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 58, 94, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: .8rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--azul-950);
  white-space: nowrap;
}
.logo__img {
  height: 46px;
  width: auto;
}
.logo--footer .logo__img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .4));
}
.logo__text em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s;
}
.nav a:hover { color: var(--azul-700); }
.header__cta { font-size: .9rem; padding: .65rem 1.15rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .4rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.6px;
  border-radius: 3px;
  background: var(--azul-950);
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--gelo-50) 0%, var(--gelo-100) 55%, #dceefa 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(28, 134, 200, .16), transparent 70%),
    radial-gradient(500px 320px at 5% 90%, rgba(111, 192, 232, .2), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}
.badge {
  display: inline-block;
  background: #fff;
  border: 1px solid rgba(11, 94, 158, .18);
  color: var(--azul-700);
  font-weight: 600;
  font-size: .82rem;
  padding: .38rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 14px rgba(8, 58, 94, .07);
}
.grad {
  background: linear-gradient(100deg, var(--azul-700), var(--azul-500) 60%, #35b6e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 34rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  list-style: none;
  margin-top: 1.6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--azul-900);
}
.hero__card { position: relative; }
.hero__photo { aspect-ratio: 4 / 4.6; }
.hero__photo img,
.split__media img,
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gallery img { aspect-ratio: 4 / 3; }
.split__media img { aspect-ratio: 4 / 5; }

/* ---------- Carrossel (empresas) ---------- */
.carousel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  border-radius: 0;
  box-shadow: none;
}
.carousel img.is-active { opacity: 1; }
.carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .55);
  transition: background .2s, transform .2s;
}
.carousel__dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}
.hero__chip {
  position: absolute;
  background: #fff;
  font-weight: 700;
  font-size: .88rem;
  color: var(--azul-900);
  padding: .55rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero__chip--1 { top: 8%; left: -6%; }
.hero__chip--2 { bottom: 10%; right: -4%; }

/* ---------- Foto placeholder ---------- */
.photo-slot {
  display: grid;
  place-content: center;
  text-align: center;
  gap: .3rem;
  background:
    linear-gradient(150deg, #d7ebf7, #b9dcf0 60%, #a5d2ec),
    var(--gelo-100);
  border: 2px dashed rgba(11, 94, 158, .35);
  border-radius: var(--radius);
  color: var(--azul-700);
  min-height: 180px;
  box-shadow: var(--shadow);
}
.photo-slot span { font-size: 2.2rem; }
.photo-slot p { font-size: .82rem; font-weight: 600; line-height: 1.35; }
.photo-slot--tall { min-height: 380px; }

/* ---------- Seções ---------- */
.section { padding: 4.8rem 0; }
.section--tint { background: var(--gelo-50); }
.section--dark {
  background: linear-gradient(160deg, var(--azul-950), var(--azul-900) 70%, var(--azul-700));
  color: #dcecf7;
}
.section--dark h2 { color: #fff; }
.section__head {
  max-width: 44rem;
  margin-bottom: 2.6rem;
}
.section__head p { color: var(--ink-soft); margin-top: .7rem; }
.section--dark .section__head p { color: #b8d4e8; }
.kicker {
  display: inline-block;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--azul-500);
  margin-bottom: .55rem;
}
.kicker--light { color: var(--azul-300); }

/* ---------- Cards de serviço ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(8, 58, 94, .08);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(8, 58, 94, .16); }
.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--gelo-100);
  margin-bottom: 1.1rem;
}
.card p { color: var(--ink-soft); font-size: .95rem; margin: .6rem 0 1rem; }
.card ul {
  list-style: none;
  display: grid;
  gap: .45rem;
  font-size: .9rem;
  margin-bottom: 1.3rem;
}
.card ul li::before { content: "✓ "; color: var(--wpp); font-weight: 700; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
}
.card__link:hover { text-decoration: underline; }

.others {
  margin-top: 3rem;
  background: var(--gelo-50);
  border: 1px solid rgba(8, 58, 94, .08);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.others p { color: var(--ink-soft); margin: .4rem 0 1rem; }
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.chips li {
  background: #fff;
  border: 1px solid rgba(8, 58, 94, .12);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--azul-900);
}

/* ---------- Split (empresas) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.split__text p { margin: .8rem 0 1.2rem; }
.checklist {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin-bottom: 1.7rem;
}
.checklist li::before { content: "❄ "; color: var(--azul-300); }
.section--dark .photo-slot {
  background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border-color: rgba(255, 255, 255, .3);
  color: #cfe6f5;
}

/* ---------- Passos ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: passo;
}
.steps li {
  background: var(--gelo-50);
  border: 1px solid rgba(8, 58, 94, .08);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
}
.steps__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--azul-700), var(--azul-500));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(11, 94, 158, .3);
}
.steps p { color: var(--ink-soft); font-size: .93rem; margin-top: .45rem; }

.pay {
  margin-top: 2.4rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(8, 58, 94, .1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}
.pay__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem 2.2rem;
  margin-top: .8rem;
  font-size: 1rem;
  color: var(--azul-900);
}

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.gallery .photo-slot { aspect-ratio: 4 / 3; min-height: 0; }

/* ---------- Avaliações Google ---------- */
.grating {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.1rem;
  padding: .6rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(8, 58, 94, .12);
  border-radius: 999px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  transition: transform .18s ease;
}
.grating:hover { transform: translateY(-2px); }
.grating strong { font-family: var(--font-head); font-size: 1.05rem; }
.grating__stars { color: #fbbc04; letter-spacing: 2px; }
.grating__count { color: var(--ink-soft); font-size: .85rem; }
.quotes__stars {
  display: block;
  color: #fbbc04;
  letter-spacing: 3px;
  font-size: 1.05rem;
  margin-bottom: .6rem;
}
.quote-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  background: linear-gradient(150deg, var(--gelo-100), #d9edf9);
  border: 1px solid rgba(11, 94, 158, .16);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.quote-cta p { color: var(--azul-900); font-size: .97rem; }

/* ---------- Depoimentos ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.quotes blockquote {
  background: var(--gelo-50);
  border: 1px solid rgba(8, 58, 94, .08);
  border-left: 4px solid var(--azul-500);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  font-size: .97rem;
  color: var(--ink);
}
.quotes footer {
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.quotes footer em { font-weight: 400; }

/* ---------- Cidades ---------- */
.cities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.cities li {
  background: #fff;
  border: 1px solid rgba(8, 58, 94, .14);
  border-radius: 999px;
  padding: .5rem 1.15rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--azul-900);
}
.cities li:first-child {
  background: linear-gradient(140deg, var(--azul-700), var(--azul-500));
  border-color: transparent;
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq {
  background: #fff;
  border: 1px solid rgba(8, 58, 94, .1);
  border-radius: 14px;
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .99rem;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  position: relative;
  color: var(--azul-950);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--azul-500);
  transition: transform .2s;
}
.faq[open] summary::after { content: "–"; }
.faq p {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(700px 260px at 50% -40%, rgba(111, 192, 232, .35), transparent 70%),
    linear-gradient(160deg, var(--azul-950), var(--azul-900));
  color: #fff;
  text-align: center;
  padding: 4.6rem 0;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: #b8d4e8; margin: .8rem 0 1.8rem; }

/* ---------- Footer ---------- */
.footer {
  background: #051f33;
  color: #9fbdd2;
  font-size: .93rem;
  padding-top: 3.2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}
.footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: .8rem;
}
.footer p { margin-bottom: .45rem; }
.footer a { color: #cfe6f5; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.logo--footer { margin-bottom: .9rem; }
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text em { color: #9fbdd2; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.2rem 0;
  font-size: .82rem;
}

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wpp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 174, 84, .45);
  transition: transform .18s ease;
}
.wpp-float:hover { transform: scale(1.08); }

/* ---------- Animação de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; padding: 3.2rem 0 3.6rem; }
  .hero__card { max-width: 420px; }
  .cards, .steps, .quotes, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 61px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid rgba(8, 58, 94, .1);
    box-shadow: 0 18px 40px rgba(8, 58, 94, .14);
    padding: .6rem 0;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 1.6rem; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header__cta { display: none; }
  .cards, .steps, .quotes { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__chip--1 { left: 0; }
  .hero__chip--2 { right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}
