/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Paleta extraída do logo Chicaroni */
  --blue: #1565c0;
  --blue-mid: #1976d2;
  --blue-light: #e3f0ff;
  --blue-pale: #f0f7ff;
  --green: #25d366;
  /* Official WhatsApp Green */
  --green-dark: #128c7e;
  --green-light: #dcf8c6;

  /* Background / Surface */
  --bg: #ffffff;
  --bg-alt: #f2f8ff;
  --bg-card: #ffffff;
  --border: #d0e4f5;

  /* Texto */
  --text: #0c1f35;
  --text-mid: #2c4a6a;
  --muted: #5a7a95;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(21, 101, 192, 0.08);
  --shadow-md: 0 4px 24px rgba(21, 101, 192, 0.12);

  --radius: 12px;
  --max-w: 1100px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BOTÕES ===== */
.btn-whatsapp {
  background: var(--green);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-phone {
  background: var(--blue);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(21, 101, 192, 0.2);
}

.btn-phone:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 101, 192, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 50px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo com imagem real */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 64px;
  width: auto;
  transition: height var(--transition);
}

.hero .logo img {
  height: clamp(80px, 15vw, 130px);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .logo img {
    height: 48px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
}

.header-nav {
  display: flex;
  gap: 2px;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-size: 0.83rem;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1.3;
}

.header-phone strong {
  color: var(--text);
  display: block;
  font-size: 0.9rem;
}

.header-cta {
  font-size: 0.85rem;
  padding: 9px 18px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

@media (max-width: 580px) {
  .header-phone {
    display: none;
  }

  .header-cta {
    padding: 10px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta span.label {
    display: none;
  }

  .header-cta svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  border: 1px solid rgba(67, 160, 71, 0.3);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.6);
  }
}

/* ===== HERO ===== */
.hero {
  padding: 20px 0 45px;
  background: linear-gradient(135deg, #c5e3ff 0%, #ffffff 50%, #b3d7ff 100%) !important;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(21, 101, 192, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(67, 160, 71, 0.05) 0%, transparent 50%);
  z-index: 0;
}

.hero .logo {
  margin-bottom: 24px;
}

@media (min-width: 769px) {
  .hero .logo {
    /* Ajuste visual fino para a direita na versão web (desktop) */
    margin-left: 28px;
  }
}

@media (max-width: 768px) {
  .hero .logo {
    margin-left: 12px;
  }
}

.hero .logo img {
  height: clamp(130px, 32vw, 260px);
  width: auto;
  margin: 0 auto;
  transition: transform var(--transition);
}

.hero .logo:hover img {
  transform: scale(1.02);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 18px;
}

.hero-title .hl-blue {
  color: var(--blue);
}

.hero .badge {
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero image */
.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-visual-placeholder {
  aspect-ratio: 4/3;
  background: var(--blue-light);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--blue);
  font-size: 0.9rem;
}

.hero-visual-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--blue);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
}

.hero-visual-badge strong {
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}

@media (max-width: 720px) {
  .hero::before {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: 1;
  }

  .hero-visual-badge {
    bottom: -12px;
    left: 12px;
  }
}

/* ===== TRUST BAR — MÉTRICAS ===== */
.trust {
  background: var(--blue);
  padding: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-item:last-child {
  border-right: none;
}

.trust-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.trust-num-green {
  color: #a5d6a7;
}

.trust-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

@media (max-width: 600px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .trust-item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* ===== WHY — Diferenciais ===== */
.why {
  background: var(--bg-alt);
  padding: 88px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 16px;
}

.why-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SEÇÕES ===== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 52px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  max-width: 500px;
  font-size: 1rem;
}

/* ===== SERVIÇOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.scard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.scard-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.scard:last-child .scard-img {
  object-position: center bottom;
}

.scard-img-placeholder {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.scard-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scard-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.scard-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.scard-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  transition: gap var(--transition);
  text-decoration: none;
  margin-top: 4px;
}

.scard-cta:hover {
  gap: 11px;
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ÁREA DE ATENDIMENTO ===== */
.coverage-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  cursor: default;
}

.city:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.coverage-cta h3 {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}

.coverage-cta h3 span {
  color: var(--blue);
}

.coverage-cta p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .coverage-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, var(--blue) 0%, #0d47a1 100%);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-final .section-label {
  color: #a5d6a7;
}

.cta-final .section-title {
  color: #fff;
  margin-bottom: 14px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-whatsapp-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 17px 34px;
  border-radius: 50px;
  text-decoration: none;
  animation: pulse-shadow 2.5s infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition);
}

.btn-whatsapp-white:hover {
  transform: translateY(-2px);
}

@keyframes pulse-shadow {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  50% {
    box-shadow: 0 4px 44px rgba(0, 0, 0, 0.35);
  }
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-link:hover {
  color: #a5d6a7;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 8px;
}

.footer-ci {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
}

.footer-ci strong {
  color: #fff;
  min-width: 56px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== BOTÕES FLUTUANTES ===== */
.fixed-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  align-items: flex-end;
}

.phone-float-btn {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
  transition: transform var(--transition), background var(--transition);
  animation: pulse-phone 2.2s infinite;
}

.phone-float-btn:hover {
  transform: scale(1.1);
  background: var(--blue-mid);
}

@keyframes pulse-phone {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(21, 101, 192, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(21, 101, 192, 0);
  }
}

.wa-float {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-float-btn {
  width: 62px;
  height: 62px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  animation: pulse-dot 2.2s infinite;
  text-decoration: none;
}

.wa-float-btn:hover {
  transform: scale(1.1);
  background: var(--green-dark);
}


@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

.wa-float-tooltip {
  background: var(--text);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

.d4 {
  transition-delay: 0.32s;
}

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--border);
}

/* ===== ICON WRAPPER ===== */
.icon-blue {
  color: var(--blue);
}

.icon-green {
  color: var(--green);
}