﻿/* ═══════════════════════════════════════════
   DESIGN SYSTEM — notebook.care ads landing
   Tokens herdados do site principal
   ═══════════════════════════════════════════ */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-soft: rgba(13, 148, 136, 0.12);
  --accent: #f97316;
  --accent-hover: #ea580c;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 36px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.16);
  --container: 70rem;
  --hero-dark: #0f172a;
  --hero-dark-accent: #134e4a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

/* ═══════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════ */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}

.topbar-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;
}

/* ─── BRAND ─── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  line-height: 1;
}

.brand-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.brand-heart {
  position: absolute;
  top: -4px;
  right: -8px;
  animation: pulse-heart 2.2s infinite ease-in-out;
}

@keyframes pulse-heart {

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

  50% {
    transform: scale(1.16);
  }
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  padding-top: 0.1rem;
}

.brand-text span {
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.76rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.35);
  outline-offset: 2px;
}

.btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
  border-radius: 0.65rem;
}

.btn-lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-accent:focus-visible {
  outline-color: rgba(249, 115, 22, 0.4);
}

.btn-ghost-light {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.btn-ghost-light:hover {
  border-color: rgba(13, 148, 136, 0.45);
  color: var(--primary-hover);
}

/* ─── EYEBROW ─── */
.eyebrow {
  margin: 0 0 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

/* ═══════════════════════════════════════════
   SEÇÃO 1 — HERO DARK + FORM INLINE
   ═══════════════════════════════════════════ */
.hero-dark {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(13, 148, 136, 0.25), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.08), transparent 45%),
    linear-gradient(160deg, var(--hero-dark) 0%, var(--hero-dark-accent) 100%);
  padding: 7rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f8fafc;
  font-weight: 800;
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  color: rgba(203, 213, 225, 0.9);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: #fff;
}

.hero-whatsapp-btn {
  display: none;
}

/* ─── TRUST BADGES ─── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.9);
}

.trust-badge strong {
  color: #fff;
}

.trust-badge-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── FORM CARD (ELEVATED) ─── */
.hero-form-area {
  position: relative;
  z-index: 1;
}

.form-card-elevated {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.form-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.form-card-subtitle {
  margin: 0.2rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* ─── FORM ─── */
.lead-form {
  display: grid;
  gap: 0;
}

.field {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.6rem;
}

.field-row {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.field-row .field {
  margin-bottom: 0;
}

.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.label-hint {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.7rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(13, 148, 136, 0.8);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-light);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  margin: 0.15rem 0 0.65rem;
  color: #334155;
  cursor: pointer;
}

.checkbox-wrap input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.legal-note {
  margin: 0 0 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.legal-note a {
  color: var(--primary-hover);
  font-weight: 600;
}

.form-feedback {
  min-height: 1.1rem;
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  color: #dc2626;
  font-weight: 500;
}

/* ─── SUCCESS ─── */
.success-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.success-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.success-card p {
  margin: 0.5rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.success-card .btn+.btn {
  margin-top: 0.55rem;
}

/* ─── COMPLIANCE STRIP ─── */
.compliance-strip {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.5rem;
}

.compliance-item {
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.75);
  line-height: 1.5;
}

.compliance-item strong {
  color: rgba(226, 232, 240, 0.95);
}

/* ═══════════════════════════════════════════
   SECTIONS — General
   ═══════════════════════════════════════════ */
.section {
  padding-block: 4.5rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.03) 0%, transparent 100%);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   SEÇÃO 2 — KPIs + TESTIMONIALS
   ═══════════════════════════════════════════ */
.kpi-strip {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.kpi-value {
  margin: 0;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kpi-label {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.testimonial-grid {
  display: grid;
  gap: 0.85rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.stars {
  margin: 0;
  color: #f59e0b;
  font-size: 0.92rem;
  letter-spacing: 1px;
}

.testimonial-card p {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.testimonial-author {
  margin-top: 0.65rem;
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   SEÇÃO 3 — BENEFÍCIOS
   ═══════════════════════════════════════════ */
.benefits-grid {
  display: grid;
  gap: 1rem;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--primary-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.benefit-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.benefit-card a {
  color: var(--primary-hover);
  font-weight: 600;
}

.benefit-card a:hover {
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   SEÇÃO 4 — FAQ
   ═══════════════════════════════════════════ */
.faq-container {
  max-width: 48rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--text-light);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--primary);
}

.faq-item p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item a {
  color: var(--primary-hover);
  font-weight: 500;
}

.faq-cta {
  margin-top: 2rem;
  text-align: center;
}

.faq-cta p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer-divider {
  color: var(--border);
}

/* ═══════════════════════════════════════════
   FLOATING WHATSAPP
   ═══════════════════════════════════════════ */
.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  padding: 0.6rem 0.85rem 0.6rem 0.65rem;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-whatsapp:hover {
  background: #15803d;
  transform: scale(1.04);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(22, 163, 74, 0.35);
  outline-offset: 2px;
}

.floating-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
}

.floating-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════════
   ANIMATIONS — Reveal on scroll
   ═══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≥ 640px)
   ═══════════════════════════════════════════ */
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .kpi-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .compliance-strip {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Desktop (≥ 900px)
   ═══════════════════════════════════════════ */
@media (min-width: 900px) {
  .hero-dark {
    padding: 8rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }

  .hero-whatsapp-btn {
    display: inline-flex;
  }

  .form-card-elevated {
    padding: 1.75rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .floating-label {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.75rem;
  }
}

/* ═══════════════════════════════════════════
   ACESSIBILIDADE — Reduced motion
   ═══════════════════════════════════════════ */
@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}