/*
Theme Name: Cassia Sono
Description: Tema elegante e moderno para consultoria de sono infantil com design responsivo e animações suaves.
Version: 1.15
Author: Cassia Siqueira
Text Domain: cassia-sono
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary-color: #8B4513;
    --primary-dark: #654321;
    --secondary-color: #D2B48C;
    --accent-color: #DEB887;
    --success-color: #A0522D;
    
    /* Cores neutras */
    --white: #FFFFFF;
    --light-gray: #F5F5DC;
    --gray: #8B7355;
    --dark-gray: #5D4E37;
    --black: #3C2415;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #8B4513 0%, #D2B48C 100%);
    --gradient-soft: linear-gradient(135deg, #F5F5DC 0%, #E6D7C3 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(210, 180, 140, 0.1) 100%);
    
    /* Tipografia */
    --font-primary: 'Lora', Georgia, serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    
    /* Espaçamentos */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: #f4d2cc;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Seções */
.section {
    padding: var(--section-padding);
    position: relative;
}

/* Variações de background baseadas em #f4d2cc para cada seção */
.section.benefits {
    background: linear-gradient(135deg, #f0c4b8 0%, #e8b8a8 25%, #f2c6ba 50%, #eab6a6 75%, #f4c8bc 100%);
    background-size: 250% 250%;
    animation: gentleBackgroundFlow 12s ease-in-out infinite;
    position: relative;
    box-shadow: inset 0 0 50px rgba(139, 69, 19, 0.1);
}

.section:nth-of-type(3) { /* Como Funciona */
    background: #f2d0ca; /* Mais suave */
}

.section.plans {
    background: #f8d6d0; /* Mais claro */
}

.section.testimonials {
    background: #f0cec8; /* Mais neutro */
}

.section:nth-of-type(6) { /* Sobre */
    background: #f5d3cd; /* Equilibrado */
}

.section.faq {
    background: #f3d1cb; /* Mais aconchegante */
}

.section:last-of-type { /* CTA Final */
    background: linear-gradient(135deg, #f4d2cc 0%, #e8b8a8 25%, #d4a394 50%, #c19a6b 75%, #8B4513 100%);
    background-size: 300% 300%;
    animation: heroImpactFlow 20s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.section:last-of-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 69, 19, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(244, 210, 204, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.section:last-of-type .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(107, 115, 255, 0.1);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
    background-position: 100% 100%;
    border-color: rgba(255, 255, 255, 0.3);
    animation: buttonPulse 2s infinite;
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4), 0 0 0 0 rgba(139, 69, 19, 0.5);
    }
    50% {
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4), 0 0 0 6px rgba(139, 69, 19, 0);
    }
}

.btn-whatsapp-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.4);
    font-size: 14px;
}

.btn-whatsapp-mobile {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    justify-content: center;
    margin-top: 10px;
}

.btn-whatsapp-header:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    text-decoration: none !important;
}

.btn-whatsapp-mobile:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
    background: #ffffff;
    color: #8b4513;
    border: 2px solid #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.btn-secondary:hover {
    background: #f8f8f8;
    color: #6b3410;
    border-color: #f0f0f0;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    transform: translateY(-2px);
}

.btn-secondary:active,
.btn-secondary.active {
    background: #f0f0f0;
    color: #5a2d0e;
    border-color: #e8e8e8;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    transform: translateY(0);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(circle at 20% 30%, rgba(244, 210, 204, 0.9) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(240, 196, 184, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(248, 214, 208, 0.7) 0%, transparent 50%),
        linear-gradient(135deg, #f4d2cc 0%, #f6d4ce 25%, #f2d0ca 50%, #f8d6d0 75%, #f5d3cd 100%);
    background-size: 400% 400%, 350% 350%, 300% 300%, 200% 200%;
    animation: heroImpactFlow 20s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
    color: #2c2c2c;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(237, 204, 193, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(230, 195, 185, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(242, 215, 205, 0.12) 0%, transparent 50%);
    animation: softFloat 15s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(248, 235, 228, 0.15) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(245, 225, 215, 0.1) 50%, transparent 70%);
    animation: gentleShimmer 18s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gentleFlow {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 50% 25%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 75%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes heroImpactFlow {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%;
    }
    25% {
        background-position: 25% 25%, 75% 75%, 25% 75%, 50% 25%;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 75% 25%, 100% 50%;
    }
    75% {
        background-position: 75% 25%, 25% 75%, 25% 75%, 50% 75%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%;
    }
}

@keyframes gentleBackgroundFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes softFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-15px) scale(1.03);
        opacity: 0.8;
    }
    66% {
        transform: translateY(10px) scale(0.97);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
}

