/* ============================================
   ESTILO GERAL
   ============================================ */

:root {
  --roxo-escuro: #55214b;
  --roxo-claro: #7e144f;
  --jacarta: #422e6a;
  --amarelo: #fbcf42;
  --vermelho-discreto: #9e2a2b;
  --text: #2B2B2B;
  --white: #FFFFFF;
  --paper: #F7F6F9;
  --gradient-hero: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--roxo-claro) 100%);
  --container-width: 1280px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  padding-top: 90px;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

html {
  scroll-padding-top: 100px;
  overflow-x: hidden;
  width: 100%;
  font-size: 85%;
}

/* ============================================
   TIPOGRAFIA (CORRIGIDA E SEPARADA)
   ============================================ */

/* H1: TÍTULO PRINCIPAL DO SITE (NO HERO) */

h1 {
  color: var(--amarelo);
  /*CORRIGIDO: Volta a ser Amarelo no topo;*/
  font-weight: 800;
}

/* ============================================
   ESTILO DOS TÍTULOS (H2) - V5 (LIMPO E ORIGINAL)
   ============================================ */

/* --- TÍTULOS COM O DEGRADÉ "MARAVILHOSO" --- */
h2, .section-title {
  /* A magia do degradé */
  background: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--jacarta) 100%);
  -webkit-background-clip: text; /* Recorta o fundo no formato do texto */
  -webkit-text-fill-color: transparent; /* Deixa o texto transparente para mostrar o fundo */
  background-clip: text;
  
  font-weight: 800; /* Mais grosso fica mais bonito no degradé */
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  display: inline-block; /* Importante para o recorte funcionar bem */
  width: 100%; /* Garante que mantém a centralização */
}

.section-title::after {
  display: none;
}

/* H3: Títulos dentro dos cards (Leis, Serviços, etc.) */
h3 {
  color: var(--roxo-escuro);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Título menor (usado em "Canais de Emergência") */
.section-title--small {
  color: var(--roxo-escuro);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* H4 e SECTION-SUBTITLE: SUBTÍTULOS MENORES/TEXTO EXPLICATIVO GERAL */

h4, .section-subtitle {
  color: var(--text);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* MENU */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 1000;
  /* ALTERADO: Efeito Glassmorphism (Vidro) */
  background: rgba(66, 46, 106, 0.95); /* Cor Jacarta com 95% de opacidade */
  backdrop-filter: blur(10px);         /* Desfoque do fundo */
  -webkit-backdrop-filter: blur(10px); /* Compatibilidade Safari */
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); /* Sombra mais suave */
  border-bottom: 1px solid rgba(255,255,255,0.05); /* Borda sutil */
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo img {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--amarelo);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--roxo-escuro);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

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

  .header__logo img {
    height: 60px;
  }
}

/* HERO (FINAL: ALTURA COMPACTA, IMAGEM ALINHADA) */

.hero {
  background: var(--jacarta);
  min-height: 450px;
  padding-top: 60px;
  padding-bottom: 0;
  border-radius: 0;
  color: white;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 768px) {
  .hero {
    padding-top: 80px;
  }
}

/* Espaçamento superior reduzido no PC */

.hero-text {
  padding-bottom: 0px;
}

/* CRÍTICO: Elimina o espaçamento extra */

.hero-text h1 {
  color: var(--amarelo);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 480px;
  color: white;
}

.btn-cta {
  background: var(--amarelo);
  color: var(--jacarta);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.btn-cta:hover {
  transform: translateY(-3px);
  background: #fff;
}

.hero-img {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  align-self: stretch;
}

/* regra ajustada: limita largura e altura da imagem do hero para compactar */
.hero-img img {
  max-width: 420px;   /* limita largura máxima para compactar visualmente */
  width: 100%;
  max-height: 320px;  /* altura máxima reduzida */
  object-fit: contain;
  margin-bottom: -10px;
  display: block;
}

/* telas maiores: permite imagem um pouco maior, mas ainda compacta */
@media (min-width: 768px) {
  .hero-img {
    justify-content: flex-end;
  }

  .hero-img img {
    max-width: 520px;
    max-height: 360px;
    margin-right: 20px;
    margin-bottom: -10px;
    display: block;
  }
}

/* telas muito pequenas: reduzir ainda mais ou ocultar se necessário */
@media (max-width: 576px) {
  .hero-img img {
    max-width: 260px;
    max-height: 200px;
    margin-bottom: 0;
  }
}

/* CARROSSEL */

.carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
}

.campaign-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.campaign-track::-webkit-scrollbar {
  display: none;
}

.nav-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--jacarta);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-arrow:hover {
  background: var(--amarelo);
}

.prev-btn {
  left: -10px;
}

.next-btn {
  right: -10px;
}

