:root{
  --bg: #0b1f3a;
  --bg2: #0a1730;
  --card: #0f2b52;
  --text: #eaf1ff;
  --muted: #b7c6e3;
  --line: rgba(255,255,255,.12);
  --accent: #77b6ff;
  --accent2: #a6ffcf;
  --primary: #337ab7;
  --primary-hover: #286090;
  --verde: #25D366;
  --verde-hover: #18A957;

  --radius: 18px;
  --shadow: 0 8px 22px rgba(0,0,0,.18);

  --surface: rgba(15,43,82,.98);     
  --border: rgba(255,255,255,.16);   
}


body.light{
  --bg: #f2f5fb;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #0b1f3a;
  --muted: #4b5b78;
  --line: rgba(0,0,0,.12);
  --accent: #1f6fff;
  --accent2: #18c48f;
  --primary: #337ab7;
  --primary-hover: #286090;
  --verde: #25D366;
  --verde-hover: #18A957;

  --surface: rgba(255,255,255,.98);  
  --border: rgba(0,0,0,.12);         
}


*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(119,182,255,.35), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(166,255,207,.18), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;   
}

@supports (overflow-x: clip){
  html, body{ overflow-x: clip; } 
}


img, svg, video, iframe{
  max-width: 100%;
  height: auto;
  display: block;
}

a{ color:inherit; text-decoration:none; }
.container{
  width:100%;
  max-width:1120px;
  padding:0 16px;
  margin:0 auto;
}


.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(120%) blur(10px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;                 
  transition: padding .25s ease;
}


.header.shrink{
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.header.shrink .header-inner{
  padding: 8px 0;                  
}

.brand{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 220px;
}

.header .brand img{
  width: 180px;
  height: auto;
  transition: width .25s ease;
}

.header.shrink .brand img{
  width: 140px;
}


@media (max-width: 640px){
  .header-inner{
    padding: 2px 0;
  }

  .brand{
    min-width: auto; 
  }

  .header .brand img{
    width: 130px;
  }

  
  .header.shrink .brand img{
    width: 130px;
  }

  .header{
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
  }

  .header.shrink .header-inner{
    padding: 2px 0;
  }
}




.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  font-size:13px;


}
.nav a:hover{


}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:8px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space:nowrap;
}

.btn.primary{
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary-hover);
}
.btn.primary:hover{
  background-color: var(--primary-hover);
}

.btn.verde{
  color: #fff;
  background-color: var(--verde);
  border-color: var(--verde-hover);
}
.btn.verde:hover{
  background-color: var(--verde-hover);
}

.btn.ghost{
  color: var(--muted);
  background-color: var(--bg);
  border-color: var(--line);
}
.btn.ghost:hover{
  background-color: var(--line);
}

.mobile-actions{
  display:none;
}

.mobile-menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:0;
}

.mobile-menu-toggle span{
  width:18px;
  height:2px;
  border-radius:999px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle.is-active span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2){
  opacity:0;
}

.mobile-menu-toggle.is-active span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu{
  display:none;
}

.theme-toggle{
  position: relative;
}


.theme-toggle::after{
  content: attr(data-title);
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  color: var(--text);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 100;
}

.theme-toggle:hover::after{
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

.theme-toggle::after{
  content: attr(data-title);
  
}



.banner img {
  width: 100% !important;
}


.hero{
  padding:42px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:stretch;
}
.hero-card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position:relative;
  overflow:hidden;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-40% -20% auto auto;
  width:340px; height:340px;
  background: radial-gradient(circle at 30% 30%, rgba(119,182,255,.55), transparent 60%);
  transform: rotate(12deg);
  pointer-events:none;
}
h1{
  margin:0 0 10px;
  font-size: 42px;
  letter-spacing:-.4px;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead{
  margin:0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height:1.5;
  max-width: 58ch;
}
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 10px 0 16px;
}
.badge{
  font-size:12px;
  color: var(--text);
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  background: var(--ghost);
  padding:8px 10px;
  border-radius: 99px;
}
.hero-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 14px;
  position:relative;
  z-index:1;
}
.hero-ctas .btn.ghost{
  opacity: .7;
}
.hero-ctas .btn.ghost:hover{
  opacity: 1;
}


