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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background: #f0f9ff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top bar / header */

.topbar {
    background: rgba(15, 23, 42, 0.95);
    color: #f9fafb;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    opacity: 0.85;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.main-nav a:hover {
    opacity: 1;
}

.main-nav a.active {
    opacity: 1;
    border-color: #38bdf8;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #f9fafb33;
    color: #f9fafb;
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 1.1rem;
}

/* Slideshow */

.slideshow-wrapper {
    width: 100%;
    height: 70vh;
    max-height: 540px;
    overflow: hidden;
    background: #000;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */

.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    font-size: 0.95rem;
    color: #4b5563;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #f9fafb;
    border-radius: 0.85rem;
    padding: 1.25rem 1.3rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.card p {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Page hero */

.page-hero {
    padding: 2.5rem 0 1.5rem;
    background: linear-gradient(135deg, #0ea5e9, #22d3ee);
    color: #f9fafb;
}

.page-hero h1 {
    font-size: 1.9rem;
    margin-bottom: 0.3rem;
}

.page-hero p {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Two columns */

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.sidebar-box {
    background: #0ea5e9;
    color: #f9fafb;
    border-radius: 0.9rem;
    padding: 1.3rem 1.4rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.sidebar-box h3 {
    margin-bottom: 0.6rem;
}

.sidebar-box p {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.note {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 0.8rem;
}

/* Forms */

.form label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.7rem;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #cbd5f5;
    font-size: 0.9rem;
    font-family: inherit;
}

.form textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.list {
    margin-top: 0.5rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.list li {
    margin-bottom: 0.35rem;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s, background 0.15s, color 0.15s;
    text-align: center;
}

.btn-primary {
    background: #facc15;
    color: #1f2937;
    box-shadow: 0 12px 25px rgba(30, 64, 175, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(30, 64, 175, 0.4);
}

.btn-ghost {
    background: transparent;
    border-color: #e5e7eb;
    color: #f9fafb;
}

.btn-outline {
    background: transparent;
    border-color: #e5e7eb;
    color: #f9fafb;
    padding-inline: 1rem;
}

.btn-outline:hover {
    background: #f9fafb;
    color: #0f172a;
}

/* Galeria */

.gallery-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-photo {
    border-radius: 0.9rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.35);
    height: 190px;
    width: 100%;
    object-fit: cover;
}

/* Lightbox */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 85%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.prev-btn, .next-btn, .close-btn {
    position: absolute;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }
.close-btn {
    top: 40px;
    right: 40px;
    font-size: 2rem;
}

/* Sobre - hero */

.hero-about {
    position: relative;
    min-height: 260px;
    background-image: url("../img/fachada_sobre.jpg");
    background-size: cover;
    background-position: center;
}

.hero-about-overlay {
    background: linear-gradient(135deg, rgba(15,23,42,0.7), rgba(14,165,233,0.75));
    min-height: 260px;
}

.hero-about-content {
    padding: 3rem 0 2.5rem;
    color: #f9fafb;
    max-width: 700px;
}

.hero-about-content h1 {
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.hero-about-content p {
    font-size: 0.93rem;
    opacity: 0.98;
    margin-bottom: 0.4rem;
}

/* Sobre - grid */

.about-grid {
    gap: 2rem;
}

.about-images {
    display: grid;
    gap: 0.8rem;
}

.about-image-main img {
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
    object-fit: cover;
    height: 220px;
    width: 100%;
}

.about-image-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.about-image-row img {
    border-radius: 0.9rem;
    height: 120px;
    width: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.about-text p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.6rem;
}

/* Footer */

.footer {
    background: #020617;
    color: #e5e7eb;
    padding: 2.2rem 0 1.4rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    font-size: 0.86rem;
}

.footer-grid h3,
.footer-grid h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-grid p {
    color: #9ca3af;
}

.footer a {
    color: #e5e7eb;
}

.footer-bottom {
    border-top: 1px solid #111827;
    margin-top: 1.8rem;
    padding-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: #6b7280;
}

/* Booking iframe box */

.booking-iframe-box {
    margin: 1rem 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

/* Map */

.map-box {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Responsive */

@media (max-width: 800px) {
    .two-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        position: absolute;
        inset: 48px 1.5rem auto;
        background: rgba(15, 23, 42, 0.97);
        border-radius: 0.75rem;
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.4rem;
        display: none;
    }

    .main-nav.show {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }
}
/* Banner topo restaurante – 8 cm de altura (~300px) */
.rest-banner {
    position: relative;
    width: 100%;
    height: 300px; /* 8 cm aproximados */
    overflow: hidden;
    margin-bottom: 0;
}

.rest-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXTO SOBRE A FOTO */
.rest-banner-text {
    position: absolute;
    bottom: 20px;  /* coloca próximo do fundo da imagem */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    text-shadow: 0px 4px 12px rgba(0,0,0,0.6);
}

.rest-banner-text h1 {
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0;
}

.rest-banner-text p {
    font-size: 1.1rem;
    margin-top: 6px;
}

/* Versão Mobile */
@media(max-width: 650px){
    .rest-banner {
        height: 220px;
    }
    .rest-banner-text h1 {
        font-size: 1.6rem;
    }
    .rest-banner-text p {
        font-size: 0.85rem;
    }
}
/* LOGO + TEXTO DOURADO AO LADO */
.logo-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 58px;
    width: auto;
}

.logo-name {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;

    /* GRADIENTE DOURADO PREMIUM */
    background: linear-gradient(90deg, #f6d98d, #f0c559, #e4b03d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    letter-spacing: 0.6px;
    margin-top: 4px;
}

/* MOBILE */
@media (max-width: 850px) {
    .logo-img {
        height: 46px;
    }
    .logo-name {
        font-size: 1.1rem;
    }
}
/* ===============================
   GALERIA – GRID ORGANIZADA
=============================== */

.gallery-grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.gallery-item {
    display: block;
    border-radius: 0.9rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.30);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.25s;
}

.gallery-item img:hover {
    transform: scale(1.06);
}

/* ===============================
   LIGHTBOX PREMIUM
=============================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.90);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 85%;
    max-height: 80%;
    border-radius: 14px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.6);
}

/* Botões de navegação */
.prev-btn,
.next-btn,
.close-btn {
    position: absolute;
    background: rgba(255,255,255,0.22);
    border: none;
    color: white;
    font-size: 2.4rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}

.prev-btn:hover,
.next-btn:hover,
.close-btn:hover {
    background: rgba(255,255,255,0.32);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }
.close-btn {
    top: 40px;
    right: 40px;
    font-size: 2.1rem;
}
/* BOTÃO WHATSAPP NO HEADER */
.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    padding: 6px 10px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
}

/* Responsivo – no mobile fica bonito e alinhado */
@media(max-width: 850px){
    .whatsapp-link {
        padding: 5px 8px;
    }
    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
}

/* BOTÃO FIXO CIRCULAR A GIRAR */
.floating-circle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 95px;
    height: 95px;
    z-index: 9999;
    cursor: pointer;
    animation: rotateBadge 7s linear infinite;
}

.floating-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media(max-width: 650px){
    .floating-circle {
        width: 70px;
        height: 70px;
        bottom: 18px;
        right: 18px;
    }
}
/* AJUSTES RESTAURANTE PARA MOBILE */
.restaurante-section {
    padding-top: 1.8rem;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.menu-list li strong {
    font-size: 1rem;
}

.menu-price {
    font-weight: 600;
    color: #0ea5e9;
    margin-top: 4px;
}

/* MOBILE */
@media(max-width: 650px){

    .rest-banner {
        height: 200px !important;
    }

    .rest-banner-text h1 {
        font-size: 1.4rem !important;
    }

    .rest-banner-text p {
        font-size: 0.85rem !important;
    }

    .menu-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .menu-list li {
        padding: 0.9rem 0;
    }

    .rest-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .rest-desc {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}


/* IFRAME RESPONSIVO RESERVAS */
.reservas-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 155%;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}
.reservas-iframe-container iframe {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    border:0;
}
@media(min-width:650px){ .reservas-iframe-container{ padding-bottom:120%; } }
@media(min-width:1024px){ .reservas-iframe-container{ padding-bottom:70%; } }
/* ===========================
   CENTRALIZAR TÍTULO PRINCIPAL
=========================== */

.rest-title,
.restaurante-section h1,
.restaurante-section h2 {
    text-align: center !important;
    width: 100%;
    display: block;
}
/* ===========================
   CENTRALIZAR MENU RESTAURANTE
=========================== */

.menu-section h3,
.menu-list li,
.menu-list li strong,
.menu-price {
    text-align: center !important;
}

/* GRELHA DO MENU CENTRADA */
.menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}
