/* Sora Regular - 400 */
@font-face {
    font-family: 'Sora';
    src: url('sora/static/Sora-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Sora SemiBold - 600 */
@font-face {
    font-family: 'Sora';
    src: url('sora/static/Sora-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Sora Bold - 700 */
@font-face {
    font-family: 'Sora';
    src: url('sora/static/Sora-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Sora ExtraBold - 800 */
@font-face {
    font-family: 'Sora';
    src: url('sora/static/Sora-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}



/* No topo do seu style.css, altere a fonte no body */
body {
    background-color: var(--dark-bg);
    color: white;
    font-family: 'Sora', sans-serif; /* Alterado de Inter para Sora */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Deixa a Sora mais nítida em telas Mac/Windows */
}

/* Ajuste nos títulos para aproveitar o peso da Sora */
.hero h1, .fw-extrabold {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em; /* Sora fica mais elegante com as letras levemente mais juntas em títulos */
}

.feature-card-v2 h4 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.price-tag {
    font-family: 'Sora', sans-serif;
    letter-spacing: -1px;
}


/* Configurações Gerais */
:root {
    --primary: #0d6efd;
    --primary-hover: #0a58ca;
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-muted: #888;
    --cyan-glow: #00f2ff;
}
/* 1. DEFINIÇÃO DE VARIÁVEIS (Sempre no topo) */
:root {
    --primary: #0d6efd;
    --primary-hover: #0a58ca;
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-muted: #888;
    --cyan-glow: #00f2ff;
    --text-main: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* 2. CONFIGURAÇÕES GERAIS */
body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Sora', sans-serif; /* Agora a única definição global */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 3. AJUSTES DE TIPOGRAFIA (Aproveitando o peso da Sora) */
h1, h2, h3, h4, h5, h6, .fw-extrabold {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.feature-card-v2 h4, .card-plan h4 {
    font-weight: 700;
}

.price-tag {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 3rem;
}

/* 4. COMPONENTES E SEÇÕES (Hero, Cards, etc.) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(15,15,15,1) 100%);
    z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero-mockup-wrapper {
    max-width: 720px;
    width: 120%;
    margin-right: -10%;
    position: relative;
    z-index: 2;
}

.hero-floating-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
    animation: floatAnimation 5s ease-in-out infinite;
}

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

/* 5. CARDS E HOVERS */
.card-plan {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 2rem;
}

.card-plan:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* 6. UTILITÁRIOS E FOOTER */
.nav-glass {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.footer-link {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

/* --- HERO SECTION (FULLSCREEN & PARALLAX) --- */
/* --- Ajustes na Hero para Suportar o Mockup --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    background-image: url('../img/hero-bg.webp'); /* Certifique-se que o fundo também é .webp */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-mockup-wrapper {
    max-width: 720px; /* Sua medida desejada */
    width: 120%;      /* Força a imagem a ignorar recuos sutis do container */
    margin-right: -10%; /* Faz a imagem "sangrar" levemente para a direita se necessário */
    position: relative;
    z-index: 2;
}

.hero-floating-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)); /* Sombra mais forte para o tamanho novo */
    animation: floatAnimation 5s ease-in-out infinite;
}

/* Ajuste para o mobile não ficar gigante */
@media (max-width: 991px) {
    .hero-mockup-wrapper {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
    }
}

/* Animação Suave */
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsividade para Mobile */
@media (max-width: 991px) {
    .hero {
        text-align: center;
        padding-top: 140px;
    }
    .hero-mockup-wrapper {
        max-width: 320px; /* Ainda menor em telemóveis */
        margin-top: 40px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente para garantir legibilidade do texto */
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.8) 0%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(15,15,15,1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* --- BLOCO BENEFÍCIOS (ESFUMAÇADO REFORÇADO) --- */
.benefits-section {
    background: radial-gradient(circle at center, #060b1a 0%, #000000 100%);
    border-top: 1px solid rgba(13, 110, 253, 0.15);
    border-bottom: 1px solid rgba(13, 110, 253, 0.15);
    position: relative;
    overflow: hidden;
}

/* Bolhas de Brilho Esfumaçadas */
.glow-blob {
    position: fixed; /* Alterado de absolute para fixed */
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.25; /* Reforçado para aparecer mais no fundo escuro */
    pointer-events: none;
}

.glow-1 { 
    background: radial-gradient(circle, var(--primary) 0%, rgba(13, 110, 253, 0) 70%);
    top: -150px; 
    right: -150px; 
}

.glow-2 { 
    background: radial-gradient(circle, var(--cyan-glow) 0%, rgba(0, 242, 255, 0) 70%);
    bottom: -150px; 
    left: -150px; 
}

.feature-card-v2 {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 32px;
    padding: 50px 35px;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

.feature-card-v2:hover {
    transform: translateY(-10px);
    background: rgba(13, 110, 253, 0.06);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.1);
}

.icon-wrapper {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan-glow) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.text-glow {
    color: #fff;
    text-shadow: 0 0 15px rgba(13, 110, 253, 0.6);
}

/* --- CARDS DE PREÇO --- */
.card-plan {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible; 
}

.card-plan:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-plan.featured {
    border: 2px solid var(--primary);
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin: 20px 0;
}

/* --- FOOTER & NAV --- */
.nav-glass {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.footer-section {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    max-width: 150px; 
    height: auto;
    filter: brightness(0.9);
}

.text-highlight-footer {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
}

/* --- UTILITÁRIOS --- */
.btn-cta {
    padding: 16px 32px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-glow {
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

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

/* Responsividade */
@media (max-width: 768px) {
    .hero { min-height: 80vh; background-attachment: scroll; }
    .hero h1 { font-size: 2.5rem; }
    .glow-blob { width: 300px; height: 300px; }
}

/* Links de Termos, Privacidade e Suporte */
.footer-link {
    color: rgba(255, 255, 255, 0.5) !important; /* Cinza suave para não brigar com o conteúdo */
    text-decoration: none !important;            /* Remove o sublinhado */
    font-size: 0.8rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-link:hover {
    color: #ffffff !important;                   /* Branco puro ao passar o mouse */
    text-shadow: 0 0 10px rgba(13, 110, 253, 0.5); /* Leve brilho azul no hover */
}

/* Melhora a legibilidade para leitores de tela e motores de busca */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Garante que imagens não quebrem o layout em dispositivos muito pequenos */
img {
    max-width: 100%;
    height: auto;
}

/* Otimização de renderização de texto */
h1, h2, h3, h4 {
    text-wrap: balance; /* Evita que uma única palavra fique sozinha na linha em títulos */
}

/* --- Banner de Privacidade Customizado --- */
.cookie-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: rgba(255, 255, 255, 0.98); /* Fundo quase branco opaco */
    backdrop-filter: blur(10px); /* Efeito de vidro */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 24px;
    z-index: 9999;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    display: none; /* Começa escondido para o JS mostrar */
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Quando o JS adicionar a classe 'show' */
.cookie-container.show {
    display: block;
    opacity: 1;
}

.cookie-content p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-accept {
    background: #111; /* Cor sóbria e elegante */
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-accept:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-settings {
    background: transparent;
    color: #888;
    border: 1px solid #ddd;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}

.btn-settings:hover {
    color: #333;
    border-color: #bbb;
    background: #f9f9f9;
}

/* Ajuste para telas menores (Mobile) */
@media (max-width: 480px) {
    .cookie-container {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 15px;
    }
}