:root{
  --navy:#072f5f;
  --blue:#0a4f95;
  --blue2:#126ab7;
  --yellow:#f6c21f;
  --green:#19a95b;
  --green2:#0e8c49;
  --ink:#132f4c;
  --muted:#63758a;
  --bg:#f6f9fc;
  --card:#ffffff;
  --line:#dfe7ef;
  --shadow:0 16px 40px rgba(7,47,95,.10);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  overflow-x:hidden;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.5;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}


/* =====================================================
   CONTAINER
   ===================================================== */

.container{
  width:min(1160px,calc(100% - 40px));
  margin-left:auto;
  margin-right:auto;
}


/* =====================================================
   TOPO
   ===================================================== */

.topbar{
  background:var(--navy);
  color:#fff;
  font-size:.88rem;
}

.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:8px 0;
}


/* =====================================================
   CABEÇALHO
   ===================================================== */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.nav{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  min-height:82px;
}

.brand{
  justify-self:start;
  display:flex;
  align-items:center;
}

.brand img{
  width:260px;
  height:64px;
  object-fit:contain;
  object-position:left center;
}

.navlinks{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  color:var(--navy);
  font-weight:700;
}

.navlinks a:hover,
.navlinks a.active{
  color:var(--blue2);
}

.header-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}

.phone-fixed{
  white-space:nowrap;
}

.menu-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:9px 12px;
  font-size:1.3rem;
}


/* =====================================================
   BOTÕES
   ===================================================== */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:11px 18px;
  border-radius:13px;
  border:0;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-whatsapp{
  background:var(--green);
  color:#fff;
  box-shadow:0 10px 24px rgba(25,169,91,.20);
}

.btn-whatsapp:hover{
  background:var(--green2);
}

.btn-light{
  background:#fff;
  color:var(--navy);
  border:1px solid var(--line);
}


/* =====================================================
   HERO
   ===================================================== */

.hero{
  background:var(--bg);
  padding:40px 0 28px;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);
  align-items:stretch;
  min-height:510px;
  overflow:hidden;
  border-radius:26px;
  background:#fff;
  box-shadow:0 18px 48px rgba(7,47,95,.10);
}

.hero-copy{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:52px 42px;
  color:#fff;
  background:
    radial-gradient(
      circle at 18% 28%,
      rgba(18,106,183,.28),
      transparent 37%
    ),
    linear-gradient(
      135deg,
      var(--navy),
      var(--blue)
    );
}

.hero-copy::after{
  content:"";
  position:absolute;
  top:0;
  right:-38px;
  width:76px;
  height:100%;
  z-index:1;
  background:var(--blue);
  clip-path:polygon(
    0 0,
    100% 0,
    48% 100%,
    0 100%
  );
}

.hero-copy > *{
  position:relative;
  z-index:2;
}

.eyebrow{
  display:inline-block;
  margin-bottom:14px;
  color:var(--yellow);
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero h1{
  max-width:540px;
  margin:0 0 20px;
  color:#fff;
  font-size:clamp(2.45rem,3.45vw,3.65rem);
  line-height:1.04;
  letter-spacing:-.035em;
}

.hero h1 span{
  color:var(--yellow);
}

.hero p{
  max-width:530px;
  margin:0 0 27px;
  color:#e4eef7;
  font-size:1.05rem;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
}

.hero-photo{
  position:relative;
  min-width:0;
  min-height:510px;
  overflow:hidden;
}

.hero-photo picture{
  display:block;
  width:100%;
  height:100%;
}

.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(7,47,95,.12),
    transparent 22%
  );
}


/* =====================================================
   FAIXA RÁPIDA
   ===================================================== */

.quick{
  background:#fff;
  padding:0 0 30px;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:17px;
  background:var(--line);
}

.quick-item{
  min-width:0;
  padding:18px 14px;
  text-align:center;
  background:#fff;
}

.quick-item b{
  display:block;
  margin-top:4px;
  color:var(--navy);
  font-size:.98rem;
}

.quick-item span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:.88rem;
}


/* =====================================================
   SEÇÕES
   ===================================================== */

.section{
  padding:68px 0;
}

.section.alt{
  background:var(--bg);
}