@media (min-width: 768px) {
  .nav-arrow {
    display: flex;
  }
}

.camp-card {
  flex: 0 0 280px;
  min-height: 180px;
  padding: 25px;
  position: relative;
  border-radius: var(--radius);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.camp-card i {
  font-size: 2rem;
  color: white;
}

/* CORREÇÃO: Garante que ícones no card amarelo sejam escuros para leitura */
.camp-card.bg-amarelo-texto-roxo i {
  color: var(--roxo-escuro);
}

/* Ícone Normal */

.camp-card h3 {
  color: inherit;
  font-size: 1.2rem;
  font-weight: 800;
}

.camp-card a {
  color: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.camp-card--video a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.camp-card--video {
  background: #222;
  padding: 0;
  overflow: hidden; /* Substitui o estilo inline do HTML */
}

/* NOVO: Estilo do iframe para validação HTML e responsividade */
.camp-card--video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 200px; /* Garante altura mínima visual */
  display: block;
}

.camp-card--video i.bi-play-circle {
  font-size: 3rem;
  color: var(--amarelo);
  margin-bottom: 10px;
}

.drag-hint {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: -10px;
}

@media (min-width: 768px) {
  .drag-hint {
    display: none;
  }
}

/* SERVIÇOS */

.section {
  padding: 60px 0;
}

.section--bg {
  background: white;
}

.info-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.badge-item {
  background: white;
  border: 1px solid var(--roxo-claro);
  color: var(--roxo-claro);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.badge-item:hover {
  background: var(--roxo-claro);
  color: white;
}

.service-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.denuncia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 50px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .service-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .denuncia-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Alinhamento consertado */

.service-card-detailed, .content-box {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  border-top: 5px solid var(--amarelo);
  /* ALTERADO: Sombras modernas e transição */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* NOVO: Efeito ao passar o mouse (Levantar) */
.service-card-detailed:hover, .content-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.12);
}

.service-card-detailed h3, .content-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--paper);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--jacarta);
}

.service-card-detailed h3 i,
.butique-title i {
  font-size: 1.5rem;
}

.content-box h3 i {
  font-size: 2rem;
}

.item-detalhe {
  margin-bottom: 20px;
}

.item-detalhe strong {
  display: block;
  color: var(--roxo-claro);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.item-detalhe p {
  margin: 3px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.item-detalhe i {
  color: var(--jacarta);
  font-size: 1rem;
}

.item-detalhe a {
  color: var(--text);
  text-decoration: none !important;
}

.item-detalhe a:hover {
  color: var(--jacarta);
}

/* Passo a Passo (Agora dentro do Card) */

.passo-a-passo-box {
  background: #fffdf2;
  padding: 15px;
  border-radius: 12px;
  margin-top: 25px;
  border: 1px solid var(--amarelo);
}

.passo-a-passo-box h4 {
  color: var(--jacarta);
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.passo-a-passo-box ul {
  padding-left: 20px;
  margin: 0;
}

.passo-a-passo-box li {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 5px;
}

/* CANAIS EMERGÊNCIA */

.emergency-disques-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

/* ============================================
   NOVOS BOTÕES DE EMERGÊNCIA (DEGRADÉ)
   ============================================ */

.disque-btn {
  /* MUDANÇA: Agora usa o degradé roxo */
  background: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--jacarta) 100%); 
  color: white;
  padding: 12px 25px; /* Aumentei um pouco para ficar mais elegante */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center; /* Garante texto centralizado */
  gap: 10px;
  font-size: 0.95rem;
  transition: 0.3s ease;
  min-width: 220px;
  border: none; /* Remove bordas antigas se houver */
  box-shadow: 0 4px 15px rgba(85, 33, 75, 0.2); /* Sombra suave roxa */
}

.disque-btn i {
  font-size: 1.1rem; /* Ícone um pouco maior */
}

.disque-btn:hover {
  transform: translateY(-3px);
  /* MUDANÇA: Em vez de mudar a cor de fundo, aumentamos o brilho */
  filter: brightness(1.2); 
  box-shadow: 0 8px 25px rgba(85, 33, 75, 0.4);
  color: white;
}

/* ============================================
   SECÇÃO DIREITOS (LEIS)
   ============================================ */

.leis-grid {
  display: grid;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.lei-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid var(--amarelo);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lei-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.12);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  background: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--jacarta) 100%);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(85, 33, 75, 0.2);
  transition: 0.3s ease;
}

.btn-cta-secondary:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
  box-shadow: 0 8px 25px rgba(85, 33, 75, 0.4);
  color: white;
}

.lei-card h3 {
  font-size: 1.25rem;        /* Tamanho da fonte ajustado */
  color: var(--roxo-escuro); /* Alterado para Roxo Escuro */
  font-weight: 700;
  margin-bottom: 10px;
}

