/* ================================================================
   StatApp — style.css
   Design: moderno, científico, agronômico
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variáveis ─────────────────────────────────────────────────── */
:root {
  --green-900: #1a3f22;
  --green-800: #25582f;
  --green-700: #2d6e39;
  --green-600: #3a7d44;
  --green-500: #4a9456;
  --green-400: #6db57a;
  --green-300: #9fd0a8;
  --green-100: #e8f5eb;
  --green-50:  #f3faf4;

  --earth-700: #5d3d2e;
  --earth-500: #8b6347;
  --earth-100: #f5ede6;

  --blue-700:  #1a4b7a;
  --blue-500:  #2563a8;
  --blue-100:  #dbeafe;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --color-primary:    var(--green-600);
  --color-primary-dk: var(--green-800);
  --color-primary-lt: var(--green-100);
  --color-accent:     var(--blue-500);
  --color-bg:         #f5f8f5;
  --color-surface:    #ffffff;
  --color-text:       var(--gray-900);
  --color-muted:      var(--gray-500);
  --color-border:     var(--gray-200);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  26px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.13);

  --trans-fast: .15s ease;
  --trans-base: .25s ease;

  --navbar-h: 68px;

  /* ── Paleta de apoio (tema premium) ─────────────────────────────
     Aditiva — nunca substitui os tokens acima, só enriquece. */
  --neon-green: #4ade80;
  --neon-green-soft: #86efac;
  --petrol-900: #0a2b2c;
  --petrol-800: #113938;
  --petrol-700: #184c49;
  --teal-accent: #14b8a6;
  --teal-100: #ccfbf1;
  --lilac-300: #c4b5fd;
  --lilac-100: #ede9fe;
  --gold-500: #d4a857;
  --gold-100: #fbf3e1;
  --cyan-300: #67e8f9;
  --cyan-100: #e0f7fa;
  --off-white: #fafbf7;

  --grad-hero: linear-gradient(135deg, var(--petrol-900) 0%, var(--green-900) 48%, var(--green-800) 100%);
  --grad-dark-band: linear-gradient(120deg, var(--petrol-900) 0%, var(--green-900) 55%, var(--petrol-800) 100%);
  --grad-cta: linear-gradient(120deg, var(--petrol-900) 0%, var(--green-800) 60%, var(--green-600) 100%);
  --grad-primary-soft: linear-gradient(135deg, var(--green-500), var(--teal-accent));

  --glow-green: 0 0 60px rgba(74,222,128,.25);
  --glow-teal:  0 0 50px rgba(20,184,166,.22);
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-top: 0;
}

h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }

p { margin-top: 0; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--trans-fast); }
a:hover { color: var(--color-primary-dk); }
img { max-width: 100%; }

/* ── Navbar ────────────────────────────────────────────────────── */
.as-navbar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: auto;
  min-height: var(--navbar-h);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow var(--trans-base), min-height .35s ease;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .as-navbar {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
/* Mobile: menu expandido precisa de fundo sólido */
.as-navbar .navbar-collapse {
  background: #fff;
  border-top: 1px solid var(--color-border);
  margin: 0 -12px;
  padding: .5rem 12px;
}

.as-navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.as-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--gray-900) !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: font-size .35s ease, gap .35s ease;
}
.as-navbar.scrolled .as-brand { font-size: 1.3rem; }

.as-brand-logo {
  width: auto; height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  transition: height .35s ease;
}
.as-navbar.scrolled .as-brand-logo { height: 36px; }

.as-brand span strong { color: var(--color-primary); }

.as-navbar .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  font-size: .91rem;
  padding: .45rem .8rem !important;
  border-radius: var(--radius-sm);
  transition: background var(--trans-fast), color var(--trans-fast);
}

.as-navbar .nav-link:hover,
.as-navbar .nav-link.active {
  color: var(--color-primary) !important;
  background: var(--color-primary-lt);
}

