/* Fonte e reset */
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0 !important;
  font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif !important;
  background-color: #ffffff !important;
  color: #111111 !important;
  overflow-x: hidden !important;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* Cores principais Canonical */
:root {
  --brand-primary: #0080c0;
  --brand-dark: #fecc36;
  --gray-light: #e0e0e0;
  --gray-medium: #aea79f;
  --text: #111111;
  --bg: #ffffff;
}

/* Utilidades de layout */
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between !important;
}
.grid {
  display: grid;
  gap: 24px;
}
.two {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
  /* Grid assimétrico apenas para hero slides */
  .hero-slide .grid.two {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 840px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.dots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  font-size: 14px;
  color: #333;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-primary);
  display: inline-block;
  margin-right: 8px;
}

/* HEADER */
.topbar {
  background: var(--brand-dark) !important;
  color: #fff !important;
  padding: 25px 0 !important;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 60px;
  width: auto;
}
.nav {
  display: none;
  gap: 18px;
  align-items: center;
}
.nav a {
  color: #fff !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.nav a:hover {
  color: var(--gray-medium) !important;
}
.nav a:focus-visible {
  color: var(--gray-medium) !important;
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.nav .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav .menu > li {
  position: relative;
}
.nav .menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
  .topbar .nav .menu > li > a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}
.nav .menu > li.has-submenu > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.nav .menu > li.has-submenu:hover > a::after,
.nav .menu > li.has-submenu:focus-within > a::after {
  transform: rotate(-135deg);
}
.nav .submenu {
  margin: 0;
  padding: 16px 8px;
  padding-top: 24px;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  display: grid;
  gap: 4px;
  background: linear-gradient(135deg, rgba(254, 204, 54, 0.98) 0%, rgba(254, 204, 54, 0.96) 100%);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 60;
}
.nav .submenu li {
  margin: 0;
}
.nav .submenu li a {
  display: block;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-weight: 500;
  color: #0080c0 !important;
}
.nav .submenu li a:hover,
.nav .submenu li a:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  color: #005a8a !important;
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.nav .menu > li:hover > .submenu,
.nav .menu > li:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hamb {
  display: inline-flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #ffffff40;
  background: transparent;
  color: #fff;
}
.mobile {
  display: none;
  gap: 8px;
  margin-top: 12px;
}
.mobile.open {
  display: grid;
}
.lang {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lang button {
  border: 1px solid #ffffff40;
  background: transparent;
  color: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
}
.lang button.active {
  background: #fff;
  color: var(--brand-primary);
  border-color: transparent;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .hamb {
    display: none;
  }
  #mobile {
    display: none !important;
  }
}

/* HERO */
.hero {
  background: var(--brand-primary) !important;
  color: #fff !important;
  padding: 80px 0 !important;
  text-align: left !important;
  position: relative;
  overflow: hidden;
}

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--brand-primary);
}
.hero-slides {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  background: var(--brand-primary);
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  opacity: 1;
  visibility: visible;
  background: var(--brand-primary);
}
/* Animação suave para entrada/saída */
.hero-slides.transitioning {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dots de navegação */
.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}
.carousel-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}

/* Botões de navegação (opcional) */
.carousel-nav {
  display: none; /* Oculto por padrão, só dots */
}
@media (min-width: 768px) {
  .carousel-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
  }
  .carousel-prev,
  .carousel-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  .carousel-prev:hover,
  .carousel-next:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
    transform: scale(1.1);
  }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  opacity: 0.85;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 700 !important;
  margin: 8px 0 0 !important;
}
.gradient {
  color: #fff !important;
}
/* contraste dos textos */
.muted {
  color: #4f4f4f !important;
  display: grid;
  gap: 12px;
  font-size: 18px;
} /* base */
.hero .muted {
  color: #f1e9f1 !important;
} /* no hero */
.card .muted {
  color: #6a6a6a !important;
} /* em cards brancos */
.hero .row {
  margin-top: 20px !important;
  gap: 12px;
}
.cta {
  padding: 10px 16px !important;
  border-radius: 24px !important;
  font-weight: 700 !important;
  background: #fff !important;
  color: var(--brand-primary) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s ease;
}
.cta:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-2px);
}
.ghost {
  padding: 10px 16px !important;
  border-radius: 24px !important;
  border: 2px solid #fff !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s ease;
}
.ghost:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
}
.hero .dots {
  color: #ead9e4 !important;
}