/* ============================================
   DESIGN REFORMULADO V2 - BUTIQUE SOLIDÁRIA
   ============================================ */

/* Texto introdutório maior */
.butique-intro-text {
    font-size: 1.15rem; /* Aumentei o tamanho */
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

/* Estilo do Carrossel - Reduzi altura */
#carouselButique {
    border: 4px solid #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-width: 100%; /* Garante responsividade */
}

/* Imagens menores na altura */
.carousel-item img {
    height: 320px; /* Reduzido de 450px para 320px para ficar mais compacto */
    object-fit: cover;
    object-position: center;
}

/* Card de Ações (Direita) */
.butique-actions-block {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(85, 33, 75, 0.05);
    text-align: center; /* Centraliza tudo dentro do bloco */
}

.butique-title {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--roxo-escuro);
    margin-bottom: 20px;
}

/* Lista de Itens (Pílulas) centralizada */
.donation-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza as pílulas */
    gap: 10px;
    margin-bottom: 25px;
}

.donation-list li {
    background: #fdf2f8;
    color: var(--roxo-escuro);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(85, 33, 75, 0.1);
    transition: 0.3s;
}

.donation-list li:hover {
    background: var(--roxo-escuro);
    color: #fff;
}

/* Dropdown */
.locations-dropdown {
    width: 100%;
    margin-bottom: 15px;
    text-align: left; /* Mantém o texto dos endereços alinhado à esquerda para leitura */
}

.locations-dropdown summary {
    cursor: pointer;
    color: var(--roxo-escuro);
    font-weight: 700;
    list-style: none;
    padding: 12px;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: 0.3s;
    user-select: none;
}

.locations-dropdown summary:hover {
    background-color: #eee;
}

.locations-dropdown summary::-webkit-details-marker {
    display: none;
}

/* Animação da seta */
.locations-dropdown summary .arrow-icon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

/* Quando aberto, a seta gira */
.locations-dropdown[open] summary .arrow-icon {
    transform: rotate(90deg);
}

.location-list {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    max-height: 250px;
    overflow-y: auto;
}

.loc-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.loc-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.loc-item strong {
    color: var(--roxo-escuro);
    display: block;
    margin-bottom: 2px;
}

.loc-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    display: flex; /* Alinha ícone e texto na mesma linha */
    align-items: center; /* Centraliza verticalmente */
    gap: 4px; /* Espaço entre o ícone e o texto */
}

.loc-item i {
    color: var(--jacarta); /* Cor roxa no ícone */
    font-size: 1rem;
    min-width: 16px; /* Garante que o ícone não esmague se o texto for longo */
}

/* Botão Quero Doar */
.btn-butique-doar {
    width: 100%;
    justify-content: center;
    background-color: var(--amarelo);
    color: var(--jacarta);
    font-weight: 800;
    border: none;
    transition: 0.3s;
}

/* Efeito Hover Invertido (Fica Branco com texto Roxo/Jacarta) */
.btn-butique-doar:hover {
    background-color: #ffffff;
    color: var(--jacarta);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 220px;
    }
    
    .butique-intro-text {
        font-size: 1rem;
        text-align: center;
    }
}

/* ============================================
   RODAPÉ COMPACTO E LIMPO
   ============================================ */

.footer {
  background-color: var(--jacarta);
  padding-top: 40px;
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.9); /* Aumentado de 0.8 para 0.9 para melhor contraste */
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Links: Única coisa que muda de cor (interação) */
.footer a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8); /* Aumentado de 0.6 para 0.8 */
  transition: 0.2s;
}

.footer a:hover {
  color: var(--amarelo);
  opacity: 1;
}

/* Logo Principal */
.footer-logo-img {
  height: 50px; /* Bem menor e discreta */
  width: auto;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 300px;
  margin-bottom: 20px;
  opacity: 0.9; /* Aumentado de 0.7 para 0.9 */
}

