/* DrDash — Landing Page
   ------------------------------------------------------------- */

/* Tokens (extraídos do app) */
:root {
  --teal-50:  #E1F5EE;
  --teal-100: #9FE1CB;
  --teal-200: #5DCAA5;
  --teal-400: #1D9E75;
  --teal-600: #0F6E56;
  --teal-800: #085041;

  --bg:      #F4F6FA;
  --surf:    #FFFFFF;
  --text:    #111827;
  --muted:   #6B7280;
  --hint:    #9CA3AF;
  --border:  rgba(0,0,0,0.08);
  --divider: rgba(0,0,0,0.06);
  --error:   #E24B4A;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-hero: 0 30px 80px -20px rgba(29,158,117,0.25);

  --container: 1200px;
  --section-pad: clamp(64px, 10vw, 120px);

  --font: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, iframe, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-400); }
button { font-family: inherit; }

.grid > *, .flex > * { min-width: 0; }

:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #fff; padding: 8px 16px;
  border-radius: var(--radius-md); z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Tipografia */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 18px; font-weight: 600; }
p  { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-600);
  background: rgba(29,158,117,0.10);
  border-radius: 999px; padding: 4px 12px;
  margin-bottom: 16px;
}

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: 0;
  transition: background .15s, transform .15s, border-color .15s, color .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal-400); color: #fff;
}
.btn-primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(0,0,0,0.12);
  font-weight: 500;
  padding: 11px 20px;
}
.btn-ghost:hover { border-color: var(--teal-400); background: rgba(29,158,117,0.04); color: var(--text); }

.btn-lg { padding: 16px 32px; font-size: 17px; }

.btn .ti { font-size: 18px; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 64px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: var(--text); font-size: 15px; font-weight: 500;
}
.nav-links a:hover { color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 9px 16px; font-size: 14px; }
.nav-cta .btn-lg { padding: 9px 16px; font-size: 14px; }

.nav-burger {
  display: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  font-size: 22px; color: var(--text);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .nav-account { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 540px) {
  .nav-cta .btn-demo-top { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(17,24,39,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: absolute; top: 0; right: 0;
  width: min(320px, 86vw); height: 100%;
  background: var(--surf);
  padding: 20px;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.drawer a {
  display: block; padding: 14px 12px;
  color: var(--text); font-weight: 500; font-size: 16px;
  border-radius: var(--radius-md);
}
.drawer a:hover { background: var(--bg); color: var(--teal-600); }
.drawer .btn { margin-top: 8px; justify-content: center; }
/* Restore button colors — `.drawer a { color: var(--text) }` above
   wins over `.btn-primary` by specificity, making the white-on-teal
   button render with dark text in the drawer. */
.drawer a.btn-primary { color: #fff; }
.drawer a.btn-primary:hover { color: #fff; }
.drawer-close {
  background: transparent; border: 0; font-size: 24px;
  width: 40px; height: 40px; cursor: pointer; color: var(--text);
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(29,158,117,0.10), transparent 60%),
    var(--bg);
}
.hero-inner { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.hero h1 { margin-bottom: 20px; text-wrap: balance; }
.hero h1 .accent { color: var(--teal-600); }
.hero-sub { color: var(--muted); font-size: clamp(16px, 1.8vw, 20px); max-width: 640px; margin: 0 auto 32px; text-wrap: pretty; }
.hero-ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-meta {
  margin-top: 24px;
  font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-meta .ti { color: var(--teal-400); }

/* Browser frame */
.browser {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #F9FAFB;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #E5E7EB;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1 1 0; min-width: 0; max-width: 420px;
  overflow: hidden;
  background: var(--surf); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px;
  font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font);
}
.browser-url .ti { font-size: 14px; color: var(--teal-400); flex-shrink: 0; }
.browser-url > span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  min-width: 0;
}
.browser-url strong { color: var(--text); font-weight: 500; }
.browser-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  background: #F4F6FA;
}

/* Sections base */
section { padding: var(--section-pad) 0; }
.section-light { background: var(--surf); }

/* Para quem é */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.audience-card:hover {
  border-color: rgba(29,158,117,0.30);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.audience-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-50); color: var(--teal-600);
  font-size: 22px; margin-bottom: 16px;
}
.audience-card h3 { margin-bottom: 10px; }
.audience-card .kpis {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 6px;
}
.audience-card .kpis li {
  font-size: 14px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.audience-card .kpis .ti { color: var(--teal-400); font-size: 16px; }

@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* Como funciona */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--teal-600);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.step-num::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--teal-200);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.feature-card:hover {
  border-color: rgba(29,158,117,0.30);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(29,158,117,0.10); color: var(--teal-400);
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

/* Demo screenshots */
.demo-stack {
  display: grid;
  gap: 28px;
  min-width: 0;
  width: 100%;
}
.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 0;
  width: 100%;
}
.demo-card {
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
  width: 100%;
  margin: 0;                  /* override <figure> default margin (40px L/R) */
}
.demo-card .browser {
  box-shadow: var(--shadow-md);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;                  /* override the global .browser margin: 0 auto */
}
.demo-card figcaption {
  font-size: 14px; color: var(--muted);
  padding: 0 4px;
}
.demo-card figcaption strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .demo-row { grid-template-columns: 1fr; gap: 24px; }
}

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surf);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .15s;
}
.faq-item[open] { border-color: rgba(29,158,117,0.30); }
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-weight: 600; font-size: 16px; color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\ea61"; /* ti-plus */
  font-family: 'tabler-icons';
  font-size: 18px; color: var(--teal-400);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 20px;
  color: var(--muted); font-size: 15px;
  line-height: 1.6;
}

