/* ============================================================
   Destrava Global: Design System v2 (Tema Quente da Marca)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --coral:      #e36952;
  --orange:     #ff8f42;
  --amber:      #ffb348;
  --cream:      #fff7a2;
  --yellow:     #fff7a2;
  --navy:       #0f1729;
  --navy-mid:   #1a2340;
  --navy-light: #232f50;
  --white:      #ffffff;

  /* Light theme surfaces */
  --bg:         #FFFAF5;   /* warm off-white body */
  --surface:    #ffffff;
  --surface-2:  #FFF5EC;   /* warm cream sections */
  --surface-3:  #FFF0E0;   /* deeper warm tint */
  --border:     rgba(15,23,41,0.09);
  --txt:        #0f1729;
  --txt-2:      rgba(15,23,41,0.68);
  --txt-3:      rgba(15,23,41,0.42);

  /* Gradients */
  --grad-sunrise: linear-gradient(135deg, #e36952 0%, #ff8f42 50%, #ffb348 100%);
  --grad-warm:    linear-gradient(135deg, #FFF5EC 0%, #FFE8D0 100%);
  --grad-card:    linear-gradient(135deg, #1a2340 0%, #232f50 100%);
  --grad-hero:    radial-gradient(ellipse at 70% 50%, rgba(255,143,66,0.18) 0%, rgba(255,179,72,0.08) 50%, transparent 70%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad: 96px;
  --container:   1200px;
  --gap:         24px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* Transitions */
  --transition: all 0.25s ease;
  --transition-slow: all 0.4s ease;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(15,23,41,0.07);
  --shadow-md:  0 4px 24px rgba(15,23,41,0.10);
  --shadow-lg:  0 12px 48px rgba(15,23,41,0.13);
  --shadow-orange: 0 4px 24px rgba(255,143,66,0.30);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea, select { font-family: var(--font-body); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: var(--txt-2); }

/* On dark backgrounds, force white text */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.section-dark h1, .section-dark h2, .section-dark h3,
.hero h1, .hero h2, .hero h3 { color: var(--white); }

.bg-dark p, .section-dark p, .hero p { color: rgba(255,255,255,0.78); }

.text-gradient {
  background: var(--grad-sunrise);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cream  { color: var(--cream); }
.text-amber  { color: var(--amber); }
.text-orange { color: var(--orange); }
.text-coral  { color: var(--coral); }
.text-white  { color: var(--white); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--txt-3); }
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-sunrise);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,143,66,0.50);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn-outline:hover {
  background: var(--grad-sunrise);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* White outline override for dark section buttons */
.bg-dark .btn-outline,
.hero .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.bg-dark .btn-outline:hover,
.hero .btn-outline:hover {
  background: var(--grad-sunrise);
  border-color: transparent;
  color: #fff;
}

/* Outline variant for light backgrounds */
.btn-outline-dark {
  background: transparent;
  border: 2px solid rgba(15,23,41,0.25);
  color: var(--navy);
}
.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(15,23,41,0.05);
  color: var(--navy);
  border: 1px solid rgba(15,23,41,0.10);
}
.btn-ghost:hover {
  background: rgba(15,23,41,0.09);
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
}
.btn-amber:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 16px; font-size: 0.82rem; white-space: nowrap; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(15,23,41,0.0);
}

.nav.scrolled {
  background: rgba(15,23,41,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0;
}

/* Nav that starts opaque (for non-hero pages) */
.nav-solid {
  background: var(--navy) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
  background: rgba(255,179,72,0.10);
}

.nav-inner { gap: 16px; }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-portal-link {
  background: rgba(255,179,72,0.15) !important;
  color: var(--amber) !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-portal-link:hover {
  background: rgba(255,179,72,0.28) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

/* ── Section Backgrounds ─────────────────────────────────────── */
.section        { padding: var(--section-pad) 0; }
.section-sm     { padding: 64px 0; }
.section-lg     { padding: 120px 0; }

.bg-white   { background: var(--surface); }
.bg-warm    { background: var(--surface-2); }
.bg-warmer  { background: var(--surface-3); }
.bg-dark    { background: var(--navy); }
.section-dark { background: var(--navy); }
.bg-orange  { background: var(--grad-sunrise); }

/* ── Section Header ──────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; max-width: 600px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0 auto; }

/* On dark sections, force header colors */
.bg-dark .section-header h2,
.section-dark .section-header h2 { color: var(--white); }
.bg-dark .section-header p,
.section-dark .section-header p  { color: rgba(255,255,255,0.7); }
.bg-dark .section-header .eyebrow,
.section-dark .section-header .eyebrow { color: var(--amber); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: rgba(255,143,66,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Dark card variant (for dark sections) */
.card-dark {
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-dark:hover {
  border-color: rgba(255,179,72,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.card-dark h4, .card-dark h3 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.68); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--grad-sunrise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* Orange accent card */
.card-orange {
  background: var(--grad-sunrise);
  border: none;
  color: var(--white);
}
.card-orange h2, .card-orange h3, .card-orange h4 { color: var(--white); }
.card-orange p { color: rgba(255,255,255,0.88); }

/* ── Grid Layouts ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

/* ── Badge / Tag ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.badge-amber  { background: rgba(255,179,72,0.15); color: #b35c00; border: 1px solid rgba(255,143,66,0.25); }
.badge-coral  { background: rgba(227,105,82,0.12); color: var(--coral); border: 1px solid rgba(227,105,82,0.25); }
.badge-green  { background: rgba(72,199,142,0.12); color: #1a7a4a; border: 1px solid rgba(72,199,142,0.25); }
.badge-navy   { background: rgba(15,23,41,0.08);   color: var(--navy); border: 1px solid rgba(15,23,41,0.15); }

/* On dark bg, invert badge amber */
.bg-dark .badge-amber { background: rgba(255,179,72,0.18); color: var(--amber); }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group  { margin-bottom: 16px; }
.form-label  {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--txt-2);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1.5px solid rgba(15,23,41,0.15);
  border-radius: var(--radius-md);
  color: var(--navy);
  font-size: 0.95rem;
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,143,66,0.15);
}
.form-input::placeholder  { color: rgba(15,23,41,0.32); }
.form-select { cursor: pointer; }
.form-select option { background: #fff; color: var(--navy); }

/* Forms inside dark sections */
.bg-dark .form-label { color: rgba(255,255,255,0.72); }
.bg-dark .form-input, .bg-dark .form-select, .bg-dark .form-textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}
.bg-dark .form-input::placeholder { color: rgba(255,255,255,0.30); }

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,23,41,0.09), transparent);
  margin: 0;
}
.divider-dark {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}

/* ── Pill tabs / Toggle ──────────────────────────────────────── */
.toggle-wrap {
  display: inline-flex;
  background: rgba(15,23,41,0.06);
  border: 1.5px solid rgba(15,23,41,0.10);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}
.toggle-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(15,23,41,0.50);
  transition: var(--transition);
  cursor: pointer;
}
.toggle-btn.active {
  background: var(--grad-sunrise);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(255,143,66,0.30);
}

/* ── Social Proof Strip ──────────────────────────────────────── */
.social-strip {
  background: #FFF3E3;
  border-top: 1px solid rgba(255,143,66,0.20);
  border-bottom: 1px solid rgba(255,143,66,0.20);
  padding: 20px 0;
}
.social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.social-stat { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); }
.social-stat-num   { font-size: 1.6rem; font-weight: 800; color: var(--orange); }
.social-stat-label { font-size: 0.9rem; color: var(--txt-2); }

/* ── Steps / Timeline ────────────────────────────────────────── */
.steps-list { list-style: none; }
.step-item  { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 20px; top: 44px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,143,66,0.4), transparent);
}
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 6px; color: var(--navy); }
.step-content p   { font-size: 0.92rem; color: var(--txt-2); }

