/* ==========================================================================
   AHURABI — CAMADA RESPONSIVA (carregada depois de style.css)
   Uma única fonte de verdade para ecrãs: telemóvel, tablet, portátil e desktop.
   Breakpoints:
     ≤ 480px   telemóvel pequeno
     ≤ 767px   telemóvel
     ≤ 1024px  tablet (sem zoom; o desktop usa zoom 0.8 em style.css)
     ≤ 1279px  portátil — menu passa a hambúrguer
     ≤ 1700px  ecrã médio — cabeçalho mais compacto
   ========================================================================== */

/* ---------- Base: nada pode criar scroll horizontal ---------- */
html, body { max-width: 100%; overflow-x: clip; }
img, video, canvas, svg, iframe { max-width: 100%; }
#hero-gestao, .hero-web, .premium-hero { overflow-x: clip; }

/* ==========================================================================
   CABEÇALHO
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1700px) {
    .premium-header .logo-container {
        width: auto !important;
        min-width: 300px !important;
        max-width: 340px !important;
    }
    .premium-header .nav-links { gap: 1.1rem !important; }
    .premium-header .nav-link-effect { font-size: 15px !important; white-space: nowrap; }
    .premium-header .nav-links + .nav-cta, .premium-header nav ~ .nav-cta { margin-left: 1.25rem !important; white-space: nowrap; padding-left: 1.2rem !important; padding-right: 1.2rem !important; }
}

/* Portátil: menu hambúrguer (o menu completo não cabe abaixo de 1280px) */
@media (min-width: 1025px) and (max-width: 1279px) {
    .premium-header .nav-links,
    .premium-header .nav-cta { display: none !important; }

    .premium-header .mobile-menu-btn {
        display: block !important;
        position: absolute !important;
        right: 28px !important;
        top: 50% !important;
        transform: translateY(-50%);
        z-index: 999999 !important;
        cursor: pointer;
        font-size: 2.4rem;
        color: #fff !important;
        background: transparent !important;
        border: none !important;
    }
    .premium-header.mobile-active .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.6rem !important;
        position: fixed !important;
        top: 110px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(7, 11, 25, 0.98);
        backdrop-filter: blur(20px);
        padding: 2.5rem 5% 3rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        z-index: 99998 !important;
    }
    .premium-header.mobile-active .mobile-only-cta { display: inline-block !important; }
}

/* Tablet e telemóvel: menu aberto com scroll se for mais alto que o ecrã */
@media (max-width: 1024px) {
    .premium-header .header-container { padding: 1rem 1.25rem !important; }
    .premium-header.mobile-active .nav-links {
        top: 80px !important;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 2rem 5% 2.5rem !important;
    }
    .premium-header .mobile-menu-btn {
        top: 50% !important;
        transform: translateY(-50%);
    }
}

/* ==========================================================================
   HOME — HERO
   ========================================================================== */
