: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%);
}

/* =================== BOTÃO BASE =================== */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transicao);
    text-decoration: none;
    display: inline-block;
}

@media (max-width:550px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        width: auto !important;        
    }
}


* {
    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 {
    width: 150px;
    transition: var(--transicao);
    padding-left: 20px;
    background-color: transparent;
    border: none;
    border-radius: 0;
}


.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);
}

/* ======== NAV LIST DESKTOP ======== */
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;       
  gap: 20px;           
  background-color: transparent; /* transparente no desktop */
}

/* ======== NAV LIST MOBILE ======== */
@media (max-width: 992px) {
  .nav-list {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--branco); /* fundo branco só no mobile */
    flex-direction: column;
    padding: 2rem;
    transition: var(--transicao);
  }

  .nav-list.active {
    left: 0;
  }

  .nav-list a {
    color: var(--azul-escuro); /* links azuis no mobile */
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    width: 100%;
  }
}

.nav-list li {
  position: relative;  /* Necessário para o dropdown */
}

.nav-list a {
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  color: #ffffff;
}

/* Dropdown oculto por padrão */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;           /* Abaixo do item principal */
  left: 0;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.336); /* padrão: translúcido */
  backdrop-filter: blur(6px); /* efeito vidro */
}

/* Links dentro do dropdown */
.dropdown-content li a {
  padding: 10px;
  color: #ffffff;
}

.dropdown-content li a:hover {
  background-color: #b1b1b1;
}

/* Mostrar dropdown ao passar o mouse */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown quando o header tiver rolado */
.header.scrolled .dropdown-content {
  background-color: #fff;  /* branco sólido */
  backdrop-filter: none;   /* remove efeito vidro */
}

/* 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;
    text-align: left;
    background: linear-gradient(90deg, #ff4ecd, #8e44ad, #f1c40f);  /* Rosa → Roxo → Amarelo */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;  /* Para navegadores modernos */
    color: transparent;
}

.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: #4400ff;
}

.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;
  }
}

/* Container Responsivo por Proporção */
.container {
  width: 90vw;
  max-width: 65rem;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.sobre-curso-section {
  background-color: #f9f9f9;
  padding: 3rem 1rem; /* 48px 16px */
  font-family: 'Montserrat', sans-serif;
}

.sobre-curso-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 66rem; /* 1056px */
  margin: 0 auto;
  gap: 2rem; /* 32px */
  align-items: flex-start;
}

.sobre-curso-texto {
  flex: 1 1 100%;
  font-size: clamp(0.90rem, 1vw, 0.97rem); /* 13.6px a 15.2px */
  color: #333;
  text-align: justify;
  line-height: 1.6;
  padding: 0 clamp(0.75rem, 2.5vw, 1.5rem); /* 12px a 24px */
}

.sobre-curso-texto h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem); /* 20px a 25.6px */
  margin-bottom: 1rem; /* 16px */
  color: #004080;
}

.sobre-curso-texto p {
  margin-bottom: 0.875rem; /* 14px */
}

@media (max-width: 900px) {
  .sobre-curso-texto h2 {
    text-align: center;
  }
}

/* Responsivo */
@media (max-width: 768px) {
    .servico-card {
        max-width: 90%;
    }

    .servico-content h3 {
        font-size: 1rem;
    }

    .servico-content p,
    .servico-detalhes li {
        font-size: 0.8rem;
    }
}


.semana-titulo {
  text-align: center;
  font-size: 1.3rem; /* opcional: ajusta o tamanho */
  font-weight: 350; /* opcional: deixa em negrito */
  margin-bottom: 20px; /* espaço abaixo do título */
  color: #ffffff; /* ou a cor que desejar */
}

