:root {
    --primary: #FF6600;
    --primary-glow: rgba(255, 102, 0, 0.4);
    --dark-bg: #080808;
    --card-bg: #121212;
    --text-main: #FFFFFF;
    --text-dim: #A0A0A0;
    --font-head: 'Syncopate', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    --dark: #000000;
    --grey: #111111;
    --light: #FFFFFF;

    /* Adiciona as variáveis de fonte para facilitar */
    --font-heading: 'Oswald', sans-serif;
    --font-bodys: 'Montserrat', sans-serif;
    --font-hero: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* --- NAV --- */
.main-nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%; /* Aumentado de 5% para 8% para afastar das bordas */
}

.brand { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    color: white;
    font-family: var(--font-head);
    font-size: 0.8rem;
}

.logo { height: 40px; }

.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-menu a { 
    text-decoration: none; 
    color: var(--text-dim); 
    font-weight: 500; 
    font-size: 0.9rem;
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--primary); }

.nav-menu li a.btn-outline {
    font-family: var(--font-head) !important; /* Usa a Syncopate (Bold/Tech) */
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 4px; /* Opcional: arredondar levemente */
    text-transform: uppercase;
}

/* --- HERO V2 --- */
/*.hero-v2 {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}*/

.hero-bg-fx {
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.badge-tech {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    font-size: 0.7rem;
    font-family: var(--font-head);
    margin-bottom: 1.5rem;
}

h1.reveal-text {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 2px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-family: var(--font-head);
}

/* --- GRID METODO --- */
.section-dark { padding: 8rem 0; }

.grid-performance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card-tech {
    background: var(--card-bg);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .card-tech {
        border-left: 4px solid var(--primary);
    }

    .card-num {
        font-family: var(--font-head);
        color: var(--primary);
        font-size: 0.8rem;
        margin-bottom: 2rem;
        opacity: 0.5;
    }
}

.tech-highlight {
    color: var(--primary); /* A cor laranja que defines no início do CSS */
    font-weight: 700;      /* Mantém o destaque visual para além da cor */
    text-transform: uppercase; /* Opcional: dá um aspeto mais "tech" e limpo */
    font-size: 0.9em;      /* Opcional: ajusta ligeiramente o tamanho */
}

.card-tech:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.card-num {
    font-family: var(--font-head);
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.card-tech h3 { font-family: var(--font-body); font-size: 1.2rem; margin-bottom: 1rem; }
.card-tech p { color: var(--text-dim); }

/* --- FORM V2 --- */
.section-form { padding: 8rem 0; background: #050505; }
.form-card-v2 {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--card-bg);
    border: 1px solid var(--primary);
}

.title-tech span::before {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin-bottom: 15px;
}

.form-info { padding: 3rem; background: rgba(255,102,0,0.05); }
.form-info h3 { font-family: var(--font-head); font-size: 1.5rem; }
.form-info h3 span { display: block; color: var(--primary); }

.af-form { padding: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { display: flex; gap: 1rem; }
input, select, textarea {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid #333;
    color: white;
    font-family: var(--font-body);
}

input:focus { border-color: var(--primary); outline: none; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .form-card-v2 { grid-template-columns: 1fr; }
    .split { flex-direction: column; text-align: center; }
    .input-group { flex-direction: column; }

    /* Centraliza o contentor do título */
    .title-tech {
        text-align: center;
        align-items: center;
    }

    /* Centraliza a barra laranja */
    .title-tech span::before {
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- AJUSTES DE TIPOGRAFIA --- */
/* Removemos o Syncopate de títulos de leitura longa para melhorar a legibilidade */
.card-tech h3, 
.form-info h3 { 
    font-family: var(--font-body) !important;
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NAV RECRUTAMENTO --- */
.btn-nav-recrutamento {
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 2px;
    font-family: var(--font-body) !important; /* Igual aos outros */
    font-size: 0.9rem;
    transition: var(--transition);
}

/* --- HERO BUTTONS --- */
.hero-btns {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* Mais espaço entre botões */
}

.btn-primary {
    padding: 1rem 2rem; /* Reduzido o tamanho */
    font-size: 0.9rem;
}

.btn-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.btn-link:hover {
    opacity: 1;
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

/* --- STATS SECTION --- */
.stats-section {
    padding: 4rem 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-node {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
}

/* --- FOOTER ESTILIZADO --- */
.siteFooter {
    padding: 4rem 0;
    background: #000;
    border-top: 1px solid #1a1a1a;
}

.footerContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

/* --- AJUSTE MOBILE (Media Query) --- */
@media (max-width: 768px) {
    .footerBrand {
        align-items: center; /* Centraliza tudo no Mobile */
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footerLogo {
        height: 45px; /* Ligeiramente menor em telemóveis */
        width: auto;
        padding-left: 0rem;
    }

    .footerContainer {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
}

/* Atualização no Footer para alinhar à esquerda e empilhar logo/texto */
.footerBrand {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Garante que o logo e o texto alinhem à esquerda */
    gap: 12px;
}
.footerLogo {
    height: 50px;
    width: auto;
    padding-left: 3.4rem;
}

.footerCompanyName { font-size: 0.8rem; color: var(--text-dim); }

.footerLocation { text-align: center; }
.locationTitle { display: block; font-family: var(--font-head); font-size: 0.7rem; color: var(--primary); margin-bottom: 5px; }
.locationText { color: white; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.locationText:hover { color: var(--primary); }

.footerSocial { display: flex; justify-content: flex-end; gap: 20px; }
.footerSocial img { width: 24px; height: 24px; filter: invert(1); transition: 0.3s; }
.footerSocial a:hover img { transform: translateY(-3px); filter: invert(0.5) sepia(1) saturate(5) hue-rotate(10deg); }

@media (max-width: 768px) {
    .footerSocial { justify-content: center; }
    .stats-grid { flex-direction: column; gap: 2rem; }
    .stat-divider { display: none; }
}

/* Estilização da Label */
label[for="goal"] {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary); /* Laranja da marca */
    font-weight: 700;
    margin-left: 2px;
    margin-top: 5px;
    margin-bottom: -15px;
}

/* --- APP MOCKUP HORIZONTAL --- */
.app-visual-v2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; /* Define a profundidade para o efeito 3D */
}

.phone-landscape-wrapper {
    width: 100%;
    padding: 20px;
    animation: float 6s ease-in-out infinite; /* Animação de flutuar */
    transition: transform 0.1s linear; /* Resposta imediata ao rato */
    will-change: transform;
    transform-style: preserve-3d;
}

.phone-frame {
    background: #1a1a1a;
    border: 8px solid #333;
    border-radius: 36px;
    aspect-ratio: 16 / 9;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5), 0 0 30px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Detalhes do Hardware do Telemóvel */
.phone-camera {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
    z-index: 10;
}

.phone-screen {
    width: 98%;
    height: 96%;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.app-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo ocupa o ecrã todo */
}

/* Esfera de Brilho atrás do telemóvel */
.glow-sphere {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.2;
    z-index: -1;
}

/* --- ANIMAÇÕES DE CONVERSÃO --- */
@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateX(2deg) rotateY(5deg); }
}

/* Checklist de Features com Fade In */
.features-checklist li {
    list-style: none;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 500;
}

.features-checklist li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Responsividade */
@media (max-width: 768px) {
    .phone-landscape-wrapper {
        max-width: 90%;
        margin: 2rem auto;
    }
}

/* --- SECÇÃO APP REFINADA --- */
#app.app-v2 {
    padding: 100px 0;
    overflow: hidden;
}

/* Layout em Grid para alinhar conteúdo e telemóvel lado a lado */
.container.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Título com mais destaque e spacing */
.app-content .title-tech {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 2.5rem; /* Mais espaço antes dos pontos */
}

.app-content .title-tech span {
    display: block;
    color: var(--primary);
}

/* Checklist com melhor leitura */
.features-checklist {
    margin-bottom: 3rem; /* Espaço antes das lojas */
}

.features-checklist li {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    opacity: 0.9;
}

/* Redimensionar Badges das Lojas */
.store-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.store-badge img {
    height: 40px; /* Tamanho profissional padrão */
    width: auto;
    transition: var(--transition);
}

.store-badge:hover img {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

/* --- MOCKUP 3D COM REFLEXO --- */
.phone-screen::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    100% { left: 200%; }
}

/* Ajuste Mobile */
@media (max-width: 992px) {
    .container.split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .store-links {
        justify-content: center;
    }
    
    .app-content .title-tech {
        margin-bottom: 2rem;
    }
}

/* Aumentar o tamanho do Mockup */
.phone-landscape-wrapper {
    width: 100%;
    max-width: 850px !important;
    padding: 10px;
    animation: float 6s ease-in-out infinite;
    margin-left: auto; /* Garante que encosta mais à direita se houver espaço */
}

.phone-frame {
    border: 10px solid #252525; /* Borda um pouco mais espessa e premium */
    border-radius: 40px;
    box-shadow: 0 60px 120px rgba(0,0,0,0.6), 0 0 40px var(--primary-glow);
}

.store-badge img[alt*="Google Play"] {
    height: 52px; /* Ligeiramente maior que a outra */
}

/* Esconde o cursor padrão em desktop */
@media (hover: hover) and (pointer: fine) {
    body, a, button, select, input, textarea {
        cursor: none !important;
    }
}

.custom-cursor {
    opacity: 0;
    transition: opacity 0.3s ease; /* Transição suave ao aparecer */
}

/* Classe para mostrar o cursor apenas quando houver movimento */
.custom-cursor.is-visible {
    opacity: 1;
}

.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    pointer-events: none; /* Essencial para não bloquear cliques */
    z-index: 10000;
    transform: translate(-50%, -50%); /* Garante centralização perfeita */
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ponto central (A mira) */
.custom-cursor::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* Estado de Interação (Conversão) */
.cursor-active {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-color: transparent;
}

.cursor-active::after {
    content: ''; /* Texto de incentivo que aparece no cursor */
    font-family: var(--font-head);
    font-size: 0.5rem;
    color: white;
    position: absolute;
    bottom: -20px;
    white-space: nowrap;
    letter-spacing: 1px;
}

/* Esconder cursor se o mouse sair da janela ou em elementos irrelevantes no mobile */
.cursor-hidden {
    opacity: 0;
}

.form-progress-container { margin-bottom: 2rem; }
.progress-label { /* Fonte Monospace para aspeto de dados técnicos */
    font-family: 'Courier New', Courier, monospace; 
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px; /* Espaçamento largo para aspeto premium */
    color: var(--primary); font-size: 0.8rem; margin-bottom: 0.5rem; color: var(--text-dim); }
.progress-track { height: 4px; background: #1a1a1a; border-radius: 2px; overflow: hidden; }
#activation-bar { 
    height: 100%; width: 0%; background: var(--primary); 
    box-shadow: 0 0 15px var(--primary); transition: width 0.5s ease; 
}

.stat-value.critical-reach {
    animation: shockwave 0.6s cubic-bezier(0.21, 1, 0.35, 1);
    color: #fff;
    text-shadow: 0 0 30px var(--primary);
}

@keyframes shockwave {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(3); letter-spacing: 4px; }
    100% { transform: scale(1); filter: brightness(1); letter-spacing: normal; }
}

/* Efeito de sistema ligado para o 24/7 */
.static-tech.activated {
    animation: tech-boot 0.8s ease-out forwards, pulse-glow 2s infinite 1s;
    color: var(--primary);
}

@keyframes tech-boot {
    0% { opacity: 0; filter: brightness(5); transform: scale(0.9); }
    20% { opacity: 1; filter: brightness(1); }
    40% { opacity: 0.3; }
    60% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); text-shadow: 0 0 20px var(--primary-glow); }
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 10px var(--primary-glow); opacity: 1; }
    50% { text-shadow: 0 0 25px var(--primary-glow); opacity: 0.8; }
}

.phone-landscape-wrapper {
    transition: transform 0.2s ease-out; /* Suaviza o movimento manual */
    will-change: transform;
}   

.brand-main {
    font-family: 'Syncopate', sans-serif;
    color: #FFFFFF;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-left: 8px;
}

.brand-accent {
    color: #FF6600;
    padding-left: 8px;
    margin-left: -4px;
}

.file-upload-wrapper {
    margin: 1rem 0;
    border: 1px dashed #333;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: rgba(255, 102, 0, 0.05);
}

#file-upload { display: none; }

.upload-text {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#feedback-msg {
    margin-top: 1.5rem;
    min-height: 40px;
    text-align: center;
}

.success-notice {
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--primary);
    padding: 1rem;
    color: white;
    font-family: var(--font-head);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.location-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-family: var(--font-heading) !important;
    display: block;
    margin-bottom: 1rem;
}

.locationTitle {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.locationText {
    color: var(--light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.locationText:hover {
    color: var(--primary);
    opacity: 1;
}

.location-premium {
    padding: 100px 5%;
    background-color: var(--dark);
    position: relative;
}

.location-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 500px; /* Altura fixa para o efeito de sobreposição */
    display: flex;
    align-items: center;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .location-wrapper {
        height: auto;
        flex-direction: column;
        gap: 2rem;
    }
    
    .info-card {
        position: relative;
        width: 100%;
        left: 0;
        padding: 2rem;
    }
    
    .map-frame {
        width: 100%;
        height: 350px;
    }
}

.location-image {
    position: absolute;
    top: 0px; /* Faz a imagem "subir" um pouco para fora da secção se quiseres, ou 0 para alinhar */
    left: 0;
    width: 100%;
    height: 250px; /* Define a altura da foto do ginásio */
    background-image: url("https://res.cloudinary.com/dmyruiakg/image/upload/f_auto,q_auto,w_auto,c_limit/v1768813259/academia_da_forca_entrada_d3p6qh.jpg"); /* Substitui pelo nome do ficheiro */
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    opacity: 0.6;
    z-index: -1;
    box-shadow: 0 10px 30px rgba(0,0,0);
}

.info-card h1 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.info-card h1 span { color: var(--primary); }

.info-card {
    background: var(--grey);
    padding: 3rem;
    width: 450px;
    height: 92%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 102, 0, 0.2);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.8);
    position: absolute;
    z-index: 10;
    left: 0;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
    opacity: 1;
    visibility: visible;
}

/* Classe que vamos aplicar via JS */
.info-card.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Pequeno efeito de descida ao sumir */
    pointer-events: none; /* Garante que não consegues clicar no que está invisível */
}

