/* =========================================
   PÁGINA APOIE O ESPAÇO GAIA
========================================= */

@font-face {
  font-family: "TanBuste";
  src: url("fonts/TANBUSTER-fonts.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "AristotelicaPro";
  src: url("fonts/Zetafonts - Aristotelica Pro Text Extralight.otf")
    format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "TanParadiso";
  src: url("fonts/TAN-PARADISO.ttf") format("truetype");
  font-display: swap;
}

.apoie-page {
  --ap-bg: #100f15;
  --ap-surface: #1b1822;
  --ap-card: #24202b;
  --ap-text: #f8f3f7;
  --ap-muted: #c3b8c5;
  --ap-pink: #ee6aa6;
  --ap-pink-light: #ff9fc9;
  --ap-border: rgba(255, 255, 255, 0.1);

  width: 100%;
  min-height: 100vh;
  background: var(--ap-bg);
  color: var(--ap-text);
  font-family: "AristotelicaPro", Arial, sans-serif;
  line-height: 1.7;
  overflow: clip;
  color-scheme: dark;
}

body.light-theme .apoie-page,
body[data-theme="light"] .apoie-page,
html[data-theme="light"] .apoie-page,
.apoie-page[data-theme="light"] {
  --ap-bg: #fff8fb;
  --ap-surface: #fff0f6;
  --ap-card: #ffffff;
  --ap-text: #30202c;
  --ap-muted: #705e6b;
  --ap-pink: #ba286a;
  --ap-pink-light: #a71f5c;
  --ap-border: rgba(91, 35, 67, 0.13);

  color-scheme: light;
}

.apoie-page *,
.apoie-page *::before,
.apoie-page *::after {
  box-sizing: border-box;
}

.apoie-page h1,
.apoie-page h2,
.apoie-page h3,
.apoie-page p {
  margin-top: 0;
}

.apoie-page h1,
.apoie-page h2 {
  font-family: "TanBuste", Georgia, serif;
  line-height: 1.25;
}

.apoie-page h3 {
  font-family: "AristotelicaPro", Arial, sans-serif;
}

.apoie-page a {
  text-decoration: none;
}

.apoie-page button {
  font: inherit;
}

.apoie-page img {
  display: block;
  width: 100%;
}

.apoie-page :focus-visible {
  outline: 3px solid var(--ap-pink);
  outline-offset: 4px;
}

.apoie-container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.apoie-section {
  padding: 105px 0;
}

.apoie-eyebrow,
.apoie-tag {
  color: var(--ap-pink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.apoie-section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
}

.apoie-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 15px 0 20px;
}

.apoie-section-heading h2 span,
.apoie-hero h1 span,
.apoie-doacao-texto h2 span {
  color: var(--ap-pink);
}

.apoie-section-heading p {
  color: var(--ap-muted);
  font-size: 1.07rem;
}

/* BOTÕES */

.apoie-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.apoie-btn {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 25px;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}

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

.apoie-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #d63e82, #ef70ad);
  box-shadow: 0 8px 28px rgba(214, 62, 130, 0.2);
}

.apoie-btn-primary:hover {
  background: linear-gradient(135deg, #be286e, #df5597);
}

.apoie-btn-outline {
  background: transparent;
  border-color: var(--ap-pink);
  color: var(--ap-text);
}

.apoie-btn-outline:hover {
  background: rgba(224, 76, 143, 0.13);
}

.apoie-btn svg {
  width: 19px;
  height: 19px;
}

/* =========================================
   HERO
========================================= */

.apoie-hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../imagem/apoie/hero-apoie.jpg") center center / cover
    no-repeat;
  isolation: isolate;
}

.apoie-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 10, 20, 0.94),
    rgba(28, 13, 31, 0.75),
    rgba(20, 10, 25, 0.45)
  );
  z-index: -1;
}

.apoie-hero-content {
  position: relative;
  text-align: center;
  padding: 120px 0;
  max-width: 950px;
  color: #fff;
}

