/* =========================================================
   1. Variáveis e base
   ========================================================= */

:root {
  --purple: #401dab;
  --deep: #21172e;
  --ink: #26212b;
  --muted: #6e6874;
  --paper: #f7f5f8;
  --line: #e7e1eb;
  --green: #49e670;
  --lilac: #d9c7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h2 {
  font-size: 29px;
  line-height: 1.2;
}

h3 {
  font-size: 19px;
  font-weight: 500;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #a98bd2;
  outline-offset: 4px;
}


/* =========================================================
   2. Estrutura e acessibilidade
   ========================================================= */

.header-inner,
main,
.footer-inner {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

main {
  padding: 0;
}

.skip {
  position: fixed;
  top: -90px;
  left: 18px;
  z-index: 100;
  padding: 12px 18px;
  background: #fff;
}

.skip:focus {
  top: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 5px;
  background: var(--green);
  color: #15351d;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(41, 95, 54, 0.15);
}


/* =========================================================
   3. Cabeçalho e navegação
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 35px;
}

.header-inner img {
  width: 185px;
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #5b5362;
  font-size: 12px;
}

.header-inner nav a:hover {
  color: var(--purple);
}

.nav-cta {
  padding: 7px 15px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  color: var(--purple) !important;
}


/* =========================================================
   4. Navegação estrutural
   ========================================================= */

.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding-top: 26px;
  color: #88818d;
  font-size: 11px;
}

.crumb a {
  color: var(--purple);
}


/* =========================================================
   5. Hero
   ========================================================= */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 72px;
  margin: 0;
  padding: 62px 0 72px;
}

.hero::before {
  position: absolute;
  top: 40px;
  left: -180px;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: #ede5f5;
  content: "";
  filter: blur(60px);
}

.hero h1 {
  max-width: 720px;
  margin: 12px 0 25px;
  font-size: clamp(44px, 5.1vw, 72px);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 1.02;
}

.hero > div > p:not(.eyebrow):not(.proof) {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
}

.proof {
  margin: 22px 0 0 !important;
}

.proof a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

.proof a::before {
  color: #f2a900;
  content: "★★★★★";
  letter-spacing: 2px;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: 7px;
  background: var(--purple);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 470px;
  border-radius: 7px;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 3px;
  background: rgba(31, 22, 43, 0.86);
  color: #fff;
  font-size: 10px;
}

.hero-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 410px;
  padding: 46px;
  border-radius: 7px;
  background: linear-gradient(145deg, #2d2040, #1f172a);
  color: #fff;
}

.hero-note::before {
  display: none;
}

.hero-note h2 {
  margin: 0 0 15px;
  font-size: 32px;
}

.hero-note p {
  color: #e5ddeb;
}


/* =========================================================
   6. Faixa de diferenciais
   ========================================================= */

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-strip div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
}

.value-strip div:first-child {
  padding-left: 0;
}

.value-strip div:last-child {
  border-right: 0;
}

.value-strip b {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  height: 36px;
  border-radius: 50%;
  background: #efe8f6;
  color: var(--purple);
  font-size: 12px;
}

.value-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.value-strip strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}


/* =========================================================
   7. Conteúdo principal e navegação lateral
   ========================================================= */

.body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(270px, 0.65fr);
  align-items: start;
  gap: 85px;
}

.copy {
  counter-reset: content;
}

.copy > section:not(#duvidas) {
  position: relative;
  margin: 0 0 46px;
  padding: 0 0 44px 82px;
  border-bottom: 1px solid var(--line);
  counter-increment: content;
}

.copy > section:not(#duvidas)::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--purple);
  content: "0" counter(content);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.copy h2,
.body-grid aside h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.body-grid aside {
  position: sticky;
  top: 120px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.body-grid aside h2 {
  font-size: 24px;
}

.body-grid aside a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: #554c5f;
  font-size: 13px;
}

.body-grid aside a::after {
  color: var(--purple);
  content: "↗";
}

.body-grid aside a:hover {
  color: var(--purple);
}

.body-grid aside p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.aside-label {
  color: var(--purple) !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}


/* =========================================================
   8. Perguntas frequentes
   ========================================================= */

#duvidas {
  margin: 70px 0 20px;
  padding: 50px;
  border-radius: 8px;
  background: #faf9fb;
}

