:root {
  --primary: #23538d;
  --primary-600: #2e6fbc;
  --primary-700: #008acd;
  --text: #0f172a;
  --muted: #6b7280;
  --bg: #f6f8ff;
  --white: #fff;
  --accent: #becf65;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Bolhas globais (mais movimento e mais transparentes) ===== */
:root{
  --bubble-opacity: .4;      /* transparência geral das bolhas */
  --bubble-shift: 12px;       /* amplitude da flutuação */
}

.bubbles{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;                 /* atrás de tudo */
  overflow: hidden;
}

.bubble{
  position: absolute;
  opacity: var(--bubble-opacity);
  background:
    radial-gradient(circle at 30% 30%,
      rgba(255,255,255,.9),
      rgba(0,41,133,.10) 55%,
      rgba(0,41,133,.04) 100%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  mix-blend-mode: screen;        /* integra com o fundo sem “tampar” */
  filter: saturate(110%);
  /* 2 animações: deslocamento e rotação/escala suaves */
  animation:
    drift var(--dur, 18s) ease-in-out infinite,
    sway  var(--dur2, 9s)  ease-in-out infinite;
}

/* Tamanhos, posições e velocidades diferentes por bolha */
.bubble:nth-child(1){ width:120px; height:120px; left:5%;  top:10%;  --dur: 22s; --dur2: 10s; }
.bubble:nth-child(2){ width:80px;  height:80px;  left:20%; top:60%;  --dur: 24s; --dur2: 11s; animation-delay: -2s; }
.bubble:nth-child(3){ width:100px; height:100px; left:70%; top:20%;  --dur: 26s; --dur2: 12s; animation-delay: -4s; }
.bubble:nth-child(4){ width:60px;  height:60px;  left:85%; top:50%;  --dur: 20s; --dur2:  9s; animation-delay: -6s; }
.bubble:nth-child(5){ width:140px; height:140px; left:40%; top:78%;  --dur: 28s; --dur2: 13s; animation-delay: -1s; }
.bubble:nth-child(6){ width:70px;  height:70px;  left:55%; top:35%;  --dur: 21s; --dur2: 10s; animation-delay: -8s; }
.bubble:nth-child(7){ width:90px;  height:90px;  left:12%; top:82%;  --dur: 25s; --dur2: 12s; animation-delay: -5s; }
.bubble:nth-child(8){ width:110px; height:110px; left:82%; top:8%;   --dur: 27s; --dur2: 13s; animation-delay: -3s; }
.bubble:nth-child(9){ width:65px;  height:65px;  left:32%; top:25%;  --dur: 19s; --dur2:  9s; animation-delay: -7s; }

@keyframes drift{
  0%,100% { transform: translate(0, 0); }
  50%     { transform: translate(var(--bubble-shift), calc(var(--bubble-shift) * -1)); }
}

@keyframes sway{
  0%,100% { transform: scale(1) rotate(0deg); }
  50%     { transform: scale(1.04) rotate(3deg); }
}

/* Respeita usuários com redução de movimento */
@media (prefers-reduced-motion: reduce){
  .bubble{ animation: none; }
}

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e6e9ff
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.brand-img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px
}

.nav a.link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px
}

.nav a.link:hover {
  background: #eef2ff
}

.badge {
  color: var(--primary);
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700
}

.link-cta {
  padding: 8px 12px
}

.hamb {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 8px
}

.hamb:hover {
  background: #eef2ff
}

.hamb svg {
  width: 28px;
  height: 28px
}

.hamb svg path {
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none
}

.drawer { display: none; }
.drawer.open { display: block; }

/* Drawer mobile (menu aberto) com fundo branco e texto formatado */
@media (max-width:900px) {
  .nav-links {
    display: none
  }

  .hamb {
    display: block
  }

  .drawer {
    position: fixed;
    z-index: 200;
    top: 64px;
    right: 12px;
    width: min(90vw, 320px);
    background: #fff;
    border: 1px solid #e6e9ff;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .1);
    padding: 10px;
    display: none
  }

  .drawer.open {
    display: block
  }

  .drawer a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700
  }

  .drawer a:hover {
    background: #eef2ff
  }

  .drawer .btn {
    display: block;
    text-align: center;
    margin-top: 6px
  }

  .drawer-badge {
    display: inline-block;
    margin: 8px 10px 4px
  }
}