/* CTA final */
.final-cta {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(29,158,117,0.12), transparent 60%),
    var(--bg);
}
.final-card {
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 6vw, 64px);
  box-shadow: var(--shadow-lg);
}
.final-card-compact {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.final-card-compact h2 { margin-bottom: 12px; text-wrap: balance; }
.final-card-compact .lead {
  color: var(--muted); font-size: 17px;
  margin: 0 auto 28px; max-width: 520px;
}
.final-card-compact .btn { margin: 0 auto; }
.final-card-compact .final-foot {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.final-card-compact .final-foot a {
  color: var(--teal-600); font-weight: 600; text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--surf);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 280px; }
.footer h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--hint);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; }
.footer ul a:hover { color: var(--teal-600); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 18px;
}
.footer-social a:hover { color: var(--teal-600); border-color: var(--teal-200); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  font-size: 13px; color: var(--hint);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Pricing */
.pricing-toggle-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pricing-toggle {
  display: inline-flex;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.pt-btn {
  border: 0; background: transparent;
  font-family: var(--font); font-weight: 600; font-size: 14px;
  color: var(--muted);
  padding: 8px 18px; border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.pt-btn.active {
  background: var(--teal-400); color: #fff;
}
.pt-btn:hover:not(.active) { color: var(--text); }
.pricing-save {
  font-size: 13px; font-weight: 500; color: var(--teal-600);
  background: var(--teal-50);
  border-radius: 999px;
  padding: 6px 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
  /* room for the highlighted card's scale */
  padding: 20px 0;
}
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.plan-card:not(.plan-highlight):hover {
  border-color: rgba(29,158,117,0.30);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.plan-highlight {
  border: 2px solid var(--teal-400);
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.plan-tag {
  position: absolute; top: 0; right: 0;
  background: var(--teal-600); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 12px;
  border-top-right-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}
.plan-head { margin-bottom: 20px; }
.plan-name {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.plan-desc {
  color: var(--muted); font-size: 14px;
  min-height: 40px;
}
.plan-price {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.plan-amount {
  font-size: 36px; font-weight: 700; color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.plan-period {
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.plan-annual-note {
  font-size: 12px; color: var(--hint); margin-top: 6px;
  visibility: hidden;
  min-height: 16px;
}
.plan-annual-note.visible { visibility: visible; }

.plan-cta { width: 100%; justify-content: center; margin-bottom: 24px; }

.plan-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--text);
  flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.4;
}
.plan-features .ti { color: var(--teal-400); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.plan-feature-muted { color: var(--hint); }
.plan-feature-muted .ti { color: var(--hint); }
.plan-divider {
  height: 1px;
  background: var(--divider);
  margin: 6px 0;
  list-style: none;
}

/* Enterprise full-width card */
.plan-enterprise {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px;
}
.enterprise-content { min-width: 0; }
.enterprise-features {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 14px; color: var(--muted);
}
.enterprise-features li { display: inline-flex; align-items: center; gap: 8px; }
.enterprise-features .ti { color: var(--teal-400); font-size: 16px; }

.pricing-foot {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-highlight { transform: none; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; padding: 0; }
  .plan-highlight { transform: none; }
  .plan-enterprise { grid-template-columns: 1fr; text-align: left; }
  .plan-enterprise .btn { justify-self: stretch; justify-content: center; }
}

/* ─── Página /contato ─────────────────────────────────────────────────── */

.contato-page { padding: 0 0 60px; }

.contato-hero {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 0 32px;
}
.contato-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 8px 0 14px;
}
.contato-hero p {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

.contato-channels { padding-top: 0; }

/* Card de email — destaque principal */
.contato-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.contato-card:hover {
  border-color: rgba(29,158,117,.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--text);
}

.contato-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(29,158,117,.10);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contato-card-icon i { font-size: 28px; color: var(--teal-400); }

.contato-card-body { min-width: 0; }
.contato-card-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contato-card-value {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
  margin: 0 0 4px;
}
.contato-card-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.contato-card-arrow {
  font-size: 22px;
  color: var(--hint);
  flex-shrink: 0;
  transition: transform .15s, color .15s;
}
.contato-card:hover .contato-card-arrow {
  color: var(--teal-400);
  transform: translate(2px, -2px);
}

/* Bloco do formulário */
.contato-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surf);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contato-form-wrap h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.contato-form-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 24px;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contato-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contato-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contato-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.contato-field label span { color: var(--error); margin-left: 2px; }

.contato-field input,
.contato-field textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.contato-field input:focus,
.contato-field textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(29,158,117,.12);
}
.contato-field input::placeholder,
.contato-field textarea::placeholder { color: var(--hint); }
.contato-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }

/* Só pinta de vermelho DEPOIS que o usuário interage com o campo (tira foco
   ou tenta submeter) — :user-invalid não dispara no carregamento da página. */
.contato-field input:user-invalid,
.contato-field textarea:user-invalid {
  border-color: var(--error);
}
.contato-field input:user-invalid:focus,
.contato-field textarea:user-invalid:focus {
  box-shadow: 0 0 0 3px rgba(226,75,74,.15);
}

/* Honeypot — visualmente invisível, mas presente no DOM pra bots */
.contato-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit + status */
.contato-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.contato-submit {
  position: relative;
  min-width: 200px;
  justify-content: center;
}
.contato-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.contato-submit-spinner {
  display: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: contato-spin .8s linear infinite;
}
.contato-submit.loading .contato-submit-label { visibility: hidden; }
.contato-submit.loading .contato-submit-spinner {
  display: inline-block;
  position: absolute;
  left: 50%; top: 50%;
  margin-left: -8px; margin-top: -8px;
}
@keyframes contato-spin { to { transform: rotate(360deg); } }

.contato-status {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.contato-status.error { color: var(--error); }

/* Estado de sucesso — substitui o form */
.contato-success {
  text-align: center;
  padding: 16px 8px 8px;
}
.contato-success i {
  font-size: 56px;
  color: var(--teal-400);
  display: block;
  margin-bottom: 8px;
}
.contato-success h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.contato-success p {
  color: var(--muted);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

/* Responsivo */
@media (max-width: 600px) {
  .contato-card {
    grid-template-columns: auto 1fr;
    padding: 18px 20px;
  }
  .contato-card-arrow { display: none; }
  .contato-card-value { font-size: 17px; }
  .contato-form-wrap { padding: 22px; }
  .contato-row { grid-template-columns: 1fr; }
  .contato-submit { min-width: 0; width: 100%; }
}

/* Lightbox para screenshots */
.zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 18, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 1000;
  opacity: 0;
  transition: opacity .18s ease;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  background: #F4F6FA;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.24); }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
}
.wa-float:focus-visible {
  outline: 3px solid rgba(37,211,102,.45);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 28px; }
}