.section-title{
  max-width:760px;
  margin:0 auto 32px;
  text-align:center;
}

.section-title h2{
  margin:0 0 9px;
  color:var(--navy);
  font-size:clamp(2rem,2.8vw,2.75rem);
  line-height:1.08;
  letter-spacing:-.025em;
}

.section-title p{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

.underline{
  width:58px;
  height:4px;
  margin:13px auto 0;
  border-radius:99px;
  background:var(--yellow);
}


/* =====================================================
   SERVIÇOS
   ===================================================== */

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.services-grid-home{
  grid-template-columns:repeat(4,1fr);
  gap:13px;
}

.service-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:17px;
  box-shadow:0 5px 18px rgba(7,47,95,.045);
  transition:.2s ease;
}

.services-grid-home .service-card{
  display:flex;
  align-items:flex-start;
  gap:11px;
  min-height:105px;
  padding:15px;
}

.service-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}

.service-icon{
  width:43px;
  height:43px;
  flex:0 0 43px;
  display:grid;
  place-items:center;
  margin-bottom:11px;
  border-radius:13px;
  background:#edf5fc;
  font-size:1.25rem;
}

.services-grid-home .service-icon{
  margin-bottom:0;
}

.service-content{
  min-width:0;
}

.service-card h3{
  margin:0 0 4px;
  color:var(--navy);
  font-size:.98rem;
  line-height:1.25;
}

.service-card p{
  margin:0;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.4;
}


/* =====================================================
   CTA
   ===================================================== */

.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:34px;
  border-radius:24px;
  color:#fff;
  background:linear-gradient(
    135deg,
    var(--navy),
    var(--blue)
  );
  box-shadow:var(--shadow);
}

.cta h2{
  margin:0 0 7px;
  font-size:clamp(1.7rem,2.7vw,2.3rem);
}

.cta p{
  margin:0;
  color:#dbeafb;
}


/* =====================================================
   DIFERENCIAIS
   ===================================================== */

.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.feature{
  padding:26px 20px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
}

.feature .round{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  margin:0 auto 13px;
  border-radius:50%;
  background:var(--yellow);
  font-size:1.55rem;
}

.feature h3{
  margin:0 0 6px;
  color:var(--navy);
}

.feature p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
}


/* =====================================================
   CONTATO
   ===================================================== */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:stretch;
}

.panel{
  padding:27px;
  border:1px solid var(--line);
  border-radius:19px;
  background:#fff;
  box-shadow:0 8px 26px rgba(7,47,95,.06);
}

.panel h2,
.panel h3{
  margin-top:0;
  color:var(--navy);
}

.contact-list{
  display:grid;
  gap:13px;
  margin-top:17px;
}

.contact-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.contact-item .ico{
  width:37px;
  height:37px;
  flex:0 0 37px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:#edf5fc;
}

.map-column{
  display:flex;
  flex-direction:column;
  gap:11px;
}

.map-wrap{
  min-height:340px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
}

.map-wrap iframe{
  width:100%;
  height:340px;
  display:block;
  border:0;
}

.map-open-link{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--navy);
  font-weight:800;
}


/* =====================================================
   FORMULÁRIOS
   ===================================================== */

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.field{
  display:grid;
  gap:7px;
}

.field.full{
  grid-column:1/-1;
}

label{
  color:var(--navy);
  font-size:.92rem;
  font-weight:800;
}

input,
select,
textarea{
  width:100%;
  padding:13px 14px;
  border:1px solid #cfdbe6;
  border-radius:12px;
  outline:none;
  background:#fff;
  color:var(--ink);
}

textarea{
  min-height:130px;
  resize:vertical;
}

.help{
  color:var(--muted);
  font-size:.84rem;
}


/* =====================================================
   RODAPÉ DESKTOP
   ===================================================== */

.footer{
  padding:42px 0 22px;
  background:#062b54;
  color:#dce9f5;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:32px;
  align-items:start;
}

.footer-logo{
  width:260px;
  height:auto;
  margin-bottom:14px;
  padding:0;
  border-radius:0;
  background:transparent;
  object-fit:contain;
  object-position:left center;
}

