:root {
    --bg-dark: #0A0A0A;
    --accent-orange: #FF5733;
    --text-white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    /* background: linear-gradient(180deg,
        #050B14 0%,
        #081121 30%,
        #0A1425 60%,
        #050B14 100%
    ); */
    background: linear-gradient(135deg, #1B263B 0%, #0D1B2A 100%);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    /* Compensa a altura da Navbar fixa para o título não ficar escondido */
    scroll-padding-top: 15px;
}

/* 3. Refinamento dos Cards para o Gradiente */
.glass-piller, .v-card, .partner-card {
    /* Como o fundo agora é um gradiente longo, aumentamos o blur para destacar */
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.mini { max-width: 600px; }

/* Navbar */
/* .navbar { padding: 20px 0; position: sticky; top: 0; background: rgba(10,10,10,0.9); z-index: 1000; } */
/* .navbar .container { display: flex; justify-content: space-between; align-items: center; } */
/* .logo { font-weight: bold; font-size: 1.5rem; letter-spacing: 2px; } */
/* .logo span { color: var(--accent-orange); } */
/* .nav-links { list-style: none; display: flex; align-items: center; } */
/* .nav-links li { margin-left: 30px; }
.nav-links a { color: white; text-decoration: none; transition: 0.3s; } */

/* --- Estilos Base (PC) --- */
.navbar {
    background: linear-gradient(135deg, #1B263B 0%, #0D1B2A 100%);
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    letter-spacing: 2px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 7px 15px;
    font-size: 16px;
    transition: 0.3s;
}

.checkbtn {
    font-size: 30px;
    color: white;
    cursor: pointer;
    display: none; /* Escondido no PC */
}

#check {
    display: none;
}

/* --- MEDIA QUERY (TELEMÓVEL) --- */
@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    .nav-links {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #1B263B;
        top: 80px;
        left: -100%; /* Esconde o menu à esquerda */
        text-align: center;
        transition: all .5s;
        flex-direction: column; /* Links um por cima do outro */
        padding-top: 50px;
    }

    .nav-links li {
        display: block;
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    /* A "Mágica": Quando clicas no ícone, o menu desliza */
    #check:checked ~ .nav-links {
        left: 0;
    }
}



/* Hero Section */
.hero { padding: 100px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
h1 span { color: var(--accent-orange); }
/* .hero-btns { display: flex; gap: 20px; margin-top: 30px; } */

/* Buttons */
.btn-primary { background: var(--accent-orange); color: white; padding: 15px 30px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer; font-weight: bold; transition: 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 87, 51, 0.3); }
.btn-outline { border: 1px solid var(--accent-orange); padding: 10px 20px; border-radius: 8px; color: white; text-decoration: none; }

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* O Botão Principal (Sólido) */
.btn-primary {
    background: var(--accent-orange);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    border: 2px solid var(--accent-orange);
}

/* O Botão Secundário (Outline/Transparente) */
.btn-secondary, .btn-outline {
    background: transparent;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid rgba(255, 87, 51, 0.5); /* Borda laranja suave */
    transition: 0.3s;
}

.btn-secondary:hover, .btn-outline:hover {
    border-color: var(--accent-orange);
    background: rgba(255, 87, 51, 0.1); /* Um leve brilho ao passar o rato */
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}
.icon-orange { color: var(--accent-orange); font-size: 2.5rem; margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* Form */
input, select, textarea {
    width: 100%; padding: 15px; margin-bottom: 15px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; border-radius: 8px;
}
.full-width { width: 100%; }

/* 1. ADICIONA A ANIMAÇÃO NO TOPO */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1.5deg); } /* Um leve balanço */
    100% { transform: translateY(0px) rotate(0deg); }
}

