/*
  ASSOCIAÇÃO EDUCAÇÃO HARMONIOSA
  CSS completo refeito para o HTML atual.

  Correção principal:
  - o vídeo agora fica preso dentro de um quadro fixo;
  - ao dar play, ele não expande, não empurra a seção e não desenquadra o layout;
  - o player usa position:absolute + object-fit:cover dentro de um container com altura controlada.
*/

:root {
  --bg: #fffaf2;
  --bg-soft: #f0f8ff;
  --bg-accent: #fff1bf;
  --cream: #fff8e8;
  --cream-2: #f7efe0;

  --blue: #12376f;
  --blue-2: #2457a6;
  --blue-3: #0d2852;
  --teal: #18a7a7;
  --yellow: #f2b705;
  --coral: #f27a5e;

  --text: #25283d;
  --muted: #66718a;
  --white: #ffffff;

  --glass: rgba(255, 255, 255, 0.76);
  --border: rgba(36, 87, 166, 0.14);

  --shadow-soft: 0 24px 70px rgba(18, 55, 111, 0.12);
  --shadow-blue: 0 24px 70px rgba(18, 55, 111, 0.18);
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.24);

  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;

  --container: 1180px;
  --header-height: 78px;

  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 28px);
}

body {
  min-height: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 8%, rgba(242, 183, 5, 0.18), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(24, 167, 167, 0.14), transparent 26%),
    radial-gradient(circle at 52% 92%, rgba(242, 122, 94, 0.12), transparent 30%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(calc(100% - 36px), 1180px);
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 54px rgba(18, 55, 111, 0.12);
}

body.hero-ready .site-header,
body:not(.is-loading) .site-header {
  transform: translateX(-50%) translateY(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand--header {
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
}

.brand__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(242, 183, 5, 0.24);
}

.brand__text strong,
.brand__text small {
  display: block;
  line-height: 1.04;
}

.brand__text strong {
  color: var(--blue);
  font-size: 0.96rem;
  font-weight: 900;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(36, 87, 166, 0.08);
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-2), var(--teal));
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(36, 87, 166, 0.22);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 87, 166, 0.08);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--blue);
}

/* BASE */

.section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--coral), var(--teal));
}

h1,
h2 {
  font-family: var(--font-title);
  color: var(--blue);
  letter-spacing: -0.055em;
  font-weight: 800;
}

h2 {
  font-size: clamp(2.35rem, 4.6vw, 5rem);
  line-height: 0.96;
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 54px;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

/* BUTTONS */

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-2), var(--teal));
  box-shadow: 0 18px 42px rgba(36, 87, 166, 0.24);
}

.btn--secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: calc(var(--header-height) + 42px) clamp(18px, 3.2vw, 46px) clamp(18px, 3.2vw, 46px);
  background:
    radial-gradient(circle at 12% 12%, rgba(242, 183, 5, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(24, 167, 167, 0.12), transparent 27%),
    linear-gradient(135deg, #fffaf2 0%, #f0f8ff 50%, #fff1bf 100%);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: 55% center;
  transform: scale(1.012);
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(255, 250, 242, 0.98) 0%,
      rgba(255, 250, 242, 0.92) 29%,
      rgba(255, 250, 242, 0.58) 47%,
      rgba(255, 250, 242, 0.12) 68%,
      rgba(255, 250, 242, 0.00) 100%),
    linear-gradient(180deg,
      rgba(18, 55, 111, 0.05) 0%,
      rgba(18, 55, 111, 0.00) 42%,
      rgba(18, 55, 111, 0.58) 100%);
}

.hero::before {
  content: "♪ ♫";
  position: absolute;
  right: clamp(18px, 6vw, 82px);
  top: clamp(110px, 16vh, 148px);
  z-index: -1;
  color: rgba(36, 87, 166, 0.08);
  font-family: var(--font-title);
  font-size: clamp(6rem, 15vw, 16rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -120px;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(242, 122, 94, 0.16);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(320px, 740px) minmax(240px, 340px);
  align-items: end;
  gap: clamp(28px, 4.5vw, 78px);
  padding: clamp(42px, 8vh, 82px) 0 clamp(34px, 7vh, 70px);
}

.hero__copy {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(3.25rem, 6.8vw, 7.45rem);
  line-height: 0.92;
  text-wrap: balance;
  text-shadow: 0 14px 38px rgba(255, 250, 242, 0.72);
}

.hero__lead {
  max-width: 660px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.75;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__panel {
  align-self: end;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-blue);
}

.hero__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--yellow), var(--coral), var(--teal));
}