/* Títulos */
.footer-section-title {
  color: var(--white);
  font-weight: 400; /* Alterado: Remove o negrito */
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Listas */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

/* Logos de Apoio (Estáticas e Limpas) */
.apoio-container {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-partner-logo {
  height: 30px; /* Pequenas */
  width: auto;
  opacity: 0.4; /* Bem discretas */
  filter: brightness(0) invert(1); /* Força ficarem brancas */
  /* Sem hover effect, como pedido */
}

/* Copyright */
.footer-divider {
  border-color: rgba(255, 255, 255, 0.05);
  margin: 30px 0 15px;
}

.footer-copyright-text {
  font-size: 0.75rem;
  opacity: 0.8; /* Aumentado de 0.4 para 0.8 para passar no teste de contraste */
}

/* --- MOBILE OTIMIZADO (Compacto) --- */
@media (max-width: 991px) {
  .footer {
    text-align: center;
    padding-top: 30px;
  }

  .footer-logo-img {
    height: 45px;
    margin: 0 auto 15px auto;
  }

  .footer-text {
    margin: 0 auto 25px auto;
    font-size: 0.8rem;
  }

  /* Organiza os links em 2 colunas no mobile para economizar altura */
  .footer .row .col-6 {
    text-align: center !important;
  }
  
  .footer-section-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .apoio-container {
    justify-content: center;
    margin-top: 15px;
    gap: 20px;
  }
  
  /* Remove margens extras do Bootstrap no mobile */
  .footer .row {
    margin-bottom: 0;
  }
}

/* --- DESKTOP AJUSTES (Garante alinhamento à esquerda na Web) --- */
@media (min-width: 992px) {
  .footer-section-title {
    text-align: left;
  }
  
  .apoio-container {
    justify-content: flex-start;
  }
}

/* Botões Flutuantes */
.fab-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 100;
  transition: 0.3s;
}

.fab-whatsapp:hover {
  transform: translateY(-5px);
  background-color: #128C7E;
  color: white;
}

.fab-sair {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--vermelho-discreto);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
  text-decoration: none;
}

.fab-sair:hover {
  transform: translateY(-3px);
  background: #7a1e20;
  color: white;
}

/* ============================================
   CLASSES UTILITÁRIAS E REFATORAÇÃO
   ============================================ */

.bg-roxo-escuro {
  background: var(--roxo-escuro);
}

.bg-roxo-claro {
  background: var(--roxo-claro);
}

.bg-amarelo-texto-roxo {
  background: var(--amarelo);
  color: var(--roxo-escuro);
}

.text-roxo-escuro {
  color: var(--roxo-escuro);
}

.mt-50-center {
  margin-top: 50px;
  text-align: center;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-30 {
  margin-bottom: 30px;
}

.form-description {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: #666;
}

.btn-submit-full {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.map-frame {
  border: 0;
  min-height: 450px;
  border-radius: 20px;
}

/* ============================================
   VALIDAÇÃO DE FORMULÁRIO
   ============================================ */

.mb-3.error .form-control {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.mb-3.success .form-control {
  border-color: #28a745;
  background-color: #f0fff4;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
}

.form-feedback-message {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
  transition: opacity 0.3s ease;
}

.form-feedback-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-feedback-message i {
  font-size: 1.3rem;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ESTADOS DE FOCO (ACESSIBILIDADE)
   ============================================ */

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--amarelo);
  outline-offset: 2px;
}

.btn-cta:focus,
.btn-cta-secondary:focus,
.btn-submit-full:focus {
  outline: 3px solid var(--amarelo);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(251, 207, 66, 0.2);
}

.nav-links a:focus {
  outline: 2px solid var(--amarelo);
  outline-offset: 3px;
  border-radius: 4px;
}

.card:focus-within,
.lei-card:focus-within,
.service-card:focus-within {
  box-shadow: 0 0 0 3px var(--amarelo);
}

/* Skip to content (para navegação por teclado) */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--roxo-escuro);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
}

.skip-to-content:focus {
  top: 0;
}

/* ============================================
   MELHORIAS DE PERFORMANCE
   ============================================ */

/* Lazy loading placeholder */
img[loading="lazy"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

img[loading="lazy"].loaded {
  animation: none;
  background: none;
}

/* --- ESTILOS VISUAIS BUTIQUE --- */

.quote-card-visual {
    background: linear-gradient(135deg, var(--roxo-escuro) 0%, var(--jacarta) 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(66, 46, 106, 0.15);
    margin-top: 0;
}

.quote-icon {
    font-size: 2rem;
    color: var(--amarelo);
    opacity: 0.5;
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

.quote-card-visual p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 500;
}

.quote-card-visual span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--amarelo);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ajuste consolidado das imagens do carrossel */
.carousel-item img {
    object-fit: cover;
    object-position: center;
    height: 320px; /* Altura padrão */
}

@media (min-width: 992px) {
    .carousel-item img {
        height: 320px; /* Mantém altura em desktop */
    }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 220px; /* Altura reduzida em mobile */
    }
}

.butique-intro-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

/* --- Ajuste de Alinhamento para os Cards de Serviço --- */

/* Transforma o cartão numa coluna flexível para ocupar a altura total */
.service-card-detailed {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Empurra a caixa informativa para o fundo do cartão */
.service-card-detailed .passo-a-passo-box {
  margin-top: auto;
  /* As cores mantêm-se as originais (fundo amarelo claro) */
}

/* ============================================
   FIM DO ARQUIVO
   ============================================ */