/* ═══════════════════════════════════════════════════════
   ONDAS DO CONHECIMENTO — Design System
   Theme: Escotismo + Radioamadorismo
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* ── Color Palette ── */
  --c-green-900: #0D3B12;
  --c-green-800: #1B5E20;
  --c-green-700: #2E7D32;
  --c-green-600: #388E3C;
  --c-green-500: #43A047;
  --c-green-100: #C8E6C9;
  --c-green-50:  #E8F5E9;

  --c-sand-200: #F5F5DC;
  --c-sand-100: #FAF8EF;
  --c-sand-50:  #FDFCF7;

  --c-brown-700: #4E342E;
  --c-brown-600: #5D4037;
  --c-brown-500: #6D4C41;
  --c-brown-100: #D7CCC8;

  --c-blue-900: #0A2E6E;
  --c-blue-800: #0D47A1;
  --c-blue-700: #1565C0;
  --c-blue-500: #2196F3;
  --c-blue-100: #BBDEFB;

  --c-dark-900: #0A1A0C;
  --c-dark-800: #0F2412;
  --c-dark-700: #152E18;

  --c-white: #FFFFFF;
  --c-text:  #2C2C2C;
  --c-text-muted: #5A6B5C;
  --c-text-light: rgba(255,255,255,0.85);

  /* ── Gradients ── */
  --grad-hero: linear-gradient(160deg, var(--c-green-900) 0%, var(--c-dark-900) 50%, var(--c-blue-900) 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  --grad-text: linear-gradient(135deg, var(--c-green-500) 0%, var(--c-blue-500) 100%);
  --grad-btn:  linear-gradient(135deg, var(--c-green-600) 0%, var(--c-green-800) 100%);

  /* ── Typography ── */
  --ff-heading: 'Outfit', system-ui, sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --fs-hero:  clamp(2.8rem, 6vw, 5rem);
  --fs-h2:    clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-h3:    clamp(1.2rem, 2vw, 1.5rem);
  --fs-body:  1rem;
  --fs-small: 0.875rem;

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    900;

  /* ── Spacing ── */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  2.5rem;
  --sp-xl:  4rem;
  --sp-2xl: 6rem;
  --sp-3xl: 8rem;

  /* ── Borders & Radius ── */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 999px;

  /* ── Shadows ── */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --shadow-glow-green: 0 0 30px rgba(67,160,71,0.3);
  --shadow-glow-blue:  0 0 30px rgba(33,150,243,0.3);

  /* ── Transitions ── */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Layout ── */
  --container-max: 1200px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  color: var(--c-text);
  background: var(--c-sand-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Container ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* ── Utility ─────────────────────────────────────── */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(10, 26, 12, 0.6);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--tr-smooth), box-shadow var(--tr-smooth);
}

.header--scrolled {
  background: rgba(10, 26, 12, 0.92);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  color: var(--c-white);
  transition: opacity var(--tr-fast);
}

.header__logo:hover {
  opacity: 0.85;
}

.header__logo-icon {
  flex-shrink: 0;
}

.header__logo-text {
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: var(--fw-light);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--c-text-light);
}

.header__logo-text strong {
  font-weight: var(--fw-bold);
  display: block;
  font-size: 1rem;
}

/* ── Nav ── */
.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.header__nav-link {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--c-text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: color var(--tr-fast), background var(--tr-fast);
  position: relative;
}

.header__nav-link:hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.08);
}

.header__nav-link--cta {
  background: var(--grad-btn);
  color: var(--c-white) !important;
  padding: 0.5rem 1.4rem;
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-glow-green);
}

.header__nav-link--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(67,160,71,0.5);
  background: linear-gradient(135deg, var(--c-green-500) 0%, var(--c-green-700) 100%);
}

/* ── Hamburger ── */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--tr-smooth), opacity var(--tr-fast);
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--sp-xl)) var(--sp-md) var(--sp-3xl);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(1.2);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0.45;
}

.hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 120px;
}

.hero__waves svg {
  width: 100%;
  height: 100%;
}

.hero__wave {
  fill: var(--c-sand-50);
}

.hero__wave--1 {
  opacity: 0.25;
  animation: waveMove 8s ease-in-out infinite;
}

.hero__wave--2 {
  opacity: 0.45;
  animation: waveMove 6s ease-in-out infinite reverse;
}

.hero__wave--3 {
  opacity: 1;
  animation: waveMove 10s ease-in-out infinite;
}

