:root {
    --bg-color: #0c0c0c;
    --card-bg: #161616;
    --primary-gold: #c5a059;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #d4af37;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-slow: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 10px;
}

/* Layout Containers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.mb-80 {
    margin-bottom: 80px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 40px 0;
    transition: var(--transition-fast);
}

header.scrolled {
    background: rgba(12, 12, 12, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-size: 24px;
    letter-spacing: 6px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* Sections */
#experiencia,
#menu,
#espaco-slideshow {
    scroll-margin-top: 100px;
}

section {
    padding: 140px 0;
    position: relative;
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 11px;
    margin-bottom: 20px;
    color: var(--primary-gold);
    opacity: 0.8;
}

.center {
    text-align: center;
}

.divider {
    height: 1px;
    width: 80px;
    background: var(--primary-gold);
    margin: 40px auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100svh; /* iOS/Android: evita o salto da barra de endereço */
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    height: 100%;
    width: 100%;
}

.hero-video-container {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.1s linear;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(12,12,12,0) 85%, rgba(12,12,12,1) 100%);
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(50px, 7vw, 90px);
    letter-spacing: 12px;
    margin-bottom: 20px;
    font-weight: 200;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 60px;
}

.btn-premium {
    padding: 22px 50px;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gold);
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-premium:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

/* Experience Section (Concept) */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.experience-text {
    max-width: 100%;
}

.experience-text p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.experience-image {
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.1);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.experience-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.experience-image:hover img {
    transform: scale(1.05);
}

/* Cinematic Slideshow (Space) */
.slideshow-wrapper {
    position: relative;
    width: 100%;
    margin-top: 60px;
}

.slideshow-container {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
    background: #000;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(12,12,12,0.2), rgba(12,12,12,0.5));
    z-index: 5;
    pointer-events: none;
}

.slideshow-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 80%;
    pointer-events: none;
}

.slideshow-caption h2 {
    font-size: clamp(32px, 4vw, 54px);
    color: var(--primary-gold);
    letter-spacing: 4px;
    margin-top: 10px;
    text-shadow: 0 4px 40px rgba(0,0,0,0.8);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.05);
    transform: scale(1);
    transition: transform 12s linear;
}

/* Suble Zoom Effect */
.slide.active img {
    transform: scale(1.1);
}

/* Pricing Mini (After Gallery) */
.pricing-container-mini {
    max-width: 500px;
    margin: 60px auto 0 auto;
    text-align: center;
}

.pricing-list-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pricing-item-mini {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-item-mini .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.pricing-item-mini .dots {
    flex: 1;
    border-bottom: 1px dotted rgba(197, 160, 89, 0.3);
    height: 8px;
}

.pricing-item-mini .price {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--primary-gold);
    font-weight: 600;
}

/* Food Grid (Uniform) */
.food-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.food-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Quadrados perfeitos para os pratos */
    border: 1px solid rgba(197, 160, 89, 0.05);
}

.food-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: var(--transition-slow);
}

