/* 1. Configurações Globais e Variáveis de Tema */
:root {
    --bg-color: #FFFFFF;
    --bg-secondary-color: #f5f5f7;
    --text-color: #1a1a1a;
    --text-color-light: #FFFFFF; 
    --card-bg: #FFFFFF;
    --card-border: #EAEAEA;
    --input-bg: #EEEEEE;
    /* PALETA DE CORES */
    --primary-color: #5C33FF; 
    --primary-hover: #451ACF; 
    --shadow-color: rgba(0, 0, 0, 0.05);
    /* NOVAS FONTES */
    --font-family-body: 'Inter', sans-serif;
    --font-family-heading: 'Poppins', sans-serif;
    
    /* FUNDOS MODERNOS */
    --header-bg: #FCFCFC; 
    --hero-bg: var(--primary-color);

    /* NOVO: VARIÁVEL PARA FUNDO DOS CARDS DE VIDRO */
    --card-bg-glass: rgba(92, 51, 255, 0.2); /* Roxo com 20% de opacidade */
    --card-border-glass: rgba(255, 255, 255, 0.3); /* Borda clara semi-transparente */
    --text-color-glass: var(--text-color-light); /* Texto claro para fundo roxo */
    --icon-color-glass: var(--text-color-light); /* Ícone claro para fundo roxo */
    
    /* NOVO: CORES DO RODAPÉ */
    --footer-bg: #1a1a1a;
    --footer-text-color: #bbbbbb; /* Cinza claro para o texto */
    --footer-link-color: #e0e0e0; /* Cinza mais claro para links */
    --footer-border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* CORREÇÃO LATERAL BRANCA: Garante que o scroll horizontal seja bloqueado */
html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    width: 100%;
}

body { 
    font-family: var(--font-family-body); 
    background-color: var(--bg-color); 
    color: var(--text-color); 
    transition: background-color 0.4s ease, color 0.4s ease; 
    line-height: 1.6; 
}

.body-no-scroll { overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 2. Componentes Principais */
header { 
    background-color: var(--header-bg); 
    padding: 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08); 
}

nav { 
    padding: 15px 20px; 
    background-color: transparent; 
    backdrop-filter: none; 
    border-bottom: none; 
    display: flex; justify-content: space-between; align-items: center; 
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo { font-family: var(--font-family-heading); font-size: 1.2rem; font-weight: 700; color: var(--text-color); text-decoration: none; z-index: 1001; }

.header-logo {
    height: 35px; 
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* --- Menu Mobile (Drawer) --- */
.nav-menu { 
    position: fixed; top: 0; left: -100%; width: 100%; height: 100vh; 
    background-color: var(--bg-color); 
    z-index: 1002; 
    display: flex; flex-direction: column; 
    justify-content: flex-start; 
    align-items: center; 
    transition: left 0.4s ease-in-out; 
    padding-top: 60px; 
}
.nav-menu.active { left: 0; }
.nav-links { 
    display: flex; list-style: none; flex-direction: column; 
    align-items: center; padding: 0; width: 100%; 
}
.nav-links li { 
    width: 90%; 
    border-bottom: 1px solid var(--card-border); 
    text-align: center;
}
.nav-links li:last-child { border-bottom: none; }
.nav-links li a { 
    text-decoration: none; color: var(--text-color); 
    font-size: 1rem; font-weight: 500; 
    display: block; padding: 15px 20px; position: relative; 
}
.nav-links .login-button {
    margin-top: 20px; 
    width: 90%;
    border-bottom: none; 
}
.nav-links .login-button a { 
    background-color: var(--primary-color); color: #fff; 
    padding: 12px 20px; border-radius: 8px; 
    display: flex; justify-content: center; align-items: center; gap: 8px; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
    font-size: 1rem; 
}
.login-button a:hover { transform: translateY(-2px); }
.menu-toggle { 
    display: block; 
    font-size: 1.8rem; 
    background: none; 
    border: none; 
    color: var(--text-color); 
    cursor: pointer; 
    z-index: 1003; 
    position: relative; 
}

/* --- ESTILOS DO SELETOR DE LINGUAGEM RESTAURADOS --- */

.language-selector {
    padding: 0; 
}

.lang-details {
    width: 100%;
    list-style: none; 
}

.lang-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    font-size: 1rem; 
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    list-style: none; 
}
.lang-summary::-webkit-details-marker {
    display: none;
}

.lang-summary i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.lang-summary .lang-arrow {
    font-size: 1rem;
    color: #666;
    transition: transform 0.2s ease;
}

.lang-details[open] .lang-arrow {
    transform: rotate(180deg);
}

.lang-options {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    background-color: var(--bg-secondary-color); 
}

.lang-options li {
    width: 100%;
    border-bottom: none; 
}

.lang-options li a {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #555;
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-options li a:hover {
    background-color: var(--card-border);
    color: var(--primary-color);
}

/* --- Layout do Hero --- */
.hero {
    padding: 60px 0;
    background-color: var(--hero-bg); 
    color: var(--text-color-light); 
}

/* NOVO AJUSTE: Otimização para Mobile (Garante largura máxima de 98% da tela) */
@media (max-width: 767px) {
    /* Reduz o padding padrão do contêiner na seção Hero, fazendo o conteúdo ocupar mais espaço lateral */
    .hero .container {
        padding: 0 10px; /* De 20px para 10px (Total 20px de margem lateral, resultando em ~98% de largura) */
    }
}

.hero-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}
/* CORREÇÃO APLICADA AQUI (Ajustada para o novo pedido) */
.hero-visuals {
    margin-top: 30px; 
    width: 100%; 
    max-width: 900px; /* Aumenta o limite para permitir que cresça mais em tablets e desktop (mobile view) */
    margin-left: auto;
    margin-right: auto;
}

.hero-main-image {
    width: 100%; /* Garante que a imagem se ajuste ao contêiner */
    height: auto;     
    display: block;
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
}
/* FIM DA CORREÇÃO */

.hero-text {
    flex: 1;
    max-width: 100%;
}
.hero-text h1 {
    font-family: var(--font-family-heading); 
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color-light); 
}
.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9); 
    margin: 0 0 40px 0;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7; 
}
.hero-text .hero-main-cta {
    display: inline-block;
    padding: 18px 35px;
    font-size: 1.1rem;
    background-color: var(--text-color-light); 
    color: var(--primary-color);
    border: 2px solid var(--text-color-light);
}
.hero-text .hero-main-cta:hover {
    background-color: transparent;
    color: var(--text-color-light);
}

