/* Version: 4.1 (Production Release) - Comprehensive Multi-Page Support */
:root {
  --navy: #031b3a;
  --navy-dark: #031326;
  --navy-deeper: #020f24;
  --navy-footer: #010915;
  --orange: #ff5500;
  --orange-hover: #ff6d1a;
  --blue-cursos: #083c7d;
  --burgundy-podcast: #730f16;
  --navy-mrmidia: #0b4391;
  --text: #1e293b;
  --text-dark: #1e293b;
  --muted: #475569;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-card: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BUTTONS (GLOBAL)
   ========================================================================== */
.btn {
  background: var(--orange);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.btn:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.3);
}

.btn.dark {
  background: var(--navy);
}

.btn.dark:hover {
  background: #062650;
  box-shadow: 0 6px 18px rgba(3, 27, 58, 0.35);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: var(--navy-dark);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-item {
  color: #ffffff;
  padding: 10px 0;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--orange);
}

.nav-active {
  color: #ffffff;
  font-weight: 800;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.caret-down {
  font-size: 9px;
  margin-left: 4px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  min-width: 260px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 300;
  padding: 8px 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 11px 18px;
  color: #dbe5f2;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-align: left;
  transition: 0.2s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 85, 0, 0.15);
  color: var(--orange);
}

/* Staff Link */
.nav-staff-link {
  color: #94a3b8 !important;
  font-size: 11px !important;
  padding: 5px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px;
  transition: 0.2s;
  white-space: nowrap;
}