.food-item:hover img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Animations Core */
.reveal {
    opacity: 0;
    pointer-events: none;
    filter: blur(10px);
    transition: 
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-scale {
    transform: scale(0.96) translateY(20px);
}

.reveal.active {
    opacity: 1;
    pointer-events: all;
    filter: blur(0);
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Reservations Section */
.reservations {
    background: linear-gradient(rgba(12,12,12,0.85), rgba(12,12,12,0.85)), url('Imagens restaurante/belaria_restaurante_photo_1776269586253.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.reservation-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    background: rgba(12, 12, 12, 0.6);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.reservation-box h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.contact-signature {
    display: flex;
    justify-content: center;
    gap: clamp(30px, 5vw, 60px);
    margin: 40px 0 60px 0;
    flex-wrap: wrap;
}

.sig-block {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.sig-main {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Horário na secção de contactos */
.sig-hours {
    font-family: var(--font-body);
    line-height: 1.6;
}
.sig-hours .days {
    display: block;
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.sig-hours .times {
    display: block;
    color: var(--text-primary);
    font-size: clamp(14px, 1.6vw, 16px);
    letter-spacing: 1px;
    font-weight: 500;
}
.sig-hours .closed {
    display: block;
    margin-top: 8px;
    color: var(--primary-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
}

.reservation-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.reservation-actions .btn-premium {
    min-width: 200px;
}

.gold-text {
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

/* Footer */
footer {
    padding: 80px 0;
    background: #000;
    text-align: center;
}

footer .logo-text {
    display: block;
    margin-bottom: 28px;
    font-size: 20px;
}

/* Redes sociais no rodapé */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}
.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}
.footer-social a svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}
@media (hover: hover) {
    .footer-social a:hover {
        background: var(--primary-gold);
        color: #000;
        border-color: var(--primary-gold);
        transform: translateY(-3px);
        box-shadow: 0 10px 24px -10px rgba(197, 160, 89, 0.5);
    }
}
.footer-social a:active { transform: scale(0.94); }

footer p {
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 2px;
}

/* Livro de Reclamações — discreto e elegante */
.complaints-link {
    display: inline-block;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(197, 160, 89, 0.12);
    line-height: 0;
}
.complaints-link img {
    width: 132px;
    height: auto;
    opacity: 0.45;
    filter: grayscale(0.25);
    transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.complaints-link:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-fast);
}

.nav-cta {
    background: transparent;
    color: var(--text-secondary) !important;
    padding: 10px 24px !important;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 0;
    margin-left: 20px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 11px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* O hover do .nav-cta é tratado na secção de modernização (efeito de traço) */

/* Base Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    header { padding: 30px 0; }

    .nav-links { gap: 26px; }
    .nav-links a { font-size: 12px; letter-spacing: 2px; }

    .contact-signature { gap: 40px; }
    .sig-main { font-size: 28px; }
}

@media (max-width: 850px) {
    /* Mobile Menu Logic */
    .mobile-menu-toggle { display: flex; }

    /* Seletor de idioma fica junto ao hambúrguer */
    .lang-toggle { margin-left: auto; margin-right: 16px; }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(12, 12, 12, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1500;
    }

    .nav-wrapper.active { right: 0; }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 26px;
    }

    .nav-links a { font-size: 14px; letter-spacing: 3px; }
    .nav-cta { margin-left: 0; padding: 11px 28px !important; }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Layout Sections */
    .hero-content { grid-template-columns: 1fr; }
    .hero-video-container { height: 55vh; }
    .hero-video-container::after { background: linear-gradient(0deg, rgba(12,12,12,1) 0%, rgba(12,12,12,0) 35%); }
    .hero-text { height: 45vh; padding: 40px 25px; text-align: center; }
    .hero-text h1 { font-size: 42px; letter-spacing: 8px; }

    .experience-grid { grid-template-columns: 1fr; gap: 40px; }
    .experience-image { order: -1; aspect-ratio: 1 / 1; }

    .slideshow-container { height: 400px; }
    .slideshow-caption h2 { font-size: 24px; letter-spacing: 2px; }

    .contact-signature { 
        flex-direction: column; 
        gap: 40px; 
        text-align: center; 
        align-items: center; 
    }
    .sig-main { font-size: 18px; letter-spacing: 4px; }

    .food-masonry { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 480px) {
    section { padding: 60px 0; }
    .container { padding: 0 25px; }
    .food-masonry { grid-template-columns: 1fr; gap: 20px; }
    .reservation-box { padding: 40px 20px; }
    .reservation-actions { flex-direction: column; width: 100%; gap: 15px; }
    .reservation-actions .btn-premium { width: 100%; text-align: center; margin: 0; }
    .sig-main { font-size: 15px; letter-spacing: 2px; }
    
    .pricing-container-mini { margin-top: 40px; }
    .pricing-item-mini { flex-direction: column; gap: 5px; align-items: center; }
    .pricing-item-mini .dots { display: none; } /* Removemos os pontos em mobile muito pequeno para evitar confusão visual */
    .pricing-item-mini .label { font-size: 12px; }
    .pricing-item-mini .price { font-size: 18px; margin-top: 5px; }

    .logo-text { font-size: 20px; letter-spacing: 3px; }
}

/* Fix for landscape mobile or very small heights */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-wrapper.active { padding-top: 100px; overflow-y: auto; }
    .hero-text h1 { font-size: 32px; }
}

/* ============================================================
   MODERNIZAÇÃO — Animações elegantes (2026)
   ============================================================ */

/* --- Header: esconder ao descer, mostrar ao subir --- */
header.hidden { transform: translateY(-105%); }

/* --- Seletor de idioma PT / EN --- */
.nav-wrapper { margin-left: auto; }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: 26px;
    flex-shrink: 0;
}
.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    padding: 3px 2px;
    transition: color 0.4s ease, opacity 0.4s ease;
    opacity: 0.7;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.lang-toggle button.active { color: var(--primary-gold); opacity: 1; }
@media (hover: hover) {
    .lang-toggle button:hover { color: var(--primary-gold); opacity: 1; }
}
.lang-sep {
    width: 1px;
    height: 12px;
    background: rgba(197, 160, 89, 0.4);
}

/* --- Navegação: sublinhado dourado animado --- */
.nav-links a:not(.nav-cta) {
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: var(--primary-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-links a:not(.nav-cta):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Reveal de títulos letra-a-letra (split) --- */
.split { display: inline-block; }
.split .ln {
    display: block;
    overflow: hidden;
    padding: 0.04em 0;
}
.split .ch {
    display: inline-block;
    transform: translateY(115%);
    transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}
.split.in .ch { transform: translateY(0); }
.split .sp { display: inline-block; width: 0.3em; }

/* --- Entrada do Hero (escalonada, ao carregar) --- */
.hero-video-container {
    /* Origem à direita: a costura com a coluna de texto fica imóvel
       durante o zoom-out (o excesso expande para a esquerda, cortado
       pelo overflow do .hero) — evita flicker na fronteira ao carregar */
    transform-origin: right center;
    animation: heroMediaIn 1.8s cubic-bezier(0.19, 1, 0.22, 1) both;
}
@keyframes heroMediaIn {
    from { opacity: 0; transform: scale(1.06); }
    to   { opacity: 1; transform: scale(1); }
}
@media (max-width: 850px) {
    /* Em mobile a costura é horizontal (fundo do vídeo) — ancora em baixo.
       Tem de vir DEPOIS da regra desktop acima para ganhar na cascata. */
    .hero-video-container { transform-origin: center bottom; }
}

.hero-anim:not([data-split]) {
    opacity: 0;
    animation: heroRise 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.hero-subtitle.hero-anim { animation-delay: 0.85s; }
.btn-premium.hero-anim   { animation-delay: 1.1s; }
@keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Indicador de scroll no fundo do Hero --- */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: heroRise 1s 1.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    z-index: 5;
}
.hero-scroll span:first-child { padding-left: 4px; }
.hero-scroll .mouse {
    width: 22px;
    height: 36px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    border-radius: 12px;
    position: relative;
}
.hero-scroll .mouse::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 7px;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--primary-gold);
    transform: translateX(-50%);
    animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    30%  { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}
@media (max-width: 850px) { .hero-scroll { display: none; } }

/* --- Divisor dourado que se "desenha" --- */
.divider.reveal {
    opacity: 1;
    filter: none;
    pointer-events: auto;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.divider.reveal.active { transform: scaleX(1); }

/* --- Ícone de "ampliar" sobre imagens clicáveis --- */
.food-item, .experience-image, .slideshow-container { cursor: pointer; }
.exp {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    z-index: 6;
}
.exp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(12,12,12,0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
}
.exp svg {
    position: relative;
    width: 44px;
    height: 44px;
    stroke: var(--primary-gold);
    stroke-width: 1.3;
    fill: none;
    transform: scale(0.7);
    transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}
.food-item:hover .exp,
.experience-image:hover .exp,
.slideshow-container:hover .exp { opacity: 1; }
.food-item:hover .exp::before,
.experience-image:hover .exp::before,
.slideshow-container:hover .exp::before { opacity: 1; }
.food-item:hover .exp svg,
.experience-image:hover .exp svg,
.slideshow-container:hover .exp svg { transform: scale(1); }

/* --- Lightbox / Visualizador de fotos --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(8, 8, 8, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox-figure {
    margin: 0;
    max-width: min(90vw, 1100px);
    max-height: 86vh;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s ease;
}
.lightbox.show .lightbox-figure { transform: scale(1); opacity: 1; }
.lightbox-figure img {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border: 1px solid rgba(197, 160, 89, 0.25);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    background: rgba(12, 12, 12, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}
.lightbox-close svg,
.lightbox-nav svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary-gold);
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    box-shadow: 0 0 24px rgba(197, 160, 89, 0.4);
}
.lightbox-close:hover svg,
.lightbox-nav:hover svg { stroke: #000; }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-nav.prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 28px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .lightbox { padding: 16px; }
    .lightbox-close { top: 16px; right: 16px; width: 46px; height: 46px; }
    .lightbox-nav { width: 44px; height: 44px; }
    .lightbox-nav.prev { left: 12px; }
    .lightbox-nav.next { right: 12px; }
}

/* --- Botão Premium: contorno dourado que se desenha (elegante / minimalista) ---
   Uma linha fina percorre o perímetro do botão ao passar o rato, usando uma
   <rect> SVG com pathLength="100" e stroke-dashoffset. O texto abre ligeiramente
   o espaçamento e ganha um brilho dourado discreto. */
.btn-premium,
.nav-cta {
    position: relative;
    z-index: 0;
    overflow: visible;
    border-color: rgba(197, 160, 89, 0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        color 0.55s ease,
        letter-spacing 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        background 0.55s ease,
        border-color 0.5s ease,
        box-shadow 0.6s ease;
}
/* neutraliza os preenchimentos anteriores */
.btn-premium::before,
.btn-premium::after { display: none; }

/* traço SVG injetado por JS */
.btn-trace {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}
.btn-trace rect {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.4;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* Estado "desenhado" partilhado (hover real, foco por teclado, toque) */
.btn-premium.is-traced,
.nav-cta.is-traced {
    background: rgba(197, 160, 89, 0.05);
    color: var(--accent) !important;
    letter-spacing: 6px;
    border-color: transparent;
    box-shadow: 0 14px 42px -22px rgba(197, 160, 89, 0.6);
}
.btn-premium.is-traced .btn-trace rect,
.nav-cta.is-traced .btn-trace rect { stroke-dashoffset: 0; }

/* Hover apenas em dispositivos com rato (evita "hover preso" no telemóvel) */
@media (hover: hover) and (pointer: fine) {
    .btn-premium:hover,
    .nav-cta:hover {
        background: rgba(197, 160, 89, 0.05);
        color: var(--accent) !important;
        letter-spacing: 6px;
        border-color: transparent;
        box-shadow: 0 14px 42px -22px rgba(197, 160, 89, 0.6);
    }
    .btn-premium:hover .btn-trace rect,
    .nav-cta:hover .btn-trace rect { stroke-dashoffset: 0; }
}

/* Foco por teclado (acessibilidade) desenha o contorno */
.btn-premium:focus-visible .btn-trace rect,
.nav-cta:focus-visible .btn-trace rect { stroke-dashoffset: 0; }
.btn-premium:focus-visible,
.nav-cta:focus-visible { color: var(--accent) !important; border-color: transparent; outline: none; }

/* ============================================================
   OTIMIZAÇÃO MOBILE / CROSS-DEVICE (iOS, Android, qualquer ecrã)
   ============================================================ */

/* parallax de fundo "fixed" falha/treme em telemóveis → passa a scroll normal */
@media (hover: none), (max-width: 1024px) {
    .reservations {
        background-attachment: scroll;
    }
}

/* alvos de toque confortáveis (mín. ~44px recomendado iOS/Android) */
@media (pointer: coarse) {
    .nav-links a { padding: 6px 4px; }
    .mobile-menu-toggle { width: 44px; height: 44px; justify-content: center; align-items: center; }
    .btn-premium { padding: 20px 42px; }
}

/* lightbox: usa svh e respeita as áreas seguras (notch / barras) */
.lightbox {
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
             max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.lightbox-figure { max-height: 86svh; }
.lightbox-figure img { max-height: 86svh; }
.lightbox-close {
    top: max(20px, env(safe-area-inset-top));
    right: max(20px, env(safe-area-inset-right));
}

/* evita zoom-duplo e atrasos de toque nos elementos interativos */
a, button, .food-item, .experience-image, .slideshow-container {
    touch-action: manipulation;
}

/* desliza horizontal nunca aparece, em qualquer ecrã */
html, body { max-width: 100%; }

/* ecrãs muito largos: mantém o conteúdo centrado e legível */
@media (min-width: 1700px) {
    .container { max-width: 1500px; }
}

/* ============================================================
   SECÇÃO DE AVALIAÇÕES (REVIEWS)
   ============================================================ */
.reviews { position: relative; overflow: hidden; }
#reviews { scroll-margin-top: 100px; }
.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 120%;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.08), transparent 70%);
    pointer-events: none;
}

/* --- Avaliação global Google --- */
.reviews-overall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    width: max-content;
    max-width: 100%;
    margin: 50px auto 70px;
    padding: clamp(26px, 4vw, 38px) clamp(34px, 5vw, 56px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    background: linear-gradient(150deg, rgba(197, 160, 89, 0.06), rgba(20, 20, 20, 0.25));
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}
.reviews-overall:hover {
    border-color: rgba(197, 160, 89, 0.45);
    box-shadow: 0 24px 60px -30px rgba(197, 160, 89, 0.5);
    transform: translateY(-3px);
}
.overall-score {
    font-family: var(--font-heading);
    font-size: clamp(60px, 9vw, 92px);
    font-weight: 600;
    color: var(--primary-gold);
    line-height: 0.9;
    text-shadow: 0 0 40px rgba(197, 160, 89, 0.25);
}
.overall-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}
.stars {
    color: var(--primary-gold);
    letter-spacing: 3px;
    font-size: 15px;
    line-height: 1;
    text-shadow: 0 0 12px rgba(197, 160, 89, 0.3);
}
.stars-lg { font-size: 24px; letter-spacing: 7px; }
.overall-source {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.g-logo { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary-gold); }

/* --- Slideshow de reviews --- */
.reviews-slider {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.rev-track {
    position: relative;
    height: 430px; /* altura uniforme para todos os cards */
}
.rev-card {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding: clamp(30px, 4.5vw, 46px) clamp(24px, 4.5vw, 44px);
    background: rgba(20, 20, 20, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.16);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    pointer-events: none;
    transition:
        opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}
.rev-card.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 2;
}
.rev-card.active:hover {
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: 0 24px 60px -34px rgba(197, 160, 89, 0.5);
}
.rev-text {
    color: var(--text-primary);
    font-size: clamp(14.5px, 1.6vw, 17px);
    line-height: 1.7;
    font-weight: 300;
    width: 100%;
    max-width: 540px;
    font-style: italic;
    font-family: var(--font-heading);
    /* texto em fluxo normal; faz scroll interno quando excede o card */
    max-height: 56%;
    overflow-y: auto;
    padding: 2px 10px;
    /* barra de scroll discreta (Firefox) */
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 160, 89, 0.45) transparent;
    overscroll-behavior: contain;
}
/* barra de scroll discreta (WebKit / Chrome / Safari) */
.rev-text::-webkit-scrollbar { width: 4px; }
.rev-text::-webkit-scrollbar-track { background: transparent; }
.rev-text::-webkit-scrollbar-thumb {
    background: rgba(197, 160, 89, 0.4);
    border-radius: 4px;
}
.rev-text::-webkit-scrollbar-thumb:hover { background: rgba(197, 160, 89, 0.7); }
/* estrelas e autor nunca encolhem nem desaparecem */
.rev-card .stars,
.rev-card .rev-author { flex-shrink: 0; }
.rev-card .stars { font-size: 17px; letter-spacing: 5px; }
.rev-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}
.rev-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--av, var(--primary-gold)), rgba(0, 0, 0, 0.4));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}
.rev-name {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 500;
}
.rev-name small {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 3px;
    font-weight: 400;
}

