/* ─────────────────────────────────────────────────────────────
   Twickt Idiomas — Landing institucional
   Marca: #F6B243 (amarelo dourado Twickt)
   Tipografia: Inter (mesma do app em app.twickt.com)
   ───────────────────────────────────────────────────────────── */

:root {
  /* Marca — escala derivada do #F6B243 (cor primária oficial) */
  --brand-50:  #FEF8EC;
  --brand-100: #FDEFCF;
  --brand-200: #FBDE9F;
  --brand-300: #F9CC6F;
  --brand-400: #F7BD55;
  --brand-500: #F6B243; /* ★ cor principal da marca */
  --brand-600: #E89A1A;
  --brand-700: #B57613;
  --brand-800: #82540D;
  --brand-900: #503307;

  /* Neutras — slate (mesma escala usada na plataforma) */
  --slate-50:  #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-card:  0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px -1px rgba(15, 23, 42, .04);
  --shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, .12), 0 8px 10px -6px rgba(15, 23, 42, .06);
  --shadow-brand: 0 12px 30px -10px rgba(246, 178, 67, .45);

  --container-w: 1180px;
}

/* ───────────────────────── reset minimal ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; list-style: none; }

/* ───────────────────────── containers ───────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

.section { padding: 96px 0; }
.section-alt { background: var(--slate-50); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--slate-900);
  margin: 12px 0 16px;
}
.section-head p { color: var(--slate-600); font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ───────────────────────── botões ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand-500);
  color: var(--slate-900);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-900);
}
.btn-secondary:hover { background: var(--slate-200); }

.btn-ghost {
  background: transparent;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-700); }

/* ───────────────────────── header ───────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: var(--brand-500);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-brand);
}
.brand-text { font-size: 18px; color: var(--slate-900); }
.brand-text em { color: var(--brand-700); font-style: normal; font-weight: 500; }

.nav-desktop { display: none; gap: 28px; }
.nav-desktop a {
  font-size: 15px; font-weight: 500; color: var(--slate-600);
  transition: color .15s;
}
.nav-desktop a:hover { color: var(--brand-700); }

.header-cta { display: none; gap: 10px; }

.nav-toggle {
  width: 40px; height: 40px;
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 4px; padding: 8px; border-radius: 8px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--slate-700); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--slate-200);
  background: #fff;
}
.nav-mobile a { font-size: 16px; font-weight: 500; color: var(--slate-700); }
.nav-mobile .btn { margin-top: 4px; }

@media (min-width: 880px) {
  .nav-desktop, .header-cta { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ───────────────────────── hero ───────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(246, 178, 67, .18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 30%, rgba(246, 178, 67, .10), transparent 60%),
    #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid; gap: 56px;
  align-items: center;
  grid-template-columns: 1fr;
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 16px 0 20px;
  color: var(--slate-900);
}
.hero-copy h1 .hl {
  background: linear-gradient(120deg, var(--brand-500) 0%, var(--brand-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .lead {
  font-size: 18px; color: var(--slate-600); max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 14px; color: var(--slate-600);
}
.hero-trust .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--brand-100); color: var(--brand-700);
  font-weight: 700; font-size: 11px; margin-right: 6px;
}

/* Hero visual — cards "screenshot" da plataforma */
.hero-visual {
  position: relative;
  min-height: 420px;
}
.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 18px 20px;
}
.hero-card--main { top: 30px; left: 0; width: 78%; }
.hero-card--alt  { bottom: 30px; right: 0; width: 56%; }
.hero-card--small{ top: 0; right: 6%; width: 42%; }

.hero-card-row { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--slate-500); }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.dot--green { background: #10B981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
  50%     { box-shadow: 0 0 0 8px rgba(16, 185, 129, .05); }
}
.hero-card-title { font-weight: 700; margin: 10px 0 4px; color: var(--slate-900); }
.hero-card-meta  { font-size: 13px; color: var(--slate-500); }
.hero-card-bar {
  height: 6px; background: var(--slate-100); border-radius: 999px;
  margin-top: 14px; overflow: hidden;
}
.hero-card-bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  border-radius: 999px;
}
.hero-card-label { font-size: 12px; color: var(--slate-500); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hero-card-score {
  font-size: 44px; font-weight: 800; color: var(--brand-600); margin: 6px 0;
  letter-spacing: -0.02em;
}
.hero-card-score span { font-size: 16px; color: var(--slate-400); font-weight: 500; margin-left: 4px; }
.hero-card-tip { font-size: 13px; color: var(--slate-600); }
.hero-card-streak { font-size: 28px; font-weight: 800; color: var(--slate-900); margin-top: 6px; }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 80px; }
}

