/* Mobile-First Responsive Design */

/* Base Mobile Styles (0-767px) */
@media screen and (max-width: 767px) {
    /* Ajustes de fonte para mobile */
    html {
        font-size: 18px;
    }
    
    body {
        line-height: 1.6;
    }
    
    /* Container mobile */
    .main-content {
        padding: 1rem 5%;
    }
    
    /* Header mobile */
    .header-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .section-label {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    /* Headlines mobile */
    .headline-main {
        font-size: 1.75rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem;
    }
    
    h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem;
    }
    
    /* Parágrafos mobile - máximo 2-3 linhas */
    p {
        font-size: 1rem; /* Mantém 1rem = 18px no mobile */
        line-height: 1.6;
        margin-bottom: 1em;
    }
    
    /* Lead mobile */
    .article-lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Meta info mobile */
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.8rem;
        padding-bottom: 1rem;
    }
    
    /* Quebras visuais mobile */
    .micro-break {
        margin-bottom: 0.75em !important;
    }
    
    .standard-break {
        margin-bottom: 1.5em !important;
    }
    
    .macro-break {
        margin-bottom: 2.5em !important;
    }
    
    /* Separadores mobile */
    .visual-separator {
        margin: 2em 0;
        font-size: 1rem;
    }
    
    /* Interview blocks mobile */
    .question-block,
    .answer-block {
        margin-bottom: 1.5em;
        padding-left: 15px;
    }
    
    .question-block::before,
    .answer-block::before {
        width: 2px;
    }
    
    /* Quotes mobile */
    blockquote.article-quote {
        margin: 2em 0;
        padding: 1.25em;
    }
    
    blockquote.article-quote p {
        font-size: 1.1rem;
    }
    
    /* WhatsApp message mobile */
    .whatsapp-message {
        padding: 0.75em 1em;
        margin: 1em 0;
    }
    
    .whatsapp-message p {
        font-size: 0.9rem;
    }
    
    /* Highlight box mobile */
    .highlight-box {
        padding: 1.5em;
        margin: 2em 0;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 1rem;
    }
    
    .highlight-subtext {
        font-size: 0.85rem;
    }
    
    /* Result highlight mobile */
    .result-highlight {
        flex-direction: column;
        gap: 1.5em;
        padding: 1.5em;
        margin: 2em 0;
    }
    
    .result-number {
        font-size: 1.75rem;
    }
    
    .result-label {
        font-size: 0.85rem;
    }
    
    /* CTA mobile */
    .cta-section {
        margin-top: 3em;
        padding: 2em 0;
    }
    
    .cta-intro {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 0.95rem;
        padding: 1em 1.5em;
        width: 100%;
        max-width: 320px;
    }
    
    /* Footer mobile */
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-container p {
        font-size: 0.85rem;
    }
    
    /* Touch-friendly elements */
    a, button, .cta-button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remover elementos desnecessários no mobile */
    .interview-section::before {
        display: none;
    }
}

/* Tablet Portrait (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 16px; /* Volta para 16px no tablet */
    }
    
    .main-content {
        padding: 1.5rem 6%;
    }
    
    .headline-main {
        font-size: 2.2rem;
    }
    
    .article-container {
        max-width: 580px;
    }
    
    .cta-button {
        padding: 1.1em 1.8em;
        font-size: 1.05rem;
    }
}

/* Tablet Landscape e Desktop pequeno (992px - 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .main-content {
        padding: 2rem 7%;
    }
    
    .article-container {
        max-width: 580px;
    }
}

/* Desktop grande (1200px+) */
@media screen and (min-width: 1200px) {
    .main-content {
        padding: 2.5rem 8%;
    }
    
    .article-container {
        max-width: 580px;
    }
    
    /* Limitar largura de linha em telas grandes */
    p, li {
        max-width: 65ch;
    }
}

/* Orientação landscape em dispositivos móveis */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .headline-main {
        font-size: 1.6rem;
    }
    
    .main-content {
        padding: 1rem 8%;
    }
    
    .visual-separator {
        margin: 1.5em 0;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .cta-section,
    .share-buttons {
        display: none;
    }
    
    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
        background: white;
    }
    
    .article-container {
        max-width: 100%;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .highlight-box,
    .result-highlight {
        page-break-inside: avoid;
    }
}

/* Acessibilidade - Preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Alto contraste */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    a {
        color: #0000EE;
        text-decoration: underline;
    }
    
    .cta-button {
        border: 2px solid black;
    }
    
    .highlight-box {
        border: 2px solid black;
    }
}

/* Modo escuro - Desabilitado para manter sempre fundo branco */
/*
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .site-header {
        background-color: #2a2a2a;
        border-bottom-color: #600000;
    }
    
    .article-container {
        color: #e0e0e0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #f0f0f0;
    }
    
    .highlight-box {
        background-color: #2a2a2a;
        border-color: #444;
    }
    
    .whatsapp-message {
        background-color: #2a5434;
    }
    
    blockquote.article-quote {
        background-color: #2a2a2a;
        border-left-color: #600000;
    }
    
    .site-footer {
        background-color: #1a1a1a;
        border-top: 1px solid #333;
    }
}
*/