/* Controlos (setas + dots) */
.rev-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 44px;
}
.rev-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    flex-shrink: 0;
}
.rev-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-gold);
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (hover: hover) {
    .rev-arrow:hover {
        background: var(--primary-gold);
        border-color: var(--primary-gold);
        box-shadow: 0 0 22px rgba(197, 160, 89, 0.4);
    }
    .rev-arrow:hover svg { stroke: #000; }
}
.rev-arrow:active { transform: scale(0.92); }
.rev-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}
.rev-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.25);
    cursor: pointer;
    transition: all 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.rev-dots .dot.active {
    width: 26px;
    border-radius: 5px;
    background: var(--primary-gold);
    box-shadow: 0 0 12px rgba(197, 160, 89, 0.5);
}

/* ============================================================
   SECÇÃO INSTAGRAM (widget premium)
   ============================================================ */
.ig-section { position: relative; overflow: hidden; }
#instagram { scroll-margin-top: 100px; }
.ig-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 120%;
    height: 480px;
    background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.07), transparent 70%);
    pointer-events: none;
}
.ig-widget {
    position: relative;
    z-index: 1;
    max-width: 1060px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 34px);
    background: rgba(18, 18, 18, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 160, 89, 0.18);
    border-radius: 24px;
    box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.85);
}