@keyframes waveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--c-green-100);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-md);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero__title-accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-text-light);
  font-weight: var(--fw-light);
  margin-bottom: var(--sp-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-xl);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--tr-smooth);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn--primary {
  background: var(--grad-btn);
  color: var(--c-white);
  box-shadow: var(--shadow-glow-green);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(67,160,71,0.5);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

/* ── Stats Bar ── */
.hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
  padding: var(--sp-md) var(--sp-lg);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero__stat {
  text-align: center;
  min-width: 120px;
}

.hero__stat-value {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: var(--fw-black);
  color: var(--c-green-100);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ══════════════════════════════════════════════════
   SECTION HEADER (reutilizável)
   ══════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-header__tag {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-green-600);
  background: var(--c-green-50);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-sm);
}

.section-header__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-black);
  color: var(--c-dark-800);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-xs);
}

.section-header__desc {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Light variant (dark bg) ── */
.section-header--light .section-header__tag {
  color: var(--c-green-100);
  background: rgba(255,255,255,0.08);
}

.section-header--light .section-header__title {
  color: var(--c-white);
}

.section-header--light .section-header__desc {
  color: rgba(255,255,255,0.65);
}

/* ══════════════════════════════════════════════════
   SOBRE
   ══════════════════════════════════════════════════ */
.sobre {
  padding: var(--sp-3xl) 0 var(--sp-xl);
  background: var(--c-sand-50);
}

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.sobre__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--tr-smooth);
}

.sobre__image:hover img {
  transform: scale(1.03);
}

.sobre__image-badge {
  position: absolute;
  bottom: var(--sp-md);
  left: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--c-white);
  background: rgba(27, 94, 32, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.sobre__subtitle {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--c-dark-800);
  margin-bottom: var(--sp-md);
  line-height: 1.4;
}

.sobre__text p {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
}

.sobre__text p strong {
  color: var(--c-text);
}

.sobre__highlights {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.sobre__highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
}

.sobre__highlight-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-green-50);
  color: var(--c-green-600);
  border-radius: var(--radius-sm);
}

.sobre__highlights li strong {
  display: block;
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  color: var(--c-dark-800);
  margin-bottom: 2px;
}

.sobre__highlights li span {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* ══════════════════════════════════════════════════
   WAVE DIVIDERS
   ══════════════════════════════════════════════════ */
.wave-divider {
  margin-top: -1px;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

.wave-divider--green-to-dark svg path {
  fill: var(--c-dark-800);
}

.wave-divider--dark-to-light svg path {
  fill: var(--c-sand-50);
}

/* ══════════════════════════════════════════════════
   OBJETIVOS — BENTO GRID
   ══════════════════════════════════════════════════ */
.objetivos {
  background: var(--c-dark-800);
  padding: var(--sp-3xl) 0;
  position: relative;
}

.objetivos__bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.bento-card {
  position: relative;
  background: var(--grad-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all var(--tr-smooth);
}

.bento-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.bento-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, rgba(27,94,32,0.2) 0%, rgba(13,71,161,0.15) 100%);
  border-color: rgba(67,160,71,0.2);
}

.bento-card--featured:hover {
  border-color: rgba(67,160,71,0.4);
  box-shadow: var(--shadow-glow-green);
}

.bento-card--wide {
  grid-column: span 2;
}

.bento-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(67,160,71,0.12);
  color: var(--c-green-500);
  margin-bottom: var(--sp-md);
}

.bento-card__number {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  font-family: var(--ff-heading);
  font-size: 3.5rem;
  font-weight: var(--fw-black);
  color: rgba(255,255,255,0.04);
  line-height: 1;
}

.bento-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  margin-bottom: var(--sp-xs);
}

.bento-card__desc {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.bento-card__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  opacity: 0.5;
  color: var(--c-green-500);
}

.bento-card__wave svg {
  width: 100%;
  height: 100%;
}

/* ══════════════════════════════════════════════════
   PÚBLICO-ALVO
   ══════════════════════════════════════════════════ */
.publico {
  padding: var(--sp-3xl) 0;
  background: var(--c-sand-50);
}

.publico__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--sp-xl);
  align-items: center;
}

.publico__text .section-header__title,
.publico__text .section-header__tag {
  text-align: left;
}

.publico__text p {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
  line-height: 1.8;
}

.publico__text p strong {
  color: var(--c-text);
}

.publico__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: var(--c-green-800);
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  transition: all var(--tr-fast);
}

.tag:hover {
  background: var(--c-green-800);
  color: var(--c-white);
  border-color: var(--c-green-800);
}

/* ── Signal Graphic ── */
.publico__graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-graphic {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green-600);
}

.signal-graphic__tower {
  position: relative;
  z-index: 2;
}

