/* ========================================
   OS PLÁCIDOS — TALHO E CHARCUTARIA
   Website Styles
   ======================================== */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #1A1A1A;
    --red: #CC0000;
    --red-dark: #A30000;
    --red-light: #D4232A;
    --white: #FFFFFF;
    --gray-light: #F5F3F0;
    --gray: #E8E4E0;
    --gray-text: #666666;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.75) 50%,
        rgba(26, 26, 26, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-logo {
    max-width: 450px;
    width: 80%;
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-primary {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-primary:hover {
    background: #1EBE5A;
    border-color: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: all var(--transition);
}

.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
}

.btn-whatsapp .btn-icon {
    width: 18px;
    height: 18px;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--black);
}

.section-red {
    background: var(--red);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    text-align: center;
    color: var(--black);
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 16px;
    color: #444;
    line-height: 1.8;
}

.about-lead {
    font-size: 1.1rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF0F0;
    border-radius: 50%;
    color: var(--red);
}

.highlight-icon svg {
    width: 22px;
    height: 22px;
}

.highlight-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---------- PRODUCTS ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 8px;
}

.product-info p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- LOCATION ---------- */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF0F0;
    border-radius: 50%;
    color: var(--red);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--black);
}

.info-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
}

.info-card a {
    color: var(--red);
    font-weight: 600;
    font-size: 1.1rem;
}

.info-card a:hover {
    color: var(--red-dark);
}

.schedule-table {
    border-collapse: collapse;
    font-size: 0.9rem;
}

.schedule-table td {
    padding: 4px 16px 4px 0;
    color: #555;
}

.schedule-table tr.closed td {
    color: #aaa;
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 380px;
}

.location-map iframe {
    display: block;
}

/* ---------- CONTACTS ---------- */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--white);
    transition: all var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.contact-card svg {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 600;
    font-size: 1rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.6);
    padding: 48px 0 0;
}

.footer-content {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin: 0 auto 12px;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.footer-address {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(204, 0, 0, 0.1);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    fill: var(--white);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .location-map {
        min-height: 300px;
    }

    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 16px 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-logo {
        max-width: 320px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .product-image {
        height: 200px;
    }

    .contacts-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .contact-card {
        padding: 20px 12px;
    }

    .contact-card svg {
        width: 28px;
        height: 28px;
    }

    .contact-value {
        font-size: 0.85rem;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        max-width: 260px;
    }
}