.nav-staff-link:hover {
  border-color: var(--orange) !important;
  color: var(--orange) !important;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION (WITH MAX HEIGHT & 80% BLACK OVERLAY & FEATHERED EDGES)
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 62% 25%, rgba(255, 170, 70, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 75% 35%, rgba(255, 120, 30, 0.06) 0%, transparent 35%),
              linear-gradient(135deg, #020b17 0%, #031427 45%, #05203f 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 440px;
  min-height: 440px;
  display: flex;
  align-items: stretch;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  width: 100%;
}

.hero-left {
  flex: 0 0 420px;
  max-width: 420px;
  z-index: 2;
}

.hero-eyebrow {
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.highlight-orange {
  color: var(--orange);
}

.hero-desc {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 400;
  max-width: 380px;
}

.hero-center {
  flex: 1;
  height: 100%;
  min-height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 660px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Desvanecimento suave e progressivo apenas nas bordas externas da imagem */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 4%, #000 10%, #000 90%, rgba(0,0,0,0.4) 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 4%, #000 10%, #000 90%, rgba(0,0,0,0.4) 96%, transparent 100%);
}

.hero-couple-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Retângulo com transparência de 80% (20% opacidade) para contraste harmonioso */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  pointer-events: none;
}

.hero-right {
  flex: 0 0 340px;
  max-width: 340px;
  z-index: 2;
}

.hero-glass-card {
  background: rgba(3, 20, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 24px 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hero-pillar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-pillar-item:last-child {
  margin-bottom: 0;
}

.hero-pillar-icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-pillar-text {
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   4 MAIN BRAND CARDS SECTION (HOMEPAGE)
   ========================================================================== */
.brand-cards-section {
  padding: 44px 0 52px;
  background: #ffffff;
}

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

.brand-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card-cursos {
  border: 1.5px solid #2b4c7e;
}

.card-superativa {
  border: 1.5px solid #ff7a1a;
}

.card-podcast {
  border: 1.5px solid #8c1d24;
}

.card-mrmidia {
  border: 1.5px solid #2b5ea7;
}

.card-logo-box {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.card-logo {
  max-height: 62px;
  max-width: 190px;
  object-fit: contain;
}

.card-desc {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.45;
  min-height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-box {
  width: 100%;
  height: 135px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.brand-card:hover .card-photo {
  transform: scale(1.03);
}

.card-btn-box {
  width: 100%;
}

.btn-card {
  display: block;
  width: 100%;
  padding: 11px 0;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue-cursos);
}

.btn-orange {
  background: var(--orange);
}

.btn-burgundy {
  background: var(--burgundy-podcast);
}

.btn-navy {
  background: var(--navy-mrmidia);
}

/* ==========================================================================
   AUDIENCE SECTION (HOMEPAGE)
   ========================================================================== */
.audience-section {
  background: var(--navy-deeper);
  color: #ffffff;
  padding: 38px 0;
}

.audience-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.audience-title-col {
  flex: 0 0 260px;
}

.audience-main-title {
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}

.audience-pillars-row {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.audience-pillar {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.audience-pillar:last-child {
  border-right: none;
}

.aud-icon-box {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.aud-name {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.aud-desc {
  color: var(--text-light);
  font-size: 11px;
  line-height: 1.35;
}

.audience-cta-card {
  flex: 0 0 240px;
  background: var(--orange);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.25);
}

.aud-cta-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.aud-cta-desc {
  color: #ffffff;
  font-size: 10.5px;
  line-height: 1.35;
  margin-bottom: 14px;
  opacity: 0.95;
}

.btn-aud-cta {
  background: var(--navy-deeper);
  color: #ffffff;
  font-family: inherit;
  font-weight: 800;
  font-size: 11.5px;
  padding: 9px 16px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-aud-cta:hover {
  background: #061e47;
  transform: translateY(-1px);
}

/* ==========================================================================
   GENERAL SUBPAGE STYLES (CURSOS, SUPERATIVA, TÉCNICOS, ETC.)
   ========================================================================== */
/* Subpage Hero */
.hero {
  background: linear-gradient(135deg, #031b3a 0%, #092e55 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 10px 0 16px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 580px;
  color: #e3ebf5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  max-height: 360px;
}

/* Sections & Typography */
section {
  padding: 64px 0;
}

.title, .section-title {
  text-align: center;
  color: var(--navy);
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.subtitle, .section-sub {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* Subpage Grid Cards (Cursos Livres, SuperAtiva, etc.) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  border: 1px solid #e0e6ee;
  border-radius: 14px;
  padding: 26px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  margin-bottom: 18px;
}

.card .btn {
  width: 100%;
  margin-top: auto;
}

/* Dark Section */
.dark-section {
  background: var(--navy);
  color: #ffffff;
}

.dark-section .title {
  color: #ffffff;
}

.dark-section .subtitle {
  color: #d5dfeb;
}

.dark-section .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.dark-section .card h3 {
  color: #ffffff;
}

.dark-section .card p {
  color: #c8d4e3;
}

/* Trust Bar / Stats Bar */
.trust, .stats {
  background: var(--navy-dark);
  color: #ffffff;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid, .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: #e2ecf8;
}

.stat strong {
  display: block;
  font-size: 26px;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  color: #e2ecf8;
}

/* Steps (Como Funciona / Passo a Passo) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
  padding: 26px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 16px;
}

.step h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 800;
}

.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* Practice & Certificate */
.practice {
  background: var(--navy);
  color: #ffffff;
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.practice h2 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 14px;
}

.practice h2 span {
  color: var(--orange);
}

.practice p {
  line-height: 1.6;
  color: #e2ecf8;
  margin-bottom: 12px;
}

.practice img {
  width: 100%;
  border-radius: 14px;
  max-height: 300px;
  object-fit: cover;
}

.cert {
  background: #f8fafc;
  padding: 60px 0;
}

.cert-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.certificate {
  background: #ffffff;
  border: 8px solid var(--navy);
  border-radius: 8px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.certificate h3 {
  font-size: 26px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: 2px;
}

.certificate .line {
  height: 2px;
  background: var(--orange);
  margin: 16px auto;
  width: 60%;
}

/* Partner Box (SuperAtiva) */
.partner {
  background: #f8fafc;
}

.partner-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.partner-box h2 {
  font-size: 34px;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 14px;
}

.partner-box h2 span {
  color: var(--orange);
}

.partner-box p {
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

.partner-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* CTA Bar */
.cta {
  background: var(--orange);
  color: #ffffff;
  padding: 36px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta h2 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 4px;
}

.cta div {
  font-size: 14px;
  opacity: 0.95;
}

.cta .btn {
  background: var(--navy);
}

.cta .btn:hover {
  background: #061e47;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-footer);
  color: #ffffff;
  padding: 46px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 1fr 1.1fr 1.35fr;
  gap: 0;
}

.footer-col {
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-brand-logo img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand-desc {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 250px;
}

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

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-icon:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.footer-col-title {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: var(--text-light);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--orange);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 12px;
}

.contact-info-item a,
.contact-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-item a:hover,
.contact-link:hover {
  color: var(--orange);
  text-decoration: underline;
}

.contact-icon-green {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.contact-icon {
  color: var(--text-light);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.footer-brands-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-img {
  height: 32px;
  max-width: 85px;
  object-fit: contain;
}

.footer-copy-inline {
  font-size: 11px;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.4;
}

/* ==========================================================================
   MODAL & LEADS FORM
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.close {
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 30px;
  cursor: pointer;
  color: #666;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form input,
.form select {
  padding: 13px 15px;
  border: 1px solid #ccd4df;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.form input:focus,
.form select:focus {
  outline: none;
  border-color: var(--orange);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form .btn {
  background: var(--orange);
  color: #ffffff;
  padding: 13px;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.form .btn:hover {
  background: var(--orange-hover);
}

.success {
  display: none;
  background: #e8f7ee;
  color: #17693b;
  padding: 14px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 13.5px;
}

.success.show {
  display: block;
}

/* ==========================================================================
   APP POPUP
   ========================================================================== */
.app-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-dark);
  color: #ffffff;
  border: 1.5px solid var(--orange);
  border-radius: 12px;
  padding: 14px 18px;
  display: none; /* Exibir apenas em dispositivos móveis */
  align-items: center;
  gap: 16px;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.app-popup strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.app-popup span {
  font-size: 11px;
  color: #94a3b8;
}

.app-popup .btn-down {
  background: var(--orange);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 11px;
  white-space: nowrap;
}

.app-popup .close-pop {
  cursor: pointer;
  color: #94a3b8;
  font-size: 16px;
  margin-left: 2px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1120px) {
  .nav {
    gap: 12px;
    font-size: 10.5px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-left {
    flex: 0 0 360px;
    max-width: 360px;
  }
  .hero-right {
    flex: 0 0 280px;
    max-width: 280px;
  }
  .brand-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-container {
    flex-wrap: wrap;
  }
  .audience-title-col {
    flex: 0 0 100%;
    text-align: center;
  }
  .audience-pillars-row {
    flex: 0 0 100%;
    border: none;
    padding: 16px 0;
  }
  .audience-cta-card {
    flex: 0 0 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1240px) {
  .hero-left {
    flex: 0 0 360px;
    max-width: 360px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-right {
    flex: 0 0 300px;
    max-width: 300px;
  }
  .hero-glass-card {
    padding: 18px 14px;
  }
  .hero-pillar-text {
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  .hero-section {
    height: auto;
    min-height: auto;
    padding: 40px 0;
  }
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-center {
    width: 100%;
    height: 360px;
    min-height: 360px;
    margin: 24px 0;
  }
  .hero-image-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 560px;
    height: 100%;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-desc {
    margin: 0 auto;
  }
  .hero-center {
    width: 100%;
    height: 300px;
    min-height: 300px;
    margin: 20px 0;
  }
  .hero-right {
    max-width: 100%;
    width: 100%;
  }
  .hero-grid, .practice, .cert-box, .partner-box {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-popup {
    display: flex;
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .brand-cards-grid, .cards, .steps, .trust-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
  .audience-pillars-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