.nav-cta-btn {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: .42rem 1.1rem !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav-cta-btn:hover {
  background: var(--color-primary-dk) !important;
  color: #fff !important;
}

.as-dropdown {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  min-width: 270px;
  margin-top: .25rem !important;
}

.as-dropdown .dropdown-item {
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background var(--trans-fast), color var(--trans-fast);
}

.as-dropdown .dropdown-item:hover {
  background: var(--color-primary-lt);
  color: var(--color-primary);
}

.as-dropdown .dropdown-item .di-icon {
  width: 28px; height: 28px;
  background: var(--color-primary-lt);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.navbar-toggler { border: none; padding: .35rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(45,110,57,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Botões ────────────────────────────────────────────────────── */
.btn-as-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  color: #fff;
  border: none; border-radius: var(--radius-md);
  padding: .78rem 1.8rem;
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(58,125,68,.28);
  font-family: inherit;
}

.btn-as-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(58,125,68,.38);
  color: #fff;
}

.btn-as-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: .76rem 1.8rem;
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-decoration: none;
  font-family: inherit;
}

.btn-as-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-as-outline {
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .5rem 1.1rem;
  font-weight: 500; font-size: .87rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-decoration: none;
  font-family: inherit;
}

.btn-as-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-lt);
}
.btn-as-outline.active {
  border-color: var(--color-primary);
  color: #fff;
  background: var(--color-primary);
}

.btn-as-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent;
  color: var(--color-primary);
  border: none;
  padding: .38rem .7rem;
  font-weight: 600; font-size: .87rem;
  cursor: pointer;
  transition: gap var(--trans-fast), color var(--trans-fast);
  text-decoration: none;
  font-family: inherit;
}

.btn-as-ghost:hover { gap: .65rem; color: var(--color-primary-dk); }

.btn-as-danger {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fee2e2; color: #991b1b;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-sm);
  padding: .5rem 1.1rem;
  font-weight: 500; font-size: .87rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-decoration: none;
  font-family: inherit;
}

.btn-as-danger:hover { background: #fca5a5; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(74,148,86,.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Blobs de glow decorativos — puramente CSS, leves (só opacity anima) */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .55;
  animation: glowPulse 7s ease-in-out infinite;
}
.hero-glow-1 { width: 420px; height: 420px; top: -120px; right: -80px; background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%); }
.hero-glow-2 { width: 380px; height: 380px; bottom: -140px; left: -100px; background: radial-gradient(circle, var(--teal-accent) 0%, transparent 70%); animation-delay: -3.5s; }
.hero-glow-3 { width: 260px; height: 260px; top: 35%; left: 42%; background: radial-gradient(circle, var(--gold-500) 0%, transparent 72%); opacity: .18; animation-delay: -1.8s; }

@keyframes glowPulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .65; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
}

.hero-wave {
  position: absolute; bottom: -2px; left: 0; right: 0;
  overflow: hidden; line-height: 0;
}

.hero-wave svg { display: block; width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: .32rem .9rem;
  border-radius: 100px;
  font-size: .8rem; font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ── Hero split (duas colunas: texto + composição visual) ───────── */
.hero-split {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 5.5rem 0 6.5rem;
}

.hero-diff-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.hero-diff-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  padding: .38rem .85rem;
  border-radius: 100px;
  font-size: .78rem; font-weight: 500;
  backdrop-filter: blur(4px);
}
.hero-diff-chip i { color: var(--neon-green); font-size: .85rem; }

/* Composição visual: card principal + chips flutuantes */
.hero-visual { position: relative; min-height: 380px; }

.hero-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--glow-green), 0 20px 60px rgba(0,0,0,.35);
  animation: floatY 5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.hero-card-header {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.hero-card-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.hero-card-title { font-size: .9rem; font-weight: 700; margin: 0; color: #fff; }
.hero-card-sub   { font-size: .72rem; color: rgba(255,255,255,.6); margin: 0; }

.hero-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
}

.hero-stat {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: .75rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,.1);
}

