/* =========================
   WFPcomputer — Minimal UI
   Paleta: #0F131E (bg), #00A2FF (brand), #F6F7F8 (surface)
   Tipos: Sistema (Inter/Segoe/UI)
   ========================= */

:root{
  /* Paleta corporativa/tech */
  --bg: #0F131E;          /* fundo escuro (hero) */
  --brand: #00A2FF;       /* azul corporativo (CTA/destaques) */
  --brand-400: #00A6FB;   /* azul claro (gradientes/destaque) */
  --brand-600: #0062CC;   /* hover CTA */
  --brand-700: #0056A3;   /* ativo/press */

  --success: #2ECC71;     /* apoio (status/ok) */

  --txt: #0B0F17;         /* texto em superfícies claras */
  --txt-light: #FFFFFF;   /* texto sobre o hero/fundos escuros */
  --txt-weak: #9AA5B1;    /* subtítulos/descrições */
  --border: #E6EBF1;      /* bordas sutis */
  --surface: #F6F7F8;     /* seções claras */
  --white: #FFFFFF;

  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --topbar-fg: #2B3440;
  --topbar-weak: #5E6B78;
  --topbar-sep: rgba(15,19,30,.10);
  --wa: #25D366;
  --wa-600: #1FB357;
  
  /* === VOLTAR COM ESTES === */
  --header-h: clamp(64px, 5.5vw, 84px);
  --header-h-scrolled: 60px;
  --header-bg: rgba(255,255,255,0);
  --header-bg-solid: rgba(255,255,255,.88);
  --header-blur: saturate(160%) blur(10px);
  --header-border: 1px solid rgba(15,19,30,.06);
}



.nav-link.active{ color:var(--brand); font-weight:700; }
html{ scroll-behavior:smooth; }

.cta-mobile{
  --cta-h: clamp(56px, 8vh, 76px);
  position: fixed; left: 0; right: 0; bottom: env(safe-area-inset-bottom, 0);
  padding: .625rem 1rem;
  min-height: var(--cta-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid #E6EBF1;
  z-index: 1030;
}

*{box-sizing:border-box}
html,body{height:100%; max-width: 100%;}
img, iframe {
  max-width: 100%;
  height: auto;
}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  color:var(--txt);
  background:#fff;
  line-height:1.5;
  padding-bottom: calc(var(--cta-h, 76px) + env(safe-area-inset-bottom, 0px));
  scroll-behavior: auto;
}

/* Hierarquia tipográfica */
.h1, h1, .display-5{
  font-weight:800;
  letter-spacing:-.015em;
}
.hero .lead{ color: #fff; }

/* Espaçamento de seções com clamp para responsividade suave */
.section{ padding:clamp(56px, 6vw, 88px) 0; }

/* Links foco visível (acessibilidade) */
:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}

/* Nav ativa */
.nav-link.active{ color:var(--brand); font-weight:700; }
#header .nav-link{ padding: .625rem .85rem; } /* ~44px de altura em média */


/* Cards/Features – hover com feedback sutil de cor */
.feature{
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.feature:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(15,19,30,.12);
  background:rgba(0,162,255,.03);
}
.feature .icon{
  background:rgba(0,162,255,.10);
  color:var(--brand);
}

/* Badges em grid para não parecer tag solta */
.badge-soft{ margin:.125rem; }

/* Timeline – adiciona linha guia sutil */
.timeline{ position:relative; }
.timeline::before{
  content:"";
  position:absolute; top:0; bottom:0; left:8px;
  width:2px; background:linear-gradient(#e9eef5, #dfe7f0);
}
.timeline__dot{
  position:relative; z-index:1;
  box-shadow:0 0 0 4px rgba(0,162,255,.15);
}

/* Header fixo com animação mais suave (sem “salto”) */

#header.is-hidden{ transform:translateY(-100%); }

/* CTA flutuante no desktop (melhora conversão) */
.cta-float{
  position:fixed; right:20px; bottom:24px; z-index:1030;
  display:none;
}
@media (min-width: 992px){
  .cta-float{ display:block; }
}

/* Imagens utilitárias */
img[loading="lazy"]{ content-visibility:auto; }

/* Mapa responsivo – borda sutil */
.ratio iframe{ border:1px solid var(--border); }

/* Pequenos ajustes de contraste em textos clarinhos (sobre/faq) */
.text-muted{ color:var(--txt-weak)!important; }

/* Links */
a{ color:var(--brand); text-decoration: none; text-underline-offset:2px; }
a:hover{color:var(--brand-600); text-decoration: none !important;}

/* Buttons */
.btn-brand{
  --bs-btn-bg:var(--brand);
  --bs-btn-border-color:var(--brand);
  --bs-btn-hover-bg:var(--brand-600);
  --bs-btn-hover-border-color:var(--brand-600);
  --bs-btn-color:#fff;
}
.btn-outline-brand{
  --bs-btn-color:var(--brand);
  --bs-btn-border-color:var(--brand);
  --bs-btn-hover-bg:var(--brand);
  --bs-btn-hover-border-color:var(--brand);
  --bs-btn-hover-color:#fff;
}

/* Controles customizados do carrossel */
.custom-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .2s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: none;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
}

