/* LE PARC - VALENCE 
    Design System: High-End Tobacco & Royal Gold v5.0
    Ajustes: Contraste de preços aprimorado e seções em containers flutuantes.
*/

:root {
    --primary-brown: #1a0f0d; 
    --gold: #d4af37;          
    --gold-vibrant: #ffcc00;  /* Amarelo dourado puro para leitura máxima */
    --gold-light: #f1e5ac;    
    --bg-page: #f2ede9;       /* Tom de papel pergaminho levemente mais escuro */
    --white: #ffffff;
    --text-dark: #1a0f0d;
    --text-muted: #665c5a;
    --shadow-premium: 0 15px 35px rgba(26, 15, 13, 0.12);
    --radius: 24px;
}

/* 1. RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-page);
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 2. HEADER PREMIUM */
.main-header {
    background: linear-gradient(135deg, var(--primary-brown) 0%, #3d2622 100%);
    color: var(--gold);
    padding: 70px 20px 50px;
    text-align: center;
    border-bottom: 4px solid var(--gold);
    position: relative;
}

.brand-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    letter-spacing: 6px;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.divider-gold {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 25px auto;
}

.address {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 300;
}

/* 3. SOCIAL & LANGUAGES (TOP) */
.lang-selector {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-btn-top {
    color: var(--gold);
    font-size: 1.4rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-btn-top:hover { transform: scale(1.1); }

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gold);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.lang-btn:active { background: var(--gold); color: var(--primary-brown); }
.lang-btn.active { background: var(--gold); color: var(--primary-brown); font-weight: 800; }

/* 4. SEÇÕES EM CARDS (NOVO CONCEITO) */
.menu-container {
    padding: 30px 15px;
    max-width: 650px;
    margin: 0 auto;
}

/* Criando blocos visuais para separar as categorias */
.category-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 20px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.category-header {
    margin-bottom: 25px;
    text-align: center;
}

.category-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-brown);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 5. PREÇOS COM CONTRASTE MÁXIMO (BADGE ESTILO MENU FRANCÊS) */
.price {
    background: var(--primary-brown); /* Fundo preto tabaco */
    color: var(--gold-vibrant);     /* Texto amarelo vibrante */
    padding: 6px 14px;
    border-radius: 50px;           /* Formato de pílula */
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid var(--gold);  /* Borda dourada fina */
    box-shadow: 2px 4px 10px rgba(0,0,0,0.2);
    display: inline-block;
}

/* 6. CARDS DE PRODUTO */
.menu-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.photo-frame {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card-content { padding: 20px; }

.card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-title .name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 7. GRID DE SALGADOS */
.items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.small-card .photo-frame { height: 140px; }

/* 8. LISTAS SIMPLES */
.simple-list-card {
    margin-top: 10px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px dashed #e0e0e0;
}

.list-item:last-child { border-bottom: none; }

.list-item span:first-child {
    font-weight: 600;
    color: var(--text-dark);
    display: flex; align-items: center; gap: 10px;
}

/* 9. SEÇÃO LEGAL & FOOTER */
.tabac-services {
    text-align: center;
    padding: 30px 10px;
    border-top: 1px solid var(--gold);
}

.legal-box {
    border: 2px solid #000;
    padding: 10px 15px;
    font-weight: 900;
    font-size: 0.8rem;
    margin: 15px 0;
    display: inline-block;
}

.footer-legal {
    background: var(--primary-brown);
    color: #999;
    padding: 50px 20px;
    text-align: center;
}

.footer-brand { color: var(--gold); font-size: 1.5rem; margin-bottom: 10px; }

.mentions-legales { font-size: 0.75rem; margin-bottom: 20px; }

.dev-by a { 
    color: var(--gold); 
    text-decoration: none; 
    font-weight: 700; 
    border-bottom: 1px solid var(--gold);
}

/* 10. BOTÃO VOLTAR AO TOPO */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-brown);
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 480px) {
    .brand-logo { font-size: 2.8rem; }
    .items-grid { grid-template-columns: 1fr; }
}

