@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Identidade Leusin: vermelho, marfim e dourado discreto; tipografia Poppins */
    --red-primary: #E00000;
    --red-dark: #C40000;
    --gold-primary: #C5A45D;
    --amber-brand: #A9742A;
    --dark-bg: #211C19;
    --dark-card: #2C2420;
    --light-bg: #F7F2EA;
    --white: #FFFFFF;
    --text-main: #2E2825;
    --text-muted: #6F625D;
    --border-soft: rgba(224, 0, 0, 0.14);
    --shadow-card: 0 12px 32px rgba(33, 28, 25, 0.09);
    --radius: 14px;
    --transition: all 0.3s cubic-bezier(0.2, 0.7, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, .timeline-year {
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TARJA SUPERIOR: PRETA, SEPARADA DO CABEÇALHO VERMELHO */
.topbar {
    background-color: #111111;
    color: #FFFFFF;
    font-size: 0.82rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(197, 164, 93, 0.45);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-info span {
    margin-right: 20px;
}

.topbar-info i, .topbar-social i {
    color: var(--gold-primary);
    margin-right: 5px;
}

.topbar-social a {
    color: #D8CFC8;
    text-decoration: none;
    margin-left: 16px;
    transition: var(--transition);
}

.topbar-social a:hover {
    color: var(--gold-primary);
}

/* HEADER & PLACA LOGO LEUSIN */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Cabeçalho vermelho, alinhado à identidade visual da Leusin */
    background: linear-gradient(110deg, rgba(224, 0, 0, 0.98), rgba(196, 0, 0, 0.98));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--gold-primary);
    box-shadow: 0 8px 24px rgba(39, 10, 12, 0.16);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 86px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-badge {
    position: relative;
    background: linear-gradient(145deg, #FFDF00, #E6B400);
    border: 2px solid #222;
    border-radius: 14px;
    padding: 6px 18px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    text-align: center;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: #C81010;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 1px;
    display: block;
    line-height: 1;
}

.logo-since {
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFF;
    color: #111;
    font-size: 0.58rem;
    font-weight: 800;
    padding: 1px 6px;
    border: 1px solid #111;
    border-radius: 4px;
    white-space: nowrap;
}

.logo-screw {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #444;
    border-radius: 50%;
}
.logo-screw.tl { top: 4px; left: 5px; }
.logo-screw.tr { top: 4px; right: 5px; }
.logo-screw.bl { bottom: 4px; left: 5px; }
.logo-screw.br { bottom: 4px; right: 5px; }

.brand-meta strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.brand-meta span {
    color: var(--gold-primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    color: #F0E6DC;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

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

.nav-link:hover, .nav-link.active {
    color: var(--gold-primary);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.6rem;
    cursor: pointer;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(224, 0, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #FF2424, var(--red-primary));
}

.btn-outline {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: rgba(0, 0, 0, 0.35);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: #111;
}

.btn-whatsapp-nav {
    background: var(--red-primary);
    color: #FFF;
    padding: 9px 18px;
    font-size: 0.85rem;
}

.btn-whatsapp-nav:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* HERO */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(16, 12, 10, 0.92) 0%, rgba(28, 20, 16, 0.82) 55%, rgba(224, 0, 0, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 95px 20px 60px;
    max-width: 850px;
}

.hero-seal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(197, 164, 93, 0.16);
    border: 1px solid rgba(197, 164, 93, 0.5);
    color: var(--gold-primary);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.7rem);
    margin-bottom: 20px;
}

.text-gold {
    color: var(--gold-primary);
}

.hero-subtitle {
    font-size: 1.12rem;
    color: #E6DDD6;
    margin-bottom: 32px;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stats {
    position: relative;
    z-index: 2;
    background: rgba(22, 19, 17, 0.94);
    border-top: 1px solid rgba(197, 164, 93, 0.3);
    padding: 24px 0;
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.stat-card strong {
    display: block;
    font-size: 1.35rem;
    color: var(--white);
}

.stat-card span {
    font-size: 0.82rem;
    color: #BFB3AA;
}

/* SECTIONS GENERAL */
.section {
    padding: 85px 0;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--red-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--dark-bg);
    margin-bottom: 18px;
}

.section-desc {
    max-width: 680px;
    margin: 0 auto 36px;
    color: var(--text-muted);
}

/* ABOUT & TIMELINE */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.historic-frame {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}

.historic-frame img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.historic-caption {
    padding: 12px 6px 4px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--red-primary);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(224, 0, 0, 0.32);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--gold-primary);
}

.exp-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1;
}

.exp-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 15px;
    color: #423935;
}

.about-highlights {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

.highlight-item i {
    color: var(--red-primary);
}

/* TIMELINE */
.timeline-wrapper {
    margin-top: 70px;
    padding-top: 50px;
    border-top: 1px solid var(--border-soft);
}

.timeline-heading {
    font-size: 1.8rem;
    margin-bottom: 36px;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.timeline-item {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius);
    border-top: 4px solid var(--amber-brand);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-6px);
    border-top-color: var(--red-primary);
}

.timeline-year {
    display: inline-block;
    background: rgba(200, 118, 25, 0.12);
    color: var(--amber-brand);
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.86rem;
    color: var(--text-muted);
}

/* PRODUCTS SECTION */
.products-section {
    background: var(--light-bg);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--red-primary);
    color: var(--white);
    border-color: var(--red-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(22, 19, 17, 0.15);
}

.product-img-box {
    position: relative;
    height: 270px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(224, 0, 0, 0.08);
    overflow: hidden;
}

/* Embalagens aparecem inteiras; a foto secundária pode valorizar o alimento servido */
.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.45s ease;
}

