/* --- 1. RESET & VARIÁVEIS --- */
:root {
    --wine: #5c110c;       /* Cor Primária */
    --gold: #d4af37;       /* Cor de Acento */
    --cream: #fdfbf7;      /* Fundo Claro */
    --dark: #1a1a1a;       /* Texto Escuro */
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--wine);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Divisor Dourado Elegante */
.divider {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 15px auto;
}

/* --- 2. HERO SECTION (HEADLINE) --- */
.hero-section {
    height: 90vh;
    background-image: url('images/headline/headlineelead.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(92,17,12,0.8)); /* Degradê preto p/ vinho */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.badge-top {
    display: inline-block;
    background: var(--gold);
    color: var(--wine);
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.lead-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Botão CTA com Pulso */
.cta-button {
    display: inline-block;
    background-color: var(--gold);
    color: var(--wine);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-5px);
    background-color: var(--white);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- 3. VSL SECTION (VIDEO) --- */
.vsl-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.video-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 5px solid var(--white);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

/* --- 4. STORY SECTION --- */
.story-section {
    padding: 80px 0;
    background-color: var(--cream);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.features-list {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.features-list span {
    font-weight: 700;
    color: var(--wine);
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-images {
    position: relative;
    height: 400px;
}

.img-frame {
    position: absolute;
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 5px solid var(--white);
    transition: transform 0.3s;
}

.img-frame:hover {
    z-index: 10;
    transform: scale(1.05);
}

.frame-1 { top: 0; left: 0; z-index: 1; }
.frame-2 { bottom: 0; right: 0; z-index: 2; }

/* --- 5. MENU / OFFER SECTION --- */
.offer-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.menu-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 40px;
}

/* Masonry Layout Hacks */
.big-card {
    grid-column: span 2;
    grid-row: span 2;
}

.tall-card {
    grid-row: span 2;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    padding: 20px;
    text-align: left;
    transform: translateY(100px); /* Escondido inicialmente */
    transition: transform 0.3s;
}

.card-info h4 { color: var(--gold); margin: 0; font-size: 1.2rem; }
.card-info p { font-size: 0.9rem; color: #ddd; }

/* Hover Effects */
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card:hover .card-info { transform: translateY(0); }

.cta-container { margin-top: 50px; }

/* --- 6. SOCIAL PROOF --- */
.social-proof-section {
    padding: 80px 0;
    background-color: var(--cream);
    text-align: center;
}

.proof-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.proof-item img {
    max-width: 280px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    transition: transform 0.3s;
    cursor: zoom-in;
}

.proof-item img:hover { transform: scale(1.05); }

/* --- 7. FOOTER --- */
.footer-section {
    background-color: var(--wine);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
    margin-top: 15px;
}

.social-icons a { color: var(--white); transition: color 0.3s; }
.social-icons a:hover { color: var(--gold); }

/* --- Bandeiras de Pagamento (Estilo Cartão) --- */
.payment-row {
    display: flex;
    gap: 10px; /* Espaço entre as bandeiras */
    margin-bottom: 15px;
    flex-wrap: wrap; /* Se a tela for pequena, quebra linha */
}

.payment-flag {
    background-color: #fff; /* Fundo branco para destacar o logo */
    width: 50px;            /* Largura fixa do cartão */
    height: 35px;           /* Altura fixa */
    border-radius: 6px;     /* Cantos arredondados */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Sombra suave */
    transition: transform 0.2s;
    cursor: pointer;
}

.payment-flag:hover {
    transform: translateY(-3px); /* Efeito de "pulo" ao passar o mouse */
}

.payment-flag img {
    max-width: 80%;  /* Garante que o logo caiba dentro do cartão */
    max-height: 80%;
    object-fit: contain;
}

.delivery-time {
    color: #ccc;
    font-size: 1.0rem;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .story-grid { grid-template-columns: 1fr; }
    .story-images { height: 300px; margin-top: 30px; }
    .big-card { grid-column: span 1; grid-row: span 1; }
}
/* --- EFEITO LIGHTBOX (ZOOM) --- */

/* O Fundo Escuro (Escondido por padrão) */
.modal {
    display: none; /* Escondido */
    position: fixed; 
    z-index: 9999; /* Fica em cima de TUDO */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); /* Fundo Preto 90% */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s;
}

/* A Imagem Ampliada */
.modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); /* Brilho dourado suave */
    border: 2px solid var(--gold);
}

/* Botão de Fechar (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--gold);
    text-decoration: none;
    cursor: pointer;
}

/* Legenda (Opcional) */
#caption {
    margin-top: 15px;
    color: #ccc;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Animação suave de entrada */
@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}
/* --- Link do Endereço no Rodapé --- */
.address-link {
    display: flex;
    gap: 10px;
    align-items: flex-start; /* Alinha o ícone com a primeira linha do texto */
}

.address-link a {
    color: var(--white);      /* Texto branco */
    text-decoration: none;    /* Tira o sublinhado */
    transition: color 0.3s;
}

.address-link a:hover {
    color: var(--gold);       /* Fica dourado ao passar o mouse */
}