.semana-section {
  padding: 80px 80px;
  background: linear-gradient(135deg, #ff3c00, #ffa600);
  position: relative;
  color: #fff;
}

.semana-texto h2 {
  font-size: 1.3rem;        /* 24px */
  margin-bottom: 1.25rem;   /* 20px */
  color: #ffffff;
  font-weight: 350;
  line-height: 1.3;
  text-align: left;
}

.semana-content {
  max-width: 75rem;           /* 1200px */
  margin: 0 auto;
  padding: 0 1.25rem;         /* 20px */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;                  /* 16px */
}

.semana-texto {
  flex: 1 1 50%;
  max-width: 32rem;           /* 480px */
  padding-right: 0.625rem;    /* 10px */
  text-align: justify;
}

.semana-imagem {
    flex: 1 1 32%;
    max-width: 40%;
    display: flex;
    justify-content: center;
}

.semana-imagem img {
    width: 100%;
    max-width: 100%;
    height: auto; /* Mantém a proporção natural */
    object-fit: cover; /* Mantém o crop, mas só se houver altura definida no futuro */
    border-radius: 20px; /* Valor maior, como pediu */
    box-shadow: 15px 15px 0 #002b5c, 0 0.25rem 1.25rem rgba(0, 0, 0, 0.3); /* Inclui o fundinho vinho + sombra leve */
}

  /* Esconde todos, exceto o ativo */
.semana-slider .semana-content {
  display: none;
  animation: fade 0.5s ease-in-out;
}

.semana-slider .semana-content.active {
  display: flex;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Botões pequenos laterais */
.arrow-btn {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: none;               /* Sem fundo */
  color: #ffffff67;               /* Cor da seta discreta */
  border: none;                   /* Sem borda */
  font-size: 2rem;              /* Tamanho bom para visibilidade */
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
  padding: 0;                     /* Sem espaço interno que pareça botão */
  line-height: 1;
}

.arrow-btn:hover {
  color: #ffffff6e;                 /* Mais visível ao passar o mouse */
}

.arrow-btn.prev {
  left: -30px;
}

.arrow-btn.next {
  right: -30px;
}

@media (max-width: 768px) {
  .semana-section {
    padding: 40px 20px; /* padding lateral reduzido para o mobile */
  }

  .semana-content {
    padding: 0 10px;
    flex-direction: column;
    gap: 2rem;
  }

  .semana-texto,
  .semana-imagem {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0;
  }

  .semana-texto h2 {
    font-size: 1.4rem;
  }

  .semana-texto p {
    font-size: 0.9rem;
  }

  .semana-imagem img {
    max-width: 90%;
    height: auto;
  }
}

/* Estilo da paginação com pontinhos */
.semana-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.semana-page {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #ffffff60; /* tom suave */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.semana-page:hover {
  background-color: #ffffffcc;
  transform: scale(1.2);
}

.semana-page.active {
  background-color: #fff;
}

#servicos .section-title {
  text-align: center;
  margin: 2rem auto 1.5rem auto; /* margem de cima aumentada */
  font-weight: 400; /* mais destaque */
  font-size: 1.8rem; /* aumenta o tamanho da fonte */
  line-height: 1.3; /* melhora a leitura */
}

/* SEÇÃO DOCENTES */
.docentes-section {
  padding: 3.75rem 0.9375rem; /* 60px 15px */
  background: linear-gradient(135deg, #f1f1f1, #ffffff);
  color: #000;
  position: relative;
}

/* TÍTULO */
.docentes-titulo {
  text-align: center;
  margin-bottom: 1.25rem; /* 20px */
}

.docentes-titulo h2 {
  font-size: 1.3rem;
  color: #004080;
  margin: 0;
}

/* CONTEÚDO: TEXTO E IMAGEM */
.docentes-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 56.25rem; /* 900px */
  margin: 0 auto;
  gap: 1.25rem; /* 20px */
}

/* TEXTO */
.docentes-texto {
  flex: 1 1 48%;
  max-width: 30rem; /* 480px */
  text-align: justify;
  padding-right: 1.25rem; /* 20px */
  font-size: 0.9rem;
  line-height: 1.8;
  color: #181818;
}

.docentes-texto h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.25rem 0; /* remove espaço grande embaixo */
}

.docentes-texto p {
  margin: 0.25rem 0; /* reduz espaçamento entre parágrafos */
}

.docentes-texto a {
  display: inline-block;
  margin: 0.25rem 0 0 0; /* remove margem grande em cima e baixo */
  color: #004AAD;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.docentes-texto a:hover {
  color: #003366;
}

/* CONTATO */
.docente-contato p {
  margin: 0.25rem 0; /* mantém espaçamento pequeno */
  font-size: 0.95rem;
}