.footer h4{
  margin:0 0 9px;
  color:#fff;
}

.footer p{
  margin:4px 0;
  color:#cbdcea;
}

.footer-bottom{
  margin-top:25px;
  padding-top:17px;
  border-top:1px solid rgba(255,255,255,.15);
  color:#a9bfd3;
  font-size:.84rem;
}


/* =====================================================
   WHATSAPP FLUTUANTE
   ===================================================== */

.float-wa{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:45;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  font-size:1.55rem;
  box-shadow:0 10px 28px rgba(0,0,0,.22);
}


/* =====================================================
   MOBILE / ANDROID
   ===================================================== */

@media(max-width:900px){

  .topbar{
    display:none;
  }

  .nav{
    display:flex;
    min-height:68px;
    gap:12px;
  }

  .brand{
    flex:1 1 auto;
    min-width:0;
  }

  .brand img{
    width:175px;
    height:48px;
    object-fit:contain;
    object-position:left center;
  }

  .header-actions{
    margin-left:auto;
  }

  .header-actions .phone-fixed,
  .header-actions .btn-whatsapp{
    display:none;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    padding:0;
    border-radius:12px;
    flex:0 0 44px;
  }

  .navlinks{
    display:none;
    position:absolute;
    left:12px;
    right:12px;
    top:70px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:2px;
  }

  .navlinks.open{
    display:flex;
  }

  .navlinks a{
    padding:11px 12px;
    border-radius:9px;
  }


  /* HERO */

  .hero{
    padding:12px;
    background:var(--bg);
  }

  .hero-grid{
    width:100%;
    min-height:0;
    grid-template-columns:1fr;
    border-radius:20px;
    box-shadow:0 8px 24px rgba(7,47,95,.09);
  }

  .hero-copy{
    padding:26px 20px 22px;
  }

  .hero-copy::after{
    display:none;
  }

  .hero h1{
    max-width:none;
    font-size:2.15rem;
    line-height:1.04;
    margin-bottom:14px;
  }

  .hero p{
    max-width:none;
    margin-bottom:18px;
    font-size:.98rem;
    line-height:1.48;
  }

  .eyebrow{
    font-size:.72rem;
    margin-bottom:9px;
  }

  .hero-actions{
    display:grid;
    gap:9px;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-photo{
    min-height:245px;
  }


  /* QUICK */

  .quick{
    padding:0 12px 24px;
  }

  .quick-grid{
    width:100%;
    grid-template-columns:1fr 1fr;
    border-radius:15px;
  }

  .quick-item{
    padding:13px 7px;
  }

  .quick-item b{
    font-size:.82rem;
  }

  .quick-item span{
    font-size:.72rem;
    line-height:1.3;
  }


  /* SEÇÕES */

  .section{
    padding:42px 0;
  }

  .section-title{
    width:calc(100% - 28px);
    margin-bottom:22px;
  }

  .section-title h2{
    font-size:1.9rem;
  }

  .section-title p{
    font-size:.88rem;
    line-height:1.45;
  }


  /* SERVIÇOS */

  .services-grid,
  .services-grid-home{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .services-grid-home .service-card,
  .service-card{
    min-height:0;
    padding:11px;
    gap:8px;
    border-radius:13px;
  }

  .service-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    border-radius:10px;
    font-size:1rem;
  }

  .service-card h3{
    font-size:.82rem;
    line-height:1.2;
  }

  .service-card p{
    font-size:.73rem;
    line-height:1.32;
  }


  /* CTA */

  .cta{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
    padding:22px 18px;
    border-radius:18px;
  }

  .cta h2{
    font-size:1.65rem;
  }

  .cta p{
    font-size:.88rem;
  }


  /* DIFERENCIAIS */

  .features-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .feature{
    padding:17px 14px;
  }

  .feature .round{
    width:48px;
    height:48px;
    margin-bottom:9px;
    font-size:1.25rem;
  }

  .feature h3{
    font-size:.94rem;
  }

  .feature p{
    font-size:.80rem;
  }


  /* CONTATO */

  .contact-grid{
    grid-template-columns:1fr;
    gap:11px;
  }

  .panel{
    padding:17px;
  }

  .panel h2{
    font-size:1.35rem;
  }

  .contact-list{
    gap:10px;
    margin-top:10px;
  }

  .contact-item{
    gap:9px;
  }

  .contact-item .ico{
    width:34px;
    height:34px;
    flex:0 0 34px;
  }

  .map-wrap{
    min-height:255px;
  }

  .map-wrap iframe{
    height:255px;
  }

  .map-open-link{
    min-height:42px;
    padding:8px 10px;
    font-size:.82rem;
    text-align:center;
  }


  /* FORM */

  .form-grid{
    grid-template-columns:1fr;
    gap:11px;
  }

  .field.full{
    grid-column:auto;
  }


  /* =================================================
     RODAPÉ MOBILE COMPACTO
     ================================================= */

  .footer{
    padding:22px 0 66px;
  }

  .footer-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:15px 16px;
    align-items:start;
  }

  /*
    Marca ocupa largura inteira,
    mas logo e slogan ficam lado a lado.
  */

  .footer-grid > div:first-child{
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    padding-bottom:11px;
    border-bottom:1px solid rgba(255,255,255,.12);
  }

  .footer-grid > div:first-child .footer-logo{
    flex:0 0 auto;
  }

  .footer-grid > div:first-child p{
    margin:0;
    max-width:150px;
  }

  .footer-logo{
    width:145px;
    margin:0;
  }

  /*
    Contato e Horário lado a lado.
  */

  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3){
    min-width:0;
  }

  .footer h4{
    margin:0 0 6px;
    font-size:.82rem;
  }

  .footer p{
    margin:2px 0;
    font-size:.70rem;
    line-height:1.38;
    overflow-wrap:anywhere;
  }

  .footer-bottom{
    margin-top:14px;
    padding-top:10px;
    padding-right:58px;
    font-size:.63rem;
    line-height:1.3;
  }


  /* WHATSAPP FLUTUANTE */

  .float-wa{
    width:50px;
    height:50px;
    right:13px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    font-size:1.3rem;
  }

}