/* --- Cabeçalho de perfil --- */
.ig-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.12);
}
.ig-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: block;
}
.ig-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #8a6d2f, #c5a059, #f5e2a8, #c5a059, #8a6d2f);
    z-index: 0;
    animation: igRing 9s linear infinite;
}
@keyframes igRing { to { transform: rotate(360deg); } }
.ig-avatar img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
    background: #000;
}
.ig-meta { flex: 1; min-width: 0; }
.ig-handle-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ig-handle {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    transition: color 0.4s ease;
}
.ig-handle:hover { color: var(--primary-gold); }
.ig-follow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    background: var(--primary-gold);
    padding: 8px 20px;
    border-radius: 8px;
    transition: var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}
.ig-follow:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(197, 160, 89, 0.6); }
.ig-name {
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 7px;
    font-weight: 500;
}
.ig-bio {
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.5;
    margin-top: 6px;
    max-width: 52ch;
}

/* --- Grelha: reel em destaque (inteiro) + publicações --- */
.ig-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.ig-cell {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    background: #111;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    font: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
.ig-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
@media (hover: hover) {
    .ig-cell:hover img { transform: scale(1.06); }
}

/* Reel: coluna esquerda em 2 linhas, vídeo INTEIRO sem corte */
.ig-reel {
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    border-radius: 18px;
    border: 1px solid rgba(197, 160, 89, 0.18);
    background: #000;
    cursor: pointer;
}
.ig-reel-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}
.ig-reel-foot {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 14px 14px;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.92), transparent);
}
.ig-reel-foot .ig-cap {
    color: #fff;
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* badges (reel / carrossel) */
.ig-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.7));
}
.ig-badge svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* overlay com legenda / gostos */
.ig-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.15) 55%, transparent);
    opacity: 0;
    transition: opacity 0.45s ease;
}
@media (hover: hover) {
    .ig-cell:hover .ig-overlay { opacity: 1; }
}
.ig-likes { display: flex; gap: 16px; }
.ig-likes b { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.ig-cap {
    color: #fff;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ig-watch { color: var(--primary-gold); font-size: 11.5px; letter-spacing: 1px; font-weight: 500; }

/* tile "ver mais" */
.ig-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    padding: 14px;
    background: linear-gradient(150deg, rgba(197, 160, 89, 0.16), rgba(20, 20, 20, 0.45));
    border: 1px solid rgba(197, 160, 89, 0.25);
    transition: var(--transition-fast);
}
.ig-more-icon svg { width: 30px; height: 30px; stroke: var(--primary-gold); fill: none; stroke-width: 1.6; }
.ig-more-handle { color: var(--text-primary); font-size: 12px; letter-spacing: 0.5px; word-break: break-word; }
.ig-more-cta { color: var(--primary-gold); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
@media (hover: hover) {
    .ig-more:hover { background: linear-gradient(150deg, rgba(197, 160, 89, 0.3), rgba(20, 20, 20, 0.45)); transform: translateY(-2px); }
}
/* em ecrãs tácteis as legendas ficam visíveis (não há hover) */
@media (hover: none) {
    .ig-overlay { opacity: 1; background: linear-gradient(to top, rgba(8, 8, 8, 0.82), transparent 58%); }
    .ig-reel .ig-cap { opacity: 1; }
}

/* responsivo — feed vertical estilo Instagram (publicações grandes) */
@media (max-width: 620px) {
    .ig-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 18px;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }
    /* reel em destaque no topo, formato 9:16 como no Instagram */
    .ig-reel {
        grid-column: auto;
        grid-row: auto;
        width: min(330px, 80vw);
        aspect-ratio: 9 / 16;
        justify-self: center;
        margin-bottom: 2px;
        border-radius: 18px;
    }
    /* cada publicação ocupa a largura toda, como no feed real do IG */
    .ig-cell { border-radius: 16px; }
    .ig-cell.ig-carousel { aspect-ratio: 1 / 1; }
    /* legendas e gostos maiores, legíveis no feed */
    .ig-overlay { padding: 18px; gap: 9px; }
    .ig-cap { font-size: 14px; -webkit-line-clamp: 3; }
    .ig-likes { gap: 18px; }
    .ig-likes b { font-size: 14px; }
    .ig-reel-foot { padding: 22px 16px 16px; }
    .ig-reel-foot .ig-cap { font-size: 13.5px; }
    .ig-watch { font-size: 12px; }
    /* "ver mais" como faixa larga no fim do feed */
    .ig-more {
        aspect-ratio: 5 / 2;
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        padding: 18px;
    }
    .ig-more-icon svg { width: 34px; height: 34px; }
    .ig-more-handle { font-size: 14px; }
    .ig-more-cta { font-size: 11px; }
}
@media (max-width: 560px) {
    .ig-header { flex-direction: column; text-align: center; gap: 14px; }
    .ig-handle-row { justify-content: center; }
    .ig-bio { margin-left: auto; margin-right: auto; }
    .ig-widget { border-radius: 18px; }
}

/* ============================================================
   POP-UPS SOCIAIS (Instagram / Facebook) — discretos e elegantes
   ============================================================ */
.social-pop {
    position: fixed;
    left: 28px;
    bottom: 28px;
    z-index: 1200;
    max-width: 320px;
    background: rgba(14, 14, 14, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    backdrop-filter: blur(18px) saturate(1.1);
    border: 1px solid rgba(197, 160, 89, 0.22);
    box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(197, 160, 89, 0.15);
    padding: 16px 18px 16px 20px;
    /* barra dourada de acento à esquerda */
    border-left: 2px solid var(--primary-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-18px) translateY(8px);
    transition:
        opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.7s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 0.7s;
    pointer-events: none;
}
.social-pop.show {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
}
.social-pop-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-primary);
}
.social-pop-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: var(--transition-fast);
}
.social-pop-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}
/* Variante Instagram: ícone com o gradiente reconhecível do IG */
.social-pop-ig .social-pop-icon {
    background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
    border-color: transparent;
    color: #fff;
}
@media (hover: hover) {
    .social-pop-ig .social-pop-link:hover .social-pop-icon {
        background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
        color: #fff;
        box-shadow: 0 0 22px rgba(220, 39, 67, 0.45);
    }
}
.social-pop-body {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.social-pop-body small {
    color: var(--primary-gold);
    font-size: 9.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
}
.social-pop-body strong {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin: 1px 0 4px;
}
.social-pop-cta {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.social-pop-cta i {
    font-style: normal;
    color: var(--primary-gold);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
@media (hover: hover) {
    .social-pop-link:hover .social-pop-icon {
        background: var(--primary-gold);
        color: #000;
        box-shadow: 0 0 22px rgba(197, 160, 89, 0.45);
    }
    .social-pop-link:hover .social-pop-cta i { transform: translateX(5px); }
}
.social-pop-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(197, 160, 89, 0.35);
    cursor: pointer;
    transition: var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}
.social-pop-close svg {
    width: 13px;
    height: 13px;
    stroke: var(--text-secondary);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}
.social-pop-close:hover {
    border-color: var(--primary-gold);
    transform: rotate(90deg);
}
.social-pop-close:hover svg { stroke: var(--primary-gold); }

/* Reviews + pop-ups responsivos */
@media (max-width: 850px) {
    .reviews-overall { flex-direction: column; gap: 14px; text-align: center; }
    .overall-meta { align-items: center; text-align: center; }
    .rev-track { height: 450px; }
}
@media (max-width: 560px) {
    .social-pop {
        left: 14px;
        right: 14px;
        bottom: 14px;
        max-width: none;
        padding: 14px 16px;
    }
    .social-pop-icon { width: 42px; height: 42px; }
    .social-pop-body strong { font-size: 16px; }
    .rev-controls { gap: 16px; margin-top: 32px; }
    .rev-arrow { width: 44px; height: 44px; }
    .rev-track { height: 470px; }
}

/* --- Respeitar preferência de movimento reduzido --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .split .ch { opacity: 1 !important; transform: none !important; filter: none !important; }
    .hero-anim { opacity: 1 !important; }
    .divider.reveal { transform: scaleX(1) !important; }
}