.apoie-hero .apoie-tag {
  color: #ffc3de;
}

.apoie-hero h1 {
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  margin: 20px 0;
  overflow-wrap: break-word;
}

.apoie-hero h1 span {
  color: #ff9ec9;
}

.apoie-hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #f3e5ee;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.apoie-hero .apoie-btn-outline {
  border-color: #fff;
  color: #fff;
}

/* =========================================
   POR QUE APOIAR
========================================= */

.apoie-motivos {
  background: var(--ap-bg);
}

.apoie-motivos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.apoie-card {
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  border-radius: 22px;
  padding: 38px 28px;
  text-align: center;
  transition:
    transform 0.3s,
    border-color 0.3s;
}

.apoie-card:hover {
  transform: translateY(-8px);
  border-color: var(--ap-pink);
}

.apoie-icon {
  width: 75px;
  height: 75px;
  border-radius: 22px;
  background: rgba(224, 76, 143, 0.12);
  color: var(--ap-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.apoie-icon svg {
  width: 35px;
  height: 35px;
}

.apoie-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.apoie-card p {
  font-size: 1rem;
  color: var(--ap-muted);
  margin-bottom: 0;
}

/* =========================================
   FORMAS DE APOIAR
========================================= */

.apoie-formas {
  background: var(--ap-surface);
}

.apoie-formas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.apoie-forma-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  border-radius: 22px;
  transition: transform 0.3s;
}

.apoie-forma-card:hover {
  transform: translateY(-7px);
}

.apoie-forma-image {
  height: 200px;
  overflow: hidden;
  background: var(--ap-surface);
}

.apoie-forma-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.apoie-forma-card:hover img {
  transform: scale(1.06);
}

.apoie-forma-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 35px 22px 28px;
}

.apoie-forma-icon {
  position: absolute;
  top: -28px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #d83e82;
  color: white;
  border: 4px solid var(--ap-card);
}

.apoie-forma-icon svg {
  width: 24px;
  height: 24px;
}

.apoie-forma-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.apoie-forma-body p {
  font-size: 0.96rem;
  color: var(--ap-muted);
  flex: 1;
}

.apoie-link {
  color: var(--ap-pink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  margin-top: 12px;
}

.apoie-link:hover {
  text-decoration: underline;
}

.apoie-link svg {
  width: 17px;
  height: 17px;
}

/* =========================================
   DOAÇÃO PIX
========================================= */

.apoie-doacao {
  background:
    radial-gradient(
      circle at 15% 45%,
      rgba(210, 53, 123, 0.11),
      transparent 45%
    ),
    var(--ap-bg);
}

.apoie-doacao-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 65px;
  align-items: center;
}

.apoie-doacao-texto h2 {
  margin: 18px 0 25px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.apoie-doacao-texto > p {
  font-size: 1.08rem;
  color: var(--ap-muted);
  max-width: 560px;
}

.apoie-doacao-beneficios {
  margin-top: 35px;
  display: grid;
  gap: 18px;
}

.apoie-doacao-beneficios > div {
  display: flex;
  gap: 13px;
  align-items: center;
}

.apoie-doacao-beneficios svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  color: var(--ap-pink);
}

.apoie-pix-card {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  padding: 38px;
  border-radius: 26px;
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.apoie-pix-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--ap-pink);
  background: rgba(224, 76, 143, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
}

.apoie-pix-icon svg {
  width: 29px;
  height: 29px;
}

.apoie-pix-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.apoie-pix-card > p {
  color: var(--ap-muted);
}

.apoie-qr-area {
  width: 215px;
  height: 215px;
  padding: 15px;
  background: #fff;
  border-radius: 15px;
  margin: 25px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apoie-qr-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apoie-qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #444;
}

.apoie-qr-placeholder svg {
  width: 95px;
  height: 95px;
}

.apoie-qr-placeholder span {
  font-size: 0.85rem;
}

