:root {
    /* Cores principais */
    --azul-principal: #0833a2; /* Versão final preferida */
    --vermelho-destaque: #ff3c00;
    --branco: #ffffff;

    /* Cores complementares */
    --cinza-claro: #f5f5f5;
    --azul-escuro: #1a3a4d;

    /* Sombras e bordas */
    --sombra: 0 4px 20px rgba(0, 0, 0, 0.1);
    --borda: 2px solid rgba(42, 92, 130, 0.1);

    /* Transições */
    --transicao: 0.3s ease;

    /* Cores em HSL (se você estiver usando em temas ou modos escuros) */
    --clr-neutral-100: hsl(0, 0%, 100%);
    --clr-primary-100: hsl(205, 15%, 58%);
    --clr-primary-400: hsl(215, 25%, 27%);
    --clr-primary-800: hsl(217, 33%, 17%);
    --clr-primary-900: hsl(218, 33%, 9%);
}

@media (max-width:550px) {

    html,
    body,section {
        overflow-x: hidden;
    }

    .container {
        width: auto !important;        
    }
}

/* =================== BOTÃO BASE =================== */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transicao);
    text-decoration: none;
    display: inline-block;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--branco);
    color: var(--azul-escuro);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Header */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transicao);
    padding: 1rem 0;
}

.header.scrolled {
    background-color: var(--branco);
    box-shadow: var(--sombra);

}

.scrolled .logo {
    width: 110px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: transparent;
}

.logo img {
    width: 6rem;        /* equivalente a 150px */
    height: auto;          /* mantém proporção */
    display: block;        /* remove espaçamento extra */
    object-fit: contain;   /* mantém a imagem inteira visível */
    margin: 0 1rem;        /* margem lateral de 1rem */
    transition: var(--transicao);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 1.5em;
    margin-right: 1em;
}

.nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-list a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 500;
    font-size: .8em;
    position: relative;
    cursor: pointer;
    transition: var(--transicao);
}