.carousel-indicators .active {
  background-color: var(--brand); /* azul da sua paleta */
}

.custom-control:hover {
  background: var(--brand-600);
  transform: translate(-0%, -50%) scale(1.06); /* mantém o centro perfeito */
}


.carousel-control-prev.custom-control {
  left: 20px;
}

.carousel-control-next.custom-control {
  right: 20px;
}



/* Topbar */
#topbar .btn{border-radius:999px;padding:.4rem .9rem}

/* Header */
#header .navbar-brand img{object-fit:contain}
#header .nav-link{padding:.5rem .75rem}
#header .nav-link:hover,
#header .nav-link.active{color:var(--brand)}

/* Hero */
/* Hero fixo e estável */
.hero{
  position: relative;
  height: clamp(420px, 75vh, 640px); /* mínimo 420px, máximo 640px */
  min-height: 420px;
  max-height: 640px;
  overflow: hidden;
  background: var(--bg);
}
.hero > .carousel,
.hero .carousel-inner{
  height: 100%;                 /* dá altura aos pais do .carousel-item */
}
.hero .carousel-item{
  height: 100%;                 /* agora 100% funciona de verdade */
}
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* mantém foco visual em qualquer proporção */
}

/* ===== Menu Mobile refinado ===== */
@media (max-width: 991.98px) {
  #nav{
    padding: 1rem;
    margin-top: 55px;                 /* descola do topo e elimina “corte” */
    background: #fff;                   /* fundo sólido no mobile */
    border-radius: .75rem;              /* cantos arredondados completos */
    box-shadow: 0 10px 24px rgba(15,19,30,.12);
  }
  #nav.collapse.show {
    position: fixed;      /* prende na viewport */
    inset: 0;             /* equivale a top:0; right:0; bottom:0; left:0 */
    width: 100vw;         
    height: 100vh;        
    margin: 0 !important; /* tira qualquer herança */
    padding: 1.25rem;     
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    z-index: 1090;        /* acima do header (1060) */
    overflow-y: auto;     /* rolagem se necessário */
  }
  .navbar-nav .nav-link{
    display:block; padding:.75rem 0; font-size:1.05rem; font-weight:500;
    color:#0F131E; border-bottom:1px solid #E6EBF1;
  }
  .navbar-nav .nav-link:last-child{ border-bottom:none; }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus{ color:#00A2FF; }
  .navbar-nav .nav-link.active{ color:#00A2FF; font-weight:600; }
}

/* Backdrop clicável para fechar ao tocar fora */
.nav-backdrop{
  position:fixed; inset:0; 
  background: rgba(15,19,30,.35);      /* leve dim para foco no menu */
  z-index: 1055;                       /* abaixo do header (1060), acima do conteúdo */
  -webkit-tap-highlight-color: transparent;
}



/* ===== Overlay (degradê premium, não “tampa” a imagem) */
.hero .overlay{
  position:absolute; inset:0; pointer-events:none; z-index:1;
  background: radial-gradient(1200px 600px at 60% -10%, rgba(0,162,255,.25) 0%, rgba(0,0,0,0) 60%),
              linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.25));
}

/* ===== Tipografia do hero */
.hero-title{
  color: #fff;                  /* corrige var(--c-text) inexistente */
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing:.2px;
}
.hero-title span{ color: var(--brand); }  /* usa token único */


.hero-subtitle{
  margin-top:.75rem;
  color: var(--txt-weak);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
}

/* ===== CTA */
.btn-cta--nav{
  --bg: var(--brand); --bg-hover: var(--brand-600); --txt:#fff;
  display:inline-flex; align-items:center; gap:.5rem; padding:.6rem 1rem;
  font-weight:700; border-radius:999px; border:1px solid rgba(0,162,255,.35);
  background: var(--bg); color: var(--txt)!important;
  box-shadow:0 10px 26px rgba(0,162,255,.22);
}
.btn-cta--nav:hover{ background:var(--bg-hover); box-shadow:0 12px 30px rgba(0,162,255,.28); transform:translateY(-1px); }

.btn-cta:hover{ transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,162,255,.45); }

