/* COR DA FFREIS #001b62 */
/* COR DO TEMPLATE #172b38 */

html { 
        zoom: 80%; 
    }

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

body {
    font-family: 'Poppins', 'Quicksand', sans-serif;
    background-color: #ffffff;
    color: #1a2c3e;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #eef2f8;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0.8rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 1400px) { .header-container { padding: 0.8rem 3rem; } }
@media (max-width: 1200px) { .header-container { padding: 0.8rem 2rem; } }
@media (max-width: 768px) { .header-container { flex-direction: column; padding: 1rem; } }

.logo-img {
    height: 75px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.3s;
}
.logo-img:hover { transform: scale(1.03); }

.nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    transition: all 0.3s;
    color: #1f2a44;
    font-family: 'Poppins', sans-serif;
}
.nav-links a i { margin-right: 8px; }
.nav-links a:hover {
    background-color: #f0f4fa;
    color: #8b2c2d;
    transform: translateY(-3px);
}
.nav-links a.active {
    background: linear-gradient(135deg, #8b2c2d 0%, #a03b3c 100%);
    color: white;
    box-shadow: 0 6px 14px rgba(139,44,45,0.3);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, rgba(10,31,44,0.95) 0%, rgba(12,37,53,0.95) 100%);
    color: #cbdde9;
    margin-top: 4rem;
    border-top: 5px solid #8b2c2d;
    width: 100%;
}
.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 4rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}
@media (max-width: 1400px) { .footer-container { padding: 3rem 3rem 1.5rem; } }
@media (max-width: 1200px) { .footer-container { padding: 3rem 2rem 1.5rem; } }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: white;
    border-left: 3px solid #a53f40;
    padding-left: 0.8rem;
}
.footer-col p, .footer-col a {
    color: #cbdde6;
    font-size: 0.85rem;
    text-decoration: none;
    line-height: 1.9;
    display: block;
}
.footer-col a:hover { color: white; transform: translateX(5px); }
.social-icons { margin-top: 1rem; display: flex; gap: 1rem; }
.social-icons a {
    background: rgba(255,255,255,0.1);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.social-icons a:hover { background: #8b2c2d; transform: translateY(-5px) rotate(360deg); }
.footer-bottom { text-align: center; padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.75rem; }

/* Conteúdo */
.page-content {
    width: 100%;
    max-width: 1600px;
    margin: 2rem auto;
    padding: 0 4rem;
}
@media (max-width: 1400px) { .page-content { padding: 0 3rem; } }
@media (max-width: 1200px) { .page-content { padding: 0 2rem; } }
@media (max-width: 768px) { .page-content { padding: 0 1.5rem; } }

/* Slider */
.slider-wrapper {
    width: 100%;
    max-width: 1376px;
    margin: 0 auto 3rem auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 50px -20px rgba(0,0,0,0.25);
    background-color: #1a1a2e;
}
.swiper {
    width: 100%;
    height: 768px;
}
.swiper-slide {
    width: 100%;
    height: 100%;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #000000;
}
.swiper-pagination-bullet-active { background: #8b2c2d !important; }

@media (max-width: 1400px) { .swiper { height: calc(768px * 0.85); } }
@media (max-width: 1200px) { .swiper { height: calc(768px * 0.7); } }
@media (max-width: 900px) { .swiper { height: calc(768px * 0.55); } }
@media (max-width: 768px) { .swiper { height: calc(768px * 0.45); } }

.hero-head {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #0a2e42, #1e4a6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.2rem;
    border-left: 6px solid #8b2c2d;
    padding-left: 1.2rem;
}

/* Cards e componentes */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}
.card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    padding: 1.8rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    flex: 1 1 280px;
    transition: all 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px rgba(0,0,0,0.1); }
.card i { font-size: 2.5rem; color: #8b2c2d; margin-bottom: 1rem; }

.btn-primary {
    background: #8b2c2d;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Poppins', sans-serif;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(139,44,45,0.3); }

/* Formulários */
form {
    background: rgba(251, 253, 255, 0.92);
    padding: 2rem;
    border-radius: 32px;
    border: 1px solid #eef2f8;
}
.form-group { margin-bottom: 1.2rem; }
input, textarea, select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255,255,255,0.95);
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #8b2c2d;
}
input[type="file"] { padding: 0.6rem; background: #f8fafc; }

.stats-bar {
    background: rgba(240, 246, 252, 0.9);
    border-radius: 28px;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}
.stat-number { font-size: 2.2rem; font-weight: 700; color: #8b2c2d; }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    cursor: pointer;
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover { color: #8b2c2d; }

/* Marcas grid */
.brands-section { margin: 3rem 0; }
.brands-section h3 { font-family: 'Quicksand', sans-serif; font-size: 1.8rem; margin-bottom: 1.5rem; color: #1e4a6b; }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}
.brand-item {
    background: rgba(248, 250, 252, 0.9);
    padding: 1rem;
    border-radius: 20px;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
}
.brand-item a { text-decoration: none; display: block; }
.brand-item img { max-width: 100%; height: 80px; object-fit: contain; transition: all 0.3s; }
.brand-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); background: white; }
@media (max-width: 1200px) { .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }

/* Mapa e componentes adicionais */
.map-container { margin: 2rem 0; border-radius: 28px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
#minasMap { height: 700px; width: 100%; border-radius: 28px; }

.google-maps-container {
    margin: 2rem 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.google-maps-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.about-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 2rem 0;
    align-items: center;
}
.about-text { flex: 1.2; font-size: 1.1rem; line-height: 1.7; }
.about-text p { margin-bottom: 1rem; }
.about-image { flex: 0.8; }
.about-image img { width: 100%; border-radius: 28px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); transition: transform 0.3s; }

.video-container {
    margin: 2rem 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}
@media (max-width: 768px) { .video-container iframe { height: 650px; } }

.photo-album { margin: 3rem 0; }
.photo-album h3 { font-family: 'Quicksand', sans-serif; font-size: 1.8rem; margin-bottom: 1.5rem; color: #1e4a6b; }
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.photo-item {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}
.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s;
}
.photo-item:hover { transform: translateY(-8px); box-shadow: 0 20px 35px rgba(0,0,0,0.15); }
.photo-item:hover img { transform: scale(1.05); }
@media (max-width: 768px) {
    .photo-grid { grid-template-columns: 1fr; }
    .photo-item img { height: 200px; }
}

.custom-popup .popup-title { font-weight: 700; color: #8b2c2d; font-size: 1.1rem; margin-bottom: 8px; }
.custom-popup p { margin: 5px 0; font-size: 0.85rem; }

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 28px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 28px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

:root {
  --brand-blue: #001b62;
  --soft-gray: #f4f7f9;
  --transition-speed: 0.4s;
}

/* Container ocupando toda a largura disponível */
.accordion-container {
  width: 100%;
  margin: 0;
  font-family: 'Arial', sans-serif;
  border-top: 2px solid var(--brand-blue);
}

.accordion-item {
  width: 100%;
  border-bottom: 1px solid #ddd;
}

/* Esconde o rádio button original */
.accordion-item input[type="radio"] {
  display: none;
}

/* Cabeçalho Estilizado */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: #fff;
  color: var(--brand-blue);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.accordion-header:hover {
  background-color: var(--soft-gray);
}

/* Ícone de seta estilizado com CSS Puro */
.icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.icon::before, .icon::after {
  content: '';
  position: absolute;
  background-color: var(--brand-blue);
  transition: transform var(--transition-speed) ease;
}

/* Barra horizontal do símbolo de + */
.icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Barra vertical do símbolo de + */
.icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* Conteúdo */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  transition: max-height var(--transition-speed) ease-in-out;
}

.accordion-content p, .accordion-content ul {
  padding: 10px 35px 30px 35px;
  margin: 0;
  color: #444;
  line-height: 1.8;
}

/* ESTADOS ATIVOS (Quando clicado) */

/* 1. Muda o fundo e a cor do texto do cabeçalho */
.accordion-item input[type="radio"]:checked ~ .accordion-header {
  background-color: var(--brand-blue);
  color: #ffffff;
}

/* 2. Rotaciona as barras para virar um símbolo de menos (-) */
.accordion-item input[type="radio"]:checked ~ .accordion-header .icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.accordion-item input[type="radio"]:checked ~ .accordion-header .icon::before {
  background-color: #ffffff;
}

/* 3. Expande o conteúdo */
.accordion-item input[type="radio"]:checked ~ .accordion-content {
  max-height: 500px; /* Valor alto o suficiente para o seu texto */
}

/* Apenas o ícone fica visível */
.lgpd-menu-toggle {
    /* Botão com escudo, visível */
}

/* Conteúdo do menu - totalmente escondido por padrão */
.lgpd-menu-content {
    transform: translateY(-50%) translateX(100%);
    visibility: hidden;
    opacity: 0;
}

/* Menu expandido - mostra o conteúdo */
.lgpd-float-menu.expanded .lgpd-menu-content {
    transform: translateY(-50%) translateX(0);
    visibility: visible;
    opacity: 1;
}

/* Estado normal - apenas ícone */
.accessibility-fab {
    width: 56px;
    height: 56px;
    gap: 0;
}

.accessibility-fab i {
    font-size: 28px;
    width: 56px;
    height: 56px;
}

/* Texto escondido */
.accessibility-fab .fab-text {
    opacity: 0;
    width: 0;
}

/* Hover - expansão */
.accessibility-fab:hover {
    width: auto;
    padding-right: 20px;
    gap: 8px;
}

.accessibility-fab:hover .fab-text {
    opacity: 1;
    width: auto;
}
