/*
Theme Name: A3 Empreendimento V3
Theme URI: https://example.com
Author: Seu Nome
Description: Tema one page para A3 Empreendimento
Version: 3.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a3-empreendimentos
*/

:root {
  --color-primary: #0c2c64;
  --color-primary-dark: #081b3c;
  --color-accent: #f0a433;
  --color-accent-soft: #fff4df;
  --color-light: #f5f7fb;
  --color-white: #ffffff;
  --color-gray: #dfe5f0;
  --color-text: #1c2433;
  --max-width: 1320px;
  --section-width: min(100%, 1920px);
  --header-height: 130px;
  --anchor-offset: 96px;

  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.skip-link {
  position: fixed;
  z-index: 100000;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  color: var(--color-primary-dark);
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero#inicio,
.site-header#topo {
  scroll-margin-top: 0;
}

body.admin-bar [id] {
  scroll-margin-top: calc(var(--anchor-offset) + 32px);
}

body.admin-bar {
  scroll-padding-top: calc(var(--anchor-offset) + 32px);
}

@media (max-width: 782px) {
  body.admin-bar [id] {
    scroll-margin-top: calc(var(--anchor-offset) + 46px);
  }

  body.admin-bar {
    scroll-padding-top: calc(var(--anchor-offset) + 46px);
  }
}

@media (max-width: 768px) {
  :root {
    --anchor-offset: 112px;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
}

html {
  overflow-x: hidden;
}

main {
  width: min(100%, var(--section-width));
  margin: 0 auto;
  background: #ffffff;
  overflow: visible;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0 0 12px;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  font-weight: 700;
}

h1 {
  font-weight: 600;
}

h2,
h3,
h4 {
  font-weight: 700;
}

p {
  margin: 0 0 16px;
  font-size: 0.98rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page-hero {
  padding-top: 36px;
  padding-bottom: 12px;
}

.legal-page-hero__inner {
  background: linear-gradient(135deg, #0c2c64 0%, #163d82 100%);
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: 0 14px 34px rgba(12, 44, 100, 0.22);
}

.legal-page-hero__eyebrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-page-hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0;
}

.legal-page-content {
  padding-top: 12px;
  padding-bottom: 28px;
}

.legal-card {
  background: #fff;
  border: 1px solid #e4eaf4;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(20, 31, 56, 0.08);
  padding: clamp(20px, 3vw, 34px);
}

.legal-card h2,
.legal-card h3,
.legal-card h4 {
  color: var(--color-primary-dark);
  margin-top: 22px;
}

.legal-card p,
.legal-card li {
  color: #263146;
}

.legal-card ul,
.legal-card ol {
  padding-left: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #e9a54b);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(216, 137, 43, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(216, 137, 43, 0.45);
}

.btn-outline {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 20px 0;
  padding-bottom: 0;
}

#sobre > .container {
  max-width: var(--section-width);
  padding-left: 0;
  padding-right: 0;
}

#sobre .section-title,
#sobre .sobre-intro {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.section-title p {
  max-width: 720px;
  margin: 12px auto 0;
  color: #6b7280;
  font-size: 0.98rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

/* Estado quando o usuário rolou a página */
.site-header.scrolled {
  background: #0c2c64;                     /* a mesma cor que já usava */
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;               /* mais alta quando no topo */
  max-width: var(--section-width);
  margin: 0 auto;
  transition: padding 0.25s ease;
}

/* Header mais “compacto” depois do scroll */
.site-header.scrolled .nav-inner {
  padding: 8px 24px;
}


.logo {
  display: inline-flex;
  align-items: center;
}

/* Logo grande – aparece no topo */
.logo-big {
  display: block;
  height: 90px;             /* ajuste fino aqui se quiser maior/menor */
  width: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Logo pequeno – aparece só depois do scroll */
.logo-small {
  display: none;
  height: 56px;             /* menor para acompanhar o header compacto */
  width: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Quando header tem a classe .scrolled → troca os logos */
.site-header.scrolled .logo-big {
  display: none;
}

.site-header.scrolled .logo-small {
  display: block;
}


/* NAV (desktop) — estilo mais "Urban": grupo centralizado + espaçamento consistente */
@media (min-width: 769px){
  .nav-inner{
    position: relative;
    justify-content: flex-start;
  }

  /* wp_nav_menu normalmente gera um <ul class="main-nav"> */
  .main-nav{
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 56px);
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: auto;           /* <- empurra tudo pra direita */
    justify-content: flex-end;   /* <- alinha à direita */
    width: auto;                /* <- não estica */
  }

  .main-nav li{
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .main-nav a{
    color: var(--color-white);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 16px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .main-nav a:hover,
  .main-nav .current{
    background: rgba(255, 255, 255, 0.1);
    color: #f1f1f1;
  }

  /* Botão fechar no desktop */
  .menu-close-item {
    list-style: none;
    margin-left: 0;
    order: -1;
    display: flex;
    justify-content: flex-end;
  }

  .menu-close {
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    width: auto;
  }

  .menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-white);
  font-size: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  position: relative;
}

.nav-open .main-nav {
  display: flex;
}

/* Garante que o menu apareça mesmo com outras classes no body */
body.nav-open .main-nav {
  display: flex !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 80px;
    right: 16px;
    left: 16px;
    background: var(--color-primary);
    border-radius: 12px;
    flex-direction: column;
    padding: 12px;
    display: none;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
  }

  .nav-open .main-nav {
    display: flex;
  }

  /* Garante que o menu apareça mesmo com outras classes no body */
  body.nav-open .main-nav {
    display: flex !important;
  }

  .main-nav a {
    width: 100%;
    padding: 12px;
    color: #ffffff;
  }

  /* Botão fechar menu */
  .menu-close-item {
    list-style: none;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
  }

  .menu-close {
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
    width: auto;
  }

  .menu-close:hover {
    color: #ffffff;
  }
}

.hero {
  position: relative;
  width: min(100%, var(--section-width));
  height: min(100dvh, 56.25vw, 1080px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  margin-bottom: 0;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 136%;
  height: 136%;
  object-fit: cover;
  object-position: center 48%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-video--youtube {
  border: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-audio-controls {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  display: grid;
  justify-items: start;
  gap: 10px;
}

.hero-audio-controls__toggle {
  width: 46px;
  height: 46px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 27, 60, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-audio-controls__toggle:hover {
  transform: translateY(-1px);
  background: rgba(8, 27, 60, 0.86);
}

.hero-audio-controls__toggle.is-active {
  background: linear-gradient(135deg, var(--color-accent), #e9a54b);
  color: #fff;
}

.hero-audio-controls__panel {
  order: 1;
  display: grid;
  gap: 12px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 27, 60, 0.66);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  color: #fff;
}

.hero-audio-controls__panel[hidden] {
  display: none;
}

.hero-audio-controls__volume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  color: #fff;
}

.hero-audio-controls__volume input[type="range"] {
  width: 110px;
  accent-color: var(--color-accent);
}

.hero-audio-controls__quality {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 220px;
  padding: 8px 10px;
  border-radius: 12px;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  font-size: 0.85rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-audio-controls__quality select {
  width: 128px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 0.8rem;
  box-shadow: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-audio-controls__quality select:focus {
  border-color: var(--color-accent);
  background: transparent;
  box-shadow: 0 0 0 2px rgba(240, 164, 51, 0.24);
}

.hero-audio-controls__quality option {
  background: #081b3c;
  color: #fff;
}

.hero-audio-controls__toggle {
  order: 3;
}

.hero-audio-controls__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.hero-audio-controls__icon--sound {
  display: none;
}

.hero-audio-controls__toggle.is-active .hero-audio-controls__icon--muted {
  display: none;
}

.hero-audio-controls__toggle.is-active .hero-audio-controls__icon--sound {
  display: block;
}

@media (max-width: 767px) {
  .hero-audio-controls {
    left: 16px;
    bottom: 16px;
    justify-content: end;
  }

  .hero-audio-controls__panel {
    max-width: calc(100vw - 32px);
  }

  .hero-audio-controls__volume input[type="range"] {
    width: min(100%, 160px);
    flex: 1;
  }
}

.hero-content {
  max-width: 720px;
  text-align: center;
  padding: 0 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1.15;
  max-width: 760px;
  margin: 35px auto 16px;
  color: var(--color-white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68);
}

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

.hero p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  color: #e5e7eb;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 35px auto 16px;
  color: var(--color-white);
}

.hero-actions {
  margin-top: 28px;
  gap: 12px;
}

/* Sobre */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 20px;
}

.sobre-text {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.sobre-highlights {
  display: grid;
  gap: 16px;
}

.highlight-card {
  padding: 18px;
  border-radius: 12px;
  background: #0c2c6455;
  border: #0c2c6440;
  box-shadow: 0 10px 28px #0c2c6426;
}

.highlight-card h4 {
  margin-bottom: 6px;
}

/* Sócios */
.section-socios {
  padding: 5rem 0; /* remove o padding lateral que “quadrava” */
  padding-bottom: 0;
  
}

.socios {
  margin-top: 48px;
  background: #ffffff;

  margin-bottom: 0;
  margin-top: 0;
  border-radius: 0;   /* opcional: tira o “card” quadrado */
  padding: 3.5rem 0;  /* espaço interno do fundo */
  overflow: hidden;
}

.socios-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;

  /* conteúdo continua “alinhado” ao grid geral do site */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.socio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.socio-row:nth-child(even) {
  direction: rtl;
}

.socio-row:nth-child(even) > * {
  direction: ltr;
}

.socio-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.socio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.socio-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.socio-content h3 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--color-primary-dark);
}

.socio-content p {
  margin: 0;
  line-height: 1.8;
  color: #4b5563;
  font-size: 0.98rem;
}

/* === EMPREENDIMENTOS – MÍDIA DESTACADA === */

.section-empreendimentos {
  padding: 4rem 0 5rem;
  background: #0b1822;
  color: #f9fafb;
  width: 100%;
  max-width: none;
  margin: 0;
}

.section-empreendimentos__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0;
  text-align: center;
}

.section-empreendimentos__title p {
  width: 100%;
  margin: 0 0 0.35rem;
  color: #9ca3af;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-empreendimentos__title h2 {
  width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: "Segoe UI", var(--font-heading);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.empreendimentos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.section-empreendimentos .tabs {
  display: flex;
  gap: 0.75rem;
}

.section-empreendimentos .tab {
  appearance: none;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 7px;
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.section-empreendimentos .tab.is-active {
  border-color: #ffffff;
  background: #ffffff;
  color: #0b1822;
}

.empreendimentos-counter {
  color: #9ca3af;
  letter-spacing: 0.18em;
}

.empreendimentos-counter .slide-current {
  color: #ffffff;
}

.empreendimento-slide {
  display: none;
}

.empreendimento-slide.is-active {
  display: block;
}

.empreendimento-slide__title {
  width: 100%;
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.25;
  text-align: center;
}

.section-empreendimentos__media {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #061019;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.section-empreendimentos__media img,
.section-empreendimentos__media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.empreendimentos-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.empreendimentos-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

.empreendimentos-nav button:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 700px) {
  .section-empreendimentos {
    padding: 3rem 0 3.5rem;
  }

  .section-empreendimentos__title {
    margin-bottom: 1.5rem;
  }

  .empreendimentos-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-empreendimentos .tabs {
    width: 100%;
  }

  .section-empreendimentos .tab {
    flex: 1;
    padding-inline: 0.75rem;
  }

  .empreendimentos-counter {
    align-self: flex-end;
  }

  .section-empreendimentos__media {
    border-radius: 10px;
  }
}


/* Contato */
.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 50px;
}

form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

label {
  font-weight: 600;
  color: #2c2c2c;
}

input,
textarea,
select {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  background: #f9fafb;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  background: #ffffff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.contato-card {
  background: var(--color-light);
  padding: 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-gray);
}

.contato-info {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: #3b3b3b;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-gray);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 700;
}

.social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Bloco da faixa "Siga nossas redes sociais" */
.footer-social {
  background: transparent;           /* cor de fundo da faixa */
  color: #ffffff;
  grid-column: 1 / -1;
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem) 0 2.25rem;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* texto "Siga nossas redes sociais" */
.footer-social-text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c2c64;
}

/* linha dos ícones */
.footer-social-header {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* bolinhas já estavam configuradas, mantemos */
.social-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-circle img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.social-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}



/* Rodapé */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-primary);
  padding: 22px 0 10px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-inner small {
  color: #b9b9b9;
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: #4b5563;
  padding-bottom: 1rem;
}

.footer-main {
  background: #ffffff;
  padding: 1rem 0 0;
  width: min(100%, var(--section-width));
  max-width: none;
  margin: 0 auto;
}

/* grid geral do rodapé permanece igual */
.footer-content {
  /* max-width: var(--max-width); */
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0.5rem;
}

/* logo + endereço em coluna, alinhados à esquerda no desktop */
.footer-brand-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* tamanho fixo pro logo (não deixa esticar demais) */
.footer-logo {
  width: 130px;                   /* ajusta o valor se quiser maior/menor */
  max-width: 100%;
}

.footer-brand-section p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-primary);
}