.contact-details { margin: 2rem 0; }

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.detail-icon {
    background: rgba(255, 102, 0, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Botão Estilizado */
.btn-maps {
    display: inline-block;
    padding: 12px 25px;
    border: 1px solid var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* O Mapa */
.map-frame {
    cursor: pointer;
    width: 70%;
    height: 100%;
    margin-left: auto; /* Empurra para a direita */
    border-radius: 1rem;
    overflow: hidden;
    filter: grayscale(0.4) contrast(1.2);
    transition: 0.5s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.map-frame:hover { filter: grayscale(0); }

/* Garante que o iframe ignore o cursor customizado e use o cursor padrão do sistema */
.map-frame iframe {
    cursor: auto !important;
}

/* Ocultar o rastro do cursor quando estiver sobre o container do mapa */
.map-frame:hover ~ .custom-cursor,
.map-frame:active ~ .custom-cursor {
    display: none !important;
}

.section-padding { padding: 5rem 10%; }

@media (max-width: 768px) {
    .methodology-split { flex-direction: column; text-align: center; }
    .navLinks { display: none; }
    .video-box { max-width: 100%; }
}

.methodology-text { flex: 1; min-width: 300px; }
.methodology-text h2 { font-size: 2.5rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.methodology-text h2 span { color: var(--primary); }
.methodology-text p { font-size: 1.1rem; color: #ccc; margin-bottom: 1.5rem; }

/* --- GRID METODO HORIZONTAL --- */
.section-dark { padding: 8rem 0; }

.grid-performance-horizontal {
    display: flex;
    flex-direction: column; /* Cartões empilhados um em cima do outro */
    gap: 1.5rem;
    margin-top: 4rem;
}

.card-tech-horizontal {
    background: var(--card-bg);
    padding: 2rem 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;          /* Coloca o número ao lado do texto */
    align-items: flex-start;
    gap: 2.5rem;
    transition: var(--transition);
    position: relative;
    border-radius: 4px;
}

.card-tech-horizontal:hover {
    border-color: var(--primary);
    background: rgba(255, 102, 0, 0.02);
    transform: translateX(10px); /* Anima para a direita em vez de para cima */
}

.card-tech-horizontal .card-num {
    margin-bottom: 0; /* Remove a margem de baixo para alinhar com o texto */
    font-size: 1rem;
    padding-top: 5px; /* Ajuste fino para alinhar com o topo do H3 */
}

.card-content {
    flex: 1; /* Faz o texto ocupar o resto do espaço */
}

/* Responsividade: Volta a vertical em ecrãs muito pequenos se necessário */
@media (max-width: 600px) {
    .card-tech-horizontal {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }
}

/* --- VIDEO REDUZIDO À DIREITA --- */
.video-box { 
    flex: 1;
    min-width: 300px;
    margin: 0 auto;
    max-width: 500px; /* Tamanho do vídeo reduzido */
    position: relative; 
    border-radius: 0.5rem; 
    overflow: hidden; 
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.community-section {
    background-color: var(--dark);
    border-top: 1px solid rgba(255, 102, 0, 0.1);
}

.stats-box {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

/* --- MELHORIA NO BOTÃO CTA --- */
.cta-main {
    padding: 0.9rem 2.0rem;
    background-color: var(--primary);
    color: var(--light);
    border: none;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.cta-main:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.5);
    background-color: #ff8533;
}

/* Efeito de brilho que passa pelo botão */
.cta-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.cta-main:hover::after {
    left: 120%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    font-weight: 900;
}

.cta-main, .location-tag {
    font-family: var(--font-heading) !important;
    letter-spacing: 1px; /* Oswald beneficia de um leve espaçamento */
}

.stat-desc {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

/* Parte Visual */
.community-visual {
    position: relative;
}

.community-image-stack {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #333;
}

.community-image-stack img {
    width: 100%;
    display: block;
    filter: grayscale(0.5);
    transition: 0.5s;
}

.community-image-stack:hover img {
    filter: grayscale(0);
}

.visual-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-weight: 900;
    z-index: 5;
    transform: rotate(5deg);
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

.overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(17, 17, 17, 0.9);
    padding: 15px;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(10px);
}

/* Ajuste específico para o texto "Comunidade" se quiseres que ele se destaque ainda mais */
.location-tag.community-tag {
    font-size: 1.2rem !important;
    font-weight: 700;        /* Peso extra para impacto */
}

/* Responsividade */
@media (max-width: 992px) {
    .community-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .stats-box {
        justify-content: center;
    }
    .visual-badge {
        right: 10px;
    }
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 102, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}

.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; animation: pulse 2s infinite;}
.play-icon { border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 18px solid white; margin-left: 4px; }
video { width: 100%; display: block; }
.video-box.playing .play-btn { opacity: 0; visibility: hidden; }

/* Container principal do card */
.form-card-v2 {
    display: block; /* Remove o display: flex ou grid que tinhas */
    max-width: 600px; /* Largura controlada para não ficar demasiado largo no PC */
    margin: 0 auto;   /* Centraliza horizontalmente */
    background: transparent; /* Remove cores de fundo indesejadas */
    padding: 20px;
}

/* Ajuste da zona do Título */
.form-info {
    background: none !important; /* Remove o fundo laranja se estiver aqui */
    padding: 0;
    width: 100%;
}

.form-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* O formulário propriamente dito */
.af-form {
    background: var(--dark-bg); /* Ou a cor de fundo que preferires */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Um toque tech */
}

/* Reduzir a altura: ajustamos os paddings e gaps */
.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .input-group {
        grid-template-columns: 1fr; /* No telemóvel volta a ser 1 coluna */
    }
}

@media (max-width: 768px) {
    .community-grid {
        grid-template-columns: 1fr; /* Empilha texto e imagem */
        gap: 2rem;
        text-align: center;
    }

    .community-text {
        order: 1; /* Texto em primeiro */
        padding: 0 5%;
    }

    .community-visual {
        order: 2; /* Imagem em segundo */
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .visual-badge {
        right: 10px;
        top: -10px;
        font-size: 0.8rem;
    }

    .cta-main {
        width: 100%; /* Botão largo para facilitar o toque */
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .location-premium {
        padding: 4rem 0; /* Reduz o padding excessivo */
    }

    .location-wrapper {
        height: auto; /* Remove a altura fixa */
        flex-direction: column;
        display: block; /* Garante o empilhamento */
    }

    .info-card {
        position: relative; /* Remove o absoluto */
        width: 100%;
        max-width: 100%;
        height: auto;
        left: 0;
        top: 0;
        margin-bottom: 2rem; /* Espaço antes do mapa */
        padding: 2rem 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .info-card h1 {
        font-size: 1.8rem; /* Título ligeiramente menor */
    }

    .map-frame {
        width: 100%;
        height: 400px; /* Altura fixa para o mapa no mobile */
        margin-left: 0;
        border-radius: 1rem;
    }
    
    .location-image {
        height: 180px; /* Foto do ginásio menor no mobile */
        position: relative;
        margin-bottom: 1.5rem;
        z-index: 1;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 6%;
    }
    
    .section-padding {
        padding: 3rem 0; /* Diminui o respiro lateral para ganhar espaço de leitura */
    }
}

/* --- HERO V2 REFINADO --- */
.hero-v2 {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #000; /* Fundo enquanto as fotos carregam */
}

.hero-slideshow {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 0; /* Colocamos acima do fundo preto */
}

.slide {
    position: absolute;
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Ajuste: animação mais simples e direta */
    animation: slideAnimation 15s infinite; 
}

/* Primeira imagem visível logo no início */
.slide:nth-child(1) { 
    opacity: 0.4; 
    animation-delay: 0s; 
}
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes slideAnimation {
    0%, 33.33% { opacity: 0.4; } /* Valor de opacidade para ver o fundo */
    43.33%, 100% { opacity: 0; }
}

/* Overlay para garantir legibilidade */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to right, 
        rgba(8, 8, 8, 0.8) 0%, 
        transparent 50%, 
        rgba(8, 8, 8, 0.8) 100%
    );
    z-index: 1; /* Acima do slideshow */
}

/* Garante que o container do texto está acima de tudo */
.hero-v2 .container {
    position: relative;
    z-index: 10;
}