.btn-cta[aria-busy="true"] {
  background: var(--brand);   /* mantém a cor da marca */
  color: #fff;                /* texto branco */
  opacity: 0.85;              /* leve transparência pra dar feedback */
  cursor: wait;
}

/* ===== Controles do carrossel (UX touch-friendly) */
.custom-control {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.25);   /* sempre visível */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #fff;
  transition: background .3s, transform .2s;
}

.custom-control .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.4;
  filter: drop-shadow(0 0 4px rgba(0,0,0,.6)); /* contraste extra */
  pointer-events: none;
}

.custom-control:hover {
  background: rgba(0,0,0,0.45);   /* mais forte no hover */
  transform: translateY(-50%) scale(1.08);
}

.carousel-control-prev.custom-control { left: 16px; }
.carousel-control-next.custom-control { right: 16px; }

.hero .carousel-item {
  height: 100%;                /* ocupa toda a altura do hero */
}

/* Centralização vertical das setas */
.carousel-control-prev.custom-control,
.carousel-control-next.custom-control{
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;                   /* garante sobreposição ao overlay/imagem */
}

/* ===== Indicadores (bolinhas) */
.carousel-indicators{ margin-bottom: clamp(.5rem, 3.5vh, 2rem); }

.carousel-indicators [data-bs-target]{
  width:12px; height:12px; border-radius:50%;
  background-color: rgba(255,255,255,.55);
}
.carousel-indicators .active{ background-color: var(--brand); } /* token correto */


/* ===== Responsivo */
@media (max-width: 576px){
  .caption-left{
    left: 1rem;
    right: 1rem;
    bottom: 1.5rem;
    text-align: center;
    background: rgba(0,0,0,.45);
    border-radius: .75rem;
    padding: 1rem;
  }
  .carousel-caption h1 span{ display:block; } /* quebra linha bonita */
  .carousel-caption p{ font-size: .95rem; }
  .carousel-caption .btn{ width: 100%; } /* CTA ocupa largura inteira */
    .custom-control{
    width: 42px; height: 42px;
  }
  .carousel-control-prev.custom-control{ left: 8px; }
  .carousel-control-next.custom-control{ right: 8px; }

}

/* ===== Caption layout */
.carousel-caption{ z-index:2; text-align:left; }
.caption-left{
  left: clamp(1rem, 6vw, 6rem);
  right: auto;
  bottom: clamp(3rem, 10vh, 8rem);
  max-width: min(720px, 90vw);
  text-align: left;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  background: linear-gradient(to right, rgba(0,0,0,.55), rgba(0,0,0,.0)); /* fundo sutil */
}

.carousel-caption h1{
  font-weight: 800;
  color: #fff;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: .75rem;
  animation: fadeUp .8s ease both;
}

.carousel-caption p{
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  animation: fadeUp 1s ease .2s both;
}

.carousel-caption .btn{
  animation: fadeUp 1s ease .4s both;
}

/* Animação */
@keyframes fadeUp {
  from { opacity:0; transform: translateY(20px); }
  to { opacity:1; transform: translateY(0); }
}

/* Sections */
.section{padding:72px 0}
.section-alt{background:var(--surface)}
.section-head{max-width:760px;margin:0 auto 24px;text-align:center}
.eyebrow{
  text-transform:uppercase;letter-spacing:.12em;
  color:var(--brand);font-weight:700;font-size:.8rem;
}
.h1{font-size:clamp(1.6rem,2vw + 1rem,2.25rem);font-weight:800}

/* Features */
.feature{
  border:1px solid #ECEFF3;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.feature:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(15,19,30,.12)}
.feature .icon{
  width:44px;height:44px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(0,162,255,.1);color:var(--brand);font-size:22px;margin-bottom:10px;
}

/* List grid (Sobre) */
.grid-list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* mais flexível */
  gap:1rem 1.5rem;
  margin-top:1.25rem;
}

.grid-list li{
  display:flex; gap:.75rem; align-items:flex-start;
  line-height:1.5; color:var(--txt);
}

.grid-list i{
  flex-shrink:0;
  width:28px; height:28px;
  border-radius:50%;
  background:rgba(0,162,255,.1); /* círculo translúcido */
  color:var(--brand);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem;
}

/* Logos */
.logos img{
  width: auto;
  filter: grayscale(100%) contrast(1) opacity(.8);
  transition: filter .2s, transform .2s;
  object-fit: contain;
}
.logos img:hover{ filter:none; transform: translateY(-1px); }


