/* ========================================
   FORMAN Medicina Masculina - Responsive
   Media queries para diferentes dispositivos
   ======================================== */

/* === TABLET (768px - 1023px) === */
@media (max-width: 1023px) {

    /* Typography */
    h1 {
        font-size: var(--font-size-4xl);
    }

    h2 {
        font-size: var(--font-size-3xl);
    }

    h3 {
        font-size: var(--font-size-2xl);
    }

    /* Hero */
    .hero__title {
        font-size: var(--font-size-4xl);
    }

    .hero__subtitle {
        font-size: var(--font-size-lg);
    }

    /* Service Cards */
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section Treatment */
    .section-treatment {
        flex-direction: column;
        gap: var(--spacing-2xl);
    }

    /* Clinic Gallery */
    .clinic-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === MOBILE (até 767px) === */
@media (max-width: 767px) {

    /* Container */
    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    /* Typography */
    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    h3 {
        font-size: var(--font-size-xl);
    }

    /* Sections */
    section {
        padding: var(--spacing-3xl) 0;
    }

    /* Header */
    .header__container {
        padding: var(--spacing-md);
    }

    .header__logo {
        height: 40px;
    }

    /* Navigation - Mobile Menu */
    .nav-menu__toggle {
        display: flex;
    }

    .nav-menu__list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-menu__list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu__item {
        width: 100%;
    }

    .nav-menu__link {
        display: block;
        padding: var(--spacing-md);
    }

    /* Dropdown Mobile */
    .nav-menu__dropdown-content {
        position: static;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }

    .nav-menu__dropdown.active .nav-menu__dropdown-content {
        max-height: 500px;
    }

    /* Hero */
    .hero,
    .hero__slide {
        min-height: 350px;
        margin-top: 70px;
    }

    .hero__title {
        font-size: var(--font-size-3xl);
    }

    .hero__subtitle {
        font-size: var(--font-size-base);
    }

    /* Hero Arrows - Mobile */
    .hero__arrow {
        width: 40px;
        height: 40px;
    }

    .hero__arrow svg {
        width: 20px;
        height: 20px;
    }

    .hero__arrow--prev {
        left: 10px;
    }

    .hero__arrow--next {
        right: 10px;
    }


    /* Buttons */
    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-lg {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: var(--font-size-base);
    }

    /* Service Cards */
    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card__image {
        height: 200px;
    }

    /* Section Treatment */
    .section-treatment {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .section-treatment__title {
        font-size: var(--font-size-2xl);
    }

    .section-treatment__text {
        font-size: var(--font-size-base);
    }

    /* Testimonials */
    .testimonial {
        padding: var(--spacing-lg);
    }

    .testimonial__text {
        font-size: var(--font-size-base);
    }

    /* Clinic Gallery */
    .clinic-gallery {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Features List */
    .features-list__item {
        font-size: var(--font-size-base);
    }

    /* Accordion */
    .accordion__title {
        font-size: var(--font-size-base);
    }

    .accordion__body {
        padding: var(--spacing-md);
    }

    /* Footer */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member__photo {
        width: 150px;
        height: 150px;
    }

    /* Grid Columns - Mobile */
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* === SMALL MOBILE (até 375px) === */
@media (max-width: 375px) {
    h1 {
        font-size: var(--font-size-2xl);
    }

    .hero__title {
        font-size: var(--font-size-2xl);
    }

    .service-card__content {
        padding: var(--spacing-md);
    }

    .testimonial {
        padding: var(--spacing-md);
    }
}

/* === LARGE DESKTOP (1920px+) === */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero {
        min-height: 550px;
    }

    .hero__title {
        font-size: var(--font-size-6xl);
    }
}

/* === PRINT === */
@media print {

    .header,
    .nav-menu,
    .whatsapp-float,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}