/* ============================================================
   JOÃO SOMENSI — CSS Principal
   Paleta: #004858 | #00A8D8 | #D8A028 | #000000 | #F8F8F8
   ============================================================ */

/* ---------- Google Fonts ---------- */
/* "Montserrat Arabic" é uma variante de design disponível via Adobe Fonts / Typekit.
   Para uso web gratuito, utilizamos Montserrat (Google Fonts) que compartilha a mesma
   base geométrica e visual, sendo a fonte padrão da marca João Somensi.
   A Montserrat Arabic segue o mesmo DNA visual — sem-serif, geométrica, bold. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:      #004858;
  --cyan:      #00A8D8;
  --gold:      #D8A028;
  --black:     #000000;
  --offwhite:  #F8F8F8;
  --white:     #ffffff;
  --gray-100:  #f1f3f5;
  --gray-200:  #e0e4e8;
  --gray-400:  #9aa3ae;
  --gray-600:  #5c6670;
  --gray-800:  #222b33;
  --teal-light:#e6f2f7;
  --teal-mid:  #003a48;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0,72,88,.08);
  --shadow-md: 0 6px 32px rgba(0,72,88,.14);
  --shadow-lg: 0 16px 56px rgba(0,72,88,.18);
  --transition: .28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  line-height: 1.22;
  font-weight: 700;
  color: var(--teal);
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white p { color: var(--white); }

.lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }

section { padding: 96px 0; }
section.compact { padding: 64px 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 2px;
  background: var(--gold);
}

.section-header {
  margin-bottom: 56px;
}
.section-header.centered { text-align: center; }
.section-header.centered .section-label { margin-left: auto; margin-right: auto; }
.section-header.centered .section-label::before { display: none; }
.section-header.centered .section-label {
  padding-left: 0;
}
.section-header.centered .section-label::after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 6px auto 0;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 620px;
  margin-top: 14px;
}
.section-header.centered .section-subtitle { margin: 14px auto 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,72,88,.28);
}
.btn-primary:hover {
  background: #003848;
  box-shadow: 0 6px 28px rgba(0,72,88,.38);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(216,160,40,.28);
}
.btn-gold:hover {
  background: #c49020;
  box-shadow: 0 6px 28px rgba(216,160,40,.38);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-1px);
}
.btn-sm { padding: 10px 22px; font-size: .82rem; }
.btn i { font-size: .95em; }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(0,30,40,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(0,10,20,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 0;
  box-shadow: 0 2px 28px rgba(0,0,0,.45);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
}
/* ---- Logo PNG com fundo branco:
        mix-blend-mode:screen remove o branco e exibe as cores no fundo escuro.
        filter:brightness(1.15) compõe o texto cinza-claro para ficar mais visível ---- */
.nav-logo .logo-img-wrap {
  display: flex;
  align-items: center;
  background: transparent;
}
.nav-logo .logo-img-wrap img {
  height: 84px;
  width: auto;
  display: block;
  max-width: 380px;
  mix-blend-mode: screen;
  filter: brightness(1.25) contrast(1.1);
  transition: height var(--transition), opacity var(--transition);
}
#navbar.scrolled .nav-logo .logo-img-wrap img {
  height: 66px;
}
/* Fallback text — oculto visualmente mas mantido para SEO */
.nav-logo .logo-text { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-wa,
.nav-ig {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}
.nav-wa:hover { background: #25D366; color: var(--white); }
.nav-ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: var(--white); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.96);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  padding: 14px 32px;
  letter-spacing: .05em;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.05); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #000000 0%, #001e28 40%, #003848 75%, #004858 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px; /* compensa navbar mais alta (84px logo + padding) */
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,216,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,216,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,168,216,.15) 0%, transparent 65%);
  z-index: 0;
}
.hero-glow-2 {
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(216,160,40,.08) 0%, transparent 65%);
  z-index: 0;
}
/* Circuit lines decoration */
.hero-circuit {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  z-index: 0;
  overflow: hidden;
}
.hero-circuit svg {
  width: 100%; height: 100%;
  opacity: .18;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,168,216,.12);
  border: 1px solid rgba(0,168,216,.3);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 28px;
}
.hero-badge span {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero-badge i { color: var(--gold); font-size: .75rem; }
.hero-name {
  font-family: var(--font-head);
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  color: var(--white);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 12px;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--cyan), #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.65);
  max-width: 580px;
  margin: 20px 0 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  flex-wrap: nowrap;          /* nunca quebra linha */
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
  align-items: flex-start;
}
.stat-item {
  flex: 0 0 auto;             /* não cresce nem encolhe */
}
.stat-number {
  font-family: var(--font-head);
  font-size: 1.85rem;         /* calibrado para 3 itens sem quebrar linha */
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  white-space: nowrap;
}
.stat-number span {
  color: var(--gold);
  font-size: 1.1rem;          /* sufixo menor que o número principal */
  font-weight: 700;
}
.stat-unit {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}
.stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1.4;
}
/* Hero photo */
.hero-photo-wrap {
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  width: 380px;               /* largura controlada para não vazar */
  max-width: 34%;             /* teto relativo para telas menores */
  pointer-events: none;
}
.hero-photo-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  display: block;
  /* Filtro que aproxima o azul-marinho da foto ao azul-petróleo #004858:
     hue-rotate aproxima o matiz, saturate controla intenção de cor,
     brightness reduz levemente a luminosidade para integrar ao fundo escuro */
  filter:
    drop-shadow(0 24px 48px rgba(0,0,0,.55))
    hue-rotate(-18deg)
    saturate(0.82)
    brightness(0.90);
}