/* ── Testimonial Cards ───────────────────────────────────────── */
.testimonial-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(255,143,66,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.testimonial-card p        { font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; color: var(--txt-2); }
.testimonial-author        { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: 0.92rem; color: var(--navy); }
.testimonial-author-info small  { font-size: 0.8rem; color: var(--txt-3); }

/* ── Price Cards ─────────────────────────────────────────────── */
.plan-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.plan-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,143,66,0.12), var(--shadow-md);
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Force dark text inside white plan cards, even when inside .bg-dark */
.plan-card h3, .plan-card h4 { color: var(--navy); }
.plan-card p, .plan-card .text-muted { color: var(--txt-2); }
.plan-card .plan-price-big { color: var(--navy); }
.plan-card .plan-price-big sub { color: var(--txt-3); }

/* Standardize all plan card buttons → orange + white */
.plan-card .btn-outline,
.plan-card .btn-outline:hover {
  background: var(--grad-sunrise);
  color: #fff !important;
  border-color: transparent;
  box-shadow: var(--shadow-orange);
}
.plan-card .btn-outline:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}
.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-sunrise);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  white-space: nowrap;
}
.plan-price-big { font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1; }
.plan-price-big sup { font-size: 1rem; vertical-align: top; margin-top: 6px; }
.plan-price-big sub { font-size: 0.9rem; font-weight: 400; color: var(--txt-3); }
.plan-features { list-style: none; margin: 20px 0; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--txt-2);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Pillar Cards ────────────────────────────────────────────── */
.pillar-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.pillar-card:hover {
  border-color: rgba(255,143,66,0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-icon  { font-size: 2rem; margin-bottom: 12px; }
.pillar-card h4 { color: var(--navy); margin-bottom: 8px; }
.pillar-card p  { font-size: 0.88rem; color: var(--txt-2); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  border-top: 3px solid var(--orange);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p   { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--cream); }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  margin-bottom: 12px; transition: var(--transition);
}
.footer-contact-item:hover { color: var(--cream); }
.footer-contact-item svg  { flex-shrink: 0; color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.30); }