.hero-stat .sv { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; }
.hero-stat .sl { font-size: .68rem; color: rgba(255,255,255,.65); font-weight: 500; margin-top: .1rem; }

/* Mini bar dentro do hero card */
.hero-mini-chart { margin-top: 1rem; }
.hero-mini-chart-label { font-size: .7rem; color: rgba(255,255,255,.55); margin-bottom: .5rem; }
.hero-mini-bars { display: flex; align-items: flex-end; gap: .3rem; height: 36px; }
.hero-mini-bar  { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255,255,255,.3); transition: opacity .2s; }
.hero-mini-bar:hover { opacity: .7; }

/* Chips flutuantes ao redor do card principal */
.hero-float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: .6rem .9rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  animation: floatY 6s ease-in-out infinite;
}
.hero-float-chip .hfc-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.hero-float-chip .hfc-title { font-size: .74rem; font-weight: 700; color: var(--gray-800); line-height: 1.2; }
.hero-float-chip .hfc-sub   { font-size: .64rem; color: var(--gray-500); }

.hero-float-chip.hfc-top {
  top: -18px; right: 10%;
  animation-delay: -2s;
}
.hero-float-chip.hfc-top .hfc-icon { background: var(--green-100); color: var(--green-700); }

.hero-float-chip.hfc-bottom {
  bottom: -14px; left: -10px;
  animation-delay: -4s;
}
.hero-float-chip.hfc-bottom .hfc-icon { background: var(--gold-100); color: #92722a; }

.hero-leaf-deco {
  position: absolute; bottom: -6px; right: -18px; z-index: 1;
  font-size: 5.5rem; color: rgba(255,255,255,.06);
  transform: rotate(-12deg);
  pointer-events: none;
}

@media (max-width: 991px) {
  .hero-split { grid-template-columns: 1fr; padding: 4rem 0 3rem; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-diff-row { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 420px; margin: 3rem auto 0; }
}

/* ── Seções ────────────────────────────────────────────────────── */
.section-pad    { padding: 5rem 0; }
.section-pad-sm { padding: 3.5rem 0; }
.section-tint-green { background: var(--green-50); }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  background: var(--color-primary-lt);
  color: var(--color-primary);
  border-radius: 100px;
  padding: .28rem .9rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: .75rem;
}

.section-title {
  color: var(--gray-900);
  margin-bottom: .7rem;
  letter-spacing: -.02em;
}

.section-sub {
  color: var(--color-muted);
  font-size: 1.02rem;
  max-width: 540px; margin: 0 auto;
  line-height: 1.72;
}

/* ── Cards de módulo ───────────────────────────────────────────── */
.module-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  opacity: 0;
  transition: opacity var(--trans-base);
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--green-100);
  border-color: var(--green-300);
}

.module-card:hover::before { opacity: 1; }

.mc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.module-card:hover .mc-icon { transform: scale(1.08) rotate(-4deg); }
.module-card:hover .mc-icon.mc-icon-green  { box-shadow: 0 0 0 6px var(--green-50); }
.module-card:hover .mc-icon.mc-icon-purple { box-shadow: 0 0 0 6px var(--lilac-100); }
.module-card:hover .mc-icon.mc-icon-earth  { box-shadow: 0 0 0 6px var(--gold-100); }
.module-card:hover .mc-icon.mc-icon-blue   { box-shadow: 0 0 0 6px var(--cyan-100); }

.mc-tag {
  display: inline-block;
  padding: .18rem .65rem;
  border-radius: 100px;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .6rem;
}

