  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #0A2342;
    --navy-light: #1B3A5C;
    --terra: #C0440A;
    --terra-light: #E05A15;
    --terra-pale: #FDF0EA;
    --charcoal: #2C2C2C;
    --slate: #475569;
    --slate-light: #94A3B8;
    --off-white: #F8FAFC;
    --white: #FFFFFF;
    --card-border: #E2E8F0;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--charcoal);
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 2.5rem;
    background: rgba(10,35,66,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: box-shadow 0.3s;
  }
  nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
  .nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
  .nav-logo img { width: 38px; height: 38px; object-fit: contain; }
  .nav-logo span { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.05rem; color: #fff; letter-spacing: 0.04em; }
  .nav-logo small { display: block; font-size: 0.62rem; font-weight: 400; color: var(--slate-light); letter-spacing: 0.03em; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
  .nav-links a:hover { color: var(--terra-light); }
  .nav-cta { background: var(--terra); color: #fff; padding: 0.55rem 1.4rem; border-radius: 6px; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
  .nav-cta:hover { background: var(--terra-light); }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 7rem 2.5rem 4rem;
  }
  .hero-orb {
    position: absolute; border-radius: 50%;
    pointer-events: none;
  }
  .hero-orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(192,68,10,0.22) 0%, transparent 70%); top: -100px; right: -80px; }
  .hero-orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(192,68,10,0.12) 0%, transparent 70%); bottom: -60px; left: 10%; }
  .hero-inner { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(192,68,10,0.18); border: 1px solid rgba(192,68,10,0.4); border-radius: 100px; padding: 0.35rem 1rem; font-size: 0.75rem; color: #f8a07a; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.5rem; }
  .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--terra-light); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.4); } }
  .hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 900; color: #fff; line-height: 1.12; margin-bottom: 1.4rem; }
  .hero-title em { color: var(--terra-light); font-style: normal; }
  .hero-sub { font-size: 1.05rem; color: var(--slate-light); line-height: 1.7; margin-bottom: 2.2rem; max-width: 480px; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary { background: var(--terra); color: #fff; padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
  .btn-primary:hover { background: var(--terra-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,68,10,0.35); }
  .btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; padding: 0.85rem 2rem; border-radius: 8px; font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
  .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.07); }
  .hero-visual { display: flex; flex-direction: column; gap: 1rem; }
  .hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.2rem 1.5rem; backdrop-filter: blur(8px); }
  .hero-card-label { font-size: 0.72rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
  .hero-card-val { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: #fff; }
  .hero-card-val span { font-size: 0.9rem; color: #4ade80; font-family: 'Inter', sans-serif; font-weight: 600; margin-left: 0.5rem; }
  .hero-card-val.neg span { color: #f87171; }
  .hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* ── SECTION BASE ── */
  section { padding: 6rem 2.5rem; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.8rem; }
  .section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
  .section-sub { font-size: 1rem; color: var(--slate); line-height: 1.7; max-width: 600px; margin-bottom: 3rem; }

  /* ── PROBLEMA ── */
  #problema { background: var(--off-white); }
  .problema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .prob-card { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.25s, box-shadow 0.25s; }
  .prob-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
  .prob-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; font-size: 1.4rem; }
  .prob-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.6rem; font-weight: 700; }
  .prob-card p { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }
  .stat-banner { margin-top: 3rem; background: var(--navy); border-radius: 12px; padding: 1.2rem 2rem; text-align: center; font-size: 0.92rem; color: rgba(255,255,255,0.8); }
  .stat-banner strong { color: var(--terra-light); }

  /* ── CUSTOS ── */
  #custos { background: #fff; }
  .custos-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
  .custos-visual { background: var(--navy); border-radius: 20px; padding: 2.5rem; }
  .custos-visual .logo-wrap { text-align: center; margin-bottom: 1.5rem; }
  .custos-visual img { width: 100px; height: 100px; object-fit: contain; }
  .custos-visual h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #fff; text-align: center; margin-bottom: 0.4rem; }
  .custos-visual p { font-size: 0.88rem; color: var(--slate-light); text-align: center; line-height: 1.6; }
  .result-pill { display: inline-block; background: var(--terra); color: #fff; border-radius: 100px; padding: 0.4rem 1.2rem; font-size: 0.78rem; font-weight: 600; margin-top: 1.5rem; text-align: center; width: 100%; }
  .feature-list { display: flex; flex-direction: column; gap: 1.2rem; }
  .feature-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 1.4rem; border-radius: 12px; background: var(--off-white); border: 1px solid var(--card-border); transition: border-color 0.2s; }
  .feature-item:hover { border-color: var(--terra); }
  .feature-check { width: 28px; height: 28px; border-radius: 50%; background: #d1fae5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 0.75rem; color: #065f46; }
  .feature-item h4 { font-size: 0.92rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
  .feature-item p { font-size: 0.84rem; color: var(--slate); line-height: 1.55; }

  /* ── ESTOQUES ── */
  #estoques { background: var(--off-white); }
  .estoques-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
  .est-card { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; padding: 1.6rem; display: flex; gap: 1.2rem; align-items: flex-start; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: transform 0.2s; }
  .est-card:hover { transform: translateY(-3px); }
  .est-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
  .est-icon.terra { background: var(--terra); }
  .est-icon.navy { background: var(--navy); }
  .est-card h4 { font-size: 0.94rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
  .est-card p { font-size: 0.84rem; color: var(--slate); line-height: 1.55; }
  .kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .kpi-box { background: var(--navy); border-radius: 12px; padding: 1.2rem 1rem; text-align: center; }
  .kpi-val { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: #fff; }
  .kpi-label { font-size: 0.76rem; color: var(--slate-light); margin-top: 0.3rem; }

  /* ── RESULTADO ── */
  #resultado { background: var(--navy); }
  #resultado .section-title { color: #fff; }
  #resultado .section-sub { color: var(--slate-light); }
  #resultado .eyebrow { color: #f8a07a; }
  .resultado-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
  .chart-container { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.8rem; }
  .chart-title { font-size: 0.8rem; color: var(--slate-light); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .chart-legend { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
  .legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; color: var(--slate-light); }
  .legend-dot { width: 10px; height: 10px; border-radius: 50%; }
  .legend-dot.receita { background: #14B8A6; }
  .legend-dot.custo { background: #F97316; }
  .chart-svg { width: 100%; height: 180px; }
  .kpi-cards { display: flex; flex-direction: column; gap: 0.9rem; }
  .kpi-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; }
  .kpi-card-label { font-size: 0.75rem; color: var(--slate-light); display: block; margin-bottom: 0.2rem; }
  .kpi-card-val { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
  .trend { font-size: 1.1rem; }
  .trend.up { color: #4ade80; }
  .trend.down { color: #f87171; }
  .disclaimer { margin-top: 1rem; font-size: 0.72rem; color: rgba(148,163,184,0.6); font-style: italic; }

  /* ── DIFERENCIAIS ── */
  #diferenciais { background: #fff; }
  .dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .dif-card { border: 1px solid var(--card-border); border-radius: 14px; padding: 1.8rem; transition: all 0.25s; background: #fff; }
  .dif-card:hover { border-color: var(--terra); background: var(--terra-pale); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(192,68,10,0.1); }
  .dif-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--terra-pale); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.1rem; border: 1px solid rgba(192,68,10,0.15); }
  .dif-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
  .dif-card p { font-size: 0.84rem; color: var(--slate); line-height: 1.6; }

  /* ── CTA FINAL ── */
  #contato { background: var(--navy); padding: 6rem 2.5rem; position: relative; overflow: hidden; }
  .cta-orb { position: absolute; border-radius: 50%; pointer-events: none; }
  .cta-orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(192,68,10,0.2) 0%, transparent 70%); top: -100px; left: -80px; }
  .cta-orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(192,68,10,0.12) 0%, transparent 70%); bottom: -60px; right: 5%; }
  .cta-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
  .cta-logo { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 1.5rem; display: block; }
  .cta-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; font-weight: 900; margin-bottom: 1rem; line-height: 1.2; }
  .cta-sub { color: var(--slate-light); font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; }
  .contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
  .contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1rem; }
  .contact-card .cc-label { font-size: 0.7rem; font-weight: 600; color: var(--terra-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
  .contact-card .cc-val { font-size: 0.88rem; color: #fff; }
  .cta-action { display: inline-block; background: var(--terra); color: #fff; padding: 1rem 2.4rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
  .cta-action:hover { background: var(--terra-light); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(192,68,10,0.4); }

  /* ── FOOTER ── */
  footer { background: #060f1c; padding: 1.5rem 2.5rem; text-align: center; font-size: 0.78rem; color: rgba(148,163,184,0.5); }

  /* ── ANIMATIONS ── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .hero-inner, .custos-layout, .resultado-layout { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .problema-grid, .dif-grid { grid-template-columns: 1fr; }
    .estoques-grid { grid-template-columns: 1fr; }
    .kpi-row { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .nav-links { display: none; }
  }