/* IMAGEM */
.docentes-imagem-carousel {
  flex: 1 1 40%;
  max-width: clamp(12.5rem, 40%, 18.75rem); /* 200px - 300px */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem; /* 10px */
  position: relative;
}

.docentes-imagem-carousel .carousel-container img {
  width: 100%;
  max-width: 90%;
  aspect-ratio: 4/5;
  height: auto;
  object-fit: cover;
  border-radius: 1.25rem; /* 20px */
  box-shadow: 0.9375rem 0.9375rem 0 #6b1513, 0 0.25rem 1.25rem rgba(0,0,0,0.3);
  transition: opacity 0.5s ease, visibility 0.5s ease;
  position: absolute;
  opacity: 0;
  visibility: hidden;
}

.docentes-imagem-carousel .carousel-container img.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* RESPONSIVO */
@media (max-width: 60rem) { /* 960px */
  .docentes-content {
    flex-direction: column-reverse;
    align-items: center;
    max-width: 90%;
    margin: 1.25rem auto; /* 20px */
    padding: 0;
  }

  .docentes-imagem-carousel {
    max-width: 15.625rem; /* 250px */
    margin: 0 auto 1.25rem; /* 20px */
  }

  .docentes-imagem-carousel img {
    width: 50%;
    max-width: 8.75rem; /* 140px */
    aspect-ratio: 3/4;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.15);
    opacity: 1 !important;
    visibility: visible !important;
    position: static;
  }

  .docentes-texto {
    padding: 1.25rem; /* 20px */
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 90%;
  }
}

/* Contato simplificado */
.docente-contato p {
  margin: 0; /* remove margem em cima e embaixo */
  padding: 0; /* garante que não haja padding */
  line-height: 1.4; /* opcional, para deixar compacto */
  font-size: 0.95rem;
}

.docente-contato p a {
  margin: 0; /* remove margem do link */
  padding: 0;
  text-decoration: none;
  color: #004AAD;
}

#docente-lattes {
  margin: 0; /* remove margem do link Lattes */
  padding: 0;
  display: inline-block;
  font-weight: bold;
  color: #004AAD;
  text-decoration: none;
}

/* Contato simplificado */
.docente-contato p {
  margin: 0; /* remove margem em cima e embaixo */
  padding: 0; /* garante que não haja padding */
  line-height: 1; /* opcional, para deixar compacto */
  font-size: 0.95rem;
}

.docente-contato p a {
  margin: 0.3rem; /* remove margem do link */
  padding: 0;
  text-decoration: none;
  color: #004AAD;
}

#docente-lattes {
  margin: 0; /* remove margem do link Lattes */
  padding: 0;
  display: inline-block;
  font-weight: bold;
  color: #004AAD;
  text-decoration: none;
}

.docentes-texto {
  text-align: justify;
}
.docentes-texto p {
  text-align: justify;
}


/* 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;
}

.servicos-carousel {
  display: flex;
  gap: 2rem; /* antes 1rem → agora mais espaço */
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  justify-content: center;
}


.servico-card {
  flex: 0 0 auto;
  width: 16rem;
  max-width: 18rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  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;
  margin-bottom: 2rem; /* NOVO: dá espaço abaixo dos cards */
}

  .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: 9rem; /* 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;
  }

  @media (max-width: 768px) {
  .servicos-carousel {
    flex-direction: column;
    align-items: center;
  }

  .servico-card {
    width: 90%;       /* ocupa quase toda a tela no mobile */
    max-width: 22rem; /* limite visual */
    margin-bottom: 1.5rem;
  }
}

.footer {
    background: var(--cinza-escuro);
    color: var(--cinza-escuro);
    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(--cinza-escuro);
    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.404);
    color: var(--cinza-escuro);
    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: cinza-escuro;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.384);
    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;
    }
}

.footer-bottom a {
  color: inherit;           /* mantém a cor do texto do container */
  text-decoration: none;    /* remove sublinhado */
  cursor: pointer;          /* mantém cursor de link */
  transition: var(--transicao);
}

.footer-bottom a:hover {
  color: var(cinza-escuro); /* efeito hover igual aos links do footer */
  text-decoration: none;
}