.cta-button { 
    background-color: var(--primary-color); 
    color: #fff; 
    padding: 15px 35px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, color 0.3s ease; 
    display: inline-block; 
    border: none; 
    cursor: pointer; 
}
.cta-button:hover, .cta-button:active { 
    transform: translateY(-2px); 
    box-shadow: 0 4px 15px var(--shadow-color); 
}

/* --- Seções --- */
.plans-section, .features-section, .logo-carousel-section { padding: 80px 0; }
.plans-section, .logo-carousel-section { background-color: var(--bg-secondary-color); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { 
    font-family: var(--font-family-heading); 
    font-size: 2.2rem; 
    font-weight: 600; 
    margin-bottom: 15px; 
}
.section-header p { font-size: 1rem; color: #666; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* 3. Estilos de Cards e Elementos Secundários */
.plans-grid { 
    display: flex; 
    overflow-x: scroll; 
    padding: 15px 0 25px 0; 
    gap: 30px; 
    scroll-snap-type: x mandatory; 
    scroll-padding: 0 50px; 
    cursor: grab; 
    overscroll-behavior-x: contain; 
}
.plans-grid::-webkit-scrollbar { height: 10px; } 
.plans-grid::-webkit-scrollbar-thumb { background: #b1b1b1; border-radius: 5px; } 
.plans-grid::-webkit-scrollbar-track { background: var(--card-border); border-radius: 5px; }

.plans-grid .card { 
    min-width: 280px; max-width: 320px; 
    background-color: var(--card-bg); 
    border: 1px solid var(--card-border); 
    border-radius: 12px; 
    padding: 30px; 
    box-shadow: 0 4px 15px var(--shadow-color); 
    display: flex; flex-direction: column; 
    scroll-snap-align: start; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plans-grid .card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}
.plans-grid .card .plan-name { font-family: var(--font-family-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: var(--text-color); }
.plans-grid .card .plan-price { font-family: var(--font-family-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 20px; line-height: 1; }
.plans-grid .card .plan-price span.currency { font-size: 1.2rem; font-weight: 500; margin-right: 2px; }
.plans-grid .card .plan-price span:last-child { font-size: 0.8rem; font-weight: 500; color: #666; }
.plans-grid .card ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.plans-grid .card ul li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; padding: 8px 0; color: var(--text-color); }
.plans-grid .card ul li i { color: var(--primary-color); font-size: 1.2rem; }
.plans-grid .card .button { text-align: center; padding: 12px 20px; background-color: var(--primary-color); color: var(--text-color-light); border-radius: 6px; text-decoration: none; font-weight: 600; transition: background-color 0.3s ease; }
.plans-grid .card .button:hover { background-color: var(--primary-hover); }
.plans-grid .featured-pro { 
    border-color: var(--card-border); 
    border-width: 1px; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); 
    transform: translateY(-2px); 
    position: relative; 
}
.plans-grid .featured-pro:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
}
.view-all-plans-container { text-align: center; margin-top: 40px; }
#view-all-plans-link { padding: 10px 30px; font-size: 1rem; }
.os-logos { display: flex; justify-content: center; gap: 15px; margin-top: 20px; margin-bottom: 30px; padding-top: 15px; border-top: 1px solid var(--card-border); }
.os-logos i { font-size: 1.5rem; color: #666; transition: color 0.3s ease; }
.os-logos i:hover { color: var(--primary-color); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.feature-card { background-color: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 40px 20px; box-shadow: 0 2px 10px var(--shadow-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.feature-card .feature-icon { color: var(--text-color-light); background-color: var(--primary-color); border-radius: 50%; width: 50px; height: 50px; display: inline-flex; justify-content: center; align-items: center; font-size: 1.8rem; margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-family-heading); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: #666; }

/* --- Carrossel de Logos --- */
.logo-carousel-slider { overflow: hidden; position: relative; padding: 30px 0; }
.logo-track { 
    display: flex; width: fit-content; 
    -webkit-user-select: none;  
    -moz-user-select: none;     
    -ms-user-select: none;      
    user-select: none;
    animation-play-state: running; /* Garante que a animação continue normalmente */
}
.logo-track:hover {
    animation-play-state: paused; /* Pausa ao passar o mouse */
}
.logo-track .slide { width: 250px; height: 100px; display: flex; justify-content: center; align-items: center; }
.logo-track .slide img { 
    max-width: 80%; 
    max-height: 80%; 
    filter: grayscale(100%); 
    opacity: 0.4; 
    transition: opacity 0.3s ease, filter 0.3s ease; 
    width: auto; 
    height: auto; 
    object-fit: contain;
}
.logo-track .slide img:hover { filter: grayscale(0%); opacity: 1; }

/* ====================================================== */
/* ESTILOS: SEÇÃO CTA CARDS (GLASSMORPHISM) */
/* ====================================================== */
.cta-cards-section {
    padding: 60px 0;
    background-color: var(--hero-bg); 
    position: relative; 
    overflow: hidden; 
    color: var(--text-color-light); 
}

.cta-cards-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at bottom right, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    animation: rotateBackground 20s linear infinite;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-cards-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 30px;
    position: relative; 
    z-index: 2;
}

.cta-card {
    background-color: var(--card-bg-glass); 
    border: 1px solid var(--card-border-glass); 
    border-radius: 12px; 
    padding: 30px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative; 
    overflow: hidden; 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
}

.cta-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    background-color: rgba(92, 51, 255, 0.3); 
}

.cta-card .cta-icon {
    font-size: 2.5rem;
    color: var(--icon-color-glass); 
    margin-bottom: 15px;
    display: block;
}

.cta-card h3 {
    font-family: var(--font-family-heading); 
    font-size: 1.5rem; 
    font-weight: 700; 
    margin-bottom: 10px;
    color: var(--text-color-glass); 
}

.cta-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8); 
    margin-bottom: 25px;
    flex-grow: 1; 
}

.card-link-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-color-light); 
    font-size: 1.5rem;
    line-height: 1; 
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10; 
}

.card-link-arrow:hover {
    color: var(--primary-hover); 
    transform: translateY(-2px) translateX(2px); 
}

.cta-info {
    margin-top: auto;
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 10px; 
    width: 100%; 
}

.cta-price {
    font-size: 1.1rem;
    color: var(--text-color-glass);
    display: flex; 
    align-items: baseline;
    gap: 5px;
}
.cta-price strong {
    color: var(--text-color-glass); 
    font-weight: 700;
    font-size: 1.4rem; 
}
.cta-price span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}