.mc-tag-green  { background: var(--green-100);  color: var(--green-700); border: 1px solid var(--green-300); }
.mc-tag-blue   { background: var(--blue-100);   color: var(--blue-700);  border: 1px solid #93c5fd; }
.mc-tag-earth  { background: var(--earth-100);  color: var(--earth-700); border: 1px solid #d4b09a; }
.mc-tag-purple { background: #f3e8ff; color: #6d28d9; border: 1px solid #c4b5fd; }

.mc-icon-green  { background: var(--green-100); }
.mc-icon-blue   { background: var(--blue-100);  }
.mc-icon-earth  { background: var(--earth-100); }
.mc-icon-purple { background: #f3e8ff; }

.mc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .45rem; }
.mc-desc  { font-size: .88rem; color: var(--color-muted); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }

/* ── Benefits ──────────────────────────────────────────────────── */
.benefit-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--trans-base);
  height: 100%;
}

.benefit-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-300);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.benefit-text h4 { font-size: .96rem; font-weight: 700; margin-bottom: .3rem; }
.benefit-text p  { font-size: .85rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* ── About dark band ───────────────────────────────────────────── */
.about-band {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative; overflow: hidden;
}

.about-band::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}

.about-band::after {
  content: '';
  position: absolute; bottom: -80px; left: -30px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.03); border-radius: 50%;
}

.about-band h2 { color: #fff; margin-bottom: 1rem; }
.about-band p  { color: rgba(255,255,255,.75); font-size: 1.02rem; line-height: 1.75; }

.pillar {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: .95rem 1.25rem;
  transition: background var(--trans-fast);
}

.pillar:hover { background: rgba(255,255,255,.12); }

.pillar-ic { font-size: 1.2rem; flex-shrink: 0; }
.pillar-tx { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.85); }

