/*
 * ============================================================
 * Estilos Principais - Suemar Silveira
 * Desenvolvedor: Suemar Silveira
 * Copyright © 2025 Suemar Silveira. Todos os direitos reservados.
 * Reprodução proibida sem autorização expressa.
 * ============================================================
 */

/* === IMPORTAÇÕES === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* === VARIÁVEIS - TEMA ESCURO (padrão) === */
:root {
    --fundo: #0b0b10;
    --fundo-2: #111118;
    --fundo-3: #16161f;
    --fundo-card: #13131c;
    --borda: #1e1e2e;
    --borda-hover: #2a2a40;
    --texto: #c8c8d8;
    --texto-2: #8888a0;
    --texto-3: #555568;
    --branco: #f0f0fa;
    --acento: #4f8ef7;
    --acento-2: #7c4dff;
    --acento-3: #00d2a0;
    --grad-1: linear-gradient(135deg, #4f8ef7, #7c4dff);
    --grad-2: linear-gradient(135deg, #00d2a0, #4f8ef7);
    --sombra-card: 0 4px 30px rgba(0,0,0,0.4);
    --sombra-hover: 0 8px 40px rgba(79,142,247,0.12);
    --raio: 14px;
    --fonte-display: 'Playfair Display', Georgia, serif;
    --fonte-corpo: 'DM Sans', system-ui, sans-serif;
    --largura: 1100px;
    --transicao: 0.3s ease;
}

/* === TEMA CLARO === */
[data-tema="claro"] {
    --fundo: #f5f5fa;
    --fundo-2: #ebebf5;
    --fundo-3: #e0e0ef;
    --fundo-card: #ffffff;
    --borda: #dcdcec;
    --borda-hover: #b0b0cc;
    --texto: #2a2a3a;
    --texto-2: #555568;
    --texto-3: #888898;
    --branco: #1a1a2e;
    --acento: #3a7ae0;
    --acento-2: #6530e0;
    --sombra-card: 0 4px 24px rgba(100,100,160,0.10);
    --sombra-hover: 0 8px 32px rgba(79,142,247,0.14);
}

/* === RESET GLOBAL === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--fonte-corpo);
    background: var(--fundo);
    color: var(--texto);
    line-height: 1.7;
    transition: background var(--transicao), color var(--transicao);
    overflow-x: hidden;
}

/* === TIPOGRAFIA === */
h1, h2, h3 { font-family: var(--fonte-display); color: var(--branco); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { color: var(--texto); }
a { text-decoration: none; color: inherit; }

/* === LAYOUT CENTRAL (não full-width) === */
.container {
    width: 100%;
    max-width: var(--largura);
    margin: 0 auto;
    padding: 0 24px;
}

/* === CABEÇALHO FIXO === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11,11,16,0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--borda);
    transition: background var(--transicao), border-color var(--transicao);
}

[data-tema="claro"] header { background: rgba(245,245,250,0.88); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.logo {
    font-family: var(--fonte-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--branco);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .ponto { color: var(--acento); }

/* Links de navegação */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--texto-2);
    transition: all 0.2s;
}

.nav-links a:hover { color: var(--branco); background: var(--fundo-3); }

/* Botões do nav */
.nav-acoes { display: flex; align-items: center; gap: 10px; }

/* Toggle de tema */
.btn-tema {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--borda);
    background: var(--fundo-3);
    color: var(--texto-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-tema:hover { border-color: var(--acento); color: var(--acento); }

/* Hamburger mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--texto);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === BOTÕES GLOBAIS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--fonte-corpo);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    white-space: nowrap;
}

.btn-primario {
    background: var(--grad-1);
    color: #fff;
    box-shadow: 0 4px 20px rgba(79,142,247,0.3);
}

.btn-primario:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(79,142,247,0.4); }

.btn-ghost {
    background: transparent;
    color: var(--acento);
    border: 1px solid var(--acento);
}

.btn-ghost:hover { background: rgba(79,142,247,0.1); transform: translateY(-2px); }

.btn-wpp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.btn-wpp:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.4); }

/* === HERO === */
.hero {
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Decoração de fundo do hero */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,142,247,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124,77,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,142,247,0.1);
    border: 1px solid rgba(79,142,247,0.25);
    color: var(--acento);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--acento); }

.hero-desc {
    font-size: 1.05rem;
    color: var(--texto-2);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-acoes { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cartão de foto do hero */
.hero-foto {
    position: relative;
    flex-shrink: 0;
}

.hero-foto .avatar-wrap {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--grad-1);
    padding: 3px;
    box-shadow: 0 0 50px rgba(79,142,247,0.25);
}

.hero-foto .avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--fundo-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--acento);
    overflow: hidden;
}

