/* =========================================================
   RESPONSIVE.CSS
   Função: adapta todos os layouts a tablets e celulares,
   incluindo menu mobile, grids e tamanhos de espaçamento.
   ========================================================= */
@media (max-width: 1040px) {
    .header-cta { display: none; }
    .main-nav { gap: 18px; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 48px; }
    .hero-copy { max-width: 900px; }
    .hero-art { max-width: 760px; }
    .hero-home { min-height: auto; }
    .footer-grid { grid-template-columns: 1.3fr .7fr .8fr; }
    .footer-cta { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 28px 0 0; }
}

@media (max-width: 820px) {
    .markets-network-section { padding-bottom: 64px; }
    .markets-regions-section { padding-top: 64px; }
    .section { padding: 76px 0; }
    .split-grid, .page-hero-grid, .methodology-band, .contact-shell { grid-template-columns: 1fr; gap: 42px; }
    .solution-grid, .process-grid, .market-cards { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 74px; padding: 16px; border: 1px solid #dfe5ee; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
    .main-nav.is-open { display: grid; }
    .main-nav a { padding: 12px 10px; }
    .main-nav a::after { bottom: 4px; left: 10px; right: auto; width: 30px; }
    .menu-toggle { display: block; }
    .identity-card { min-height: 220px; }
    .cta-panel { align-items: flex-start; flex-direction: column; }
    .contact-aside, .contact-form-card { padding: 34px; }
}

@media (max-width: 580px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 72px; }
    .brand-logo-wrap { width: 78px; }
    .main-nav { top: 68px; left: 14px; right: 14px; }
    .hero-grid { padding-top: 46px; padding-bottom: 56px; }
    .hero-copy h1 { font-size: clamp(2.8rem, 14vw, 4.1rem); }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
    .hero-stats strong { font-size: 1.4rem; }
    .hero-stats span { font-size: .62rem; }
    .hero-art-frame { border-radius: 22px; }
    .page-hero { padding: 64px 0 56px; }
    .solution-grid, .process-grid, .market-cards, .value-grid, .form-grid, .mini-process { grid-template-columns: 1fr; }
    .solution-card { min-height: auto; }
    .cta-panel { padding: 30px; }
    .contact-aside, .contact-form-card { padding: 26px 22px; }
    .country-pills { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .footer-grid > div:first-child, .footer-cta { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom span { margin: 0; }
}