/* 3. ATUALIZA O MOCKUP COM A FLUTUAÇÃO */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-placeholder {
    width: 280px;
    height: 550px;
    background: #000; /* Fundo preto para as bordas do ecrã */
    border: 6px solid #1e2e4a; /* Moldura mais grossa e escura */
    border-radius: 35px; /* Bordas arredondadas do telemóvel */
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(255, 87, 51, 0.2);

    /* Importante para que a imagem não saia fora das bordas arredondadas */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    /* A animação mágica mantém-se aqui */
    animation: float 5s ease-in-out infinite;
    transition: 0.3s;
}

/* Estilo para a imagem da App dentro da moldura */
.app-screen {
    width: 100%;       /* Ocupa toda a largura interna */
    height: 100%;      /* Ocupa toda a altura interna */
    object-fit: cover; /* Garante que a imagem preenche o espaço sem distorcer, cortando as bordas se necessário */
    border-radius: 23px; /* Arredondamento interno ligeiramente menor que a moldura */
}

/* --- NOVA SECCÃO: SHOWCASE DUPLO (TELEMOVEL E TABLET) --- */
.hero-dual-showcase {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Alinha o tablet e o telemóvel na base */
    gap: 60px; /* Espaço entre os dois */
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 100px; /* Margem generosa antes dos botões */
    padding: 0 20px;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* Divide o espaço igualmente */
    max-width: 500px;
}

/* Rótulos Néon (Títulos sobre cada mockup) */
.showcase-label {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Diferenciando as cores dos néons para identificação rápida */
.neon-user {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.neon-rest {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 87, 51, 0.4);
}

.showcase-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    text-align: center;
}

/* Mockup do Telemóvel (phone) */
.mockup-placeholder.phone {
    width: 250px; /* Tamanho controlado do telemóvel */
    height: 500px;
}

/* Mockup do Tablet (tablet) */
.mockup-placeholder.tablet {
    width: 350px; /* Tablet mais largo */
    height: 500px;
}

/* Responsividade Mobile (Showcase Duplo) */
@media (max-width: 992px) {
    .hero-dual-showcase {
        flex-direction: column; /* Em tablets, ficam um por cima do outro */
        align-items: center;
        gap: 80px;
    }

    .mockup-placeholder.tablet {
        width: 100%; /* Tablet ocupa a largura total disponível */
        max-width: 500px;
    }
}

/* Estilo Mágico para o Logo no topo do Hero */
.hero-app-logo {
    max-width: 350px; /* Define uma largura máxima */
    height: auto;      /* Mantém a proporção */
    margin-bottom: 25px; /* Espaço antes do H1 */

    /* 1. Inverte a cor de Preto para Branco */
    filter: brightness(0) invert(1);

    /* 2. Adiciona o Efeito Néon Laranja (Drop Shadow) */
    -webkit-filter: brightness(0) invert(1) drop-shadow(0px 0px 10px rgba(255, 87, 51, 0.6));
    filter: brightness(0) invert(1) drop-shadow(0px 0px 10px rgba(255, 87, 51, 0.6));
    transition: all 0.3s ease; /* Para um efeito suave no hover */
}

/* Efeito Hover (Opcional - Mais intensidade) */
.hero-app-logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0px 0px 15px rgba(255, 87, 51, 1));
}

/* Responsividade: Diminuir o logo em ecrãs pequenos */
@media (max-width: 768px) {
    .hero-app-logo {
        max-width: 250px;
        margin-bottom: 20px;
        margin-left: auto; /* Centraliza o logo no mobile */
        margin-right: auto;
    }
}

