  :root{
    --navy-900:#0A1628;
    --navy-800:#0F2038;
    --navy-700:#16304F;
    --blue-600:#2E7DD1;
    --blue-500:#4C93E0;
    --blue-100:#EAF3FC;
    --blue-050:#F5FAFE;
    --ink:#101826;
    --slate:#4B5A6E;
    --slate-light:#8391A3;
    --line:#E3E9F1;
    --white:#FFFFFF;
    --radius:14px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', sans-serif;
    color:var(--ink);
    background:var(--white);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    line-height:1.15;
    letter-spacing:-0.01em;
  }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
  .eyebrow{
    font-family:'Space Grotesk', sans-serif;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--blue-600);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:18px; height:1.5px;
    background:var(--blue-600);
    display:inline-block;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 26px;
    border-radius:8px;
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    border:1.5px solid transparent;
    transition:transform .15s ease, background .15s ease, border-color .15s ease;
  }
  .btn:hover{transform:translateY(-1px);}
  .btn-primary{background:var(--blue-600); color:var(--white);}
  .btn-primary:hover{background:#2568b3;}
  .btn-ghost{border-color:rgba(255,255,255,0.25); color:var(--white);}
  .btn-ghost:hover{border-color:rgba(255,255,255,0.55);}
  .btn-outline{border-color:var(--blue-500); color:var(--blue-600);}
  .btn-outline:hover{background:var(--blue-050); border-color:var(--blue-600);}

  /* HEADER */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(10,22,40,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .logo{display:flex; align-items:center;}
  .logo-img{height:46px; width:auto; display:block;}
  footer .logo-img{height:50px;}
  .nav-links{display:flex; gap:36px; align-items:center;}
  .nav-links a{
    color:rgba(255,255,255,0.78);
    font-size:14.5px;
    font-weight:500;
    transition:color .15s ease;
  }
  .nav-links a:hover{color:var(--white);}
  .nav-cta{display:flex; align-items:center; gap:20px;}
  .mobile-only-cta{display:none;}
  .menu-toggle{display:none; background:none; border:none; color:var(--white); font-size:24px; cursor:pointer; line-height:1; padding:6px;}

  /* HERO */
  .hero{
    background:var(--navy-900);
    color:var(--white);
    position:relative;
    overflow:hidden;
    padding:96px 0 110px;
    min-height:640px;
    display:flex;
    align-items:center;
  }
  .hero .wrap{width:100%;}
  .hero-wave{
    position:absolute;
    left:0; right:0; bottom:-1px;
    line-height:0;
    z-index:3;
    pointer-events:none;
  }
  .hero-wave svg{
    display:block;
    width:100%;
    height:70px;
  }
  .hero h1{
    font-size:52px;
    margin:20px 0 22px;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--blue-500);
  }
  .hero p.lede{
    font-size:17.5px;
    color:rgba(255,255,255,0.72);
    max-width:480px;
    margin-bottom:34px;
  }
  .hero-actions{display:flex; gap:14px; margin-bottom:46px; flex-wrap:wrap;}
  .hero-stats{
    display:flex;
    gap:40px;
    padding-top:30px;
    border-top:1px solid rgba(255,255,255,0.12);
  }
  .hero-stat b{
    font-family:'Space Grotesk', sans-serif;
    font-size:26px;
    display:block;
    color:var(--white);
  }
  .hero-stat span{font-size:13px; color:rgba(255,255,255,0.55);}

  /* HERO PHOTO — bleeds to the right edge, full height */
  .hero-content{
    max-width:600px;
    position:relative;
    z-index:2;
  }
  .hero-photo{
    position:absolute;
    top:0;
    right:0;
    height:100%;
    width:56%;
    z-index:1;
    overflow:hidden;
  }
  .hero-photo img{
    height:100%;
    width:100%;
    object-fit:cover;
    object-position:top center;
    -webkit-mask-image:linear-gradient(to left, black 55%, transparent 96%);
    mask-image:linear-gradient(to left, black 55%, transparent 96%);
  }

  /* SECTION helpers */
  section{padding:96px 0;}
  .section-head{max-width:620px; margin-bottom:56px;}
  .section-head h2{font-size:34px; margin-top:14px;}
  .section-head p{color:var(--slate); font-size:16px; margin-top:14px;}
  .section-alt{background:var(--blue-050);}

  /* ABOUT */
  .about-grid{
    display:grid;
    grid-template-columns:0.8fr 1.2fr;
    gap:64px;
    align-items:center;
  }
  .about-photo{
    aspect-ratio:4/5;
    border-radius:120px 24px 120px 24px;
    overflow:hidden;
    background:var(--navy-800);
    position:relative;
    box-shadow:0 24px 48px -20px rgba(10,22,40,0.35);
  }
  .about-photo::before{
    content:"";
    position:absolute;
    inset:-18px;
    z-index:-1;
    background:var(--blue-100);
    border-radius:120px 24px 120px 24px;
  }
  .about-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
  }
  .about-body p{color:var(--slate); font-size:16px; margin-bottom:16px;}
  .about-body h2{font-size:30px; margin-top:14px; margin-bottom:22px;}

  /* SERVICES */
  .card-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .service-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:32px 28px;
    transition:border-color .15s ease, transform .15s ease;
  }
  .service-card:hover{border-color:var(--blue-500); transform:translateY(-3px);}
  .service-num{
    font-family:'Space Grotesk', sans-serif;
    font-size:13px;
    color:var(--blue-600);
    font-weight:600;
    margin-bottom:18px;
    display:block;
  }
  .service-card h3{font-size:19px; margin-bottom:10px;}
  .service-card p{color:var(--slate); font-size:14.5px;}

  /* PRODUCTS */
  .product-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .product-card{
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--white);
    display:flex; flex-direction:column;
  }
  .product-thumb{
    aspect-ratio:16/10;
    background:var(--navy-800);
    overflow:hidden;
  }
  .product-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .product-body{padding:22px 22px 24px; display:flex; flex-direction:column; flex:1;}
  .product-tag{
    font-size:11.5px;
    font-weight:600;
    color:var(--blue-600);
    text-transform:uppercase;
    letter-spacing:0.06em;
    margin-bottom:8px;
  }
  .product-body h3{font-size:16.5px; margin-bottom:8px;}
  .product-body p{font-size:13.5px; color:var(--slate); flex:1; margin-bottom:18px;}
  .product-body .btn{align-self:flex-start; padding:10px 18px; font-size:13.5px;}

  /* TESTIMONIALS */
  .testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .testi-card{
    background:var(--navy-800);
    border-radius:var(--radius);
    padding:28px 26px;
    color:rgba(255,255,255,0.85);
  }
  .testi-card p{font-size:14.5px; margin-bottom:22px; color:rgba(255,255,255,0.75);}
  .testi-person{display:flex; align-items:center; gap:12px;}
  .testi-avatar{
    width:36px; height:36px; border-radius:50%;
    background:var(--blue-600);
    display:flex; align-items:center; justify-content:center;
    font-family:'Space Grotesk', sans-serif;
    font-size:13px; font-weight:600; color:var(--white);
  }
  .testi-person b{font-size:13.5px; display:block;}
  .testi-person span{font-size:12px; color:rgba(255,255,255,0.5);}

  /* FAQ */
  .faq{max-width:760px;}
  details{
    border-bottom:1px solid var(--line);
    padding:22px 0;
  }
  summary{
    font-family:'Space Grotesk', sans-serif;
    font-weight:600;
    font-size:16px;
    cursor:pointer;
    list-style:none;
    display:flex; justify-content:space-between; align-items:center;
  }
  summary::-webkit-details-marker{display:none;}
  summary::after{
    content:"+";
    font-size:20px;
    color:var(--blue-600);
    font-weight:400;
    margin-left:20px;
  }
  details[open] summary::after{content:"–";}
  details p{color:var(--slate); font-size:14.5px; margin-top:14px; max-width:600px;}

  /* CONTACT / FOOTER CTA */
  .cta-section{
    background:var(--navy-900);
    color:var(--white);
    padding:90px 0;
    text-align:center;
  }
  .cta-section h2{font-size:36px; max-width:640px; margin:18px auto 16px;}
  .cta-section p{color:rgba(255,255,255,0.65); max-width:480px; margin:0 auto 34px; font-size:16px;}
  .cta-section .hero-actions{justify-content:center;}

  footer{background:var(--navy-800); color:rgba(255,255,255,0.6); padding:48px 0 32px;}
  .footer-grid{display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.08);}
  .footer-links{display:flex; gap:32px; flex-wrap:wrap;}
  .footer-links a{font-size:13.5px; color:rgba(255,255,255,0.6);}
  .footer-links a:hover{color:var(--white);}
  .footer-social{display:flex; gap:14px; margin-top:14px;}
  .footer-social a{
    width:32px; height:32px; border-radius:50%;
    border:1px solid rgba(255,255,255,0.15);
    display:flex; align-items:center; justify-content:center;
    overflow:hidden;
    transition:border-color .15s ease, transform .15s ease;
  }
  .footer-social a:hover{border-color:rgba(255,255,255,0.4); transform:translateY(-2px);}
  .footer-social a img{
    width:100%; height:100%;
    object-fit:cover;
    display:block;
  }
  .footer-bottom{padding-top:24px; font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;}

  @media (max-width:860px){
    .wrap{padding:0 24px;}
    .nav-cta{display:none;}
    .nav-links{
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      gap:0;
      position:absolute;
      top:76px; left:0; right:0;
      background:var(--navy-900);
      border-bottom:1px solid rgba(255,255,255,0.08);
      padding:8px 24px 20px;
      max-height:0;
      overflow:hidden;
      opacity:0;
      pointer-events:none;
      transition:max-height .25s ease, opacity .2s ease;
    }
    .nav-links.open{
      max-height:400px;
      opacity:1;
      pointer-events:auto;
    }
    .nav-links a{
      width:100%;
      padding:14px 0;
      font-size:15.5px;
      border-bottom:1px solid rgba(255,255,255,0.06);
    }
    .nav-links .btn{margin-top:12px; width:fit-content;}
    .mobile-only-cta{display:block !important;}
    .menu-toggle{display:block;}
    .about-grid{grid-template-columns:1fr;}
    .about-photo{border-radius:80px 20px 80px 20px;}
    .about-photo::before{inset:-12px; border-radius:80px 20px 80px 20px;}
    .hero h1{font-size:34px;}
    .card-grid, .product-grid, .testi-grid{grid-template-columns:1fr;}
    .hero-stats{flex-wrap:wrap; row-gap:20px;}
    section{padding:64px 0;}
    .hero{min-height:auto; display:block; padding-top:300px; padding-bottom:64px;}
    .hero-content{max-width:100%;}
    .hero-photo{
      width:100%;
      height:280px;
      top:0; right:0; left:0;
    }
    .hero-photo img{
      object-position:top center;
      -webkit-mask-image:linear-gradient(to bottom, black 55%, transparent 96%);
      mask-image:linear-gradient(to bottom, black 55%, transparent 96%);
    }
    .section-head{margin-bottom:40px;}
    .section-head h2{font-size:27px;}
    .about-body h2{font-size:25px;}
    .cta-section h2{font-size:28px;}
    .footer-grid{align-items:flex-start;}
    .footer-bottom{flex-direction:column; align-items:flex-start;}
  }

  @media (max-width:480px){
    .wrap{padding:0 20px;}
    .logo-img{height:38px;}
    .hero{padding-top:260px;}
    .hero-photo{height:220px;}
    .hero h1{font-size:28px;}
    .hero p.lede{font-size:16px;}
    .hero-actions{flex-direction:column; align-items:stretch;}
    .hero-actions .btn, .cta-section .hero-actions .btn{width:100%; justify-content:center;}
    .hero-stats{gap:24px 32px;}
    .hero-stat b{font-size:22px;}
    .section-head h2{font-size:23px;}
    .service-card, .testi-card{padding:24px 20px;}
    .product-body{padding:18px 18px 20px;}
    .cta-section h2{font-size:23px;}
    .cta-section .hero-actions{flex-direction:column; align-items:stretch;}
    .cta-section .hero-actions .btn{width:100%; justify-content:center; text-align:center;}
    .page-header h1{font-size:27px;}
  }