.hero-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Tags flutuantes */
.hero-tag {
    position: absolute;
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--branco);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--sombra-card);
    animation: flutuar 3s ease-in-out infinite;
}

.hero-tag i { color: var(--acento); }
.hero-tag:nth-child(2) { top: 10px; right: -20px; animation-delay: -1s; }
.hero-tag:nth-child(3) { bottom: 20px; left: -30px; animation-delay: -2s; }
.hero-tag:nth-child(4) { top: 50%; right: -40px; transform: translateY(-50%); animation-delay: -0.5s; }

@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-tag:nth-child(4) {
    animation: flutuar2 3.5s ease-in-out infinite;
    animation-delay: -0.5s;
}

@keyframes flutuar2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 8px)); }
}

/* === SEÇÃO GENÉRICA === */
.secao { padding: 90px 0; }
.secao-titulo { text-align: center; margin-bottom: 60px; }
.secao-titulo .label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--acento);
    margin-bottom: 12px;
}
.secao-titulo h2 { margin-bottom: 14px; }
.secao-titulo p { color: var(--texto-2); max-width: 540px; margin: 0 auto; }

/* === STATS (números) === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transicao);
}

.stat-card:hover { border-color: var(--borda-hover); box-shadow: var(--sombra-hover); transform: translateY(-3px); }

.stat-numero {
    font-family: var(--fonte-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--acento);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label { font-size: 0.82rem; color: var(--texto-2); font-weight: 500; }

/* === GRADE DE SERVIÇOS === */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.servico-card {
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 26px;
    transition: all var(--transicao);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-1);
    opacity: 0;
    transition: opacity var(--transicao);
}

.servico-card:hover {
    border-color: var(--borda-hover);
    box-shadow: var(--sombra-hover);
    transform: translateY(-4px);
}

.servico-card:hover::before { opacity: 1; }

.servico-icone {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(79,142,247,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--acento);
    transition: all var(--transicao);
}

.servico-card:hover .servico-icone {
    background: var(--grad-1);
    color: #fff;
    transform: scale(1.1);
}

.servico-card h3 { margin-bottom: 8px; font-size: 1rem; }
.servico-card p { font-size: 0.84rem; color: var(--texto-2); line-height: 1.6; }

/* === TECNOLOGIAS === */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.tech-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--texto-2);
    transition: all 0.2s;
}

.tech-tag:hover { border-color: var(--acento); color: var(--acento); background: rgba(79,142,247,0.06); }
.tech-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }

.secao-tech { background: var(--fundo-2); }

/* === HABILIDADES === */
.habilidade { margin-bottom: 18px; }
.habilidade-topo { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.82rem; }
.habilidade-topo .nome { font-weight: 500; color: var(--texto); }
.habilidade-topo .perc { color: var(--acento); font-weight: 600; }
.barra-fundo { height: 5px; background: var(--fundo-3); border-radius: 3px; overflow: hidden; }
.barra-fill { height: 100%; background: var(--grad-1); border-radius: 3px; width: 0; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }

/* === SEÇÃO PEGAR GRÁTIS === */
.gratis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.gratis-card {
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all var(--transicao);
    position: relative;
    overflow: visible;
    margin-top: 10px;
}

.gratis-card:hover { border-color: var(--acento-3); box-shadow: 0 8px 32px rgba(0,210,160,0.1); transform: translateY(-3px); }

.gratis-badge {
    position: absolute;
    top: -12px;
    right: 14px;
    background: var(--acento-3);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    z-index: 1;
    line-height: 1.6;
}

.gratis-card .icone { font-size: 1.6rem; color: var(--acento-3); }
.gratis-card h3 { font-size: 0.95rem; font-family: var(--fonte-corpo); font-weight: 600; }
.gratis-card p { font-size: 0.8rem; color: var(--texto-2); flex: 1; }
.gratis-card .btn-baixar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0,210,160,0.1);
    border: 1px solid rgba(0,210,160,0.3);
    color: var(--acento-3);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.gratis-card .btn-baixar:hover { background: var(--acento-3); color: #000; }

/* Aviso em breve */
.em-breve-tag {
    font-size: 0.7rem;
    color: var(--texto-3);
    font-style: italic;
}

/* === SOBRE / FORMAÇÃO === */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-lista { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.sobre-lista li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: 10px;
    font-size: 0.87rem;
}
.sobre-lista li i { color: var(--acento); margin-top: 2px; flex-shrink: 0; }

/* Timeline de experiência */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--borda); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--acento);
    box-shadow: 0 0 0 3px rgba(79,142,247,0.2);
}
.timeline-item .ano { font-size: 0.72rem; color: var(--acento); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 4px; }
.timeline-item h4 { font-size: 0.92rem; font-weight: 600; color: var(--branco); font-family: var(--fonte-corpo); margin-bottom: 2px; }
.timeline-item p { font-size: 0.8rem; color: var(--texto-2); }