.hero__panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-2);
  font-size: 1.32rem;
  line-height: 1;
  font-weight: 900;
}

.hero__panel p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 600;
}

.hero__panel-line {
  width: 100%;
  height: 1px;
  margin: 18px 0;
  background: rgba(36, 87, 166, 0.13);
}

.hero__panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero__panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 800;
}

.hero__panel li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.hero__footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-dark);
}

.hero__footer article {
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.hero__footer span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
}

.hero__footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.12rem;
  line-height: 1.1;
  font-weight: 900;
}

.hero__footer p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 600;
}

/* INTRO */

.intro-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(240, 248, 255, 0.76));
}

.intro-grid,
.doing-grid,
.trust-grid,
.contact-grid,
.sponsor-card {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.intro-copy,
.doing-copy,
.trust-copy,
.sponsor-copy {
  align-self: center;
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p + p,
.doing-copy p + p,
.trust-copy p + p,
.sponsor-copy p + p {
  margin-top: 18px;
}

/* VIDEO — QUADRO FIXO */

.video-showcase {
  margin-top: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.video-showcase__media {
  position: relative;
  align-self: center;
  height: clamp(340px, 38vw, 500px);
  max-height: 500px;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0d2852;
  box-shadow: var(--shadow-blue);
  border: 1px solid rgba(255, 255, 255, 0.72);
  isolation: isolate;
}

/* etiqueta visual sem interferir no player */
.video-showcase__media::before {
  content: "vídeo";
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 5;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  pointer-events: none;
}

/* regra principal: o vídeo nunca define o tamanho do layout */
.video-showcase__media video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  background: #0d2852;
}

/* Os controles ficam sobre o vídeo, mas o vídeo continua preso ao frame */
.video-showcase__media video::-webkit-media-controls-enclosure {
  max-width: 100%;
}

.video-showcase__content {
  min-height: clamp(340px, 42vw, 500px);
  height: auto;
  max-height: none;
  overflow: visible;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.video-showcase__content h3 {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--font-title);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.video-showcase__content p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 500;
}

.video-showcase__content p:not(.eyebrow) + p:not(.eyebrow) {
  margin-top: 14px;
}
/* STORY */

.story-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(242, 183, 5, 0.24), transparent 24%),
    linear-gradient(135deg, #fffaf2 0%, #f0f8ff 56%, #fff1bf 100%);
}

.story-layout {
  display: grid;
  gap: 46px;
}

.story-card {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
  align-items: center;
}

.story-card__media {
  min-height: 500px;
  background-image:
    linear-gradient(180deg, rgba(18, 55, 111, 0.04), rgba(18, 55, 111, 0.22)),
    url("assets/adilson.png");
  background-size: cover;
  background-position: 34% center;
}

.story-card__content {
  padding: clamp(28px, 4vw, 50px);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  color: var(--muted);
  font-size: 1.02rem;
}

.story-card__content p + p {
  margin-top: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 87, 166, 0.1);
  box-shadow: 0 14px 34px rgba(18, 55, 111, 0.06);
}

.timeline article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--yellow), var(--coral), var(--teal));
}

.timeline span,
.role-card span,
.feature-strip span,
.gallery-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline strong,
.role-card h3,
.feature-strip h3,
.sponsor-benefits h3 {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.12rem;
  line-height: 1.15;
  font-weight: 900;
}

.timeline p,
.role-card p,
.feature-strip p,
.sponsor-benefits p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* COMMUNITY */

/* =========================================================
   COMMUNITY — CSS COMPLETO DA SEÇÃO
   Substitua todo o bloco atual de "COMMUNITY" por este.

   Alteração feita:
   - Mantém todo o layout da comunidade que já estava funcionando.
   - Substitui apenas a área dos vídeos.
   - O vídeo horizontal fica como destaque principal.
   - O vídeo vertical fica em um bloco próprio, com texto ao lado.
   - Evita corte indevido de vídeo vertical/horizontal.
========================================================= */

.community-section,
.community-section * {
  box-sizing: border-box;
}

