/* Responsive Design - Sinhá Junqueira */
/* Mobile-first approach */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .logo {
        text-align: center;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-placeholder {
        padding: 2rem;
    }

    .hero-placeholder span {
        font-size: 3rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .stat .number {
        font-size: 2rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .team-member {
        padding: 1.5rem;
    }

    .appointment-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .content-article h3 {
        font-size: 1.2rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        text-align: center;
    }

    .service-icon,
    .member-avatar {
        font-size: 2.5rem;
    }

    .service-card h3,
    .team-member h4 {
        font-size: 1.1rem;
    }

    .appointment-form {
        padding: 1.5rem 1rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-section {
        text-align: center;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .content-article h3 {
        font-size: 1.1rem;
    }

    .content-article ul {
        padding-left: 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .hero-placeholder {
        padding: 1.5rem;
    }

    .hero-placeholder span {
        font-size: 2.5rem;
    }

    .hero-placeholder p {
        font-size: 1rem;
    }

    .stat .number {
        font-size: 1.8rem;
    }

    .service-card,
    .team-member {
        padding: 1.2rem;
    }

    .btn {
        max-width: 250px;
        padding: 0.7rem 1.2rem;
    }

    .appointment-form {
        padding: 1.2rem 0.8rem;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 50px 50px;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .appointment,
    .whatsapp-btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .container {
        max-width: none !important;
        padding: 0 !important;
    }

    section {
        page-break-inside: avoid;
    }

    .service-card,
    .team-member {
        break-inside: avoid;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --cinza-claro: #2d3748;
        --cinza-medio: #4a5568;
        --cinza-escuro: #a0aec0;
        --branco: #1a202c;
    }

    body {
        background-color: var(--branco);
        color: var(--cinza-escuro);
    }

    .about,
    .team,
    .content-article {
        background-color: var(--cinza-claro);
    }

    .service-card,
    .team-member {
        background-color: var(--branco);
        border: 1px solid var(--cinza-medio);
    }
}

/* Focus Visible */
.btn:focus-visible,
.form-group input:focus-visible,
.form-group select:focus-visible {
    outline: 2px solid var(--azul-bebe-escuro);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --rosa-claro: #ff69b4;
        --azul-bebe: #00bfff;
        --branco: #ffffff;
        --cinza-claro: #ffffff;
        --cinza-medio: #e0e0e0;
        --cinza-escuro: #000000;
    }

    .service-card,
    .team-member {
        border: 2px solid var(--cinza-escuro);
    }
}


