/* ===== RESPONSIVE.CSS - Media queries completas para responsividade ===== */

/* === LARGE DESKTOP (1200px+) === */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .about-content {
        gap: 5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === DESKTOP (992px - 1199px) === */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === TABLET LANDSCAPE (768px - 991px) === */
@media (max-width: 991px) and (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 1rem;
    }
    
    /* Header */
    .header {
        padding: 1rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-contact {
        justify-content: center;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 5rem;
        transition: 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Statistics */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Testimonials */
    .testimonial-content {
        padding: 2rem;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }
}

/* === TABLET PORTRAIT (481px - 767px) === */
@media (max-width: 767px) and (min-width: 481px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    /* Header */
    .header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .header-contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .header-contact span {
        font-size: 0.9rem;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 4rem;
        transition: 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.75rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
        width: 100%;
        display: block;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* About Section */
    .about-section {
        padding: 4rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-image {
        order: -1;
    }
    
    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px;
    }
    
    .timeline-content::before {
        left: -10px !important;
        border-width: 10px 10px 10px 0 !important;
        border-color: transparent var(--white) transparent transparent !important;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Services */
    .services-section {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Statistics */
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .carousel-controls {
        gap: 0.75rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    /* Contact */
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .map-iframe {
        height: 300px;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* === MOBILE LARGE (375px - 480px) === */
@media (max-width: 480px) and (min-width: 376px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Header */
    .header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .header-contact span {
        font-size: 0.85rem;
    }
    
    /* Navigation */
    .nav-menu {
        width: 90%;
        padding-top: 3rem;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 70vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .hero-btn {
        max-width: 250px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* About Section */
    .about-section {
        padding: 3rem 0;
    }
    
    .about-text h2 {
        font-size: 1.75rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-item {
        padding: 1.25rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .value-title {
        font-size: 1.1rem;
    }
    
    /* Services */
    .services-section {
        padding: 3rem 0;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    /* Statistics */
    .stats-section {
        padding: 2.5rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Contact */
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-submit {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .map-iframe {
        height: 250px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

/* === MOBILE SMALL (320px - 375px) === */
@media (max-width: 375px) {
    .container {
        padding: 0 0.5rem;
    }
    
    /* Header */
    .header {
        padding: 0.5rem 0;
    }
    
    .header-contact span {
        font-size: 0.8rem;
    }
    
    /* Navigation */
    .nav-menu {
        width: 95%;
        padding-top: 2.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 60vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-btn {
        max-width: 220px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* About Section */
    .about-section {
        padding: 2.5rem 0;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    /* Values Grid */
    .value-item {
        padding: 1rem;
    }
    
    .value-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .value-title {
        font-size: 1rem;
    }
    
    /* Services */
    .services-section {
        padding: 2.5rem 0;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    /* Statistics */
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 2.5rem 0;
    }
    
    .testimonial-content {
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    /* Contact */
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-title {
        font-size: 1.25rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .form-submit {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-iframe {
        height: 200px;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
}

/* === LANDSCAPE ORIENTATION === */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-btn {
        max-width: 200px;
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        padding-top: 2rem;
    }
    
    .nav-menu li {
        margin: 0.25rem 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* === HIGH DPI DISPLAYS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('/assets/images/banner@2x.webp');
    }
    
    .about-image img {
        content: url('/assets/images/sobre-nos@2x.webp');
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: none;
    }
    
    .carousel-container {
        transition: none;
    }
    
    .faq-answer {
        transition: none;
    }
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2a2a2a;
        --text-color: #e0e0e0;
        --border-color: #404040;
    }
    
    .header,
    .nav-menu,
    .contact-form,
    .info-card,
    .testimonial-content,
    .service-card,
    .value-item,
    .timeline-content,
    .faq-item,
    .footer {
        background: var(--light-gray);
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--primary-color);
        color: var(--white);
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        background: var(--white);
        color: var(--text-color);
        border-color: var(--border-color);
    }
}

/* === ACCESSIBILITY IMPROVEMENTS === */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --accent-color: #000000;
        --text-color: #000000;
        --border-color: #000000;
    }
    
    .hero-section {
        background: var(--white);
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--text-color);
    }
    
    .hero-btn {
        border: 3px solid var(--text-color);
        color: var(--text-color);
        background: var(--white);
    }
}

/* === FOCUS VISIBLE === */
@media (prefers-reduced-motion: no-preference) {
    .focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}