/* =========================================================
   HOME.CSS — Página Inicial Elena Store
   ========================================================= */

/* ── HERO BANNER ──────────────────────────────────────── */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4/5;
}

@media (min-width: 768px) {
    .hero-slider {
        aspect-ratio: 21/9;
    }
}

.hero-slides {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.12) 0%,
        rgba(0,0,0,0.45) 60%,
        rgba(0,0,0,0.72) 100%
    );
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 48px;
    color: #fff;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 60px 80px 72px;
        max-width: 680px;
    }
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 14px;
    display: block;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 8vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.82rem, 2vw, 1rem);
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 34px;
    max-width: 420px;
}

.hero-btn {
    display: inline-block;
    background: #fff;
    color: #1c1c1c;
    text-decoration: none;
    padding: 15px 36px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}

.hero-btn:hover {
    background: #1c1c1c;
    color: #fff;
    transform: translateY(-2px);
}

/* Slider controls */
.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 767px) {
    .hero-arrows { display: none; }
}

.hero-arrow {
    pointer-events: all;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.08);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    right: 28px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-dots { bottom: 28px; right: 80px; }
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    border: none;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.4);
}

/* ── FEATURED COLLECTION SECTION ─────────────────────── */
.home-section {
    padding: 70px 20px 80px;
    background: var(--bg-page);
}

@media (min-width: 768px) {
    .home-section { padding: 90px 40px 100px; }
}

@media (min-width: 1200px) {
    .home-section { padding: 100px 80px 110px; }
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-gray);
    display: block;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto;
}

.home-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 1500px;
    margin: 0 auto 52px;
}

@media (min-width: 768px) {
    .home-product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
    }
}

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

.btn-ver-mais {
    display: inline-block;
    text-decoration: none;
    border: 1.5px solid #1c1c1c;
    color: #1c1c1c;
    background: transparent;
    padding: 15px 48px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn-ver-mais:hover {
    background: #1c1c1c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* ── REVIEWS SECTION ──────────────────────────────────── */
.reviews-section {
    background: #fff;
    padding: 72px 0 80px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.stars-row {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 14px;
    font-size: 1rem;
    color: #e8a020;
    letter-spacing: 3px;
}

/* scroll-snap track — works natively on mobile */
.reviews-track-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 20px 20px;
    display: flex;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
}
.reviews-track-wrapper::-webkit-scrollbar { display: none; }

.review-card {
    scroll-snap-align: start;
    flex: 0 0 calc(85vw);
    max-width: 340px;
    background: #f9f7f4;
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

@media (min-width: 640px) {
    .review-card { flex: 0 0 300px; }
}

@media (min-width: 1100px) {
    .review-card { flex: 0 0 340px; }
    .reviews-track-wrapper { padding: 4px 40px 20px; }
}

.review-stars {
    color: #e8a020;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.review-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.65;
    color: #1c1c1c;
    font-style: italic;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #ece8e3;
}

.review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0dbd4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    flex-shrink: 0;
}

.review-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1c1c1c;
    display: block;
}

.review-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #bbb;
    display: block;
    margin-top: 2px;
}

/* hint de scroll */
.reviews-scroll-hint {
    text-align: center;
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
}