/* ===== HERO FULL-WIDTH ===== */
.hero-full {
  position: relative;
  z-index: 1
}

.carousel.full {
  position: relative;
  width: 100%;
  overflow: hidden;
  /*aspect-ratio: 14 / 6;*/
  height: auto;
}

@media (max-width:768px) {
  .carousel.full {
    aspect-ratio: 8 / 16;
  }
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide picture,
.slide img {
  display: block;
  width: 100%;
}

.slide img {
  object-fit: contain;
  /*background: #001a5e;*/
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  /*background:
    radial-gradient(120% 120% at 0% 0%, #0040c6 0%, var(--primary) 40%, #001a5e 100%),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.08"><defs><pattern id="p" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20h40M20 0v40" stroke="%23fff" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23p)"/></svg>');*/
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.slide picture {
  position: relative;
  z-index: 1;
}

.c-ctrl {
  position: absolute;
  inset: auto 0 14px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 3
}

@media (max-width:768px){
    .c-ctrl {
      position: absolute;
      inset: auto 0 60px 0;
      display: flex;
      justify-content: center;
      gap: 12px;
      z-index: 3
    }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff66;
  border: 1px solid #ffffffa6;
  cursor: pointer;
  transition: transform .2s;
  mix-blend-mode: difference;
}

.dot.active {
  background: #2e6fbc;
  transform: scale(1.15);
  mix-blend-mode: difference;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  background: #ffffff1a;
  border: 1px solid #ffffff44;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  mix-blend-mode: difference;
}

.prev:hover,
.next:hover {
  background: #ffffff33
}

.prev {
  left: 12px
}

.next {
  right: 12px
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center
}

/* ===== SECTIONS ===== */
section {
  padding: 64px 20px;
  position: relative;
  z-index: 1
}

.container {
  max-width: 1100px;
  margin: 0 auto
}

.title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 20px 0 12px
}

.subtitle {
  color: var(--muted);
  margin-bottom: 24px
}

.center {
  text-align: center
}

.mt-20 {
  margin-top: 20px
}

.mt-16 {
  margin-top: 16px
}

.mt-10 {
  margin-top: 10px
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr)
}

@media (max-width:980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:520px) {
  .grid {
    grid-template-columns: 1fr
  }
}

.card {
  background: #fff;
  border: 1px solid #e6e9ff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease
}

.card.visible {
  opacity: 1;
  transform: translateY(0)
}

.card h4 {
  margin: 4px 0 6px;
  font-size: 1.02rem;
  color: var(--primary)
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800
}

/* SOBRE */
.sobre {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center
}

@media (max-width:980px) {
  .sobre {
    grid-template-columns: 1fr
  }
}

.illus {
  display: flex;
  align-items: center;
  justify-content: center;
  /*border-radius: 16px;
  border: 1px solid #e6e9ff;*/
  min-height: 260px;
  /*background:
    radial-gradient(120% 120% at 0% 0%, #0040c6 0%, var(--primary) 40%, #001a5e 100%),
    conic-gradient(from -40deg, #ffffff22, #ffffff00 40%, #ffffff22)*/
  img {
    height: 250px;
    width: auto;

    @media (max-width:900px){
      height: 160px;
    }
  }
}

/* CONTATOS */
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.contact-card {
  background: #fff;
  border: 1px solid #e6e9ff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06)
}

.info-box {
  margin-top: 12px;
  border: 1px dashed #d7dbff;
  border-radius: 12px;
  padding: 12px;
  background: #fbfdff
}

.muted {
  margin: 6px 0 0;
  color: var(--muted)
}

/* BUTTONS */
.btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block
}

.btn:hover {
  background: var(--primary-600)
}

.btn.secondary {
  background: #eef2ff;
  color: var(--primary);
  font-weight: 800
}

.icons{
  height: 16px;
}

.icons-products{
  height: 35px;
}

.pcontact{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* FOOTER */
footer {
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  position: relative;
  z-index: 1
}

/* Slide de imagem em tela cheia */
.slide-image { padding: 0; }

/* Remove o overlay padrão que cobre a imagem */
.slide-image::before { content: none !important; }

/* Garante que a imagem apareça e preencha o carrossel */
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}