/* ====================================================== */
/* ESTILOS ADICIONAIS: SEÇÃO ADMIN CONTROL (Controle Root) */
/* ====================================================== */
.root-control-promo {
    padding: 80px 0;
    background-color: var(--bg-secondary-color); 
}

/* NOVO: AJUSTE DE MARGENS PARA ~98% DE OCUPAÇÃO EM MOBILE (APLICADO AO ROOT E EMAIL) */
.root-control-promo .container,
.ai-marketing-promo .container { 
    /* O container padrão tem 20px de padding (40px total). Reduzindo para 5px (10px total) simula ~98% */
    padding: 0 5px; 
}

/* O CARD ROOT VAI REUTILIZAR OS ESTILOS DO .promo-card, mas com ajustes */
.root-card {
    background-color: var(--card-bg); /* Fundo branco para contraste */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Sombra mais forte */
}

.root-card .promo-content h2 {
    color: var(--text-color); 
}

.root-card .promo-content p {
    color: #555; 
}

.root-card .root-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
    max-width: 350px; 
}

.root-card .root-features li {
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--card-border);
    font-weight: 500; 
}

.root-card .root-features li:last-child {
    border-bottom: none;
}

.root-card .root-features li i {
    color: #555; 
    font-size: 1.3rem;
    min-width: 20px;
}