/* =====================================================
   MOBILE PEQUENO
   ===================================================== */

@media(max-width:600px){

  .container{
    width:calc(100% - 18px);
  }

  .nav{
    width:calc(100% - 18px);
  }

  .brand img{
    width:165px;
    height:46px;
  }

  .section{
    padding:38px 0;
  }

  .hero{
    padding:10px 8px 12px;
  }

  .hero-copy{
    padding:23px 16px 20px;
  }

  .hero h1{
    font-size:1.95rem;
  }

  .hero p{
    font-size:.90rem;
  }

  .hero-photo{
    min-height:225px;
  }

  .quick{
    padding-left:8px;
    padding-right:8px;
  }

  .services-grid,
  .services-grid-home{
    gap:7px;
  }

  .services-grid-home .service-card,
  .service-card{
    padding:10px 9px;
  }

  .service-card h3{
    font-size:.79rem;
  }

  .service-card p{
    font-size:.70rem;
  }

  .cta{
    padding:20px 16px;
  }

  .cta h2{
    font-size:1.55rem;
  }


  /* RODAPÉ AINDA MAIS COMPACTO */

  .footer{
    padding-top:19px;
  }

  .footer-grid{
    gap:13px 12px;
  }

  .footer-grid > div:first-child{
    gap:9px;
    padding-bottom:9px;
  }

  .footer-logo{
    width:135px;
  }

  .footer-grid > div:first-child p{
    max-width:135px;
    font-size:.68rem;
  }

  .footer h4{
    font-size:.76rem;
  }

  .footer p{
    font-size:.66rem;
    line-height:1.34;
  }

  .footer-bottom{
    font-size:.59rem;
  }

}


/* =====================================================
   MUITO ESTREITO
   ===================================================== */

@media(max-width:350px){

  .brand img{
    width:150px;
  }

  .footer-grid{
    gap:12px 9px;
  }

  .footer-logo{
    width:125px;
  }

  .footer-grid > div:first-child p{
    max-width:120px;
    font-size:.63rem;
  }

  .footer h4{
    font-size:.72rem;
  }

  .footer p{
    font-size:.62rem;
  }

}