/* Cards */
.card{border:1px solid #E6EBF1;border-radius:var(--radius);box-shadow:var(--shadow)}
.card .card-body{padding:24px}

/* Form / Contact */
.php-email-form .error-message{
  display:none;
  background:#E53935;color:#fff;border-radius:10px;padding:.75rem 1rem
}
.php-email-form .sent-message{
  display:none;background:#2E7D32;color:#fff;border-radius:10px;padding:.5rem .75rem
}

/* =========================
   Section Contact
   ========================= */
.section--contact {
  background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
  padding-top: clamp(3rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Card lateral (info da empresa) */
.contact-aside {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  color: var(--txt);
}

.contact-list i {
  font-size: 1.2rem;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: .2rem;
}

/* Form */
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.input-group {
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.input-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0,162,255,.15);
}

.input-group-text {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  padding: .65rem .85rem;
  color: var(--txt-weak);
}

.input-group .form-control {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: .65rem .85rem;
  font-size: .95rem;
}

.input-group .form-control:focus {
  outline: none;
  box-shadow: none;
}

/* Estados inválidos */
.input-group.is-invalid {
  border-color: #dc3545;
}
.input-group.is-invalid .input-group-text {
  color: #dc3545;
}
.invalid-feedback {
  display: block;
  font-size: .85rem;
  color: #842029;
  margin-top: .35rem;
}

/* Feedback mensagens */
.php-email-form .loading {
  display: none;
  color: var(--txt-weak);
  font-size: .9rem;
}
.php-email-form .error-message {
  display: none;
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  border-radius: .5rem;
  padding: .65rem .85rem;
  font-size: .9rem;
}
.php-email-form .sent-message {
  display: none;
  background: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  border-radius: .5rem;
  padding: .65rem .85rem;
  font-size: .9rem;
}

.error-message {
  color: #B00020;
  background: #FFECEC;
  border: 1px solid #F5C2C7;
  border-radius: 10px;
  padding: .75rem 1rem;
}

.sent-message {
  color: #0F5132;
  background: #D1E7DD;
  border: 1px solid #BADBCC;
  border-radius: 10px;
  padding: .75rem 1rem;
  transition: opacity 0.5s ease;
}
.sent-message.d-none {
  opacity: 0;
}
.sent-message:not(.d-none) {
  opacity: 1;
}


/* CTA */
.btn-cta {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: .65rem;
  padding: .85rem 1.25rem;
  min-height: 44px;
  transition: background .25s, box-shadow .25s, transform .2s;
}
.btn-cta:hover {
  background: var(--brand-600);
  box-shadow: 0 8px 22px rgba(0,162,255,.25);
  transform: translateY(-2px);
}

/* Mapa */
.map-card {
  background: #fff;
  border: 1px solid rgba(15,19,30,.06);
  border-radius: 16px;
  padding: 1.75rem 1.5rem; /* mais respiro */
  box-shadow: 0 8px 24px rgba(15,19,30,.06);
}

.map-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: .35rem;
}

.map-info p {
  color: var(--txt-weak);
  margin-bottom: 1rem;  /* espaço antes dos botões */
  line-height: 1.55;    /* melhor legibilidade */
}

#mapWrap {
  aspect-ratio: 16/9;  /* ou 21/9 */
  width: 100%;
}
#mapWrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-info .btn {
  margin-top: .25rem; /* separa do texto */
}
.map-info {
  padding: .25rem 0 .5rem; /* separa título e conteúdo */
}
.map-card iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.map-info p{ color:var(--txt-weak); margin-bottom:.5rem; }

/* Responsividade */
@media (min-width: 992px) {
  .contact-aside {
    position: sticky;
    top: calc(var(--header-h-scrolled) + 20px);
  }
}


/* Micro-atenção no CTA (se já existir .attention, apenas garanta a grafia correta) */
.attention{
  animation: pulse-cta 1.8s ease-in-out infinite;
}
@keyframes pulse-cta{
  0%,100%{ transform: translateZ(0) scale(1); box-shadow: 0 0 0 0 rgba(0,162,255,.0); }
  50%{ transform: translateZ(0) scale(1.01); box-shadow: 0 10px 30px rgba(0,162,255,.25); }
}
@media (prefers-reduced-motion: reduce){
  .attention{ animation: none !important; }
}

/* Responsividade */
@media (min-width: 992px){
  .contact-aside{
    position: sticky;
    top: calc(var(--header-height, 72px) + 16px);
  }
}


.loading{display:none}

/* Footer */
#footer{background:#0B0F17}
#footer a{color:#B8C3CF}
#footer a:hover{color:#fff}

/* Utilities */
.rounded-3{border-radius:var(--radius)!important}

/* Small fixes */
.navbar-toggler{border:none}
.navbar-toggler:focus{box-shadow:none}

