/* ============ ALINHAMENTO DE TEXTOS ============ */

/* 1. Padrão para o site todo: Centralizado */
p {
  text-align: center;
}
.texto-centralizado {
  text-align: center !important;
}

/* 2. Exceção: Sobre e Depoimentos ficam Justificados */
#sobre p,
.sobre p,
#depoimentos p,
.depoimentos p {
  text-align: justify;
  hyphens: auto; /* Ajuda na quebra de palavras no celular */
}
:root {

  --roxo-logo: #4a148c; 
  --azul-claro: #00bfff;
/* A mágica do Degradê Equilibrado (Azul contido, Roxo com mais destaque) */
  --degrade-oficial: linear-gradient(135deg, var(--azul-claro) 5%, var(--roxo-logo) 70%);  --primary: #5E2A84;
  --primary-dark: #431e5f;
  --primary-glow: #8e4bc4;
  --primary-foreground: #ffffff;
  --gradient-primary: linear-gradient(135deg, #5E2A84 0%, #8e4bc4 100%);

  --bg: #ffffff;
  --bg-alt: #f7f5fa;
  --fg: #1a1424;
  --muted: #6b6577;
  --border: #ebe6f0;
  --card: #ffffff;

  --gold: #d4a94a;
  --whatsapp: #25D366;

  --shadow-elegant: 0 20px 60px -20px rgba(94, 42, 132, 0.35);
  --shadow-soft: 0 8px 30px -10px rgba(94, 42, 132, 0.2);

  --radius: 14px;
  --radius-lg: 24px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 800px; }
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head p { font-size: 1.125rem; margin-top: 1rem; }
.center { text-align: center; }
.two-col { display: grid; gap: 3rem; align-items: center; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem;
}
.eyebrow-light { color: rgba(255,255,255,0.75); }
.text-primary { color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s ease, color .25s ease;
  cursor: pointer; text-align: center;
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-elegant); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 15px 40px -10px rgba(37,211,102,0.5); }
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-whatsapp::before {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M20.52 3.48A11.9 11.9 0 0012.05 0C5.5 0 .17 5.34.17 11.9c0 2.1.55 4.14 1.6 5.94L0 24l6.32-1.66a11.87 11.87 0 005.72 1.46h.01c6.55 0 11.88-5.34 11.88-11.9 0-3.18-1.24-6.17-3.49-8.42z'/></svg>") no-repeat center / contain;
}

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px -10px rgba(94,42,132,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gradient-primary); color: #fff;
  font-weight: 700; font-size: 1.1rem;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; transition: color .3s; }
.site-header.scrolled .brand-text { color: var(--fg); }

.nav-desktop { display: none; gap: 2rem; }
.nav-desktop a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: color .2s; }
.nav-desktop a:hover { color: #fff; }
.site-header.scrolled .nav-desktop a { color: rgba(26,20,36,0.8); }
.site-header.scrolled .nav-desktop a:hover { color: var(--primary); }

.nav-cta { display: none; }
.nav-toggle { color: #fff; padding: 0.4rem; }
.site-header.scrolled .nav-toggle { color: var(--fg); }

@media (min-width: 1024px) {
  .nav-desktop, .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.nav-mobile {
  background: #fff; 
  border-top: 1px solid var(--border);
  display: none; 
  flex-direction: column;
  position: absolute;
  top: 100%; 
  left: 0;
  width: 100%;
  box-shadow: var(--shadow-soft); 
}

.nav-mobile a { 
  padding: 0.9rem 1.25rem; 
  border-bottom: 1px solid var(--border); 
  font-weight: 500; 
}
.nav-mobile a:last-child { 
  border-bottom: 0; 
  margin: 0.75rem 1.25rem 1rem; 
}

.nav-mobile.active {
  display: flex;
}

@media (min-width: 1024px) {
  .nav-mobile {
    display: none !important;
  }
}
/* ============ CARROSSEL INTELIGENTE HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 0;
}

.hero-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-carousel .slide.active {
  opacity: 1;
}

/* Fotos e Vídeo preenchem a tela inteira */
.hero-carousel .slide img,
.hero-carousel .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

/* ============ SOBREPOSIÇÃO E TEXTO HERO ============ */
.hero-overlay {
  position: absolute; 
  inset: 0;
  background: rgba(45, 15, 60, 0.65);
  z-index: 1;
}

.hero-content { 
  position: relative; 
  color: #fff; 
  padding: 8rem 1.25rem 5rem; 
  max-width: 900px; 
  z-index: 2;
}

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  margin: 1.5rem 0;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 0%, #7bdcff 50%, #cc9dff 100%);
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent;
  /* Coloquei o filtro de sombra AQUI DENTRO, onde ele pertence */
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.9));
} 

