/* Planilha Financeira CLT 2027 — página de vendas
   Identidade: teal #1F6F6B, fundo #EAF4F3, destaque #F2A900 (só acento).
   Sem fontes externas. Sem frameworks. */

:root {
  --teal: #1F6F6B;
  --teal-ink: #154E4B;
  --teal-soft: #EAF4F3;
  --amber: #F2A900;
  --ink: #1A2423;
  --muted: #3D4F4D;
  --line: #D5E3E2;
  --bg: #F7FBFA;
  --card: #FFFFFF;
  --bezel: #1C1C1E;
  --focus: #154E4B;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 40rem;
  --pad: 1.25rem;
  --radius: 1rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img, video { max-width: 100%; height: auto; }

a {
  color: var(--teal-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10;
  background: var(--card);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
}

.skip:focus { top: 0.75rem; }

/* —— layout —— */
.wrap {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin-inline: auto;
}

.section {
  padding: 3.25rem 0;
}

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

.section-white { background: var(--card); }

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(1.7rem, 6.4vw, 2.35rem); }

h2 { font-size: clamp(1.4rem, 5vw, 1.85rem); }

h3 { font-size: 1.1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

p:last-child { margin-bottom: 0; }

.lede { color: var(--muted); }

.muted { color: var(--muted); }

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--teal-ink);
}

/* —— botão / CTA —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -10px rgba(21, 78, 75, .7);
}

.btn:hover {
  background: var(--teal-ink);
  color: #fff;
}

.btn:active { transform: translateY(1px); }

.cta-block { margin-top: 1.4rem; }

.micro {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

/* —— preço —— */
.price {
  margin: 1.35rem 0 0.15rem;
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.price-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

/* —— telefone / prints —— */
.figure {
  margin: 1.25rem 0 0;
  text-align: center;
}

.figure + .figure { margin-top: 1.75rem; }

.phone {
  width: min(17.75rem, 74vw);
  margin-inline: auto;
  background: var(--bezel);
  border: 0.45rem solid var(--bezel);
  border-radius: 1.55rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.06),
    0 16px 36px -14px rgba(26, 36, 35, .45);
}

.phone img,
.phone video {
  display: block;
  width: 100%;
  height: auto;
}

.caption {
  margin: 0.7rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* —— hero —— */
.hero {
  padding: 2rem 0 3.25rem;
  background:
    linear-gradient(180deg, var(--teal-soft) 0%, var(--teal-soft) 62%, var(--bg) 100%);
}

.hero { padding-top: 1.25rem; }
.hero .phone { width: min(15.25rem, 68vw); }
.hero .figure { margin-top: 1.75rem; margin-bottom: 0; }

/* —— blocos de texto —— */
.subhead {
  margin: 1.35rem 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.benefit { margin-top: 1.5rem; }

.benefit h3 { margin-bottom: 0.35rem; }

.prints { margin-top: 2rem; }

/* —— carrossel —— */
.swipe-hint {
  margin: 0.15rem 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem var(--pad) 1.1rem;
  margin-inline: calc(var(--pad) * -1);
  scrollbar-color: var(--teal) transparent;
}

.carousel:focus-visible { outline-offset: -3px; }

.slide {
  flex: 0 0 min(18.5rem, 78vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 0.9rem 1.15rem;
}

.slide h3 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

.slide p { font-size: 0.95rem; color: var(--muted); }

.slide .figure { margin-top: 0.9rem; }

.slide .phone { width: min(16rem, 100%); }

/* —— passos —— */
.steps {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.steps li {
  position: relative;
  margin: 0 0 1.15rem;
  padding: 0 0 0 3rem;
}

.steps li:last-child { margin-bottom: 0; }

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.steps li::before {
  counter-increment: passo;
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* —— oferta —— */
.offer-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.4rem 1.2rem 1.5rem;
  box-shadow: 0 10px 30px -18px rgba(26, 36, 35, .35);
}

.offer-card > h3 { margin-bottom: 0.45rem; }

.offer-list {
  margin: 1rem 0 0;
  padding: 0 0 0 1.15rem;
}

.offer-list li { margin: 0 0 0.45rem; }

.offer-list li:last-child { margin-bottom: 0; }

/* —— selo garantia —— */
.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1.35rem 0 0;
  padding: 0.7rem 1rem;
  border: 2px solid var(--teal);
  border-radius: 999px;
  color: var(--teal-ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  background: var(--card);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

/* —— FAQ —— */
.faq { margin-top: 0.5rem; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.15rem 0;
}

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.6rem 0.95rem 0;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.1rem;
  top: 1.2rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--teal-ink);
  border-bottom: 2px solid var(--teal-ink);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  top: 1.35rem;
  transform: rotate(225deg);
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* —— rodapé —— */
.site-footer {
  padding: 2rem 0 2.4rem;
  background: var(--ink);
  color: #EAF4F3;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer a { color: #EAF4F3; }

.site-footer a:hover { color: #fff; }

.site-footer p { margin: 0 0 0.45rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

/* —— páginas legais —— */
.legal-header {
  background: var(--teal-soft);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-header a {
  font-weight: 700;
  color: var(--teal-ink);
  text-decoration: none;
}

.legal-header a:hover { text-decoration: underline; }

.legal h1 { margin-top: 0.3rem; }

.legal .updated {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.legal ul { margin: 0 0 1rem; padding-left: 1.15rem; }

.legal li { margin: 0 0 0.4rem; }

/* —— desktop —— */
@media (min-width: 800px) {
  :root { --wrap: 58rem; }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18.5rem;
    gap: 3rem;
    align-items: center;
  }

  .hero .figure {
    margin: 0;
  }

  .btn { width: auto; min-width: 18rem; }

  .cta-block .btn { width: 100%; }

  .prints {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
  }

  .prints .figure { margin-top: 0; }

  .prints .phone { width: 100%; max-width: 17.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}
