/* Start custom CSS for html, class: .elementor-element-e0309f2 *//* 1. IMPORTAÇÃO FORÇADA DAS FONTES (Deve ser a linha 1 do CSS) */
@import url('https://fonts.googleapis.com/css2?family=Babylonica&family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;600&display=swap');

/* VARIÁVEIS CONFORME PRD */
:root {
    --bg-dark: #1C1C28;
    --text-white: #FFFFFF;
    --wine-color: #7A1F2B;
    --sand-color: #D4AF37; 
    
    /* CORREÇÃO: Colocamos a 'Cinzel' em primeiro lugar, pois é a fonte web garantida que imita a Trajan perfeitamente */
    --font-trajan: 'Cinzel', 'Trajan', 'Trajan Pro', serif; 
    --font-babylonica: 'Babylonica', cursive;
    --font-text: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.landing-vinico {
    font-family: var(--font-text) !important;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* 
=========================================
FORÇAR O ELEMENTOR A USAR A CINZEL NOS H1 E TÍTULOS
=========================================
*/

/* Esta regra "esmaga" qualquer estilo global do Elementor */
.landing-vinico h1, 
.landing-vinico h2, 
.landing-vinico h3, 
.landing-vinico h4, 
.landing-vinico h5, 
.landing-vinico h6,
.section-heading,
.title-jantar,
.phrase-trajan,
.time-box span,
.card-header,
.dish-side h4,
.wine-side h4,
.producer-name {
    font-family: var(--font-trajan) !important;
    font-weight: 400 !important; 
}

/* Forçar a fonte manuscrita apenas no Vínico */
.title-vinico {
    font-family: var(--font-babylonica) !important;
}
/* TÍTULOS GERAIS */
.section-heading {
    font-family: var(--font-trajan);
    font-size: 32px;
    color: var(--sand-color);
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px; /* Espaçamento horizontal reduzido */
}

/* 1. HERO SECTION */
.hero-vinico {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background-image: url('https://afurada.armazemdopeixe.pt/wp-content/uploads/2026/03/jantar-vinico-5.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(28,28,40,0.6) 0%, rgba(28,28,40,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tag-exclusivo {
    background-color: var(--wine-color);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 30px;
}

/* 
=========================================
TÍTULO DIVIDIDO E MAIS PRÓXIMO 
=========================================
*/
.hero-title {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title-jantar {
    font-family: var(--font-trajan);
    font-size: 75px;
    text-transform: uppercase;
    letter-spacing: 1px; /* Espaçamento horizontal menor */
    color: var(--text-white);
    line-height: 0.8;
}

.title-vinico {
    font-family: var(--font-babylonica);
    font-size: 130px;
    color: var(--sand-color);
    line-height: 0.7;
    margin-top: -20px;
    display: block;
}

/* Frase de Apoio Trajan */
.phrase-trajan {
    font-family: var(--font-trajan);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px; /* Espaçamento horizontal menor */
    margin-top: 30px;
    margin-bottom: 40px;
    color: var(--text-white);
    opacity: 0.9;
}

.hero-quick-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.info-item {
    font-size: 16px;
    font-weight: 600;
}

.info-item i {
    color: var(--sand-color);
    margin-right: 8px;
}

/* BOTÕES */
.btn-primary {
    background-color: var(--wine-color);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border: 1px solid var(--wine-color);
    display: inline-block;
}

.btn-primary:hover {
    background-color: white;
    color: var(--wine-color);
    border-color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    border: 1px solid white;
    display: inline-block;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--bg-dark);
}

/* 2. URGÊNCIA (CONTAGEM) */
.urgency-section {
    background-color: var(--wine-color);
    padding: 30px 0;
    border-top: 2px solid var(--sand-color);
    border-bottom: 2px solid var(--sand-color);
}

.urgency-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.urgency-text h3 {
    font-family: var(--font-trajan);
    font-size: 20px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    gap: 15px;
}

.time-box {
    background: rgba(0,0,0,0.2);
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    min-width: 70px;
    font-size: 12px;
    text-transform: uppercase;
}

.time-box span {
    display: block;
    font-size: 28px;
    font-family: var(--font-trajan);
}

/* 3. CONCEITO */
.concept-section {
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text p {
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.8;
}

.concept-images {
    width: 100%;
}

.main-img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 15px 15px 0px var(--wine-color);
}

/* 4. MENU & HARMONIZAÇÃO */
.menu-section {
    padding: 80px 0;
    background-color: #161620; 
}

.menu-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.menu-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    background: var(--wine-color);
    padding: 10px 20px;
    font-family: var(--font-trajan);
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-body {
    display: flex;
    padding: 30px;
    align-items: center;
}

.dish-side, .wine-side {
    flex: 1;
    text-align: center;
}

.dish-side h4, .wine-side h4 {
    font-family: var(--font-trajan);
    font-size: 20px;
    color: var(--sand-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.dish-side p, .wine-side p {
    font-size: 14px;
    opacity: 0.7;
}

.divider {
    padding: 0 40px;
    color: rgba(255,255,255,0.2);
    font-size: 20px;
}

/* 5. PRODUTOR */
.producer-section {
    padding: 100px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.producer-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: -15px 15px 0px var(--wine-color);
}

.producer-name {
    font-family: var(--font-trajan);
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.producer-text p {
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.8;
}

/* =========================================================
   7. FORMULÁRIO DE RESERVA OTIMIZADO (BOX PREMIUM + WHATSAPP)
   ========================================================= */
.reservation-section {
    padding: 100px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto; 
    background: #161620; 
    padding: 50px;
    border-top: 4px solid var(--wine-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header .section-heading {
    font-size: 26px; /* Tamanho reduzido para caber bem no desktop */
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Estilo Inputs e Select */
.form-group input, 
.form-group select {
    width: 100%;
    padding: 15px;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-family: var(--font-text);
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    border-radius: 4px;
}

.form-group input:focus, 
.form-group select:focus {
    border-color: var(--sand-color);
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* SELECT: Seta customizada e opções escuras */
.form-group select {
    cursor: pointer;
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background-color: var(--bg-dark); 
    color: var(--text-white); 
    padding: 15px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
    cursor: pointer;
    margin-top: 15px;
    font-size: 15px;
}

/* 8. STICKY CTA MOBILE */
.sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 15px 20px;
    display: none; 
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
    z-index: 999;
    border-top: 2px solid var(--wine-color);
    transform: translateY(100%);
    transition: 0.4s ease-out;
}

.sticky-cta-mobile.visible {
    transform: translateY(0);
}

.sticky-price small { display: block; opacity: 0.7; font-size: 12px; }
.sticky-price span { font-size: 18px; color: var(--sand-color); }

/* RESPONSIVIDADE (Tablets e Mobile) */
@media (max-width: 900px) {
    .concept-section, .producer-section {
        grid-template-columns: 1fr;
    }
    
    .main-img {
        box-shadow: none; /* Simplifica a imagem em ecrãs curtos */
    }

    /* Ajustes das fontes grandes para mobile */
    .title-jantar { font-size: 48px; }
    .title-vinico { font-size: 80px; margin-top: -10px; }
    .phrase-trajan { font-size: 13px; margin-top: 15px; }
    
    .card-body {
        flex-direction: column;
        gap: 20px;
    }
    
    .divider { transform: rotate(90deg); padding: 20px 0; }
    
    .btn-secondary { margin-left: 0; margin-top: 15px; }
    
    .sticky-cta-mobile { display: flex; }
}

@media (max-width: 600px) {
    .urgency-container { justify-content: center; text-align: center; }
    
    .form-container { 
        padding: 30px 20px; 
    }
    
    .form-header .section-heading {
        font-size: 22px;
    }

    .hero-quick-info { flex-direction: column; gap: 15px; }
}
/* 1. Força o texto digitado a ficar branco */
.form-group input, 
.form-group select {
    color: #FFFFFF !important;
}

/* 2. Corrige a cor do "Placeholder" (texto de exemplo) */
.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}


.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover, 
.form-group input:-webkit-autofill:focus, 
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #161620 inset !important; /* Mantém o fundo escuro original */
    -webkit-text-fill-color: #FFFFFF !important; /* Força as letras do preenchimento a branco */
    transition: background-color 5000s ease-in-out 0s;
}
/* =========================================================
   8. STICKY CTA MOBILE (BLINDADO E ALINHADO)
   ========================================================= */

/* Esconde no Desktop por padrão */
@media (min-width: 901px) {
    .sticky-cta-mobile {
        display: none !important;
    }
}

/* Configuração do Mobile */
.sticky-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark) !important;
    padding: 12px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.5) !important;
    z-index: 999999 !important;
    border-top: 2px solid var(--wine-color) !important;
    transform: translateY(150%);
    transition: transform 0.4s ease-out;
    box-sizing: border-box !important;
}

/* Classe adicionada pelo JS ao fazer Scroll */
.sticky-cta-mobile.visible {
    transform: translateY(0);
}

/* Lado Esquerdo: Preço e Título (Forçamos a NÃO quebrar linha) */
.sticky-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap !important; /* Impede que quebre as linhas */
    flex-shrink: 0 !important;      /* Impede que seja esmagado pelo botão */
}

.sticky-price small { 
    display: block !important; 
    opacity: 0.8 !important; 
    font-size: 13px !important; 
    line-height: 1.2 !important;
    color: #FFFFFF !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
    font-family: var(--font-text) !important;
}

.sticky-price span { 
    font-weight: 700 !important; 
    font-size: 18px !important; 
    color: var(--sand-color) !important; 
    line-height: 1.2 !important;
    white-space: nowrap !important;
    font-family: var(--font-text) !important;
}

/* Lado Direito: O Botão (Mais elegante para telemóveis) */
.sticky-cta-mobile .btn-primary {
    padding: 12px 20px !important; /* Reduz a "gordura" do botão no mobile */
    font-size: 13px !important;    /* Texto um pouco menor */
    line-height: 1 !important;
    white-space: nowrap !important; /* Força "Reservar Agora" numa só linha */
    margin: 0 !important;
    flex-shrink: 0 !important;     /* Garante que o botão não é esmagado */
    text-align: center !important;
    border-radius: 4px !important;
}

/* Ajuste extra para ecrãs muito pequeninos (iPhone SE, etc.) */
@media (max-width: 380px) {
    .sticky-price span { font-size: 16px !important; }
    .sticky-price small { font-size: 11px !important; }
    .sticky-cta-mobile .btn-primary { 
        padding: 10px 15px !important; 
        font-size: 12px !important;
    }
}

/* =========================================================
   BOTÕES GERAIS (BLINDADOS CONTRA O ELEMENTOR)
   ========================================================= */

/* Grupo que alinha os botões (Hero) */
.hero-cta-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important; /* Espaço exato entre os dois botões */
    margin-top: 30px !important;
    flex-wrap: wrap !important; /* Permite quebrar linha no telemóvel se necessário */
}

/* Base Partilhada por ambos os botões */
.btn-primary, 
.btn-secondary {
    font-family: var(--font-text) !important; /* Força a Montserrat */
    font-size: 13px !important; /* Tamanho elegante e pequeno */
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important; /* Espaçamento premium entre as letras */
    padding: 14px 35px !important; /* Preenchimento equilibrado */
    line-height: 1 !important;
    border-radius: 3px !important; /* Cantos muito levemente arredondados */
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    margin: 0 !important; /* Remove margens forçadas pelo tema */
    min-width: 220px !important; /* Garante que ambos têm a mesma largura visual */
    box-sizing: border-box !important;
}

/* Botão Vinho (Principal) */
.btn-primary {
    background-color: var(--wine-color) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--wine-color) !important;
}

.btn-primary:hover {
    background-color: transparent !important;
    color: var(--text-white) !important;
    border-color: #FFFFFF !important;
}

/* Botão Transparente (Secundário) */
.btn-secondary {
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
}

.btn-secondary:hover {
    background-color: #FFFFFF !important;
    color: var(--bg-dark) !important;
}

/* =========================================================
   COMPORTAMENTO DOS BOTÕES NO MOBILE
   ========================================================= */
@media (max-width: 600px) {
    .hero-cta-group {
        flex-direction: column !important; /* Empilha um em cima do outro */
        gap: 15px !important; /* Espaço entre eles */
        width: 100% !important;
        padding: 0 20px !important;
    }
    
    .btn-primary, 
    .btn-secondary {
        width: 100% !important; /* Ocupam a largura disponível de forma controlada */
        max-width: 320px !important; /* Impede que fiquem esticados de ponta a ponta no ecrã */
        font-size: 13px !important; /* Mantém o tamanho da fonte pequeno e elegante */
        padding: 15px 20px !important;
    }
}/* End custom CSS */