/* ========================================
   ESTILOS RESPONSIVOS
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .topheader {
        flex-direction: column;
        text-align: center;
    }

    .phone-text,
    .email-text {
        margin-bottom: 1rem;
    }

    .header {
        padding: 1rem 0;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .navbar {
        margin-top: 1rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .col-md-8,
    .col-md-4,
    .col-md-6 {
        margin-bottom: 2rem;
    }

    .footer-widget-area {
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .site-header {
        padding: 0.5rem 0;
    }

    .topheader {
        flex-direction: column;
        text-align: center;
    }

    .phone-text,
    .email-text {
        display: block;
        margin-bottom: 0.5rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .logo-image img {
        max-width: 80px;
    }

    .navbar {
        margin-top: 1rem;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .section {
        padding: 1.5rem 0;
    }

    .container {
        padding: 0 0.75rem;
    }

    .col-sm-12 {
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .footer-widget-area {
        margin-bottom: 1.5rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
        gap: 0.5rem;
    }

    .social-links a i {
        margin-right: 0.5rem !important;
    }

    .topheader .me-3 {
        margin-right: 0 !important;
    }

    .topheader .ms-3 {
        margin-left: 0 !important;
    }

    .topheader .border-start {
        border-left: none !important;
        padding-left: 0 !important;
    }
}

/* Extra Small */
@media (max-width: 360px) {
    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .section {
        padding: 1rem 0;
    }
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Animações */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }

    .fade-in {
        animation: fadeIn 0.6s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Print */
@media print {
    .site-header,
    .site-footer,
    .navbar,
    .sidebar {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
    }

    .container {
        max-width: 100%;
    }
}