/* Secção Hero Nova */
.hero.central {
    padding: 140px 0 100px; /* Mais espaço no topo para o logo */
    background: linear-gradient(180deg, #020509 0%, #050B14 100%); /* Fusão suave do preto para o Midnight */
    text-align: center;
    overflow: hidden; /* Para lidar com animações de entrada */
}

/* Garante que o contentor centralizado tenha limites de leitura */
.hero.central .container {
    max-width: 1100px; /* Largura focada */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza tudo horizontalmente */
    margin: 0 auto;
}

/* Header do Hero (Logo, Título, Slogan) */
.hero-header {
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: white;
}

.slogan {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

/* NOVO: Texto Explicativo (Foco de image_10.png) */
.hero-explanation {
    max-width: 900px;
    margin: 0 auto 70px; /* Espaço para o mockup/grid */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-explanation p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.hero-explanation strong {
    color: white;
    font-weight: bold;
}

.hero-explanation p.final-call {
    font-size: 1.4rem;
    color: var(--accent-orange);
    font-weight: bold;
    margin-bottom: 0;
}

/* NOVO: Grid de Pilares (Ícones) no Hero */
.hero-pillers {
    margin-bottom: 80px; /* Espaço para os botões */
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas iguais */
    gap: 25px;
}

/* Reutilizando e adaptando o estilo dos Pillers anteriores */
.hero-pillers .glass-piller {
    text-align: center;
    padding: 35px 25px;
    margin-top: 70px;
}

.hero-pillers h4 {
    font-size: 1.3rem;
    color: white;
}

.hero-pillers p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsividade Mobile para os 4 Pilares */
@media (max-width: 992px) {
    .hero-pillers {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.8rem; /* Título mais pequeno no mobile */
    }
    .hero-pillers {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
    }
    .hero-btns.central {
        flex-direction: column;
        gap: 15px;
    }
}
/* Secção Hero Nova Final */

/* Botões de CTA */
.cta-header {
    text-align: center;
    margin-bottom: 30px; /* Espaço antes dos botões */
}

.cta-header h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 10px;
}

.cta-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}
/* Fim de Botões de CTA */

/* Antes das Features */
/* Estilo da Introdução das Funcionalidades */
.features-intro {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 40px; /* Espaço generoso acima e algum abaixo */
    padding: 0 20px;
}

.section-title-small {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-weight: 300;
}

/* Ajuste para Mobile */
@media (max-width: 768px) {
    .section-title-small {
        font-size: 1.8rem;
    }
    .features-intro {
        margin: 50px auto 30px;
    }
}
/* Final */

/* Secção Sobre/Visão Refinada (Substituir anterior) */
.about-vision {
    padding: 100px 0;
    background: linear-gradient(180deg, #050B14 0%, #081121 100%);
    text-align: center; /* Centraliza tudo por defeito nesta secção */
}

/* Garante que o texto de storytelling tenha um bom tamanho de leitura */
.about-vision .container.mini {
    max-width: 800px; /* Largura focada para leitura */
    margin-bottom: 60px; /* Espaço para o grid de ícones */
}

.about-vision h2 {
    font-size: 2.3rem;
    margin-bottom: 30px;
    color: white;
}

.about-vision p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.badge {
    background: rgba(255, 87, 51, 0.1);
    color: var(--accent-orange);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Novo Grid de Pilares (3 Colunas) */
.piller-grid-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.piller-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
    gap: 30px;
}

/* Estilo do Pilar Individual (Glassmorphism) */
.glass-piller {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    cursor: default;
}

.glass-piller:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 87, 51, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.piller-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 87, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.glass-piller h4 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 12px;
}

.glass-piller p {
    font-size: 0.95rem;
    margin-bottom: 0; /* Remove margem inferior para parágrafos curtos */
    color: rgba(255, 255, 255, 0.6);
}

/* Responsividade: Mudar para 1 coluna no mobile */
@media (max-width: 768px) {
    .piller-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Secção Vantagens */
/* Estilo específico para os cards de vantagens */
.v-card {
    text-align: center;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

.v-card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 87, 51, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 87, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    text-align: left; /* Lista alinhada à esquerda dentro do card centralizado */
}

.advantage-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.advantage-list li i {
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-right: 15px;
    width: 25px; /* Mantém os ícones alinhados verticalmente */
    text-align: center;
    filter: drop-shadow(0 0 5px rgba(255, 87, 51, 0.3));
    min-width: 35px; /* Garante que o texto fica todo alinhado à esquerda */
}

.v-card h3 {
    font-size: 1.8rem;
    color: white;
}

/* Secção Restaurantes */
.partners-registry {
    padding: 100px 0;
    background: #050B14;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Grid de Cards */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Estilo do Card Individual */
.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* Efeito Hover no Card */
.partner-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 87, 51, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partner-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
}

.location {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
}

.card-info {
    padding: 25px;
}

.card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
}

.card-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.view-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.view-link:hover {
    gap: 15px;
}

.partners-footer {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: rgba(255, 87, 51, 0.05);
    border-radius: 20px;
}

.partners-footer p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}


