:root{
    --bg: #0E0B14;
    --surface: #17131F;
    --surface-2: #1F1A2B;
    --line: #2E2740;
    --text: #EDEAF2;
    --muted: #9C93AD;
    --purple: #8B5CF6;
    --purple-dim: #6D45C4;
    --purple-glow: rgba(139,92,246,0.18);
  }
  *{box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', sans-serif;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3, .brand-name{font-family:'Space Grotesk', sans-serif;}
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1040px; margin:0 auto; padding:0 24px;}

  /* header */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(14,11,20,0.88);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 24px;
    max-width:1040px; margin:0 auto;
  }
  .brand{display:flex; align-items:center; gap:10px;}
  .brand img{height:38px; width:38px; border-radius:8px;}
  .brand-name{font-size:17px; font-weight:600; letter-spacing:-0.01em;}
  .header-cta{
    background:var(--purple);
    color:#0E0B14;
    font-weight:600;
    font-size:14px;
    padding:10px 18px;
    border-radius:8px;
    transition:transform .15s ease, background .15s ease;
  }
  .header-cta:hover{background:#a17df8; transform:translateY(-1px);}

  .subnav{
    position:relative;
    border-bottom:1px solid var(--line);
    background:transparent;
  }
  .subnav-inner{
    display:flex; gap:6px;
    overflow-x:auto;
    padding:10px 24px;
    max-width:1040px; margin:0 auto;
    scrollbar-width:none;
  }
  .subnav-inner::-webkit-scrollbar{display:none;}
  .subnav-fade{
    position:absolute; top:0; right:0; bottom:0;
    width:44px;
    background:linear-gradient(to right, transparent, rgba(14,11,20,0.92));
    display:flex; align-items:center; justify-content:flex-end;
    padding-right:6px;
    color:var(--muted);
    pointer-events:none;
    transition:opacity .25s ease;
  }
  .subnav-fade svg{width:16px; height:16px;}
  .subnav-fade.is-hidden{opacity:0;}
  .subnav a{
    flex-shrink:0;
    font-size:13.5px;
    color:var(--muted);
    padding:7px 14px;
    border-radius:999px;
    border:1px solid var(--line);
    white-space:nowrap;
    transition:color .15s ease, border-color .15s ease, background .15s ease;
  }
  .subnav a:hover, .subnav a:active{
    color:var(--text);
    border-color:var(--purple-dim);
    background:var(--surface);
  }

  /* hero */
  .hero{padding:80px 0 64px; position:relative; overflow:hidden;}
  .hero::before{
    content:"";
    position:absolute; top:-140px; right:-180px;
    width:520px; height:520px;
    background:radial-gradient(circle, var(--purple-glow) 0%, rgba(139,92,246,0) 70%);
    pointer-events:none;
  }
  .hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center;}
  .hero-below{margin-top:20px;}
  .scroll-hint{
    position:fixed;
    left:50%; bottom:22px;
    transform:translateX(-50%);
    z-index:40;
    display:flex; justify-content:center; align-items:center;
    width:40px; height:40px;
    border-radius:50%;
    background:rgba(14,11,20,0.6);
    border:1px solid var(--line);
    backdrop-filter:blur(6px);
    color:var(--text);
    pointer-events:none;
    opacity:1;
    transition:opacity .35s ease;
    animation:scrollBounce 2.2s ease-in-out infinite;
  }
  .scroll-hint.is-hidden{animation:none; opacity:0;}
  .scroll-hint svg{width:20px; height:20px;}
  @keyframes scrollBounce{
    0%,100%{transform:translateX(-50%) translateY(0); opacity:.7;}
    50%{transform:translateX(-50%) translateY(7px); opacity:1;}
  }
  .eyebrow-line{
    display:flex; align-items:center; gap:10px;
    color:var(--purple); font-size:14px; font-weight:500; margin-bottom:18px;
  }
  .eyebrow-line .dot{
    width:8px; height:8px; border-radius:50%;
    background:var(--purple);
    box-shadow:0 0 0 4px var(--purple-glow);
  }
  h1{font-size:42px; line-height:1.14; font-weight:700; letter-spacing:-0.015em; margin-bottom:20px;}
  .hero p.lead{font-size:17px; color:var(--muted); max-width:460px; margin-bottom:32px;}
  .cta-row{display:flex; gap:14px; flex-wrap:wrap; align-items:center;}
  .btn-primary{
    display:inline-flex; align-items:center; gap:10px;
    background:var(--purple); color:#0E0B14; font-weight:600; font-size:16px;
    padding:15px 26px; border-radius:10px;
    transition:transform .15s ease, background .15s ease;
  }
  .btn-primary:hover{background:#a17df8; transform:translateY(-1px);}
  .cta-note{font-size:13px; color:var(--muted);}

  .carousel{
    position:relative;
    border:1px solid #4A4460;
    border-radius:20px;
    overflow:hidden;
    background:var(--surface);
  }
  .carousel-track{
    display:flex;
    align-items:flex-start;
    transition:transform .6s cubic-bezier(.65,0,.35,1), opacity .35s ease;
    cursor:grab;
    touch-action:pan-y;
  }
  .carousel-track.dragging{
    transition:none;
    cursor:grabbing;
  }
  .carousel-arrow{
    position:absolute;
    top:50%; transform:translateY(-50%);
    width:36px; height:36px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,0.25);
    background:rgba(14,11,20,0.55);
    color:#fff;
    font-size:20px;
    line-height:1;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    z-index:4;
    transition:background .2s ease, transform .2s ease;
  }
  .carousel-arrow:hover{background:rgba(14,11,20,0.8);}
  .carousel-arrow.prev{left:12px;}
  .carousel-arrow.next{right:12px;}
  .carousel-slide img{
    -webkit-user-select:none; user-select:none;
    -webkit-user-drag:none;
    pointer-events:none;
  }
  .carousel-slide{
    flex:0 0 100%;
    width:100%;
    position:relative;
    aspect-ratio:1/1;
  }
  .carousel-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .carousel-caption{
    position:absolute;
    left:0; right:0; bottom:0;
    padding:16px 20px;
    background:linear-gradient(to top, rgba(14,11,20,0.88), rgba(14,11,20,0));
    color:var(--text);
    font-size:13.5px;
    font-weight:500;
  }
  .carousel-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    padding:14px 0;
    background:var(--surface);
    border-top:1px solid #4A4460;
  }
  .carousel-dots .dot{
    width:8px; height:8px;
    border-radius:50%;
    background:var(--line);
    border:none; padding:0;
    cursor:pointer;
    transition:background .2s ease, transform .2s ease;
  }
  .carousel-dots .dot.active{
    background:var(--purple);
    transform:scale(1.2);
  }

  /* sections */
  section{padding:60px 0;}
  .section-head{max-width:540px; margin-bottom:36px;}
  .section-head h2{font-size:28px; font-weight:700; letter-spacing:-0.01em; margin-bottom:10px;}
  .section-head p{color:var(--muted); font-size:15px;}

  /* como funciona */
  .steps{
    display:grid; grid-template-columns:repeat(3, 1fr);
    border:1px solid var(--line); border-radius:16px; overflow:hidden;
  }
  .step{padding:26px 22px; border-right:1px solid var(--line); background:var(--surface);}
  .step:last-child{border-right:none;}
  .step .num{font-family:'Space Grotesk', sans-serif; font-size:13px; color:var(--purple); font-weight:600; margin-bottom:14px;}
  .step h3{font-size:16px; margin-bottom:8px; font-weight:600;}
  .step p{font-size:13.5px; color:var(--muted);}

  /* diagnóstico callout */
  .diag-callout{
    background:var(--surface-2);
    border:1px solid var(--purple-dim);
    border-radius:16px;
    padding:24px 28px;
    margin-top:22px;
    display:flex;
    gap:18px;
    align-items:flex-start;
  }
  .diag-callout .icon{
    flex-shrink:0;
    width:38px; height:38px;
    border-radius:10px;
    background:var(--purple-glow);
    display:flex; align-items:center; justify-content:center;
    color:var(--purple);
    font-weight:700;
    font-family:'Space Grotesk', sans-serif;
  }
  .diag-callout h3{font-size:15.5px; margin-bottom:6px; font-weight:600;}
  .diag-callout p{font-size:14px; color:var(--muted);}

  /* diagnóstico técnico */
  .diag-panel{
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--surface);
    padding:26px 28px;
  }
  .diag-panel .diag-lead{
    font-size:14.5px; color:var(--muted); margin-bottom:18px;
  }
  .diag-panel .diag-lead b{color:var(--text); font-weight:600;}
  .diag-outcomes{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
  .diag-outcome h3{font-size:15px; font-weight:600; margin-bottom:6px;}
  .diag-outcome p{font-size:13.5px; color:var(--muted);}

  /* preços */
  .price-table{
    border:1px solid var(--line);
    border-radius:16px;
    overflow:hidden;
  }
  .price-row{
    display:flex; justify-content:space-between; align-items:center;
    padding:18px 24px;
    background:var(--surface);
    border-bottom:1px solid var(--line);
  }
  .price-row:last-child{border-bottom:none;}
  .price-row .name{font-size:15px; font-weight:500;}
  .price-row .desc{font-size:13px; color:var(--muted); margin-top:2px;}
  .price-row .value{
    font-family:'Space Grotesk', sans-serif;
    font-size:17px; font-weight:600; color:var(--purple);
    white-space:nowrap; padding-left:20px;
  }

  /* diferenciais */
  .diff-band{background:var(--surface-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .diff-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:32px;}
  .diff-item .figure{font-family:'Space Grotesk', sans-serif; font-size:15px; color:var(--purple); font-weight:600; margin-bottom:8px;}
  .diff-item h3{font-size:16px; font-weight:600; margin-bottom:6px;}
  .diff-item p{font-size:13.5px; color:var(--muted);}

  /* local */
  .local-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:40px; align-items:stretch;}
  .local-info{
    background:var(--surface); border:1px solid var(--line); border-radius:16px;
    padding:28px; display:flex; flex-direction:column; justify-content:space-between;
  }
  .local-info .badge{
    display:inline-block; font-size:12.5px; color:var(--purple);
    border:1px solid var(--purple-dim); padding:5px 10px; border-radius:999px;
    margin-bottom:16px; width:fit-content;
  }
  .local-info h3{font-size:19px; margin-bottom:10px; font-weight:600;}
  .local-info p{font-size:14px; color:var(--muted); margin-bottom:6px;}
  .local-info .addr{color:var(--text); font-weight:500; margin-top:14px;}
  .map-frame{border-radius:16px; overflow:hidden; border:1px solid var(--line); min-height:280px; position:relative;}
  .map-frame iframe{width:100%; height:100%; min-height:280px; border:0; filter:grayscale(0.3) contrast(1.05) brightness(0.95); pointer-events:none;}
  .map-frame.active iframe{pointer-events:auto;}
  .map-frame .map-hint{
    position:absolute; inset:0;
    display:flex; align-items:center; justify-content:center;
    background:rgba(14,11,20,0.35);
    color:var(--text);
    font-size:13.5px;
    text-align:center;
    padding:16px;
    transition:opacity .2s ease;
  }
  .map-frame.active .map-hint{opacity:0; pointer-events:none;}

  /* final cta */
  .final-cta{text-align:center; padding:76px 0 92px;}
  .final-cta h2{font-size:30px; font-weight:700; margin-bottom:14px; letter-spacing:-0.01em;}
  .final-cta p{color:var(--muted); margin-bottom:28px;}

  footer{border-top:1px solid var(--line); padding:26px 0;}
  .footer-inner{
    display:flex; justify-content:space-between; align-items:center;
    font-size:13px; color:var(--muted); flex-wrap:wrap; gap:10px;
  }

  .float-wpp{
    position:fixed; bottom:22px; right:22px; z-index:100;
    background:#25D366; color:#0b2b16;
    width:58px; height:58px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 8px 24px rgba(0,0,0,0.4);
    transition:transform .15s ease;
  }
  .float-wpp:hover{transform:scale(1.06);}
  .float-wpp svg{width:28px; height:28px;}

  @media (max-width:820px){
    .wrap{padding:0 20px;}
    section{padding:48px 0;}
    .hero{padding:52px 0 44px;}
    .hero-grid{
      position:relative;
      display:flex;
      flex-direction:column;
      gap:18px;
    }
    .carousel{order:-1;}
    .hero-overlay-text{
      position:absolute;
      top:1px; left:21px; right:21px;
      aspect-ratio:1/1;
      display:flex;
      align-items:flex-end;
      z-index:3;
      padding:0 18px 2px;
      background:linear-gradient(to top, rgba(14,11,20,.92) 0%, rgba(14,11,20,.55) 42%, rgba(14,11,20,0) 78%);
      border-radius:19px 19px 0 0;
      pointer-events:none;
    }
    .hero-overlay-text h1{width:100%; text-shadow:0 2px 14px rgba(0,0,0,.4);}
    .hero-below .lead{color:#D8D3E4;}
    #heroCarousel .carousel-caption{display:none;}
    #heroCarousel .carousel-arrow{display:none;}
    .steps{grid-template-columns:1fr;}
    .step{border-right:none; border-bottom:1px solid var(--line);}
    .step:last-child{border-bottom:none;}
    .diag-panel{padding:22px 20px;}
    .diag-outcomes{grid-template-columns:1fr; gap:16px;}
    .diff-grid{grid-template-columns:1fr; gap:24px;}
    .local-grid{grid-template-columns:1fr;}
    .local-info{padding:22px;}
    .price-row{flex-direction:column; align-items:flex-start; gap:4px; padding:16px 18px;}
    .price-row .value{padding-left:0;}
    .section-head{margin-bottom:28px;}
    .final-cta{padding:56px 0 64px;}
    h1{font-size:30px;}
    .section-head h2{font-size:24px;}
  }
  @media (max-width:520px){
    .header-cta{display:none;}
    .brand-name{font-size:16px;}
    h1{font-size:27px;}
    .hero p.lead{font-size:15.5px;}
    .cta-row{flex-direction:column; align-items:stretch; gap:12px;}
    .cta-row .btn-primary{justify-content:center; width:100%;}
    .cta-note{text-align:center;}
    .final-cta .btn-primary{width:100%; justify-content:center;}
    .final-cta h2{font-size:24px;}
    .local-info .btn-primary{width:100%;}
    .footer-inner{flex-direction:column; align-items:flex-start; gap:6px;}
    .float-wpp{width:52px; height:52px; bottom:16px; right:16px;}
    .float-wpp svg{width:25px; height:25px;}
  }
  @media (prefers-reduced-motion: reduce){
    .reveal{transition:opacity .3s ease; transform:none;}
  }

  .reveal{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.is-visible{opacity:1; transform:translateY(0);}
