/* ===== Tokens ===== */
:root{
  --bg: #16181a;
  --bg-deep: #0e1011;
  --surface: #1c1f21;
  --section-alt: #1a1d1f;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.08);
  --text: #eef2ef;
  --text-60: rgba(238,242,239,0.6);
  --text-55: rgba(238,242,239,0.55);
  --text-45: rgba(238,242,239,0.45);
  --text-40: rgba(238,242,239,0.4);
  --accent: oklch(0.8 0.09 160);
  --accent-rgb-fallback: #8fd1ac;
  --on-accent: #16181a;
  --whatsapp: #25d366;
  --on-whatsapp: #0b0d10;
  --star: #fbbc04;
  --radius-btn: 8px;
  --radius-card: 10px;
  --radius-media: 12px;
  --container: 1180px;
  --ease: cubic-bezier(0.22,0.9,0.3,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.skip-link{
  position: absolute; left: -999px; top: auto;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 6px; font-weight: 700; z-index: 100;
}
.skip-link:focus{ left: 12px; top: 12px; }

.accent-text{ color: var(--accent); }

.ph{
  background: repeating-linear-gradient(45deg,#1c2026,#1c2026 10px,#20242b 10px,#20242b 20px);
  display: flex; align-items: center; justify-content: center;
}
.ph span{
  font: 500 10px ui-monospace, Menlo, monospace;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 0 10px;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 20px; border-radius: var(--radius-btn);
  font-weight: 700; font-size: 15px; text-decoration: none; border: none;
  cursor: pointer; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.btn-accent{ background: var(--accent); color: var(--on-accent); }
.btn-whatsapp{ background: var(--whatsapp); color: var(--on-whatsapp); }
.btn-header{ height: 38px; padding: 0 16px; font-size: 13px; }
.btn-cta{ width: 100%; }
.icon-wpp{ width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease); }

/* WhatsApp CTA buttons: icon "wave" on hover */
.btn-whatsapp:hover .icon-wpp{ animation: wpp-wiggle 550ms ease; }
.btn-whatsapp:hover{ box-shadow: 0 10px 24px rgba(37,211,102,0.35); }
@keyframes wpp-wiggle{
  0%, 100%{ transform: rotate(0deg) scale(1); }
  20%{ transform: rotate(-16deg) scale(1.1); }
  40%{ transform: rotate(12deg) scale(1.1); }
  60%{ transform: rotate(-8deg) scale(1.05); }
  80%{ transform: rotate(4deg) scale(1.02); }
}

.link-accent{
  color: var(--accent); font-weight: 600; text-decoration: none; font-size: 13px;
  display: inline-block; transition: transform 200ms var(--ease), color 200ms var(--ease);
}
.link-accent:hover{ transform: translateX(3px); color: var(--text); }
.link-center{ display: block; text-align: center; margin-top: 14px; }

/* ===== Header ===== */
.site-header{ position: relative; z-index: 20; }
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; gap: 16px;
}
.brand{ display: flex; align-items: center; text-decoration: none; }
.brand-logo{ height: 42px; }
.nav-desktop{ display: none; }

/* ===== Hero ===== */
.hero{ position: relative; }
.hero-media{ height: 380px; width: 100%; display: block; object-fit: cover; background: #000; }
.hero-content{
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(to top, #16181a 25%, transparent);
  padding: 26px 0 28px;
}
.hero-inner{ padding-top: 0; width: 100%; }
.hero-text h1{ margin: 0 0 10px; font-size: 32px; line-height: 1.12; font-weight: 800; }
.hero-sub{ margin: 0 0 16px; font-size: 14px; color: var(--text-55); max-width: 40ch; }

/* ===== Prova social ===== */
.social-proof{
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 16px 20px; border-bottom: 1px solid var(--border-strong);
  font-size: 12px; color: rgba(238,242,239,0.75); flex-wrap: wrap;
}
.social-proof strong{ color: var(--text); }
.star{ color: var(--star); }
.social-proof .divider{ width: 1px; height: 14px; background: rgba(255,255,255,0.15); }

/* ===== Section shell ===== */
.section{ padding: 34px 0; }
.section-head{ margin-bottom: 20px; }
.kicker{
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 8px; text-transform: uppercase;
}
.section h2{ margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.section-sub{ margin: 0; font-size: 13px; color: var(--text-55); }
.section-foot{ font-size: 11.5px; color: var(--text-45); margin-top: 12px; }

/* ===== Accordion (serviços) ===== */
.accordion-grid{ display: flex; flex-direction: column; gap: 10px; }
.acc-item{
  border-radius: var(--radius-card); background: var(--surface);
  border: 1px solid var(--border); overflow: hidden;
}
.acc-trigger{
  all: unset; box-sizing: border-box;
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 16px; cursor: pointer;
}
.acc-bar{ width: 8px; height: 30px; border-radius: 4px; background: var(--accent); flex: none; }
.acc-title{ font-weight: 700; font-size: 15px; flex: 1; }
.acc-count{ font-size: 12px; color: var(--text-45); }
.acc-panel{
  height: 0; overflow: hidden;
  transition: height 320ms var(--ease);
}
.acc-panel-inner{ overflow: hidden; }
.acc-row{
  padding: 9px 0 9px 36px; font-size: 13.5px; color: rgba(238,242,239,0.85);
  border-top: 1px solid var(--border);
}
.acc-item .acc-panel-inner{ padding: 0 16px 14px; }
.acc-trigger[aria-expanded="true"] .acc-bar{ background: var(--accent); }

/* FAQ variant */
.acc-trigger-faq{ padding: 14px 16px; }
.acc-trigger-faq .acc-title{ font-weight: 700; font-size: 14px; }
.acc-panel-faq{ padding: 0 16px 14px !important; font-size: 13px; color: var(--text-60); line-height: 1.5; }

/* ===== Antes e depois ===== */
.compare-layout{ display: flex; flex-direction: column; gap: 10px; }
.compare{
  position: relative; border-radius: var(--radius-media); overflow: hidden;
  height: 240px; background: #000; touch-action: none; user-select: none;
}
.compare-media{ position: absolute; inset: 0; overflow: hidden; }
.compare-media img, .compare-media video{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.compare-video{ display: none; background: #000; }
.compare-before{ z-index: 1; }
.compare-after{ z-index: 2; clip-path: inset(0 0 0 50%); }
.compare-divider{
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: var(--accent); transform: translateX(-50%); z-index: 3; cursor: ew-resize;
}
.compare-knob{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-accent); font-weight: 800; font-size: 13px;
}
.badge{
  position: absolute; top: 12px; padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; z-index: 4;
}
.badge-before{ left: 12px; background: rgba(0,0,0,0.55); color: var(--text); }
.badge-after{ right: 12px; background: var(--accent); color: var(--on-accent); }

.compare-thumbs{ display: flex; gap: 8px; }
.thumb{
  all: unset; box-sizing: border-box; flex: 1; position: relative;
  height: 72px; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color 200ms var(--ease);
}
.thumb img{ width: 100%; height: 100%; object-fit: cover; }
.thumb span{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px 5px;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.thumb[aria-selected="true"]{ border-color: var(--accent); }

/* ===== Como funciona ===== */
.steps{ display: flex; flex-direction: column; }
.step{ display: flex; gap: 14px; }
.step-marker{ display: flex; flex-direction: column; align-items: center; }
.step-num{
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  color: var(--on-accent); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex: none;
}
.step-line{ width: 2px; flex: 1; background: rgba(255,255,255,0.12); }
.step-body{ padding-bottom: 20px; }
.step-title{ font-weight: 700; font-size: 15px; padding-top: 6px; }
.step-desc{ font-size: 13px; color: var(--text-55); margin-top: 3px; }

/* ===== Depoimentos ===== */
.testimonials{ display: flex; flex-direction: column; gap: 10px; }
.review-card{
  border-radius: var(--radius-card); background: var(--surface);
  border: 1px solid var(--border); padding: 16px;
}
.review-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-name{ font-weight: 700; font-size: 14.5px; }
.review-meta{ font-size: 11.5px; color: var(--text-45); }
.review-rating{ display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.review-stars{ color: var(--star); font-size: 13px; letter-spacing: 1px; }
.review-time{ font-size: 11.5px; color: var(--text-45); }
.review-text{ margin: 10px 0 0; font-size: 13.5px; color: var(--text-55); line-height: 1.5; }

/* ===== Localização ===== */
.map-embed{ height: 160px; border-radius: var(--radius-media); overflow: hidden; }
.map-embed iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(0.15) invert(0.92) contrast(0.85); }
.location-info{
  display: flex; flex-direction: column; gap: 6px; margin-top: 14px;
  font-size: 13.5px; color: rgba(238,242,239,0.75); line-height: 1.5;
}
.location-info strong{ color: var(--text); }

/* ===== CTA final ===== */
.cta-final{ border-top: 1px solid var(--border-strong); }
.cta-final-inner{ text-align: center; padding-top: 30px; padding-bottom: 6px; }
.cta-final h2{ font-size: 22px; }
.cta-final p{ font-size: 13px; color: var(--text-55); margin: 0 0 18px; }

/* ===== Footer ===== */
.site-footer{
  text-align: center; font-size: 11.5px; color: var(--text-40);
  padding: 16px 20px 36px;
}

/* ===== Floating WhatsApp ===== */
.wpp-float{
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45); text-decoration: none;
  transition: transform 200ms var(--ease);
}
.wpp-float::before{
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp); pointer-events: none;
  animation: wpp-ping 2.2s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes wpp-ping{
  0%{ transform: scale(1); opacity: 0.55; }
  75%, 100%{ transform: scale(1.9); opacity: 0; }
}
.wpp-float:hover{ transform: translateY(-2px) scale(1.06); }
.wpp-float:hover svg{ animation: wpp-wiggle 550ms ease; }
.wpp-float svg{ width: 28px; height: 28px; color: var(--on-whatsapp); position: relative; transition: transform 200ms var(--ease); }

/* ===== Scroll reveal ===== */
[data-reveal]{
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* =======================================================
   TABLET  (>=768px)
   ======================================================= */
@media (min-width: 768px){
  .wrap{ padding-left: 32px; padding-right: 32px; }
  body{ max-width: 100%; }
  .hero-media{ height: 460px; }
  .hero-text{ max-width: 480px; }
  .hero-text h1{ font-size: 40px; }
  .section{ padding: 48px 0; }
  .accordion-grid:not(.faq-grid){ display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; }
  .faq-grid{ display: grid; grid-template-columns: repeat(2, 1fr); }
  .testimonials{ display: grid; grid-template-columns: repeat(2, 1fr); }
  .compare-layout{ flex-direction: row; align-items: stretch; }
  .compare{ flex: 1; height: 340px; }
  .compare-thumbs{ flex-direction: column; width: 160px; height: 340px; }
  .thumb{ height: auto; flex: 1 1 0; min-height: 0; }
  .steps{ flex-direction: row; gap: 24px; position: relative; }
  .steps::before{
    content: "";
    position: absolute;
    top: 17px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: rgba(255,255,255,0.12);
  }
  .step{ flex: 1; flex-direction: column; align-items: center; text-align: center; }
  .step-marker{ width: 100%; position: relative; z-index: 1; }
  .step-line{ display: none; }
  .step-body{ padding-bottom: 0; }
  .location-layout{ display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
  .map-embed{ height: 260px; }
  .location-info{ margin-top: 0; font-size: 14.5px; }
}

/* =======================================================
   DESKTOP  (>=1024px)
   ======================================================= */
@media (min-width: 1024px){
  .site-header{
    position: sticky; top: 0;
    background: rgba(22,24,26,0.72);
    backdrop-filter: blur(10px) saturate(1.4);
    -webkit-backdrop-filter: blur(10px) saturate(1.4);
    border-bottom: 1px solid var(--border);
  }
  .header-inner{ padding: 16px 32px; }
  .brand-logo{ height: 42px; }
  .nav-desktop{
    display: flex; align-items: center; gap: 28px;
    font-size: 14px; font-weight: 600; color: var(--text-55);
  }
  .nav-desktop a{
    text-decoration: none; transition: color 180ms var(--ease); position: relative;
  }
  .nav-desktop a::after{
    content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
    background: var(--accent); transition: right 220ms var(--ease);
  }
  .nav-desktop a:hover{ color: var(--text); }
  .nav-desktop a:hover::after{ right: 0; }

  .hero{ display: flex; align-items: stretch; min-height: 560px; overflow: hidden; }
  .hero-media{
    position: absolute; inset: 0; height: 100%;
    animation: hero-kenburns 22s ease-in-out infinite alternate;
  }
  @keyframes hero-kenburns{
    from{ transform: scale(1); }
    to{ transform: scale(1.08); }
  }
  .hero-content{
    position: relative; inset: auto; background: none; width: 100%;
    display: flex; align-items: flex-end;
    padding-bottom: 64px; padding-top: 64px;
    background: linear-gradient(to top, #16181a 15%, rgba(22,24,26,0.15) 60%, transparent);
  }
  .hero-text{ max-width: 560px; }
  .hero-text h1{ font-size: 52px; }
  .hero-sub{ font-size: 16px; max-width: 44ch; }
  .btn-cta{ width: auto; padding: 0 28px; }

  .accordion-grid:not(.faq-grid){ grid-template-columns: repeat(3, 1fr); }
  .faq-grid{ grid-template-columns: repeat(3, 1fr); }

  .section h2{ font-size: 30px; }
  .section-head{ max-width: 640px; }

  .compare{ height: 420px; }
  .compare-thumbs{ width: 200px; gap: 12px; height: 420px; }

  .cta-final-inner{ max-width: 640px; }
  .cta-final h2{ font-size: 30px; }

  /* Rhythm: subtle alternating section tint for visual depth on wide screens */
  .section:nth-of-type(even){ background: var(--section-alt); }

  /* Hover elevation for interactive cards (mouse-driven desktop only) */
  .acc-item{ transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease); }
  .acc-item:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.14);
  }
  .review-card{ transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
  .review-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
  .thumb{ transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
  .thumb:hover{ transform: translateY(-2px); }
  .compare{ transition: box-shadow 220ms var(--ease); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce){
  .hero-media{ animation: none; }
}
