/*
Theme Name: ART.IA Landing Page
Description: Landing page para assistente de vendas com IA
Version: 1.0
Author: ART.IA Team
*/

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

/* Variáveis CSS - Replicando exatamente o design atual */
:root {
    /* Cores principais */
    --background: 0 0% 100%;
    --foreground: 220 39% 17%;
    --card: 0 0% 100%;
    --card-foreground: 220 39% 17%;
    --primary: 217 91% 60%;
    --primary-foreground: 0 0% 100%;
    --primary-dark: 217 91% 49%;
    --secondary: 220 14% 96%;
    --secondary-foreground: 220 39% 17%;
    --success: 217 91% 60%;
    --success-foreground: 0 0% 100%;
    --success-hover: 217 91% 49%;
    --muted: 220 14% 96%;
    --muted-foreground: 220 39% 17%;
    --border: 220 13% 91%;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, hsl(217 91% 60%), hsl(217 91% 70%));
    --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(220 14% 98%));
    --gradient-hero: linear-gradient(135deg, hsl(217 91% 60% / 0.03), hsl(217 91% 70% / 0.01));
    
    /* Sombras */
    --shadow-soft: 0 4px 6px -1px hsl(217 91% 60% / 0.1);
    --shadow-medium: 0 10px 15px -3px hsl(217 91% 60% / 0.1);
    --shadow-large: 0 25px 50px -12px hsl(217 91% 60% / 0.25);
}

/* Estilos globais */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    font-feature-settings: "rlig" 1, "calt" 1;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding: 5rem 1rem;
}

.hero-content {
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title .highlight {
    color: hsl(var(--primary));
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: hsl(var(--muted-foreground));
    max-width: 512px;
    margin: 0 auto 2rem;
}

.video-container {
    position: relative;
    max-width: 768px;
    margin: 0 auto 2rem;
    aspect-ratio: 16/9;
    background: hsl(var(--card));
    border-radius: 1rem;
    box-shadow: var(--shadow-large);
    overflow: hidden;
    border: 1px solid hsl(var(--border));
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-large);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 16px solid hsl(var(--primary));
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-cta {
    background: hsl(var(--success));
    color: hsl(var(--success-foreground));
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-medium);
}

.btn-cta:hover {
    background: hsl(var(--success-hover));
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.hero-disclaimer {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
}

/* Social Proof Section */
.social-proof-section {
    padding: 5rem 1rem;
    background: var(--gradient-subtle);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: hsl(var(--foreground));
    text-align: center;
    margin-bottom: 4rem;
}

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

.stat-card {
    background: hsl(var(--card));
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
}

.stat-card:hover {
    box-shadow: var(--shadow-large);
    transform: scale(1.05);
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon.success {
    background: hsl(var(--success) / 0.1);
}

.stat-icon.primary {
    background: hsl(var(--primary) / 0.1);
}

.stat-icon.secondary {
    background: hsl(var(--secondary));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-number.success {
    color: hsl(var(--success));
}

.stat-number.primary {
    color: hsl(var(--primary));
}

.stat-number.secondary {
    color: hsl(var(--primary));
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.stat-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

.testimonial-card {
    background: hsl(var(--card));
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid hsl(var(--border));
}

.testimonial-text {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    font-style: italic;
    margin-bottom: 3rem;
    text-align: center;
}

.companies-section {
    text-align: center;
}

.companies-title {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1rem;
}

.companies-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0.6;
    flex-wrap: wrap;
}

.company-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background: hsl(var(--card));
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border-radius: 1rem;
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-medium);
    transform: scale(1.05);
}

.benefit-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon.success {
    background: hsl(var(--success) / 0.1);
    color: hsl(var(--success));
}

.benefit-icon.primary {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.benefit-icon.secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--primary));
}

.benefit-text {
    flex: 1;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

.benefit-description {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    background: var(--gradient-hero);
    border-radius: 1rem;
    padding: 3rem;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

.cta-description {
    color: hsl(var(--muted-foreground));
    max-width: 512px;
    margin: 0 auto 2rem;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slideUp {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.8s ease-out forwards;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-list {
        gap: 1rem;
    }
    
    .benefit-content {
        flex-direction: column;
        text-align: center;
    }
}

/* WordPress específico */
.wp-block-group {
    margin: 0;
}

.aligncenter { text-align: center; }
.alignright { text-align: right; }
.alignleft { text-align: left; }

/* ===== Página de Qualificação ===== */
.qualification-page {
    background: linear-gradient(135deg, hsl(217, 91%, 60%, 0.03), hsl(217, 91%, 70%, 0.01));
    min-height: 100vh;
}

.qualification-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px hsl(217, 91%, 60%, 0.25);
    animation: fadeIn 0.6s ease-out;
}

.qualification-form .form-group {
    margin-bottom: 1.5rem;
}

.qualification-form .form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .qualification-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.qualification-form .form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: hsl(220, 39%, 17%);
    font-size: 0.875rem;
}

.qualification-form .form-input,
.qualification-form .form-select,
.qualification-form .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(220, 13%, 91%);
    border-radius: 0.375rem;
    background-color: white;
    color: hsl(220, 39%, 17%);
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    font-family: inherit;
}

.qualification-form .form-input:focus,
.qualification-form .form-select:focus,
.qualification-form .form-textarea:focus {
    outline: none;
    border-color: hsl(217, 91%, 60%);
    box-shadow: 0 0 0 3px hsl(217, 91%, 60%, 0.1);
}

.qualification-form .form-input::placeholder,
.qualification-form .form-textarea::placeholder {
    color: hsl(220, 39%, 17%, 0.5);
}

.qualification-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.qualification-form .form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

.btn-cta {
    background: hsl(217, 91%, 60%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}

.btn-cta:hover {
    background: hsl(217, 91%, 49%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px hsl(217, 91%, 60%, 0.3);
}

.btn-cta.w-full {
    width: 100%;
}

.text-muted-foreground {
    color: hsl(220, 39%, 17%);
    opacity: 0.7;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-content {
    background: white;
    border-radius: 0.5rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: scaleIn 0.3s ease-out;
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(220, 39%, 17%);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: hsl(220, 39%, 17%);
    opacity: 0.5;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 1rem 1.5rem;
}

.modal-body p {
    margin: 0;
    color: hsl(220, 39%, 17%);
    line-height: 1.5;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
    text-align: right;
}

/* Responsive para qualificação */
@media (max-width: 768px) {
    .qualification-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .qualification-card h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .qualification-card p {
        font-size: 1rem;
    }
}