/*
Theme Name: Mesa Clínica
Theme URI: https://mesaclinica.com.br
Author: Dr. Bruno Ecco
Author URI: https://mesaclinica.com.br
Description: Tema personalizado para o curso Mesa Clínica - Treinamento completo de montagem de mesas clínicas odontológicas
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mesa-clinica
*/

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

:root {
    --primary: 260 80% 55%;
    --primary-foreground: 0 0% 100%;
    --secondary: 280 70% 60%;
    --secondary-foreground: 0 0% 100%;
    --accent: 330 85% 55%;
    --accent-foreground: 0 0% 100%;
    --success: 142 76% 36%;
    --success-foreground: 0 0% 100%;
    --background: 0 0% 100%;
    --foreground: 260 15% 15%;
    --muted: 260 20% 96%;
    --muted-foreground: 260 10% 45%;
    --card: 0 0% 100%;
    --card-foreground: 260 15% 15%;
    --border: 260 20% 90%;
    
    --gradient-hero: linear-gradient(135deg, hsl(260 80% 55%) 0%, hsl(330 85% 55%) 100%);
    --gradient-card: linear-gradient(135deg, hsl(260 80% 98%) 0%, hsl(330 85% 98%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(330 85% 55%) 0%, hsl(330 85% 65%) 100%);
    --gradient-border: linear-gradient(90deg, hsl(260 80% 55%), hsl(330 85% 55%));
    
    --shadow-sm: 0 2px 8px 0 hsl(260 80% 55% / 0.08);
    --shadow-md: 0 4px 16px -2px hsl(260 80% 55% / 0.12);
    --shadow-lg: 0 12px 24px -4px hsl(260 80% 55% / 0.16);
    --shadow-xl: 0 24px 48px -8px hsl(260 80% 55% / 0.24);
    --shadow-glow: 0 0 32px hsl(260 80% 55% / 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== Text Utilities ========== */
.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.font-bold {
    font-weight: 700;
}

/* ========== Buttons ========== */
.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-hero);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-lg);
    background-size: 200% 200%;
    animation: gradient 4s ease infinite;
}

.btn-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
}

.btn-xl {
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    border-radius: 1rem;
}

/* ========== Animations ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ========== Header/Navigation ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: hsl(var(--background) / 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ========== Hero Section ========== */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 3rem;
    background: hsl(var(--background));
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, hsl(var(--success)), hsl(var(--success) / 0.8));
    color: hsl(var(--success-foreground));
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.hero-badge .icon {
    width: 1rem;
    height: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.hero-image {
    margin: 2rem auto;
    max-width: 800px;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 25px 50px hsl(260 80% 55% / 0.4));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.pricing-info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0.75;
}

.original-price {
    color: hsl(var(--muted-foreground));
    text-decoration: line-through;
    font-size: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
}

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

.content-note {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-top: 2rem;
    padding: 0 1rem;
}

/* ========== For Who Section ========== */
.for-who-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, hsl(var(--muted) / 0.5) 0%, hsl(var(--background)) 50%, hsl(var(--muted) / 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
}

.card-elevated {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.checklist-item:hover {
    transform: translateX(8px);
}

.check-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.check-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: white;
    stroke-width: 2;
}

.checklist-item span {
    flex: 1;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    line-height: 1.6;
}

/* ========== Certificate Section ========== */
.certificate-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted) / 0.2) 50%, hsl(var(--background)) 100%);
    position: relative;
    overflow: hidden;
}

.certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-hero);
    color: white;
    border-radius: 9999px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.certificate-badge .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.certificate-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.certificate-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.benefit-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-icon.success svg {
    stroke: hsl(var(--success));
}

.benefit-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.benefit-content p {
    color: hsl(var(--muted-foreground));
}

.certificate-image {
    position: relative;
}

.certificate-image img {
    width: 100%;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
}

/* ========== About Section ========== */
.about-section {
    padding: 5rem 0;
    background: hsl(var(--background));
    position: relative;
    overflow: hidden;
}

.creator-photo {
    margin: 0 auto 2rem;
    width: 14rem;
    height: 14rem;
    position: relative;
}

.creator-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    border-radius: 50%;
    filter: blur(1rem);
    opacity: 0.75;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

.creator-photo img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid hsl(var(--background));
    box-shadow: var(--shadow-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.stat-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: white;
}

.gradient-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.7));
}

.gradient-accent {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent) / 0.7));
}

.gradient-secondary {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--secondary) / 0.7));
}

.gradient-mixed {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
}

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

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

.about-card {
    background: linear-gradient(135deg, hsl(var(--muted) / 0.5) 0%, hsl(var(--background)) 100%);
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

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

.about-card p {
    font-size: 1.25rem;
    color: hsl(var(--foreground));
    text-align: center;
    line-height: 1.6;
}

/* ========== Features/Accordion Section ========== */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--muted) / 0.2) 50%, hsl(var(--background)) 100%);
    position: relative;
    overflow: hidden;
}

.accordion {
    max-width: 1200px;
    margin: 0 auto;
}

.accordion-item {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-lg);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.accordion-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.accordion-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: white;
}

.accordion-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.chevron {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    stroke: hsl(var(--foreground));
    transition: transform 0.3s ease;
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem 5rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* ========== Carousel Section ========== */
.carousel-section {
    padding: 3rem 0;
    background: hsl(var(--background));
    overflow: hidden;
}

.course-carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    flex: 0 0 auto;
    width: 33.333%;
    min-width: 300px;
}

.carousel-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.75rem;
}

/* ========== Included Section ========== */
.included-section {
    padding: 3rem 0;
    background: hsl(var(--background));
}

.included-card {
    background: hsl(var(--card));
    border: 2px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.included-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.included-item .icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.included-item .icon.success {
    stroke: hsl(var(--success));
}

.included-bonus h4 {
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.included-bonus h4 .icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: hsl(var(--primary));
}

.bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.bonus-item .icon.small {
    width: 1rem;
    height: 1rem;
}

.bonus-item span {
    font-size: 0.875rem;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsl(var(--muted) / 0.3) 0%, hsl(var(--background)) 50%, hsl(var(--muted) / 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: hsl(var(--card));
    border: 4px solid transparent;
    border-image: var(--gradient-border) 1;
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-image {
    margin: 2rem auto;
    max-width: 600px;
}

.cta-image img {
    width: 100%;
    filter: drop-shadow(0 25px 50px hsl(260 80% 55% / 0.4));
}

.cta-pricing {
    margin: 2rem 0;
}

.pricing-box {
    background: linear-gradient(135deg, hsl(var(--muted) / 0.5) 0%, hsl(var(--background) / 0.5) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid hsl(var(--border));
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    display: inline-block;
}

.pricing-label {
    display: block;
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.5rem;
}

.pricing-label .line-through {
    text-decoration: line-through;
}

.pricing-value {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    filter: drop-shadow(0 4px 8px hsl(260 80% 55% / 0.3));
}

.pricing-installment {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
}

.cta-secure {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: 1.5rem;
}

/* ========== Footer ========== */
.site-footer {
    padding: 3rem 0;
    background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(var(--foreground) / 0.9) 100%);
    color: hsl(var(--background));
    position: relative;
    overflow: hidden;
}

.site-footer p {
    margin: 0.5rem 0;
}

/* ========== Smooth Scroll ========== */
html {
    scroll-behavior: smooth;
}

/* ========== Responsive Design ========== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .certificate-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo img {
        height: 5rem;
        width: 5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}
