/* ============================================
   RESET E VARIÁVEIS GLOBAIS
   ============================================ */

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

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ============================================
   TIPOGRAFIA E ESTILOS BASE
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 50%, #eff6ff 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* ============================================
   DECORAÇÕES DE FUNDO
   ============================================ */

.background-decoration {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.decoration-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981, #059669);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

/* ============================================
   CONTEÚDO PRINCIPAL
   ============================================ */

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

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

/* ============================================
   LOGO
   ============================================ */

.logo-wrapper {
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

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

.logo {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

/* ============================================
   TÍTULO E DIVISOR
   ============================================ */

.title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 30px;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.2s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ============================================
   DESCRIÇÃO
   ============================================ */

.description {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.subtitle-secondary {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   BOTÃO WHATSAPP
   ============================================ */

.cta-wrapper {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--secondary-color), #10b981);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.whatsapp-button:hover::before {
    left: 100%;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, var(--secondary-dark), #047857);
}

.whatsapp-button:active {
    transform: translateY(-1px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ============================================
   RODAPÉ
   ============================================ */

.footer {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.footer p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .content {
        max-width: 100%;
    }

    .logo-wrapper {
        margin-bottom: 30px;
    }

    .logo {
        max-width: 120px;
    }

    .title {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .subtitle-secondary {
        font-size: 0.95rem;
    }

    .whatsapp-button {
        padding: 14px 28px;
        font-size: 1rem;
        gap: 10px;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }

    .decoration-1 {
        width: 250px;
        height: 250px;
        top: -50px;
        right: -50px;
    }

    .decoration-2 {
        width: 200px;
        height: 200px;
        bottom: -30px;
        left: -30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .logo-wrapper {
        margin-bottom: 25px;
    }

    .logo {
        max-width: 100px;
    }

    .title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .divider {
        width: 60px;
        height: 3px;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .subtitle-secondary {
        font-size: 0.9rem;
    }

    .description {
        margin-bottom: 30px;
    }

    .cta-wrapper {
        margin-bottom: 30px;
    }

    .whatsapp-button {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .decoration-1 {
        width: 150px;
        height: 150px;
    }

    .decoration-2 {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

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

/* ============================================
   MODO ESCURO (OPCIONAL)
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #f3f4f6;
        --text-light: #d1d5db;
        --bg-light: #1f2937;
        --bg-white: #111827;
        --border-color: #374151;
    }

    body {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    }

    .logo {
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    }

    .logo:hover {
        filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
    }
}
