/* Porto Fino — one-page. Cores vêm de --c-primary / --c-secondary do CMS. */

body.theme-portofino {
    background: #000;
    color: #fff;
}

body.theme-portofino a:not(.btn) {/* color: var(--c-secondary); */}
body.theme-portofino a:not(.btn):hover { color: var(--c-secondary-dark); }

body.theme-portofino .btn:not(.btn-link):not([class*="btn-outline"]),
body.theme-portofino .btn:not(.btn-link):not([class*="btn-outline"]):hover,
body.theme-portofino .btn:not(.btn-link):not([class*="btn-outline"]):focus {
    color: #fff;
}

body.theme-portofino .site-heading h2,
body.theme-portofino .site-heading p,
body.theme-portofino .site-heading .lead {
    color: #fff;
}

body.theme-portofino .pf-script {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    letter-spacing: 0;
    text-transform: none;
}

body.theme-portofino .pf-video { position: relative; background: #000; }
body.theme-portofino .pf-video video { display: block; width: 100%; height: auto; }
body.theme-portofino .pf-video .home-video-caption img {
    max-width: min(420px, 70vw);
    max-height: none;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

body.theme-portofino .pf-cardapios { padding-top: 72px; }

body.theme-portofino .pf-menu-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 280px;
}
body.theme-portofino .pf-menu-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    display: block;
    transform: scale(1);
    transition: transform 0.4s ease;
}
body.theme-portofino .pf-menu-card:hover img { transform: scale(1.06); }
body.theme-portofino .pf-menu-card-body {
    position: absolute;
    inset: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72));
    color: #fff;
}
body.theme-portofino .pf-menu-card-body h3 {
    font-size: 1.35rem;
    margin: 0;
    font-weight: 600;
}
body.theme-portofino .pf-menu-card-body p { margin: 0; font-size: 0.95rem; }
body.theme-portofino .pf-menu-card-body .btn {
    align-self: flex-start;
    margin-top: 8px;
    color: #fff !important;
}

body.theme-portofino .pf-reserve-row { margin-top: 28px; }
body.theme-portofino .pf-reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 240px;
    max-width: 100%;
    padding: 14px 22px;
    border-radius: 50px;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    background: var(--c-primary);
    border: 0;
}
body.theme-portofino .pf-reserve-btn small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.85;
}
body.theme-portofino .pf-reserve-btn i { font-size: 1.8rem; }
body.theme-portofino .col-md-4:nth-child(1) .pf-reserve-btn { background: #1aa39a; }
body.theme-portofino .col-md-4:nth-child(2) .pf-reserve-btn { background: #8d6e63; }
body.theme-portofino .col-md-4:nth-child(3) .pf-reserve-btn { background: #ef6c00; }

body.theme-portofino .pf-galeria { margin-bottom: 48px; }
body.theme-portofino .pf-gal-item {
    display: block;
    overflow: hidden;
    background: #111;
}
body.theme-portofino .pf-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.4s ease;
}
body.theme-portofino .pf-gal-item:hover img {
    opacity: 0.8;
    transform: scale(1.03);
}

body.theme-portofino .pf-delivery.home-cta {
    background: var(--c-secondary);
    color: #222;
    padding: 28px 0;
}
body.theme-portofino .pf-delivery h3,
body.theme-portofino .pf-delivery p { color: #222; }
body.theme-portofino .pf-delivery-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
body.theme-portofino .pf-ifood {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}
body.theme-portofino .pf-ifood img { height: 51px; width: auto; }

body.theme-portofino .pf-redes .site-heading h2 a { color: #fff; }
body.theme-portofino .pf-widget { min-height: 80px; }

body.theme-portofino .pf-footer {
    background: var(--c-secondary);
    color: #222;
}
body.theme-portofino .pf-footer h2 { color: #222; }
body.theme-portofino .pf-footer a { color: #222; }
body.theme-portofino .pf-footer-cta {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}
body.theme-portofino .pf-footer-wa {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    border-radius: 50%;
}
body.theme-portofino .site-topbar-rede--tagme { background: #ef6c00; color: #fff; }

@media (max-width: 767.98px) {
    body.theme-portofino .pf-delivery-actions { align-items: stretch; }
    body.theme-portofino .pf-reserve-btn { width: 100%; }
    body.theme-portofino .pf-footer-cta { grid-template-columns: 72px 1fr; }
}