/* SECTIONS */
.section {
  padding: 80px 0 !important;
  background: var(--gray-light) !important;
  color: var(--text) !important;
}
.section--placeholder {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section h2 {
  color: var(--brand-dark) !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  text-align: center;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

/* CARDS */
.card {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
.card.glass {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
  text-align: center;
}
.hero .card.glass {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.card.glass img {
  height: 80px;
  margin: 0 auto;
  display: block;
}
/* Imagem full no hero */
.hero .card.glass.hero-image-full {
  padding: 24px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  height: 320px;
  background: #fff !important;
}

/* Garantir alinhamento vertical consistente do grid e aside em todos os slides */
.hero-slide .grid.two {
  align-items: center;
  min-height: 500px;
}

.hero-slide .grid.two > aside {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center !important;
}

/* Ajustar altura mínima do grid em telas menores */
@media (max-width: 767px) {
  .hero-slide .grid.two {
    min-height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slide .grid.two {
    min-height: 450px;
  }
}
.hero .card.glass.hero-image-full img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
}

/* Variante sem fundo branco para imagens transparentes */
.card.glass.hero-image-transparent {
  padding: 24px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  height: 320px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.card.glass.hero-image-transparent img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0;
}

/* Responsivo - ajustar altura em telas menores */
@media (max-width: 767px) {
  .hero .card.glass.hero-image-full {
    min-height: 240px;
    height: 240px;
  }
  
  .card.glass.hero-image-transparent {
    min-height: 240px;
    height: 240px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero .card.glass.hero-image-full {
    min-height: 280px;
    height: 280px;
  }
  
  .card.glass.hero-image-transparent {
    min-height: 280px;
    height: 280px;
  }
}
.card h3 {
  color: var(--brand-primary) !important;
  margin-top: 0;
}

/* ===== FOOTER MODERNO ===== */
footer {
  background: var(--brand-dark);
  padding: 32px 0 20px;
}

.footer-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  margin-right: auto;
  padding-right: 40px;
}

.footer-logo {
  max-width: 120px;
  height: auto;
}

.footer-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(0, 128, 192, 0.3), transparent);
  flex-shrink: 0;
}

.footer-col {
  flex: 1 1 auto;
  min-width: 0;
}

.footer-col h4 {
  color: #0080c0;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footer-address-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-flag-large {
  width: 48px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.footer-address-content {
  flex: 1;
}

.footer-address-content h4 {
  color: #0080c0;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-flag {
  width: 24px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  color: #0080c0;
}

.footer-col address {
  color: #0080c0;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
}

.footer-email {
  color: #0080c0 !important;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  display: inline-block;
}

.footer-email:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 128, 192, 0.1);
  color: #0080c0;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: #0080c0;
  color: #fecc36;
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 128, 192, 0.2);
  text-align: center;
}