/* Ecrãs médios (até ~1900px): título em cima, prova social por baixo */
@media (min-width: 1281px) and (max-width: 1899px) {
    .premium-hero .hero-container {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .premium-hero .hero-content-left { max-width: 1100px !important; }
    .premium-hero .hero-proof-column {
        margin-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .premium-hero .hero-cards-col,
    .premium-hero .hero-comprovado-col,
    .premium-hero #typewriter-numeros { min-height: 640px !important; }
}

/* Tablet e abaixo */
@media (max-width: 1280px) {
    .premium-hero .hero-proof-column {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .premium-hero .hero-cards-col { width: 100% !important; flex-shrink: 1 !important; }
    .premium-hero .hero-comprovado-col { flex-wrap: wrap !important; }
}

@media (max-width: 1024px) {
    .hero-title-mass { font-size: clamp(2.3rem, 9vw, 5rem) !important; line-height: 1.05 !important; }
    .premium-hero { padding-top: 130px !important; }
    .hero-container { padding: 0 1.25rem !important; }
    .hero-desc-premium { font-size: 1.05rem !important; }
}

@media (max-width: 767px) {
    .premium-hero .proof-card { padding: 1.1rem 1.25rem !important; }
    .premium-hero .proof-label { font-size: 0.8rem !important; }
    .premium-hero .proof-value { font-size: clamp(2.4rem, 12vw, 3.5rem) !important; }
    .premium-hero .proof-desc { font-size: 15px !important; line-height: 1.55 !important; }
    .premium-hero .hero-comprovado-col { font-size: clamp(1.8rem, 9vw, 3rem) !important; letter-spacing: 0 !important; }
    .premium-hero #typewriter-numeros { font-size: clamp(1.8rem, 9vw, 3rem) !important; letter-spacing: -1px !important; gap: 0.5rem !important; }
}

/* ==========================================================================
   HOME — SOLUÇÕES (cartões tinham zoom 1.2 fixo)
   ========================================================================== */
@media (max-width: 1024px) {
    .service-card { zoom: 1 !important; max-width: 100% !important; }
}
@media (max-width: 767px) {
    .service-card { flex-basis: 100% !important; padding: 28px 22px !important; }
}

/* ==========================================================================
   HOME — CFO PREMIUM
   ========================================================================== */
@media (max-width: 767px) {
    .cfo-premium .cfo-title { font-size: clamp(1.9rem, 8.5vw, 3rem) !important; word-break: break-word; }
    .cfo-premium .cfo-desc { font-size: 1rem !important; padding: 24px 18px !important; }
    .cfo-premium-container, .cfo-premium .container { padding-left: 1rem !important; padding-right: 1rem !important; }
    .cfo-premium-container > * { min-width: 0; }
    .mockup-title { font-size: 0.8rem !important; white-space: normal !important; }
    .slide-kpi { min-width: 0 !important; }
}

/* ==========================================================================
   PÁGINAS DE SERVIÇO — HERO EM GRELHA (Web & Tráfego, Automação, Financeiro)
   ========================================================================== */
.hero-data > *, .hero-grid > * { min-width: 0; }

@media (min-width: 993px) and (max-width: 1365px) {
    #hero-gestao .hero-grid {
        grid-template-columns: 1fr 420px !important;
        gap: 48px !important;
    }
}

@media (max-width: 992px) {
    #hero-gestao .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 140px 1.25rem 60px !important;
    }
    #hero-gestao .hero-data-left { padding-left: 0 !important; border-left: none !important; }
    #hero-gestao .hero-data-left > div:first-child { display: none !important; }
    #hero-gestao .right-tower { width: 100% !important; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 1024px) {
    .hero-data {
        grid-template-columns: 1fr !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    .hero-data-left { padding-left: 0 !important; border-left: none !important; }
}

@media (max-width: 767px) {
    .massive-title,
    .hero-data .massive-title,
    #hero-gestao .massive-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
        letter-spacing: -1px !important;
        line-height: 1.1 !important;
    }
    .hero-data .hero-support-text { font-size: 1.05rem !important; }
    .title-agressive { font-size: clamp(2rem, 9vw, 3rem) !important; }
    .hero-desc { font-size: 1rem !important; }

    .glass-card, .data-card, .premium-card { padding: 1.4rem 1.25rem !important; }
    .card-value, .hero-data-right .card-value { font-size: clamp(2.6rem, 13vw, 3.6rem) !important; }
    .cards-grid-2x2 { grid-template-columns: 1fr !important; }
    .cards-grid-2x2 > * { min-width: 0; }
    .right-tower { width: 100% !important; }
}

/* ==========================================================================
   FINANCEIRO — PROTOCOLO / ORGANOGRAMA / ANALISADOR
   ========================================================================== */
@media (max-width: 767px) {
    .protocol-module-wrapper { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
    .organogram-row-double, .organogram-row-triple { grid-template-columns: 1fr !important; }
    .org-top-connection .line-horizontal,
    .org-bottom-connection .line-horizontal { display: none; }
    .protocol-bg-number { font-size: 6rem !important; right: 0 !important; }
    .analyzer-copy, .pdf-simulation-sheet { min-width: 0 !important; max-width: 100% !important; }
}

/* ==========================================================================
   GENÉRICO TELEMÓVEL
   ========================================================================== */
@media (max-width: 767px) {
    h1, h2, h3 { overflow-wrap: break-word; }
    .modal-content { width: calc(100% - 24px) !important; max-height: calc(100vh - 24px); overflow-y: auto; }
    .form-row.split, .form-row.split-3 { grid-template-columns: 1fr !important; display: grid; }
    .cookie-banner-content { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
    .splash-logo { font-size: 2.6rem !important; }
    .splash-line-1 { font-size: 1.7rem !important; }
    .splash-line-2 { font-size: 1.15rem !important; }
    .splash-slogan { font-size: 0.7rem !important; letter-spacing: 0.15em !important; }
}

/* Filhos de grelhas podem encolher (evita que conteúdo largo empurre a grelha) */
.split-container > *, .cards-grid-2x2 > *, .hero-container > * { min-width: 0; }
@media (max-width: 767px) {
    .protocol-card { padding: 40px 22px !important; }
    .cards-grid-2x2 > div { padding: 26px 20px !important; }
    table { display: block; max-width: 100%; overflow-x: auto; }
}

/* Web & Tráfego: título do hero (antes inline com !important) */
.massive-title-wt { font-size: clamp(4rem, 6vw, 7rem); line-height: 1.1; letter-spacing: normal; text-transform: none; }
.audit-container > * { min-width: 0; }

/* ==========================================================================
   CONTACTO (45% + 55% + gap transbordava sempre)
   ========================================================================== */
.contact-grid { grid-template-columns: 9fr 11fr !important; }
.contact-grid > * { min-width: 0; }
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 767px) {
    .contact-section { padding-left: 1.1rem !important; padding-right: 1.1rem !important; }
    .contact-right { padding: 1.5rem 1.1rem !important; }
}

/* Web & Tráfego: selos flutuantes do comparativo ficam dentro do ecrã */
@media (max-width: 480px) {
    .floating-badge { font-size: 11px !important; padding: 6px 10px !important; max-width: 70%; white-space: normal !important; }
    .floating-badge[style*="right: -10px"] { right: 6px !important; }
    .floating-badge[style*="left: -10px"] { left: 6px !important; }
}

/* ==========================================================================
   TELEMÓVEL — títulos de secção e timeline de engenharia
   ========================================================================== */
@media (max-width: 767px) {
    section h2 { font-size: clamp(1.8rem, 8.5vw, 2.6rem) !important; line-height: 1.12 !important; }
    .cfo-premium .cfo-title { font-size: clamp(1.9rem, 8.5vw, 3rem) !important; }
    /* textos justificados abrem buracos em colunas estreitas */
    [style*="justify"] { text-align: left !important; }
    #manifesto p, #manifesto div { text-align: left !important; }

    .engineering-timeline > div[style*="display: flex"] { flex-direction: column !important; gap: 14px !important; }
    .engineering-timeline > div > div:first-child { width: 56px !important; height: 56px !important; }
    .engineering-timeline > div > div:last-child { padding: 22px 18px !important; flex-direction: column !important; gap: 20px !important; }
    .engineering-timeline > div:first-child[style*="dashed"] { display: none !important; }
}

@media (max-width: 767px) {
    .contact-h1 { font-size: clamp(2rem, 9vw, 3rem) !important; line-height: 1.1 !important; }
    .contact-right { padding: 0 !important; }
    .contact-form-card { padding: 26px 18px !important; }
}
@media (max-width: 1024px) {
    .premium-header.mobile-active .mobile-only-cta { display: inline-block !important; }
}
@media (max-width: 767px) {
    section.legal-page .legal-wrap h2 { font-size: 1.3rem !important; line-height: 1.25 !important; }
}

/* Automação & Data Analytics — título do hero cabe na coluna (desktop) */
@media (min-width: 1025px) {
    .hero-data-left { min-width: 0; }
    .title-agressive { font-size: clamp(3.2rem, 4.3vw, 5.4rem) !important; line-height: 1.05 !important; }
}

/* ==========================================================================
   MENU — submenu "Serviços"
   ========================================================================== */
.nav-dd { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.premium-header .nav-dd-toggle {
    background: none; border: 0; padding: 0; cursor: pointer;
    font-family: 'Futura Bk', 'Jost', sans-serif; color: #d1d5db;
    display: inline-flex; align-items: center; gap: 6px; line-height: inherit;
}
.nav-dd-toggle i { font-size: 0.75em; transition: transform .25s ease; }
.nav-dd:hover .nav-dd-toggle i, .nav-dd.open .nav-dd-toggle i { transform: rotate(180deg); }
.nav-dd-menu {
    position: absolute; top: calc(100% + 22px); left: 50%;
    transform: translate(-50%, 10px);
    min-width: 290px; padding: 10px 0;
    background: rgba(7, 11, 25, 0.98); backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.25); border-top: 2px solid #00E5FF;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 100000;
}
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-dd-item {
    display: block; padding: 13px 24px; white-space: nowrap; text-decoration: none;
    font-family: 'Futura Bk', 'Jost', sans-serif; font-size: 17px; color: #d1d5db;
    border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s;
}
.nav-dd-item:hover, .nav-dd-item.active { color: #00FF88; background: rgba(0, 229, 255, 0.06); border-left-color: #00FF88; }

/* Menu completo a partir de 1200px: cabeçalho em 3 colunas (logótipo | menu centrado | botão) */
@media (min-width: 1280px) {
    .premium-header .header-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: 2rem;
        align-items: center !important;
    }
    .premium-header .logo-container { width: auto !important; min-width: 0 !important; max-width: none !important; }
    .premium-header .nav-links { justify-self: center; gap: 2.4rem !important; }
    .premium-header .desktop-only-cta { justify-self: end; }
    .premium-header .nav-link-effect { font-size: 20px !important; }
    .premium-header .nav-dd-item { font-size: 19px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
    .premium-header .nav-links { gap: 1.7rem !important; }
    .premium-header .nav-link-effect { font-size: 18.5px !important; }
}

/* Menu hambúrguer aberto: submenu em lista, abre ao tocar em "Serviços" */
@media (max-width: 1279px) {
    .premium-header .nav-dd-menu {
        position: static; transform: none !important; opacity: 1; visibility: visible;
        display: none; min-width: 0; padding: 8px 0 0;
        background: transparent; border: 0; box-shadow: none; backdrop-filter: none; text-align: center;
    }
    .premium-header .nav-dd-menu::before { display: none; }
    .premium-header .nav-dd.open .nav-dd-menu { display: block; }
    .premium-header .nav-dd-item { border-left: 0; padding: 10px 16px; font-size: 16px; color: #9aa6b8; }
}
@media (max-width: 1279px) { .premium-header .nav-dd-item.active { color: #00FF88; } }


/* ---------- HOME: secções novas (ax-) ---------- */
@media (max-width: 1279px) {
    .ax-pilares .ax-wrap { grid-template-columns: 1fr; }
    .ax-pil-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ax-ways { grid-template-columns: 1fr 1fr; }
    .ax-ways .ax-way:last-child { grid-column: 1 / -1; }
    .ax-proc { grid-template-columns: 1fr; gap: 50px; }
    .ax-princ { grid-template-columns: 1fr 1fr; }
    .ax-cases { grid-template-columns: 1fr 1fr; }
    .ax-cases .ax-case:last-child { grid-column: 1 / -1; }
    .ax-areas { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
    .ax-sec { padding: 90px 0; }
    .ax-wrap { padding: 0 1.1rem; }
    .ax-h2 { font-size: clamp(2rem, 8vw, 2.6rem); }
    .ax-lead { font-size: 17px; margin-bottom: 40px; }
    .ax-eyebrow { font-size: 12px; letter-spacing: .16em; }
    .ax-pil-grid, .ax-ways, .ax-cases, .ax-princ, .ax-facts, .ax-areas { grid-template-columns: 1fr; }
    .ax-ways .ax-way:last-child, .ax-cases .ax-case:last-child { grid-column: auto; }
    .ax-pil-cta b { font-size: 17px; }
    .ax-head-split { grid-template-columns: 1fr; gap: 0; margin-bottom: 36px; }
    .ax-way { padding: 26px 20px 22px; }
    .ax-viz { height: 196px; }
    .ax-va-col span { font-size: 11px; padding: 5px 6px; }
    .ax-hex { width: 62px; height: 70px; }
    .ax-unsure { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
    .ax-unsure .ax-btn { white-space: normal; }
    .ax-steps { grid-template-columns: 1fr; gap: 26px; }
    .ax-steps::before { left: 31px; right: auto; top: 30px; bottom: 30px; width: 1px; height: auto; background-image: linear-gradient(180deg, rgba(0,229,255,0.55) 50%, transparent 50%); background-size: 1px 10px; }
    .ax-steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; }
    .ax-steps small { grid-column: 2; margin: 0 0 2px; }
    .ax-circ { grid-row: 1 / span 3; grid-column: 1; margin: 0; }
    .ax-steps b, .ax-steps p { grid-column: 2; }
    .ax-princ { margin-top: 70px; }
    .ax-facts div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,0.07); }
    .ax-stack { flex-direction: column; align-items: flex-start; gap: 18px; }
    .ax-stack span { font-size: 16px; }
    .ax-final { padding: 100px 0 150px; }
    .ax-final h2 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
    .ax-final p { font-size: 17px; }
}
@media (max-width: 420px) {
    .ax-viz-agent { gap: 4px; padding: 10px 8px; }
    .ax-va-core em { display: none; }
    .ax-viz-web { grid-template-columns: 1fr; }
    .ax-viz-web .ax-browser { display: none; }
    .ax-mini { width: 66%; }
    .ax-chat { width: 72%; }
}


/* ---------- variantes por página (axv-) ---------- */
@media (max-width: 1279px) {
    .axv-web .ax-proc { grid-template-columns: 1fr; }
    .axv-web .ax-proc-head { position: static; }
    .axv-eng.ax-pilares .ax-wrap { grid-template-columns: 1fr; }
    .axv-eng .ax-steps { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .axv-eng .ax-steps li::after, .axv-eng .ax-steps li::before { display: none; }
    .axv-eng .ax-princ-item { grid-template-columns: 70px 220px 1fr; }
    .axv-ges .ax-steps li { grid-template-columns: 56px 50px 200px 1fr; }
    .axv-ges .ax-princ { grid-template-columns: 1fr; }
    .axv-ges .ax-princ-quote { grid-row: auto; margin-bottom: 20px; }
}
@media (max-width: 860px) {
    .axv-web .ax-pil { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 4px; }
    .axv-web .ax-pil:first-child { border-top: 0; }
    .axv-web .ax-steps li { grid-template-columns: 70px 1fr; column-gap: 16px; }
    .axv-web .ax-steps small { font-size: 44px; }
    .axv-web .ax-steps b { grid-column: 2; }
    .axv-web .ax-steps p { grid-column: 2; font-size: 16px; }
    .axv-web .ax-princ, .axv-web .ax-facts { grid-template-columns: 1fr; gap: 24px; }
    .axv-web .ax-princ-quote { text-align: left; padding-bottom: 20px; }
    .axv-web .ax-facts b { font-size: 44px; }
    .axv-web.ax-final .ax-final-in { grid-template-columns: 1fr; }
    .axv-web.ax-final p { grid-column: 1; grid-row: auto; }
    .axv-eng .ax-proc-head { grid-template-columns: 1fr; }
    .axv-eng .ax-steps { grid-template-columns: 1fr; gap: 12px; }
    .axv-eng .ax-princ-item { grid-template-columns: 1fr; row-gap: 6px; }
    .axv-eng .ax-princ-quote { flex-direction: column; align-items: flex-start; }
    .axv-eng .ax-princ-quote p { font-size: 16px; }
    .axv-eng .ax-facts { flex-direction: column; }
    .axv-eng .ax-stack > div { grid-template-columns: 1fr 1fr; width: 100%; }
    .axv-ges .ax-steps::before { padding: 12px 16px; font-size: 11px; }
    .axv-ges .ax-steps li { grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 16px; }
    .axv-ges .ax-steps small { grid-row: 1 / span 2; font-size: 20px; }
    .axv-ges .ax-circ { display: none; }
    .axv-ges .ax-steps b { font-size: 18px; }
    .axv-ges .ax-steps p { grid-column: 2; font-size: 16px; }
    .axv-ges .ax-facts { grid-template-columns: 1fr; }
    .axv-ges .ax-facts div + div { border-left: 0; border-top: 1px solid #D5DED8; }
}
@media (max-width: 860px) { .ax-sp .ax-princ { grid-template-columns: 1fr; } }

/* =====================================================================
   LEGIBILIDADE — tamanhos mínimos de letra
   Muitos textos têm font-size fixo (inline ou Tailwind text-sm). No desktop
   o body tem zoom 0.8, por isso 12–14px apareciam com 10–11px.
   O cabeçalho, o splash e o crédito da foto ficam de fora.
   ===================================================================== */
@media (min-width: 1025px) {
    :is([style*="font-size: 10px"], [style*="font-size:10px"]):not(.premium-header *, .splash-screen *) { font-size: 13.5px !important; }
    :is([style*="font-size: 11px"], [style*="font-size:11px"]):not(.premium-header *, .splash-screen *) { font-size: 14px !important; }
    :is([style*="font-size: 12px"], [style*="font-size:12px"]):not(.premium-header *, .splash-screen *) { font-size: 15px !important; }
    :is([style*="font-size: 13px"], [style*="font-size:13px"]):not(.premium-header *, .splash-screen *) { font-size: 15.5px !important; }
    :is([style*="font-size: 14px"], [style*="font-size:14px"], [style*="font-size: 0.85rem"], [style*="font-size:0.85rem"]):not(.premium-header *, .splash-screen *, .premium-header) { font-size: 16.5px !important; }
    :is(.text-sm, .text-\[0\.85rem\]):not(.premium-header *, .splash-screen *, .premium-header) { font-size: 16.5px !important; line-height: 1.55; }
    .text-xs:not(.premium-header *, .splash-screen *) { font-size: 14.5px !important; }
    .card-label { font-size: 14.5px !important; }
    .sp-for { font-size: 15.5px !important; }
    .nd small { font-size: 13.5px !important; }
    #contact-form label, .contact-form label, form label { font-size: 15.5px !important; }
    footer p, footer li, footer a { font-size: 16px; }
    #manifesto div[class*="md:w-[2"], #manifesto div[class*="md:ml-[7rem]"] { font-size: 16px !important; }
    .floating-badge { font-size: 14px !important; }
    .ax-eyebrow { font-size: 15px; }
}
@media (max-width: 1024px) {
    :is([style*="font-size: 10px"], [style*="font-size:10px"], [style*="font-size: 11px"], [style*="font-size:11px"]):not(.premium-header *, .splash-screen *) { font-size: 13px !important; }
    :is([style*="font-size: 12px"], [style*="font-size:12px"]):not(.premium-header *, .splash-screen *) { font-size: 13.5px !important; }
}

/* ---------- rodapé (ft-) ---------- */
@media (max-width: 1279px) {
    .ft-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 40px 32px; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .ft-grid { grid-template-columns: 1fr 1fr; padding: 0 1.1rem; }
}
@media (max-width: 480px) {
    .ft-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------- seletor de língua no menu do telemóvel/tablet ---------- */
@media (max-width: 1279px) {
    .premium-header .lang-dd .lang-btn { display: none !important; }
    .premium-header .lang-dd .lang-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
        display: flex !important; gap: 10px; min-width: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
    .premium-header .lang-dd .lang-menu::before { display: none; }
    .premium-header .lang-item { padding: 9px 14px !important; border: 1px solid rgba(255,255,255,.14) !important; font-size: 16px !important; gap: 8px; }
    .premium-header .lang-item.active { border-color: #00FF88 !important; }
    .premium-header .lang-item span { display: none; }
}
/* botão do catálogo: no telemóvel fica só o ícone */
@media (max-width: 767px) {
    .cat-fab { left: 14px; bottom: 14px; padding: 12px; gap: 0; border-radius: 50%; }
    .cat-fab span, .cat-fab .cat-dl { display: none; }
    .cat-fab i { font-size: 24px; }
}
