/* Estilos globais */
body, html {
    min-width: 350px;
}

@media (max-width: 350px) {
  body, html {
    min-width: 350px;
    overflow-x: auto;
  }
}

body {
    font-family: 'Open Sans', 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333333;
    margin: 0;
    overflow-x: hidden; /* Evita overflow horizontal */
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #0050a0;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

/* Navbar */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo img {
    max-width: 180px;
    height: auto;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.5rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-menu a:hover {
    color: #0050a0;
}

/* WhatsApp Button in Menu */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: #fff !important;
    text-decoration: none;
}

/* Menu Toggle Button (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 250px;
        background-color: #ffffff;
        padding: 4rem 1rem 1rem 1rem;
        box-shadow: -2px 0 4px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        width: 100%;
        padding: 1rem;
        justify-content: flex-start;
    }
    
    .nav-menu .btn-whatsapp {
        margin-top: 1rem;
        justify-content: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #0050a0;
    color: #fff;
}

.btn-primary:hover {
    background-color: #003c7a;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #0050a0;
    color: #0050a0;
}

.btn-outline:hover {
    background-color: #0050a0;
    color: #fff;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* Footer */
.footer {
    background-color: #0050a0;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer a {
    color: #e6f0ff;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.accessibility-logos, .location-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 2000;
    display: none; /* Controlado via JS */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Cookie Settings Modal */
.cookie-settings {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay */
    z-index: 2100; /* Above banner (2000) */
    overflow-y: auto;
}

.cookie-settings-content {
    background-color: #fff;
    margin: 10% auto; /* Centered vertically/horizontally */
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-option label {
    cursor: pointer;
    font-weight: 500;
}

.cookie-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .cookie-settings-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-buttons button {
        width: 100%;
    }
}

.testimonials-rotator {
    transition: opacity 250ms ease;
}

.testimonials-rotator.is-fading {
    opacity: 0;
}
