/*
 * =========================================================================
 * STYLESHEET PRINCIPAL DA LANDING PAGE
 * Projeto: Formação em Pilates Clássico
 * Objetivo: Estilos base, tipografia, layout das seções e responsividade.
 * Estrutura: Variáveis > Reset/Base > Tipografia > Componentes > Seções > Responsividade.
 * =========================================================================
 */

/* =========================================================================
   1. DECLARAÇÃO DE FONTES LOCAIS (@font-face)
   Define e carrega as famílias de fontes 'FS Meridian' e 'Grotta Trial' de forma otimizada
   (WOFF2 e WOFF) para garantir compatibilidade e melhor performance de carregamento.
   O 'font-display: swap' prioriza a renderização rápida do texto.
   ========================================================================= */

/* --- FS Meridian (Corpo de Texto/Botões) --- */
/* =============================================================
CONFIGURAÇÃO DE FONTES (FS MERIDIAN)
============================================================= */

/* Regular (400) - Padrão para Corpo de Texto */
@font-face {
    font-family: 'FS Meridian';
    /* Caminho corrigido para o subdiretório _grotta */
    src: url('../_fontes/_grotta/FSMeridian-Regular.woff2') format('woff2'),
         url('../_fontes/_grotta/FSMeridian-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Light (300) - Para textos mais leves/opcional */
@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Light.woff2') format('woff2'),
         url('../_fontes/_grotta/FSMeridian-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Medium (500) - Usado para Botões e Destaques */
@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Medium.woff2') format('woff2'),
         url('../_fontes/_grotta/FSMeridian-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold (700) - Usado para Títulos e Destaques Fortes */
@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Bold.woff2') format('woff2'),
         url('../_fontes/_grotta/FSMeridian-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Thin (100) - Se você for usar o Thin */
@font-face {
    font-family: 'FS Meridian';
    src: url('../_fontes/_grotta/FSMeridian-Thin.woff2') format('woff2'),
         url('../_fontes/_grotta/FSMeridian-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}


/* =========================================================================
   2. VARIÁVEIS CSS (:root)
   Define paleta de cores e família de fontes padrão para fácil manutenção.
   ========================================================================= */
:root {
  --verde-escuro: #173025;
  /* Cor primária, usada em fundos e texto principal */
  --verde-claro: #04af77;
  /* Cor de destaque (links/detalhes) */
  --laranja: #fb7024;
  /* Cor de destaque secundária (CTAs/ênfase) */
  --cinza: #f4f4f4;
  /* Cor de fundo de seções secundárias */
  --text-white: #ffffff;
  /* Branco puro */

  /* Fonte base com fallback nativo */
  --font-family: "FS Meridian", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* =========================================================================
   3. RESET E ESTILOS BASE
   Garante consistência entre navegadores e define estilos globais.
   ========================================================================= */

/* Reset simples */
* {
  box-sizing: border-box;
  /* Garante que padding e border não aumentem o tamanho do elemento */
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  font-family: var(--font-family);
  /* Usa a variável FS Meridian como fonte padrão */
  color: var(--verde-escuro);
  /* Cor de texto padrão */
  background: #fff;
  /* Fundo branco */
  -webkit-font-smoothing: antialiased;
  /* Suavização de fonte para Webkit */
  -moz-osx-font-smoothing: grayscale;
  /* Suavização de fonte para Firefox */
}

/* Container padrão (Limita largura central e aplica padding) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}


/* =========================================================================
   4. TIPOGRAFIA E ESTILOS DE TEXTO
   Define tamanhos de títulos (usando clamp() para responsividade) e estilos de texto.
   ========================================================================= */
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: 'FS Meridian', sans-serif;
  /* Fonte dos Títulos */
}

/* Título principal da página (Hero) */
h1 {
  font-weight: 700;
  /* Grotta Trial Bold */
  font-size: clamp(48px, 6vw, 56px);
  /* Tamanho responsivo: min 48px, ideal 6vw, max 56px */
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Títulos de seção */
h2 {
  font-weight: 700;
  /* Grotta Trial Bold */
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
}

/* Subtítulos dentro de seções */
h3 {
  font-weight: 700;
  /* Grotta Trial Bold */
  font-size: 48px;
  line-height: 1.2;
}

/* Classe para subtítulos de destaque */
.subtitle {
  font-weight: 600;
  /* Grotta Trial Semibold */
  font-size: clamp(20px, 2.5vw, 28px);
  font-family: 'FS Meridian', sans-serif;
}

/* Estilos para Parágrafos, Listas e Spans */
p,
li,
span {
  font-weight: 400;
  /* FS Meridian Regular */
  font-size: 16px;
  line-height: 1.6;
}

/* Classe para textos maiores que o padrão */
.lead-lg {
  font-size: 18px;
}

/* Texto em laranja e negrito */
.orange-bold {
  color: var(--laranja);
  font-weight: 700;
}

/* Adicione esta regra ao seu arquivo CSS, na seção 4. TIPOGRAFIA */
.hero-content .line-small {
  display: block;
  font-weight: 700; /* FS Meridian Regular/Light */
  font-size: clamp(48px, 4vw, 36px); 
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

/* Estilo específico para o parágrafo de descrição na seção Hero */
.hero-desc {
    /* Usa clamp() para garantir responsividade: min 16px, ideal 2.5vw, max 22px */
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400; /* Deixa o texto um pouco mais pesado para destaque */
    line-height: 1.5;
    margin-top: 1.5rem; /* Espaçamento entre o h1/h3 e o parágrafo */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Garante que o texto em <strong> continue em negrito */
.hero-desc strong {
    font-weight: 700;
}


/* =========================================================================
   5. COMPONENTES REUTILIZÁVEIS (Botões e Links)
   Define o estilo base dos botões e links.
   ========================================================================= */

/* Botões / CTAs base (.btn) */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  /* FS Meridian Semibold/Medium */
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0.03em;
  transition: all .18s ease;
  /* Transição suave para interatividade */
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: 'FS Meridian', sans-serif;
}

/* Botão CTA Primário (Usado no Hero) */
.primary-cta {
  background: var(--laranja);
  color: var(--text-white);
  display: inline-block;
  padding: 1.3rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin-top: 3rem; /* Aumenta a distância entre o parágrafo e o botão */
}

.primary-cta:hover {
  transform: translateY(-4px);
  /* Efeito de elevação sutil no hover */
  box-shadow: 0 18px 30px rgba(11, 11, 11, 0.14);
}


/* =========================================================================
   6. SEÇÕES DE LAYOUT (Header, Hero, Formação, Diferenciais, etc.)
   Define o layout estrutural de cada seção principal da Landing Page.
   ========================================================================= */

/* --- HEADER (lp-header) --- */
.lp-header {
  background: var(--verde-escuro);
  color: var(--text-white);
  width: 100%;
  position: relative;
  z-index: 100;
  /* Garante que o header fique acima de outros elementos */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 3rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-top {
  font-weight: 700;
  font-size: 1.5rem;
}

.brand-sub {
  font-weight: 400;
  opacity: 0.95;
  font-size: 0.8rem;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-contacts a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 400;
}

.icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  /* Altura mínima de 100% da viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  overflow: hidden;
  background-image: url('../_img/02-formacao/fundotestedesk.webp');
  /* Imagem de fundo principal */
  background-size: cover;
  background-position: 50% 47%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Cobre todo o elemento pai (hero) */
  z-index: 1;
  pointer-events: none;
  /* Gradiente de sobreposição para escurecer e destacar o texto */
  background: linear-gradient(90deg,
      rgba(23, 48, 37, 0.95) 0%,
      rgba(23, 48, 37, 0.85) 30%,
      rgba(23, 48, 37, 0.75) 60%,
      rgba(23, 48, 37, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1rem;
  max-width: 900px;
}

/* Estilos específicos do texto principal do Hero */
.hero-content .line-highlight {
  display: block;
  color: var(--laranja);
  font-weight: 700;
  font-size: clamp(45px, 8vw, 70px);
  line-height: 1.2;
}

/* --- SESSÃO 2 — formacao1 --- */
.formacao1 {
  background: var(--cinza);
  padding: 4rem 0;
}

.formacao1 h2 {
  color: var(--verde-escuro);
  text-align: center
}

/* Card de destaque da descrição */
.description-card {
  background: var(--text-white);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--verde-escuro);
  font-size: clamp(16px, 2vw, 20px);
  text-align: center
}

/* --- SESSÃO 3 — formacao2 (Diferenciais em Grid) --- */
.formacao2 {
  background: #fff;
  padding: 3rem 0;
}

.formacao2 h2 {
  color: var(--verde-escuro);
  text-align: center
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 colunas no desktop */
  gap: 1.25rem;
  max-width: 900px;
  margin: 1.5rem auto 0;
}

.feature {
  background: var(--cinza);
  padding: 2rem;
  border-radius: 10px;
  color: var(--verde-escuro);
  font-weight: 600;
  min-height: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
}

.icon-check img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- SESSÃO 4 — diferencial (Grade de Cards) --- */
.diferencial {
  background: var(--verde-escuro);
  color: var(--text-white);
  padding: 4rem 0;
}

.diferencial h2 {
  color: var(--text-white);
  text-align: center;
}

.diferenciais-grid {
  display: flex;
  flex-wrap: wrap;
  /* Permite que os cards quebrem a linha */
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.d-card {
  flex: 1 1 220px;
  /* Base flexível: cresce, encolhe e tem largura base de 220px */
  max-width: 260px;
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.d-card:hover {
  transform: translateY(-6px) scale(1.03);
  /* Efeito de elevação e leve aumento no hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Variações de cor dos cards */
.d-card.white {
  background: var(--text-white);
  color: var(--verde-escuro);
}

.d-card.orange {
  background: var(--laranja);
  color: var(--text-white);
}

.img-placeholder {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  /* Fundo sutil para o ícone */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.img-placeholder img {
  width: 50%;
  height: auto;
  object-fit: contain;
}

/* --- SESSÃO 5 — depoimento (Flexbox Centralizado - CORREÇÃO FINAL DE LAYOUT) --- */
.depoimento {
  background: var(--cinza);
  padding: 1rem 0;
}

.depoimento h2 {
  color: var(--verde-escuro);
  text-align: center;
  margin-bottom: 3rem
}

/* 🏆 LAYOUT FINAL: USANDO FLEXBOX PARA CENTRALIZAR E ORGANIZAR EM 2X2 */
.testimonials {
  display: flex;
  justify-content: center; /* CENTRALIZA OS VÍDEOS NA TELA (Horizontalmente) */
  align-items: flex-start; /* Alinha os itens pela parte superior (se houver variação de altura) */
  flex-wrap: wrap; /* Permite que os vídeos quebrem a linha */
  gap: 80px; /* Espaçamento uniforme entre os vídeos (horizontal e vertical) */
  
  /* ***** AJUSTE CHAVE AQUI: ***** */
  /* Largura máxima para acomodar 2 vídeos de 250px + 30px de gap = 530px */
  /* Adicionamos uma margem extra para evitar quebras prematuras em diferentes viewports */
  max-width: 580px; /* 250px + 30px + 250px = 530px. Usamos 560px para um pouco de respiro. */
  margin: 1.25rem auto 0; /* Centraliza o bloco testimonials */
}

/* --- ESTILIZAÇÃO PARA YOUTUBE LITE EMBED --- */

/* * 1. Define o contêiner de cada vídeo (Depoimento) */
.test {
    aspect-ratio: 9 / 16; /* Proporção 9:16 (vertical de Shorts/Reels) */
    width: 250px; /* Usamos 'width' em vez de 'max-width' para fixar o tamanho base */
    overflow: hidden; 
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    margin: 0; 
    padding: 0;
    /* REMOVEMOS o min-height temporário, pois o aspect-ratio e width já dão a dimensão */
}

/* * 2. Estilo do Player (Div que exibe a miniatura) */
.youtube-player {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: filter 0.2s ease;
    position: absolute;
    /* REMOVEMOS o min-height temporário */
}

/* Estilo para escurecer a miniatura ao passar o mouse */
.youtube-player:hover {
    filter: brightness(0.85);
}

/* * 3. Estilo do Botão de Play (Ícone central) */
.youtube-player:before {
    content: '';
    border-color: transparent transparent transparent #fff; 
    border-style: solid;
    border-width: 15px 0 15px 25px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    z-index: 1; 
    transition: opacity 0.2s ease;
}

/* * 4. Estilo do Player do YouTube Ativo (iframe) */
.youtube-player.active iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ... Mantenha o restante do CSS inalterado (btn-insta, vagas, footer, etc.) ... */
/* Botão CTA para o Instagram */
.btn-insta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
}

.insta-cta {
  display: inline-block;
  margin: 1.5rem auto 0;
  text-align: center;
  background: var(--verde-escuro);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-weight: 400;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.insta-cta:hover {
  transform: scale(1.04);
  filter: brightness(1.15);
}

/* --- SESSÃO 6 — vagas (CTA em destaque) --- */
.vagas {
  background: var(--laranja);
  padding: 2rem 0;
  color: var(--text-white);
}

.vagas-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.vagas-text h2,
.vagas-text p {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0;
}

.vagas-cta {
  background: var(--verde-escuro);
  color: var(--text-white);
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  font-weight: 600;
}

.vagas-cta:hover {
  transform: translateY(-3px);
}

/* --- FOOTER --- */
.footer {
  background: var(--verde-escuro);
  color: var(--text-white);
}

.footer-grid {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Título de destaque (verde claro) */
.footer h4.accent {
  color: var(--verde-claro);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer p {
  margin: 0.35rem 0;
  color: var(--text-white);
  font-size: 13px;
  line-height: 1.6;
}

/* Colunas do footer */
.f-left,
.f-center,
.f-right {
  flex: 1 1 280px;
  /* Base flexível para desktop */
  min-width: 200px;
}

.footer-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 400
}

/* Rodapé de Copyright */
.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
  margin: 0;
  padding: 0 1rem;
  background: var(--verde-escuro);
  color: var(--text-white);
  font-size: 13px;
}

/* =========================================================================
   7. BOTÃO FLUTUANTE WHATSAPP (Específico)
   ========================================================================= */

/* Posição e estilo base */
#whatsapp-fixed-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  /* Fixo no topo da pilha */
  background-color: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Estilo Hover */
#whatsapp-fixed-cta:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- ANIMAÇÃO PULSE (PISCANDO) --- */

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Aplica a animação */
#whatsapp-fixed-cta {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Estilos do Banner de Cookies/LGPD */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Fundo escuro */
    color: #fff; /* Texto claro */
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Garante que fique acima de outros elementos */
    font-family: sans-serif;
    line-height: 1.4;
    box-sizing: border-box;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Limita a largura em telas grandes */
    margin: 0 auto;
    flex-wrap: wrap; /* Permite que os elementos quebrem em telas pequenas */
}

#cookie-consent-banner p {
    margin: 0;
    font-size: 14px;
    flex-grow: 1;
    padding-right: 20px; /* Espaço entre o texto e o botão */
}

#cookie-consent-banner a {
    color: #a8e6cf; /* Cor de link que destaque no fundo escuro */
    text-decoration: underline;
    font-weight: bold;
}

#aceitar-cookies {
    background-color: #6fb06e; /* Cor do botão (verde Prolong) */
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
    flex-shrink: 0; /* Impede o botão de encolher */
}

#aceitar-cookies:hover {
    background-color: #5d925d;
}

/* =========================================================================
   8. RESPONSIVIDADE (MEDIA QUERIES)
   Ajustes para Tablet (max-width: 768px) e Mobile (max-width: 480px).
   ========================================================================= */

/* --- Tablet e Telas até 768px --- */
@media (max-width: 768px) {

  /* Container */
  .container {
    padding: 1.5rem;
    /* Ajuste de padding padrão */
  }

  /* Cabeçalho: Passa de linha para coluna */
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
  }

  /* Hero: Ajustes de tamanho de fonte */
  .hero-content .line-small,
  .hero-content .line-highlight {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-content .year {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 16px;
  }

  /* Grid formação: De 2 colunas para 1 */
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Grid diferenciais: De linha para coluna */
  .diferenciais-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .d-card {
    width: 100%;
    max-width: 320px;
  }

  /* Cor do placeholder no card laranja */
  .d-card.orange .img-placeholder {
    background-color: #df6b2c;
    /* cinza claro */
  }

  /* Depoimentos: Flexbox já ajusta automaticamente a 1 coluna com 'flex-wrap: wrap' */
  /* Portanto, não é necessário modificar o .testimonials aqui. */

  /* Vagas: CTA com largura total */
  .vagas-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .vagas-cta {
    width: 100%;
  }

  /* Footer: Quebra de linha e ajustes de espaçamento */
  .footer-grid {
    flex-wrap: wrap;
    /* Permite que as colunas quebrem a linha */
    padding: 3rem 1rem;
  }

  .f-left,
  .f-center,
  .f-right {
    flex: 1 1 280px;
    min-width: 200px;
    padding: 0;
  }

  .copyright {
    padding: 0.6rem 1rem;
  }
}

/* --- Mobile (Fallbacks para max-width: 480px) --- */
@media (max-width: 480px) {

  .hero {
  position: relative;
  min-height: 100vh;
  /* Altura mínima de 100% da viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  overflow: hidden;
  background-image: url('../_img/02-formacao/fundotestemob.webp');
  /* Imagem de fundo principal */
  background-size: 110%;
  background-position: center 25%;
  background-repeat: no-repeat;
}

  /* Footer: De linha para coluna empilhada */
  .footer-grid {
    flex-direction: column;
    padding: 12px 12px;
    gap: 8px;
    row-gap: 8px;
    align-items: flex-start;
  }

  /* Fallback para navegadores sem suporte a 'gap' em flex-direction: column */
  .footer-grid>*+* {
    margin-top: 8px;
  }

  .footer h4.accent {
    margin: 0 0 4px 0;
    font-size: 1rem;
  }

  .footer p {
    font-size: 13px;
    margin: 2px 0;
    line-height: 1.25;
  }

  /* Colunas do footer forçadas a ocupar todo o espaço */
  .f-left,
  .f-center,
  .f-right {
    min-width: unset;
    flex: unset;
    padding: 0;
  }

  /* WhatsApp CTA: Ajuste de tamanho e posição para mobile */
  #whatsapp-fixed-cta {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    padding: 12px;
  }

  .copyright {
    padding: 10px 8px;
    margin-top: 8px;
    min-height: unset;
  }
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    #cookie-consent-banner p {
        padding-right: 0;
        margin-bottom: 10px;
    }

    #aceitar-cookies {
        width: 100%; /* Botão ocupa toda a largura em mobile */
        padding: 10px 15px;
    }
}