/* ── Dashboard / App layout (stays dark) ─────────────────────── */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 260px;
  background: #0a1120;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  padding: 24px 0;
  position: fixed; top: 0; left: 0;
  height: 100vh; overflow-y: auto; z-index: 100;
}
.sidebar-logo { padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 16px; }
.sidebar-logo img { height: 36px; }

.sidebar-nav { list-style: none; flex: 1; }
.sidebar-nav li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.55); transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--amber);
}
.sidebar-nav li a svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer { padding: 16px 24px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.sidebar-footer a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.4); font-size: 0.88rem; transition: var(--transition); }
.sidebar-footer a:hover { color: var(--coral); }

.app-main { margin-left: 260px; flex: 1; min-height: 100vh; background: #f0f2f5; }
.app-topbar {
  padding: 20px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.app-content { padding: 32px; }

/* App main content light */
.app-main h1, .app-main h2, .app-main h3, .app-main h4 { color: var(--navy); }
.app-main p { color: var(--txt-2); }

/* ── Progress Bar ────────────────────────────────────────────── */
.progress-bar-wrap {
  background: rgba(15,23,41,0.08);
  border-radius: 100px; overflow: hidden; height: 8px;
}
.progress-bar-fill {
  height: 100%; background: var(--grad-sunrise);
  border-radius: 100px;
  transition: width 0.6s ease;
}

/* ── Utility ─────────────────────────────────────────────────── */
.d-flex   { display: flex; }
.flex-col  { flex-direction: column; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mb-8   { margin-bottom: 8px; }
.mb-16  { margin-bottom: 16px; }
.mb-24  { margin-bottom: 24px; }
.w-full { width: 100%; }

/* ============================================================
   RESPONSIVIDADE MOBILE
   ============================================================ */

/* ── Tablet (≤ 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Nav collapse (≤ 960px) ────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .nav-links a { padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-md); }
  .nav-cta { display: flex !important; padding: 0; gap: 4px; }
  .nav-cta > a.btn { display: none !important; }
  .nav-toggle { display: flex; }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --gap: 16px;
  }

  /* Grids → 1 column */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* Section header */
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 0.97rem; }

  /* Social strip */
  .social-strip-inner { gap: 24px; }
  .social-stat-num { font-size: 1.3rem; }

  /* Cards padding */
  .card,
  .plan-card,
  .testimonial-card { padding: 24px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: auto; }
  .footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Buttons */
  .btn-lg { padding: 16px 28px; font-size: 0.97rem; }
  .btn { white-space: normal; text-align: center; }

  /* Toggle tabs */
  .toggle-wrap { flex-wrap: wrap; }
  .toggle-btn  { padding: 8px 18px; font-size: 0.85rem; }

  /* App sidebar: hide on mobile */
  .sidebar { display: none; }
  .app-main { margin-left: 0; }
  .app-content { padding: 20px 16px; }
  .app-topbar  { padding: 16px 20px; }
}

/* ── Small mobile (≤ 480px) ───────────────────────────────── */
@media (max-width: 480px) {
  :root { --section-pad: 48px; }

  .container { padding: 0 16px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }

  .nav-logo img { height: 32px; }
  .nav { padding: 20px 0; }

  .social-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .plan-badge { font-size: 0.7rem; padding: 4px 14px; }
  .plan-price-big { font-size: 2rem; }

  .testimonial-card p { font-size: 0.9rem; }

  /* Stack hero CTAs */
  .hero-cta,
  [class*="hero"] .d-flex { flex-direction: column; align-items: stretch; }
  [class*="hero"] .btn { width: 100%; justify-content: center; }

  /* Footer compact */
  .footer-brand p { max-width: 100%; }
}

/* ── Print (PDF do teste) ─────────────────────────────────── */
@media print {
  .nav, .footer, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; }
  .section, .section-sm { padding: 32px 0; }
}

