 :root{
    --bg: #000000;
    --panel: rgba(255,255,255,0.045);
    --line: rgba(255, 255, 255, 0.14);
    --line-strong: rgba(255, 255, 255, 0.32);
    --ink: #FFFFFF;
    --ink-soft: #ADADAD;
    --accent: #FFFFFF;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body{
    margin:0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* Fixed background carousel — grayscale landscapes, stays put as content scrolls over it */
  .bg-carousel{
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #000;
  }
  .bg-slide{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.05) brightness(1.15);
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.8s ease;
  }
  .bg-slide.active{
    opacity: 1;
    animation: kenburns 13s ease-in-out forwards;
  }
  @keyframes kenburns{
    from{ transform: scale(1.04); }
    to{ transform: scale(1.14); }
  }
  .bg-slide.s1{ background-image: url('https://source.unsplash.com/1600x900/?mountains,landscape&sig=101'); }
  .bg-slide.s2{ background-image: url('https://source.unsplash.com/1600x900/?coast,ocean,landscape&sig=102'); }
  .bg-slide.s3{ background-image: url('https://source.unsplash.com/1600x900/?forest,valley,landscape&sig=103'); }
  .bg-slide.s4{ background-image: url('https://source.unsplash.com/1600x900/?desert,dunes,landscape&sig=104'); }
  .bg-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.66) 100%);
  }

  .wrap{
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
  }

  .mono{
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
  }

  h1, h2, h3{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin: 0;
    color: var(--ink);
  }

  a { color: inherit; }

  /* Header */
  header{
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 20;
  }
  .header-inner{
    display:flex;
    align-items:center;
    justify-content: space-between;
    padding: 15px 20px; /*Padding alterado*/
  }
  .brand{ display:flex; align-items:baseline; gap:10px;}
  .brand-mark{
    width: 10px; height: 10px;
    border: 1.5px solid var(--accent);
    transform: rotate(45deg);
    flex-shrink: 0;
  }
  .brand-name{ font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px; }
  nav{ display:flex; gap: 28px; }
  nav a{ text-decoration:none; font-size: 14.5px; color: var(--ink-soft); transition: color 0.15s ease; }
  nav a:hover{ color: var(--ink); }

  .nav-toggle{
    display:none;
    width: 34px; height: 34px;
    border: 1px solid var(--line-strong);
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
  }
  .nav-toggle span{
    position:absolute; left:8px; right:8px; height:1px; background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle span:nth-child(1){ top: 12px; }
  .nav-toggle span:nth-child(2){ top: 17px; }
  .nav-toggle span:nth-child(3){ top: 22px; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

  @media (max-width: 640px){
    nav{
      position: fixed;
      top: 65px; left: 0; right: 0;
      flex-direction: column;
      gap: 0;
      background: rgba(10, 10, 12, 0.98);
      border-bottom: 1px solid var(--line);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.25s ease;
      z-index: 19;
    }
    nav.open{ max-height: 220px; }
    nav a{ padding: 16px 28px; border-top: 1px solid var(--line); font-size: 15px; }
    .nav-toggle{ display:block; }
  }

  /* Hero with parallax */
  .hero{
    position: relative;
    padding: clamp(56px, 10vw, 96px) 0 clamp(48px, 8vw, 80px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .hero-num{
    position: absolute;
    top: -40px;
    right: -20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(180px, 26vw, 380px);
    color: rgba(255,255,255,0.025);
    line-height: 1;
    z-index: 0;
    user-select: none;
    will-change: transform;
  }
  .hero-inner{ position: relative; z-index: 1; }
  .hero-tag{
    display:inline-flex; align-items:center; gap: 8px;
    padding: 5px 12px; border: 1px solid var(--line-strong);
    margin-bottom: 28px;
  }
  .hero-tag::before{ content:''; width:6px; height:6px; background: var(--accent); border-radius: 50%; }
  .hero h1{
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
    max-width: 720px;
    letter-spacing: -0.01em;
  }
  .hero p.lede{ max-width: 520px; color: var(--ink-soft); font-size: 17px; margin-top: 22px; }
  .hero-actions{ display:flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
  .btn{
    display:inline-block; padding: 13px 24px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  }
  .btn-primary{ background: var(--accent); color: #0A0A0C; }
  .btn-primary:hover{ box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -8px rgba(255, 122, 69, 0.55); transform: translateY(-1px); }
  .btn-secondary{ border-color: var(--line-strong); color: var(--ink); }
  .btn-secondary:hover{ border-color: var(--ink); transform: translateY(-1px); }

  .plan-wrap{ perspective: 1200px; margin-top: 64px; }
  .plan{
    border: 1px solid var(--line-strong);
    padding: 30px 32px 26px;
    background: rgba(0,0,0,0.32);
    backdrop-filter: blur(14px);
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    box-shadow: 0 30px 60px -25px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02);
    transition: box-shadow 0.3s ease;
    will-change: transform;
  }
  .plan-label{ display:flex; justify-content: space-between; margin-bottom: 18px; }
  .plan-list{ display:flex; flex-direction: column; }
  .plan-row{
    display:flex;
    align-items: baseline;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    transform: translateZ(18px);
  }
  .plan-row:last-child{ border-bottom: 1px solid var(--line); }
  .plan-row .num{ font-family:'JetBrains Mono', monospace; font-size: 12px; color: var(--ink); flex-shrink: 0; }
  .plan-row .lbl{ font-size: 14.5px; color: var(--ink-soft); }

  .stats-strip{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .stat{
    background: rgba(0,0,0,0.36);
    backdrop-filter: blur(10px);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-num{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 34px);
    letter-spacing: -0.01em;
  }
  .stat-lbl{ font-size: 13px; color: var(--ink-soft); line-height: 1.4; max-width: 220px; }
  @media (max-width: 700px){
    .stats-strip{ grid-template-columns: 1fr; }
  }

  /* Section shell */
  section{ padding: clamp(48px, 8vw, 74px) 0; border-bottom: 1px solid var(--line); position: relative; background: rgba(0,0,0,0.32); }
  .section-head{ display:flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
  .section-head h2{ font-size: 30px; }
  .section-head .mono{ text-align:right; }

  /* Services */
  .services{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-strong); background: rgba(0,0,0,0.22); backdrop-filter: blur(10px); perspective: 1000px; }
  .service{
    padding: 30px 26px;
    border-right: 1px solid var(--line-strong);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    transform-style: preserve-3d;
    will-change: transform;
  }
  .service:last-child{ border-right: none; }
  .service:hover{
    background: rgba(255,255,255,0.05);
    box-shadow: 0 24px 44px -20px rgba(0,0,0,0.75);
  }
  .service h3, .service .idx{ transform: translateZ(24px); }
  .service .idx{ font-family:'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); margin-bottom: 18px; display:block; }
  .service h3{ font-size: 19px; margin-bottom: 10px; }
  .service p{ color: var(--ink-soft); font-size: 14.5px; margin: 0 0 20px; }
  .service ul{ list-style:none; padding:0; margin:0; }
  .service li{ display:flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
  .service li span:last-child{ font-family:'JetBrains Mono', monospace; color: var(--ink); }
  @media (max-width: 800px){
    .services{ grid-template-columns: 1fr; } /*Editar aqui css para fazer carrousel de servicos*/
    .service{ border-right:none; border-bottom: 1px solid var(--line-strong); }
    .service:last-child{ border-bottom:none; }
  }

  /* Process */
  .process{ display:flex; flex-direction: column; }
  .step{ display:grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
  .step:last-child{ border-bottom: 1px solid var(--line); }
  .step .n{ font-family:'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); padding-top: 3px; }
  .step h4{ font-family:'Space Grotesk', sans-serif; font-size: 17px; margin: 0 0 6px; font-weight: 600; }
  .step p{ margin:0; color: var(--ink-soft); font-size: 14.5px; max-width: 520px; }

  /* Contact */
  .contact-panel{
    border: 1px solid var(--line-strong);
    padding: clamp(30px, 5vw, 46px) clamp(22px, 5vw, 40px);
    display:grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(0,0,0,0.22);
    backdrop-filter: blur(10px);
  }
  .contact-panel h2{ font-size: 27px; margin-bottom: 14px; }
  .contact-panel p{ color: var(--ink-soft); font-size: 15px; max-width: 420px; }
  
  .contact-links{ display:flex; flex-direction: column; gap: 14px; }
  .contact-row{ display:flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  .contact-row span:first-child{ color: var(--ink-soft); }
  @media (max-width: 700px){ .contact-panel{ grid-template-columns: 1fr; padding: 32px 24px; } }

  footer{
    padding: 30px 0 50px;
    display:flex; justify-content: space-between;
    color: var(--ink-soft); font-size: 13px; flex-wrap: wrap; gap: 10px;
    position: relative; z-index: 1;
  }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
    .hero-num, .plan{ transform: none !important; }
  }

  .reveal{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }
  .reveal.in{ opacity: 1; transform: translateY(0); }