.info-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.info-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.dot{
  width:10px; height:10px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--accent2);
  box-shadow: 0 0 0 4px rgba(166,255,207,.10);
  flex:0 0 auto;
}
.info-row strong{ display:block; font-size:13px; }
.info-row span{ display:block; font-size:13px; color: var(--muted); line-height:1.4; }


section{
  padding: 18px 0 26px;
  scroll-margin-top: 90px;
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin: 10px 0 14px;
}
.section-title h2{
  margin:0;
  font-size: 20px;
  letter-spacing:-.2px;
}
.section-title p{
  margin:0;
  color: var(--muted);
  font-size: 13px;
  max-width: 60ch;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  overflow: hidden;
  padding: 15px;
  display: flex;
  flex-direction: column;
}
.servicos .card img{
  width: 100%;
  height: 160px;
  display: block;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-body{
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card h3{
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--text);
}
.card p{
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.servicos .card {
  padding: 0;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.callout{
  border:1px solid rgba(119,182,255,.28);
  background: rgba(119,182,255,.08);
  border-radius: var(--radius);
  padding: 16px;
}
.callout strong{ display:block; margin-bottom:6px; }
.callout p{ margin:0; color: var(--muted); font-size: 13px; line-height:1.6; }


.contact-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 8px;
}

.contact-actions .btn{
  flex: 1 1 180px;   
}


.contact-whats{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn.small{
  padding: 7px 12px;
  font-size: 13px;
}


.btn.verde{
  background: #25D366;
  border-color: rgba(0,0,0,.08);
  color: #fff;
}

.btn.verde:hover{
  background: #1EBE5D;
}



.map-wrap{
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,.04);
}
iframe{ width:100%; height: 320px; border:0; }


footer{
  border-top:1px solid var(--line);
  padding: 20px 0 26px;
  color: var(--muted);
  font-size: 12px;
}


@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split{ grid-template-columns: 1fr; }
  .brand{ min-width:auto; }
  .brand img{ width:130px; }
}
@media (max-width: 640px){
  .nav{ display:none; }
  .mobile-menu-toggle{ display:inline-flex; }
  .header-inner{
    position: relative;
  }
  .mobile-menu{
    position:absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:14px;
    border:1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .mobile-menu[hidden]{
    display:none !important;
  }
  .mobile-menu a.menu-link{
    font-size:14px;
    color: var(--text);
    padding: 8px 4px;
  }
  .mobile-menu a.menu-link:hover {
    color: #1877F2;
  }
  .mobile-menu .btn{
    width:100%;
  }
  h1{ font-size: 32px; }
  .grid{ grid-template-columns: 1fr; }
  iframe{ height: 300px; }
}


.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  margin-top: 15px;
}
.footer-inner img {
  width: 80px;
  vertical-align: baseline;
  margin-left: 6px;
}

.footer-inner a{
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

.footer-inner a:hover{
  color: #1877F2;
}

.theme-footer-link {
  border: none;
  color: var(--muted);
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
  background: transparent;
  font-size: 12px;
  padding: 0;
  font-family: inherit;
}

.theme-footer-link:hover{
  color: #1877F2;
}

.footer-inner a:hover .logo-dev{
  filter: brightness(1.5);
}

.footer-inner li {
  list-style: none;
}

.logo-dev{
  width: 76px;
  height: auto;
  vertical-align: baseline;
  transition: transform .2s ease, filter .2s ease;
}

.redes{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.redes a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text);
  opacity: 0.85;
  transition: opacity .2s ease, transform .2s ease;
}

.redes a i{
  font-size: 20px;       
  width: 22px;
  text-align: center;
}

.redes a span{
  font-size: 12px;
  color: var(--muted);
}

.redes a:hover{
  opacity: 1;
}

.redes a.instagram:hover i,
.redes a.instagram span:hover{
  color: #E1306C;
}

.redes a.facebook:hover i,
.redes a.facebook span:hover{
  color: #1877F2;
}



.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  z-index: 200;
  transition: transform .15s ease, box-shadow .15s ease;
  max-width: calc(100vw - 36px);
}