/* ==== Sobre a Empresa (minimal) ==== */
.stat{
  border:1px solid #E6EBF1;
  border-radius:16px;
  padding:16px 18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,19,30,.06);
}
.stat__num{
  font-weight:800;
  font-size:clamp(1.25rem,1.2vw + 1rem,1.75rem);
  line-height:1.1;
  color:var(--brand);
}
.stat__label{
  font-size:.9rem;
  color:var(--muted);
}

/* Badges suaves */
.badge-soft{
  display:inline-block;
  padding:.4rem .7rem;
  border-radius:999px;
  background:rgba(0,162,255,.08);
  color:var(--brand);
  font-weight:600;
  font-size:.85rem;
  border:1px solid rgba(0,162,255,.18);
}

/* Timeline minimal */
.timeline{display:grid;gap:14px;max-width:880px;margin:0 auto}
.timeline__item{display:grid;grid-template-columns:18px 1fr;gap:12px;align-items:start}
.timeline__dot{
  width:18px;height:18px;border-radius:50%;
  background:var(--brand);
  box-shadow:0 0 0 4px rgba(0,162,255,.15);
  margin-top:.35rem;
}
.timeline__content{border:1px solid #E6EBF1;border-radius:12px;padding:12px 14px;background:#fff}

/* Accordion (refino sutil) */
.accordion-button:focus{box-shadow:none}
.accordion-button:not(.collapsed){color:var(--brand)}

.btn.btn-lg.shadow{
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn.btn-lg.shadow:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,19,30,.15);
}

.btn[aria-busy="true"]{ pointer-events:none; opacity:.7; }
a.btn, button.btn{ min-height:44px; } /* área de toque */

@media (prefers-reduced-motion:no-preference){
  .reveal{ opacity:0; transform: translateY(12px); transition: .45s ease; }
  .reveal.is-visible{ opacity:1; transform:none; }
}

#header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15,19,30,.08);
  animation: slideDown .3s ease;
}


/* ===== Header refinado ===== */
/* Skip link (acessibilidade) */
.skip-link{
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus{
  position: fixed; left: 16px; top: 16px; width: auto; height: auto;
  background: #000; color:#fff; padding: .5rem .75rem; border-radius: 8px; z-index: 1100;
}

/* Header base */
#header{
  position: relative;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--header-bg);
  transition:
    background .24s ease,
    height .24s ease,
    box-shadow .24s ease;
  will-change: background, height, box-shadow;
  border-bottom: none;
  transition: all .3s ease;
   z-index: 1060; 
}
#header.sticky-top{ position: sticky; top: 0; z-index: 1030; }

/* Ao rolar */
/* Estado fixo (quando o topbar some) */
#header.fixed{
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: var(--header-h-scrolled);
  background: var(--header-bg-solid);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  box-shadow: 0 6px 24px rgba(15,19,30,.06);
  border-bottom: var(--header-border);
}
#header.is-hidden{ transform: translateY(-100%); }

/* Logo responsiva + shrink no scroll */
/* Logo diminui de forma suave */
#header.fixed .navbar-brand img{
  height: calc(var(--header-h-scrolled) - 20px);
  opacity: 1;
}

/* Links da nav — indicador minimal */
#header .nav-link{
  position: relative;
  padding: .5rem .75rem;
  font-weight: 600;
}
#header .nav-link::after{
  content:"";
  position:absolute; left: .75rem; right:.75rem; bottom: .35rem;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: center; transition: transform .2s ease;
  opacity: .9; border-radius: 2px;
}
#header .nav-link:hover::after,
#header .nav-link:focus-visible::after,
#header .nav-link.active::after{ transform: scaleX(1); }

/* Botão de CTA na navegação: destaque consistente */
#header .btn-outline-brand{
  --bs-btn-border-color: rgba(0,162,255,.35);
  --bs-btn-hover-border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(0,162,255,.12);
}

/* Mobile: alvos maiores e menu mais confortável */

/* Topbar mais “fininho” (opcional) */
#topbar{
  font-size: .925rem;
  color: var(--topbar-fg);
  background:#fff;
  border-bottom: 1px solid var(--topbar-sep);
}

#topbar .container{
  display: block;

}
/* Links “compactos” com ícone */
.topbar-link{
  display:inline-flex; align-items:center; gap:.4rem;
  color: var(--topbar-fg);
  text-decoration: none;
  line-height: 1.2;
  padding: .25rem 0;
  transition: color .18s ease, opacity .18s ease;
}