/* ── Banda de números (bloco escuro/gradiente) ───────────────────── */
.stat-band {
  position: relative;
  background: var(--grad-dark-band);
  border-radius: var(--radius-xl);
  padding: 3.25rem 2rem;
  overflow: hidden;
}
.stat-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(74,222,128,.14) 0%, transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(20,184,166,.12) 0%, transparent 45%);
  pointer-events: none;
}
.stat-item { position: relative; text-align: center; padding: .5rem 1rem; }
.stat-num {
  font-size: clamp(2.1rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: .15rem;
}
.stat-num .stat-suffix { font-size: 1.3rem; color: var(--neon-green); font-weight: 700; }
.stat-label {
  margin-top: .55rem;
  font-size: .85rem;
  color: rgba(255,255,255,.68);
  font-weight: 500;
}
.stat-divider {
  width: 1px; align-self: stretch;
  background: rgba(255,255,255,.12);
}

/* ── Cards de público-alvo ────────────────────────────────────────── */
.audience-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform var(--trans-base), box-shadow var(--trans-base), border-color var(--trans-base);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}
.audience-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-100), #fff);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  border: 1px solid var(--green-100);
}
.audience-card h4 { font-size: .96rem; font-weight: 700; margin-bottom: .4rem; }
.audience-card p  { font-size: .85rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* ── Cards de promoção (Aprenda / Testar Conhecimentos) ──────────── */
.edu-promo-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  height: 100%;
  overflow: hidden;
  color: #fff;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}
.edu-promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.edu-promo-card.epc-learn { background: linear-gradient(135deg, var(--green-700), var(--green-900)); }
.edu-promo-card.epc-test  { background: linear-gradient(135deg, var(--petrol-800), var(--teal-accent) 160%); }
.edu-promo-card::after {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.epc-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.1rem; position: relative; z-index: 1;
}
.edu-promo-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .55rem; position: relative; z-index: 1; }
.edu-promo-card p  { color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.65; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.edu-promo-card .btn-as-secondary { position: relative; z-index: 1; color: #fff; border-color: rgba(255,255,255,.5); }
.edu-promo-card .btn-as-secondary:hover { background: #fff; color: var(--green-800); }

@media (max-width: 767px) {
  .stat-divider { display: none; }
  .stat-item { padding: 1rem; }
}

/* ── Page header ───────────────────────────────────────────────── */
.page-header {
  background: url('../img/fundo-statapp.jpg') center/cover no-repeat;
  padding: 3.5rem 0 3rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,52,24,.87) 0%, rgba(34,90,50,.82) 100%);
  z-index: 0;
}
.page-header > * { position: relative; z-index: 1; }

.page-header-wave {
  position: absolute; bottom: -2px; left: 0; right: 0;
  overflow: hidden; line-height: 0;
  z-index: 2;
}
.page-header-wave svg { display: block; width: 100%; }

.breadcrumb-as {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8rem; color: rgba(255,255,255,.55);
  margin-bottom: .9rem; flex-wrap: wrap;
}
.breadcrumb-as a { color: rgba(255,255,255,.65); }
.breadcrumb-as a:hover { color: #fff; }
.breadcrumb-as .sep { opacity: .4; }

.page-header h1 {
  color: #fff; font-size: clamp(1.65rem, 4vw, 2.4rem);
  margin-bottom: .5rem; font-weight: 800;
}
.page-header .ph-sub {
  color: rgba(255,255,255,.72); font-size: 1.02rem; margin: 0; max-width: 620px;
}

/* ── Workspace dos módulos ─────────────────────────────────────── */
.ws-notice {
  display: flex; align-items: center; gap: .75rem;
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: .85rem 1.2rem;
  font-size: .87rem; color: #92400e;
  margin-bottom: 2rem;
}

.ws-step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.ws-step-head {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.4rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--color-border);
}

.ws-num {
  width: 30px; height: 30px;
  background: var(--color-primary);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; flex-shrink: 0;
}

.ws-step-title { font-size: .97rem; font-weight: 700; margin: 0; }

.ws-step-body { padding: 1.4rem; }

/* Upload */
.upload-area {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: .65rem 1.2rem;
  text-align: center;
  cursor: pointer;
  background: var(--gray-50);
  transition: all var(--trans-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.upload-area:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-lt);
}

.upload-icon { font-size: 1.3rem; opacity: .55; flex-shrink: 0; }
.upload-text { font-size: .84rem; color: var(--color-muted); margin: 0; }
.upload-text strong { color: var(--color-primary); }

/* Accordion sections in Module 2 */
.res-acc {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
}
.res-acc-hd {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .9rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--gray-700);
  background: var(--gray-50);
  cursor: pointer;
  user-select: none;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: var(--radius-md);
}
.res-acc-hd::before {
  content: '\25B6';
  font-size: .65rem;
  color: var(--color-primary);
  margin-right: .15rem;
  flex-shrink: 0;
}
.res-acc-hd[aria-expanded="true"] { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.res-acc-hd[aria-expanded="true"]::before { transform: rotate(90deg); }
.res-acc-hd:hover { background: var(--color-primary-lt); color: var(--color-primary); }
.res-acc-body {
  padding: 1rem;
  border-top: 1px solid var(--color-border);
}
.res-acc-body.res-acc-collapsed {
  display: none;
}

/* Config grid */
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.cfg-field label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: .38rem;
}

.cfg-field select,
.cfg-field input {
  width: 100%;
  background: var(--gray-50);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .48rem .75rem;
  font-size: .86rem; font-family: inherit; color: var(--gray-700);
  outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.cfg-field select:focus,
.cfg-field input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58,125,68,.1);
}

/* Actions bar */
.ws-actions {
  display: flex; flex-wrap: wrap; gap: .65rem;
  padding: 1rem 1.4rem;
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
}

/* ── Mock table ────────────────────────────────────────────────── */
.mock-table-scroll { overflow-x: auto; }

.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}

.mock-table th {
  background: var(--green-900);
  color: #fff;
  padding: .65rem 1rem;
  text-align: left;
  font-weight: 600; font-size: .78rem;
  white-space: nowrap;
}

.mock-table td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--gray-700); white-space: nowrap;
}

.mock-table tbody tr:last-child td { border-bottom: none; }
.mock-table tbody tr:nth-child(even) td { background: var(--gray-50); }
.mock-table tbody tr:hover td { background: var(--green-50); }