/* Secção de Contacto Refinada */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #050B14 0%, #03070d 100%);
}

/* 1. Removemos os backgrounds individuais das secções para não haver cortes */
.about-vision,
.advantages,
.partners-registry,
.contact-section,
.hero.central {
    background: transparent;
    padding: 100px 0;
    border: none;
}

.glass-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.form-header { text-align: center; margin-bottom: 40px; }
.form-header h2 { font-size: 2.2rem; margin: 15px 0 10px; }
.form-header p { color: rgba(255, 255, 255, 0.6); }

/* Grupos de Input com Ícones */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

/* Garante que o texto dentro do menu dropdown seja legível */
.input-group select option {
    background-color: #1a2a44; /* Um azul escuro sólido (mesmo tom do site) */
    color: #ffffff;            /* Letras brancas */
    padding: 10px;
}

/* Ajuste específico para navegadores que não mudam a cor automaticamente */
select {
    color: white; /* Cor do texto quando o menu está fechado */
}

/* Quando o utilizador clica, alguns browsers precisam deste reforço */
select:focus {
    color: white;
}

.input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    opacity: 0.7;
}

.input-group textarea + i { top: 25px; } /* Ajuste para o ícone na textarea */

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 18px 20px 18px 55px; /* Espaço para o ícone */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.08);
}

.shadow-orange {
    box-shadow: 0 10px 30px rgba(255, 87, 51, 0.2);
}

.form-footer-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer Style */
.main-footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #03070d;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.social-links a { color: white; transition: 0.3s; }
.social-links a:hover { color: var(--accent-orange); transform: translateY(-3px); }


/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 87, 51, 0.2); /* Laranja suave transparente */
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-orange);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Escondido inicialmente */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 87, 51, 0.3);
}

.back-to-top:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 87, 51, 0.6);
}
/* Final de Back to Top */


/* --- AJUSTE FINAL DE RESPONSIVIDADE DE TODA A PÁGINA --- */
@media (max-width: 768px) {
    /* Ajuste dos botões no Hero */
    .hero-btns {
        flex-direction: column; /* Botões um por cima do outro no telemóvel */
        width: 100%;
        max-width: 300px; /* Não deixa os botões ficarem largos demais */
        margin: 0 auto; /* Centraliza o bloco de botões */
    }

    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%; /* Botões ocupam a largura total do contentor */
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Ajuste da Missão e Vantagens */
    .piller-grid, .grid-2, .partners-grid {
        grid-template-columns: 1fr !important; /* Tudo numa coluna só */
        gap: 20px;
        padding: 0 10px;
    }

    /* O Mockup do Telemóvel */
    .mockup-placeholder {
        width: 200px;
        height: 400px;
        margin: 40px auto 0; /* Centraliza e dá espaço no topo */
    }

    .hero h1 {
        font-size: 2rem; /* Título mais pequeno para não quebrar */
        text-align: center;
    }

    .hero p {
        text-align: center;
    }
}

/* DownloadVersão Android */
/* O container agora deve comportar-se como um dos botões */
.download-container {
    position: relative;
    display: flex;
    align-items: center;
}

/* Garante que o botão dentro do container herda o estilo correto sem saltos */
.download-container .btn-outline {
    margin: 0; /* Remove margens extra que possam estar a empurrar o botão */
}

.hero-btns.central {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Faz com que todos tentem ter a mesma altura */
    gap: 20px;
    flex-wrap: wrap;
}

/* Exemplo de uniformização */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 25px;
    height: 50px; /* Altura fixa ajuda a manter o alinhamento perfeito */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    box-sizing: border-box; /* Importante para que a borda não aumente o tamanho */
}