.apoie-pix-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.apoie-pix-chave {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  overflow-wrap: anywhere;
  margin-bottom: 15px;
}

.apoie-copiar-pix {
  width: 100%;
}

.apoie-pix-card .apoie-pix-aviso {
  margin: 20px 0 0;
  font-size: 0.82rem;
}

/* =========================================
   IMPACTO
========================================= */

.apoie-impacto {
  background: var(--ap-surface);
}

.apoie-impacto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.apoie-projeto {
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s;
}

.apoie-projeto:hover {
  transform: translateY(-7px);
}

.apoie-projeto img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.apoie-projeto-info {
  padding: 26px;
}

.apoie-projeto-info > span {
  font-size: 0.74rem;
  letter-spacing: 1px;
  color: var(--ap-pink);
  font-weight: 700;
}

.apoie-projeto-info h3 {
  margin: 10px 0;
  font-size: 1.4rem;
}

.apoie-projeto-info p {
  color: var(--ap-muted);
  margin-bottom: 0;
}

.apoie-center {
  text-align: center;
  margin-top: 45px;
}

/* =========================================
   TRANSPARÊNCIA
========================================= */

.apoie-transparencia {
  background: var(--ap-bg);
}

.apoie-transparencia-box {
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  border-radius: 25px;
  padding: 55px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.apoie-transparencia-icon {
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(224, 76, 143, 0.12);
  border-radius: 25px;
  color: var(--ap-pink);
}

.apoie-transparencia-icon svg {
  width: 54px;
  height: 54px;
}

.apoie-transparencia-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin: 12px 0;
}

.apoie-transparencia-content p {
  color: var(--ap-muted);
  max-width: 720px;
  margin-bottom: 25px;
}

/* =========================================
   FAQ
========================================= */

.apoie-faq {
  background: var(--ap-surface);
}

.apoie-faq-container {
  max-width: 850px;
}

.apoie-faq-list {
  display: grid;
  gap: 14px;
}

.apoie-faq-item {
  background: var(--ap-card);
  border: 1px solid var(--ap-border);
  border-radius: 15px;
  overflow: hidden;
}

.apoie-faq-question {
  width: 100%;
  min-height: 65px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  color: var(--ap-text);
  font-size: 1.04rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.apoie-faq-question svg {
  color: var(--ap-pink);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.apoie-faq-item.is-open {
  border-color: var(--ap-pink);
}

.apoie-faq-answer {
  padding: 0 22px 22px;
}

.apoie-faq-answer[hidden] {
  display: none;
}

.apoie-faq-answer p {
  margin-bottom: 0;
  color: var(--ap-muted);
}

/* =========================================
   CTA FINAL
========================================= */

.apoie-cta {
  position: relative;
  isolation: isolate;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../imagem/apoie/cta-apoie.jpg") center / cover no-repeat;
}

.apoie-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(28, 12, 28, 0.95),
    rgba(81, 20, 58, 0.83)
  );
}

.apoie-cta-content {
  padding: 85px 0;
  text-align: center;
  color: #fff;
}

.apoie-cta .apoie-eyebrow {
  color: #ffb5d4;
}

.apoie-cta h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 15px 0;
}

.apoie-cta p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #f7e1ed;
}

.apoie-cta .apoie-btn-outline {
  color: #fff;
  border-color: #fff;
}

/* =========================================
   RESPONSIVO - ATÉ 1100PX
========================================= */

@media (max-width: 1100px) {
  .apoie-formas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apoie-doacao-layout {
    gap: 40px;
  }

  .apoie-projeto img {
    height: 215px;
  }
}

/* =========================================
   RESPONSIVO - TABLETS 900PX
========================================= */