/* Garante que o CTA-Button use a cor padrão no card branco */
.root-card .cta-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.root-card .promo-visual img {
    border-left: 1px solid var(--card-border); 
}


/* ====================================================== */
/* ESTILOS: SEÇÃO CARD PROMOCIONAL EMAIL IA */
/* ====================================================== */

.ai-marketing-promo {
    padding: 80px 0;
    background-color: var(--bg-secondary-color); 
}

.promo-card {
    display: flex;
    flex-direction: column; 
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden; 
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.promo-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-content h2 {
    font-family: var(--font-family-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color); 
    line-height: 1.2;
}

.promo-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 500px;
}

.promo-features {
    list-style: none;
    margin-bottom: 30px;
    /* Alinha as features à esquerda, mesmo no layout mobile */
    text-align: left;
    width: 100%;
    max-width: 350px; 
}

.promo-features li {
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.promo-features li i {
    color: #555; 
    font-size: 1.3rem;
    min-width: 20px;
}

.promo-visual {
    width: 100%;
    overflow: hidden; 
}

.promo-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-top: 1px solid var(--card-border); 
}

/* Badge 'Em Breve' (Visual chamativo) */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffcc00; /* Amarelo Vibrante */
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.5);
    /* Adiciona animação sutil para chamar a atenção */
    animation: pulse 2s infinite ease-in-out; 
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}


/* ====================================================== */
/* 4. ESTILOS DO NOVO RODAPÉ (HOSTINGER STYLE) */
/* ====================================================== */
.site-footer { 
    background-color: var(--footer-bg); 
    color: var(--footer-text-color); 
    padding: 40px 0 0 0; /* Ajusta padding inferior para a barra legal */
}

/* --- Seção Principal do Rodapé (Colunas) --- */
.site-footer .footer-main { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 30px; 
    padding-bottom: 30px; 
    border-bottom: 1px solid var(--footer-border); 
}

.site-footer .footer-col { 
    padding: 15px 0; 
    text-align: left; 
}

/* Coluna de Informação/Logo */
.site-footer .footer-info {
    text-align: left; /* Garante alinhamento à esquerda */
    padding-top: 0;
}

.site-footer .footer-logo { 
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); 
    margin-bottom: 15px; 
    display: block;
}

