:root {
    --black: #0f0f0f;
    --black-2: #1a1a1a;
    --orange: #ea580c;
    --orange-light: #fb923c;
    --cream: #fff7ed;
    --cream-line: #fed7aa;
    --white: #f8fafc;
    --gray: #9ca3af;
    --gray-dark: #4b5563;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', Arial, sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

  /* ---------- PRELOADER ---------- */
  #preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
  }
  #preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .preloader-logo {
    width: 96px;
    height: 96px;
    animation: gentle-spin 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite,
               pulse-glow 2.6s ease-in-out infinite;
  }
  @keyframes gentle-spin {
    0%   { transform: rotate(0deg); }
    50%  { transform: rotate(190deg); }
    100% { transform: rotate(360deg); }
  }
  @keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 0px rgba(234,88,12,0.4)); }
    50% { filter: drop-shadow(0 0 18px rgba(234,88,12,0.65)); }
  }
  .preloader-text {
    margin-top: 22px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gray);
  }
  .preloader-text .dot { color: var(--orange); }
  .preloader-bar {
    width: 140px;
    height: 2px;
    background: #2a2a2a;
    border-radius: 2px;
    margin-top: 18px;
    overflow: hidden;
  }
  .preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 2px;
    animation: loadbar 1.6s ease-in-out forwards;
  }
  @keyframes loadbar {
    0% { width: 0%; }
    100% { width: 100%; }
  }
  body.loading { overflow: hidden; }

  @media (prefers-reduced-motion: reduce) {
    .preloader-logo { animation: none; }
    .preloader-bar-fill { animation: none; width: 100%; }
  }

  /* Skip link */
  .skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--orange); color: #fff;
    padding: 12px 20px; z-index: 999; border-radius: 0 0 8px 0;
  }
  .skip-link:focus { left: 0; }
  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--orange-light); outline-offset: 3px;
  }

  /* ---------- HEADER ---------- */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
  }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white); text-decoration: none; }
  .logo img { width: 36px; height: 36px; border-radius: 50%; }
  .nav-links { display: flex; gap: 32px; list-style: none; }
  .nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--gray); transition: color 0.2s; }
  .nav-links a:hover { color: var(--white); }
  .nav-cta { background: var(--orange); color: #fff !important; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
  .nav-cta:hover { background: var(--orange-light); }

  /* ---------- HERO ---------- */
  .hero { padding: 100px 0 80px; position: relative; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(234,88,12,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-inner { position: relative; max-width: 760px; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--black-2); border: 1px solid #2a2a2a;
    color: var(--orange-light); font-size: 13px; font-weight: 600;
    padding: 6px 14px; border-radius: 30px; margin-bottom: 24px; letter-spacing: 0.02em;
  }
  h1 {
    font-family: var(--font-display); font-size: clamp(36px, 6vw, 64px);
    font-weight: 800; line-height: 1.08; letter-spacing: -1.5px;
    color: var(--white); margin-bottom: 24px;
  }
  h1 .accent { color: var(--orange); }
  .hero-sub { font-size: 18px; color: var(--gray); max-width: 560px; margin-bottom: 36px; }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
  .btn-primary {
    background: var(--orange); color: #fff; text-decoration: none;
    padding: 16px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
  .btn-secondary {
    background: transparent; border: 1px solid #333; color: var(--white);
    text-decoration: none; padding: 16px 28px; border-radius: 10px;
    font-weight: 600; font-size: 15px; transition: border-color 0.2s;
  }
  .btn-secondary:hover { border-color: var(--orange-light); }
  .hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid #222; }
  .stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--orange-light); }
  .stat-label { font-size: 13px; color: var(--gray); }

  /* ---------- NICHOS (faixa de segmentos atendidos) ---------- */
  .nichos-strip { padding: 36px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; }
  .nichos-label { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; text-align: center; }
  .nichos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .nicho-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--black-2); border: 1px solid #242424;
    padding: 10px 18px; border-radius: 30px; font-size: 14px; color: var(--white); font-weight: 500;
  }

  /* ---------- SECTION GENERIC ---------- */
  section { padding: 88px 0; }
  .section-cream { background: var(--cream); color: var(--black); }
  .section-label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
  h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
  .section-cream h2 { color: var(--black); }
  .section-intro { max-width: 600px; color: var(--gray); font-size: 16px; margin-bottom: 56px; }
  .section-cream .section-intro { color: var(--gray-dark); }

  /* ---------- SERVICES (sem preços) ---------- */
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .service-card {
    background: var(--black-2); border: 1px solid #242424; border-radius: 16px;
    padding: 32px 28px; transition: border-color 0.2s, transform 0.2s;
  }
  .service-card:hover { border-color: var(--orange); transform: translateY(-4px); }
  .service-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; font-size: 22px;
  }
  .service-card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; color: var(--white); }
  .service-card p { font-size: 14px; color: var(--gray); }
  .service-tag {
    margin-top: 18px; padding-top: 18px; border-top: 1px solid #2a2a2a;
    font-size: 12px; color: var(--orange-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
  }

  /* ---------- WHY ---------- */
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
  .why-list { list-style: none; }
  .why-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #e7d8c5; }
  .why-item:last-child { border-bottom: none; }
  .why-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--orange); min-width: 32px; }
  .why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--black); }
  .why-item p { font-size: 14px; color: var(--gray-dark); }
  .why-visual { background: var(--black); border-radius: 20px; padding: 40px; color: var(--white); position: relative; overflow: hidden; }
  .why-visual svg { width: 100%; height: auto; }

  /* ---------- PROCESS ---------- */
  .process-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
  .process-step { background: var(--black-2); border: 1px solid #242424; border-radius: 16px; padding: 28px 22px; position: relative; }
  .process-step .num {
    font-family: var(--font-display); font-size: 36px; font-weight: 800;
    color: transparent; -webkit-text-stroke: 1.5px var(--orange);
    margin-bottom: 16px; display: block;
  }
  .process-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
  .process-step p { font-size: 13px; color: var(--gray); }
  .process-step .days { margin-top: 14px; font-size: 12px; color: var(--orange-light); font-weight: 600; }

  /* ---------- TESTIMONIALS ---------- */
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .testi-card { background: #fff; border: 1px solid var(--cream-line); border-radius: 16px; padding: 28px; }
  .testi-stars { color: var(--orange); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
  .testi-card p.quote { font-size: 14px; color: var(--gray-dark); margin-bottom: 20px; line-height: 1.7; }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
  }
  .testi-author .name { font-size: 14px; font-weight: 700; color: var(--black); }
  .testi-author .role { font-size: 12px; color: var(--gray-dark); }

  /* ---------- FAQ ---------- */
  .faq-list { max-width: 760px; }
  .faq-item { border-bottom: 1px solid #222; }
  .faq-question {
    width: 100%; background: none; border: none; color: var(--white);
    text-align: left; padding: 22px 0; font-size: 16px; font-weight: 600;
    font-family: var(--font-body); display: flex; justify-content: space-between;
    align-items: center; cursor: pointer;
  }
  .faq-question .icon { color: var(--orange); font-size: 20px; transition: transform 0.25s; flex-shrink: 0; margin-left: 16px; }
  .faq-item[open] .faq-question .icon { transform: rotate(45deg); }
  .faq-answer { padding-bottom: 22px; color: var(--gray); font-size: 14px; max-width: 640px; }

  /* ---------- FINAL CTA ---------- */
  .final-cta {
    background: linear-gradient(135deg, var(--orange) 0%, #c2410c 100%);
    border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
  }
  .final-cta h2 { color: #fff; }
  .final-cta p { color: #ffe4cc; max-width: 480px; margin: 0 auto 32px; font-size: 16px; }
  .btn-light {
    background: #fff; color: var(--orange) !important; text-decoration: none;
    padding: 16px 32px; border-radius: 10px; font-weight: 700; font-size: 16px;
    display: inline-flex; align-items: center; gap: 8px;
  }

  /* ---------- FOOTER ---------- */
  footer { border-top: 1px solid #222; padding: 48px 0 32px; }
  .footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
  .footer-brand p { color: var(--gray); font-size: 13px; max-width: 280px; margin-top: 12px; }
  .footer-col h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--orange-light); }
  .footer-bottom {
    padding-top: 24px; border-top: 1px solid #222; display: flex;
    justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #6b7280;
  }

  /* ---------- WHATSAPP FLOAT ---------- */
  .whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; background: #25D366; color: #fff;
    width: 60px; height: 60px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3); z-index: 90; transition: transform 0.2s;
  }
  .whatsapp-float:hover { transform: scale(1.08); }
  .whatsapp-float svg { width: 30px; height: 30px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 880px) {
    .nav-links { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .process-track { grid-template-columns: 1fr 1fr; }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; }
    .final-cta { padding: 48px 24px; }
  }
  @media (max-width: 520px) {
    .process-track { grid-template-columns: 1fr; }
    .hero { padding: 70px 0 56px; }
    section { padding: 64px 0; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .nichos-row { gap: 8px; }
    .nicho-pill { padding: 8px 14px; font-size: 13px; }
  }

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