a:hover{ text-decoration: none; }
#header a.btn:hover,
.btn:hover{ text-decoration: none; } /* exceto botões */
.topbar-link .bx{
  font-size: 1rem;
  line-height: 1;
  color: var(--topbar-weak);
  transform: translateY(1px);
}
@media (max-width: 420px){
  .topbar-link .bx{ font-size: .95rem; }
}
.topbar-link:hover{
  color: var(--brand);
}
.topbar-link:hover .bx{
  color: var(--brand);
  transform: translateY(0);      /* micro feedback */
}

/* Separador mais sutil */
#topbar .vr{
  opacity:.6;
  border-left:1px solid var(--topbar-sep);
}

/* Ícones de redes com foco/hover */
.topbar-social{
  display:inline-flex; align-items:center; justify-content:center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: var(--topbar-weak);
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.topbar-social .bx{ font-size: 1.7rem; transform: translateY(1px); }
.topbar-social:hover{
  color:#0E1622;
  background: rgba(0,0,0,.05);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Versão minimalista com alinhamento central perfeito */
/* Botão WhatsApp minimalista e centralizado */
.btn-topbar-wa{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: transparent;
  color: #25D366;
  border: 1px solid #25D366;
  font-weight: 500;
  font-size: .875rem;
  height: 38px;              /* altura fixa para centralizar */
  padding: 0 1rem;           /* só lateral */
  border-radius: 999px;      /* pill */
  line-height: 1;
  transition: all .2s ease-in-out;
}
.btn-topbar-wa:hover{
  background: #25D366;
  color: #fff;
  text-decoration: none;
}


.btn-topbar-wa .bx{ font-size: 1rem; line-height: 1; transform: translateY(1px); }

/* Responsivo: diminui um pouco em telas muito pequenas */
@media (max-width: 420px){
  .topbar-link .bx{ font-size: 1.05rem; }
  .topbar-social{ width: 34px; height: 34px; }
}

/* Acessibilidade: foco visível */
.topbar-link:focus-visible,
.topbar-social:focus-visible,
.btn-topbar-wa:focus-visible{
  outline:2px solid var(--brand);
  outline-offset: 2px;
}
#topbar .btn{ border-radius: 999px; padding: .35rem .9rem; }

/* ===== CTA do Header (super visível) ===== */
.btn-cta{
  --bg: var(--brand);
  --bg-hover: var(--brand-600);
  --txt: #fff;

  display:inline-flex; align-items:center; gap:.5rem;
  padding:.6rem 1rem;
  font-weight: 700;
  letter-spacing: .2px;
  border-radius: 999px;
  border: 1px solid rgba(0,162,255,.35);
  background: var(--bg);
  color: var(--txt) !important;
  box-shadow: 0 10px 26px rgba(0,162,255,.22);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  min-height: 44px; /* área de toque */
}
.btn-cta:hover{
  background: var(--bg-hover);
  box-shadow: 0 12px 30px rgba(0,162,255,.28);
  transform: translateY(-1px);
}
.btn-cta:active{ transform: translateY(0); box-shadow: 0 8px 22px rgba(0,162,255,.22); }
.btn-cta:focus-visible{ outline: 2px solid var(--brand); outline-offset: 2px; }

/* Ícone dentro do botão */
.btn-cta .bx{ font-size: 1.1rem; line-height: 1; }

/* Quando o header estiver fixo, mantém o alto contraste e refina o glow */
#header.fixed .btn-cta{
  box-shadow: 0 8px 24px rgba(0,162,255,.20);
}

/* ===== Correção do CTA ===== */
.btn-cta,
.btn-cta:active,
.btn-cta:focus,
.btn-cta:focus-visible {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
  box-shadow: 0 8px 22px rgba(0,162,255,.25) !important;
  outline: none !important;
}

/* =========================
   CTA dentro do service-card
   ========================= */
.service-card .card-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;        /* menor que o texto do card */
  font-weight: 500;
  color: var(--brand, #00A2FF);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.service-card .card-cta i {
  margin-left: 0.35rem;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

/* Hover desktop */
.service-card:hover .card-cta {
  color: var(--brand-600, #0062CC);
  transform: translateX(2px);
}

.service-card:hover .card-cta i {
  transform: translateX(3px);
}

/* Feedback no clique/touch */
.service-card:active .card-cta {
  transform: scale(0.97);
  opacity: 0.8;
}

/* Acessibilidade (foco teclado) */
.service-card:focus .card-cta,
.service-card:focus-within .card-cta {
  outline: none;
  color: var(--brand-600, #0062CC);
  text-decoration: underline;
}


/* Micro-animação que roda uma única vez ao carregar a página */
@keyframes ctaPop {
  0%   { transform: scale(.96); box-shadow: 0 0 0 0 rgba(0,162,255,.00); }
  60%  { transform: scale(1);   box-shadow: 0 16px 36px rgba(0,162,255,.30); }
  100% { transform: scale(1);   box-shadow: 0 10px 26px rgba(0,162,255,.22); }
}
.btn-cta.attention{ animation: ctaPop .6s ease-out .25s 1 both; }

/* Melhor legibilidade se o header estiver transparente sobre a hero */
#header:not(.fixed) .btn-cta{
  /* permanece sólido para forte contraste sobre o fundo escuro */
}

/* Mobile: mantém tamanho confortável, sem exagerar */
@media (max-width: 991.98px){
  .btn-cta{ padding:.55rem .9rem; font-weight: 700; }

.btn-close-nav {
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #0F131E;
  cursor: pointer;
}
.btn-close-nav:hover { color: var(--brand); }
}

/* Âncoras param abaixo do header fixo */
section[id]{
  scroll-margin-top: calc(var(--header-h-scrolled, 60px) + 12px);
}

@media (hover: hover) and (pointer: fine){
  .feature:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,19,30,.12); }
  .btn.btn-lg.shadow:hover{ transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,19,30,.15); }
  .btn-cta:hover{ transform: translateY(-1px); }
  .custom-control:hover{ transform: translateY(-50%) scale(1.06); }
}


