/* ContaBase — folha de estilos do site estático */
:root {
  --radius: 0.75rem;
  --background: #fafafa;
  --foreground: #18181b;
  --card: #ffffff;
  --primary: #10b981;
  --primary-foreground: #ffffff;
  --secondary: #f4f4f5;
  --muted-foreground: #52525b;
  --border: #e4e4e7;
  --brand-dark: #064e3b;
  --brand-surface: #ecfdf5;
  --brand-surface-foreground: #047857;
  --ink: #18181b;
  --ink-foreground: #fafafa;
  --ink-muted: #a1a1aa;
  --amber-soft: #fffbeb;
  --amber-soft-foreground: #d97706;
  --max: 72rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 5rem; }
.section--tinted { background: var(--secondary); }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.25rem); }
.lead { color: var(--muted-foreground); max-width: 56ch; font-size: 1.0625rem; }
.muted { color: var(--muted-foreground); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.75rem;
  border: 0;
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 12px 24px -12px rgba(16, 185, 129, 0.6);
}
.btn--primary:disabled { opacity: 0.6; cursor: progress; }
.btn--ghost { background: var(--secondary); color: var(--foreground); }
.btn--ghost:hover { background: var(--border); }
.btn--block { width: 100%; }

/* Cabeçalho */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
}
.header__bar {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.125rem; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 0.5rem; background: var(--primary);
}
.brand__mark::after { content: ""; width: 0.75rem; height: 0.75rem; border-radius: 999px; background: #fff; }
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.nav a:hover { color: var(--foreground); }
.lang-select {
  font: inherit; font-size: 0.875rem; font-weight: 500;
  background: var(--secondary); color: var(--foreground);
  border: 1px solid var(--border); border-radius: 0.5rem; padding: 0.375rem 0.5rem;
}
.menu-btn {
  background: none; border: 0; font: inherit; font-size: 0.875rem; font-weight: 500;
  color: var(--muted-foreground); cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--background); padding-block: 1rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }

@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 5rem; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px; filter: blur(80px); pointer-events: none;
}
.hero::before { top: -10rem; right: -8rem; width: 36rem; height: 36rem; background: rgba(16, 185, 129, 0.18); }
.hero::after { bottom: -13rem; left: -10rem; width: 32rem; height: 32rem; background: rgba(217, 119, 6, 0.12); }
.hero__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
  border-radius: 999px; background: var(--brand-surface); color: var(--brand-surface-foreground);
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.2);
}
.pill::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--primary); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--primary); }
.hero__sub { margin-bottom: 2rem; max-width: 58ch; color: var(--muted-foreground); font-size: 1.0625rem; }
.hero__ctas { display: flex; flex-direction: column; gap: 0.75rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stats dt { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.stats dd { margin-top: 0.25rem; font-size: 0.8125rem; color: var(--muted-foreground); }

.panel {
  border-radius: 32px; background: var(--ink); color: var(--ink-foreground);
  padding: 1.75rem; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.4);
}
.panel__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.panel__top span:first-child { font-size: 0.875rem; color: var(--ink-muted); }
.panel__badge {
  border-radius: 999px; background: rgba(16, 185, 129, 0.2); color: var(--primary);
  padding: 0.25rem 0.75rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.panel ul { display: grid; gap: 0.75rem; }
.panel li {
  display: flex; align-items: center; gap: 0.75rem; border-radius: 1rem;
  background: rgba(250, 250, 250, 0.06); padding: 0.75rem 1rem; font-size: 0.875rem;
}
.panel li::before {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 999px;
  background: rgba(16, 185, 129, 0.2) radial-gradient(circle, var(--primary) 0 4px, transparent 4px);
}
.panel__saving { margin-top: 1.75rem; border-radius: 1rem; background: var(--primary); color: #fff; padding: 1.25rem; }
.panel__saving p:first-child { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.panel__saving p:last-child { margin-top: 0.25rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.02em; }

@media (min-width: 640px) {
  .hero__ctas { flex-direction: row; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 6rem 7rem; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 5rem; }
  .section { padding-block: 7rem; }
}

/* Grelhas de cartões */
.grid { display: grid; gap: 1rem; }
.grid--4 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.section__head { max-width: 42rem; margin-bottom: 3rem; }
.section__head h2 { margin-bottom: 1rem; }

.card {
  position: relative; width: 100%; text-align: left; border: 0; font: inherit;
  border-radius: 24px; background: var(--card); padding: 1.5rem; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.3), 0 20px 40px -24px rgba(24, 24, 27, 0.35); }
.card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.card p { font-size: 0.875rem; color: var(--muted-foreground); }
.card__more { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; margin-bottom: 1rem;
  background: var(--brand-surface); color: var(--primary);
}
.icon--alt { background: var(--brand-surface); color: var(--brand-surface-foreground); }
.icon--amber { background: var(--amber-soft); color: var(--amber-soft-foreground); }
.icon i { display: block; width: 1rem; height: 1rem; background: currentColor; border-radius: 0.25rem; }
.icon i.round { border-radius: 999px; }
.icon i.hollow { background: none; border: 2px solid currentColor; }

/* Modal */
dialog.modal {
  width: min(36rem, calc(100% - 2rem));
  max-height: 85vh;
  border: 0; border-radius: 24px; padding: 1.75rem;
  background: var(--background); color: var(--foreground);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}
dialog.modal::backdrop { background: rgba(0, 0, 0, 0.6); }
.modal__head { display: flex; align-items: flex-start; gap: 1rem; padding-right: 2rem; }
.modal__head h3 { font-size: 1.25rem; }
.modal__head p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }
.modal__body { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
.modal__body h4 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-foreground); }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; width: 2rem; height: 2rem;
  border: 0; border-radius: 999px; background: none; color: var(--muted-foreground);
  font-size: 1.125rem; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--secondary); color: var(--foreground); }