/* ───────────────────────── barra de estatísticas ───────────────────────── */
.bar-stats {
  background: var(--slate-900);
  color: #fff;
  padding: 36px 0;
}
.bar-stats-inner {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  text-align: center;
}
.bar-stats-inner > div { display: flex; flex-direction: column; gap: 4px; }
.bar-stats-inner strong { font-size: 28px; font-weight: 800; color: var(--brand-500); letter-spacing: -0.02em; }
.bar-stats-inner span { font-size: 13px; color: var(--slate-300); }
@media (min-width: 720px) { .bar-stats-inner { grid-template-columns: repeat(4, 1fr); } }

/* ───────────────────────── grids ───────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ───────────────────────── feature cards ───────────────────────── */
.feature-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-50);
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--slate-900); }
.feature-card p  { color: var(--slate-600); font-size: 15px; }

/* ───────────────────────── resource cards ───────────────────────── */
.resource-card {
  background: #fff;
  border-left: 3px solid var(--brand-500);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  box-shadow: var(--shadow-card);
}
.resource-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--slate-900); }
.resource-card p  { color: var(--slate-600); font-size: 15px; }

/* ───────────────────────── steps ───────────────────────── */
.steps {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  counter-reset: step;
  max-width: 980px; margin: 0 auto;
}
.steps li {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--brand-500); color: #fff;
  border-radius: 999px;
  font-weight: 800; font-size: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-brand);
}
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--slate-900); }
.steps p  { color: var(--slate-600); }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ───────────────────────── depoimentos ───────────────────────── */
.quote {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute; top: 8px; left: 18px;
  font-size: 60px; line-height: 1;
  color: var(--brand-300);
  font-family: Georgia, serif;
}
.quote p { color: var(--slate-700); font-size: 15px; padding-top: 18px; }
.quote footer { margin-top: 16px; font-size: 13px; color: var(--slate-500); font-weight: 500; }

/* ───────────────────────── planos ───────────────────────── */
.plans .plan {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan h3 { font-size: 18px; font-weight: 700; color: var(--slate-700); }
.plan-price {
  margin: 12px 0 22px;
  font-size: 44px; font-weight: 800; color: var(--slate-900);
  letter-spacing: -0.02em; line-height: 1;
}
.plan-price span { font-size: 18px; color: var(--slate-500); margin-right: 4px; vertical-align: super; }
.plan-price small { font-size: 14px; color: var(--slate-500); font-weight: 500; margin-left: 4px; }
.plan ul { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan li {
  padding-left: 26px; position: relative; font-size: 15px; color: var(--slate-700);
}
.plan li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--brand-100); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  top: 4px;
}
.plan .btn { margin-top: auto; }

.plan-featured {
  border-color: var(--brand-500);
  box-shadow: 0 20px 40px -20px rgba(246, 178, 67, .35);
  transform: translateY(-4px);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-500); color: var(--slate-900);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}
.plans-foot {
  text-align: center; margin-top: 32px;
  color: var(--slate-600); font-size: 15px;
}
.plans-foot a { color: var(--brand-700); font-weight: 600; border-bottom: 1px solid var(--brand-200); }

/* ───────────────────────── faq ───────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--brand-300); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--slate-900);
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: -2px;
  font-size: 22px; color: var(--brand-600); font-weight: 600;
  transition: transform .2s;
}
.faq details[open] summary::after { content: '−'; }
.faq p { margin-top: 12px; color: var(--slate-600); font-size: 15px; }

/* ───────────────────────── cta final ───────────────────────── */
.cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  color: var(--slate-900);
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 12px;
}
.cta-final p { font-size: 17px; opacity: .85; max-width: 560px; margin: 0 auto; }
.cta-final .cta-actions { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }
.cta-final .btn-primary { background: var(--slate-900); color: #fff; }
.cta-final .btn-primary:hover { background: #000; }
.cta-final .btn-ghost { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); color: var(--slate-900); }
.cta-final .btn-ghost:hover { background: rgba(255,255,255,.35); color: var(--slate-900); }

/* ───────────────────────── footer ───────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text em { color: var(--brand-400); }
.footer-brand p { margin-top: 12px; font-size: 14px; color: var(--slate-400); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .03em; text-transform: uppercase; }
.footer-col a { display: block; margin-bottom: 8px; color: var(--slate-300); font-size: 14px; }
.footer-col a:hover { color: var(--brand-400); }
.footer-bottom {
  border-top: 1px solid var(--slate-700);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--slate-400);
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

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