#duvidas h2 {
  margin-bottom: 12px;
}

details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding-right: 35px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: -4px;
  right: 0;
  color: var(--purple);
  content: "+";
  font-size: 24px;
  font-weight: 300;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-bottom: 0;
  padding: 12px 35px 0 0;
  font-size: 14px !important;
}


/* =========================================================
   9. Regiões atendidas
   ========================================================= */

.regions-section {
  margin: 85px 0;
}

.regions-section > p:not(.eyebrow) {
  color: var(--muted);
}

.regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.regions p {
  margin: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  break-inside: avoid;
}

.regions strong {
  font-size: 14px;
}

.regions a {
  display: inline-block;
  margin-top: 8px;
  color: var(--purple);
}


/* =========================================================
   10. Chamada final
   ========================================================= */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  margin: 80px 0;
  padding: 48px 52px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(115deg, #21172e, #3b2750);
  color: #fff;
}

.cta::after {
  position: absolute;
  top: -115px;
  right: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.cta .eyebrow {
  color: var(--lilac) !important;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.cta p {
  margin: 0;
  color: #ddd2e7;
  font-size: 14px;
}

.cta .btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}


/* =========================================================
   11. Rodapé
   ========================================================= */

footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.footer-inner img {
  width: 165px;
  margin-bottom: 14px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.footer-inner a {
  color: var(--purple);
  font-size: 12px;
}


/* =========================================================
   12. WhatsApp flutuante
   ========================================================= */

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 7px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s;
}

.floating-wa::before {
  position: absolute;
  right: 68px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.12);
  color: #2e2833;
  content: "Orçamento";
  font-size: 11px;
  font-weight: 600;
}

.floating-wa img {
  width: 58px;
  height: 58px;
}

.floating-wa:hover {
  transform: translateY(-2px);
}


/* =========================================================
   13. Responsividade — tablets
   ========================================================= */

@media (max-width: 900px) {
  .header-inner,
  main,
  .footer-inner {
    width: min(100% - 44px, 1180px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-visual img {
    height: 410px;
  }

  .body-grid {
    grid-template-columns: 1fr;
  }

  .body-grid aside {
    position: static;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-strip div,
  .value-strip div:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-strip div:last-child {
    border-bottom: 0;
  }

  .regions {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================================================
   14. Responsividade — celulares
   ========================================================= */

@media (max-width: 640px) {
  .header-inner {
    height: 72px;
  }

  .header-inner img {
    width: 150px;
  }

  .header-inner nav a:not(.nav-cta) {
    display: none;
  }

  .header-inner,
  main,
  .footer-inner {
    width: calc(100% - 36px);
  }

  .crumb {
    padding-top: 18px;
  }

  .hero {
    gap: 30px;
    padding: 38px 0 52px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero > div > p:not(.eyebrow):not(.proof) {
    font-size: 15px;
  }

  .hero-visual::before {
    inset: 10px -10px -10px 10px;
  }

  .hero-visual img {
    height: 310px;
  }

  .value-strip {
    margin-bottom: 55px;
  }

  .body-grid {
    gap: 50px;
  }

  .copy > section:not(#duvidas) {
    margin-bottom: 35px;
    padding: 0 0 34px 42px;
  }

  .copy h2 {
    font-size: 28px;
  }

  #duvidas {
    margin-top: 45px;
    padding: 30px 22px;
  }

  .regions {
    grid-template-columns: 1fr;
  }

  .cta {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 55px 0;
    padding: 34px 26px;
  }

  .cta h2 {
    font-size: 29px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .floating-wa {
    right: 15px;
    bottom: 15px;
  }

  .floating-wa::before {
    display: none;
  }
}


/* =========================================================
   15. Preferências de movimento
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .floating-wa {
    transition: none;
  }
}