.footer-address p {
  margin: 0.25rem 0;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-map-column iframe {
  width: 100%;
  height: 200px;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
}

/* Responsivo: em telas menores, volta para centralizado */
@media (max-width: 768px) {
  .footer-brand-section {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: 140px;
  }
}


.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom-bar {
  background: #ffffff;
  border-top: 1px solid #0000000f;
  width: min(100%, var(--section-width));
  max-width: none;
  margin: 0 auto;
}

.footer-bottom-bar .footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 24px 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #0c2c64;
}

@media (max-width: 1024px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }
  /* NÃO mexe na .contato-grid aqui */
}

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

  .hero {
    height: min(100dvh, 56.25vw, 1080px);
    min-height: 0;
    padding: 0;
  }

  .hero-video {
    object-position: 52% center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .socio-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 540px) {
  :root {
    --max-width: 92vw;
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 30px;
  }

  .logo img {
    height: 70px;
    margin-right: 24px;
  }

  .socio-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .socio-row:nth-child(even) {
    direction: ltr;
  }

  .socio-photo {
    max-width: 100%;
    margin: 0 auto;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.intro-a3 {
  background: #ffffff;
  padding: 4rem 0;
}

.intro-a3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.intro-a3-image img {
  display: block;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.intro-a3-content {
  max-width: 520px;
}

.intro-a3-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.intro-a3-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.intro-a3-content p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.75rem;
}

.intro-a3-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 4px;
}

.intro-a3-link::before {
  content: "›";
  font-size: 1.1rem;
}

/* Responsivo */
@media (max-width: 900px) {
  .intro-a3-grid {
    grid-template-columns: 1fr;
  }

  .intro-a3-image {
    order: -1; /* foto em cima no mobile */
  }
}


/* Parceiros */
.parceiros-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  max-width: 1320px;
  margin: 0 auto;
}