@keyframes gentleShimmer {
    0% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateX(-50%) rotate(2deg);
        opacity: 0.6;
    }
    50% {
        transform: translateX(0%) rotate(0deg);
        opacity: 0.5;
    }
    75% {
        transform: translateX(50%) rotate(-2deg);
        opacity: 0.6;
    }
    100% {
        transform: translateX(100%) rotate(0deg);
        opacity: 0.3;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text .authority {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.trust-elements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 115, 255, 0.1);
}

.trust-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.trust-item:hover .trust-icon::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.trust-item:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trust-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark-gray);
    line-height: 1.2;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(107, 115, 255, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Seção de Benefícios */
.benefits {
    background: #f6d4ce; /* Sobrescreve a definição anterior */
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(107, 115, 255, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(107, 115, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(107, 115, 255, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.benefit-item.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }

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

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(107, 115, 255, 0.2);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(107, 115, 255, 0.3);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(107, 115, 255, 0.4);
}

.benefit-text h4 {
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.3;
}

.benefit-text p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--gradient-primary);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.step h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.step p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Planos */
.plans {
    background: linear-gradient(135deg, #f1f3ff 0%, #e8f0ff 50%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%236b73ff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.plan-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(107, 115, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    opacity: 0;
    transform: translateY(40px);
}

.plan-card.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.plan-card.fade-in:nth-child(1) { animation-delay: 0.1s; }
.plan-card.fade-in:nth-child(2) { animation-delay: 0.2s; }
.plan-card.fade-in:nth-child(3) { animation-delay: 0.3s; }

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, rgba(107, 115, 255, 0.1), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(107, 115, 255, 0.2);
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
}

.plan-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(107, 115, 255, 0.25);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
    box-shadow: 0 25px 60px rgba(107, 115, 255, 0.3);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ff6b6b 100%);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    }
    50% { 
        transform: translateX(-50%) scale(1.08);
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    }
}

.plan-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(107, 115, 255, 0.1);
    position: relative;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.plan-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.plan-pricing {
    margin-bottom: 0.5rem;
}