.community-section {
  --community-bg: var(--bg, #fffaf2);
  --community-bg-soft: var(--bg-soft, #f0f8ff);
  --community-blue: var(--blue, #12376f);
  --community-blue-2: var(--blue-2, #2457a6);
  --community-blue-3: var(--blue-3, #0d2852);
  --community-teal: var(--teal, #18a7a7);
  --community-yellow: var(--yellow, #f2b705);
  --community-coral: var(--coral, #f27a5e);
  --community-muted: var(--muted, #66718a);
  --community-white: var(--white, #ffffff);
  --community-shadow: var(--shadow-soft, 0 24px 70px rgba(18, 55, 111, 0.12));
  --community-radius-lg: var(--radius-lg, 34px);
  --community-radius-md: var(--radius-md, 24px);
  --community-title: var(--font-title, "Playfair Display", Georgia, serif);
  --community-body: var(--font-body, "Inter", Arial, sans-serif);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0 104px;
  color: #25283d;
  font-family: var(--community-body);
  background:
    radial-gradient(circle at 10% 8%, rgba(242, 183, 5, 0.16), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(24, 167, 167, 0.12), transparent 25%),
    radial-gradient(circle at 84% 92%, rgba(242, 122, 94, 0.10), transparent 28%),
    linear-gradient(180deg, var(--community-bg) 0%, var(--community-bg-soft) 100%);
}

.community-shell {
  width: min(100% - 40px, var(--container, 1180px));
  margin-inline: auto;
}

.community-section img,
.community-section video {
  display: block;
  width: 100%;
  max-width: none;
}

/* Título da seção */

.community-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--community-teal);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  font-weight: 900;
}

.community-section .eyebrow::before {
  content: "";
  width: 48px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--community-yellow),
    var(--community-coral),
    var(--community-teal)
  );
}

.community-header {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  margin-bottom: 42px;
}

.community-heading h2 {
  margin: 0;
  color: var(--community-blue);
  font-family: var(--community-title);
  font-size: clamp(2.8rem, 5vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.community-intro {
  max-width: 740px;
  color: var(--community-muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.community-intro p {
  margin: 0;
}

.community-intro p + p {
  margin-top: 16px;
}

/* Bloco principal */

.community-top {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.community-main-card,
.community-small-card,
.community-video-feature,
.community-video-story,
.community-people,
.recognition-card,
.community-proof article {
  border: 1px solid rgba(36, 87, 166, 0.10);
  box-shadow: var(--community-shadow);
}

.community-main-card {
  display: grid;
  grid-template-rows: minmax(360px, 520px) auto;
  overflow: hidden;
  border-radius: var(--community-radius-lg);
  background: rgba(255, 255, 255, 0.88);
}

.community-main-card img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.community-main-card__text {
  padding: clamp(26px, 3vw, 34px);
}

.community-section .tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--community-coral);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.community-section h3 {
  margin: 0;
  color: var(--community-blue);
  font-weight: 900;
  line-height: 1.08;
}

.community-main-card h3 {
  max-width: 620px;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

.community-section p {
  margin: 0;
}

.community-main-card p,
.community-small-card p,
.community-video-feature__content p,
.community-video-story__content p,
.community-people__text p,
.recognition-card p,
.community-proof p {
  color: var(--community-muted);
  line-height: 1.68;
}

.community-main-card p {
  margin-top: 14px;
  font-size: 0.98rem;
}

/* Cards laterais */

.community-side {
  display: grid;
  gap: 22px;
}

.community-small-card {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--community-radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.community-small-card img {
  height: 100%;
  object-fit: cover;
}

.community-small-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 30px);
}

.community-small-card h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.community-small-card p {
  margin-top: 12px;
  font-size: 0.94rem;
}

/* Vídeos — composição editorial */

.community-video-section {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

/* Vídeo horizontal principal */

.community-video-feature {
  overflow: hidden;
  border-radius: var(--community-radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.community-video-feature__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--community-blue-3);
}

.community-video-feature__media::before,
.community-video-story__media::before {
  content: "vídeo";
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--community-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.community-video-feature__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(135deg, rgba(18, 55, 111, 0.98), rgba(36, 87, 166, 0.92));
}

.community-video-feature__content {
  max-width: 780px;
  padding: clamp(24px, 3vw, 34px);
}

.community-video-feature__content h3 {
  color: var(--community-blue);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  font-weight: 900;
}

.community-video-feature__content p {
  margin-top: 12px;
  font-size: 1rem;
}

/* Vídeo vertical em bloco próprio */

.community-video-story {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--community-radius-lg);
  background:
    radial-gradient(circle at 92% 18%, rgba(242, 183, 5, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.82);
}

.community-video-story__content {
  max-width: 680px;
}

.community-video-story__content h3 {
  color: var(--community-blue);
    font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.community-video-story__content p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.72;
}

.community-video-story__media {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(18, 55, 111, 0.98), rgba(36, 87, 166, 0.92));
  box-shadow: 0 24px 70px rgba(18, 55, 111, 0.18);
}

.community-video-story__media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

/* Quem faz acontecer */

.community-people {
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(520px, 1.26fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 24px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--community-radius-lg);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
}

.community-people__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.community-people__text h3 {
  max-width: 500px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  letter-spacing: -0.045em;
}

.community-people__text p {
  margin-top: 18px;
  font-size: 1rem;
}

.community-people__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: 16px;
}

.community-people__grid figure {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  margin: 0;
  border-radius: var(--community-radius-md);
  background: var(--community-blue-3);
  box-shadow: 0 14px 36px rgba(18, 55, 111, 0.10);
}

.community-people__grid img {
  height: 100%;
  object-fit: cover;
}

.community-people__grid figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--community-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

/* Reconhecimento */

.community-recognition {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  margin-top: 24px;
}

.recognition-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--community-radius-lg);
  background:
    radial-gradient(circle at 92% 18%, rgba(242, 183, 5, 0.20), transparent 28%),
    rgba(255, 255, 255, 0.82);
}

.recognition-card--dark {
  background:
    linear-gradient(135deg, rgba(18, 55, 111, 0.96), rgba(36, 87, 166, 0.88)),
    url("assets/comunidade-concerto.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.recognition-card--dark .tag {
  color: var(--community-yellow);
}

.recognition-card h3 {
  max-width: 720px;
  font-family: var(--community-title);
  font-size: clamp(2rem, 3vw, 3.5rem);
  letter-spacing: -0.048em;
}

.recognition-card p {
  max-width: 760px;
  margin-top: 16px;
  font-size: 1rem;
}

.recognition-card--dark h3,
.recognition-card--dark p {
  color: var(--community-white);
}

.recognition-card--dark p {
  color: rgba(255, 255, 255, 0.86);
}

/* Galeria */

.community-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  grid-auto-rows: 250px;
  gap: 18px;
  margin-top: 24px;
}

.community-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--community-radius-md);
  background: var(--community-blue-3);
  box-shadow: 0 14px 36px rgba(18, 55, 111, 0.10);
}

.community-gallery__large {
  grid-row: span 2;
}

.community-gallery figure:nth-child(4) {
  grid-column: span 2;
}

.community-gallery img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Cards finais */

.community-proof {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.community-proof article {
  min-height: 178px;
  padding: 24px;
  border-radius: var(--community-radius-md);
  background: rgba(255, 255, 255, 0.80);
}

.community-proof strong {
  display: block;
  margin-bottom: 10px;
  color: var(--community-blue);
  font-size: 1rem;
  font-weight: 900;
}

.community-proof p {
  font-size: 0.92rem;
}

/* Responsivo */

@media (max-width: 1120px) {
  .community-header,
  .community-top,
  .community-people,
  .community-recognition {
    grid-template-columns: 1fr;
  }

  .community-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .community-people__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .community-video-story {
    grid-template-columns: 1fr;
  }

  .community-video-story__media {
    width: min(100%, 360px);
  }
}

@media (max-width: 860px) {
  .community-small-card {
    grid-template-columns: 1fr;
  }

  .community-small-card img {
    min-height: 320px;
  }

  .community-people__grid,
  .community-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .community-gallery__large,
  .community-gallery figure:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .community-proof {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .community-section {
    padding: 72px 0 78px;
  }

  .community-shell {
    width: min(100% - 28px, var(--container, 1180px));
  }

  .community-heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .community-main-card {
    grid-template-rows: minmax(300px, 360px) auto;
  }

  .community-small-card img {
    min-height: 260px;
  }

  .community-video-section {
    margin-top: 26px;
  }

  .community-video-feature__content,
  .community-video-story {
    padding: 22px;
  }

  .community-video-story__media {
    width: min(100%, 320px);
    border-radius: 24px;
  }

  .community-people {
    padding: 20px;
  }

  .community-people__grid,
  .community-gallery,
  .community-proof {
    grid-template-columns: 1fr;
  }

  .community-people__grid figure,
  .community-gallery figure {
    min-height: 270px;
  }

  .recognition-card {
    min-height: auto;
  }

  .community-main-card__text,
  .community-small-card > div,
  .recognition-card,
  .community-proof article {
    padding: 22px;
  }
}


/* DOING */

.doing-section {
  background:
    radial-gradient(circle at 14% 22%, rgba(242, 183, 5, 0.22), transparent 26%),
    radial-gradient(circle at 86% 74%, rgba(24, 167, 167, 0.12), transparent 28%),
    linear-gradient(135deg, #fff1bf 0%, #f0f8ff 52%, #fffaf2 100%);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(36, 87, 166, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.feature-strip article {
  min-height: 250px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.feature-strip article:nth-child(1) {
  border-top: 5px solid var(--blue-2);
}

.feature-strip article:nth-child(2) {
  border-top: 5px solid var(--yellow);
}

.feature-strip article:nth-child(3) {
  border-top: 5px solid var(--teal);
}

.feature-strip article:nth-child(4) {
  border-top: 5px solid var(--coral);
}

/* QUOTE */

.quote-section {
  background:
    linear-gradient(135deg, rgba(18, 55, 111, 0.96), rgba(36, 87, 166, 0.9)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--white);
}

.quote-card {
  max-width: 940px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.quote-card .eyebrow {
  color: var(--yellow);
}

.quote-card blockquote {
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--cream);
  margin-bottom: 26px;
}

.quote-card p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.06rem;
}

/* IMPACT */

.impact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 248, 255, 0.78));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats-grid article {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 34px 24px;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 87, 166, 0.1);
  box-shadow: 0 14px 34px rgba(18, 55, 111, 0.05);
}

.stats-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--yellow), var(--coral), var(--teal));
}

.stats-grid strong {
  display: block;
  color: var(--blue-2);
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 12px;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 700;
}

.stats-note {
  margin-top: 22px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

/* SPONSOR */

/* SPONSOR */

.sponsor-section {
  background:
    radial-gradient(circle at bottom right, rgba(242, 183, 5, 0.22), transparent 34%),
    radial-gradient(circle at top left, rgba(24, 167, 167, 0.12), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #f0f8ff 100%);
}

.sponsor-card {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;

  padding: clamp(30px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.sponsor-copy {
  align-self: center;
  color: var(--muted);
  font-size: 1.05rem;
}

.sponsor-copy p + p {
  margin-top: 18px;
}

.sponsor-copy .btn {
  margin-top: 28px;
}

/* LOGOS DOS PATROCINADORES */

/* LOGOS DOS PATROCINADORES */

.sponsors-strip {
  width: min(100% - 40px, var(--container));
  margin: 32px auto 0;
  padding: 20px 24px;
  border-radius: 42px;

  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 87, 166, 0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);

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

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.sponsor-pill {
  flex: 0 0 260px;
  height: 92px;
  padding: 8px 18px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(36, 87, 166, 0.14);

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sponsor-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 167, 167, 0.34);
  box-shadow: 0 14px 30px rgba(18, 55, 111, 0.12);
}

.sponsor-pill img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* HD Geo */
.sponsor-pill--hd img {
  max-width: 220px;
  max-height: 76px;
}

/* SD Indústria */
.sponsor-pill--sd img {
  max-width: 220px;
  max-height: 78px;
}

/* Ello */
.sponsor-pill--ello img {
  max-width: 84px;
  max-height: 84px;
  border-radius: 10px;
}

@media (max-width: 760px) {
  .sponsors-strip {
    width: min(100% - 28px, var(--container));
    margin-top: 24px;
    padding: 14px;
    border-radius: 30px;
    justify-content: flex-start;
  }

  .sponsor-pill {
    flex: 0 0 210px;
    height: 80px;
    padding: 8px 14px;
  }

  .sponsor-pill--hd img,
  .sponsor-pill--sd img {
    max-width: 176px;
    max-height: 64px;
  }

  .sponsor-pill--ello img {
    max-width: 68px;
    max-height: 68px;
  }
}

/* AJUSTE FINAL — BENEFÍCIOS DO PATROCÍNIO */

.sponsor-section .sponsor-benefits {
  width: min(100% - 40px, var(--container));
  margin: 28px auto 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-section .sponsor-benefits article {
  min-height: 170px;
  padding: 28px;

  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 87, 166, 0.10);
  box-shadow: 0 14px 34px rgba(18, 55, 111, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sponsor-section .sponsor-benefits h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 900;
}

.sponsor-section .sponsor-benefits p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Tablet */
@media (max-width: 1120px) {
  .sponsor-section .sponsor-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 760px) {
  .sponsor-section .sponsor-benefits {
    width: min(100% - 28px, var(--container));
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .sponsor-section .sponsor-benefits article {
    min-height: auto;
    padding: 22px;
  }
}

/* TRUST */

.trust-section {
  background: var(--bg);
}

.trust-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.trust-list article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(36, 87, 166, 0.1);
}

.trust-list strong {
  display: block;
  color: var(--blue);
  margin-bottom: 6px;
}

.trust-list span {
  color: var(--muted);
}

/* JOIN */

.join-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(242, 183, 5, 0.22), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(24, 167, 167, 0.12), transparent 28%),
    linear-gradient(135deg, #fff1bf 0%, #f0f8ff 48%, #fffaf2 100%);
}

.join-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.join-card p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.join-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CONTACT */

.contact-section {
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(18, 55, 111, 0.96), rgba(36, 87, 166, 0.92), rgba(24, 167, 167, 0.86)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: var(--white);
}

.contact-section .eyebrow {
  color: var(--yellow);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section p {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 34px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.contact-card a,
.contact-card span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.contact-card a:hover {
  color: var(--yellow);
}

/* FOOTER */

.site-footer {
  padding: 32px 0;
  background: var(--blue-3);
  color: rgba(255, 255, 255, 0.76);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.92rem;
}

.footer-content strong {
  color: var(--white);
}

/* RESPONSIVE */

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero__wash {
    background:
      linear-gradient(180deg,
        rgba(255, 250, 242, 0.96) 0%,
        rgba(255, 250, 242, 0.84) 42%,
        rgba(18, 55, 111, 0.46) 100%),
      linear-gradient(90deg,
        rgba(255, 250, 242, 0.84) 0%,
        rgba(255, 250, 242, 0.22) 100%);
  }

  .hero__grid,
  .intro-grid,
  .video-showcase,
  .story-card,
  .community-proof,
  .doing-grid,
  .trust-grid,
  .contact-grid,
  .sponsor-card {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    max-width: 520px;
  }

  .hero__footer,
  .community-grid,
  .timeline,
  .feature-strip,
  .stats-grid,
  .sponsor-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-showcase__media,
  .video-showcase__content {
    height: auto;
    max-height: none;
    min-height: 360px;
  }

  .proof-mini-grid {
    grid-template-columns: 1fr;
  }

  .join-card {
    grid-template-columns: 1fr;
  }

  .join-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 1180px);
  }

  .brand__text strong {
    font-size: 0.9rem;
  }

  .brand__text small {
    font-size: 0.73rem;
  }

  .hero {
    padding: calc(var(--header-height) + 28px) 16px 18px;
    min-height: 100svh;
  }

  .hero__photo {
    background-position: 58% center;
  }

  .hero__grid {
    padding: 44px 0 30px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.55rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions,
  .join-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero__panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero__footer,
  .community-grid,
  .timeline,
  .feature-strip,
  .stats-grid,
  .sponsor-benefits {
    grid-template-columns: 1fr;
  }

  .hero__footer {
    border-radius: 24px;
  }

  .hero__footer article {
    min-height: auto;
    padding: 18px;
  }

  .section {
    padding: 72px 0;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .intro-copy,
  .doing-copy,
  .trust-copy,
  .sponsor-copy {
    font-size: 1rem;
  }

  .video-showcase__media {
    height: 320px;
    min-height: 320px;
  }

  .video-showcase__content {
    min-height: auto;
    padding: 24px;
  }

  .story-card__media,
  .proof-photo {
    min-height: 300px;
  }

  .feature-strip article {
    min-height: auto;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