/* 1. AJUSTE PARA O ÍCONE DO GOOGLE MAPS NO RODAPÉ */
.legal-links a img {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.legal-links a:hover img {
    transform: scale(1.1); /* Pequeno efeito ao passar o rato */
}

/* 2. REFINAMENTO DO RODAPÉ (FOOTER) */
.footer-legal {
    background: var(--primary-brown);
    color: #d1d1d1;
    padding: 60px 25px 40px;
    text-align: center;
}

.mentions-legales p {
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Estilo para o aviso de fotos e direitos autorais */
.mentions-legales p[style*="font-size: 0.7rem"],
.mentions-legales p[style*="font-size: 0.8rem"] {
    color: #999; /* Cor mais suave para não distrair */
    font-weight: 400;
}

/* 3. ALINHAMENTO DOS EMOJIS NOS ITENS DA LISTA */
.list-item span:first-child {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre o emoji e o texto */
    font-weight: 600;
    color: var(--text-dark);
}

/* 4. MELHORIA NO LINK DO MAPS DO CABEÇALHO */
.address a {
    transition: color 0.3s ease;
}

.address a:hover {
    color: var(--gold);
}

.address i {
    font-size: 1rem;
}

/* 5. AJUSTE PARA O CRÉDITO DO DESENVOLVEDOR */
.dev-by a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.dev-by a:hover {
    border-bottom: 1px solid var(--gold);
    opacity: 1;
}

/* ================================================
   CONVERSION & SEO UPDATE — New sections
   ================================================ */

/* Smooth scrolling site-wide */
html {
    scroll-behavior: smooth;
}

/* ---- HERO SECTION ---- */
.hero-section {
    background: var(--bg-page);
    padding: 52px 20px 60px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-content {
    max-width: 620px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: var(--text-muted);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--primary-brown);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.hero-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- SHARED BUTTONS ---- */
.btn-primary {
    background: var(--primary-brown);
    color: var(--gold-vibrant);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid var(--primary-brown);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 15, 13, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-brown);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    border: 2px solid var(--primary-brown);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-brown);
    color: var(--gold-vibrant);
    transform: translateY(-2px);
}

/* ---- SERVICES STRIP ---- */
.services-strip {
    background: var(--white);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 14px 20px;
}

.services-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
}

.service-pill {
    background: var(--bg-page);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---- SECTION INTRO (Notre Carte) ---- */
.section-intro {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 8px;
}

/* ---- SHARED SECTION HEADINGS ---- */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.9rem;
    color: var(--primary-brown);
    letter-spacing: 0.5px;
}

.section-title.light {
    color: var(--gold-light);
}

.section-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 300;
}

.section-sub.light {
    color: rgba(255, 255, 255, 0.55);
}

/* ---- ABOUT SECTION ---- */
.about-section {
    background: var(--white);
    padding: 64px 20px;
}

.about-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
}

.about-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 36px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--bg-page);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-dark);
}

.badge-icon {
    color: var(--gold);
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---- TESTIMONIALS SECTION ---- */
.testimonials-section {
    background: var(--primary-brown);
    padding: 64px 20px;
}

.testimonials-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: left;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
}

.stars {
    color: var(--gold-vibrant);
    font-size: 1.05rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 14px;
}

.testimonial-author {
    color: var(--gold);
    font-size: 0.79rem;
    font-weight: 600;
}

/* ---- FAQ SECTION ---- */
.faq-section {
    background: var(--bg-page);
    padding: 64px 20px;
}

.faq-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.faq-list {
    margin-top: 36px;
    text-align: left;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(26, 15, 13, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 17px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    gap: 14px;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    background: var(--bg-page);
}

.faq-icon {
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 300;
    min-width: 22px;
    text-align: center;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

/* FAQ answer: animated via max-height trick */
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.faq-answer:not([hidden]) {
    max-height: 300px; /* large enough for any answer */
    display: block;
}

.faq-answer[hidden] {
    display: block !important; /* override hidden so transition works */
    max-height: 0;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
    background: var(--white);
    padding: 64px 20px;
}

.contact-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 36px 0 28px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--bg-page);
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--primary-brown);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-brown);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.contact-note {
    font-size: 0.75rem !important;
    opacity: 0.7;
    margin-top: 3px;
}

.contact-link {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
}

.contact-cta {
    margin-top: 8px;
}

/* ---- FOOTER EXTRAS ---- */
.footer-address {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.83rem;
    margin-bottom: 8px;
}

/* ---- STICKY CTA (mobile priority) ---- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-brown);
    border-top: 2px solid var(--gold);
    display: flex;
    z-index: 1000;
}

.sticky-btn {
    flex: 1;
    padding: 14px 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.83rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.sticky-btn-primary {
    background: var(--gold);
    color: var(--primary-brown);
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.sticky-btn-secondary {
    background: transparent;
    color: var(--gold);
}

.sticky-btn-primary:hover,
.sticky-btn-primary:active {
    background: var(--gold-vibrant);
}

.sticky-btn-secondary:hover,
.sticky-btn-secondary:active {
    background: rgba(255, 255, 255, 0.08);
}

/* Body padding to prevent sticky CTA from overlapping content */
body {
    padding-bottom: 54px;
}

/* Adjust back-to-top above sticky bar on mobile */
.back-to-top {
    bottom: 74px !important;
}

/* ---- MENU CARD HOVER (enhance) ---- */
.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(26, 15, 13, 0.15);
}

/* ================================================
   RESPONSIVE OVERRIDES
   ================================================ */

/* Desktop: hide sticky CTA, reset body padding */
@media (min-width: 768px) {
    .sticky-cta {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .back-to-top {
        bottom: 20px !important;
    }
}

/* Tablet: 1-column testimonials + contact */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-headline {
        font-size: 1.85rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.55rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-badges {
        grid-template-columns: 1fr;
    }
}