.hero-sub { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 620px; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.rating { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.rating-title { font-weight: 600; font-size: 0.95rem; }
.rating-sub { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.scroll-down {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.85); animation: bounce 2s infinite;
} /* <-- Chave de fechamento adicionada! */

@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

.img-wrap { position: relative; }
.img-wrap img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-elegant);
  aspect-ratio: 4/3; object-fit: cover;
}
.floating-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-soft);
  display: none; align-items: center; gap: 0.75rem;
}
@media (min-width: 768px) { .floating-badge { display: flex; } }
.fb-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #f4ecfc; color: var(--primary);
  display: grid; place-items: center; font-size: 1.25rem;
}
.fb-title { font-family: var(--font-display); font-weight: 700; }
.fb-sub { font-size: 0.75rem; color: var(--muted); }
#sobre p { margin-top: 1rem; font-size: 1.05rem; }
.stats { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.stat-n { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--primary); }
.stat-l { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }


.teacher-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.teacher-card.highlight { border-color: rgba(94,42,132,0.3); box-shadow: 0 0 0 1px rgba(94,42,132,0.2); }
.ribbon {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px;
}
.avatar {
  width: 96px; height: 96px; margin: 0 auto;
  border-radius: 50%; background: var(--gradient-primary);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.teacher-card h3 { margin-top: 1.25rem; }
.teacher-card .role {
  color: var(--primary); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 0.25rem;
}
.teacher-card p { margin-top: 0.75rem; font-size: 0.9rem; }


.mod-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: transform .5s ease, box-shadow .5s ease;
}
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.mod-card img { aspect-ratio: 4/5; object-fit: cover; transition: transform 1.2s ease; }
.mod-card:hover img { transform: scale(1.08); }
.mod-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3) 50%, transparent);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; color: #fff;
}
.mod-emoji { font-size: 1.75rem; }
.mod-overlay h3 { margin-top: 0.5rem; color: #fff; }
.mod-overlay p { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-top: 0.5rem; }

.section-dark {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2a0e42 100%);
}
.section-dark h2 { color: #fff; }
.glow {
  position: absolute; top: -10rem; right: -10rem;
  width: 24rem; height: 24rem; border-radius: 50%;
  background: #c084fc; filter: blur(80px); opacity: 0.3;
}
.diff-grid > div { display: flex; flex-direction: column; gap: 1rem; }
.diff-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.25rem;
  backdrop-filter: blur(10px);
  font-weight: 600; transition: background .3s ease;
}
.diff-card:hover { background: rgba(255,255,255,0.15); }
.diff-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: grid; place-items: center; margin-bottom: 0.75rem; font-size: 1.15rem;
}

.testimonial {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-soft); transition: transform .3s ease;
}
.testimonial:hover { transform: translateY(-4px); }
.testimonial p { margin: 1rem 0 1.5rem; color: rgba(26,20,36,0.85); font-style: italic; }
.testimonial footer { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; font-weight: 600; }
.t-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #f4ecfc; color: var(--primary);
  display: grid; place-items: center; font-weight: 700;
}

