/* ============================================
   FLORICULTURA ROSA DE SARON - Catálogo Digital Premium
   v2.0 - Revisão completa de design e UX
   Identidade: delicada, romântica, acolhedora, profissional
   ============================================ */

/* === CUSTOM PROPERTIES === */
:root {
    --color-primary: #E8B4B8;
    --color-primary-dark: #C9898F;
    --color-primary-light: #F5D6D9;
    --color-primary-lighter: #FBF0F1;
    --color-secondary: #6B8E5A;
    --color-secondary-dark: #4F7040;
    --color-secondary-light: #8BAF7A;
    --color-accent: #D4AF37;
    --color-accent-light: #E8CC6E;
    --color-bg: #FAF7F2;
    --color-bg-alt: #FFFFFF;
    --color-bg-warm: #FDF9F5;
    --color-text: #2D2D2D;
    --color-text-light: #5A5A5A;
    --color-text-muted: #8E8E8E;
    --color-border: #EDE9E4;
    --color-border-light: #F5F2ED;
    
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
    
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 50%;
    
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.03);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
    --shadow-card: 0 2px 12px rgba(0,0,0,0.04), 0 0 1px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 12px 36px rgba(0,0,0,0.1), 0 0 1px rgba(0,0,0,0.06);
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --container-max: 1180px;
    --header-height: 72px;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-secondary);
    outline-offset: 3px;
    border-radius: 4px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

/* === SKIP LINK (Acessibilidade) === */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 10000;
    font-size: 0.85rem;
    font-weight: 500;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

/* === UTILITIES === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    padding: 6px 16px;
    background: rgba(107, 142, 90, 0.07);
    border-radius: 20px;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-header__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(107, 142, 90, 0.25);
}

.btn--primary:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 142, 90, 0.35);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(107, 142, 90, 0.3);
}

.btn--outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.05);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.btn--sm {
    font-size: 0.78rem;
    padding: 8px 18px;
    border-radius: var(--radius-md);
}

.btn--small {
    font-size: 0.78rem;
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.btn--lg {
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: var(--radius-2xl);
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.header__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.header__logo-icon {
    width: 34px;
    height: 34px;
}

.header__logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.header.scrolled .header__logo-text {
    color: var(--color-text);
}

.header:not(.scrolled) .header__logo-text {
    color: #fff;
}

.header:not(.scrolled) .header__logo-icon path[fill] {
    fill: #fff;
}

.header:not(.scrolled) .header__logo-icon path[stroke] {
    stroke: #fff;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__nav-link {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
}

.header:not(.scrolled) .header__nav-link {
    color: rgba(255,255,255,0.9);
}

.header.scrolled .header__nav-link {
    color: var(--color-text-light);
}

.header__nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__nav-link:hover {
    color: var(--color-text) !important;
}

.header.scrolled .header__nav-link:hover {
    color: var(--color-text) !important;
}

.header__cta {
    background: var(--color-secondary);
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(107, 142, 90, 0.25);
    font-size: 0.78rem;
    padding: 8px 18px;
    border-radius: var(--radius-md);
}

.header__cta:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(107, 142, 90, 0.35);
}

/* === MENU TOGGLE (Mobile) === */
.header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
    width: 44px;
    height: 44px;
}

.header__menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
    border-radius: 2px;
    transform-origin: center;
}

.header:not(.scrolled) .header__menu-toggle span {
    background: #fff;
}

.header__menu-toggle.active span {
    background: var(--color-text) !important;
}

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

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

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

/* === HERO === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg, 
        rgba(35, 35, 35, 0.6) 0%, 
        rgba(45, 60, 40, 0.3) 50%,
        rgba(200, 150, 155, 0.15) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 var(--space-lg);
    max-width: 680px;
}

.hero__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-lg);
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    backdrop-filter: blur(6px);
    background: rgba(255,255,255,0.06);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 30px rgba(0,0,0,0.15);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(0.92rem, 1.8vw, 1.1rem);
    font-weight: 300;
    color: rgba(255,255,255,0.82);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

/* === CATEGORIES / CATALOGO === */
.categories {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.categories__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.categories__btn {
    font-size: 0.82rem;
    font-weight: 400;
    padding: 9px 20px;
    border-radius: 30px;
    color: var(--color-text-light);
    background: transparent;
    border: 1.5px solid var(--color-border);
    transition: all var(--transition-base);
}

.categories__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: var(--color-primary-lighter);
}

.categories__btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232, 180, 184, 0.3);
    font-weight: 500;
}

/* === PRODUCT GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    border: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.product-card.hidden {
    display: none;
}

.product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/4;
    flex-shrink: 0;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__image img {
    transform: scale(1.06);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 11px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
}

.product-card__content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--color-text);
    line-height: 1.3;
}

.product-card__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    flex-grow: 1;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.product-card__price {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: -0.01em;
}

.product-card__footer .btn--primary {
    font-size: 0.75rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

/* === ABOUT === */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about__image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 55%;
    height: 55%;
    border: 2px solid var(--color-primary-light);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about__content {
    padding: var(--space-md) 0;
}