.product-img-box .img-primary {
    position: relative;
    z-index: 0;
    object-fit: contain;
}

.product-img-box .img-secondary {
    position: absolute;
    inset: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
    z-index: 1;
}

.product-card:hover .img-primary {
    transform: scale(1.025);
}

.product-card:hover .img-secondary {
    opacity: 1;
}

.badge-destaque {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--gold-primary);
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.badge-peso {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(22, 19, 17, 0.85);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-sub {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--amber-brand);
    margin-bottom: 4px;
}

.product-title {
    font-size: 1.22rem;
    margin-bottom: 10px;
    color: var(--dark-bg);
}

.product-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex: 1;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-details {
    flex: 1;
    background: var(--light-bg);
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    padding: 9px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-details:hover {
    background: var(--dark-bg);
    color: var(--white);
}

.btn-order {
    background: var(--red-primary);
    color: var(--white);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-order:hover {
    background: var(--red-dark);
}

/* BANNER COMERCIAL */
.family-banner {
    background: var(--dark-bg);
    color: var(--white);
}

.family-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    background: var(--dark-card);
    padding: 45px;
    border-radius: 18px;
    border: 1px solid rgba(197, 164, 93, 0.24);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.family-text h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin-bottom: 16px;
}

.family-text p {
    color: #CCC2B8;
    margin-bottom: 20px;
}

.family-list {
    list-style: none;
    margin-bottom: 26px;
}

.family-list li {
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.family-list i {
    color: var(--gold-primary);
    margin-right: 8px;
}

.family-img img {
    width: 100%;
    border-radius: var(--radius);
    background: #fff;
    padding: 10px;
}

/* SCHEDULE & CONTACT SECTION (COR ÂMBAR DO SITE ORIGINAL MODERNIZADA) */
.schedule-banner {
    background: linear-gradient(120deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    padding: 32px 38px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 55px;
    border: 1px solid rgba(197, 164, 93, 0.42);
    box-shadow: 0 14px 30px rgba(160, 0, 0, 0.22);
}

.schedule-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.schedule-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.92rem;
}

.btn-whatsapp-large {
    background: var(--white);
    color: #111;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.btn-whatsapp-large:hover {
    background: var(--gold-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 45px;
}

.info-cards {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border-soft);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(224, 0, 0, 0.1);
    color: var(--red-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.info-card p, .info-card a {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.contact-form-box {
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}

.contact-form-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D8CFC8;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.12);
}

.btn-block {
    width: 100%;
}

.form-feedback {
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #100D0C;
    color: #BFB3AA;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul a {
    color: #BFB3AA;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--gold-primary);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--red-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.84rem;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    background: var(--white);
    max-width: 860px;
    width: 100%;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.modal-images img {
    width: 100%;
    border-radius: 10px;
    max-height: 340px;
    object-fit: contain;
    background: #F4F1ED;
}

.modal-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.modal-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
}

.modal-thumbs img.active {
    border-color: var(--red-primary);
}

.modal-weight {
    display: inline-block;
    background: #F3ECE2;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    margin: 12px 0;
}

.modal-Meta {
    margin: 18px 0;
    display: grid;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* WHATSAPP FLOAT (IGUAL AO BOTÃO DE CHAT DOS PRINTS) */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 1500;
    background: var(--red-primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .about-grid, .family-box, .contact-grid, .modal-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        background: linear-gradient(145deg, var(--red-primary), var(--red-dark));
        border-top: 1px solid rgba(197, 164, 93, 0.45);
        box-shadow: 0 16px 24px rgba(39, 10, 12, 0.22);
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 24px;
        display: none;
    }
    .nav-menu.open {
        display: flex;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   REFINAMENTOS VISUAIS E RESPONSIVIDADE — LEUSIN EMBUTIDOS
   ================================================================ */

/* Evita que os títulos das seções fiquem escondidos sob o cabeçalho fixo. */
[id] {
    scroll-margin-top: 106px;
}

/* Interações de teclado visíveis e consistentes. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold-primary);
    outline-offset: 3px;
}

/* Leitura e alinhamento mais uniformes nos cartões do catálogo. */
.product-card {
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(33, 28, 25, 0.07);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(33, 28, 25, 0.14);
}

.product-body {
    padding: 22px;
}

.product-title {
    line-height: 1.35;
}

.product-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.product-actions {
    margin-top: auto;
    align-items: stretch;
}

.btn-details,
.btn-order {
    min-height: 42px;
    justify-content: center;
}

/* Imagem histórica com proporção consistente e sem distorção. */
.historic-frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Campos com melhor contraste e foco. */
.form-group input,
.form-group textarea {
    background: #FFFEFC;
    color: var(--text-main);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8A7C75;
    opacity: 1;
}

/* Botão de WhatsApp mais reconhecível e com dimensões confortáveis. */
.whatsapp-float {
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(160, 0, 0, 0.28);
}

/* Ajustes para tablet e celulares. */
@media (max-width: 960px) {
    .navbar {
        height: 80px;
    }

    .nav-menu {
        top: 80px;
    }

    .hero-content {
        padding-top: 76px;
        padding-bottom: 48px;
    }

    .about-grid,
    .family-box,
    .contact-grid,
    .modal-grid,
    .footer-grid {
        gap: 30px;
    }

    .experience-badge {
        left: 10px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .section {
        padding: 58px 0;
    }

    .topbar {
        font-size: 0.74rem;
    }

    .topbar-inner,
    .topbar-info,
    .topbar-social {
        justify-content: center;
        text-align: center;
    }

    .topbar-info span {
        display: block;
        margin: 2px 0;
    }

    .topbar-social a {
        margin: 0 8px;
    }

    .navbar {
        height: 76px;
        gap: 12px;
    }

    .brand {
        gap: 10px;
        min-width: 0;
    }

    .logo-badge {
        padding: 7px 14px 9px;
    }

    .logo-text {
        font-size: 1.28rem;
    }

    .brand-meta strong {
        font-size: 0.82rem;
    }

    .brand-meta span {
        font-size: 0.68rem;
    }

    .nav-menu {
        top: 76px;
        padding: 22px 20px;
    }

    .nav-link {
        padding: 8px 0;
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 64px 18px 42px;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

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

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

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 14px;
    }

    .stat-card {
        align-items: flex-start;
        gap: 10px;
    }

    .stat-card i {
        font-size: 1.45rem;
    }

    .stat-card strong {
        font-size: 1rem;
    }

    .stat-card span {
        font-size: 0.75rem;
    }

    .products-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .product-img-box {
        height: 260px;
    }

    .product-actions {
        flex-wrap: wrap;
    }

    .btn-details,
    .btn-order {
        flex: 1 1 130px;
    }

    .family-box {
        padding: 24px 20px;
        gap: 24px;
    }

    .family-img img {
        padding: 6px;
    }

    .schedule-banner {
        padding: 24px 20px;
        margin-bottom: 36px;
    }

    .schedule-hours {
        display: grid;
        gap: 8px;
    }

    .contact-form-box {
        padding: 24px 18px;
    }

    .modal-overlay {
        padding: 10px;
    }

    .modal-card {
        padding: 54px 18px 22px;
        max-height: 92vh;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        padding: 0;
        right: 16px;
        bottom: 16px;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float i {
        font-size: 1.55rem;
        margin: 0;
    }
}

@media (max-width: 380px) {
    .brand-meta {
        display: none;
    }

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

    .hero-seal {
        font-size: 0.68rem;
        letter-spacing: 0.4px;
        padding: 7px 12px;
    }
}

/* Respeita quem prefere navegação com menos movimento. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* AMPLIAÇÃO DAS FOTOS DOS PRODUTOS (LIGHTBOX) */
.product-img-box img,
.modal-images #modalImgMain {
    cursor: zoom-in;
}

.product-img-box .img-secondary {
    pointer-events: none;
}

.product-card:hover .img-secondary {
    pointer-events: auto;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(12, 9, 8, 0.92);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-lightbox__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 1100px);
    max-height: 100%;
}

.image-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    animation: lightbox-zoom-in 0.25s ease both;
}

.image-lightbox__close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    background: var(--red-primary);
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.image-lightbox__close:hover,
.image-lightbox__close:focus-visible {
    background: var(--red-dark);
    transform: scale(1.06);
}

.image-lightbox__caption {
    margin-top: 12px;
    color: #FFFFFF;
    font-size: 0.92rem;
    text-align: center;
    text-wrap: balance;
}

body.lightbox-open {
    overflow: hidden;
}

@keyframes lightbox-zoom-in {
    from { transform: scale(0.96); }
    to { transform: scale(1); }
}

@media (max-width: 640px) {
    .image-lightbox {
        padding: 16px;
    }

    .image-lightbox__image {
        max-height: calc(100vh - 100px);
        border-radius: 8px;
    }

    .image-lightbox__close {
        top: -14px;
        right: -8px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-lightbox,
    .image-lightbox__close,
    .image-lightbox__image {
        animation: none !important;
        transition: none !important;
    }
}


/* ================================================================
   EFEITOS CONTEMPORÂNEOS E ACABAMENTO — LEUSIN EMBUTIDOS
   ================================================================ */

/* Indicador fino do progresso de leitura no topo da janela. */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 4000;
    pointer-events: none;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--gold-primary), #FFFFFF 35%, var(--red-primary) 100%);
    box-shadow: 0 1px 8px rgba(224, 0, 0, 0.25);
}

/* Cabeçalho ganha contraste ao rolar a página. */
.header {
    will-change: background-color, box-shadow;
}

.header.is-scrolled {
    background: linear-gradient(110deg, rgba(205, 0, 0, 0.99), rgba(160, 0, 0, 0.99));
    box-shadow: 0 12px 30px rgba(35, 0, 0, 0.28);
}

.navbar {
    transition: height 0.28s ease;
}

@media (min-width: 961px) {
    .header.is-scrolled .navbar {
        height: 72px;
    }
}

/* Entradas mais leves e pequenas diferenças de tempo no catálogo. */
.reveal {
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.products-grid .product-card:nth-child(6n + 1) { --reveal-delay: 0ms; }
.products-grid .product-card:nth-child(6n + 2) { --reveal-delay: 60ms; }
.products-grid .product-card:nth-child(6n + 3) { --reveal-delay: 120ms; }
.products-grid .product-card:nth-child(6n + 4) { --reveal-delay: 180ms; }
.products-grid .product-card:nth-child(6n + 5) { --reveal-delay: 240ms; }
.products-grid .product-card:nth-child(6n + 6) { --reveal-delay: 300ms; }

/* Microinterações nos cartões e nos botões. */
.product-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-img-box {
    isolation: isolate;
}

.product-img-box img {
    cursor: zoom-in;
    will-change: transform, opacity;
}

.product-card:hover .product-img-box .img-primary {
    transform: scale(1.045);
}

.btn,
.btn-details,
.btn-order,
.filter-btn,
.btn-whatsapp-nav {
    -webkit-tap-highlight-color: transparent;
}

.btn:active,
.btn-details:active,
.btn-order:active,
.filter-btn:active,
.btn-whatsapp-nav:active {
    transform: translateY(1px) scale(0.985);
}

/* Ícones sociais com área de clique confortável e hover discreto. */
.topbar-social a,
.footer-socials a {
    transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.topbar-social a:hover,
.footer-socials a:hover {
    transform: translateY(-2px);
}

/* Botão voltar ao topo criado pelo JavaScript. */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 1400;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: var(--red-primary);
    color: #FFFFFF;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(50, 0, 0, 0.24);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, visibility 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

/* Lightbox com navegação entre as fotografias do mesmo produto. */
.image-lightbox {
    z-index: 5000;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.image-lightbox__content {
    animation: lightbox-content-in 0.3s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.image-lightbox__image {
    max-height: calc(100dvh - 130px);
    background: #FFFFFF;
}

.image-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(224, 0, 0, 0.94);
    color: #FFFFFF;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.image-lightbox__nav:hover {
    background: var(--red-dark);
    transform: translateY(-50%) scale(1.06);
}

.image-lightbox__prev { left: clamp(12px, 3vw, 36px); }
.image-lightbox__next { right: clamp(12px, 3vw, 36px); }
.image-lightbox__nav[hidden] { display: none !important; }

.image-lightbox__caption {
    max-width: min(80vw, 900px);
    line-height: 1.5;
}

@keyframes lightbox-content-in {
    from { opacity: 0; transform: translateY(8px) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


/* Logotipo enviado pelo painel administrativo */
.logo-image {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 68px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand {
    min-width: 0;
}

@media (max-width: 640px) {
    .logo-image {
        max-width: 125px;
        max-height: 54px;
    }

    .brand {
        gap: 8px;
    }
}


/* Visibilidade e acessibilidade em ecrãs pequenos. */
@media (max-width: 640px) {
    .back-to-top {
        right: 16px;
        bottom: 84px;
        width: 42px;
        height: 42px;
    }

    .image-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .image-lightbox__prev { left: 8px; }
    .image-lightbox__next { right: 8px; }

    .image-lightbox__image {
        max-width: 100%;
        max-height: calc(100dvh - 110px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .products-grid .product-card,
    .image-lightbox__content {
        transition-delay: 0ms !important;
        animation: none !important;
    }
}