.schedule {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
}
.sched-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.sched-row:last-child { border-bottom: 0; }
.sched-row.closed { background: var(--bg-alt); color: var(--muted); font-style: italic; }
.sched-row > div:last-child { text-align: right; font-size: 0.9rem; }
#horarios .btn { margin-top: 1.5rem; }
#horarios p { margin-top: 1rem; font-size: 1.05rem; }


.addr { display: flex; gap: 1rem; margin: 1.5rem 0; align-items: flex-start; font-size: 1rem; color: var(--fg); }
.addr-icon { color: var(--primary); font-size: 1.5rem; }
.addr strong { display: block; margin-bottom: 0.25rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-elegant); aspect-ratio: 4/3; }
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-grid { max-width: 900px; margin: 0 auto; }
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.c-icon {
  width: 56px; height: 56px; margin: 0 auto;
  border-radius: 14px; background: var(--gradient-primary);
  color: #fff; display: grid; place-items: center; font-size: 1.35rem; font-weight: 700;
}
.c-label { margin-top: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.c-value { margin-top: 0.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
#contato .center { margin-top: 3rem; }


.faq {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.faq details { padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--primary); transition: transform .25s; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { margin-top: 0.75rem; color: var(--muted); }

.final-cta { position: relative; overflow: hidden; }
.final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20, 10, 30, 0.527), rgba(95, 42, 132, 0.566));
}
.final-cta .container { position: relative; padding: 7rem 1.25rem; color: #fff; }
.final-cta h2 { color: #fff; max-width: 780px; margin: 0 auto; font-size: clamp(2rem, 5vw, 3.5rem); }
.final-cta p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 620px; margin: 1.5rem auto 0; }
.final-cta .btn { margin-top: 2.5rem; }

.footer { background: #1a0f28; color: rgba(255,255,255,0.8); padding: 4rem 0 1.5rem; }
.footer .brand-text { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; margin-bottom: 0.75rem; }
.footer p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 1rem; max-width: 360px; }
.footer ul { list-style: none; }
.footer ul li { margin-top: 0.5rem; font-size: 0.9rem; }
.footer ul a:hover { color: #fff; }
.copy { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.5); }


.fab-whatsapp {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 40px -5px rgba(37,211,102,0.6);
  transition: transform .25s ease;
}
.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp); opacity: 0.3; z-index: -1;
  animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(1.6); opacity: 0; }
}