/* Brand logo image inside brand-card */
.brand-logo-img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* CTA Aster block */
.cta-aster-block {
  margin-top: 40px;
  width: 100%;
}
.cta-aster-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cta-aster-divider::before,
.cta-aster-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}
.cta-aster-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(216,160,40,.25);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-aster-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.cta-aster-text {
  flex: 1;
  min-width: 220px;
}
.cta-aster-text p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin: 0;
}
.cta-aster-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---------- Marquee / Ticker ---------- */
.ticker-wrap {
  background: var(--teal);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--teal), transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(-90deg, var(--teal), transparent); }
.ticker {
  display: flex;
  align-items: center;
  gap: 0;
  animation: ticker-anim 30s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
}
.ticker-item i { color: var(--gold); font-size: .7rem; }
@keyframes ticker-anim { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section: Como posso ajudar ---------- */
.how-help { background: var(--offwhite); }
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.help-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.help-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.help-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.help-card:hover::before { transform: scaleX(1); }
.help-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.help-icon i { font-size: 1.5rem; color: var(--teal); }
.help-card:hover .help-icon { background: var(--teal); }
.help-card:hover .help-icon i { color: var(--white); }
.help-card h3 { color: var(--teal); margin-bottom: 12px; font-size: 1.2rem; }
.help-card p { color: var(--gray-600); font-size: .93rem; line-height: 1.7; }
.help-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .04em;
  transition: var(--transition);
}
.help-card .card-link i { font-size: .8rem; transition: var(--transition); }
.help-card:hover .card-link { color: var(--cyan); }
.help-card:hover .card-link i { transform: translateX(4px); }

/* ---------- Section: Nova Fase da Energia ---------- */
.energy-phase { background: var(--teal); position: relative; overflow: hidden; }
.energy-phase-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.energy-phase-glow {
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,168,216,.15) 0%, transparent 60%);
}
.energy-phase .section-label { color: var(--gold); }
.energy-phase h2 { color: var(--white); }
.energy-phase .section-subtitle { color: rgba(255,255,255,.65); }
.energy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}
.energy-text p {
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.8;
}
.energy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.energy-pill {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(0,168,216,.3);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .06em;
}
.energy-visual {
  position: relative;
}
.energy-chart-box {
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(0,168,216,.2);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.energy-chart-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.chart-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,.3);
  font-size: .82rem;
  letter-spacing: .08em;
  text-align: center;
}
.chart-placeholder i { font-size: 2.5rem; color: rgba(0,168,216,.4); }
/* mini stat bars */
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.mini-stat {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid rgba(255,255,255,.07);
}
.mini-stat-val {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.mini-stat-val span { color: var(--gold); }
.mini-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Section: Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.about-photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--teal-light), #c8dde5);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  color: var(--gray-400);
  font-size: .82rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.about-photo-frame i { font-size: 3.5rem; color: var(--gray-200); }
.about-photo-frame p { padding: 0 24px; line-height: 1.6; }
.about-photo-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  border-radius: var(--radius-md);
  background: var(--teal);
  z-index: -1;
}
.about-photo-badge {
  position: absolute;
  bottom: 24px; left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
  min-width: 200px;
}
.badge-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-icon i { color: var(--white); font-size: .95rem; }
.badge-text-val {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.badge-text-label {
  font-size: .7rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.about-content {}
.about-content p { color: var(--gray-600); margin-bottom: 20px; }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}
.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ahi-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ahi-icon i { color: var(--teal); font-size: .9rem; }
.ahi-text strong {
  display: block;
  font-size: .9rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 2px;
}
.ahi-text span { font-size: .85rem; color: var(--gray-600); }

/* Empresas / Marcas */
.brands-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.brands-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.brand-card {
  background: var(--offwhite);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 150px;
  transition: var(--transition);
}
.brand-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.brand-logo-slot {
  width: 100%;
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-200);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  border: 1px dashed var(--gray-200);
  border-radius: 4px;
  padding: 4px;
}
.brand-name {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
}
.brand-since {
  font-size: .68rem;
  color: var(--gray-400);
}