.sig { color: var(--green-700); font-weight: 700; }
.ns  { color: var(--gray-400); }
.sig-star { color: #b45309; font-weight: 700; }

/* ── Mock chart ────────────────────────────────────────────────── */
.mock-chart-box {
  background: var(--gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.mock-chart-box::-webkit-scrollbar { height: 5px; }
.mock-chart-box::-webkit-scrollbar-track { background: transparent; }
.mock-chart-box::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 99px; }

.mock-chart-title {
  font-size: .87rem; font-weight: 700;
  color: var(--gray-700); text-align: center;
  margin-bottom: 1.4rem;
}

.bar-chart-wrap {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 1.2rem; height: 200px; position: relative;
  padding-bottom: 1.85rem; /* espaço para os labels abaixo da linha de base */
  width: 100%;
  min-width: max-content; /* cresce além de 100% quando há muitos tratamentos → dispara scroll */
}

.bar-axis-line {
  position: absolute; bottom: 1.85rem; left: 0; right: 0;
  height: 2px; background: var(--color-border);
}

.bar-col {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  flex: 0 0 auto; width: 52px; min-width: 38px; max-width: 70px; position: relative;
  height: calc(100% - 1.85rem); /* ocupa toda a área acima dos labels */
}

.bar-fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: opacity var(--trans-fast);
  min-height: 6px;
  flex-shrink: 0; /* não deixa o flexbox comprimir a altura definida em px */
}

.bar-fill:hover { opacity: .8; cursor: default; }

.bar-val-tip {
  position: absolute; top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: .68rem; font-weight: 700;
  color: var(--gray-700); white-space: nowrap;
}

.bar-lbl {
  font-size: .7rem; color: var(--color-muted);
  font-weight: 500; text-align: center;
  position: absolute; bottom: -1.85rem;
  left: 0; right: 0;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

.chart-legend {
  display: flex; justify-content: center; gap: 1.5rem;
  margin-top: 1.1rem; flex-wrap: wrap;
}

.legend-item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .74rem; color: var(--color-muted);
}

.legend-dot {
  width: 10px; height: 10px; border-radius: 3px;
}

/* ── CTA section ───────────────────────────────────────────────── */
.cta-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-box h2 { margin-bottom: .7rem; }
.cta-box p  { color: var(--color-muted); max-width: 460px; margin: 0 auto 2rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cta-box-strong {
  position: relative;
  background: var(--grad-cta);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--glow-green);
}
.cta-box-strong::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 12% 15%, rgba(74,222,128,.22) 0%, transparent 45%),
                     radial-gradient(circle at 90% 85%, rgba(20,184,166,.18) 0%, transparent 45%);
  pointer-events: none;
}
.cta-box-strong > * { position: relative; z-index: 1; }
.cta-box-strong .section-tag { background: rgba(255,255,255,.14); color: var(--neon-green-soft); }
.cta-box-strong h2 { color: #fff; margin-bottom: .7rem; }
.cta-box-strong p  { color: rgba(255,255,255,.78); max-width: 480px; margin: 0 auto 2rem; }
.cta-box-strong .btn-as-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-box-strong .btn-as-secondary:hover { background: #fff; color: var(--green-800); }

/* ── Quem somos ────────────────────────────────────────────────── */
.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--trans-base);
  height: 100%;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green-300);
}

.vc-icon {
  width: 58px; height: 58px;
  background: var(--color-primary-lt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; margin: 0 auto 1rem;
}

.value-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: .45rem; }
.value-card p  { font-size: .87rem; color: var(--color-muted); margin: 0; line-height: 1.65; }

/* Missão */
.mission-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--trans-base);
  border-left: 4px solid transparent;
}

.mission-item:hover {
  border-left-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.mission-num {
  width: 36px; height: 36px;
  background: var(--color-primary);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .88rem; flex-shrink: 0;
}

.mission-item h3 { font-size: .97rem; font-weight: 700; margin-bottom: .3rem; }
.mission-item p  { font-size: .87rem; color: var(--color-muted); margin: 0; }

/* ── Contato ───────────────────────────────────────────────────── */
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: .4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--gray-50);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .68rem 1rem;
  font-size: .9rem; font-family: inherit;
  color: var(--gray-800); outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58,125,68,.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-xl);
  padding: 2.5rem; color: #fff; height: 100%;
}