.modal__actions { margin-top: 1.5rem; display: flex; flex-direction: column-reverse; gap: 0.75rem; }
@media (min-width: 640px) { .modal__actions { flex-direction: row; justify-content: flex-end; } }

.ticks { display: grid; gap: 0.625rem; }
.ticks li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.ticks li::before { content: ""; flex: none; margin-top: 0.5rem; width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--primary); }
.ticks--strong li { color: var(--foreground); }

/* Sobre */
.about { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .about { grid-template-columns: 1.1fr 0.9fr; } }
.about p { color: var(--muted-foreground); margin-bottom: 1rem; max-width: 60ch; }
.infobox { border-radius: 24px; background: var(--card); padding: 1.75rem; box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.06); }
.infobox h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-foreground); }
.infobox address, .infobox div { margin-top: 0.75rem; font-style: normal; }
.infobox address span { display: block; }
.infobox div span { display: block; font-size: 0.875rem; color: var(--muted-foreground); }
.infobox h3 + address + h3 { margin-top: 2rem; }
.infobox h3:nth-of-type(2) { margin-top: 2rem; display: block; }

/* Testemunhos */
.quote { border-radius: 24px; background: var(--card); padding: 1.5rem; box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.06); }
.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.stars span { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--primary); }
.quote blockquote { font-size: 1rem; line-height: 1.6; }
.quote figcaption { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.quote figcaption b { color: var(--foreground); }

/* Contacto */
.contact-card {
  max-width: 48rem; margin: 0 auto; border-radius: 32px;
  background: var(--brand-dark); color: #fafafa; padding: 2rem;
}
.contact-card h2 { margin-bottom: 0.5rem; }
.contact-card > p { margin-bottom: 2rem; font-size: 0.875rem; color: rgba(250, 250, 250, 0.7); }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.25rem; font-size: 0.75rem; font-weight: 500; color: rgba(250, 250, 250, 0.65); }
.field input, .field select, .field textarea {
  width: 100%; border-radius: 0.75rem; border: 0; padding: 0.75rem 1rem;
  background: rgba(250, 250, 250, 0.1); color: #fafafa; font: inherit; font-size: 0.875rem;
  box-shadow: inset 0 0 0 1px rgba(250, 250, 250, 0.2);
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(250, 250, 250, 0.5); }
.field select option { color: #18181b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.form-status { margin-top: 1rem; font-size: 0.875rem; min-height: 1.25rem; }
.form-status.is-error { color: #fca5a5; }
.form-status.is-success { color: #6ee7b7; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* Preçário */
.plan { border-radius: 24px; background: var(--card); padding: 1.5rem; box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.06); }
.plan--featured { background: var(--ink); color: var(--ink-foreground); box-shadow: none; }
.plan__tag { display: inline-block; margin-bottom: 1rem; border-radius: 999px; background: var(--primary); color: #fff; padding: 0.25rem 0.75rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.plan h2 { font-size: 1.125rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.25rem; margin-top: 0.5rem; }
.plan__price strong { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; }
.plan__price span { font-size: 0.875rem; color: var(--muted-foreground); }
.plan--featured .plan__price span, .plan--featured .plan__summary { color: var(--ink-muted); }
.plan__summary { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.plan .ticks { margin-top: 1.25rem; }
.plan--featured .ticks li { color: var(--ink-foreground); }

.rows { border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px rgba(24, 24, 27, 0.06); }
.rows > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border); font-size: 0.875rem; }
.rows > div:first-child { border-top: 0; }
.rows b { color: var(--primary); }

/* Rodapé */
.footer { border-top: 1px solid var(--border); padding-block: 3rem; }
.footer__top { display: flex; flex-direction: column; gap: 2rem; justify-content: space-between; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.footer address { margin-top: 1rem; font-style: normal; font-size: 0.875rem; color: var(--muted-foreground); }
.footer address span { display: block; }
.footer__legal { padding-top: 2rem; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); }
@media (min-width: 768px) { .footer__top { flex-direction: row; align-items: flex-start; } }
