/* ===========================================
   VARIÁVEIS & RESET
   =========================================== */
:root {
  --primary:        #1a3d6e;
  --primary-light:  #2554a0;
  --primary-dark:   #0f2444;
  --accent:         #e8850a;
  --whatsapp:       #25d366;
  --whatsapp-dark:  #128c7e;
  --white:          #ffffff;
  --off-white:      #f7f8fc;
  --gray-100:       #f1f3f8;
  --gray-200:       #e2e6ed;
  --gray-500:       #6c7a8d;
  --text:           #1a2332;
  --text-light:     #4a5568;
  --shadow-sm:      0 2px 8px rgba(26,61,110,.08);
  --shadow:         0 4px 20px rgba(26,61,110,.12);
  --shadow-lg:      0 8px 40px rgba(26,61,110,.18);
  --radius-sm:      8px;
  --radius:         14px;
  --radius-lg:      22px;
  --max-w:          1180px;
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ===========================================
   UTILIDADES
   =========================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================================
   BOTÕES
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background .18s, transform .18s, box-shadow .18s;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
}

.btn-sm   { padding: 9px 20px; font-size: .875rem; }
.btn-lg   { padding: 16px 36px; font-size: 1.05rem; }
.btn-hero { padding: 18px 40px; font-size: 1.1rem; }
.btn-xl   { padding: 20px 48px; font-size: 1.15rem; }

.icon-wa { width: 20px; height: 20px; flex-shrink: 0; }
.btn-lg .icon-wa,
.btn-hero .icon-wa,
.btn-xl .icon-wa { width: 23px; height: 23px; }

/* ===========================================
   CABEÇALHOS DE SEÇÃO
   =========================================== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header--left { text-align: left; }
.section-header--left p { margin: 0; max-width: 100%; }

.section-tag {
  display: inline-block;
  background: rgba(26,61,110,.09);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* ===========================================
   HEADER
   =========================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.logo-img--footer {
  height: 36px;
}

/* ===========================================
   HERO
   =========================================== */
#hero {
  position: relative;
  height: calc(100svh - 128px);
  min-height: 500px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
}

/* Subtle grid pattern */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Decorative paint splash — bottom right */
.hero-overlay::before {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,133,10,.18) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 446px;
  gap: 0;
  align-items: end;
}

.hero-text {
  min-width: 0;
  align-self: start;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-visual {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: calc(-40px - 1cm);
}

.hero-foto {
  width: 100%;
  max-width: 511px;
  position: relative;
  padding-bottom: 56px;
}

.hero-foto::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,133,10,.32) 0%, rgba(232,133,10,.10) 55%, transparent 80%);
}

.hero-foto::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(232,133,10,.40);
}

.hero-foto img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.35));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 26px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

#hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.13;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: -.025em;
}

.hero-sub {
  font-size: clamp(.95rem, 2.2vw, 1.15rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 38px;
  max-width: 500px;
}

.hero-sub strong { color: var(--white); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 20px;
  font-size: .83rem;
  color: rgba(255,255,255,.65);
}

.hero-foto-mobile { display: none; }

.trust-sep { color: rgba(255,255,255,.3); }

/* ===========================================
   STATS
   =========================================== */
#stats {
  background: var(--primary);
}

.stats-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 52px;
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.03em;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  align-self: stretch;
  margin: 12px 0;
}

/* ===========================================
   SERVIÇOS
   =========================================== */
#servicos {
  padding: 88px 0;
  background: var(--off-white);
}

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

.servico-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform .2s, box-shadow .2s;
}

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

.servico-icon {
  margin-bottom: 18px;
}

.servico-icon i {
  font-size: 1.6rem;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,61,110,.09);
  color: var(--primary);
  border-radius: 14px;
}

.servico-card--cta .servico-icon i {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.servico-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 9px;
}

.servico-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.servico-card--cta {
  background: linear-gradient(140deg, var(--primary-dark), var(--primary-light));
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.servico-card--cta p {
  color: rgba(255,255,255,.8);
  font-weight: 500;
  margin-bottom: 18px;
}

/* ===========================================
   DIFERENCIAIS
   =========================================== */
#diferenciais {
  padding: 88px 0;
  background: var(--white);
}

.diferenciais-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 72px;
  align-items: center;
}

.diferenciais-text .section-tag { margin-bottom: 14px; }

.diferenciais-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 34px;
  letter-spacing: -.02em;
}

.diferenciais-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.diferenciais-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 900;
  margin-top: 3px;
}

.diferenciais-list li strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.diferenciais-list li p {
  font-size: .87rem;
  color: var(--text-light);
}

/* Image / placeholder */
.diferenciais-visual { line-height: 0; }
.diferenciais-visual img { border-radius: var(--radius-lg); }

.img-placeholder {
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 40px;
  text-align: center;
  min-height: 380px;
  color: var(--gray-500);
  gap: 14px;
}