.about__content .section-header__tag {
    margin-bottom: var(--space-md);
}

.about__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.about__text {
    font-size: 0.92rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    line-height: 1.75;
}

.about__text strong {
    color: var(--color-secondary);
    font-weight: 600;
}

.about__stats {
    display: flex;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.about__stat-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 400;
}

/* === TESTIMONIALS === */
.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-warm);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-bg-alt);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-card__stars {
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--color-primary-lighter);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.testimonial-card__author strong {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text);
    font-weight: 500;
}

.testimonial-card__author span {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

/* === LOCATION === */
.location {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-alt);
}

.location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.location__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.location__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.location__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.location__item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-secondary);
}

.location__item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--color-text);
}

.location__item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.location__delivery {
    padding: 18px 20px;
    background: rgba(107, 142, 90, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-secondary);
}

.location__delivery h4 {
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--color-text);
    font-weight: 500;
}

.location__delivery p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.location__map {
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

/* === FOOTER === */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: #262626;
    color: rgba(255,255,255,0.7);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer__desc {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 300px;
    color: rgba(255,255,255,0.55);
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer__social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer__social-link svg {
    fill: rgba(255,255,255,0.75);
    width: 18px;
    height: 18px;
}

.footer__social-link:hover svg {
    fill: #fff;
}

.footer__links h4 {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.footer__links a {
    display: block;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
    padding: 5px 0;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary-light);
    transform: translateX(3px);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    z-index: 999;
    transition: all var(--transition-base);
}

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

.whatsapp-float svg {
    fill: #fff;
    width: 26px;
    height: 26px;
}

.whatsapp-float__pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: #25D366;
    animation: pulse 2.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE - TABLET === */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about__image img {
        height: 340px;
    }
    
    .about__image-accent {
        display: none;
    }
    
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location__grid {
        grid-template-columns: 1fr;
    }
    
    .location__map {
        height: 300px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
    
    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* === RESPONSIVE - MOBILE === */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --space-3xl: 72px;
        --space-2xl: 48px;
    }
    
    /* Menu Mobile Fullscreen */
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 247, 242, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.98);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    
    .header__nav.open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    
    .header__nav-link {
        font-size: 1.3rem;
        font-family: var(--font-display);
        font-weight: 400;
        color: var(--color-text) !important;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, color var(--transition-fast);
    }
    
    .header__nav.open .header__nav-link {
        opacity: 1;
        transform: translateY(0);
    }
    
    .header__nav.open .header__nav-link:nth-child(1) { transition-delay: 0.05s; }
    .header__nav.open .header__nav-link:nth-child(2) { transition-delay: 0.1s; }
    .header__nav.open .header__nav-link:nth-child(3) { transition-delay: 0.15s; }
    .header__nav.open .header__nav-link:nth-child(4) { transition-delay: 0.2s; }
    
    .header__cta {
        display: none;
    }
    
    .header__menu-toggle {
        display: flex;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 520px;
        max-height: 700px;
    }
    
    .hero__title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero__actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero__scroll-indicator {
        display: none;
    }
    
    /* Categories Mobile */
    .categories__nav {
        gap: 6px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .categories__nav::-webkit-scrollbar {
        display: none;
    }
    
    .categories__btn {
        font-size: 0.78rem;
        padding: 8px 16px;
        flex-shrink: 0;
    }
    
    /* Product Cards Mobile - COMPACTOS */
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .product-card__image {
        aspect-ratio: 1/1;
    }
    
    .product-card__content {
        padding: 12px 14px 14px;
    }
    
    .product-card__name {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .product-card__desc {
        font-size: 0.72rem;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-card__price {
        font-size: 0.98rem;
    }
    
    .product-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .product-card__footer .btn--primary {
        width: 100%;
        text-align: center;
        font-size: 0.72rem;
        padding: 7px 12px;
    }
    
    .product-card__badge {
        font-size: 0.58rem;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
    }
    
    /* About Mobile */
    .about__image img {
        height: 280px;
    }
    
    .about__stats {
        gap: var(--space-md);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about__stat-number {
        font-size: 1.8rem;
    }
    
    .about__stat-label {
        font-size: 0.65rem;
    }
    
    /* Testimonials Mobile */
    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .testimonial-card {
        padding: 22px;
    }
    
    /* Location Mobile */
    .location__map {
        height: 240px;
    }
    
    /* Footer Mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    /* WhatsApp Mobile */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    .section-header {
        margin-bottom: var(--space-xl);
    }
}

/* === RESPONSIVE - SMALL MOBILE (< 400px) === */
@media (max-width: 400px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .product-card__image {
        aspect-ratio: 4/3;
    }
    
    .product-card__footer {
        flex-direction: row;
        align-items: center;
    }
    
    .product-card__footer .btn--primary {
        width: auto;
    }
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero__scroll-indicator {
        animation: none;
    }
    
    .whatsapp-float__pulse {
        animation: none;
        display: none;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === PRINT === */
@media print {
    .header, .whatsapp-float, .hero__scroll-indicator {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
