/* =========================================
   VARIABLES & GLOBAL SYTLES
   ========================================= */
:root {
    color-scheme: only light;
    --primary-color: #bd9065;
    /* Light brown matching the logo */
    --primary-dark: #9c7147;
    --secondary-color: #f5eedf;
    /* Soft beige background */
    --accent-color: #8c5b3f;
    /* Chocolate brown */
    --text-dark: #3a2c27;
    /* Dark brown for text */
    --text-color: #3a2c27;
    --text-light: #ffffff;
    --bg-light: #faf7f2;
    --bg-white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --scroll-progress: 0%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    color-scheme: only light;
    scroll-behavior: smooth;
    background: #fffaf5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: pan-y;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fffaf5;
    overflow-x: hidden;
    color-scheme: only light;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--scroll-progress);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #f0caa4, var(--accent-color));
    z-index: 2000;
    pointer-events: none;
    transition: width 0.12s linear;
}

a {
    text-decoration: none;
    color: inherit;
}

input,
textarea,
select,
button {
    -webkit-appearance: none;
    appearance: none;
    color-scheme: only light;
    font: inherit;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.divider-left {
    height: 3px;
    width: 60px;
    background: var(--primary-color);
    margin: 1rem 0 1.5rem;
    border-radius: 2px;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: all 0.4s ease;
    background: transparent;
    animation: navDrop 0.8s var(--ease-soft) both;
}

.navbar.scrolled {
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    width: clamp(170px, 18vw, 245px);
    height: auto;
    transition: transform 0.35s var(--ease-soft), filter 0.35s ease;
}

.logo:hover .logo-img {
    transform: translateY(-1px) scale(1.02);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    /* initial white on hero */
    letter-spacing: 1px;
    transition: color 0.4s ease;
}

.logo-text .highlight {
    color: var(--primary-color);
}

.navbar.scrolled .logo-text {
    color: var(--text-dark);
}

.nav-links a {
    margin: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-buy {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(209, 139, 133, 0.4);
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 1rem 5%;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.hero-content .subtitle,
.hero-content h1,
.hero-content .btn-primary,
.hero-content .hero-actions {
    opacity: 0;
    transform: translateY(20px);
}

.hero-content.aos-animate .subtitle {
    animation: riseIn 0.7s var(--ease-soft) 0.05s forwards;
}

.hero-content.aos-animate h1 {
    animation: riseIn 0.8s var(--ease-soft) 0.18s forwards;
}

.hero-content.aos-animate > .btn-primary {
    animation: riseIn 0.8s var(--ease-soft) 0.34s forwards;
}

.hero-content.aos-animate .hero-actions {
    animation: riseIn 0.8s var(--ease-soft) 0.48s forwards;
}

.hero .subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    display: inline-block;
    background: var(--bg-white);
    color: var(--accent-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s var(--ease-soft), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-primary::after,
.btn-secondary::after,
.btn-buy::after,
.menu-action::after,
.btn-instagram::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    z-index: -1;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-buy:hover::after,
.menu-action:hover::after,
.btn-instagram:hover::after {
    transform: translateX(120%);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(140, 91, 63, 0.24);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.fade-bounce {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

/* =========================================
   PRODUCTS SECTION
   ========================================= */
.products-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: relative;
    isolation: isolate;
    transition: transform 0.45s var(--ease-soft), box-shadow 0.45s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: center;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.4), transparent 38%);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card.active {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(140, 91, 63, 0.2);
}

.product-card.active .product-info {
    background: var(--secondary-color);
}

.product-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
}

.product-img {
    height: 350px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.6s ease;
}

.product-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-img-potinho img {
    object-position: center 52%;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-white);
    position: relative;
    z-index: 2;
}

.product-info h3 {
    width: 100%;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    text-align: center;
}

.product-info p {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: #777;
    font-size: 0.95rem;
    text-align: center;
    transition: color 0.3s ease;
}

.product-info i {
    transition: transform 0.3s var(--ease-soft);
}

.product-card:hover .product-info p {
    color: var(--primary-color);
}

.product-card:hover .product-info i {
    transform: translateX(6px);
}

.menu-panel {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    scroll-margin-top: 96px;
}

.menu-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.menu-eyebrow {
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
}

.menu-panel h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.menu-panel-header p:last-child {
    color: #666;
    line-height: 1.6;
}

.menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.menu-close:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: rotate(90deg);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.menu-item {
    overflow: hidden;
    border: 1px solid rgba(140, 91, 63, 0.12);
    border-radius: 14px;
    background: var(--bg-light);
}

.menu-item-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #ead0b5;
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
}

.menu-img-zoom-sm {
    transform: scale(1.08);
}

.menu-img-zoom-md {
    transform: scale(1.16);
}

.menu-img-zoom-lg {
    transform: scale(1.24);
}

.menu-img-focus-top {
    object-position: center top;
}

.menu-img-focus-center {
    object-position: center center;
}

.menu-img-focus-bottom {
    object-position: center bottom;
}

.menu-img-focus-grape {
    object-position: center center;
    transform: scale(1.24);
}

.menu-img-hide-star {
    object-position: center 43%;
    transform: scale(1.14);
}

.menu-item-info {
    padding: 1rem;
}

.menu-item-info h4 {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.menu-item-info p {
    color: #666;
    line-height: 1.55;
    font-size: 0.92rem;
}

.menu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.menu-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    color: #fff;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.menu-action-whatsapp {
    background: #25D366;
}

.menu-action-ifood {
    background: #ea1d2c;
}

.menu-action-99food {
    background: #ffcc00;
    color: #000;
}

/* =========================================
   HISTORY SECTION
   ========================================= */
.history-section {
    padding: 6rem 5%;
    background-color: var(--secondary-color);
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.history-image {
    flex: 1;
    position: relative;
}

.history-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.history-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.history-content {
    flex: 1;
}

.history-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.link-action {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-action i {
    transition: transform 0.3s ease;
}

.link-action:hover {
    color: var(--accent-color);
}

.link-action:hover i {
    transform: translateX(5px);
}

/* =========================================
   CLUBE SECTION
   ========================================= */
.club-section {
    position: relative;
    padding: 6rem 5%;
    text-align: left;
    color: var(--text-color);
    background: linear-gradient(135deg, #fffaf5 0%, #f5eadf 100%);
    overflow: hidden;
}

.club-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/potinho-uva.jpeg') center/cover;
    opacity: 0.08;
}

.club-shell {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 2rem;
    align-items: start;
}

.club-content {
    max-width: 720px;
}

.club-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    font-size: 1.85rem;
    margin-bottom: 1.2rem;
}

.club-kicker {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.club-content h2 {
    color: var(--accent-color);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.club-desc {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #5f5550;
}

.club-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 2rem;
}

.club-step,
.club-panel,
.club-reward {
    border: 1px solid rgba(140, 91, 63, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(48, 33, 28, 0.08);
}

.club-step {
    border-radius: 14px;
    padding: 1rem;
}

.club-step i {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.club-step strong,
.club-step span {
    display: block;
}

.club-step strong {
    color: var(--accent-color);
    margin-bottom: 0.35rem;
}

.club-step span {
    color: #665c57;
    font-size: 0.92rem;
    line-height: 1.45;
}

.club-panel {
    border-radius: 18px;
    padding: 1.75rem;
}

.club-panel h3,
.club-reward h3 {
    color: var(--accent-color);
}

.club-panel h3 {
    font-size: 1.75rem;
    margin-bottom: 0.35rem;
}

.club-panel > p {
    color: #665c57;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.club-form {
    display: grid;
    gap: 0.9rem;
}

.club-form label {
    display: grid;
    gap: 0.4rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.92rem;
}

.club-form input,
.club-message-preview {
    width: 100%;
    border: 1px solid rgba(140, 91, 63, 0.18);
    border-radius: 12px;
    background: #fff;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
}

.club-form input {
    padding: 0.85rem 1rem;
}

.club-form input:focus,
.club-message-preview:focus {
    outline: 2px solid rgba(199, 139, 91, 0.32);
    border-color: var(--primary-color);
}

.club-proof-note,
.club-form-status {
    color: #665c57;
    line-height: 1.55;
}

.club-proof-note {
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.club-form .btn-secondary {
    width: 100%;
    margin-top: 0.25rem;
}

.club-form-status {
    min-height: 1.4rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.club-message-preview {
    min-height: 120px;
    padding: 0.85rem 1rem;
    resize: vertical;
}

.club-rewards {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.club-reward {
    border-radius: 16px;
    padding: 1.3rem;
}

.club-reward span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.club-reward h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.club-reward p {
    color: #665c57;
    line-height: 1.5;
}

.club-reward-featured {
    border-color: rgba(199, 139, 91, 0.42);
    transform: translateY(-6px);
}

@media (max-width: 900px) {
    .club-shell,
    .club-rewards {
        grid-template-columns: 1fr;
    }

    .club-steps {
        grid-template-columns: 1fr;
    }

    .club-reward-featured {
        transform: none;
    }
}

.btn-secondary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================
   INSTAGRAM SECTION
   ========================================= */
.instagram-section {
    padding: 6rem 5%;
    background: var(--bg-white);
}

.sub-heading {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-instagram {
    display: inline-block;
    margin-top: 1rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.btn-instagram:hover {
    transform: scale(1.05);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 3rem;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: linear-gradient(180deg, #fffaf5 0%, #f4e8dc 100%);
    color: var(--text-dark);
    padding: 4rem 5% 1rem;
    border-top: 1px solid rgba(140, 91, 63, 0.12);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin: 1rem 0;
    color: #665c57;
}

.footer-logo-img {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    opacity: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(140, 91, 63, 0.1);
    color: var(--accent-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links a {
    display: block;
    color: #665c57;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: #665c57;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(140, 91, 63, 0.14);
    color: #8a7d75;
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS & RESPONSIVENESS
   ========================================= */
@keyframes slowZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* AOS Utilities */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.1, 0.5, 0.1, 1);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="slide-right"] {
    transform: translateX(-50px);
}

[data-aos="slide-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in-up"] {
    transform: scale(0.9) translateY(40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .history-container {
        flex-direction: column;
        gap: 3rem;
    }

    .history-image::before {
        display: none;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .nav-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .btn-buy {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title h2,
    .section-title-left {
        font-size: 2rem;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-panel {
        padding: 1.25rem;
    }

    .menu-panel h3 {
        font-size: 1.7rem;
    }

    .menu-actions {
        flex-direction: column;
    }

    .menu-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 280px;
    }
}
/* Production polish */
.btn-ifood {
    background: #ea1d2c;
}

.btn-99food {
    background: #ffcc00;
    color: #000;
}

.mobile-ifood {
    color: #ea1d2c;
}

.mobile-99food {
    color: #e5b800;
}

.hero-bg {
    background-image: url('assets/potinho-oreo.jpeg');
}

.hero-actions {
    margin-top: 15px;
}

.hero-marketplace-actions {
    display: none;
}

.marketplace-mobile-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.96rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.marketplace-ifood {
    background: #ea1d2c;
    color: #ffffff;
}

.marketplace-99food {
    background: #ffcc00;
    color: #000000;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
}

.product-img-classicos {
    background-image: url('assets/potinho-oreo.jpeg');
}

.product-img-potinho {
    background-image: url('assets/bolo-morango.jpeg');
    background-position: center 52%;
}

.product-img-travessas {
    background-image: url('assets/travessa-morango.jpeg');
}

.footer-whatsapp {
    color: #25D366;
    text-decoration: none;
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
}

@media (max-width: 768px) {
    .nav-actions .btn-buy {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-actions .btn-buy {
        display: none !important;
    }
}

/* =========================================
   MOBILE-FIRST POLISH
   ========================================= */
@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes itemRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softPulse {
    0%,
    100% {
        box-shadow: 0 10px 26px rgba(37, 211, 102, 0.3);
    }

    50% {
        box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
    }
}

.btn-secondary,
.menu-action,
.btn-instagram {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.menu-panel.is-open {
    animation: panelReveal 0.55s var(--ease-soft) both;
}

.menu-panel.is-open .menu-item {
    animation: itemRise 0.5s var(--ease-soft) forwards;
    animation-delay: calc(var(--item-index, 0) * 80ms + 100ms);
}

.menu-item {
    transition: transform 0.35s var(--ease-soft), box-shadow 0.35s ease, border-color 0.35s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    border-color: rgba(140, 91, 63, 0.28);
    box-shadow: 0 16px 34px rgba(48, 33, 28, 0.1);
}

.menu-item img {
    transition: transform 0.55s var(--ease-soft), filter 0.35s ease;
}

.menu-item:hover img {
    filter: saturate(1.05) contrast(1.03);
}

.history-image img,
.club-step,
.club-panel,
.club-reward,
.insta-item {
    transition: transform 0.35s var(--ease-soft), box-shadow 0.35s ease;
}

.history-image:hover img,
.club-step:hover,
.club-panel:hover,
.club-reward:hover,
.insta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(48, 33, 28, 0.13);
}

.club-icon {
    animation: bounce 3.8s ease-in-out infinite;
}

.floating-whatsapp {
    animation: softPulse 2.8s ease-in-out infinite;
}

@media (max-width: 768px) {
    body {
        background: #fffaf5;
    }

    body::before {
        height: 4px;
    }

    .navbar {
        padding: 0.7rem 1rem;
        background: rgba(255, 250, 245, 0.96);
        background-image: linear-gradient(rgba(255, 250, 245, 0.96), rgba(255, 250, 245, 0.96));
        box-shadow: 0 10px 28px rgba(48, 33, 28, 0.08);
        backdrop-filter: blur(12px);
    }

    .navbar.scrolled {
        padding: 0.65rem 1rem;
    }

    .nav-container {
        gap: 0.75rem;
    }

    .logo-img {
        width: clamp(132px, 44vw, 176px);
    }

    .mobile-menu-btn {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f4e8dc;
        color: var(--accent-color);
        transition: transform 0.25s var(--ease-soft), background 0.25s ease;
    }

    .mobile-menu-btn:active {
        transform: scale(0.94);
    }

    .mobile-menu {
        position: fixed;
        top: 68px;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-height: calc(100svh - 88px);
        overflow-y: auto;
        display: flex;
        border: 1px solid rgba(140, 91, 63, 0.12);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        background-image: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98));
        box-shadow: 0 18px 45px rgba(48, 33, 28, 0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px) scale(0.98);
        transition: opacity 0.28s ease, transform 0.28s var(--ease-soft), visibility 0.28s ease;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mobile-link {
        min-height: 52px;
        padding: 0.95rem 1.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(140, 91, 63, 0.1);
        font-size: 1rem;
    }

    .mobile-link:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: 100svh;
        height: auto;
        padding: 7rem 1rem 5rem;
        align-items: center;
    }

    .hero-bg {
        background-position: center 42%;
        transform: scale(1.02);
        animation-duration: 26s;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(34, 22, 18, 0.62), rgba(34, 22, 18, 0.28));
    }

    .hero-content {
        width: min(100%, 430px);
        padding: 0;
    }

    .hero .subtitle {
        font-size: 0.82rem;
        letter-spacing: 0.14em;
        margin-bottom: 0.75rem;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.2rem);
        line-height: 1.04;
        margin-bottom: 1.3rem;
    }

    .btn-primary,
    .btn-secondary,
    .menu-action,
    .btn-instagram {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
    }

    .hero-content > .btn-primary,
    .hero-actions .btn-primary {
        width: 100%;
        padding: 0.95rem 1.25rem;
        font-size: 0.98rem;
        background-image: linear-gradient(#ffffff, #ffffff);
    }

    .hero-marketplace-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 0.75rem;
        width: 100%;
    }

    .scroll-indicator {
        bottom: 18px;
        font-size: 0.78rem;
    }

    .products-section,
    .history-section,
    .club-section,
    .instagram-section {
        padding: 4.2rem 1rem;
    }

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

    .section-title h2,
    .section-title-left {
        font-size: clamp(2rem, 9vw, 2.45rem);
    }

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

    .product-card {
        border-radius: 18px;
    }

    .product-img {
        height: auto;
        aspect-ratio: 1.18 / 1;
    }

    .product-info {
        padding: 1.35rem 1rem 1.45rem;
        align-items: center;
        text-align: center;
    }

    .product-info h3 {
        width: 100%;
        font-size: 1.65rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .product-info p {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        text-align: center;
    }

    .menu-panel {
        margin: 2rem -0.2rem 0;
        padding: 1.1rem;
        border-radius: 18px;
        scroll-margin-top: 86px;
    }

    .menu-panel-header {
        gap: 0.9rem;
    }

    .menu-panel h3 {
        font-size: 1.75rem;
    }

    .menu-panel-header p:last-child {
        font-size: 0.94rem;
    }

    .menu-close {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }

    .menu-item {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 120px;
    }

    .menu-item-image {
        aspect-ratio: auto;
        min-height: 120px;
        height: 100%;
    }

    .menu-item-info {
        padding: 0.85rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .menu-item-info h4 {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .menu-item-info p {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .menu-actions {
        position: static;
        z-index: 5;
        padding-top: 0.85rem;
        background: transparent;
    }

    .history-container {
        gap: 2rem;
    }

    .history-image img {
        border-radius: 18px;
    }

    .history-content p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .club-shell {
        gap: 1.2rem;
    }

    .club-icon {
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
        margin-bottom: 0.9rem;
    }

    .club-kicker {
        font-size: 0.78rem;
    }

    .club-content h2 {
        font-size: clamp(2.1rem, 10vw, 2.7rem);
    }

    .club-desc {
        font-size: 0.98rem;
    }

    .club-step,
    .club-panel,
    .club-reward {
        border-radius: 16px;
    }

    .club-panel {
        padding: 1.15rem;
    }

    .club-form input {
        min-height: 48px;
        font-size: 16px;
    }

    .club-form .btn-secondary {
        padding: 0.95rem 1rem;
        font-size: 1rem;
    }

    .club-rewards {
        margin-top: 1.2rem;
        gap: 0.85rem;
    }

    .club-reward {
        padding: 1rem;
    }

    .club-reward span {
        width: 42px;
        height: 42px;
        margin-bottom: 0.65rem;
    }

    .insta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .insta-item {
        border-radius: 12px;
    }

    footer {
        padding: 3rem 1rem 5.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-logo-img {
        width: 220px;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 0.98rem;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
        font-size: 28px;
        box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
    }
}

@media (max-width: 390px) {
    .logo-img {
        width: 126px;
    }

    .hero h1 {
        font-size: 2.18rem;
    }

    .menu-item {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .menu-item-info {
        padding: 0.75rem;
    }

    .menu-item-info p {
        font-size: 0.78rem;
    }
}

/* Mobile stability: show content immediately and keep the page lighter. */
.navbar,
.hero-bg,
.fade-bounce,
.club-icon,
.floating-whatsapp,
.menu-panel.is-open,
.menu-panel.is-open .menu-item,
.hero-content.aos-animate .subtitle,
.hero-content.aos-animate h1,
.hero-content.aos-animate > .btn-primary,
.hero-content.aos-animate .hero-actions,
.hero-content.aos-animate .hero-actions .btn-primary,
.hero-content .subtitle,
.hero-content h1,
.hero-content > .btn-primary,
.hero-content .hero-actions,
.hero-content .hero-actions .btn-primary {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

[data-aos],
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: only light !important;
        --text-dark: #3a2c27;
        --text-color: #3a2c27;
        --text-light: #ffffff;
        --bg-light: #faf7f2;
        --bg-white: #ffffff;
    }

    html,
    body {
        color-scheme: only light !important;
        background: #fffaf5 !important;
        color: var(--text-dark) !important;
    }

    *,
    *::before,
    *::after {
        color-scheme: only light !important;
    }

    .navbar,
    .navbar.scrolled {
        background: rgba(255, 250, 245, 0.96) !important;
        background-image: linear-gradient(rgba(255, 250, 245, 0.96), rgba(255, 250, 245, 0.96)) !important;
        color: var(--text-dark) !important;
    }

    .logo-img,
    .footer-logo-img,
    img {
        filter: none !important;
        opacity: 1 !important;
        mix-blend-mode: normal !important;
    }

    .nav-links a,
    .navbar.scrolled .nav-links a,
    .mobile-menu-btn,
    .navbar.scrolled .mobile-menu-btn {
        color: var(--accent-color) !important;
    }

    .mobile-menu,
    .product-card,
    .menu-panel,
    .club-panel,
    .club-step,
    .club-reward,
    .product-info,
    .menu-item,
    .club-form input,
    .club-message-preview {
        background-color: #ffffff !important;
        background-image: linear-gradient(#ffffff, #ffffff) !important;
        color: var(--text-dark) !important;
    }

    .products-section,
    .instagram-section {
        background: #ffffff !important;
        color: var(--text-dark) !important;
    }

    .history-section,
    .club-section {
        background: #f5eedf !important;
        color: var(--text-dark) !important;
    }

    footer {
        background: linear-gradient(180deg, #fffaf5 0%, #f4e8dc 100%) !important;
        color: var(--text-dark) !important;
    }

    .btn-primary {
        background: #ffffff !important;
        background-image: linear-gradient(#ffffff, #ffffff) !important;
        color: var(--accent-color) !important;
        border-color: transparent !important;
    }

    .btn-primary:hover {
        background: var(--primary-color) !important;
        color: #ffffff !important;
    }

    .btn-whatsapp,
    .menu-action-whatsapp,
    .floating-whatsapp {
        background: #25D366 !important;
        color: #ffffff !important;
    }

    .btn-ifood,
    .menu-action-ifood,
    .marketplace-ifood {
        background: #ea1d2c !important;
        background-image: linear-gradient(#ea1d2c, #ea1d2c) !important;
        color: #ffffff !important;
    }

    .btn-99food,
    .menu-action-99food,
    .marketplace-99food {
        background: #ffcc00 !important;
        background-image: linear-gradient(#ffcc00, #ffcc00) !important;
        color: #000000 !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
    }

    .hero h1,
    .scroll-indicator,
    .hero .subtitle {
        filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