.contact-info-card h3 { color: #fff; margin-bottom: .45rem; }
.contact-info-card p  { color: rgba(255,255,255,.7); font-size: .88rem; }

.ci-item {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ci-item:last-child { border-bottom: none; }

.ci-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.ci-text p    { margin: 0; font-size: .8rem; color: rgba(255,255,255,.58); }
.ci-text span { font-size: .9rem; color: rgba(255,255,255,.9); font-weight: 500; }

/* ── Status badges ─────────────────────────────────────────────── */
.status-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 600; padding: .22rem .65rem;
  border-radius: 100px;
}

.status-dev {
  background: #fff7ed; color: #c2410c;
  border: 1px solid #fed7aa;
}

/* ── Footer ────────────────────────────────────────────────────── */
.as-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 3.5rem 0 0;
}

.footer-brand-wrap {
  display: flex; align-items: center; gap: .6rem;
  color: #fff; font-size: 1.18rem; font-weight: 700;
  margin-bottom: .75rem; text-decoration: none;
}

.footer-brand-logo {
  width: 32px; height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-desc {
  font-size: .83rem; line-height: 1.72;
  color: var(--gray-500); max-width: 270px;
}

.footer-heading {
  font-size: .75rem; font-weight: 700;
  color: var(--gray-300);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .85rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .42rem; }
.footer-links a { font-size: .83rem; color: var(--gray-500); transition: color var(--trans-fast); }
.footer-links a:hover { color: var(--green-400); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .78rem; flex-wrap: wrap; gap: .5rem;
}

.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--green-400); }

/* ── Animações ─────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay helpers */
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ── Responsivo ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero { padding: 4.5rem 0 5rem; }
  .about-band { padding: 2.5rem; }
}

@media (max-width: 767px) {
  :root { --navbar-h: 62px; }

  .section-pad    { padding: 3.5rem 0; }
  .section-pad-sm { padding: 2.5rem 0; }

  .hero { padding: 3.5rem 0 5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; justify-content: center; }

  .about-band { padding: 1.75rem; border-radius: var(--radius-lg); }
  .about-band h2 { font-size: 1.45rem; }

  .cta-box { padding: 2.5rem 1.25rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions a { justify-content: center; }

  .contact-form-card,
  .contact-info-card { padding: 1.5rem; }

  .config-grid { grid-template-columns: 1fr 1fr; }

  .bar-chart-wrap { gap: .5rem; height: 180px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

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

/* ── Nav flutuante de módulos (desktop only) ────────────────────── */
#floatNav {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: none; /* hidden until fn-visible added */
  flex-direction: column;
  gap: 5px;
  pointer-events: none;
}
#floatNav.fn-visible {
  display: flex;
  pointer-events: none;
}
#floatNav.fn-visible .fn-btn {
  pointer-events: auto;
}
.fn-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 8px;
  width: 52px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--gray-500);
  transition: all .15s;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  line-height: 1;
}
.fn-btn i { font-size: 1rem; }
.fn-btn span { font-size: .59rem; font-weight: 600; text-align: center; }
.fn-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-lt);
}
.fn-btn.fn-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
/* Oculta a nav flutuante em telas menores — não há espaço lateral */
@media (max-width: 1280px) {
  #floatNav { display: none !important; }
}

/* Botão ocultar coluna na tabela de dados */
.col-hide-btn {
  background: none; border: none; cursor: pointer;
  font-size: .72rem; color: var(--color-muted); padding: 0 .1rem;
  line-height: 1; opacity: 0; transition: opacity .12s;
  vertical-align: middle;
}
.mock-table th:hover .col-hide-btn { opacity: 1; }