.site-footer .footer-tagline { 
    font-size: 0.9rem; 
    color: var(--footer-text-color); 
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Títulos das Colunas */
.site-footer .footer-col h4 { 
    font-family: var(--font-family-heading); 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 20px; 
    color: var(--footer-link-color); /* Títulos em cor clara */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Links (ul) */
.site-footer .footer-links { 
    list-style: none; 
    padding: 0;
}
.site-footer .footer-links li a { 
    text-decoration: none; 
    color: var(--footer-text-color); 
    font-size: 0.95rem;
    display: block; 
    padding: 8px 0; 
    transition: color 0.2s ease; 
}
.site-footer .footer-links li a:hover { 
    color: var(--primary-color); 
    transform: translateX(3px); /* Efeito sutil ao passar o mouse */
}

/* Ícones Sociais */
.site-footer .social-icons { 
    display: flex; 
    gap: 15px;
}
.site-footer .social-link { 
    color: var(--footer-text-color); 
    font-size: 1.5rem; 
    transition: color 0.2s ease, transform 0.2s ease; 
}
.site-footer .social-link:hover { 
    color: var(--primary-color); 
    transform: translateY(-3px); 
}

/* Ícones de Pagamento */
.site-footer .footer-payment h4 { 
    margin-bottom: 10px; 
}

.payment-icons {
    display: flex;
    justify-content: flex-start;
    gap: 10px; 
    margin-top: 15px;
    flex-wrap: wrap; 
}

.payment-card {
    background-color: rgba(255, 255, 255, 0.05); 
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 0 0 auto; 
    max-width: 80px;
}

.payment-card:hover {
    background-color: rgba(255, 255, 255, 0.15); 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.payment-icons img {
    height: 30px; /* Reduz um pouco o tamanho para o visual Hostinger */
    width: auto;
    /* Mantém os logos em tons de cinza claro até o hover */
    filter: grayscale(100%) brightness(0.6) invert(0.6); 
    transition: filter 0.3s ease;
}

.payment-card:hover img {
    filter: grayscale(0%) brightness(1) invert(0); 
}


/* --- Barra Legal Inferior --- */
.footer-legal-bar {
    padding: 20px 0;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    gap: 15px;
    font-size: 0.85rem; 
    color: rgba(255, 255, 255, 0.5); 
}

.footer-legal-bar .legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; 
}

.footer-legal-bar .legal-links a { 
    text-decoration: none; 
    color: rgba(255, 255, 255, 0.7); 
    font-size: 0.85rem; 
    padding: 0 5px; 
    transition: color 0.2s ease; 
}

.footer-legal-bar .legal-links a:hover { 
    color: var(--primary-color); 
}


/* 5. ESTILOS PARA TELAS MAIORES (TABLET E DESKTOP) */

/* =========== AJUSTE PARA MOBILE E TABLET (ATÉ 991PX) =========== */
@media (max-width: 991px) {
    /* CORREÇÃO HERO: Garante que a imagem preencha 100% no mobile/tablet, removendo padding lateral */
    .hero .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .hero-content {
        gap: 0;
    }
    
    .hero-visuals {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-main-image {
        border-radius: 0; 
        box-shadow: none; 
    }
    
    /* Regra para telas bem estreitas (mantida para fallback, mas a regra 991px já domina) */
    @media (max-width: 767px) {
        .hero .container {
            padding: 0;
        }
        .hero-text {
            padding: 0 20px; 
        }
    }
    /* FIM DA CORREÇÃO HERO */

    /* Garante uma coluna e 98% de largura no contêiner para mobile/tablet (conforme solicitado) */
    .features-grid {
        grid-template-columns: 1fr; 
        gap: 25px; 
    }
    
    .feature-card {
        max-width: 98%; 
        margin: 0 auto;
        /* Reduz o padding vertical para tornar o card mais fino */
        padding: 25px 20px; 
    }
    
    /* Oculta os ícones nas versões mobile e tablet */
    .feature-card .feature-icon {
        display: none;
    }
    
    /* Ajusta a margem do título agora que o ícone sumiu */
    .feature-card h3 {
        margin-top: 0;
        margin-bottom: 5px;
        font-size: 1.1rem; 
    }

    /* OTIMIZAÇÃO ANDROID/MOBILE PARA CARROSSEL DE LOGOS */
    /* Remove o filtro de cinza e aumenta a opacidade para que os logos sejam visíveis em telas touch */
    .logo-track .slide img {
        filter: grayscale(0%) !important; 
        opacity: 0.8 !important;         
        max-width: 90% !important;       
    }

    /* NOVO: Compacta a seção de logos em mobile (Pedido do usuário) */
    .logo-carousel-section {
        padding: 40px 0; /* Reduz o espaçamento da seção */
    }
    .logo-carousel-section .section-header {
        margin-bottom: 30px; /* Reduz o espaço após o título */
    }
    
    /* Ajuste Mobile para o Seletor de Idioma */
    .language-selector {
        width: 100%;
    }
}
/* ====================================================== */

/* NOVO: REGRAS ESPECÍFICAS PARA DEIXAR AS LOGOS MENORES E UNIFORMES EM MOBILE */
@media (max-width: 768px) {
    .logo-track .slide {
        /* Reduz a largura de cada slide para telas menores */
        width: 150px; 
    }

    .logo-track .slide img {
        /* Garante que todas as imagens tenham o mesmo tamanho e sejam menores */
        width: 100px;  
        height: 60px; 
        max-width: 100px !important; 
        max-height: 60px !important; 
        object-fit: contain; 
    }
}
/* ====================================================== */

@media (min-width: 768px) {
    /* Ajuste para tablets */
    .hero-visuals {
        max-width: 75%; 
    }
    
    /* Media Query para Desktop: 2 Colunas */
    .cta-cards-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    .cta-card .cta-info {
        flex-direction: row; 
        justify-content: center; 
    }
    
    /* --- NOVO: AJUSTES DO RODAPÉ EM DESKTOP --- */
    .site-footer .footer-main {
        /* Layout em 4 colunas: Info (2x), Links (1x), Links (1x) ou 2, 1, 1, 1 */
        grid-template-columns: 2fr 1fr 1fr 1.5fr; 
        gap: 30px;
    }
    
    .site-footer .footer-col {
        padding: 0;
        text-align: left;
    }
    
    .site-footer .footer-info {
        padding: 0; 
    }
    
    .site-footer .social-icons {
        justify-content: flex-start;
    }
    
    .site-footer .footer-legal-bar {
        flex-direction: row; /* Volta para linha horizontal */
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-legal-bar .legal-links {
        gap: 20px;
    }
    
    .footer-legal-bar .legal-links a {
        /* Adiciona divisória em desktop */
        border-right: 1px solid rgba(255, 255, 255, 0.2); 
        padding-right: 20px;
        padding-left: 0;
    }
    .footer-legal-bar .legal-links a:last-child { 
        border-right: none;
        padding-right: 0;
    }
    
    /* ESTILO NOVO: Garante 97% de largura para o CARD ROOT E EMAIL */
    .root-control-promo .container,
    .ai-marketing-promo .container { 
        max-width: 97%; 
        padding: 0 20px; 
    }
    
    .root-card {
        max-width: none; 
    }

    .root-card .promo-visual img {
        border-radius: 0; 
    }
}

@media (min-width: 992px) {
    /* --- MENU DE NAVEGAÇÃO DESKTOP --- */
    nav .nav-menu { 
        position: static; left: auto; width: auto; height: auto; 
        background-color: transparent; padding-top: 0; 
        flex-direction: row; align-items: center; 
    }
    .nav-links { flex-direction: row; gap: 25px; width: auto; }
    .nav-links li { border-bottom: none; width: auto; }
    .nav-links li a { padding: 10px 0; }
    .nav-links li:not(.login-button):not(.language-selector) a { font-size: 0.95rem; }
    .nav-links li:not(.login-button):not(.language-selector) a:hover { color: var(--primary-color); }
    .nav-links li:not(.login-button):not(.language-selector) a::after {
        content: ''; position: absolute; bottom: 0; left: 0; 
        width: 0; height: 2px; 
        background-color: var(--primary-color); 
        transition: width 0.3s ease; 
    }
    .nav-links li:not(.login-button):not(.language-selector) a:hover::after { width: 100%; }
    
    /* ESTILOS ESPECÍFICOS PARA O SELETOR DE LINGUAGEM EM DESKTOP RESTAURADOS */
    .language-selector {
        position: relative; 
        border-bottom: none; 
        width: auto;
        padding: 0;
        margin-right: 15px; 
    }

    .lang-details {
        display: block; 
    }
    
    .lang-summary {
        padding: 10px 0; 
        font-size: 0.95rem;
        transition: color 0.2s ease;
    }
    
    .lang-summary:hover {
        color: var(--primary-color);
    }
    
    .lang-options {
        position: absolute;
        top: calc(100% + 10px); 
        left: 50%;
        transform: translateX(-50%); 
        min-width: 150px;
        background-color: var(--card-bg); 
        border: 1px solid var(--card-border);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 10;
        overflow: hidden;
        margin-top: 0;
    }

    .lang-options li {
        text-align: left;
        padding: 0;
        width: 100%;
    }

    .lang-options li a {
        padding: 10px 15px;
        color: var(--text-color);
        font-weight: 400;
        font-size: 0.9rem;
    }
    /* FIM ESTILOS ESPECÍFICOS RESTAURADOS */

    .nav-links .login-button { margin-left: 25px; margin-top: 0; width: auto; }
    .nav-links .login-button a { 
        font-size: 0.95rem; padding: 8px 18px; 
        background-color: transparent; 
        color: var(--primary-color); 
        border: 1px solid var(--primary-color); border-radius: 6px; 
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease; 
        text-align: center; 
    }
    .nav-links .login-button a:hover { 
        background-color: var(--primary-color); 
        color: var(--text-color-light); 
        transform: translateY(-1px); 
        box-shadow: 0 4px 10px var(--shadow-color); 
    }
    .menu-toggle { display: none; }
    /* --- FIM MENU NAVEGAÇÃO DESKTOP --- */

/* ... restante do CSS ... */
}