.whatsapp-float:hover{
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}

body.light .whatsapp-float{
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}




.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px 12px;
  font-size: 13px;
  color: var(--muted);
  display: none; 

  z-index: 99999;              
  background: var(--surface);  
  border: 1px solid var(--border);
  opacity: 1;
  isolation: isolate;          
  backdrop-filter: blur(10px) saturate(120%); 
}

.cookie-banner-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-main {
  flex: 1 1 260px;
  min-width: 0;
}

.cookie-banner-title {
  margin: 0 0 4px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.cookie-banner-text {
  margin: 0 0 6px;
}

.cookie-banner-link,
.cookie-banner-link-sm {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-link-sm {
  text-decoration: none;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}



.cookie-banner-preferences {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed color-mix(in srgb, var(--border) 80%, transparent);
  display: none;
  gap: 10px;
  flex-direction: column;
}

.cookie-banner-subtitle {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-pref-item p {
  margin: 2px 0 0;
  font-size: 12px;
}

.cookie-pref-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  white-space: nowrap;
}

.cookie-pref-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}



.cookie-toggle {
  position: relative;
  width: 34px;
  height: 18px;
  display: inline-block;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 999px;
  transition: 0.2s;
}

.cookie-toggle-slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background-color: var(--surface);
  transition: 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: color-mix(in srgb, var(--primary) 70%, transparent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(16px);
}



@media (max-width: 600px) {
  .cookie-banner {
    inset-inline: 8px;
    bottom: 8px;
    padding: 12px 12px 10px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}


.page-hero{
  padding: 42px 0 20px;
}
.page-hero-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
  gap: 18px;
  align-items:center;
}
.page-hero-copy,
.page-hero-media,
.page-section,
.faq-item{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.page-hero-copy{
  padding: 24px;
}
.page-hero-copy h1{
  margin:0 0 12px;
}
.page-hero-copy p{
  margin:0 0 12px;
  color: var(--muted);
  line-height:1.65;
}
.page-hero-actions,
.page-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.page-hero-media{
  overflow:hidden;
  aspect-ratio:1/1;
}
.page-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.page-content{
  display:grid;
  gap:14px;
}
.page-section{
  padding: 22px;
}
.page-section h2{
  margin:0 0 10px;
  font-size: 22px;
}
.page-section p{
  margin:0 0 12px;
  color: var(--muted);
  line-height:1.7;
}
.page-section:last-child p:last-child,
.page-hero-copy p:last-child,
.faq-item p:last-child{
  margin-bottom:0;
}
.faq-grid{
  display:grid;
  gap:12px;
}
.faq-item{
  padding:18px;
}
.faq-item h3{
  margin:0 0 8px;
  font-size:16px;
}
.breadcrumb{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 14px;
}
.breadcrumb a:hover{
  color: #1877F2;
}
@media (max-width: 920px){
  .page-hero-grid{
    grid-template-columns: 1fr;
  }
  .page-hero-media{
    max-width: 420px;
  }
}

.card-body-actions{
  padding: 0 16px 16px;
}


/*páginas secundárias tipo landing page*/
.hero-destaque {
  position: relative;
  background: radial-gradient(circle, #f1f1f1 0%, #b8bfc7 100%);    
  padding: 32px 0;
  overflow: hidden;
}

.hero-destaque-grid { 
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
@media (min-width: 921px) {
  .hero-destaque-grid { 
    grid-template-columns: 1fr 1fr;
  }
}
.hero-destaque-imagem {
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  border-radius: var(--radius);
}
.hero-destaque-imagem img {
  border-radius: var(--radius);
}
.hero-destaque-subtitulo {
  font-size: 1.2em;
} 
