/* ==========================================
   FERNANDA VASCONCELOS ACESSÓRIOS
   Link na Bio — Design System
   Paleta: Bordô/Marsala + Dourado
   ========================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Primary Colors - Bordô/Marsala */
    --marsala-900: #1A0509;
    --marsala-800: #2D0A10;
    --marsala-700: #3E0F18;
    --marsala-600: #4A0E1B;
    --marsala-500: #5C1425;
    --marsala-400: #7A1E33;
    --marsala-300: #9B2E48;

    /* Accent Colors - Dourado */
    --gold-100: #FFF4E6;
    --gold-200: #F5E1C8;
    --gold-300: #E8CAA3;
    --gold-400: #D4A96E;
    --gold-500: #C8956C;
    --gold-600: #B8864F;
    --gold-700: #A07240;
    --gold-800: #87603A;

    /* Neutrals */
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-08: rgba(255, 255, 255, 0.08);
    --white-05: rgba(255, 255, 255, 0.05);

    /* Gold translucent */
    --gold-glow: rgba(200, 149, 108, 0.3);
    --gold-glow-strong: rgba(200, 149, 108, 0.5);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.35s;
    --duration-slow: 0.5s;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(
        170deg,
        var(--marsala-900) 0%,
        var(--marsala-700) 25%,
        var(--marsala-600) 50%,
        var(--marsala-700) 75%,
        var(--marsala-900) 100%
    );
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Background Image (Desfocada & Visível) --- */
.bg-image {
    position: fixed;
    top: -24px;
    left: -24px;
    width: calc(100vw + 48px);
    height: calc(100vh + 48px);
    background: url('background.jpg') center center / cover no-repeat;
    filter: blur(8px) brightness(0.62) saturate(1.1);
    opacity: 0.52;
    pointer-events: none;
    z-index: 0;
    transform: scale(1.04);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200, 149, 108, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, rgba(20, 4, 8, 0.45) 0%, rgba(45, 10, 16, 0.2) 40%, rgba(20, 4, 8, 0.6) 100%);
    pointer-events: none;
    z-index: 0;
}

/* --- Floating Particles --- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold-400);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
    min-height: 100vh;
}

/* --- Hero / Header --- */
.hero {
    text-align: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-lg);
    animation: fadeInDown 0.8s var(--ease-smooth) both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--gold-500);
    box-shadow:
        0 0 20px rgba(200, 149, 108, 0.25),
        0 0 40px rgba(200, 149, 108, 0.1);
    position: relative;
    z-index: 2;
    transition: transform var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 30px rgba(200, 149, 108, 0.4),
        0 0 60px rgba(200, 149, 108, 0.15);
}

.logo-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gold-glow);
    animation: ringPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.2;
    }
}

.brand-name {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--gold-300);
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 149, 108, 0.2);
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gold-400);
    letter-spacing: 0.38em;
    margin-bottom: var(--space-md);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.divider::before,
.divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.divider-diamond {
    color: var(--gold-500);
    font-size: 0.5rem;
    animation: diamondSpin 6s linear infinite;
}

@keyframes diamondSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.brand-tagline {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 400;
    font-style: italic;
    color: var(--white-90);
    letter-spacing: 0.02em;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* --- Links Section --- */
.links-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.link-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(
        135deg,
        rgba(45, 10, 18, 0.72) 0%,
        rgba(22, 4, 9, 0.82) 100%
    );
    border: 1px solid rgba(200, 149, 108, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition:
        transform var(--duration-normal) var(--ease-bounce),
        background var(--duration-normal) var(--ease-smooth),
        border-color var(--duration-normal) var(--ease-smooth),
        box-shadow var(--duration-normal) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s var(--ease-smooth) both;
}

.link-btn:nth-child(1) { animation-delay: 0.2s; }
.link-btn:nth-child(2) { animation-delay: 0.35s; }
.link-btn:nth-child(3) { animation-delay: 0.5s; }

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

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(200, 149, 108, 0.15),
        transparent
    );
    transition: left 0.6s var(--ease-smooth);
}

.link-btn:hover::before {
    left: 100%;
}

.link-btn:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: var(--gold-400);
    background: linear-gradient(
        135deg,
        rgba(75, 18, 30, 0.85) 0%,
        rgba(40, 8, 16, 0.95) 100%
    );
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(200, 149, 108, 0.2);
}

.link-btn:active {
    transform: translateY(-1px) scale(0.99);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--gold-600), var(--gold-400));
    color: var(--marsala-800);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(200, 149, 108, 0.25);
    transition: transform var(--duration-normal) var(--ease-bounce),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.link-btn:hover .link-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(200, 149, 108, 0.35);
}

.link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.link-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-90);
    letter-spacing: 0.02em;
}

.link-sublabel {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--white-50);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-arrow {
    color: var(--gold-500);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-smooth);
    flex-shrink: 0;
}

.link-btn:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- VIP Highlight & Badge --- */
.link-btn-highlight {
    border-color: rgba(200, 149, 108, 0.4);
    background: linear-gradient(
        135deg,
        rgba(55, 12, 22, 0.82) 0%,
        rgba(26, 5, 11, 0.9) 100%
    );
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(200, 149, 108, 0.12);
}

.link-btn-highlight:hover {
    border-color: var(--gold-300);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(200, 149, 108, 0.28);
}

.vip-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 7px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--marsala-900);
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(200, 149, 108, 0.35);
    text-transform: uppercase;
}

/* --- Quote Section --- */
.quote-section {
    text-align: center;
    padding: var(--space-xl) 0;
    animation: fadeInUp 0.6s var(--ease-smooth) 0.65s both;
}

.quote-marks {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--gold-500);
    line-height: 1;
    opacity: 0.4;
    margin-bottom: -0.5rem;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-200);
    letter-spacing: 0.02em;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.quote-line {
    width: 40px;
    height: 1px;
    background: var(--gold-500);
    margin: var(--space-lg) auto 0;
    opacity: 0.5;
}

/* --- Map Section --- */
.map-section {
    margin-top: var(--space-lg);
    animation: fadeInUp 0.6s var(--ease-smooth) 0.8s both;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold-300);
    text-align: center;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.title-icon {
    font-size: 1rem;
}

.map-address {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--white-90);
    text-align: center;
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--white-15);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(200, 149, 108, 0.05);
    transition: box-shadow var(--duration-normal) var(--ease-smooth);
}

.map-container:hover {
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(200, 149, 108, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 280px;
    filter: contrast(1.05) saturate(0.8);
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    animation: fadeInUp 0.6s var(--ease-smooth) 0.95s both;
}

.footer-diamond {
    color: var(--gold-500);
    font-size: 0.5rem;
    opacity: 0.5;
    margin-bottom: var(--space-md);
}

.footer-text {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gold-400);
    letter-spacing: 0.03em;
    margin-bottom: var(--space-xs);
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--white-30);
    letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .container {
        padding: var(--space-lg) var(--space-md);
    }

    .brand-name {
        font-size: 1.85rem;
    }

    .brand-subtitle {
        font-size: 0.82rem;
        letter-spacing: 0.3em;
    }

    .brand-tagline {
        font-size: 1.12rem;
    }

    .link-btn {
        padding: 0.85rem var(--space-md);
    }

    .link-icon {
        width: 40px;
        height: 40px;
    }

    .link-label {
        font-size: 0.85rem;
    }

    .link-sublabel {
        font-size: 0.68rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .container {
        max-width: 440px;
    }
}

@media (min-width: 769px) {
    .container {
        padding-top: var(--space-3xl);
    }
}

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

    .particle {
        display: none;
    }
}
