/* ==========================================================================
   meu atendente de ia - estilos responsivos
   ========================================================================== */

/* tablet grande (1199px e abaixo) */
@media (max-width: 1199px) {
    .main-nav__links {
        gap: var(--spacing-md);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 1;
    }

    .hero__video {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .problema__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solucao__features {
        grid-template-columns: repeat(2, 1fr);
    }

    .demonstracao__content {
        max-width: 720px;
        padding: var(--spacing-xl);
    }

    .depoimentos__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* tablet (991px e abaixo) */
@media (max-width: 991px) {
    :root {
        --font-size-3xl: 1.75rem;
        --font-size-4xl: 2rem;
        --font-size-5xl: 2.5rem;
    }

    /* menu hamburguer */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        z-index: 1001;
        order: 2;
    }

    .menu-toggle__bar {
        width: 25px;
        height: 3px;
        background-color: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

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

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

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

    .main-nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .main-nav__brand {
        font-size: var(--font-size-sm);
        order: 1;
    }

    .main-nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        order: 4;
    }

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

    .main-nav__links a {
        padding: var(--spacing-md) 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav__links a:last-child {
        border-bottom: none;
    }

    .main-nav__cta {
        padding: 8px 14px;
        font-size: var(--font-size-xs);
        order: 3;
    }

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

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

    .comparativo__header,
    .comparativo__row {
        grid-template-columns: 1fr;
    }

    .comparativo__col:first-child {
        display: none;
    }

    .comparativo__label {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .comparativo__col {
        padding: var(--spacing-md);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .comparativo__value {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .comparativo__value::before {
        content: none;
        display: none;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline__number {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
    }

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

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

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

/* mobile grande (767px e abaixo) */
@media (max-width: 767px) {
    :root {
        --nav-height: 70px;
        --topbar-height: auto;
    }

    /* ajustes do menu mobile */
    .main-nav {
        height: var(--nav-height);
    }

    .main-nav .container {
        padding: 0 var(--spacing-md);
        height: 100%;
    }

    .main-nav__brand {
        font-size: 0;
        gap: 0;
        flex: 0 0 auto;
    }

    .main-nav__icon {
        width: auto;
        height: 50px;
        padding: 0;
    }

    .main-nav__logo {
        width: auto;
        height: 50px;
        max-width: 150px;
        object-fit: contain;
    }

    .main-nav__cta {
        padding: 8px 14px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    /* ajustes da barra superior */
    .top-bar {
        padding: var(--spacing-sm) 0;
        min-height: auto;
    }

    .top-bar .container {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) var(--spacing-md);
        align-items: center;
    }

    .top-bar__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
        width: 100%;
    }

    .top-bar__badge {
        font-size: 0.7rem;
        padding: 4px 10px;
        display: inline-block;
        max-width: 100%;
        text-align: center;
    }

    .top-bar__message {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
        font-size: 0.75rem;
    }

    .top-bar__label {
        white-space: nowrap;
    }

    .top-bar__countdown {
        font-size: 0.85rem;
        font-weight: 700;
        white-space: nowrap;
        color: var(--secondary);
    }

    .top-bar__price {
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .top-bar__price strong {
        font-weight: 700;
        color: var(--accent);
    }

    .top-bar__cta {
        padding: 8px 16px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* recalcular padding do body considerando top-bar dinamica */
    body {
        padding-top: 190px;
    }

    .hero__logo-img {
        width: 260px;
    }

    .hero__logo {
        margin-bottom: var(--spacing-md);
    }

    .hero {
        padding: var(--spacing-md) 0 var(--spacing-lg) 0;
    }

    .live-viewers {
        font-size: 11px;
        padding: 5px 10px;
        gap: 5px;
    }

    .live-viewers__count {
        font-size: 12px;
        min-width: 20px;
    }

    .live-viewers__text {
        display: none;
    }

    .live-viewers svg {
        width: 14px;
        height: 14px;
    }

    .live-viewers__dot {
        width: 5px;
        height: 5px;
    }

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

    /* ajustes do indicador de scroll */
    .scroll-indicator {
        padding: var(--spacing-sm) 0;
        min-height: 48px;
    }

    .scroll-indicator__text {
        font-size: 0.9rem;
    }

    .scroll-indicator__arrow {
        width: 24px;
        height: 24px;
    }

    /* ajustes da secao hero */
    .hero {
        padding: var(--spacing-md) 0 var(--spacing-lg) 0;
        min-height: auto;
    }

    .hero__logo {
        margin-bottom: var(--spacing-md);
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero__title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }

    .hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .chatgpt-logo-inline {
        height: 18px;
        vertical-align: middle;
    }

    .hero__price {
        margin: var(--spacing-lg) 0;
        gap: 4px;
    }

    .hero__price-old {
        font-size: 0.85rem;
    }

    .hero__price-current {
        font-size: 0.95rem;
    }

    .hero__price-current strong {
        font-size: 1.75rem;
    }

    .hero__price-installment {
        font-size: 0.85rem;
    }

    .hero__guarantee {
        font-size: 0.85rem;
        margin-top: var(--spacing-sm);
    }

    .video-preview {
        max-width: 320px;
    }

    .video-preview__play {
        width: 60px;
        height: 60px;
    }

    .video-preview__play svg {
        width: 30px;
        height: 30px;
    }

    .hero__price-current strong {
        font-size: var(--font-size-2xl);
    }

    /* ajustes de botoes */
    .btn--large {
        font-size: 0.95rem;
        padding: 14px var(--spacing-lg);
        width: 100%;
        min-height: 50px;
    }

    .btn--whatsapp {
        font-size: 0.9rem;
    }

    /* ajustes de videos */
    .video-wrapper {
        margin: var(--spacing-md) 0;
    }

    .video-wrapper iframe {
        border-radius: 12px;
    }

    /* ajustes de secoes */
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .problema {
        padding: var(--spacing-xl) 0;
    }

    /* ajustes do comparativo */
    .comparativo__header,
    .comparativo__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comparativo__col:first-child {
        display: none;
    }

    .comparativo__col {
        padding: var(--spacing-sm);
        border-bottom: none;
    }

    .comparativo__label {
        grid-column: 1 / -1;
        justify-content: center;
        text-align: center;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .comparativo__value {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--spacing-sm);
        gap: 2px;
    }

    .comparativo__value strong {
        font-size: 1rem;
    }

    .comparativo__value span {
        font-size: 0.78rem;
    }

    /* ajustes de cards e grids */
    .problema__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .problema__card {
        padding: var(--spacing-lg);
    }

    .problema__card h3 {
        font-size: 1.1rem;
        margin: var(--spacing-sm) 0;
    }

    .problema__card p {
        font-size: 0.9rem;
    }

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

    .feature-card {
        padding: var(--spacing-lg);
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .solucao__image {
        min-height: 250px;
    }

    .solucao__image img {
        max-width: 100%;
        height: auto;
    }

    .solucao__highlight {
        margin-top: var(--spacing-xl);
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .solucao__highlight-logo {
        height: 32px;
    }

    .solucao__highlight p {
        font-size: 0.95rem;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        display: none;
    }

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

    .timeline__content {
        width: 100%;
    }

    /* ajustes da secao demonstracao */
    .demonstracao__content {
        padding: var(--spacing-lg);
    }

    .demonstracao__eyebrow {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-md);
    }

    .demonstracao__live-dot {
        width: 6px;
        height: 6px;
    }

    .demonstracao__video {
        margin-bottom: var(--spacing-lg);
    }

    .demonstracao__tags {
        gap: var(--spacing-xs);
        flex-wrap: wrap;
        justify-content: center;
    }

    .demonstracao__tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .demonstracao__metric {
        margin-bottom: var(--spacing-md);
    }

    .demonstracao__metric-number {
        font-size: 2.5rem;
    }

    .demonstracao__metric-label {
        font-size: 0.9rem;
    }

    .demonstracao__pitch {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    .demonstracao__cta-wrapper .btn {
        width: 100%;
    }

    .demonstracao__whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }

    .demonstracao__note {
        font-size: 0.85rem;
        margin-top: var(--spacing-sm);
    }

    .demonstracao__note-highlight {
        font-size: 0.85rem;
    }

    /* ajustes dos depoimentos */
    .depoimentos__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .depoimento-card {
        padding: var(--spacing-lg);
    }

    .depoimento-card__text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .depoimento-card__author {
        margin-top: var(--spacing-md);
    }

    .depoimento-whatsapp__img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .depoimento-whatsapp__badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    /* centralizar card de vantagens no mobile */
    .vantagens-card {
        margin-left: var(--spacing-md);
        margin-right: var(--spacing-md);
    }

    .vantagens-card__content {
        padding: var(--spacing-lg);
    }

    .vantagem-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .vantagem-item__icon {
        width: 56px;
        height: 56px;
    }

    .vantagem-item__icon svg {
        width: 28px;
        height: 28px;
    }

    .vantagem-item__text {
        text-align: center;
    }

    .vantagem-item__text h4 {
        justify-content: center;
    }

    .vantagem-item__badge {
        position: static;
        margin-bottom: var(--spacing-sm);
    }

    /* ajustes da secao investimento */
    .investimento__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .investimento__garantia,
    .investimento__oferta {
        padding: var(--spacing-lg);
    }

    .investimento__garantia-badge,
    .investimento__oferta-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .investimento__garantia-titulo {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .investimento__garantia-subtitulo {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    .garantia-item {
        padding: var(--spacing-sm) 0;
    }

    .garantia-item strong {
        font-size: 0.95rem;
    }

    .garantia-item span {
        font-size: 0.85rem;
    }

    .investimento__garantia-destaque {
        font-size: 0.9rem;
        padding: var(--spacing-md);
    }

    .investimento__garantia-seguranca {
        font-size: 0.8rem;
    }

    .desconto-porcentagem {
        font-size: 2.5rem;
    }

    .desconto-texto {
        font-size: 0.85rem;
    }

    .oferta-item {
        padding: var(--spacing-sm) 0;
    }

    .oferta-item__nome {
        font-size: 0.9rem;
    }

    .oferta-item__valor {
        font-size: 0.9rem;
    }

    .total-label {
        font-size: 0.95rem;
    }

    .total-valor {
        font-size: 1.75rem;
    }

    .preco-parcela {
        font-size: 0.95rem;
    }

    .preco-valor {
        font-size: 2.75rem;
    }

    .preco-vista {
        font-size: 0.9rem;
    }

    .investimento__oferta-economia {
        font-size: 0.9rem;
        padding: var(--spacing-md);
    }

    .investimento__oferta-economia span {
        font-size: 0.8rem;
    }

    .btn-investimento {
        font-size: 0.95rem;
        padding: 14px var(--spacing-lg);
        min-height: 50px;
    }

    .investimento__oferta-seguranca {
        gap: var(--spacing-sm);
    }

    .seguranca-item {
        font-size: 0.8rem;
    }

    /* ajustes da secao garantia */
    .garantia__selo {
        margin-bottom: var(--spacing-md);
    }

    .garantia__selo svg {
        width: 70px;
        height: 70px;
    }

    .garantia__selo span {
        font-size: 1rem;
    }

    .garantia__texto h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .garantia__texto p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .garantia__hotmart {
        padding: var(--spacing-md);
        margin: var(--spacing-md) 0;
    }

    .garantia__hotmart-logo {
        max-width: 80px;
        margin-bottom: var(--spacing-xs);
    }

    .garantia__hotmart p {
        font-size: 0.85rem;
    }

    .garantia__destaque {
        font-size: 1rem;
    }

    /* ajustes do cta final */
    .cta-final__title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .cta-final__subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-lg);
    }

    .cta-final__box {
        padding: var(--spacing-lg);
    }

    .cta-final__resumo h3 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }

    .cta-final__resumo ul {
        gap: var(--spacing-xs);
    }

    .cta-final__resumo li {
        font-size: 0.9rem;
    }

    .cta-final__preço-de {
        font-size: 0.9rem;
    }

    .cta-final__preço-por {
        font-size: 0.85rem;
    }

    .cta-final__preço-valor {
        font-size: 2.5rem;
    }

    .cta-final__preço-parcela {
        font-size: 0.9rem;
    }

    .cta-final__badges {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .badge-seguro {
        font-size: 0.8rem;
        padding: 8px 12px;
    }

    .badge-hotmart__logo {
        max-width: 70px;
    }

    .cta-final__hotmart-info p {
        font-size: 0.85rem;
    }

    /* ajustes do faq */
    .faq__question {
        font-size: 0.95rem;
        padding: var(--spacing-md);
    }

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

    .faq__answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* ajustes do footer */
    .footer {
        padding: var(--spacing-xl) 0;
    }

    .footer__brand h3 {
        font-size: 1.1rem;
    }

    .footer__brand p {
        font-size: 0.85rem;
    }

    .footer__logo {
        width: 50px;
    }

    .footer__links {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .footer__links a {
        font-size: 0.9rem;
    }

    .footer__info {
        text-align: center;
    }

    .footer__info p {
        font-size: 0.85rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }

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

/* mobile pequeno (479px e abaixo) */
@media (max-width: 479px) {
    :root {
        --font-size-2xl: 1.25rem;
        --font-size-3xl: 1.5rem;
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --nav-height: 60px;
    }

    /* ajustes adicionais do menu */
    .main-nav {
        height: var(--nav-height);
    }

    .main-nav__brand {
        font-size: 0;
    }

    .main-nav__icon {
        width: auto;
        height: 45px;
    }

    .main-nav__logo {
        width: auto;
        height: 45px;
        max-width: 130px;
        object-fit: contain;
    }

    .main-nav__cta {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    /* ajustes adicionais da barra superior */
    .top-bar__message {
        font-size: 0.7rem;
        gap: 4px;
    }

    .top-bar__countdown {
        font-size: 0.8rem;
    }

    .top-bar__price {
        font-size: 0.65rem;
    }

    .top-bar__cta {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    /* ajustes adicionais do indicador de scroll */
    .scroll-indicator {
        padding: var(--spacing-sm) 0;
    }

    .scroll-indicator__text {
        font-size: 0.85rem;
    }

    .scroll-indicator__arrow {
        width: 22px;
        height: 22px;
    }

    /* ajustes adicionais do hero */
    .hero__logo-img {
        width: 220px;
    }

    .hero__logo {
        margin-bottom: var(--spacing-sm);
    }

    .hero {
        padding: var(--spacing-sm) 0 var(--spacing-xl) 0;
    }

    .hero__title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }

    .hero__price-current strong {
        font-size: 1.6rem;
    }

    .hero__price-old {
        font-size: 0.8rem;
    }

    .hero__price-installment {
        font-size: 0.8rem;
    }

    .chatgpt-logo-inline {
        height: 16px;
    }

    /* ajustes adicionais de secoes */
    .section-title {
        font-size: 1.35rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* ajustes adicionais de cards */
    .problema__card {
        padding: var(--spacing-md);
    }

    .problema__card h3 {
        font-size: 1rem;
    }

    .problema__card p {
        font-size: 0.85rem;
    }

    .problema__icon svg {
        width: 36px;
        height: 36px;
    }

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

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .feature-card__icon {
        width: 48px;
        height: 48px;
    }

    /* ajustes do comparativo */
    .comparativo__value strong {
        font-size: 0.95rem;
    }

    .comparativo__value span {
        font-size: 0.8rem;
    }

    /* ajustes das vantagens */
    .vantagens-card__title {
        font-size: 1.1rem;
    }

    .vantagem-item h4 {
        font-size: 1rem;
    }

    .vantagem-item p {
        font-size: 0.85rem;
    }

    .beneficio-item span {
        font-size: 0.9rem;
    }

    /* ajustes da timeline */
    .timeline__number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

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

    .timeline__content h3 {
        font-size: 1rem;
    }

    .timeline__content p {
        font-size: 0.85rem;
    }

    /* ajustes dos depoimentos */
    .depoimento-card {
        padding: var(--spacing-md);
    }

    .depoimento-card__text {
        font-size: 0.9rem;
    }

    .depoimento-card__info strong {
        font-size: 0.9rem;
    }

    .depoimento-card__info span {
        font-size: 0.8rem;
    }

    /* ajustes de precos */
    .preco-box__cifrao,
    .preco-box__centavos {
        font-size: 1rem;
    }

    .preco-box__valor {
        font-size: 2.25rem;
    }

    .preco-valor {
        font-size: 2.5rem;
    }

    .desconto-porcentagem {
        font-size: 2.25rem;
    }

    .cta-final__preço-valor {
        font-size: 2.25rem;
    }

    .total-valor {
        font-size: 1.5rem;
    }

    /* ajustes da garantia */
    .garantia__selo svg {
        width: 60px;
        height: 60px;
    }

    .garantia__selo span {
        font-size: 0.9rem;
    }

    .garantia__texto h2 {
        font-size: 1.35rem;
    }

    .garantia__texto p {
        font-size: 0.9rem;
    }

    /* ajustes do faq */
    .faq__question {
        font-size: 0.9rem;
        padding: var(--spacing-md);
    }

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

    .faq__answer p {
        font-size: 0.85rem;
    }

    /* ajustes dos botoes */
    .btn {
        font-size: 0.9rem;
        padding: 12px var(--spacing-md);
    }

    .btn--large {
        font-size: 0.9rem;
        padding: 12px var(--spacing-md);
        min-height: 48px;
    }

    .btn-investimento {
        font-size: 0.9rem;
        padding: 12px var(--spacing-md);
        min-height: 48px;
    }

    /* ajustes do whatsapp float */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

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

/* ajustes para telas muito pequenas */
@media (max-width: 359px) {
    :root {
        --nav-height: 55px;
    }

    .main-nav {
        height: var(--nav-height);
    }

    .main-nav__brand {
        font-size: 0;
    }

    .main-nav__icon {
        width: auto;
        height: 40px;
    }

    .main-nav__logo {
        width: auto;
        height: 40px;
        max-width: 120px;
        object-fit: contain;
    }

    .main-nav__cta {
        padding: 5px 10px;
        font-size: 0.6rem;
    }

    .top-bar__badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        max-width: 100%;
        text-align: center;
    }

    .top-bar__message {
        font-size: 0.65rem;
        gap: 4px;
    }

    .top-bar__countdown {
        font-size: 0.75rem;
    }

    .top-bar__price {
        font-size: 0.6rem;
    }

    .top-bar__cta {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    /* ajustes do indicador de scroll */
    .scroll-indicator {
        padding: var(--spacing-sm) 0;
    }

    .scroll-indicator__text {
        font-size: 0.8rem;
    }

    .scroll-indicator__arrow {
        width: 20px;
        height: 20px;
    }

    .hero__logo-img {
        width: 190px;
    }

    .hero__logo {
        margin-bottom: var(--spacing-xs);
    }

    .hero {
        padding: var(--spacing-xs) 0 var(--spacing-lg) 0;
    }

    .hero__title {
        font-size: 1.25rem;
    }

    .hero__subtitle {
        font-size: 0.85rem;
    }

    .hero__price {
        align-items: center;
    }

    .hero__price-current strong {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .preco-box__valor {
        font-size: 2rem;
    }

    .preco-valor {
        font-size: 2.25rem;
    }

    .desconto-porcentagem {
        font-size: 2rem;
    }

    .cta-final__preço-valor {
        font-size: 2rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ajustes de altura para telas baixas */
@media (max-height: 700px) and (min-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--spacing-md) 0 var(--spacing-2xl) 0;
    }

    .hero__logo {
        margin-bottom: var(--spacing-md);
    }
}

/* ajustes para dispositivos touch */
@media (pointer: coarse) {
    /* aumentar area de toque para links e botoes */
    a, button, .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .main-nav__links a {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .faq__question {
        min-height: 60px;
    }

    /* melhorar feedback de toque */
    a:active, button:active, .btn:active {
        opacity: 0.7;
    }

    /* remover hover em dispositivos touch */
    a:hover, button:hover, .btn:hover {
        transform: none;
    }
}

/* preferencia por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *:not(.scroll-indicator):not(.scroll-indicator__text):not(.scroll-indicator__arrow),
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* modo escuro do sistema (opcional) */
@media (prefers-color-scheme: dark) {
    /* descomente se quiser ativar modo escuro automatico */
    /*
    :root {
        --dark: #F8F9FA;
        --light: #1A1A2E;
        --white: #2D2D44;
        --gray-100: #374151;
        --gray-200: #4B5563;
        --gray-300: #6B7280;
        --gray-400: #9CA3AF;
        --gray-500: #D1D5DB;
        --gray-700: #E5E7EB;
        --gray-900: #F3F4F6;
    }

    body {
        background-color: #1A1A2E;
        color: #F8F9FA;
    }
    */
}

/* impressao */
@media print {
    .top-bar,
    .whatsapp-float,
    .btn,
    .video-wrapper {
        display: none !important;
    }

    body {
        padding-top: 0;
    }

    .hero {
        min-height: auto;
        padding: 2cm 0;
    }

    * {
        color: #000 !important;
        background: #fff !important;
        box-shadow: none !important;
    }
}