/* === FORMULÁRIO DE CONTATO === */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-info { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }

.contato-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: 10px;
    transition: all 0.2s;
}

.contato-item:hover { border-color: var(--borda-hover); }

.contato-item .icone-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(79,142,247,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acento);
    flex-shrink: 0;
}

.contato-item .info-wrap .titulo { font-size: 0.75rem; color: var(--texto-3); margin-bottom: 2px; }
.contato-item .info-wrap .valor { font-size: 0.88rem; font-weight: 500; color: var(--branco); }

/* Formulário */
.form-grid { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.campo-form label {
    display: block;
    font-size: 0.78rem;
    color: var(--texto-2);
    margin-bottom: 6px;
    font-weight: 500;
}

.campo-form input,
.campo-form textarea,
.campo-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: 10px;
    color: var(--branco);
    font-family: var(--fonte-corpo);
    font-size: 0.88rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.campo-form textarea { resize: vertical; min-height: 130px; }

.campo-form input:focus,
.campo-form textarea:focus,
.campo-form select:focus {
    outline: none;
    border-color: var(--acento);
    box-shadow: 0 0 0 3px rgba(79,142,247,0.1);
}

/* Campo honeypot escondido */
.campo-honeypot { display: none !important; }

/* Mensagem de retorno do form */
.form-retorno {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: none;
}

.form-retorno.sucesso { background: rgba(0,210,160,0.1); border: 1px solid rgba(0,210,160,0.3); color: var(--acento-3); }
.form-retorno.erro { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.3); color: #f87272; }

/* === PAÍSES / BANDEIRAS === */
.paises-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pais-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    font-size: 0.78rem;
    color: var(--texto-2);
}

/* === RODAPÉ === */
footer {
    background: var(--fundo-2);
    border-top: 1px solid var(--borda);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand .logo { font-size: 1.1rem; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 0.83rem; color: var(--texto-2); max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; color: var(--branco); margin-bottom: 16px; font-family: var(--fonte-corpo); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.82rem; color: var(--texto-2); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--acento); }

.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--texto-2);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer-social a:hover { border-color: var(--acento); color: var(--acento); background: rgba(79,142,247,0.08); }

.footer-bottom {
    border-top: 1px solid var(--borda);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--texto-3);
}

.footer-bottom a { color: var(--acento); }

/* === BOTÃO FLUTUANTE WHATSAPP === */
.btn-wpp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.25s;
    text-decoration: none;
}

.btn-wpp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.btn-wpp-float .tooltip {
    position: absolute;
    right: 64px;
    background: var(--fundo-card);
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--branco);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    font-family: var(--fonte-corpo);
}

.btn-wpp-float:hover .tooltip { opacity: 1; }

/* === SEPARADOR DECORATIVO === */
.divisor {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--borda), transparent);
    margin: 0;
}

/* === ANIMAÇÕES DE ENTRADA === */
.revelar {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.revelar.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* === MENU MOBILE === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--fundo);
        border-bottom: 1px solid var(--borda);
        flex-direction: column;
        padding: 16px;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-links.aberto { display: flex; }
    .hamburger { display: flex; }

    /* Hide WhatsApp button in nav on mobile — too cramped */
    .nav-acoes .btn-wpp { display: none; }

    .hero-inner { grid-template-columns: 1fr; }
    .hero-foto { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: 1fr; }
    .sobre-grid { grid-template-columns: 1fr; }
    .contato-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ── i18n additions — bilingual support ───────────────────── */

/* tech-grid in new index uses 4 columns (all 4 categories visible) */
.tech-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* stats-grid extended to 6 columns on desktop */
@media (min-width: 769px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Paises / bandeiras */
.bandeira { font-size: 1.5rem; cursor: default; transition: transform 0.2s; }
.bandeira:hover { transform: scale(1.15); }
.nav-links a.ativo-nav { color: var(--branco); background: var(--fundo-3); }