@media (max-width: 374.98px){
  .topbar-social{ display: none; } /* some só os ícones sociais no bem-pequeno */
}

@media (max-width: 991.98px){
  #topbar .vr{ display: none; }        /* esconde divisor no mobile */
  #topbar a.btn{ flex: 1 1 100%; }     /* botão ocupa largura total no mobile */
  #topbar .d-flex{ justify-content: inherit; text-align: inherit; }
}

/* ==== Ajuste de respiro Topbar em telas grandes ==== */
@media (min-width: 992px) {
  #topbar .row {
    justify-content: space-between; /* joga uma coluna pra esquerda e outra pra direita */
  }
  #topbar .col-lg {
    justify-content: flex-start;
  }
  #topbar .col-lg-auto {
    justify-content: flex-end;
  }
}

@media (min-width: 992px){
  /* a row passa a distribuir as duas colunas nas extremidades */
  #topbar .row{
    justify-content: space-between;
    --bs-gutter-x: 2.5rem; /* respiro horizontal entre as colunas */
  }
  /* primeira coluna (email+fone) cola à esquerda,
     última coluna (redes+whatsapp) vai para a direita */
  #topbar .row > div:first-child{ justify-content: flex-start; }
  #topbar .row > div:last-child{
    margin-left: auto;       /* empurra para a direita */
    justify-content: flex-end;
    padding-left: 1.5rem;    /* evita ficar colado no telefone */
  }
}

/* Logo proporcional em telas menores */
.brand-img{
  height: auto;
  max-height: 52px;          /* tamanho maior no mobile */
  width: auto;
  object-fit: contain;
}
@media (min-width: 576px){
  .brand-img{ max-height: 52px; }  /* notebooks */
}
@media (min-width: 992px){
  .brand-img{ max-height: 52px; }  /* desktop */
}

@media (min-width: 768px){  
  .logos img{ max-height: 90px; } /* tablets/desktop */
}

/* Links do menu com área de toque confortável */
#header .nav-link{ padding: .75rem .85rem; }
/* Topbar — respiro e alinhamentos no desktop */
@media (min-width: 992px){
  #topbar .row{ justify-content: space-between; --bs-gutter-x: 2.5rem; }
  #topbar .row > div:first-child{ justify-content: flex-start; }
  #topbar .row > div:last-child{ margin-left: auto; justify-content: flex-end; padding-left: 1.5rem; }
}

/* Topbar — mobile mais limpo */
@media (max-width: 575.98px){
  #topbar .vr{ display: none; }              /* tira o divisor no XS */
  .btn-topbar-wa{ width: 100%; }             /* CTA ocupa a linha toda */

  .grid-list{ grid-template-columns: 1fr; }

  .navbar-toggler{
    margin-left: .75rem;    /* respiro extra entre logo e ícone */
  }
  /* padding lateral confortável no nav em telas bem estreitas */
  #header .navbar{
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .contact-card {
    padding: 0; /* menor respiro no mobile */
  }

  #footer {
    color: #B8C3CF;
    font-size: .9rem;
  }

  #footer .footer-copy {
    display: block;
    text-align: center;  /* centraliza por padrão */
  }

  #footer .footer-copy .rights {
    display: block;      /* vira linha separada no mobile */
    margin-top: .25rem;
    font-size: .85rem;
  }

  .partners-logos{
    gap: 1.5rem;
  }
  .partners-logos img{
    max-height: 60px;
  }

  .row.g-5 {
    --bs-gutter-x: 1rem; /* reduz o espaço lateral */
  }

}

