/*
Theme Name: ZapToAll Agenda
Theme URI: https://www.zaptoall.com.br
Description: Tema personalizado para sistema de agendamento inspirado no Agendin
Author: ZapToAll
Version: 1.0
Text Domain: zaptoall-agenda
*/

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

:root {
    --primary-color: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --secondary-color: #10B981;
    --accent-color: #047857;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F0FDF4;
    --white: #FFFFFF;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-green: 0 4px 15px rgba(16, 185, 129, 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Container */
.agenda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.agenda-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Elementos decorativos de fundo */
.agenda-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.agenda-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.agenda-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.agenda-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateX(5px);
}

/* Como Funciona Section */
.como-funciona {
    padding: 80px 20px;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

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

.step-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.step-image svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.step-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.example-link {
    margin-top: 20px;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.example-link:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.example-link span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.example-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.example-link a::before {
    content: '🔗';
    font-size: 1rem;
}

.example-link a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Vantagens Section */
.vantagens {
    padding: 80px 20px;
    background: var(--bg-light);
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vantagem-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.vantagem-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.vantagem-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 2;
}

.vantagem-card:hover .vantagem-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}

.vantagem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.vantagem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Funcionalidades Section */
.funcionalidades {
    padding: 80px 20px;
    background: var(--white);
}

.funcionalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.funcionalidade-card {
    padding: 25px;
    border: 2px solid #E5E7EB;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.funcionalidade-card:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.funcionalidade-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.funcionalidade-card h3::before {
    content: '✓';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
}

.funcionalidade-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Preços Section */
.precos {
    padding: 80px 20px;
    background: var(--bg-light);
}

.precos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.preco-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.preco-card.destaque {
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-green);
    background: linear-gradient(to bottom, var(--white) 0%, var(--bg-light) 100%);
}

.preco-card.destaque::before {
    content: 'MAIS POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-green);
}

.preco-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.preco-valor {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preco-periodo {
    color: var(--text-light);
    margin-bottom: 30px;
}

.preco-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.preco-features li {
    padding: 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.preco-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.btn-secondary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* WhatsApp CTA Box */
.whatsapp-cta-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.whatsapp-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    animation: pulse 2s infinite;
}

.whatsapp-icon-large svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(37, 211, 102, 0.3));
}

.whatsapp-cta-box h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.whatsapp-cta-box p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp svg {
    width: 24px;
    height: 24px;
}

.whatsapp-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.benefit-item svg {
    flex-shrink: 0;
}

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

/* Animações para imagens */
.step-card:hover .step-image img,
.step-card:hover .step-image svg {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.step-image img,
.step-image svg {
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .agenda-hero {
        padding: 60px 20px;
        min-height: 400px;
    }
    
    .agenda-hero h1 {
        font-size: 2.2rem;
    }
    
    .agenda-hero p {
        font-size: 1.1rem;
    }
    
    .btn-primary {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-grid,
    .vantagens-grid,
    .funcionalidades-grid,
    .precos-grid {
        grid-template-columns: 1fr;
    }
    
    .step-image {
        width: 150px;
        height: 150px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .whatsapp-cta-box {
        padding: 40px 25px;
    }
    
    .whatsapp-cta-box h2 {
        font-size: 2rem;
    }
    
    .whatsapp-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .btn-whatsapp {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .whatsapp-benefits {
        flex-direction: column;
        gap: 15px;
    }
}

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

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