.plan-installment {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background-color: rgba(139, 69, 19, 0.05);
    border: 2px solid rgba(139, 69, 19, 0.1);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.installment-frequency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.installment-value {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.plan-installment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.plan-installment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    border-color: rgba(139, 69, 19, 0.2);
    background-color: rgba(139, 69, 19, 0.08);
}

.plan-installment:hover::before {
    left: 100%;
}

.plan-total {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
    opacity: 0.8;
}

.plan-price-note {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.plan-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(107, 115, 255, 0.1);
    position: relative;
    padding-left: 2.5rem;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(107, 115, 255, 0.3);
}

.plan-features li:hover {
    padding-left: 3rem;
    color: var(--primary-color);
}

.plan-features li:hover::before {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(107, 115, 255, 0.4);
}

/* Famílias Atendidas */
.families-served {
    background: var(--white);
}

/* Grid de Famílias em Destaque */
.families-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.family-card {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.family-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.families-cta {
    text-align: center;
    margin-top: 3rem;
}

.families-cta .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.families-cta .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.families-cta .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Página Todas as Famílias */
.page-hero {
    background: 
        radial-gradient(circle at 25% 25%, rgba(107, 115, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(240, 147, 251, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 25%, #764ba2 50%, #f093fb 75%, var(--primary-color) 100%);
    background-size: 400% 400%, 350% 350%, 300% 300%, 200% 200%;
    animation: pageHeroFlow 25s ease-in-out infinite;
    color: var(--white);
    padding: 6rem 0 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: pageHeroFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: pageHeroShimmer 22s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.all-families {
    padding: 4rem 0;
}

.all-families-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.no-families {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

.back-to-home .btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-home .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.back-to-home .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive para página de todas as famílias */
@media (max-width: 1024px) {
    .all-families-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .all-families-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-hero {
        padding: 4rem 0 3rem 0;
        min-height: 50vh;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .page-hero-content {
        padding: 0 1rem;
    }
    
    .all-families {
         padding: 3rem 0;
     }
 }

/* Mensagens de fallback */
.no-featured-families,
.no-faqs {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.no-featured-families p,
.no-faqs p {
    margin: 0;
    font-style: italic;
}

.family-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.family-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.family-placeholder {
    color: white;
    font-size: 3rem;
    opacity: 0.7;
}

.family-content {
    padding: 1.5rem;
}

.family-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.6;
    position: relative;
}

.family-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    font-family: serif;
    opacity: 0.5;
    position: absolute;
    top: -8px;
    left: -8px;
}

.family-info {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.family-name {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.family-location {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.family-location::before {
    content: '📍';
    font-size: 0.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.testimonial-info h5 {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    background: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #8B4513 0%, #654321 25%, #5D4E37 50%, #3C2415 75%, #2C1810 100%);
    color: var(--white);
    padding: 2.5rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(244, 210, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(210, 180, 140, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
    background: rgba(244, 210, 204, 0.1);
    border-color: rgba(139, 69, 19, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.3rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f4d2cc, var(--secondary-color));
    border-radius: 2px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border-radius: 5px;
}

.footer-section a:hover {
    color: #f4d2cc;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(244, 210, 204, 0.5);
}

.footer-section a i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-section a:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.social-links a {
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: rgba(244, 210, 204, 0.2);
    border-color: #f4d2cc;
    transform: translateX(0) scale(1.02);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #f4d2cc, transparent);
}



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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsividade */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.95) 0%, rgba(244, 210, 204, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    border-top: 3px solid #f4d2cc;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
}

.mobile-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open .mobile-menu {
        pointer-events: all;
    }

.mobile-menu-link {
    padding: 15px 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.mobile-menu-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-mobile {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-align: center !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    margin-top: 10px !important;
}

.btn-whatsapp-mobile:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5) !important;
}

/* Responsive styles for families grid */
@media (max-width: 768px) {
    .families-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .families-cta {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    /* Header mobile improvements */
    .header {
        padding: 0.8rem 0;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Hero section mobile spacing */
    .hero {
        padding-top: 90px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .stepper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
        padding: 0 1rem;
    }
    
    .stepper::before {
        display: none;
    }
    
    .step {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
        border: none;
        border-radius: 24px;
        padding: 2.5rem 2rem;
        backdrop-filter: blur(20px);
        box-shadow: 
            0 20px 40px rgba(107, 115, 255, 0.15),
            0 8px 16px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        transform: translateY(0);
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    .step::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(107, 115, 255, 0.1), transparent);
        transition: left 0.6s ease;
        z-index: 1;
    }
    
    .step:hover::before {
        left: 100%;
    }
    
    .step:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 
            0 32px 64px rgba(107, 115, 255, 0.25),
            0 16px 32px rgba(255, 107, 157, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 1);
        border: 2px solid rgba(107, 115, 255, 0.3);
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
        font-weight: 800;
        margin: 0 auto 2rem auto;
        background: linear-gradient(135deg, #6B73FF 0%, #FF6B9D 100%);
        box-shadow: 
            0 12px 24px rgba(107, 115, 255, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.2),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
        border: 4px solid rgba(255, 255, 255, 0.9);
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
        color: var(--white);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .step:hover .step-number {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 
            0 16px 32px rgba(107, 115, 255, 0.5),
            0 8px 16px rgba(255, 107, 157, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
    
    .step h4 {
        font-size: 1.6rem;
        font-weight: 700;
        color: #2D3748;
        text-align: center;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
        background: linear-gradient(135deg, #6B73FF, #FF6B9D);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: 0.5px;
    }
    
    .step p {
        font-size: 1.1rem;
        line-height: 1.7;
        color: #4A5568;
        text-align: center;
        position: relative;
        z-index: 2;
        font-weight: 400;
        margin: 0;
    }
    

    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .footer-section:hover {
        transform: translateY(-2px);
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    
    .social-links a {
        flex: 1;
        min-width: 110px;
        text-align: center;
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Header ultra mobile */
    .header {
        padding: 0.6rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .mobile-menu-btn {
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu {
        padding: 70px 15px 15px;
    }
    
    .mobile-menu-link {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* Hero section ultra mobile */
    .hero {
        padding-top: 80px;
        padding-bottom: 50px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card,
    .plan-card {
        padding: 1.5rem;
    }
    
    /* Page hero ultra mobile */
    .page-hero {
        padding: 4.5rem 0 2.5rem 0;
        min-height: 40vh;
    }
    
    .page-hero-content {
        padding-top: 0.8rem;
    }
    
    .page-title {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .page-subtitle {
         font-size: 0.95rem;
         margin-bottom: 1.2rem;
     }
}

/* Ultra small devices (320px and down) */
@media (max-width: 320px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .mobile-menu {
        padding: 65px 10px 10px;
    }
    
    .mobile-menu-link {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .hero {
        padding-top: 75px;
        padding-bottom: 40px;
    }
    
    .page-hero {
        padding: 4rem 0 2rem 0;
        min-height: 35vh;
    }
    
    .page-title {
        font-size: 1.6rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1.5rem;
    }
    
    .page-hero-content {
        padding: 0 1.5rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 40px rgba(107, 115, 255, 0.4);
}

.back-to-top.visible {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
}



/* Elemento de urgência com destaque intenso e cores mais vibrantes */
.urgency-highlight {
    background: linear-gradient(135deg, #e91e63, #9c27b0, #673ab7, #3f51b5) !important;
    background-size: 300% 300% !important;
    border: 3px solid #ffffff !important;
    animation: urgencyPulse 2s infinite, urgencyGlow 3s ease-in-out infinite alternate, urgencyFloat 4s infinite !important;
    transform: scale(1.05) !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px !important;
}

.urgency-highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #ff6b6b);
    border-radius: inherit;
    z-index: -1;
    animation: urgencyBorder 2s linear infinite;
}

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

@keyframes urgencyGlow {
    0% {
        filter: brightness(1.2) saturate(1.3) hue-rotate(0deg);
        background-position: 0% 50%;
    }
    100% {
        filter: brightness(1.5) saturate(1.7) hue-rotate(15deg);
        background-position: 100% 50%;
    }
}

@keyframes urgencyFloat {
    0%, 100% {
        transform: translateY(0) scale(1.05);
    }
    25% {
        transform: translateY(-3px) scale(1.06);
    }
    50% {
        transform: translateY(-5px) scale(1.07);
    }
    75% {
        transform: translateY(-2px) scale(1.06);
    }
}

@keyframes urgencyBorder {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Page Hero Animations */
@keyframes pageHeroFlow {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%;
    }
    25% {
        background-position: 25% 25%, 75% 75%, 25% 75%, 50% 25%;
    }
    50% {
        background-position: 50% 50%, 50% 50%, 75% 25%, 100% 50%;
    }
    75% {
        background-position: 75% 25%, 25% 75%, 25% 75%, 50% 75%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%;
    }
}

@keyframes pageHeroFloat {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-20px) scale(1.05) rotate(1deg);
        opacity: 0.8;
    }
    66% {
        transform: translateY(15px) scale(0.95) rotate(-1deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
}

@keyframes pageHeroShimmer {
    0% {
        transform: translateX(-100%) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateX(-50%) rotate(3deg);
        opacity: 0.6;
    }
    50% {
        transform: translateX(0%) rotate(0deg);
        opacity: 0.5;
    }
    75% {
        transform: translateX(50%) rotate(-3deg);
        opacity: 0.6;
    }
    100% {
        transform: translateX(100%) rotate(0deg);
        opacity: 0.3;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.modal-body {
    padding: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.contact-form input[readonly] {
    background: var(--light-gray);
    color: var(--gray);
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}



#submitBtn,
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

#submitBtn:hover,
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

#submitBtn:disabled,
.btn-whatsapp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#cancelBtn {
    background: var(--light-gray);
    color: var(--gray);
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

#cancelBtn:hover {
    background: #dc3545;
    color: var(--white);
    border-color: #dc3545;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Footer Contact Form */
.footer-contact-form {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-form .form-group {
    margin-bottom: 12px;
}

.footer-contact-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(222, 184, 135, 0.2);
}

.footer-contact-form .btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.footer-contact-form .btn-submit:active {
    transform: translateY(0);
}

/* Responsive adjustments for footer form */
@media (max-width: 768px) {
    .footer-contact-form {
        margin-top: 15px;
        padding: 15px;
    }
    
    .footer-contact-form input,
    .footer-contact-form .btn-submit {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
}

.notification {
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.notification.visible {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.notification-error {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.notification-info {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
}

.notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-muted);
    margin-left: 10px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .notification-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .notification {
        padding: 12px 15px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}

/* Utilitários */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }