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

:root {
    --wine: #722f37;
    --wine-light: #9b4a54;
    --wine-pale: #f5ebec;
    --cream: #fafaf8;
    --cream-warm: #f4f0ec;
    --text: #2a2020;
    --text-mid: #6b5555;
    --text-light: #a89090;
    --white: #ffffff;

    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Jost", system-ui, sans-serif;

    --nav-h: 72px;
    --section-gap: 100px;
    --radius: 2px;

    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* ─── SCROLLBAR ────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--wine-light);
    border-radius: 10px;
}

/* ─── NAVIGATION ───────────────────────────────────────────────────── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition:
        background 0.4s var(--ease-smooth),
        box-shadow 0.4s var(--ease-smooth),
        backdrop-filter 0.4s;
}

#nav.scrolled {
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(114, 47, 55, 0.12);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--white);
    transition: color 0.4s;
}

#nav.scrolled .nav-logo {
    color: var(--wine);
}

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

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition:
        color 0.3s,
        opacity 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-smooth);
}

.nav-links a:hover {
    color: var(--white);
    opacity: 1;
}
.nav-links a:hover::after {
    width: 100%;
}

#nav.scrolled .nav-links a {
    color: var(--text-mid);
}
#nav.scrolled .nav-links a:hover {
    color: var(--wine);
}

/* Hamburger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition:
        background 0.4s,
        transform 0.3s,
        opacity 0.3s;
}

#nav.scrolled .nav-burger span {
    background: var(--wine);
}

.nav-burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
    opacity: 0;
}
.nav-burger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(16px);
    padding: 24px 40px 32px;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid rgba(114, 47, 55, 0.12);
    z-index: 99;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mid);
    padding: 8px 0;
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: var(--wine);
}

/* ─── SECTION: INÍCIO (HERO) ────────────────────────────────────────── */
#inicio {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Vídeo de fundo do hero */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating petals */
.petal {
    position: absolute;
    border-radius: 50% 50% 50% 0;
    opacity: 0.08;
    animation: floatPetal linear infinite;
}

@keyframes floatPetal {
    from {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.08;
    }
    90% {
        opacity: 0.08;
    }
    to {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Subtle overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 18px;
    animation: fadeUp 1s var(--ease-smooth) 0.3s both;
}

.hero-name {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 9vw, 7.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    animation: fadeUp 1s var(--ease-smooth) 0.55s both;
}

.hero-name em {
    font-style: italic;
    font-weight: 300;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    font-style: italic;
    opacity: 0.75;
    letter-spacing: 0.04em;
    animation: fadeUp 1s var(--ease-smooth) 0.8s both;
}

.hero-cta {
    margin-top: 40px;
    animation: fadeUp 1s var(--ease-smooth) 1.05s both;
}

.hero-cta a {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 14px 36px;
    transition:
        background 0.3s,
        border-color 0.3s;
}

.hero-cta a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 1s var(--ease-smooth) 1.5s both;
    cursor: pointer;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── SECTION SHARED STYLES ─────────────────────────────────────────── */
.section {
    padding: var(--section-gap) 0;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--text);
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--wine);
    margin: 28px 0;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s var(--ease-smooth),
        transform 0.8s var(--ease-smooth);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}
.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ─── SECTION: SOBRE EU ─────────────────────────────────────────────── */
#sobre {
    background: var(--cream);
}

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

.sobre-image-wrap {
    position: relative;
}

.sobre-image-wrap::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--wine);
    opacity: 0.25;
    z-index: 0;
    transition: opacity 0.3s;
}

.sobre-grid--reverse .sobre-image-wrap::before {
    left: auto;
    right: -16px;
}

.sobre-image-wrap:hover::before {
    opacity: 0.5;
}

.sobre-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--wine-pale);
    overflow: hidden;
}

.sobre-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s var(--ease-smooth);
}

.sobre-image-wrap:hover .sobre-photo img {
    transform: scale(1.03);
}

.sobre-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--wine-light);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
}

.sobre-photo-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.sobre-text .section-title {
    margin-bottom: 0;
}

.sobre-body {
    margin-top: 28px;
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.85;
    font-weight: 300;
}

.sobre-body p + p {
    margin-top: 16px;
}

.sobre-stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(114, 47, 55, 0.12);
}

.stat-item {
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--wine);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 6px;
}

/* ─── SECTION: VAMOS CRIAR ──────────────────────────────────────────── */
#criar {
    background: var(--cream);
}

.criar-cta {
    margin-top: 40px;
}

.criar-cta a {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--wine);
    border: 1px solid var(--wine);
    padding: 14px 36px;
    transition:
        background 0.3s,
        color 0.3s;
}

.criar-cta a:hover {
    background: var(--wine);
    color: var(--white);
}

/* ─── SECTION: CONTEÚDO ─────────────────────────────────────────────── */
#conteudo {
    background: var(--cream-warm);
}

.conteudo-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
    gap: 24px;
    flex-wrap: wrap;
}

/* Reels category sections */
.reels-category-group + .reels-category-group {
    margin-top: 72px;
}

.reels-category-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 300;
    letter-spacing: 0.01em;
    color: var(--wine);
    margin-bottom: 32px;
}

/* Reels grid */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reel-card {
    position: relative;
    aspect-ratio: 9/16;
    background: #111;
    overflow: hidden;
    cursor: pointer;
    border-radius: 28px;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    isolation: isolate;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 20px 40px rgba(0, 0, 0, 0.16),
        0 40px 80px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.35s var(--ease-smooth),
        box-shadow 0.35s var(--ease-smooth);
}

.reel-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 12px 24px rgba(0, 0, 0, 0.14),
        0 30px 60px rgba(0, 0, 0, 0.2),
        0 60px 100px rgba(0, 0, 0, 0.12);
}

/* Placeholder background gradients */
.reel-card:nth-child(1) .reel-bg {
    background: linear-gradient(160deg, #8b3a45 0%, #3a1419 100%);
}
.reel-card:nth-child(2) .reel-bg {
    background: linear-gradient(160deg, #4a1f25 0%, #722f37 100%);
}
.reel-card:nth-child(3) .reel-bg {
    background: linear-gradient(160deg, #722f37 0%, #2a0f12 100%);
}
.reel-card:nth-child(4) .reel-bg {
    background: linear-gradient(160deg, #9b4a54 0%, #4a1f25 100%);
}
.reel-card:nth-child(5) .reel-bg {
    background: linear-gradient(160deg, #3a1419 0%, #8b3a45 100%);
}
.reel-card:nth-child(6) .reel-bg {
    background: linear-gradient(160deg, #5a2530 0%, #722f37 100%);
}

.reel-bg {
    position: absolute;
    inset: 0;
}

.reel-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(114, 47, 55, 0.3);
    transition: opacity 0.3s;
}

.reel-card:hover .reel-play {
    opacity: 1;
}

.reel-play svg {
    width: 52px;
    height: 52px;
    fill: var(--white);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.reel-placeholder-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.reel-placeholder-icon svg {
    width: 40px;
    height: 40px;
    fill: rgba(255, 255, 255, 0.15);
}

/* Vídeo real dentro do card */
.reel-video {
    position: absolute;
    inset: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #000;
}

.reel-thumb {
    position: absolute;
    inset: 0;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #000;
}

/* Progress bar */
.reel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.reel-card--video.playing .reel-progress {
    opacity: 1;
}

.reel-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--white);
    border-radius: 0 2px 2px 0;
    transition: width 0.25s linear;
}

/* Overlay de play sempre visível em cards com vídeo */
.reel-play--visible {
    opacity: 1;
    background: rgba(0, 0, 0, 0.25);
}

.reel-card:hover .reel-play--visible {
    background: transparent;
}

/* Botão de som */
.reel-sound {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s;
    padding: 0;
}

.reel-sound:hover {
    background: rgba(0, 0, 0, 0.7);
}

.reel-sound svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.reel-sound .reel-sound-on {
    display: none;
}

.reel-sound.unmuted .reel-sound-muted {
    display: none;
}

.reel-sound.unmuted .reel-sound-on {
    display: block;
}

/* Quando está tocando, esconde o overlay de play */
.reel-card--video.playing .reel-play {
    opacity: 0;
}

/* Ícone de pause aparece ao hover durante reprodução */
.reel-card--video.playing:hover .reel-play {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.reel-card--video.playing:hover .reel-play svg path {
    /* Ícone de pause */
    d: path("M6 19h4V5H6v14zm8-14v14h4V5h-4z");
}

/* ─── SECTION: CONTA ────────────────────────────────────────────────── */
#conta {
    background: var(--cream);
}

.conta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.conta-socials h3,
.conta-contact h3 {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 28px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
    transition: transform 0.25s var(--ease-smooth);
    cursor: pointer;
}

.social-card:first-of-type {
    border-top: 1px solid rgba(114, 47, 55, 0.08);
}

.social-card:hover {
    transform: translateX(6px);
}

.social-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(114, 47, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.25s,
        border-color 0.25s;
}

.social-card:hover .social-icon {
    background: var(--wine);
    border-color: var(--wine);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--wine);
    transition: fill 0.25s;
}
.social-card:hover .social-icon svg {
    fill: var(--white);
}

.social-meta {
}
.social-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
}
.social-handle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
    letter-spacing: 0.04em;
}

.social-arrow {
    margin-left: auto;
    color: var(--wine);
    opacity: 0;
    transition: opacity 0.25s;
}
.social-card:hover .social-arrow {
    opacity: 1;
}
.social-arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--wine);
}

/* Contatoct */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
}

.contact-item:first-of-type {
    border-top: 1px solid rgba(114, 47, 55, 0.08);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--wine-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--wine);
}

.contact-meta {
}
.contact-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}
.contact-value {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text);
}
.contact-value a {
    color: var(--wine);
    transition: opacity 0.2s;
}
.contact-value a:hover {
    opacity: 0.75;
}

.contact-note {
    margin-top: 32px;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.7;
    padding: 20px;
    border-left: 2px solid var(--wine-pale);
}

/* ─── FOOTER ────────────────────────────────────────────────────────── */
footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.4);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.footer-flower {
    opacity: 0.2;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    :root {
        --section-gap: 72px;
    }

    .nav-links {
        display: none;
    }
    .nav-burger {
        display: flex;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .sobre-image-wrap {
        max-width: 380px;
        margin: 0 auto;
    }

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

    .conta-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 600px) {
    :root {
        --section-gap: 60px;
    }

    #nav {
        padding: 0 20px;
    }
    .section-inner {
        padding: 0 20px;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .sobre-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

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

    .reels-category-group {
        max-width: 300px;
        margin: 0 auto;
    }

    .reels-category-group + .reels-category-group {
        margin-top: 56px;
    }

    .conteudo-header {
        flex-direction: column;
        align-items: flex-start;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }
}