/* Topbar — refinamento XS */
@media (max-width: 480px){
  #topbar .container{ padding-left: 10px; padding-right: 10px; }
  #topbar .row{ row-gap: .35rem; }

  .topbar-link{ font-size: .9rem; }
  .topbar-email{
    max-width: 62vw;           /* limita largura no XS */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;   /* … no fim do e-mail */
  }

  .topbar-social{
    width: 40px; height: 40px; /* alvo de toque confortável */
  }
  .topbar-social .bx{ font-size: 1.5rem; }
}

/* Estado inválido - input e borda */
/* Mantém só a linha da borda no estado inválido */
/* Input-group em erro: borda inteira vermelha */
.input-group.is-invalid {
  border: 1px solid #dc3545;  /* vermelho Bootstrap */
  border-radius: .5rem;
}

/* Remove as bordas internas, para não “quebrar” a linha */
.input-group.is-invalid .form-control,
.input-group.is-invalid .input-group-text {
  box-shadow: none;
}

/* Ícone também vermelho */
.input-group.is-invalid .input-group-text {
  color: #dc3545;
}

/* Mensagem de erro */
.invalid-feedback {
  display: none;
  margin-top: .25rem;
  padding: .5rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  border-radius: .35rem;
  background: #f8d7da;   /* fundo rosado claro */
  border: 1px solid #f5c2c7; /* borda igual ao input */
  color: #842029;        /* texto vermelho escuro */
}

/* ===== Serviços (cards institucionais) ===== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* padrão mobile */
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr); /* tablets */
  }

  #footer .footer-copy {
    text-align: left; /* ou center se preferir */
  }
  #footer .footer-copy .rights {
    display: inline; 
    margin: 0;
    font-size: .9rem;
    margin-left: .25rem; /* espaço entre */
  }
}

@media (min-width: 992px){
  .services-grid{
    grid-template-columns: repeat(3, 1fr); /* desktops → 3 colunas fixas */
  }

}

/* Centralizar cards no mobile */
@media (max-width: 767.98px){
  .service-card{
    text-align: center !important;
  }
  .service-card .icon{
    margin: 0 auto 1rem; /* centraliza o ícone */
  }
}

.service-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.service-card:hover{
  transform: translateY(-4px);
  border-color: var(--brand-400);
  box-shadow: 0 12px 32px rgba(0,162,255,.12);
}

.service-card .icon{
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,162,255,.08);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: background .3s ease, color .3s ease;
}

.service-card:hover .icon{
  background: var(--brand);
  color: #fff;
}

.service-card h3{
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--txt);
}

.service-card p{
  color: var(--txt-weak);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* CTA dentro do card */
.service-card a{
  font-weight: 600;
  font-size: .9rem;
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .2s ease, transform .2s ease;
}

.service-card a:hover{
  color: var(--brand-600);
  transform: translateX(2px);
}

/* ===== Parceiros ===== */
.partners{
  background: #fff;
  padding: clamp(56px, 6vw, 88px) 0;
}

.partners .section-head{
  margin-bottom: 2rem;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.partners-logos{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem 2.5rem;
  align-items: center;
  justify-items: center;
}

.partners-logos a{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.partners-logos img{
  max-height: 90px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1) opacity(.8);
  transition: filter .25s ease, transform .25s ease;
}

.partners-logos a:hover img{
  filter: none;
  transform: translateY(-2px);
  opacity: 1;
}

/* Botão voltar ao topo */
.btn-backtotop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  z-index: 1050;
}

.btn-backtotop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-backtotop:hover {
  background: var(--brand-600);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.modal-content {
  border-radius: 1rem;
}
.modal-header .modal-title {
  font-size: 1.25rem;
}
.modal-body p.lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.modal-body ul li {
  margin-bottom: .5rem;
  font-size: .95rem;
}
.modal-footer .btn {
  font-size: 1rem;
  padding: .75rem;
}


/* ===== Pricing / Serviços refinado ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15,19,30,.12);
  border-color: var(--brand-400);
}

.pricing-card.highlight {
  border: 2px solid var(--brand);
  background: rgba(0,162,255,.02);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: .25rem;
}

.pricing-card p {
  color: var(--txt-weak);
  margin-bottom: 1.25rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 1rem;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt-weak);
}
.pricing-card .period {
  font-size: 1rem;
  color: var(--txt-weak);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  color: var(--txt);
}
.pricing-card ul li {
  font-size: .95rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(230,235,241,.6);
}
.pricing-card ul li:last-child {
  border-bottom: none;
}