@media (max-width: 900px) {
  .apoie-section {
    padding: 80px 0;
  }

  .apoie-motivos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apoie-motivos-grid .apoie-card:last-child {
    grid-column: 1 / -1;
  }

  .apoie-doacao-layout {
    grid-template-columns: 1fr;
  }

  .apoie-doacao-texto {
    text-align: center;
  }

  .apoie-doacao-texto > p {
    margin-inline: auto;
  }

  .apoie-doacao-beneficios {
    max-width: 460px;
    margin-inline: auto;
    text-align: left;
  }

  .apoie-impacto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apoie-impacto-grid .apoie-projeto:last-child {
    grid-column: 1 / -1;
  }

  .apoie-transparencia-box {
    padding: 40px;
  }
}

/* =========================================
   RESPONSIVO - CELULARES 600PX
========================================= */

@media (max-width: 600px) {
  .apoie-container {
    width: min(100% - 32px, 1240px);
  }

  .apoie-section {
    padding: 65px 0;
  }

  .apoie-section-heading {
    margin-bottom: 35px;
  }

  .apoie-section-heading h2 {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }

  .apoie-hero {
    min-height: 80svh;
  }

  .apoie-hero-content {
    padding: 100px 0 80px;
  }

  .apoie-hero h1 {
    font-size: clamp(2.05rem, 9vw, 3rem);
  }

  .apoie-hero p {
    font-size: 1rem;
  }

  .apoie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .apoie-actions .apoie-btn {
    width: 100%;
  }

  .apoie-motivos-grid,
  .apoie-formas-grid,
  .apoie-impacto-grid {
    grid-template-columns: 1fr;
  }

  .apoie-motivos-grid .apoie-card:last-child,
  .apoie-impacto-grid .apoie-projeto:last-child {
    grid-column: auto;
  }

  .apoie-card {
    padding: 30px 22px;
  }

  .apoie-forma-image {
    height: 215px;
  }

  .apoie-forma-body {
    padding: 38px 25px 28px;
  }

  .apoie-doacao-texto h2 {
    font-size: 2rem;
  }

  .apoie-pix-card {
    padding: 30px 22px;
  }

  .apoie-projeto img {
    height: 225px;
  }

  .apoie-transparencia-box {
    flex-direction: column;
    text-align: center;
    padding: 35px 24px;
    gap: 25px;
  }

  .apoie-transparencia-icon {
    width: 80px;
    height: 80px;
  }

  .apoie-transparencia-icon svg {
    width: 40px;
    height: 40px;
  }

  .apoie-faq-question {
    font-size: 0.98rem;
    padding: 18px;
  }

  .apoie-cta-content {
    padding: 75px 0;
  }
}

/* =========================================
   RESPONSIVO - CELULARES 400PX
========================================= */

@media (max-width: 400px) {
  .apoie-container {
    width: calc(100% - 28px);
  }

  .apoie-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    line-height: 1.35;
  }

  .apoie-tag,
  .apoie-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .apoie-section-heading h2 {
    font-size: 1.75rem;
  }

  .apoie-pix-card {
    padding: 24px 15px;
  }

  .apoie-qr-area {
    width: 190px;
    height: 190px;
  }

  .apoie-doacao-texto h2 {
    font-size: 1.8rem;
  }

  .apoie-cta h2 {
    font-size: 1.9rem;
  }
}

/* =========================================
   ACESSIBILIDADE
========================================= */

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

/* ==========================================
   APOIE O ESPAÇO GAIA
   OCUPAR TODA A LARGURA DA TELA
========================================== */

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}

.apoie-page {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

/* Remove a limitação de 1240px */
.apoie-page .apoie-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

/* Todas as seções ocupam a largura inteira */
.apoie-page section {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Hero e CTA com imagem até as bordas */
.apoie-hero,
.apoie-cta {
  width: 100%;
  background-size: cover;
  background-position: center;
}

/* Cards distribuídos pela largura disponível */
.apoie-motivos-grid,
.apoie-formas-grid,
.apoie-impacto-grid {
  width: 100%;
}

/* ==========================================
   RESPONSIVO
========================================== */

@media (max-width: 768px) {
  .apoie-page .apoie-container {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 400px) {
  .apoie-page .apoie-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