.img-placeholder p   { font-size: .9rem; line-height: 1.5; }
.placeholder-hint    { font-size: .75rem; color: var(--gray-500); opacity: .7; }
.placeholder-hint code {
  font-family: 'Courier New', monospace;
  background: var(--gray-200);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===========================================
   COMO FUNCIONA
   =========================================== */
#como-funciona {
  padding: 88px 0;
  background: var(--off-white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 8px;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(26,61,110,.3);
}

.step h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 26px;
  color: var(--gray-200);
}

.step-connector svg { width: 48px; height: 24px; }

.steps-cta {
  text-align: center;
  margin-top: 52px;
}

/* ===========================================
   GALERIA
   =========================================== */
#galeria {
  padding: 88px 0;
  background: var(--white);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.galeria-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  transition: transform .25s, box-shadow .25s;
}

.galeria-item img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}

.galeria-placeholder {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: .8rem;
  font-weight: 500;
}

/* ===========================================
   DEPOIMENTOS
   =========================================== */
#depoimentos {
  padding: 88px 0;
  background: var(--off-white);
}

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

.depoimento-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.depoimento-card > p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.autor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.depoimento-autor strong {
  display: block;
  font-size: .88rem;
  color: var(--text);
  font-weight: 700;
}

.depoimento-autor span {
  font-size: .8rem;
  color: var(--text-light);
}

/* ===========================================
   ÁREA DE ATENDIMENTO
   =========================================== */
#area-atendimento {
  padding: 88px 0;
  background: var(--white);
}

.atendimento-inner { max-width: 780px; }

.bairros-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 18px;
}

.bairro-tag {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--text);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: .87rem;
  font-weight: 500;
  transition: background .15s, border-color .15s;
}

.bairro-tag:hover {
  background: rgba(26,61,110,.07);
  border-color: rgba(26,61,110,.2);
}

.atendimento-obs {
  font-size: .88rem;
  color: var(--text-light);
}

.atendimento-obs a {
  color: var(--primary);
  font-weight: 600;
}

.atendimento-obs a:hover { text-decoration: underline; }

/* ===========================================
   CTA FINAL
   =========================================== */
#cta-final {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#cta-final::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,133,10,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final-inner { text-align: center; position: relative; z-index: 1; }

#cta-final h2 {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

#cta-final > .cta-final-inner > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
}

.cta-horario {
  margin-top: 22px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}

/* ===========================================
   FOOTER
   =========================================== */
#footer {
  background: var(--text);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.35);
  font-size: .88rem;
}

.footer-links a {
  color: rgba(255,255,255,.6);
  transition: color .15s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ===========================================
   BOTÃO FLUTUANTE WHATSAPP
   =========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50px;
  padding: 13px 22px 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  font-weight: 700;
  font-size: .88rem;
  transition: background .18s, transform .18s, box-shadow .18s;
}

.whatsapp-float svg { width: 24px; height: 24px; flex-shrink: 0; }

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50px;
  background: var(--whatsapp);
  opacity: 0;
  animation: ring 2.5s ease-in-out infinite;
}

@keyframes ring {
  0%,100% { opacity: 0; transform: scale(1); }
  50%      { opacity: .18; transform: scale(1.06); }
}

/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */
.anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}

.anim.visible {
  opacity: 1;
  transform: none;
}

/* ===========================================
   RESPONSIVO — TABLET (≤ 960px)
   =========================================== */
@media (max-width: 960px) {
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }

  .diferenciais-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .diferenciais-visual { order: -1; }

  .img-placeholder { min-height: 260px; padding: 36px; }

  .depoimentos-grid { grid-template-columns: 1fr; }

  .step-connector svg { width: 36px; }
}

/* ===========================================
   RESPONSIVO — MOBILE (≤ 640px)
   =========================================== */
@media (max-width: 640px) {
  .hero-content {
    padding: 60px 24px 72px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual    { display: none; }
  #hero           { height: auto; min-height: auto; }

  .hero-trust     { justify-content: center; }
  .hero-sub       { max-width: 100%; margin-left: auto; margin-right: auto; }

  .hero-foto-mobile {
    display: block;
    background: var(--off-white);
    text-align: center;
    padding: 32px 24px;
  }
  .hero-foto-mobile img {
    max-width: 260px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.3));
  }

  .stats-grid     { flex-direction: column; }
  .stat-divider   { width: 48px; height: 1px; align-self: center; margin: 0; }
  .stat-item      { padding: 22px 32px; }

  .servicos-grid  { grid-template-columns: 1fr; }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .step-connector {
    padding-top: 0;
    transform: rotate(90deg);
    color: var(--gray-200);
  }

  .galeria-grid   { grid-template-columns: repeat(2, 1fr); }

  .section-header { margin-bottom: 36px; }

  #servicos, #diferenciais, #como-funciona,
  #galeria, #depoimentos, #area-atendimento { padding: 64px 0; }

  #cta-final { padding: 72px 0; }

  .btn-hero, .btn-lg, .btn-xl {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Floating button: icon only on mobile */
  .float-label { display: none; }
  .whatsapp-float {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-float::before { border-radius: 50%; inset: -6px; }

  .header-inner   { gap: 10px; }
  .logo-text      { font-size: .95rem; }

  .btn-sm { font-size: .8rem; padding: 8px 14px; }
}
