* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fef6f9 0%, #fff0f5 50%, #ffe9f0 100%);
    color: #2d1b22;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.container, .hero, .biografia, .timeline, .legado-card, .citacao-legado {
    animation: fadeInUp 0.8s ease-out;
}

/* Header com gradiente e efeito */
header {
    background: linear-gradient(135deg, #9e3c5c 0%, #c24a6e 50%, #9e3c5c 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(158, 60, 92, 0.3);
}

header::before {
    content: "❤️";
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    bottom: -20px;
    right: -20px;
    transform: rotate(-10deg);
    pointer-events: none;
}

header::after {
    content: "🌸";
    position: absolute;
    font-size: 6rem;
    opacity: 0.1;
    top: -20px;
    left: -20px;
    transform: rotate(10deg);
    pointer-events: none;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    animation: slideIn 0.8s ease-out;
}

header p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Navegação moderna */
nav {
    background: rgba(115, 44, 70, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 1.8rem;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffcfdf;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

nav a:hover {
    color: #ffcfdf;
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Hero section com efeito glassmorphism */
.hero {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(158, 60, 92, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(158, 60, 92, 0.15);
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: #9e3c5c;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #4a353b;
    line-height: 1.8;
}

/* Biografia com design elegante */
.biografia {
    background: white;
    border-radius: 40px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(158, 60, 92, 0.1);
    transition: all 0.3s ease;
}

.biografia:hover {
    box-shadow: 0 20px 40px rgba(158, 60, 92, 0.1);
    transform: translateY(-3px);
}

.biografia h2 {
    font-family: 'Playfair Display', serif;
    color: #9e3c5c;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.biografia h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #9e3c5c, #ff9eb5);
    border-radius: 3px;
}

.biografia p {
    margin-bottom: 1.2rem;
    color: #4a353b;
    font-size: 1.05rem;
}

.citacao-destaque {
    font-style: italic;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff0f5, #ffe6ed);
    border-radius: 20px;
    color: #9e3c5c;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    border-left: 4px solid #9e3c5c;
}

/* Timeline com design vertical elegante */
.timeline {
    background: white;
    border-radius: 40px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin: 2rem 0;
    position: relative;
}

.timeline h2 {
    font-family: 'Playfair Display', serif;
    color: #9e3c5c;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    position: relative;
}

.timeline-item {
    border-left: 3px solid #9e3c5c;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item::before {
    content: "✨";
    position: absolute;
    left: -12px;
    top: 0;
    background: white;
    padding: 0 4px;
    font-size: 1.2rem;
}

.timeline-item h3 {
    color: #9e3c5c;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.timeline-item p {
    color: #4a353b;
    line-height: 1.7;
}

/* Cards de legado com efeito moderno */
.legado-card {
    background: white;
    border-radius: 30px;
    padding: 2rem;
    margin: 1.8rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(158, 60, 92, 0.1);
    position: relative;
    overflow: hidden;
}

.legado-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #9e3c5c, #ff9eb5, #9e3c5c);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.legado-card:hover::before {
    transform: scaleX(1);
}

.legado-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(158, 60, 92, 0.15);
}

.legado-card h3 {
    font-family: 'Playfair Display', serif;
    color: #9e3c5c;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 600;
}

.legado-card p {
    color: #4a353b;
    line-height: 1.7;
}

/* Citação especial */
.citacao-legado {
    background: linear-gradient(135deg, #ffeef3, #ffe6ed);
    padding: 2.5rem;
    border-radius: 40px;
    text-align: center;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.3rem;
    border-left: 8px solid #9e3c5c;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.citacao-legado:hover {
    transform: scale(1.02);
}

.citacao-legado br {
    margin-bottom: 0.5rem;
}

/* Mensagem final */
.mensagem-final {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #9e3c5c20, #ff9eb520);
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    color: #9e3c5c;
    animation: pulse 2s infinite;
}

/* Footer elegante */
footer {
    background: linear-gradient(135deg, #2d1b22, #3e2a2f);
    color: #f0d3dc;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "💜";
    position: absolute;
    font-size: 5rem;
    opacity: 0.05;
    bottom: -20px;
    left: -20px;
    transform: rotate(15deg);
}

footer::after {
    content: "🌹";
    position: absolute;
    font-size: 5rem;
    opacity: 0.05;
    top: -20px;
    right: -20px;
    transform: rotate(-15deg);
}

footer p {
    position: relative;
    z-index: 1;
    margin: 0.5rem 0;
}

/* Botões e interações */
button, .btn {
    background: linear-gradient(135deg, #9e3c5c, #c24a6e);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(158, 60, 92, 0.3);
}

button:hover, .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(158, 60, 92, 0.4);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ffe6ed;
}

::-webkit-scrollbar-thumb {
    background: #9e3c5c;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c24a6e;
}