/* ── Hamburger animation (mobile) ─────────────────────────── */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-toggle span {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ── Mobile harmony fix (July 2026) ────────────────────────── */
@media (max-width: 768px) {

  /* Prevent horizontal overflow on all pages */
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { box-sizing: border-box; }

  /* All inline max-width containers become fluid */
  [style*="max-width"] { max-width: 100% !important; }

  /* Images never overflow */
  img { max-width: 100%; height: auto; }

  /* Inline grids → single column */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }

  /* Inline flex rows → wrap and center */
  [style*="display:flex"], [style*="display: flex"] {
    flex-wrap: wrap !important;
  }

  /* Pricing cards grid */
  .pricing-cards { grid-template-columns: 1fr !important; }
  .annual-cards  { grid-template-columns: 1fr !important; }
  .plans-preview-grid { grid-template-columns: 1fr !important; }
  .how-steps { grid-template-columns: 1fr !important; }
  .pillars-grid { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* Exp bar: stack vertically */
  .exp-bar { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Plan group label */
  .plan-group-label { text-align: center; }

  /* Annual section cards */
  .annual-card { width: 100%; }

  /* Notice bar wraps */
  .notice-bar { flex-wrap: wrap; gap: 8px; }

  /* Hero compact */
  .page-hero { padding: 90px 0 28px !important; }

  /* comecar.html card */
  .comecar-card { margin: 0 8px; }

  /* Partnership logos: stack on very small */
  .partner-logos img { height: 36px !important; }
}

@media (max-width: 480px) {
  /* Buttons full width in hero */
  .btn { display: block; width: 100%; text-align: center; margin-bottom: 8px; }
  .btn + .btn { margin-left: 0; }

  /* Price cards full bleed */
  .price-card { margin: 0; }

  /* Section padding tighter */
  .section { padding: var(--section-pad) 0; }

  /* Annual cards compact */
  .an-new { font-size: 1.6rem; }

  /* Step blocks */
  .step-block { padding: 20px 16px; }

  /* Results actions */
  .results-actions { flex-direction: column; }
  .bt

/* Banner offset fallback */
:root { --banner-h: 38px; }
@media (max-width: 700px) {
  :root { --banner-h: 52px; }
}

/* ── Language Switcher ──────────────────────────── */
/* ── Lang Switcher ──────────────────────────────── */
/* ── language dropdown ───────────────────────────────── */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  margin-right: 8px;
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  line-height: 0;
}
.lang-trigger:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.22);
}
.lang-trigger img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.lang-chevron {
  color: rgba(255,255,255,0.6);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.lang-switcher .lang-menu.open ~ * .lang-chevron,
.lang-menu.open + * { /* fallback */ }
.lang-trigger[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy, #0f1729);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 6px;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 200;
}
.lang-menu.open {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  border-radius: 7px;
  padding: 8px 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: background 0.12s, color 0.12s;
  width: 100%;
  text-align: left;
}
.lang-opt img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.lang-opt:hover { background: rgba(255,255,255,0.10); color: #fff; }
.lang-opt.active { background: rgba(255,179,72,0.20); color: var(--amber); }
@media (max-width: 960px) {
  .lang-switcher { margin-right: 4px; }
  .lang-trigger { padding: 5px 7px; }
  .lang-trigger img { width: 18px; height: 12px; }
  .lang-menu { right: 0; }
}