.parceiro-card {
  flex: 0 1 calc((100% - 108px) / 4);
  min-width: 0;
  height: 240px;
  background: var(--color-white);
  border: 0;
  padding: 0;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parceiro-logo {
  background: var(--partner-logo-background, #fff);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 34px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parceiro-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
}

@media (max-width: 1200px) {
  .parceiros-grid {
    max-width: 880px;
  }

  .parceiro-card {
    flex-basis: calc((100% - 36px) / 2);
  }
}

@media (max-width: 600px) {
  .parceiros-grid {
    max-width: 420px;
    gap: 24px;
  }

  .parceiro-card {
    flex-basis: 100%;
    height: 220px;
  }
}

/* Sobre — bloco de métricas (estilo editorial) */
.sobre-intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: stretch; /* mantém stretch para imagem acompanhar altura do texto */
  margin: 34px 0 48px;
}

.sobre-intro-number {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  margin: 0;
}

.sobre-intro-content{
  display: flex;
  flex-direction: column;
  align-items: center;   /* <- centraliza os blocos */
  text-align: center;
}

.sobre-intro-label {
  text-align: center;
  justify-content: center;
  margin: 8px 0 18px;
  font-weight: 700;
  color: var(--color-text);
  max-width: 28ch;
}

.sobre-intro-kpis {
  text-align: center;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.sobre-kpi {
  min-width: 180px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.15);
}

.sobre-kpi strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-text);
}

.sobre-kpi span {
  display: block;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.75);
  margin-top: 4px;
}

.sobre-intro-text {
  max-width: 60ch;
  color: rgba(15, 23, 42, 0.75);
  margin: 14px 0 22px;
  text-align: justify;
}

.sobre-intro-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(12, 44, 100, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sobre-intro-link:hover {
  border-bottom-color: rgba(12, 44, 100, 0.85);
  transform: translateY(-1px);
}

.sobre-intro-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  background: #e5e7eb;
  height: 100%; /* ocupa 100% da altura da coluna de conteúdo */
  min-height: 280px;
}

.sobre-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

  .sobre-intro-media {
    order: -1;
    min-height: 220px;
  }

  .sobre-kpi {
    min-width: 150px;
  }
}

.contato-mapa{
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.contato-mapa iframe{
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* WhatsApp flutuante (estilo “balão” tipo Cyrela) */
.float-whatsapp{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  height: 54px;
  padding: 0 16px 0 12px;
  border-radius: 999px;

  background: #25D366;
  color: #ffffff;
  text-decoration: none;

  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.float-whatsapp:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.28);
}

.float-whatsapp__icon{
  width: 26px;
  height: 26px;
  display: block;
}

.float-whatsapp__icon path{
  fill: currentColor;
}

.float-whatsapp__label{
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

/* “pulse” discreto ao redor */
.float-whatsapp__ring{
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.35);
  opacity: 0;
  animation: floatWppPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes floatWppPulse{
  0%   { transform: scale(0.98); opacity: 0.0; }
  25%  { opacity: 0.55; }
  100% { transform: scale(1.12); opacity: 0.0; }
}

/* Mobile: vira só bolinha */
@media (max-width: 520px){
  .float-whatsapp{
    width: 54px;
    padding: 0;
    justify-content: center;
  }
  .float-whatsapp__label{
    display: none;
  }
}

/* ===== HEADER: logo à esquerda + menu lateral ===== */
@media (min-width: 769px){
  .site-header .nav-inner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }

  /* Menu agora é sempre drawer lateral */
}

/* Menu lateral: remove regras antigas do menu horizontal */

/* Tarja de números (carrossel infinito) */
.sobre-tarja{
  position: relative;
  margin: 15px 0 20px;
  padding: 10px 0;
  border-radius: 16px;
  background: rgba(12, 44, 100, 0.06);
  overflow: hidden;
}

.sobre-tarja__viewport{
  overflow: hidden;
  width: 100%;
}

.sobre-tarja__track{
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 18px;
  animation: sobreMarquee 120s linear infinite;
}

.sobre-tarja:hover .sobre-tarja__track{
  animation-play-state: paused; /* pausa ao passar o mouse */
}

@keyframes sobreMarquee{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* funciona porque repetimos o conteúdo 2x */
}

/* “pílulas” */
.sobre-pill{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 0;

  width: 340px;
  min-width: 340px;
  padding: 16px 18px;
  border-radius: 8px;

  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);

  white-space: normal;
}

