/* RESET E VARIÁVEIS GERAIS */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-dark: #121212;
    --bg-light: #F0EBE1; /* Cor bege das seções claras */
    --red-accent: #E53935;
    --yellow-accent: #FBC02D;
    --text-light: #FFFFFF;
    --text-dark: #121212;
    --text-gray: #A0A0A0;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-title: 'Arial Black', Impact, sans-serif;
}
body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* TIPOGRAFIA E COMPONENTES GERAIS */
.section-label {
    color: var(--red-accent);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: bold;
}
.title-large {
    font-family: var(--font-title);
    font-size: 4rem; 
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.btn-red {
    display: inline-block;
    background-color: var(--red-accent);
    color: #fff;
    padding: 18px 38px; 
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}
.btn-red:hover { background-color: #C62828; }
.btn-outline {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 16px 36px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

/* CONTAINER (LARGURA MÁXIMA) */
.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 100px 40px; 
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px; 
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}
.logo { font-family: var(--font-title); font-size: 1.7rem; letter-spacing: -1px; }
.logo span { color: var(--red-accent); }
.nav-links { display: flex; gap: 40px; font-size: 0.95rem; font-weight: bold; }
.nav-links a:hover { color: var(--red-accent); }
.header-btn { background-color: var(--red-accent); padding: 12px 28px; font-size: 0.9rem; font-weight: bold; color: white; }

/* HERO SECTION (Com brilho que vai de ponta a ponta) */
/* HERO SECTION (Volta ao fundo anterior + Espiral à volta da foto) */
.hero-wrap {
    width: 100%;
    padding-top: 180px;
    padding-bottom: 140px;
    /* Fundo original com brilho vermelho à direita */
    background: radial-gradient(circle at 75% 50%, #3a1c1c 0%, var(--bg-dark) 45%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1500px; 
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.hero-content { max-width: 700px; }
.hero-subtitle { color: var(--red-accent); font-weight: bold; letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 15px; }
.hero-top-text { color: var(--yellow-accent); font-weight: bold; font-size: 1.5rem; letter-spacing: 1px; margin-bottom: 25px; text-transform: uppercase; }

.hero-content h1 { font-family: var(--font-title); font-size: 6rem; color: var(--red-accent); line-height: 1; letter-spacing: -2px; margin-bottom: 35px; }
.hero-content p { font-size: 1.2rem; color: #ccc; margin-bottom: 50px; } 

.hero-buttons { display: flex; gap: 20px; }

/* Wrapper para juntar a foto e as escritas à volta */
.hero-image-wrapper {
    position: relative;
    width: 650px; /* Tamanho total incluindo a espiral */
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* O fundo com as escritas "BREACH" a envolver o círculo */
.circular-text-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('./imagens/fundo-breach.jpg') no-repeat center;
    background-size: contain;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.85; /* Ajuste opcional para o texto não ficar demasiado brilhante */
    z-index: 1;
    
    /* EXTRA: Efeito de rotação lenta (60 segundos por volta) */
    animation: rodar-espiral 60s linear infinite;
}

@keyframes rodar-espiral {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FOTO DO CÍRCULO CENTRAL (Ajustada para o texto respirar em volta) */
/* Wrapper para juntar a foto e as escritas à volta */
.hero-image-wrapper {
    position: relative;
    width: 650px; 
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* O fundo com as escritas "BREACH" a envolver o círculo */
.circular-text-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('./imagens/fundo-breach.jpg') no-repeat center;
    background-size: cover; /* MUDANÇA PRINCIPAL: "cover" garante que não há cortes nas bordas e fica redondo! */
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.9; 
    z-index: 1;
    
    /* Animação para girar suavemente (40 segundos) */
    animation: rodar-espiral 40s linear infinite;
}

@keyframes rodar-espiral {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* FOTO DO CÍRCULO CENTRAL */
.hero-image { 
    position: relative;
    z-index: 2; 
    /* Tamanho reduzido (de 460px para 350px) para não sobrepor a escrita "BREACH" e encaixar no miolo da espiral */
    width: 350px; 
    height: 350px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 8px solid #121212; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    /* Adicionada uma sombra para separar melhor a foto do fundo rotativo */
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.hero-image img { 
    width: 125%; 
    height: 125%; 
    object-fit: cover; 
}
/* S01 - QUEM SOMOS */
.s01-quem-somos {
    display: flex;
    align-items: center;
    gap: 80px;
}
.s01-img-wrapper {
    position: relative;
    flex: 1.2;
}
.s01-img-wrapper img { width: 100%; display: block; }
.s01-tag { position: absolute; bottom: -20px; left: -20px; background: var(--red-accent); padding: 18px 30px; font-weight: bold; font-size: 0.9rem; letter-spacing: 1px; }
.s01-text { flex: 1; }
.s01-text p { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 25px; }

/* S02 - O SOM (BEGE) */
.bg-light { background-color: var(--bg-light); color: var(--text-dark); }
.s02-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 70px; gap: 40px; }
.s02-title-area { flex: 1.2; }
.s02-desc { flex: 1; font-size: 1.3rem; color: #444; }
.s02-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.s02-item { padding: 50px 30px; border-right: 1px solid #ccc; }
.s02-item:last-child { border-right: none; }
.s02-number { color: var(--red-accent); font-size: 1rem; margin-bottom: 20px; font-weight: bold; }
.s02-item h3 { font-size: 1.5rem; font-family: var(--font-title); }

/* S03 - ATMOSFERA (Fundo animado com estampa mais lenta) */
.cena-bg {
    width: 100%;
    background: linear-gradient(rgba(12, 12, 12, 0.88), rgba(12, 12, 12, 0.88)), url('./imagens/fundo-cena.jpg');
    background-repeat: no-repeat;
    background-size: 150%; 
    background-position: top left;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
    
    /* Aumentámos de 35s para 70s para o movimento ficar bem mais lento e suave */
    animation: mover-estampa 70s ease-in-out infinite alternate;
}

@keyframes mover-estampa {
    0% { 
        background-position: 0% 0%; 
        background-size: 140%; 
    }
    100% { 
        background-position: 100% 100%; 
        background-size: 160%; 
    }
}

/* O seu layout original da galeria continua intacto */
.s03-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.s03-desc { max-width: 500px; color: var(--text-gray); text-align: right; font-size: 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.gallery img { width: 100%; height: 450px; object-fit: cover; filter: grayscale(100%); transition: 0.3s; }
.gallery img:hover { filter: grayscale(0%); border-color: var(--red-accent); }
.gallery-caption { font-size: 0.95rem; color: #666; }

/* O seu layout original mantido intacto sobre o fundo */
.s03-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.s03-desc { max-width: 500px; color: var(--text-gray); text-align: right; font-size: 1.1rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.gallery img { width: 100%; height: 450px; object-fit: cover; filter: grayscale(100%); transition: 0.3s; }
.gallery img:hover { filter: grayscale(0%); border-color: var(--red-accent); }
.gallery-caption { font-size: 0.95rem; color: #666; }

/* S04 - AO VIVO */
.s04-container { display: flex; justify-content: space-between; padding: 120px 40px; max-width: 1500px; margin: 0 auto; border-bottom: 1px solid #222; gap: 50px; }
.s04-box { border: 1px solid #333; padding: 60px; max-width: 750px; background-color: #161616; flex: 1; }
.s04-box h3 { font-size: 1.8rem; margin-bottom: 20px; font-family: var(--font-main); font-weight: bold; }
.s04-box p { color: var(--text-gray); font-size: 1.1rem; margin-bottom: 35px; }
.s04-box a { color: var(--red-accent); font-weight: bold; font-size: 1.1rem; }

/* S05 - CONTRATE */
.s05-contrate p { max-width: 700px; color: var(--text-gray); font-size: 1.1rem; margin-bottom: 50px; }
.s05-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #1a1a1a; margin-bottom: 50px; }
.s05-item { padding: 40px 30px; border-right: 1px solid #333; }
.s05-item:last-child { border-right: none; }
.s05-item .num { color: var(--red-accent); font-size: 0.85rem; font-weight: bold; margin-bottom: 25px; display: block; }
.s05-item h4 { font-family: var(--font-title); font-size: 1.3rem; }

/* S06 - CONTATO / FORM COM FUMAÇA ANIMADA LENTA */
.fumaca-bg {
    width: 100%;
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.85)), url('./imagens/fumaca.jpg');
    background-repeat: no-repeat;
    background-size: 135%; 
    background-position: center;
    color: white;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    
    /* Fumaça em movimento suave e lento (60s) */
    animation: mover-fumaca-lenta 60s ease-in-out infinite alternate;
}

@keyframes mover-fumaca-lenta {
    0% { 
        background-position: 5% 50%; 
        background-size: 130%; 
    }
    100% { 
        background-position: 95% 50%; 
        background-size: 145%; 
    }
}

.s06-container { 
    display: flex; 
    justify-content: space-between; 
    gap: 80px; 
    position: relative;
    z-index: 2; 
}

.s06-info { flex: 1; }

.s06-info .title-large { 
    color: white; 
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.s06-info p { 
    margin-bottom: 40px; 
    color: #ccc; 
    font-size: 1.1rem; 
    line-height: 1.6; 
}

.s06-social { 
    margin-top: 40px; 
    border-top: 1px solid #333; 
    padding-top: 25px; 
}

.btn-social { 
    border: 1px solid #555; 
    color: #fff; 
    padding: 12px 24px; 
    display: inline-block; 
    margin-top: 15px; 
    font-weight: bold; 
    transition: 0.3s; 
    text-decoration: none; 
}

.btn-social:hover { 
    background-color: white; 
    color: black; 
    border-color: white; 
}

/* Caixa do Formulário */
.s06-form { 
    flex: 1.2; 
    background-color: rgba(15, 15, 15, 0.92); 
    padding: 50px; 
    border: 1px solid #333; 
    border-radius: 8px; 
}

.s06-form h3 { 
    font-family: var(--font-main); 
    font-size: 1.8rem; 
    margin-bottom: 10px; 
    color: white; 
}

.s06-form p { 
    color: var(--text-gray); 
    font-size: 0.95rem; 
    margin-bottom: 30px; 
}

.form-group { margin-bottom: 20px; }

.form-group label { 
    display: block; 
    font-size: 0.9rem; 
    font-weight: bold; 
    margin-bottom: 8px; 
    color: white; 
}

.form-row { display: flex; gap: 20px; }
.form-row .form-group { flex: 1; }

.s06-form input, 
.s06-form select, 
.s06-form textarea { 
    width: 100%; 
    background: rgba(5, 5, 5, 0.8); 
    border: 1px solid #444; 
    color: white; 
    padding: 14px; 
    font-family: var(--font-main); 
    font-size: 0.95rem; 
    transition: 0.3s; 
}

.s06-form input:focus, 
.s06-form select:focus, 
.s06-form textarea:focus { 
    outline: none; 
    border-color: var(--red-accent); 
}

.s06-form textarea { 
    height: 110px; 
    resize: none; 
}

.s06-form .btn-red { 
    width: 100%; 
    margin-top: 10px; 
    text-align: center; 
}

/* Responsividade */
@media (max-width: 1200px) {
    .s06-container { flex-direction: column; gap: 40px; }
}

/* S07 - MEMBROS */
.s07-grid { 
    display: flex; 
    gap: 40px; 
    margin: 50px auto 0; /* O "auto" centra as caixas perfeitamente no ecrã */
    max-width: 900px; /* Impede que os cartões estiquem para os 1500px, evitando o tamanho gigante */
}
.member-card { 
    flex: 1; 
    background: #1a1a1a; 
    display: flex; 
    flex-direction: column; 
}
.member-img { 
    width: 100%; 
    height: auto; 
    aspect-ratio: 1 / 1; /* Força um formato quadrado padrão para ambas as caixas */
    object-fit: contain; /* O "contain" é a regra de ouro: garante que 100% da imagem original é exibida, sem qualquer corte */
    object-position: center; 
    filter: grayscale(100%); 
    display: block; 
}
.member-info { padding: 30px; }
.member-info h4 { color: var(--red-accent); font-family: var(--font-title); font-size: 1.4rem; margin-bottom: 5px; text-transform: uppercase; }
.member-info p { color: white; font-weight: bold; font-size: 1rem; }

.member-info { padding: 30px; }
.member-info h4 { color: var(--red-accent); font-family: var(--font-title); font-size: 1.4rem; margin-bottom: 5px; text-transform: uppercase; }
.member-info p { color: white; font-weight: bold; font-size: 1rem; }

/* SEÇÃO DO OLHO ANIMADO */
.eye-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 100px 0; /* Aumentei o espaço para destacar o olho maior */
    background-color: #000; /* Fundo 100% preto */
}

/* Caixa onde o olho e as pálpebras vivem - TAMANHO AUMENTADO */
.eye-wrapper {
    position: relative;
    width: 280px; /* Era 160px, agora está maior e com mais presença */
    height: 160px; /* Proporção ideal para o tamanho do olho */
    overflow: hidden; /* Corta o que estiver fora da caixa */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* O desenho do olho de trás - Aumentado */
.blinking-eye {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Base das Pálpebras (As faixas pretas) */
.eyelid {
    position: absolute;
    left: 0;
    width: 100%;
    height: 52%; /* Aumentado para 52% para se sobreporem ligeiramente no meio e fecharem perfeitamente */
    background-color: #000; /* Garante que é do mesmo preto do fundo, mesclando tudo */
    z-index: 2; /* Fica à frente do olho */
}

/* Pálpebra de Cima (Desce) */
.eyelid-top {
    top: 0;
    transform: translateY(-100%); /* Começa fora, em cima */
    border-radius: 0 0 50% 50% / 0 0 60px 60px; /* Curvatura natural superior, ajustada ao novo tamanho */
    animation: fechar-top 4s ease-in-out infinite;
}

/* Pálpebra de Baixo (Sobe) */
.eyelid-bottom {
    bottom: 0;
    transform: translateY(100%); /* Começa fora, em baixo */
    border-radius: 50% 50% 0 0 / 60px 60px 0 0; /* Curvatura natural inferior, ajustada ao novo tamanho */
    animation: fechar-bottom 4s ease-in-out infinite;
}

/* ANIMAÇÃO: Pálpebra de Cima desce */
@keyframes fechar-top {
    0%, 85%, 100% {
        transform: translateY(-100%); /* Aberto na maior parte do tempo */
    }
    90%, 93% {
        transform: translateY(0); /* Desce e fecha totalmente no meio */
    }
}

/* ANIMAÇÃO: Pálpebra de Baixo sobe */
@keyframes fechar-bottom {
    0%, 85%, 100% {
        transform: translateY(100%); /* Aberto na maior parte do tempo */
    }
    90%, 93% {
        transform: translateY(0); /* Sobe e fecha totalmente no meio */
    }
}

.blinking-eye {
    width: 150px; /* Tamanho do olho (pode aumentar ou diminuir se quiser) */
    height: auto;
    transform-origin: center; /* Faz com que o olho feche em direção ao centro */
    animation: piscar 4s infinite; /* Faz a animação repetir infinitamente a cada 4 segundos */
}

/* A mágica que faz o olho abrir e fechar */
@keyframes piscar {
    0%, 90%, 100% { 
        transform: scaleY(1); /* Olho 100% aberto na maior parte do tempo */
    }
    95% { 
        transform: scaleY(0.05); /* Achata o olho quase na totalidade para simular a piscadela rápida */
    }
}

/* ASSINATURA DISCRETA DA DESENVOLVEDORA */
.dev-mini-signature {
    width: 100%;
    background-color: #000; /* Garante que o fundo é 100% preto */
    padding: 0 40px 60px 40px; /* Alinhado ao canto esquerdo da tela */
    display: flex;
    justify-content: flex-start;
}

/* Caixa interior que agrupa a foto e os textos */
.dev-mini-content {
    display: flex;
    align-items: center; /* Mudado para 'center' para o texto ficar perfeitamente alinhado com o meio da foto maior */
    gap: 24px; /* Aumentado ligeiramente o espaço para a foto respirar */
    max-width: 650px; /* Um pouco mais largo para acomodar o visual */
}

/* FOTO CIRCULAR - AUMENTADA para maior visibilidade */
.dev-mini-photo {
    width: 110px; /* Era 75px, agora está maior e bem visível! */
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #222; /* Borda um pouco mais grossa para acompanhar o tamanho */
    transition: 0.3s;
}

.dev-mini-content:hover .dev-mini-photo {
    border-color: var(--red-accent); /* Brilha em vermelho ao passar o rato */
}

.dev-mini-text strong {
    display: block;
    color: white;
    font-size: 1.1rem; /* Um pouquinho maior para acompanhar a foto */
    margin-bottom: 5px;
}

/* Espaço para a sua descrição */
.dev-descricao {
    color: var(--text-gray);
    font-size: 0.95rem; /* Leitura mais confortável */
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Links do Instagram e E-mail */
.dev-mini-links {
    display: flex;
    gap: 20px;
}

.dev-mini-links a {
    color: #888;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.dev-mini-links a:hover {
    color: var(--red-accent);
}

/* Ajuste para ecrãs de telemóvel */
@media (max-width: 500px) {
    .dev-mini-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* FOOTER */
footer { background-color: #000; padding: 50px 80px; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; }
.footer-left strong { display: block; font-family: var(--font-title); font-size: 1.2rem; margin-bottom: 5px; }
.footer-left p { color: var(--text-gray); }
.footer-center { color: #666; }
.footer-right { font-weight: bold; letter-spacing: 1px; cursor: pointer; }
.footer-right:hover { color: var(--red-accent); }

/* RESPONSIVIDADE */
@media (max-width: 1200px) {
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    .hero-image { width: 450px; height: 450px; }
    .s01-quem-somos { flex-direction: column; }
    .s02-grid { grid-template-columns: 1fr; }
    .s02-item { border-right: none; border-bottom: 1px solid #ccc; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .s05-grid { grid-template-columns: repeat(2, 1fr); }
    .s06-container { flex-direction: column; }
    .s07-grid { flex-direction: column; }
}

@media (max-width: 768px) {
   

  /* =========================================
   RESPONSIVIDADE DEFINITIVA (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    /* 1. Reset Global para evitar qualquer scroll lateral */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. Força todos os containers a respeitarem a margem de segurança */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    /* 3. Cabeçalho / Menu */
    header {
        position: relative !important;
        width: 100% !important;
        padding: 15px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* 4. Secção 04 (Próximas Datas / Ao Vivo) corrigida */
    #ao-vivo, .s04-container, .ao-vivo-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        gap: 30px !important;
    }

    #ao-vivo > div, .s04-content, .s04-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* 5. Galeria (Secção 03) */
    .gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .gallery img {
        width: 100% !important;
        height: 280px !important;
    }

    /* 6. Secção 06 (Contato / Formulário) */
    .s06-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 30px !important;
    }

    .s06-form {
        width: 100% !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }

    .form-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* 7. Rodapé (Footer) perfeitamente centralizado */
    footer {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        gap: 20px !important;
    }

    footer * {
        width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}