.header.scrolled .nav-list a {
    color: var(--azul-escuro);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff1e00;
    transition: var(--transicao);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-mobile {
    display: none;
    background-color: rgba(255, 255, 255, 0); /* Fundo levemente visível */
    border: 1px solid rgba(255, 255, 255, 0);  /* Borda sutil */
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-mobile:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hamburger {
    display: block;
    width: 28px;
    height: 2.5px;
    background-color: var(--branco);
    position: relative;
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2.5px;
    background-color: inherit;
    transition: transform 0.4s ease, top 0.4s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Animação para quando estiver ativo (menu aberto) */
.menu-mobile.active .hamburger {
    background-color: transparent;
}

.menu-mobile.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-mobile.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.header.scrolled .menu-mobile .menu-texto {
  color: var(--azul-escuro);
}

@media (max-width: 992px) {
    .nav-list a {
        color: var(--azul-escuro) !important;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
}


@media (max-width: 992px) {
    .menu-mobile {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--branco);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transicao);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list a {
        color: var(--azul-escuro);
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .header.scrolled .nav-list a {
        color: var(--azul-escuro);
    }
}

.menu-mobile .menu-texto {
  color: var(--branco); /* fonte branca por padrão */
  transition: color 0.3s ease;
}

.menu-mobile.scrolled .menu-texto {
  color: var(--azul-escuro); /* fonte azul marinho ao rolar */
}

/* para links do nav */
.nav-list a {
  color: var(--branco);
  transition: color 0.3s ease;
}

.header.scrolled .nav-list a {
  color: var(--azul-escuro);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    margin-top: 0;
    border-bottom: var(--borda);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;                      /* Alinhado à esquerda */
    transform: translateY(-50%);    /* Só sobe verticalmente, não mexe no X */
    text-align: justify;            /* <-- AQUI: De left para justify */
    color: var(--branco);
    z-index: 2;
    max-width: 700px;               /* Largura máxima mais controlada */
    padding: 0 1.5rem;
}

.hero-content h1 {
    font-size: 2em;
    font-weight: 300;
}

.hero-content h1 {
    text-align: left;
}

.destaque {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.btn-saiba-mais {
    display: inline-block;
    margin-top: 0;
    padding: 10px 18px;
    background-color: transparent;    /* Fundo transparente */
    color: #fff;                      /* Texto branco */
    text-decoration: none;
    border: 2px solid #fff;           /* Borda branca */
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-saiba-mais:hover {
    background-color: #fff;           /* Fundo branco no hover */
    color: #004aad;                   /* Texto azul no hover */
    border-color: #fff;               /* Mantém borda branca */
}

.hero-carousel .splide__slide {
    height: 100vh;
}

.hero-carousel .splide__arrows {
    position: absolute;
    min-width: 100vw;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.hero-carousel .splide__pagination {
    bottom: 30px;
}

.hero-carousel .splide__arrow {
    background-color: transparent;    /* Remove fundo */
    border: none;
    border-radius: 0;                 /* Remove formato circular */
    width: auto;                      /* Remove tamanho fixo */
    height: auto;
    font-size: 0.8rem;                  /* Tamanho das setas (pode ajustar) */
    box-shadow: none;
    padding: 0.5rem;                  /* Espaço interno opcional */
    transition: var(--transicao);
}

.hero-carousel .splide__arrows {
    display: none !important;
}


.hero-carousel .splide__arrow svg {
    fill: var(--branco);  /* Mantém a seta visível */
    width: 2rem;
    height: 2rem;
}

.hero-carousel .splide__arrow svg{
    fill: rgba(255, 255, 255, 0.384);
}

.hero-carousel .splide__arrow:hover {
    color: var(--vermelho-destaque);
    transform: scale(1.1);
}

.hero-carousel .splide__pagination__page.is-active {
    background-color: var(--vermelho-destaque);
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}

.hero .splide__slide .hero-content {
    left: 5%;
    transform: translateY(-50%);
    max-width: 700px;
    padding: 0 1.5rem;
    text-align: justify;
    color: var(--branco);
}

.hero .splide__slide .main-caption {
    font-size: 2.5em;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0);
}

.hero .splide__slide .destaque {
    font-size: 1rem;
    margin-bottom: 2rem;
    display: block;
    font-weight: 300;
}

.hero .splide__slide .hero-overlay {
    background: linear-gradient(
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}

/* Responsivo para todos os slides agora */
@media (max-width: 768px) {
    .hero .splide__slide .main-caption {
        font-size: 2rem;
    }

    .hero .splide__slide .destaque {
        font-size: 1rem;
    }

    .hero .splide__slide .btn-primario {
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero .splide__slide .main-caption {
        font-size: 1.5rem;
    }

    .hero .splide__slide .destaque {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
  .hero .splide__slide .hero-content {
    left: 3%;
    max-width: 90%;
    padding: 0 1rem;
  }

  .hero .splide__slide .hero-content h1,
  .hero .splide__slide .main-caption {
    font-size: 1.5em;
    text-align: left;
  }

  .hero .splide__slide .destaque {
    font-size: 0.9rem;
  }
}

.section-title {
  font-size: 2rem;        /* Aumenta o tamanho da fonte */
  font-weight: 400;         /* Deixa a fonte mais grossa */
  color: #ff4800;           /* Cor escura para contraste (pode ajustar se quiser) */
  text-align: center;       /* Centraliza, se for desejado */
  margin-bottom: 1rem;      /* Espaçamento abaixo do título */
}

/* Título da Seção */
.section-title {
  font-size: 2rem;
  font-weight: 400;
  color: #ff4800;
  text-align: center;
  margin-bottom: 1rem;
}

/* Container Responsivo */
.container {
  width: 90vw;
  max-width: 65rem;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* Carrossel Wrapper */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-top: 2rem;
}

/* Botões de Navegação */
.btn-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(49, 49, 49, 0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  z-index: 10;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-nav.left {
  left: 0.5rem;
}

.btn-nav.right {
  right: 0.5rem;
}

.btn-nav:hover {
  background: #e4e4e4;
  color: var(--vermelho-destaque, #ff3c00);
  transform: scale(1.05);
}

/* Carrossel */
.servicos-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* scroll-behavior REMOVIDO para performance */
}
.servicos-carousel::-webkit-scrollbar {
  display: none;
}

/* Card de Serviço */
.servico-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

.servico-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.12);
}

/* Imagem */
.servico-imagem img {
  width: 100%;
  height: 11.25rem;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
  transition: transform 0.4s ease;
  will-change: transform;
}

.servico-card:hover .servico-imagem img {
  transform: scale(1.03);
}

/* Conteúdo */
.servico-content {
  padding: 1rem 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.servico-content h3 {
  font-size: 1.25rem;
  color: var(--azul-principal, #2c3e50);
  margin: 0;
}

.servico-content p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.625rem 0;
  flex-grow: 1;
}

/* Lista de Detalhes */
.servico-detalhes {
  list-style: none;
  padding: 0;
  margin: 0 0 0.625rem 0;
  color: #666;
  font-size: 0.9rem;
}

.servico-detalhes li {
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.servico-detalhes li i {
  color: #3498db;
}

/* Botão */
.btn-terciario {
  background: var(--vermelho-destaque, #ff3c00);
  color: var(--branco, #ffffff);
  padding: 0.4rem 1rem;
  border-radius: 1.125rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  align-self: flex-start;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-terciario:hover {
  background: #e04b25;
}

@media (max-width: 550px) {
  html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  .container {
    width: 100vw;
    max-width: 100vw;
    padding: 0 1rem;
    margin: 0 auto;
  }

  .servicos-carousel {
    display: flex;
    gap: 1rem;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    justify-content: center;
  }

.servico-card {
  flex: 0 0 auto;
  max-width: 20rem; /* ~320px */
  min-height: 25rem; /* ~240px */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0 auto;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  will-change: transform, box-shadow;
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


  .servico-card:hover {
    transform: translateY(-0.375rem) translateZ(0);
    box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.12);
  }

  .servico-imagem {
    height: 12rem; /* imagem mais baixa e visual */
    overflow: hidden;
    position: relative;
  }

  .servico-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    will-change: transform;
    backface-visibility: hidden;
  }

  .servico-card:hover .servico-imagem img {
    transform: scale(1.03);
  }

  .servico-content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .servico-content h3 {
    font-size: 1rem;
    margin: 0;
  }

  .servico-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
  }

  .servico-detalhes {
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: #666;
  }

  .servico-detalhes li {
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .btn-terciario {
    align-self: flex-start;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
}


/* Seções e Grids */
.areas-section {
  padding: 4rem 1rem;
  background-color: #f8f8f8;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Cards de Área */
.area-card {
  background: #fff;
  border-radius: 0.7rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 22.5rem;
  flex: 1 1 calc(33.333% - 2rem);
  will-change: transform, box-shadow;
}

.area-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.12);
}

.area-imagem img {
  width: 100%;
  height: 11.25rem;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
  transition: transform 0.4s ease;
  will-change: transform;
}

.area-card:hover .area-imagem img {
  transform: scale(1.03);
}

/* Conteúdo das Áreas */
.area-content {
  padding: 1rem 1.2rem;
}

.area-content h3 {
  font-size: 1.3rem;
  color: var(--azul-principal, #2c3e50);
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff3c00;
  padding-bottom: 0.3rem;
}

.lista-cursos {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-cursos li {
  margin-bottom: 0.8rem;
}

.lista-cursos a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.lista-cursos a:hover {
  color: var(--vermelho-destaque, #ff3c00);
}

.lista-cursos span {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Visibilidade com Opacidade */
.semana-content {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.semana-content.active {
  opacity: 1;
}

/* Responsividade Avançada */
@media (max-width: 64rem) {
  .areas-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
  }

  .area-card {
    flex: 0 0 50%;
    max-width: 70%;
    scroll-snap-align: start;
  }

  .areas-grid::-webkit-scrollbar {
    display: none;
  }

  .btn-nav {
    display: none !important;
  }
}

@media (max-width: 48rem) {
  .area-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Formas de Ingresso */
.formas-ingresso-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.formas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
}

.forma-card {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 0.15rem 0.3rem rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  min-height: 12rem;
  will-change: transform, box-shadow;
}

.forma-card:hover,
.forma-card:focus-within {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.35rem 0.7rem rgba(0,0,0,0.12);
}

.forma-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.forma-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.forma-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.forma-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.3;
  margin: 0;
}

/* Dots */
.formas-dots {
  margin-top: 2rem;
  text-align: center;
}

.formas-dots .dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin: 0 0.3rem;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formas-dots .dot.active,
.formas-dots .dot:hover {
  background-color: #fa4700;
}

/* Responsivo */
@media (max-width: 40rem) {
  .formas-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .formas-grid::-webkit-scrollbar {
    display: none;
  }

  .forma-card {
    flex: 0 0 auto;
    width: 10rem;
    scroll-snap-align: start;
  }
}

@media (max-width: 24rem) {
  .formas-grid {
    flex-wrap: nowrap;
  }

  .forma-card {
    width: 9rem;
  }
}


.formas-ingresso-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
  font-size: 1.75rem; /* 28px */
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  color: #e63e14;
}

.formas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
}

.forma-card {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 0.15rem 0.3rem rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  min-height: 12rem;
}

.forma-card:hover,
.forma-card:focus-within {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.35rem 0.7rem rgba(0,0,0,0.12);
}

.forma-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.forma-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.forma-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.forma-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.3;
  margin: 0;
}

/* Dots navigation */
.formas-dots {
  margin-top: 2rem;
  text-align: center;
}

.formas-dots .dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin: 0 0.3rem;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formas-dots .dot.active,
.formas-dots .dot:hover {
  background-color: #fa4700;
}

/* RESPONSIVIDADE */

@media (max-width: 40rem) {
  .formas-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .formas-grid::-webkit-scrollbar {
    display: none;
  }

  .forma-card {
    flex: 0 0 auto;
    width: 10rem;
    scroll-snap-align: start;
  }
}

/* Telas muito pequenas — opcional */
@media (max-width: 24rem) {
  .formas-grid {
    display: flex;
    flex-wrap: nowrap;
  }

  .forma-card {
    width: 9rem;
  }
}

.footer {
    background: #0051ff;
    color: var(--branco);
    padding: 2rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 2rem;
    gap: 2rem;
}

.footer-col {
    flex: 1 1 200px;
    min-width: 180px; /* Garante largura mínima para colunas */
}

.footer-logo {
    width: 120px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: var(--branco);
    text-decoration: none;
    transition: var(--transicao);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--vermelho-destaque);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicao);
}

.footer-social .social-link:hover {
    background: var(--vermelho-destaque);
    transform: scale(1.1);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer {
        padding: 1rem 0; /* reduz padding vertical */
        font-size: 0.85rem; /* fonte um pouco menor */
    }

    .footer-grid {
        flex-direction: column;
        padding: 0 1rem;
        gap: 1rem; /* menos espaço entre colunas */
    }

    .footer-col {
        flex: 1 1 100%;
        text-align: center;
        margin-bottom: 0.8rem; /* menos margem */
    }

    .footer-logo {
        margin: 0 auto 0.8rem;
        width: 100px; /* menor logo no mobile */
    }

    .footer-links li {
        margin-bottom: 0.3rem; /* menos espaço entre links */
    }

    .footer-social {
        justify-content: center;
        gap: 0.7rem; /* ícones mais próximos */
        margin-top: 0.3rem;
    }

    .footer-social .social-link {
        width: 30px;
        height: 30px;
    }

    .footer-bottom {
        margin-top: 1rem;
        padding-top: 0.5rem;
        font-size: 0.7rem;
        opacity: 0.7;
        line-height: 1.4;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 10px 0 !important; /* força padding menor */
        font-size: 0.8rem !important;
    }

    .footer-grid {
        flex-direction: column !important;
        padding: 0 10px !important;
        gap: 10px !important;
    }

    .footer-col {
        flex: 1 1 100% !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .footer-logo {
        width: 90px !important;
        margin: 0 auto 10px auto !important;
    }

    .footer-links li {
        margin-bottom: 5px !important;
    }

    .footer-social {
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 5px !important;
    }

    .footer-social .social-link {
        width: 28px !important;
        height: 28px !important;
    }

    .footer-bottom {
        margin-top: 10px !important;
        padding-top: 5px !important;
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
        opacity: 0.7 !important;
        text-align: center !important;
    }
}