.footer-bottom p {
  color: #0080c0;
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

/* Responsivo */
@media (max-width: 1024px) {
  .footer-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-brand {
    flex-basis: 100%;
    justify-content: center;
  }
  
  .footer-divider {
    display: none;
  }
  
  .footer-col {
    flex: 1 1 calc(50% - 20px);
    min-width: 200px;
  }
}

@media (max-width: 767px) {
  footer {
    padding: 32px 0 20px;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .footer-brand {
    justify-content: center;
  }
  
  .footer-col {
    flex: 1 1 auto;
  }
  
  .footer-col h4 {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-bottom {
    padding-top: 20px;
  }
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  padding: 14px 0;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  flex: 1 1 auto;
  color: #333333;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text a {
  color: #0080c0;
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-text a:hover {
  color: #005a8a;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: #0080c0;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #006ba3;
  box-shadow: 0 2px 8px rgba(0, 128, 192, 0.3);
}

.cookie-btn-reject {
  background: transparent;
  color: #666;
  border: 1px solid #ccc;
}

.cookie-btn-reject:hover {
  background: #e8e8e8;
  border-color: #999;
  color: #333;
}

/* Responsivo */
@media (max-width: 767px) {
  .cookie-banner {
    padding: 16px 0;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 12px;
  }
  
  .cookie-text {
    text-align: center;
    font-size: 13px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }
}

/* Theme Picker (dev only) */
.tp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #fff;
  color: #111;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font: 14px/1.3 Ubuntu, sans-serif;
}
.tp summary {
  cursor: pointer;
  padding: 10px 14px;
  outline: none;
}
.tp .tp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
}
.tp .tp-row label {
  min-width: 200px;
}
.tp input[type="color"] {
  width: 40px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}
.tp code {
  font-size: 12px;
  color: #555;
}
.tp .tp-actions {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}
.tp .tp-actions button {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  cursor: pointer;
}
.tp .tp-actions button:hover {
  background: #eee;
}
@media (max-width: 480px) {
  .tp {
    left: 8px;
    right: 8px;
  }
}

/* --- Fix layout dos botões do hero --- */
.hero .row {
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.hero .cta,
.hero .ghost {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Grid de botões + bullets alinhados por coluna */
.hero .features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .hero .features {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}
.hero .features .col {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.hero .features .list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #ead9e4;
  font-size: 14px;
}
.hero .features .list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero .features .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.85;
  display: inline-block;
}
.hero .cta,
.hero .ghost {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

/* =========================================================
   NAV: CORES + TAMANHO RESPONSIVO (sem conflito de cascade)
   ========================================================= */
/* cores do menu */
:root {
  --nav-text: #0080c0;
  --nav-hover: #0080c0;
}
.topbar .nav a {
  color: var(--nav-text) !important;
  text-decoration: none !important;
}
.topbar .nav a:hover {
  color: var(--nav-hover) !important;
}
.topbar .nav .submenu a {
  color: #0080c0 !important;
}
.topbar .nav .submenu a:hover {
  color: #005a8a !important;
}
.topbar .brand {
  color: var(--nav-text) !important;
  text-decoration: none !important;
}
.topbar .lang button {
  color: var(--nav-text);
  border: 1px solid rgba(0, 128, 192, 0.3);
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}
.topbar .lang button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(0, 128, 192, 0.5);
}

/* tamanho do menu — Sistema responsivo proporcional */
.topbar .nav {
  gap: 4px;
  flex-wrap: nowrap;
}
.topbar .nav a {
  white-space: nowrap;
  font-size: 11px !important;
}
.nav .menu > li > a {
  padding: 5px 7px !important;
}

/* 768px+ (tablets landscape) */
@media (min-width: 768px) {
  .topbar .nav {
    gap: 4px;
  }
  .topbar .nav a {
    font-size: 11px !important;
  }
  .nav .menu > li > a {
    padding: 5px 7px !important;
  }
  .topbar .lang button {
    padding: 5px 7px !important;
    font-size: 10px !important;
  }
}

/* 1024px+ (laptops pequenos) */
@media (min-width: 1024px) {
  .topbar .nav {
    gap: 6px;
  }
  .topbar .nav a {
    font-size: 13px !important;
  }
  .nav .menu > li > a {
    padding: 6px 10px !important;
  }
  .topbar .lang button {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}

/* 1280px+ (laptops médios) */
@media (min-width: 1280px) {
  .topbar .nav {
    gap: 12px;
  }
  .topbar .nav a {
    font-size: 15px !important;
  }
  .nav .menu > li > a {
    padding: 8px 14px !important;
  }
}

/* 1440px+ (laptops grandes) */
@media (min-width: 1440px) {
  .topbar .nav {
    gap: 14px;
  }
  .topbar .nav a {
    font-size: 16px !important;
  }
  .nav .menu > li > a {
    padding: 9px 15px !important;
  }
}

/* 1600px+ (telas grandes) */
@media (min-width: 1600px) {
  .topbar .nav {
    gap: 16px;
  }
  .topbar .nav a {
    font-size: 17px !important;
  }
  .nav .menu > li > a {
    padding: 10px 16px !important;
  }
}

/* 1920px+ (Full HD) */
@media (min-width: 1920px) {
  .topbar .nav {
    gap: 18px;
  }
  .topbar .nav a {
    font-size: 18px !important;
  }
  .nav .menu > li > a {
    padding: 10px 18px !important;
  }
}

/* 2560px+ (2K/4K) */
@media (min-width: 2560px) {
  .topbar .nav {
    gap: 22px;
  }
  .topbar .nav a {
    font-size: 20px !important;
  }
  .nav .menu > li > a {
    padding: 12px 20px !important;
  }
}

@media (min-width: 1280px) {
  .container {
    width: min(1240px, 92%);
  }
}

@media (min-width: 1536px) {
  .container {
    width: min(1360px, 92%);
  }
}

@media (min-width: 1920px) {
  .container {
    width: min(1600px, 92%);
  }
}

/* ===== Header estável em 3 áreas (desktop) ===== */
@media (min-width: 768px) {
  .topbar .container > .row {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 12px;
  }
  .topbar .nav {
    display: flex !important;
    justify-content: flex-start;
    overflow: visible;
  }
  .topbar .lang {
    justify-self: end;
    gap: 8px;
    flex-shrink: 0;
  }
}

/* Mobile (<768px): mantém comportamento original */
@media (max-width: 767.98px) {
  .topbar .container > .row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav {
    display: none !important;
  }
  .hamb {
    display: inline-flex !important;
  }
}

/* === LANG: destaque do idioma selecionado (força visual) === */
:root{
  --lang-active-bg: #ffffff;
  --lang-active-text: var(--brand-primary);
  --lang-active-border: transparent;
}

.topbar .lang button.active,
#mobile .lang button.active {
  background: var(--lang-active-bg) !important;
  color: var(--lang-active-text) !important;
  border-color: var(--lang-active-border) !important;
  box-shadow: 0 0 0 1px var(--lang-active-bg) inset; /* borda nítida no fundo amarelo */
}

/* (opcional) se você usa aria-pressed="true" ou data-active="true" */
.topbar .lang button[aria-pressed="true"],
#mobile .lang button[aria-pressed="true"],
.topbar .lang button[data-active="true"],
#mobile .lang button[data-active="true"]{
  background: var(--lang-active-bg) !important;
  color: var(--lang-active-text) !important;
  border-color: var(--lang-active-border) !important;
}

/* ====== MOBILE MENU (painel com sombra) ====== */
:root{ --topbar-height: 72px; } /* ajuste se seu header for mais alto/baixo */

@media (max-width: 767.98px){
  .nav{ display: none !important; }         /* esconde nav desktop no mobile */
  .hamb{ display: inline-flex !important; }

  .mobile-panel{
    position: fixed;
    top: var(--topbar-height);
    left: 8px; right: 8px;
    background: color-mix(in srgb, var(--brand-dark) 92%, #000 8%);
    color: #fff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    max-height: calc(100dvh - var(--topbar-height) - 16px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-panel.open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-panel a{
    display: block;
    padding: 12px 10px;
    margin: 2px 0;
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: .2px;
  }
  .mobile-panel a:hover{ background: rgba(255,255,255,.10); }

  .mobile-item{
    display: block;
    margin: 4px 0;
  }
  .mobile-item.has-submenu{
    border-radius: 10px;
    background: transparent;
  }
  
  /* Wrapper para link + botão de expansão */
  .mobile-trigger-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .mobile-trigger-wrapper .mobile-link {
    flex: 1;
    padding: 12px 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: block;
  }
  
  .mobile-trigger-wrapper .mobile-link:hover {
    opacity: 0.85;
  }
  
  .mobile-trigger{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #fff;
    font: inherit;
    cursor: pointer;
    flex-shrink: 0;
  }
  .mobile-trigger:focus-visible{
    outline: 2px solid rgba(255,255,255,.6);
    outline-offset: 2px;
  }
  .mobile-trigger .icon{
    width: 12px;
    height: 12px;
    position: relative;
    flex-shrink: 0;
    margin-left: 10px;
  }
  .mobile-trigger .icon::before,
  .mobile-trigger .icon::after{
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: currentColor;
    border-radius: 999px;
  }
  .mobile-trigger .icon::before{
    width: 12px;
    height: 2px;
  }
  .mobile-trigger .icon::after{
    width: 2px;
    height: 12px;
    transition: transform .2s ease;
  }
  .mobile-trigger[aria-expanded="true"] .icon::after{
    transform: scaleY(0);
  }
  .mobile-submenu{
    display: grid;
    gap: 6px;
    padding: 0 0 12px 18px;
  }
  .mobile-submenu[hidden]{
    display: none;
  }
  .mobile-submenu a{
    font-size: 15px;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
  }
  .mobile-submenu a:hover{
    background: rgba(255,255,255,.12);
  }
  .mobile-submenu a:focus-visible{
    background: rgba(255,255,255,.18);
    outline: none;
  }

  .mobile-panel .lang{
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 6px 2px 2px 2px;
  }
  .mobile-panel .lang button{
    -webkit-appearance: none; appearance: none;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 12px;
    padding: 6px 10px;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-panel .lang button.active{
    background: #fff; color: var(--brand-primary); border-color: transparent;
  }

  .backdrop{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 900;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .backdrop.show{ opacity: 1; }
}

/* ========================================
   PÁGINAS DE PARCEIROS
   ======================================== */

/* Hero específico para páginas de parceiros */
.partner-hero {
  background: var(--brand-primary) !important;
  color: #fff !important;
  padding: 30px 0 !important;
  text-align: center;
}

.partner-hero .container {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 16px;
}

.partner-hero h1 {
  font-size: clamp(28px, 6vw, 48px) !important;
  font-weight: 700 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.2;
}

.partner-hero p {
  font-size: clamp(16px, 3vw, 18px) !important;
  opacity: 0.95;
  margin: 0 !important;
  line-height: 1.5;
}

/* Card de imagem do parceiro */
.partner-image-card {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.partner-image-card img {
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Borda interna para logos que não têm frame próprio */
.partner-image-card img.with-frame {
  border: 1px solid #9b9b9b;
  border-radius: 16px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 25px;
  box-sizing: border-box;
  width: 85%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-top: 20px !important;
  margin-bottom: 31px !important;
  margin-left: 30px !important;
  margin-right: 30px !important;
}

/* Mobile - até 767px */
@media (max-width: 767px) {
  .partner-image-card {
    padding: 24px;
    margin-top: 24px;
  }
  
  .partner-image-card img {
    max-width: 90%;
  }
  
  .partner-image-card img.with-frame {
    padding: 32px 40px;
    aspect-ratio: 16 / 10;
  }
}

/* Tablet - 768px a 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .partner-hero {
    padding: 50px 0 !important;
  }
}

/* Desktop - 1024px ou mais */
@media (min-width: 1024px) {
  .partner-hero {
    padding: 60px 0 !important;
  }
}

/* Seção de conteúdo específica para páginas de parceiros */
.partner-content {
  padding: 45px 0 !important;
  background: var(--gray-light) !important;
  color: var(--text) !important;
  text-align: center;
}

.partner-content h2 {
  color: var(--brand-dark) !important;
  font-size: clamp(24px, 3vw, 36px) !important;
  text-align: center;
  margin-bottom: -10px;
}

.partner-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: -40px;
  text-align: center;
}

/* Responsividade para seção de conteúdo */
@media (min-width: 768px) {
  .partner-content {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .partner-content {
    padding: 80px 0;
  }
}

/* Box de informações da página de contato */
.contact-info-box {
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid var(--brand-primary);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Card do logo na página sobre - mais alto */
.about-logo-card {
  min-height: 400px !important;
  height: 400px !important;
  padding: 0 !important;
}

.about-logo-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 32px;
}

@media (max-width: 767px) {
  .about-logo-card {
    min-height: 280px !important;
    height: 280px !important;
  }
  
  .about-logo-card img {
    padding: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-logo-card {
    min-height: 350px !important;
    height: 350px !important;
  }
  
  .about-logo-card img {
    padding: 28px;
  }
}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
    .active{font-weight:700;text-decoration:underline;}
    
    /* Cards de solução modernos */
    .solution-card {
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 12px;
      padding: 24px;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      height: 100%;
    }
    
    .solution-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--brand-primary);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
    }
    
    .solution-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.12);
      border-color: var(--brand-primary);
    }
    
    .solution-card:hover::before {
      transform: scaleX(1);
    }
    
    .solution-card-icon {
      font-size: 36px;
      margin-bottom: 16px;
      line-height: 1;
    }
    
    .solution-card-title {
      font-size: 19px;
      font-weight: 700;
      color: var(--brand-primary);
      margin: 0 0 12px 0;
      line-height: 1.3;
    }
    
    .solution-card-desc {
      font-size: 14px;
      line-height: 1.6;
      color: #555;
      margin: 0 0 16px 0;
      flex-grow: 1;
    }
    
    .solution-card-link {
      display: inline-flex;
      align-items: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--brand-primary);
      text-decoration: none;
      transition: gap 0.3s ease;
      gap: 6px;
    }
    
    .solution-card-link::after {
      content: '→';
      font-size: 16px;
      transition: transform 0.3s ease;
    }
    
    .solution-card:hover .solution-card-link::after {
      transform: translateX(4px);
    }
    
    /* Responsivo */
    @media (max-width: 767px) {
      .solution-card {
        padding: 20px;
      }
      .solution-card-icon {
        font-size: 32px;
      }
    }