/* PAGE HEADER (subpages) */
.page-header{
  background:var(--navy-900);
  color:var(--white);
  padding:64px 0 56px;
}
.page-header h1{font-size:38px; margin-top:14px;}
.page-header p{color:rgba(255,255,255,0.65); font-size:16px; max-width:520px; margin-top:14px;}
.breadcrumb{font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:18px;}
.breadcrumb a{color:rgba(255,255,255,0.75);}
.breadcrumb a:hover{color:var(--white);}

/* nav active state */
.nav-links a.active{color:var(--white);}

/* category groupings on products page */
.category-block{margin-bottom:64px;}
.category-block:last-child{margin-bottom:0;}
.category-title{
  font-family:'Space Grotesk', sans-serif;
  font-size:15px;
  font-weight:600;
  color:var(--navy-700);
  margin-bottom:22px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}

/* view-all link under a section head */
.section-head-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:56px;
}
.section-head-row .section-head{margin-bottom:0;}
@media (max-width:860px){
  .section-head-row{flex-direction:column; align-items:flex-start;}
}

/* 404 PAGE */
.error-hero{
  background:var(--navy-900);
  color:var(--white);
  padding:110px 0 130px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.error-code{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  font-size:150px;
  line-height:1;
  color:var(--blue-500);
  letter-spacing:-0.02em;
  margin-bottom:8px;
}
.error-hero .eyebrow{justify-content:center;}
.error-hero h1{font-size:32px; max-width:560px; margin:18px auto 14px;}
.error-hero p.lede{
  font-size:16.5px;
  color:rgba(255,255,255,0.68);
  max-width:460px;
  margin:0 auto 40px;
}
.error-hero .hero-actions{justify-content:center; margin-bottom:0;}
.error-links{
  border-top:1px solid rgba(255,255,255,0.12);
  margin-top:56px;
  padding-top:36px;
  display:flex;
  justify-content:center;
  gap:32px;
  flex-wrap:wrap;
}
.error-links a{
  font-size:14px;
  color:rgba(255,255,255,0.62);
  font-weight:500;
}
.error-links a:hover{color:var(--white);}

@media (max-width:480px){
  .error-code{font-size:96px;}
  .error-hero{padding:90px 0 100px;}
  .error-hero h1{font-size:25px;}
  .error-links{gap:18px 26px;}
}

/* VALORES — grade de 5 itens (página Sobre o Grupo) */
.values-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:20px;
}
.value-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  transition:border-color .15s ease, transform .15s ease;
}
.value-card:hover{border-color:var(--blue-500); transform:translateY(-3px);}
.value-icon{
  width:44px; height:44px;
  border-radius:10px;
  background:var(--blue-100);
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  margin-bottom:16px;
}
.value-card h3{font-size:16px; margin-bottom:8px;}
.value-card p{color:var(--slate); font-size:13.5px;}

/* faixa de estatística / selo institucional */
.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.16);
  color:rgba(255,255,255,0.85);
  font-size:13px;
  font-weight:500;
}
