:root {
    /* Paleta de Cores */
    --cream: #F5F0E8;
    --sand: #E8E0D0;
    --soil: #6B5B45;
    --bark: #3D2E1E;
    --leaf: #4A6741;
    --stem: #8B9E6E;

    /* Tipografia */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

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

body {
    background-color: var(--cream);
    color: var(--bark);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Fundo Animado Canvas */
#flammer-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    background-color: var(--cream);
}

/* Textura Grain em SVG */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.7" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%" height="100%" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Layout Principal: Cartão Translúcido (Glassmorphism) */
.container {
    width: 100%;
    max-width: 900px;
    padding: 4rem 3.5rem;
    z-index: 1;
    
    /* Premium Glass Effect para melhorar a leitura 100% */
    background: rgba(245, 240, 232, 0.75); /* --cream mas transparente */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(61, 46, 30, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Animações CSS - Fade Up Staggered */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.staggered-fade {
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.header.staggered-fade { animation-delay: 0.1s; }
.hero.staggered-fade { animation-delay: 0.3s; }
.divider.staggered-fade { animation-delay: 0.5s; }
.support-message.staggered-fade { animation-delay: 0.7s; }
.contact.staggered-fade { animation-delay: 0.9s; }

/* Logo / Topo */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.logo-img {
    width: clamp(100px, 15vw, 150px);
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.85);
    animation: logoEnter 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
               logoBreathe 8s ease-in-out infinite alternate 1.5s;
    filter: drop-shadow(0 8px 16px rgba(107, 91, 69, 0.08));
}

/* Animação Logo-img Entrada */
@keyframes logoEnter {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Animação Logo-img Respiração Contínua (Orgânica) */
@keyframes logoBreathe {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.03) translateY(-4px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

.logo-text {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--soil);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    line-height: 1.15;
    color: var(--bark);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(245, 240, 232, 0.4);
}

.leaf-italic {
    font-style: italic;
    color: var(--leaf);
    font-weight: 400;
}

.subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: var(--soil);
    max-width: 680px;
    margin: 0 auto;
}

/* Divisor */
.divider {
    border: 0;
    height: 1.5px;
    background-color: var(--sand);
    width: 80px;
    margin: 2rem auto;
}

/* Mensagem de Apoio */
.support-message {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.support-message h2 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--bark);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.support-message p {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--soil);
}

/* Contato */
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--soil);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--leaf);
    color: var(--cream);
    border: 1px solid var(--leaf);
}

.btn-primary:hover {
    background-color: var(--bark);
    border-color: var(--bark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(61, 46, 30, 0.12);
}

.btn-secondary {
    background-color: transparent;
    color: var(--leaf);
    border: 1px solid var(--stem);
}

.btn-secondary:hover {
    background-color: var(--sand);
    border-color: var(--leaf);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--soil);
    border: 1px solid transparent;
}

.btn-tertiary:hover {
    color: var(--leaf);
    background-color: rgba(232, 224, 208, 0.5); /* Sand translúcido */
    transform: translateY(-2px);
}

/* Botão Flutuante WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 65px;
    height: 65px;
    background-color: #25D366; /* Verde Oficial do WhatsApp */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: floatPulse 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

@keyframes floatPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividade Mobile */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    
    .header {
        margin-bottom: 2rem;
    }

    .hero {
        margin-bottom: 1.5rem;
    }
    
    .divider {
        margin: 2rem auto;
    }
    
    .support-message {
        margin-bottom: 2rem;
    }

    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .btn {
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}