/* Texto de saída estatística fullscreen */
.stat-output-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  background: #161b22 !important;
  padding: 1rem !important;
  overflow-y: auto !important;
  border-radius: 0 !important;
}
.stat-output-fullscreen #statOutput {
  max-height: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Hero Carousel (index.html)
═══════════════════════════════════════════════════════════════ */
.hc-slide {
  text-align: center;
  padding: 4.5rem 1rem 6.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  min-height: 420px;
}

.hc-logo {
  width: 160px; height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 32px rgba(0,0,0,.35);
}
.hc-logo-sm { width: 90px !important; height: 90px !important; }

.hc-title {
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  margin: 0;
  letter-spacing: -.025em;
  line-height: 1.05;
}
.hc-title-sm {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0;
}
.hc-sub {
  color: rgba(255,255,255,.82);
  font-size: clamp(.95rem, 2.3vw, 1.18rem);
  max-width: 600px;
  line-height: 1.65;
  margin: 0;
}

.hc-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: .4rem;
  max-width: 760px;
}
.hcf-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: .5rem .95rem;
  color: rgba(255,255,255,.9);
  font-size: .87rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background var(--trans-fast);
}
.hcf-item:hover { background: rgba(255,255,255,.2); }
.hcf-item i { font-size: 1rem; color: var(--green-300); }

.hc-indicators {
  bottom: 4rem !important;
  gap: .4rem;
}
.hc-indicators [data-bs-target] {
  width: 10px !important; height: 10px !important;
  border-radius: 50% !important;
  background-color: rgba(255,255,255,.42) !important;
  border: none !important;
  opacity: 1 !important;
  transition: background .25s;
  margin: 0 2px !important;
}
.hc-indicators [data-bs-target].active {
  background-color: #fff !important;
  transform: scale(1.2);
}

.hc-ctrl { opacity: .65; transition: opacity .2s; }
.hc-ctrl:hover { opacity: 1; }

@media (max-width: 767px) {
  .hc-slide { padding: 3rem 1rem 5.5rem; min-height: 360px; gap: .9rem; }
  .hc-logo { width: 100px; height: 100px; }
  .hc-logo-sm { width: 70px !important; height: 70px !important; }
  .hcf-item { font-size: .82rem; padding: .42rem .8rem; }
  .as-brand-logo { height: 44px; }
  .as-navbar.scrolled .as-brand-logo { height: 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   Seção Professor (quem-somos.html)
═══════════════════════════════════════════════════════════════ */
.prof-photo-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.prof-photo-frame {
  width: 100%;
  max-width: 230px;
  position: relative;
}
.prof-photo-frame::before {
  content: '';
  display: block;
  padding-top: 133.33%; /* 3:4 */
}
.prof-photo-placeholder,
.prof-photo-img {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  width: 100%; height: 100%;
  object-fit: cover;
}
.prof-photo-placeholder {
  background: linear-gradient(160deg, var(--green-100), var(--green-50));
  border: 2px dashed var(--green-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--green-600);
}
.prof-photo-placeholder i { font-size: 3.5rem; opacity: .45; }
.prof-photo-placeholder span { font-size: .78rem; font-weight: 600; opacity: .55; letter-spacing: .04em; }

.prof-info-tag {
  text-align: center;
}
.prof-info-tag strong {
  display: block;
  font-size: .92rem;
  color: var(--gray-900);
}
.prof-info-tag span {
  font-size: .8rem;
  color: var(--green-700);
  font-weight: 600;
}

.prof-bio p {
  color: var(--color-muted);
  line-height: 1.82;
  margin-bottom: 1rem;
}
.prof-bio p:last-child { margin-bottom: 0; }
.prof-bio strong { color: var(--gray-800); }

.prof-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.prof-link-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--gray-600);
  background: #fff;
  text-decoration: none;
  transition: border-color var(--trans-fast), color var(--trans-fast);
}
.prof-link-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.prof-link-chip i { font-size: .9rem; }