/* Garante que o link e o container do download ocupem o mesmo espaço vertical */
.btn-primary,
.btn-secondary,
.download-container .btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px; /* Define uma altura fixa para todos */
    padding: 0 25px;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 8px;
    margin: 0; /* Remove margens que causam o desvio */
}

/* Estilo do Tooltip */
.tooltip-text {
    visibility: hidden;
    width: 250px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 99;

    /* Alinhamento Horizontal Perfeito */
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%); /* Isto centra o balão em relação ao botão, não ao ecrã */

    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.8rem;
    border: 1px solid var(--accent-orange);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    pointer-events: none; /* Evita que o balão atrapalhe cliques */
}

/* Ajuste da seta para acompanhar o centro */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: var(--accent-orange) transparent transparent transparent;
}

/* Mostrar ao passar o rato */
.download-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px); /* Pequena animação de subida */
}

/* Ícone Android Verde ou Laranja? */
.fab.fa-android {
    color: #3DDC84; /* Cor oficial do Android para ser reconhecível */
    margin-right: 8px;
}
/* Final de Download */

/* Mensagem Enviada */
.modal-overlay {
    display: none; /* Escondido por padrão */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: linear-gradient(135deg, #1B263B 0%, #0D1B2A 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    color: white;
}

.icon-check {
    font-size: 50px;
    color: #2ECC71; /* Verde Sucesso */
    margin-bottom: 15px;
}

.btn-modal {
    background: #E9C46A; /* O teu dourado */
    color: #1B263B;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}
/* Mensagem Enviada Fim */


/* Mensagem de cookies */
.cookie-overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(27, 38, 59, 0.9); /* O teu azul petróleo */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    z-index: 10000;
    display: none; /* Escondido por padrão via JS */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-container p {
    color: white;
    margin: 0;
    font-size: 14px;
}

.cookie-container a {
    color: #E9C46A; /* O teu dourado */
    text-decoration: underline;
}

.btn-cookie {
    background: #E9C46A;
    color: #1B263B;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie:hover {
    background: #f1d38a;
    transform: scale(1.05);
}
/* Final de Mensagem de cookies */


/* Politica de Privacidade */
/* Fundo do Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none; /* Controlado pelo JS */
    justify-content: center;
    align-items: center;
}

/* Caixa do Modal */
.privacy-modal-box {
    background: #1B263B !important;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    border-radius: 20px;
    border: 1px solid rgba(233, 196, 106, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Conteúdo com Scroll */
.privacy-scroll-content {
    padding: 40px;
    overflow-y: auto;
    color: white !important;
    text-align: left !important;
}

/* Botão Fechar (X) */
.close-privacy {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    color: white; font-size: 1.8rem;
    cursor: pointer; z-index: 10;
}

/* Estilização do Texto Interno */
.privacy-scroll-content h1 { color: #E9C46A !important; font-size: 1.8rem !important; margin-bottom: 20px !important; }
.privacy-scroll-content h2 { color: #E9C46A !important; font-size: 1.2rem !important; margin-top: 25px !important; }
.privacy-scroll-content p { color: rgba(255,255,255,0.9) !important; line-height: 1.6 !important; margin-bottom: 15px !important; }

/* Rodapé e Botão */
.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    background: rgba(0,0,0,0.1);
}

.btn-modal-close {
    background: #E9C46A !important;
    color: #1B263B !important;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* Scrollbar Personalizada */
.privacy-scroll-content::-webkit-scrollbar { width: 6px; }
.privacy-scroll-content::-webkit-scrollbar-thumb { background: #E9C46A; border-radius: 10px; }
/* Fim de Politica de Privacidade */


/* Atributo RGPD Formulário */
.input-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    text-align: left;
}

.input-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #E9C46A; /* O teu dourado */
    margin-top: 3px;
}

.input-group-checkbox label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
}

.input-group-checkbox a {
    color: #E9C46A;
    text-decoration: underline;
}
/* Fim de Atributo RGPD Formulário */