.sobre-pill strong{
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: 0.2px;
}

.sobre-pill span{
  color: rgba(15, 23, 42, 0.72);
  font-size: 0.95rem;
}

.sobre-pill__quantity{
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.sobre-pill__name{
  font-weight: 600;
  color: #0b0b0b;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.sobre-pill__type{
  font-weight: 500;
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-right: 4px;
}

.sobre-pill__city{
  color: rgba(15, 23, 42, 0.65);
  font-size: 0.88rem;
  line-height: 1.3;
}

/* fade nas laterais (fica bem “premium”) */
.sobre-tarja__fade{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 2;
}
.sobre-tarja__fade--left{
  left: 0;
  background: linear-gradient(to right, rgba(243,245,250,1), rgba(243,245,250,0));
}
.sobre-tarja__fade--right{
  right: 0;
  background: linear-gradient(to left, rgba(243,245,250,1), rgba(243,245,250,0));
}

/* acessibilidade: respeita quem não curte animação */
@media (prefers-reduced-motion: reduce){
  .sobre-tarja__track{
    animation: none;
  }
}

/* Seção Nossos Números */
.section-nossos-numeros {
  background: #e2e8f0; /* cinza mais escuro */
  padding: 15px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Parceiros: sombra ao passar o mouse */
#parceiros .parceiro-card,
.section-parceiros .parceiro-card,
#parceiros .partner-card,
.section-parceiros .partner-card{
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#parceiros .parceiro-card:hover,
.section-parceiros .parceiro-card:hover,
#parceiros .partner-card:hover,
.section-parceiros .partner-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  border-color: var(--color-primary);
}

/* Contato: duas caixas com mesma altura */
.contato-grid{
  align-items: stretch; /* estica as colunas */
}

/* ambos os cards ocupam 100% da altura da linha */
.contato-card{
  height: 100%;
}

/* o card da esquerda (info + mapa) precisa distribuir o conteúdo */
.contato-card:first-child{
  display: flex;
  flex-direction: column;
}

/* mapa cresce pra preencher até igualar a altura do formulário */
.contato-card:first-child .contato-mapa{
  flex: 1;
  min-height: 260px; /* garante um mínimo */
}

/* iframe preenche o espaço do mapa */
.contato-card:first-child .contato-mapa iframe{
  height: 100%;
}

/* FOOTER: barra acima dos títulos das colunas */
.footer-main .footer-column .footer-heading{
  position: relative;
  padding-top: 14px;
  margin-top: 0;
}

.footer-main .footer-column .footer-heading::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 3px;
  background: #0b0b0b; /* troque por var(--color-primary) se quiser */
}

/* FIX: força 4 colunas iguais no footer (mesmo se antes era flex) */
.footer-main .footer-content{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 56px !important;
  align-items: start;
}

/* zera qualquer regra antiga de flex/width que esteja deixando a 1ª maior */
.footer-main .footer-content > *{
  width: auto !important;
  max-width: none !important;
  flex: initial !important;
  flex-basis: auto !important;
}

/* se a brand tiver alguma largura mínima, remove */
.footer-main .footer-brand-section{
  min-width: 0 !important;
}

.footer-main .footer-menu a{
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  transition: color .2s ease, transform .2s ease;
}

.footer-main .footer-menu a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: #0b0b0b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.footer-main .footer-menu a:hover,
.footer-main .footer-menu a:focus-visible{
  color: var(--color-primary-dark);
  transform: translateX(4px);
}

.footer-main .footer-menu a:hover::after,
.footer-main .footer-menu a:focus-visible::after{
  transform: scaleX(1);
}

/* Social icons — estilo Neuraix (bolinha branca + ícone azul) */
.footer-social-header{
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social .social-circle{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  transition: transform .2s ease, box-shadow .2s ease;
  color: var(--color-primary); /* cor do ícone (via currentColor) */
}

.footer-social .social-circle:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.footer-social .social-icon{
  width: 18px;
  height: 18px;
  display: block;
}

/* Base responsiva */
*,
*::before,
*::after { box-sizing: border-box; }

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

.container{
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}

/* Tipografia fluida */
.section-title h2{
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}
p{ font-size: clamp(0.95rem, 1.6vw, 1.05rem); line-height: 1.65; }

/* Tablet */
@media (max-width: 1024px){
  .sobre-intro{ grid-template-columns: 1fr; }
  .sobre-intro-media{ order: -1; min-height: 220px; }

  .contato-grid{ grid-template-columns: 1fr; }
  .contato-card:first-child .contato-mapa{ min-height: 240px; }
}

/* Mobile */
@media (max-width: 768px){
  /* Sócios: vira coluna */
  .socio-row{
    grid-template-columns: 1fr !important;
    gap: 18px;
  }
  .socio-photo img{ width: 100%; height: auto; }

  /* Footer: 4 -> 2 colunas */
  .footer-main .footer-content{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
  }
}

@media (max-width: 520px){
  /* Footer: 2 -> 1 coluna */
  .footer-main .footer-content{
    grid-template-columns: 1fr !important;
  }

  /* Espaço e respiro das seções */
  .section{ padding: 56px 0; }
}

/* Header responsivo */
.site-header .nav-inner{
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Desktop: botão sempre visível para menu lateral */

/* Menu lateral: remove regras antigas do mobile */


/* Menu lateral: remove regras antigas */


@media (max-width: 768px){
  .menu-overlay{
    background: rgba(0,0,0,.45) !important; /* neutro */
  }
}

/* TABLET: ajustes gerais */
@media (min-width: 769px) and (max-width: 1024px){
  html, body{ overflow-x: hidden; }
  .site-header .nav-inner{ gap: 14px; }
}

/* Mantém a faixa de números presa à largura visual do site */
.section-nossos-numeros{
  background: #e2e8f0;
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

/* Ajusta o fade do carrossel para combinar com o fundo da seção */
.section-nossos-numeros .sobre-tarja__fade--left{
  background: linear-gradient(to right, #e2e8f0, rgba(226,232,240,0));
}
.section-nossos-numeros .sobre-tarja__fade--right{
  background: linear-gradient(to left, #e2e8f0, rgba(226,232,240,0));
}

/* TABLET: ajustes gerais */
@media (min-width: 769px) and (max-width: 1024px){
  html, body{ overflow-x: hidden; }
  .site-header .nav-inner{ gap: 14px; }
}

/* =========================================================
   FALE COM A GENTE (layout estilo referência / “Patariani”)
   ========================================================= */

.section-fale-com-a-gente{
  background: #aabdd5;
  padding: 96px 0;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.contato-a3{
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: min(7vw, 120px);
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.contato-a3__title{
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.6vw, 3rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #171717;
  margin: 0;
}

.contato-a3__subtitle{
  margin-top: 22px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(0,0,0,0.72);
}

.contato-a3__legal{
  margin-top: 34px;
  font-size: 24px;
  line-height: 1.55;
  color: #374151;
}

.contato-a3__legal a{
  color: #0c2c64;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contato-a3__legal p{
  font-size: 0.8rem;
}

.contato-a3__form{
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 10px;
}

.a3-honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.a3-form-message{
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.a3-form-message--success{
  color: #125c2f;
  background: #e8f7ee;
  border: 1px solid rgba(18, 92, 47, 0.18);
}

.a3-form-message--error{
  color: #8a1f1f;
  background: #fdecec;
  border: 1px solid rgba(138, 31, 31, 0.18);
}

.a3-field label{
  display: block;
  font-size: 0.92rem;
  color: #374151;
  margin-bottom: 10px;
  font-weight: 500;
}

.a3-field{
  position: relative;
}

.a3-field input,
.a3-field select{
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  border-radius: 0;
  padding: 10px 0 14px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #111;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.a3-field input:focus,
.a3-field select:focus{
  outline: none;
  border-bottom-color: rgba(0,0,0,0.75);
}

/* Input inválido */
.a3-field input.invalid{
  border-bottom-color: #d63638;
}

.a3-field input.invalid:focus{
  border-bottom-color: #d63638;
}

/* Mensagem de erro */
.field-error{
  display: none;
  font-size: 0.82rem;
  color: #d63638;
  margin-top: 6px;
  font-weight: 500;
}

/* Remove o “glow” padrão do tema nesse layout */
.section-fale-com-a-gente input:focus,
.section-fale-com-a-gente select:focus{
  box-shadow: none !important;
}

/* Select com seta custom */
.a3-field--select{
  position: relative;
}

.a3-field--select select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 34px;
  cursor: pointer;
}

.a3-field--select::after{
  content: "";
  position: absolute;
  right: 2px;
  top: 52px; /* alinhado ao campo abaixo do label */
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(0,0,0,0.55);
  border-bottom: 2px solid rgba(0,0,0,0.55);
  transform: rotate(45deg);
  pointer-events: none;
}

.a3-consent{
  margin-top: 6px;
}

.a3-checkbox{
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(0,0,0,0.60);
}

.a3-checkbox input{
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  border: 0;
  border-radius: 2px;
  background: #ffffff;
  cursor: pointer;
  transition: none !important;
}

.a3-checkbox input:checked{
  background: #23b86b;
}

.a3-checkbox input:checked::after{
  content: "";
  width: 7px;
  height: 13px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-1px, -2px);
}

.a3-checkbox input:focus-visible{
  outline: 2px solid rgba(37, 211, 102, 0.35);
  outline-offset: 3px;
}

.a3-submit{
  margin-top: 18px;
  align-self: center;
  width: min(520px, 100%);
  height: 62px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255, 255, 255, 0.705);
  backdrop-filter: blur(6px);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);

  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Botão desabilitado (estado padrão) */
.a3-submit:disabled{
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(0,0,0,0.25);
}

.a3-submit:disabled:hover{
  transform: none;
  box-shadow: none;
}

/* Botão habilitado (quando todos os campos estão preenchidos) */
.a3-submit.enabled{
  opacity: 1;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
}

.a3-submit.enabled:hover{
  background: #0a2352;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(12, 44, 100, 0.25);
}

.a3-submit__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

@media (max-width: 900px){
  .section-fale-com-a-gente{ padding: 72px 0; }

  .contato-a3{
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contato-a3__title{
    font-size: clamp(2.4rem, 9vw, 3.6rem);
  }

  .a3-field--select::after{ top: 50px; }

  .a3-submit{
    width: 100%;
  }
}

/* ====== OVERRIDE: menu mobile 1 item por linha ====== */
@media (max-width: 768px) {
  /* Menu mobile em coluna (1 item por linha) */
  ul.main-nav {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  ul.main-nav > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  ul.main-nav > li > a {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: left !important; /* troque p/ center se quiser */
  }

  /* garante que nenhuma regra antiga deixe os itens "lado a lado" */
  ul.main-nav li {
    float: none !important;
  }
}

/* =========================================================
   MENU SEMPRE NO ESTILO MOBILE (HAMBURGUER) EM TODAS AS TELAS
   Cole no final do style.css para sobrescrever o resto.
   ========================================================= */

/* Botao sempre visivel */
.nav-toggle {
  display: inline-flex !important;
  margin-left: auto;
}

/* Menu sempre fechado por padrao (inclusive desktop) */
ul.main-nav {
  display: none !important;
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 10px);
  background: rgba(12, 44, 100, 0.98);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
  z-index: 10000;

  /* 1 item por linha */
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}

ul.main-nav > li {
  width: 100%;
  margin: 0;
}

ul.main-nav > li > a {
  display: block;
  width: 100%;
  padding: 12px 12px;
  color: #fff !important;
  text-decoration: none;
  border-radius: 10px;
  white-space: normal;
}

/* Abre quando clicar no hamburguer */
body.nav-open ul.main-nav,
ul.main-nav.is-open {
  display: flex !important;
}

/* opcional: hover */
ul.main-nav > li > a:hover {
  background: rgba(255, 255, 255, 0.10);
}

/* Botão fechar sempre à direita */
ul.main-nav .menu-close-item {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

ul.main-nav .menu-close {
  width: auto !important;
  padding: 10px 12px !important;
}

/* ====== Desktop: painel do menu com ~30% do lado direito ====== */
@media (min-width: 769px) {
  ul.main-nav {
    left: auto !important;
    max-width: 420px !important;
    min-width: 260px !important;
  }
}

/* =========================================================
   CARDS: Missão / Visão / Valores (abaixo do botão do hero)
   - Quadrados
   - No hover expandem e mostram texto
   ========================================================= */

.mv-cards{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* Card base: quadrado */
.mv-card{
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  overflow: hidden;

  /* quadrado */
  aspect-ratio: 1 / 1;

  /* animação suave */
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

/* título */
.mv-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

/* texto escondido no estado normal */
.mv-card p{
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

/* efeito no hover: “expande” e revela texto */
.mv-card:hover{
  transform: scale(1.04);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 18px 30px rgba(0,0,0,0.20);
  z-index: 2;
}

.mv-card:hover p{
  opacity: 1;
  transform: translateY(0);
}

/* acessível em mobile/touch: ao tocar (focus) também abre */
.mv-card:focus-within p,
.mv-card:active p{
  opacity: 1;
  transform: translateY(0);
}

.mv-card:focus-within,
.mv-card:active{
  transform: scale(1.04);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 18px 30px rgba(0,0,0,0.20);
  z-index: 2;
}

/* responsivo */
@media (max-width: 900px){
  .mv-cards{
    grid-template-columns: 1fr;
  }
  .mv-card{
    aspect-ratio: auto;
    min-height: 120px;
  }
  /* em telas menores pode deixar o texto sempre visível */
  .mv-card p{
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Mini-cards que expandem quando passar o mouse NO TITULO
   (efeito de "card abrindo", não só texto aparecendo)
   Usa :has() para "hover no h3 controlar o article".
   ========================================================= */

.mv-cards{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* Card compacto (estado normal) */
.mv-card{
  position: relative;
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  overflow: hidden;

  /* “mini” */
  height: 64px;

  transition: height .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}

/* o titulo vira o "gatilho" */
.mv-title{
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

/* um chevronzinho fake (opcional) */
.mv-title::after{
  content: "▾";
  font-size: 14px;
  opacity: .8;
  transform: translateY(-1px);
  transition: transform .25s ease;
}

/* Conteudo interno (fica lá, mas oculto pelo height do card) */
.mv-expand{
  margin-top: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .20s ease, transform .20s ease;
}

.mv-expand p{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: .95;
}

/* ====== O PULO DO GATO: expande só quando o mouse está NO TITULO ====== */
.mv-card:has(.mv-title:hover),
.mv-card:has(.mv-title:focus){
  height: 180px;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 18px 30px rgba(0,0,0,0.20);
  transform: translateY(-2px);
  z-index: 2;
}

.mv-card:has(.mv-title:hover) .mv-expand,
.mv-card:has(.mv-title:focus) .mv-expand{
  opacity: 1;
  transform: translateY(0);
}

.mv-card:has(.mv-title:hover) .mv-title::after,
.mv-card:has(.mv-title:focus) .mv-title::after{
  transform: rotate(180deg);
}

/* Acessibilidade: permite "abrir" via teclado */
.mv-title{
  outline: none;
}
.mv-title:focus{
  outline: 2px solid rgba(255,255,255,0.35);
  outline-offset: 4px;
  border-radius: 10px;
}

/* Responsivo */
@media (max-width: 900px){
  .mv-cards{ grid-template-columns: 1fr; }
  .mv-card{ height: auto; }
  .mv-expand{ opacity: 1; transform: none; }
  .mv-title::after{ content: ""; }
}

/* =========================================================
   Missao / Visao / Valores: lista vertical + painel à direita
   ========================================================= */

.mv-split{
  margin-top: 18px;
}

.mv-list{
  display: grid;
  grid-template-columns: 320px 1fr; /* coluna esquerda (opções) + direita (painel) */
  gap: 16px;
  align-items: start;
  position: relative;
  color: black
}

/* Cada item ocupa a coluna da esquerda */
.mv-item{
  grid-column: 1;
  position: relative;
}

/* "Botão" da opção (card compacto) */
.mv-label{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.mv-item:hover .mv-label{
  background: rgba(255,255,255,0.12);
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

/* Painel da direita (fica escondido até hover) */
.mv-panel{
  grid-column: 2;
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 16px 18px;
  color: #fff;
  min-height: 120px;
}

.mv-panel h3{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.mv-panel p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: .95;
}

/* Mostra o painel correspondente quando passar o mouse no item */
.mv-item:hover .mv-panel{
  display: block;
}

/* Responsivo: em telas menores vira "accordion" (texto abaixo) */
@media (max-width: 900px){
  .mv-list{
    grid-template-columns: 1fr;
  }
  .mv-panel{
    display: block;            /* sempre visível no mobile */
    margin-top: 10px;
    grid-column: 1;
  }
}

/* =========================================================
   Missao / Visao / Valores
   - Tópicos à esquerda (não se sobrepõem)
   - Texto em painel fixo à direita (preto)
   - Sem JS
   ========================================================= */

.mv-split{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

/* coluna esquerda */
.mv-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  color:black
}

.mv-item{
  position: relative;
}

.mv-label{
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;

  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.mv-item:hover .mv-label{
  background: rgba(255,255,255,0.12);
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

/* coluna direita: painel fixo */
.mv-panels{
  position: relative;
  min-height: 140px;
}

/* todos os painéis ficam empilhados no mesmo lugar,
   mas só 1 fica visível por vez (não sobrepõe a coluna esquerda) */
.mv-panel{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.12);

  transition: opacity .18s ease;
}

/* fonte preta no painel */
.mv-panel h3{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  color: #000;
}

.mv-panel p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

/* mostra o painel correspondente ao item em hover */
.mv-split:has(.mv-item:nth-child(1):hover) .mv-panel:nth-child(1),
.mv-split:has(.mv-item:nth-child(2):hover) .mv-panel:nth-child(2),
.mv-split:has(.mv-item:nth-child(3):hover) .mv-panel:nth-child(3){
  opacity: 1;
  pointer-events: auto;
}

/* estado padrão: mostra o 1º painel quando não há hover */
.mv-panel:nth-child(1){
  opacity: 1;
  pointer-events: auto;
}

/* ao passar o mouse em qualquer item, esconde o default e deixa o selecionado */
.mv-split:has(.mv-item:hover) .mv-panel:nth-child(1){
  opacity: 0;
  pointer-events: none;
}
.mv-split:has(.mv-item:nth-child(1):hover) .mv-panel:nth-child(1){
  opacity: 1;
  pointer-events: auto;
}

/* responsivo */
@media (max-width: 900px){
  .mv-split{
    grid-template-columns: 1fr;
  }
  .mv-panels{
    min-height: auto;
  }
  .mv-panel{
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    margin-top: 12px;
  }

  /* no mobile mostra todos (ou você pode manter só um, se quiser) */
  .mv-panel + .mv-panel{
    margin-top: 12px;
  }
}
/* =========================================================
   Cards: Missão / Visão / Valores (com fonte preta)
   - Quadrados
   - Hover: expande como card e revela texto
   ========================================================= */

.mv-cards{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.mv-card{
  position: relative;
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;

  /* aparência de card */
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 12px 22px rgba(0,0,0,0.10);

  /* quadrado */
  aspect-ratio: 1 / 1;

  transition: transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
}

/* fonte preta */
.mv-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #000;
}

.mv-card p{
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;

  /* começa “retraído” */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
}

/* Hover/focus: card “expande” e mostra texto */
.mv-card:hover,
.mv-card:focus{
  transform: scale(1.04);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
  z-index: 2;
}

.mv-card:hover p,
.mv-card:focus p{
  opacity: 1;
  transform: translateY(0);
}

/* Responsivo */
@media (max-width: 900px){
  .mv-cards{
    grid-template-columns: 1fr;
  }
  .mv-card{
    aspect-ratio: auto;
    min-height: 140px;
  }
  /* em telas menores deixa o texto visível */
  .mv-card p{
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Cards MVV — expandem de verdade para caber TODO o conteúdo
   (UX melhor que "quadrado com texto escondido")
   ========================================================= */

.mv-cards{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* Estado normal: card compacto */
.mv-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 16px 18px;
  color: #000;
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);

  /* chave do "expandir de verdade": sem aspect-ratio */
  height: auto;
  overflow: hidden;

  /* compacta inicialmente */
  max-height: 84px;

  transition: max-height .28s ease, transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
  position: relative;
}

.mv-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #000;
}

.mv-card p{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;

  /* no estado fechado, o texto fica "lá", mas o max-height corta */
}

/* Hover/focus: o card EXPANDE e mostra tudo */
.mv-card:hover,
.mv-card:focus{
  max-height: 420px; /* grande o suficiente para Missão/Visão/Valores */
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
  z-index: 2;
  outline: none;
}

/* opcional: um "indicador" discreto de expandir */
.mv-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  opacity: 1;
  transition: opacity .18s ease;
  pointer-events: none;
}

.mv-card:hover::after,
.mv-card:focus::after{
  opacity: 0;
}

/* Responsivo */
@media (max-width: 900px){
  .mv-cards{
    grid-template-columns: 1fr;
  }
  .mv-card{
    max-height: none;   /* no mobile deixa aberto */
    cursor: default;
  }
  .mv-card::after{
    display: none;
  }
}

/* Respeita usuários que preferem menos animação */
@media (prefers-reduced-motion: reduce){
  .mv-card{
    transition: none;
  }
}

/* ===== MVV: cards responsivos (sem dor no resize) ===== */
.mv-cards{
  margin-top: 18px;
  display: grid;
  gap: 16px;

  /* 3 colunas quando cabe, 2/1 quando não cabe */
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  align-items: start;
}

/* Card compacto (fechado) + expande sem quebrar o grid */
.mv-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
  color: #000;
  overflow: hidden;

  /* fechado: altura controlada */
  max-height: 86px;

  /* estabilidade: evita “pulos” estranhos */
  min-height: 100px;

  transition: max-height .28s ease, transform .22s ease, box-shadow .22s ease;
  position: relative;
}

.mv-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;

  /* cor do titulo (ajuste aqui) */
  color: var(--color-primary, #0C2C64);
}

.mv-card p{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

/* hover/focus: expande para caber tudo */
.mv-card:hover,
.mv-card:focus{
  max-height: 250px;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
  z-index: 2;
  outline: none;
}

/* no mobile: tudo aberto (sem depender de hover) */
@media (max-width: 900px){
  .mv-card{
    max-height: none;
    min-height: auto;
  }
}

/* ===== MVV: 3 cards lado a lado no desktop ===== */
.mv-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
  align-items: start;
}

/* Em telas menores, pode quebrar para não espremê-los demais */
@media (max-width: 900px){
  .mv-cards{
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   MVV Cards:
   - Fechado: retângulo baixinho (só título)
   - Hover/focus: vira quadrado e mostra texto
   ========================================================= */

.mv-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
  align-items: start;
}

.mv-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
  overflow: hidden;
  position: relative;

  /* Fechado: retângulo baixo */
  height: auto;
  min-height: 56px;         /* ajusta a “altura do título” */
  max-height: 56px;         /* garante que fique baixinho */
  transition:
    max-height .28s ease,
    aspect-ratio .28s ease,
    transform .22s ease,
    box-shadow .22s ease;
  cursor: pointer;
}

/* Título com cor do tema */
.mv-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-primary, #0C2C64);
}

/* Texto fica “guardado” no estado fechado */
.mv-card p{
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

/* Hover/focus: vira quadrado e abre para caber texto */
.mv-card:hover,
.mv-card:focus{
  aspect-ratio: 1 / 1;     /* vira quadrado */
  max-height: 520px;       /* grande o suficiente para mostrar o conteúdo */
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
  z-index: 2;
  outline: none;
}

/* Se o conteúdo for pouco, mantém o quadrado bonitinho sem ficar apertado */
.mv-card:hover p,
.mv-card:focus p{
  /* nada obrigatório aqui; o max-height já libera tudo */
}

/* Responsivo */
@media (max-width: 900px){
  .mv-cards{
    grid-template-columns: 1fr !important;
  }
  /* No mobile: sem hover, deixa aberto e sem quadrado forçado */
  .mv-card{
    max-height: none;
    min-height: auto;
    aspect-ratio: auto;
  }
}
/* =========================================================
   MVV como "menu de abas" + texto abaixo (sem JS)
   ========================================================= */

.mvv-tabs{
  margin-top: 18px;
}

/* esconde radios */
.mvv-tabs > input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* menu (abas) */
.mvv-menu{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.mvv-tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;

  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);

  font-weight: 700;
  color: var(--color-primary, #0C2C64);
  cursor: pointer;
  user-select: none;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.mvv-tab:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.12);
}

/* área do conteúdo */
.mvv-panels{
  margin-top: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.10);
}

/* conteúdo com fonte preta */
.mvv-panel{
  display: none;
}

.mvv-panel h3{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-primary, #0C2C64);
}

.mvv-panel p{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
}

/* alinha texto dos valores à esquerda */
#mvv-panel-valores p{
  text-align: left;
}

/* estado ativo (qual radio está checked) */
#mvv-missao:checked ~ .mvv-menu label[for="mvv-missao"],
#mvv-visao:checked ~ .mvv-menu label[for="mvv-visao"],
#mvv-valores:checked ~ .mvv-menu label[for="mvv-valores"]{
  background: rgba(12,44,100,0.10);
  border-color: rgba(12,44,100,0.25);
  box-shadow: 0 12px 22px rgba(0,0,0,0.12);
}

#mvv-missao:checked ~ .mvv-panels #mvv-panel-missao{ display: block; }
#mvv-visao:checked  ~ .mvv-panels #mvv-panel-visao{ display: block; }
#mvv-valores:checked ~ .mvv-panels #mvv-panel-valores{ display: block; }

/* ===== Botão do menu: ícone + "Menu" embaixo, sem borda ===== */
.nav-toggle{
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;

  padding: 0 !important;
  border-radius: 0 !important;

  cursor: pointer;
}

/* garante que não exista "quadrado" vindo de hover/focus */
.nav-toggle:hover,
.nav-toggle:focus,
.nav-toggle:active{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
}

/* ícone */
.nav-toggle__icon{
  font-size: 30px;
  line-height: 1;
  color: #fff; /* se seu header for escuro */
}

/* texto "Menu" */
.nav-toggle__text{
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  color: #fff; /* se seu header for escuro */
  letter-spacing: 0.02em;
}

/* se seu header for claro em alguma página, pode trocar a cor assim:
.site-header.is-light .nav-toggle__icon,
.site-header.is-light .nav-toggle__text { color:#0C2C64; }
*/

/* ===== MVV: botões + modal de foco ===== */
.mvv-tabs {
  margin-top: 18px;
}

.mvv-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.mvv-tab {
  appearance: none;
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(12, 44, 100, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  color: var(--color-primary, #0C2C64);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.mvv-tab:hover,
.mvv-tab:focus-visible {
  background: rgba(12, 44, 100, 0.08);
  border-color: rgba(12, 44, 100, 0.32);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  outline: none;
}

.mvv-panels[hidden],
.mvv-dialog[hidden] {
  display: none !important;
}

.mvv-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mvv-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 60, 0.64);
  backdrop-filter: blur(2px);
}

.mvv-dialog__box {
  position: relative;
  width: min(640px, calc(100vw - 32px));
  max-height: min(78vh, 620px);
  overflow: auto;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.mvv-dialog__box:focus {
  outline: none;
}

.mvv-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: rgba(12, 44, 100, 0.08);
  color: var(--color-primary, #0C2C64);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mvv-dialog__title {
  margin: 0 0 14px;
  color: var(--color-primary-dark, #081b3c);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.mvv-dialog__content,
.mvv-dialog__content p {
  margin: 0;
  color: #172033;
  font-size: 1rem;
  line-height: 1.75;
  text-align: center !important;
}

.mvv-dialog[data-active-panel="mvv-panel-valores"] .mvv-dialog__content,
.mvv-dialog[data-active-panel="mvv-panel-valores"] .mvv-dialog__content p {
  text-align: left !important;
}

body.mvv-modal-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  body:not(.mvv-modal-open) [vw] {
    position: fixed !important;
    top: auto !important;
    right: 18px !important;
    bottom: 88px !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  body:not(.mvv-modal-open) [vw] [vw-access-button],
  body:not(.mvv-modal-open) [vw].enabled [vw-access-button],
  body:not(.mvv-modal-open) [vw].enabled [vw-access-button].active,
  body:not(.mvv-modal-open) div[vw-access-button] {
    position: fixed !important;
    top: auto !important;
    right: 18px !important;
    bottom: 88px !important;
    left: auto !important;
    margin: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  body.mvv-modal-open [vw] {
    z-index: 2100 !important;
  }

  .mvv-dialog {
    place-items: center;
    padding: 16px;
  }

  .mvv-dialog__box {
    justify-self: center;
    width: 100%;
    max-width: calc(100vw - 32px);
    margin-right: auto;
    margin-left: auto;
    padding: 28px 24px;
  }

  .mvv-menu {
    grid-template-columns: 1fr;
    max-width: 260px;
  }
}