.reveal, .reveal-on-scroll {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(0.2,0.7,0.2,1), transform .8s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal { opacity: 1; transform: none; }
.reveal-on-scroll.visible { opacity: 1; transform: none; }

/* ============ CORES E DEGRADÊS DA ASSOCIAÇÃO ============ */

/* Efeito de degradê no texto do título */
.texto-degrade {
  background: var(--degrade-oficial);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Aplicando o degradê nos botões principais e faixas (ribbons) */
.btn-primary, .ribbon {
  background: var(--degrade-oficial) !important;
  border: none !important;
  color: #ffffff !important;
  transition: opacity 0.3s ease;
}

/* Efeito ao passar o mouse no botão */
.btn-primary:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
/* ============ FUNDO DEGRADÊ NAS SEÇÕES ============ */

/* Aplica o degradê no fundo da seção de Diferenciais */
#diferenciais {
  background: var(--degrade-oficial) !important;
  color: #ffffff; /* Garante que todos os textos fiquem brancos para dar leitura */
}

/* Caso os cartõezinhos dentro dos diferenciais também fossem roxos, isso aplica neles também */
.card-diferencial {
  background: var(--degrade-oficial) !important;
  color: #ffffff;
  border: none;
}

/* ============ DEGRADÊ NO SÍMBOLO DO CABEÇALHO ============ */
.brand-mark {
  background: var(--degrade-oficial) !important;
  color: #ffffff !important; /* Deixa a letra japonesa branca e nítida */
  border: none !important;   /* Tira qualquer borda antiga que tivesse */
}

/* ============ COMPORTAMENTO DA LOGO (SOBRE) ============ */
/* No computador, ela fica fixa */
.coluna-logo-sticky {
  position: sticky;
  top: 100px;
}

/* No celular, ela rola normalmente com a página */
@media (max-width: 768px) {
  .coluna-logo-sticky {
    position: relative !important;
    top: auto !important;
    margin-bottom: 2rem; 
  }
}

/* ============ BOTÃO FLUTUANTE DA GALERIA ============ */
.btn-galeria-flutuante {
  position: fixed;
  bottom: 1.7rem;
  left: auto; /* Fica no canto esquerdo */
  right: 6.5rem;
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px -5px rgba(94, 42, 132, 0.4);
  z-index: 999; /* Fica por cima de tudo */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-galeria-flutuante:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px -5px rgba(94, 42, 132, 0.6);
  color: #fff;
}

/* Ajuste para não ocupar muita tela no celular */
@media (max-width: 768px) {
  .btn-galeria-flutuante {
    bottom: 1rem;
    left: 1rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* ============ GALERIA DE FOTOS (ÁLBUNS) ============ */
.galeria-grid {
  display: grid;
  /* Cria colunas automáticas que se adaptam ao celular e ao PC */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.album-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.album-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}

.album-cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card:hover .album-cover {
  transform: scale(1.08); /* Efeito de zoom suave na foto ao passar o mouse */
}

.album-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.album-info {
  padding: 1.5rem;
}

.album-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--fg);
}

.album-info p {
  font-size: 0.9rem;
  margin: 0;
}

/* ============ POP-UP (MODAL) DA GALERIA ============ */
.modal-galeria {
  display: none; /* Fica invisível até alguém clicar */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Fundo bem escuro */
  backdrop-filter: blur(8px); /* Desfoca o site no fundo */
  overflow-y: auto; /* Permite rolar para baixo se tiver muitas fotos */
}

.modal-galeria-content {
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 1100px;
  position: relative;
}

.fechar-modal {
  color: #ffffff;
  position: absolute;
  top: 0px;
  right: 20px;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.fechar-modal:hover {
  color: var(--primary);
}

/* A grade onde as fotos aparecem */
.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.modal-grid img,
.modal-grid video {
  width: 100%;
  height: 250px; /* Mantém tudo alinhado */
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
  background-color: #000; /* Fundo preto para o vídeo */
}

.modal-grid img:hover {
  transform: scale(1.03); 
}

/* ============ FOTO AMPLIADA ============ */
.modal-midia-unica {
  position: fixed;
  z-index: 10000; /* Fica acima de tudo, até do álbum aberto */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* Fundo um pouco transparente */
  align-items: center;
  justify-content: center;
}

.modal-midia-unica img {
  max-width: 80%; /* Garante que a foto não cubra a tela toda na largura */
  max-height: 85vh; /* Garante que a foto não cubra a tela toda na altura */
  object-fit: contain; /* Mantém a proporção da foto sem cortar */
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  animation: zoomSuave 0.3s ease; /* Efeito bacana ao abrir */
}

.fechar-midia {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10001;
}

.fechar-midia:hover {
  color: var(--primary);
}

/* Animação para a foto pular na tela */
@keyframes zoomSuave {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ============ DESIGN EXCLUSIVO DA PALAVRA "FOTOS" ============ */
.destaque-fotos {
  /* Cores mais acesas e vivas para não ficar apagado */
  background: linear-gradient(135deg, #00d2ff, #7c3cb9);
  
  /* Recorta o fundo no formato das letras */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  
  /* Sombra leve para destacar e dar leitura em fundos claros ou escuros */
  filter: drop-shadow(0px 2px 8px rgba(155, 81, 224, 0.35));
  
  font-style: italic; 
  font-weight: 800;
  display: inline-block;
  transform: scale(1.05);
}