.signal-ring {
  position: absolute;
  border: 2px solid var(--c-green-500);
  border-radius: 50%;
  opacity: 0;
  animation: signalPulse 3s ease-out infinite;
}

.signal-ring--1 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.signal-ring--2 {
  width: 130px;
  height: 130px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.8s;
}

.signal-ring--3 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1.6s;
}

@keyframes signalPulse {
  0%   { opacity: 0.6; transform: translate(-50%, -50%) scale(0.6); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1.2); }
}

/* ══════════════════════════════════════════════════
   INSCRIÇÃO
   ══════════════════════════════════════════════════ */
.inscricao {
  position: relative;
  padding: var(--sp-3xl) 0;
  background: var(--c-dark-800);
  overflow: hidden;
}

.inscricao__bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  z-index: 0;
}

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

.inscricao .container {
  position: relative;
  z-index: 1;
}

.form {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}

.form__required {
  color: #EF5350;
}

.form__input {
  width: 100%;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--c-white);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  transition: border-color var(--tr-fast), background var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
}

.form__input::placeholder {
  color: rgba(255,255,255,0.3);
}

.form__input:focus {
  border-color: var(--c-green-500);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(67,160,71,0.15);
}

.form__input.error {
  border-color: #EF5350;
  box-shadow: 0 0 0 3px rgba(239,83,80,0.15);
}

.form__input.success {
  border-color: var(--c-green-500);
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__error {
  display: block;
  font-size: 0.75rem;
  color: #EF5350;
  margin-top: 4px;
  min-height: 1.1em;
}

.form__submit {
  margin-top: var(--sp-md);
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ══════════════════════════════════════════════════
   PARCEIROS
   ══════════════════════════════════════════════════ */
.parceiros {
  padding: var(--sp-3xl) 0;
  background: var(--c-sand-50);
}

.parceiros__grid {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.parceiro-card {
  text-align: center;
  padding: var(--sp-lg);
  background: var(--c-white);
  border: 1px solid var(--c-green-100);
  border-radius: var(--radius-lg);
  min-width: 220px;
  transition: all var(--tr-smooth);
  box-shadow: var(--shadow-sm);
}

.parceiro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-green-500);
}

.parceiro-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-sm);
  color: var(--c-green-800);
}

.parceiro-card__name {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--c-dark-800);
  margin-bottom: 0.25rem;
}

.parceiro-card__desc {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--c-dark-900);
  padding-top: var(--sp-3xl);
  color: rgba(255,255,255,0.7);
}

.footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  line-height: 0;
  transform: translateY(-99%);
}

.footer__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

.footer__wave svg path {
  fill: var(--c-dark-900);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-white);
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  margin-bottom: var(--sp-sm);
}

.footer__desc {
  font-size: var(--fs-small);
  line-height: 1.8;
  max-width: 360px;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-sm);
}

.footer__links ul li a,
.footer__contact ul li {
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  transition: color var(--tr-fast);
}

.footer__links ul li a:hover {
  color: var(--c-green-500);
}

.footer__bottom {
  padding: var(--sp-md) 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer__credits {
  font-style: italic;
}

/* ══════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--c-green-800);
  color: var(--c-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--tr-bounce);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast__icon {
  flex-shrink: 0;
  color: var(--c-green-100);
}

.toast__content strong {
  display: block;
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
}

.toast__content span {
  font-size: var(--fs-small);
  opacity: 0.85;
}

/* ══════════════════════════════════════════════════
   SPINNER (form submit loading)
   ══════════════════════════════════════════════════ */
.spin {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-down"] {
  transform: translateY(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 968px) {
  .sobre__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  .sobre__image img {
    height: 300px;
  }

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

  .bento-card--featured,
  .bento-card--wide {
    grid-column: 1 / -1;
  }

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

  .publico__graphic {
    order: -1;
  }

  .publico__text .section-header__title,
  .publico__text .section-header__tag {
    text-align: center;
  }

  .publico__text p {
    text-align: center;
  }

  .publico__tags {
    justify-content: center;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 26, 12, 0.97);
    backdrop-filter: blur(20px);
    padding: calc(var(--header-h) + var(--sp-lg)) var(--sp-lg) var(--sp-lg);
    transition: right var(--tr-smooth);
    z-index: 999;
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-xs);
  }

  .header__nav-link {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--sp-sm);
    padding: var(--sp-md);
  }

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

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

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

  .footer__bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .parceiros__grid {
    flex-direction: column;
    align-items: center;
  }

  .parceiro-card {
    width: 100%;
    max-width: 320px;
  }
}