/* ---------- Section: Diferenciais ---------- */
.diff-section { background: var(--offwhite); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: center;
}
.diff-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.diff-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
}
.diff-card:hover .diff-num { color: var(--teal-light); }
.diff-card h4 { color: var(--teal); font-size: 1rem; margin-bottom: 10px; }
.diff-card p { color: var(--gray-600); font-size: .88rem; line-height: 1.6; }

/* ---------- Section: Cursos e Eventos ---------- */
.courses-section {}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.course-img {
  height: 200px;
  background: linear-gradient(160deg, var(--teal), #002a38);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .08em;
  position: relative;
  overflow: hidden;
}
.course-img i { font-size: 2.5rem; color: rgba(0,168,216,.5); }
.course-img p { text-align: center; padding: 0 20px; }
.course-type-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,168,216,.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .68rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.course-date-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: .68rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
}
.course-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-body h4 {
  color: var(--teal);
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.3;
}
.course-body p {
  color: var(--gray-600);
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--gray-400);
}
.course-meta-item i { color: var(--teal); font-size: .8rem; }
.course-cta {
  padding: 0 28px 28px;
}
/* Em breve card */
.course-card.soon .course-img {
  background: linear-gradient(160deg, #1a1a2e, #002a38);
}
.soon-badge {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.soon-badge span {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(216,160,40,.4);
  border-radius: 100px;
  padding: 8px 24px;
}

/* ---------- Section: Insights ---------- */
.insights-section { background: var(--offwhite); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.insight-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.insight-img {
  height: 180px;
  background: linear-gradient(160deg, var(--offwhite), var(--gray-200));
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: .75rem;
  letter-spacing: .06em;
  position: relative;
  overflow: hidden;
}
.insight-img i { font-size: 2.5rem; color: var(--gray-200); }
.insight-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--teal);
  color: var(--white);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .65rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.insight-body { padding: 24px; }
.insight-date {
  font-size: .72rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.insight-body h4 {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 10px;
  line-height: 1.4;
}
.insight-body p {
  font-size: .87rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--teal);
  transition: var(--transition);
}
.read-more i { transition: var(--transition); font-size: .75rem; }
.insight-card:hover .read-more { color: var(--cyan); }
.insight-card:hover .read-more i { transform: translateX(4px); }

/* ---------- Section: CTA Final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--black) 0%, #001e28 50%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
}
.cta-final-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,168,216,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,216,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.cta-final-glow {
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,168,216,.12) 0%, transparent 65%);
}
.cta-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-final h2 { color: var(--white); margin-bottom: 18px; }
.cta-final p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.8;
}
.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cta-divider {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-contact-strip {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: var(--transition);
}
.cta-contact-item:hover { color: var(--white); }
.cta-contact-item i { color: var(--cyan); }

/* ---------- Footer ---------- */
footer {
  background: #000000;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
/* Footer logo com imagem dark + mix-blend-mode:screen */
.footer-logo-img {
  display: block;
  height: 90px;
  width: auto;
  max-width: 400px;
  margin-bottom: 24px;
  mix-blend-mode: screen;
  filter: brightness(1.25) contrast(1.1);
  opacity: 1;
  transition: opacity var(--transition);
}
.footer-logo-img:hover { opacity: .85; }
.footer-logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-logo-tag {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: .87rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .87rem;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--white); }
.footer-gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 48px;
  opacity: .5;
}

/* ---------- WhatsApp Float Button ---------- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
}
.wa-float a {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float a:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.6); }
}
.wa-tooltip {
  position: absolute;
  right: 68px; top: 50%;
  transform: translateY(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--teal);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ---------- Page Header ---------- */
.page-header {
  padding: 160px 0 80px; /* compensa navbar mais alta (84px logo + padding) */
  background: linear-gradient(160deg, #000000 0%, #001e28 50%, #003848 100%);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,168,216,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,216,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-header-content {
  position: relative; z-index: 1;
}
.page-header .section-label { color: var(--gold); }
.page-header h1 { color: var(--white); }
.page-header p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  max-width: 580px;
  margin-top: 14px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: .65rem; }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ---------- Utilities ---------- */
.d-flex { display: flex; }
.gap-3 { gap: 12px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-cyan { color: var(--cyan); }
.text-teal { color: var(--teal); }

.divider-gold {
  height: 2px;
  width: 60px;
  background: var(--gold);
  margin: 20px 0;
}
.divider-gold.centered { margin: 20px auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-photo-wrap { right: 24px; width: 300px; max-width: 30%; }
  .about-grid { grid-template-columns: 340px 1fr; gap: 56px; }
}

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .energy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 360px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  /* Logo responsivo: reduz um pouco mas mantém legível */
  .nav-logo .logo-img-wrap img { height: 58px; max-width: 280px; }
  .hero-stats { gap: 24px; }
  .help-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brands-grid { flex-direction: column; }
  .cta-final-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .mini-stats { grid-template-columns: 1fr; }
}
