/* Base Styles and Variables */
:root {
    --primary-color: #ff5722;
    --primary-color-rgb: 255, 87, 34;
    --primary-dark: #e64a19;
    --primary-dark-rgb: 230, 74, 25;
    --primary-light: #ffccbc;
    --primary-light-rgb: 255, 204, 188;
    --secondary-color: #2196f3;
    --secondary-color-rgb: 33, 150, 243;
    --secondary-dark: #1976d2;
    --secondary-dark-rgb: 25, 118, 210;
    --secondary-light: #bbdefb;
    --secondary-light-rgb: 187, 222, 251;
    --accent-color: #ffc107;
    --accent-color-rgb: 255, 193, 7;
    --text-dark: #212121;
    /* A11y: aumentar contraste do texto médio */
    --text-medium: #5a5a5a;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-gray: #f5f5f5;
    --background-dark: #263238;
    --success-color: #4caf50;
    --success-color-rgb: 76, 175, 80;
    --error-color: #f44336;
    --error-color-rgb: 244, 67, 54;
    --warning-color: #ff9800;
    --warning-color-rgb: 255, 152, 0;
    --success-color-light: #E8F5E9;
    --error-color-light: #FFEBEE;
    --warning-color-light: #FFF3E0;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ✅ CORREÇÃO: Container responsivo para mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
        max-width: 100%;
    }
}

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

section {
    padding: 8rem 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

/* ✅ CORREÇÃO: Seções responsivas para mobile */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: var(--text-dark);
    max-width: 100%;
    word-wrap: break-word;
}

/* ✅ CORREÇÃO: Títulos responsivos para mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.8rem;
    text-align: center;
    color: var(--text-dark); /* A11y: texto de subtítulo com maior contraste */
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    max-width: 100%;
    box-sizing: border-box;
}

/* ✅ CORREÇÃO: Botões responsivos para mobile */
@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1.4rem;
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
        display: block;
    }
}

@media (max-width: 480px) {
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.6rem;
        font-size: 1.3rem;
        max-width: 280px;
    }
}

/* ✅ CORREÇÃO: Estilos base dos botões */
.btn-primary, .btn-secondary {
    transition: var(--transition);
    font-size: 1.6rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    /* A11y: garantir contraste AA em botões primários */
    background-color: #bf360c; /* mais escuro para contraste >= 4.5:1 com #fff */
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(191, 54, 12, 0.5);
    border: 2px solid rgba(255,255,255,0.9);
}

.btn-primary:hover {
    background-color: #a33a12;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(163, 58, 18, 0.45);
}

.btn-secondary {
    /* A11y: contraste melhorado para botão secundário */
    background-color: #1565c0;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.35);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Pulse Animation for CTA Buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    }
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.logo-icon i {
    font-size: 2.2rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.1;
}

.logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.1;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.menu-item {
    position: relative;
    list-style: none;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.2rem;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.1), transparent);
    transition: left 0.5s ease;
}

.menu-link:hover::before {
    left: 100%;
}

.menu-link i:first-child {
    font-size: 1.5rem;
    transition: var(--transition);
}

.menu-link:hover {
    color: var(--primary-color);
    background: rgba(255, 87, 34, 0.05);
    transform: translateY(-2px);
}

.menu-link:hover i:first-child {
    transform: scale(1.2);
}

.menu-link span {
    font-weight: 600;
}

/* Submenu Arrow */
.submenu-arrow {
    font-size: 1.1rem;
    transition: var(--transition);
    margin-left: 0.3rem;
}

.has-submenu:hover .submenu-arrow {
    transform: rotate(180deg);
}

/* Submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1001;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.submenu a:hover {
    background: rgba(255, 87, 34, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.submenu a i {
    font-size: 1.4rem;
    width: 20px;
    text-align: center;
}

/* Contact Link Special */
.contact-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white !important;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.contact-link::before {
    display: none;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Ensure all text remains visible (override accidental transparent text effects) */
.menu a, .menu-link, .submenu a, .submenu a i, .menu-toggle span {
    -webkit-text-fill-color: initial;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%), url('https://jpimg.com.br/uploads/2017/04/3823496660-onibus-lotado.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-light);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-content .highlight {
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.vehicle-animation {
    position: relative;
    width: 100%;
    height: 300px;
}

.car-animation {
    position: absolute;
    width: 200px;
    bottom: 0;
    right: 0;
    animation: carMove 15s linear infinite;
}

.motorcycle-animation {
    position: absolute;
    width: 100px;
    bottom: 20px;
    right: 0;
    animation: motoMove 10s linear infinite;
}

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

@keyframes motoMove {
    0% {
        transform: translateX(100%) rotate(0deg);
    }
    10% {
        transform: translateX(80%) rotate(5deg);
    }
    20% {
        transform: translateX(60%) rotate(-5deg);
    }
    30% {
        transform: translateX(40%) rotate(5deg);
    }
    40% {
        transform: translateX(20%) rotate(-5deg);
    }
    50% {
        transform: translateX(0%) rotate(0deg);
    }
    60% {
        transform: translateX(-20%) rotate(5deg);
    }
    70% {
        transform: translateX(-40%) rotate(-5deg);
    }
    80% {
        transform: translateX(-60%) rotate(5deg);
    }
    90% {
        transform: translateX(-80%) rotate(-5deg);
    }
    100% {
        transform: translateX(-100%) rotate(0deg);
    }
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.limited-offer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.limited-offer i {
    color: var(--warning-color);
}

/* Animate Text */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

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

/* A11y/Perf: não atrasar LCP no herói */
#home.hero .animate-text {
    opacity: 1;
    transform: none;
    animation: none;
}


.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.problem-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.icon-container i {
    font-size: 3.2rem;
    color: var(--primary-color);
}

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

.problem-card p {
    color: var(--text-medium);
    font-size: 1.5rem;
}

/* Problems CTA */
.problems-cta {
    background: linear-gradient(135deg, var(--background-dark), #1a252f);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: white;
    margin-top: 5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.problems-cta h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.problems-cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1.8rem 3.5rem;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.6);
    background: #ffb300;
}

.btn-secondary i {
    font-size: 2rem;
}

/* Main Problems Section - Nova seção crítica */
.main-problems {
    padding: 10rem 0;
}

.main-problems .section-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.main-problems .section-subtitle {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.8rem;
    margin-bottom: 5rem;
}

.main-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

.main-problem-card {
    background: var(--background-light);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.main-problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.main-problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

/* subtle floating glow */
.main-problem-card::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -80px;
    top: -80px;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb),0.25) 0%, rgba(255,255,255,0) 60%);
    filter: blur(8px);
    pointer-events: none;
}

.problem-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.problem-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon i {
    font-size: 3.6rem;
    color: white;
}

/* pulse animation for icons */
.problem-icon { position: relative; }
.problem-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(33,150,243,0.6);
    animation: iconPulse 2.4s ease-out infinite;
}

@keyframes iconPulse {
    0% { box-shadow: 0 0 0 0 rgba(33,150,243,0.5); }
    70% { box-shadow: 0 0 0 16px rgba(33,150,243,0); }
    100% { box-shadow: 0 0 0 0 rgba(33,150,243,0); }
}

.problem-header h3 {
    font-size: 2.4rem;
    color: var(--text-dark);
    font-weight: 600;
    flex: 1;
}

.problem-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.problem-stats {
    background: var(--background-gray);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.problem-stats p {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.problem-stats p:last-child {
    margin-bottom: 0;
}

.problem-stats strong {
    color: var(--primary-color);
    font-weight: 700;
}

.problem-description {
    background: var(--warning-color-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--warning-color);
}

.problem-description p {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

.solution-box {
    background: linear-gradient(135deg, var(--success-color-light), #f0f9ff);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--success-color);
}

.solution-box h4 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.solution-item i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}

.solution-item div {
    display: flex;
    flex-direction: column;
}

.solution-item strong {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 600;
}

.solution-item span {
    font-size: 1.4rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

/* single pulse used by JS */
.pulse-once { animation: pulseOnce .6s ease; }
@keyframes pulseOnce { 0%{ transform: scale(1); box-shadow: 0 0 0 0 rgba(76,175,80,0.5);} 50%{ transform: scale(1.1); box-shadow: 0 0 0 10px rgba(76,175,80,0);} 100%{ transform: scale(1);} }

.main-problems-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: white;
    box-shadow: 0 12px 40px rgba(255, 87, 34, 0.3);
}

.cta-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
}

.cta-feature i {
    color: var(--accent-color);
    font-size: 2rem;
}

.btn-critical {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1.8rem 3.5rem;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
}

.btn-critical:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.6);
    background: #ffb300;
}

.btn-critical i {
    font-size: 2rem;
}

/* Responsive para Main Problems */
@media (max-width: 768px) {
    .main-problems {
        padding: 6rem 0;
    }
    
    .main-problem-card {
        padding: 2.5rem;
    }
    
    .main-problems-grid {
        grid-template-columns: 1fr;
    }
    
    .problem-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .problem-header h3 {
        font-size: 2rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn-critical {
        padding: 1.5rem 2.5rem;
        font-size: 1.6rem;
    }
}

/* Perf: atrasar cálculo/render de seções abaixo da dobra */
#problemas-principais,
#por-que-cnh,
#problemas,
#beneficios,
#cursos,
#depoimentos,
.insignias-wrapper,
#oferta,
#faq,
#contato,
.footer {
    content-visibility: auto;
    contain-intrinsic-size: 1000px 800px; /* tamanho estimado p/ reservar espaço e evitar CLS */
}

/* Responsive para Approval Stats */
@media (max-width: 768px) {
    .approval-stats {
        padding: 2.5rem;
    }
    
    .approval-header h3 {
        font-size: 2.2rem;
    }
    
    .approval-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .approval-item {
        padding: 1.5rem;
    }
}

/* Responsive para Problems CTA */
@media (max-width: 768px) {
    .problems-cta {
        padding: 2.5rem;
        margin-top: 3rem;
    }
    
    .problems-cta h3 {
        font-size: 2.2rem;
    }
    
    .problems-cta p {
        font-size: 1.6rem;
    }
    
    .btn-secondary {
        padding: 1.5rem 2.5rem;
        font-size: 1.6rem;
    }
}

/* Trust Section - Nova seção de confiança */
.trust-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    padding: 10rem 0;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.trust-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--success-color-light);
}

.trust-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--success-color-light);
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 2.4rem;
    color: white;
}

.trust-header h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.status-accredited {
    color: var(--success-color);
    font-weight: 800;
    text-transform: uppercase;
}

.trust-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-gray);
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
}

.trust-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.trust-item div {
    flex: 1;
}

.trust-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.verification-steps {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary-light);
}

.verification-steps h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.verification-steps > p {
    font-size: 1.6rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-gray);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    font-size: 1.4rem;
    color: var(--text-medium);
}

.verification-cta {
    text-align: center;
    padding: 2rem;
    background: var(--background-gray);
    border-radius: 16px;
}

.btn-verify {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 1.8rem 3rem;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 87, 34, 0.4);
    margin-bottom: 1.5rem;
}

.btn-verify:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 87, 34, 0.6);
    background: var(--primary-dark);
}

.verification-note {
    font-size: 1.4rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.verification-note i {
    color: var(--secondary-color);
}

/* Instruction Images */
.instruction-images {
    margin-bottom: 5rem;
}

.instruction-images h3 {
    text-align: center;
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 600;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.instruction-image {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.instruction-image h4 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.instruction-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--background-gray);
}

.instruction-image p {
    font-size: 1.4rem;
    color: var(--text-medium);
}

/* Trust CTA */
.trust-cta {
    background: linear-gradient(135deg, var(--success-color), #45a049);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: white;
    box-shadow: 0 12px 40px rgba(76, 175, 80, 0.3);
}

.trust-cta-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.trust-cta-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.trust-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
}

.trust-feature i {
    color: var(--accent-color);
    font-size: 2rem;
}

.btn-trust {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 1.8rem 3.5rem;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
}

.btn-trust:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.6);
    background: #ffb300;
}

.btn-trust i {
    font-size: 2rem;
}

/* Image Zoom Effect - Efeito de zoom nas imagens */
.image-container {
    overflow: hidden;
    display: inline-block;
    border-radius: inherit;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.image-container:hover img {
    transform: scale(1.2);
}

.image-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estilos específicos para imagens dos cursos */
.pricing-card .image-container {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-card .image-container img {
    max-width: 120px;
    height: auto;
}

.pricing-card .image-container:hover img {
    transform: scale(1.3);
}

/* Estilos para imagens de instrução */
.instruction-image .image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.instruction-image .image-container:hover img {
    transform: scale(1.15);
}

/* Estilos para imagem de benefícios */
.benefits-image .image-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.benefits-image .image-container:hover img {
    transform: scale(1.1);
}

/* Responsive para Trust Section */
@media (max-width: 768px) {
    .trust-section {
        padding: 6rem 0;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .trust-info,
    .verification-steps {
        padding: 2rem;
    }
    
    .trust-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .trust-header h3 {
        font-size: 1.8rem;
    }
    
    .verification-steps h3 {
        font-size: 1.8rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trust-cta {
        padding: 2.5rem;
    }
    
    .trust-cta-content h3 {
        font-size: 2.2rem;
    }
    
    .trust-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn-verify,
    .btn-trust {
        padding: 1.5rem 2.5rem;
        font-size: 1.6rem;
    }
}

/* Responsive para Image Zoom */
@media (max-width: 768px) {
    .image-container:hover img {
        transform: scale(1.1);
    }
    
    .pricing-card .image-container:hover img {
        transform: scale(1.2);
    }
    
    .instruction-image .image-container:hover img {
        transform: scale(1.05);
    }
    
    .benefits-image .image-container:hover img {
        transform: scale(1.05);
    }
}

/* Responsive Header */
@media (max-width: 1200px) {
    .menu {
        gap: 0.2rem;
    }
    
    .menu-link {
        padding: 0.8rem 1rem;
        font-size: 1.3rem;
    }
    
    .menu-link span {
        display: none;
    }
    
    .submenu {
        min-width: 180px;
    }
}

@media (max-width: 1024px) {
    .menu {
        gap: 0.1rem;
    }
    
    .menu-link {
        padding: 0.7rem 0.8rem;
        font-size: 1.2rem;
    }
    
    .menu-link i:first-child {
        font-size: 1.4rem;
    }
    
    .submenu {
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo h2 {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-icon i {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        position: relative;
        width: auto;
        height: var(--header-height);
        background: transparent;
        display: flex;
        align-items: center;
        padding-top: 0;
    }
    
    .menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 0 2rem 2rem;
        overflow-y: auto;
        transition: right 0.4s ease;
        z-index: 1001;
    }
    .menu.active {
        right: 0;
    }
    
    .menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .menu-item:last-child {
        border-bottom: none;
    }
    
    .menu-link {
        width: 100%;
        padding: 1.5rem 2rem;
        justify-content: flex-start;
        border-radius: 0;
        font-size: 1.6rem;
        gap: 1rem;
    }
    
    .menu-link span { display: block; }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 87, 34, 0.05);
        margin: 0;
        padding: 0;
        min-width: 100%;
        display: none;
        border-radius: 0;
    }
    
    .submenu.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .submenu::before {
        display: none;
    }
    
    .submenu a {
        padding: 1rem 3rem;
        margin: 0;
        border-radius: 0;
        font-size: 1.4rem;
        background: rgba(255, 255, 255, 0.5);
        margin: 0.2rem 0;
    }
    
    .submenu a:hover {
        background: rgba(255, 87, 34, 0.1);
        transform: none;
    }
    
    .contact-link {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white !important;
        margin-top: 2rem;
        border-radius: 12px;
    }
    
    .menu-toggle {
        display: flex !important;
        position: relative;
        z-index: 1100;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0 1rem;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo h2 {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
    }
    
    .logo-icon i {
        font-size: 1.6rem;
    }
    
    .menu-link {
        font-size: 1.5rem;
        padding: 1.2rem 1.5rem;
    }
    
    .submenu a {
        font-size: 1.3rem;
        padding: 0.8rem 2.5rem;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--background-light);
}

/* Approval Stats Section */
.approval-stats {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 5rem;
    border: 2px solid var(--secondary-light);
}

.approval-header {
    text-align: center;
    margin-bottom: 4rem;
}

.approval-header h3 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight-approval {
    color: var(--success-color);
    font-weight: 800;
}

.approval-header p {
    font-size: 1.8rem;
    color: var(--text-medium);
}

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

.approval-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.approval-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.approval-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success-color), #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.approval-icon i {
    font-size: 2.4rem;
    color: white;
}

.approval-content h4 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.approval-content p {
    font-size: 1.5rem;
    color: var(--text-medium);
    line-height: 1.5;
}

.benefits-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-top: 4rem;
}

.benefits-content {
    flex: 1;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 2.4rem;
    color: var(--secondary-color);
}

.benefit-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-text p {
    color: var(--text-medium);
    font-size: 1.5rem;
}

.benefits-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
}

/* Courses Section */
.courses {
    background-color: var(--background-gray);
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.course-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Pricing Section - Novo design moderno */
.pricing-section {
    margin-top: 5rem;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.pricing-tabs::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.pricing-tab {
    padding: 1.2rem 2.5rem;
    background-color: var(--background-gray);
    border: none;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    margin: 0 1.5rem;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: visible;
}

.pricing-tab.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.pricing-tab:hover:not(.active) {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.pricing-content {
    position: relative;
}

.pricing-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    position: relative;
}

.pricing-tab-content.active {
    display: block;
}

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

@keyframes floatUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.pricing-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    max-width: 35rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 1rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.pricing-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.pricing-card.premium {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 35px rgba(var(--primary-color-rgb), 0.2);
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
    position: relative;
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: calc(var(--border-radius) + 5px);
    opacity: 0;
    z-index: -1;
    transition: all 0.5s ease;
}

.pricing-card.premium:hover {
    transform: scale(1.05) translateY(-10px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(var(--primary-color-rgb), 0.25);
}

.pricing-card.premium:hover::before {
    opacity: 0.5;
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

.pricing-card-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    color: var(--text-dark);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
    text-align: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-card-ribbon {
    transform: translateY(0);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4);
}

.pricing-card-ribbon.popular {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7043 100%);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.4);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    animation: pulse-popular 2s ease-in-out infinite;
}

@keyframes pulse-popular {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(255, 87, 34, 0.4);
    }
    50% { 
        box-shadow: 0 6px 25px rgba(255, 87, 34, 0.6);
    }
}

.pricing-card:hover .pricing-card-ribbon.popular {
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.7);
    animation: none;
}

.pricing-card-ribbon.economic {
    background: linear-gradient(135deg, var(--success-color) 0%, #66bb6a 100%);
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.pricing-card:hover .pricing-card-ribbon.economic {
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}

.pricing-card-ribbon.premium {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-card-ribbon.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pricing-card:hover .pricing-card-ribbon.premium {
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
}

.pricing-card-header {
    padding: 4rem 2.5rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--background-gray), var(--background-light));
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 3.5rem;
}

.pricing-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}

.pricing-card:hover .pricing-card-header::before {
    opacity: 1;
    transform: scale(1);
}

.pricing-card-img {
    width: 30rem; /* tamanho previsível para evitar layout shift e controlar decode */
    height: auto;
    margin: 0 auto 2rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
    animation: none; /* Perf: remover animação contínua nas imagens grandes */
}

.pricing-card:hover .pricing-card-img {
    transform: scale(1.1) translateY(-5px) rotate(5deg);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
    animation-play-state: paused;
}

.pricing-card-header h3 {
    margin: 0.5rem 0;
    font-size: 2.2rem;
    color: var(--text-dark);
}

.pricing-card-header p {
    color: var(--text-medium);
    font-size: 1.6rem;
    margin-bottom: 0;
}

.pricing-card-price {
    padding: 3rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), rgba(var(--primary-color-rgb), 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.pricing-card-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><rect fill="rgba(255,255,255,0.05)" x="25" width="1" height="100"/><rect fill="rgba(255,255,255,0.05)" x="50" width="1" height="100"/><rect fill="rgba(255,255,255,0.05)" x="75" width="1" height="100"/><rect fill="rgba(255,255,255,0.05)" y="25" width="100" height="1"/><rect fill="rgba(255,255,255,0.05)" y="50" width="100" height="1"/><rect fill="rgba(255,255,255,0.05)" y="75" width="100" height="1"/></svg>');
    opacity: 0.5;
    z-index: -1;
}


.pricing-card .old-price {
    text-decoration: line-through;
    color: var(--text-medium);
    font-size: 1.6rem;
    margin-right: 1rem;
    display: inline-block;
}

.pricing-card .current-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pricing-card .current-price::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.pricing-card-features {
    padding: 2.5rem;
}

.feature-group {
    margin-bottom: 2rem;
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group.payment-options {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: fit-content;
    background: linear-gradient(to bottom, rgba(var(--primary-color-rgb), 0.03), transparent);
    border-radius: 0;
    border: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-medium);
    padding: 0.5rem 1rem;
    line-height: 1.4;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 4px;
    position: relative;
    width: 100%;
}

.feature-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--success-color);
    margin-right: 1rem;
    font-size: 1.6rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
    animation: rotateIcon 1s ease infinite;
}

.pricing-card-footer {
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(to bottom, var(--background-gray), var(--background-light));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pricing-card-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover .pricing-card-footer::before {
    opacity: 1;
}

.pricing-card-footer .btn-primary,
.pricing-card-footer .btn-secondary {
    padding: 1.4rem 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    border: none;
}

.pricing-card-footer .btn-primary {
    /* A11y: usar mesma cor sólida do primário para contraste consistente */
    background: #bf360c;
    color: var(--text-light);
}

.pricing-card-footer .btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-light);
}

.pricing-card-footer .btn-primary:hover,
.pricing-card-footer .btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.pricing-card-footer .btn-primary:active,
.pricing-card-footer .btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.pricing-card-footer .btn-primary:before,
.pricing-card-footer .btn-secondary: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;
    z-index: -1;
}

.pricing-card-footer .btn-primary:hover:before,
.pricing-card-footer .btn-secondary:hover:before {
    left: 100%;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0.7;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.limited-spots {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--warning-color-light);
    color: var(--warning-color);
    border-radius: 5rem;
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(var(--warning-color-rgb), 0.2);
    border: 1px solid rgba(var(--warning-color-rgb), 0.1);
    position: relative;
    overflow: hidden;
}

.limited-spots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: limitedSpotsPulse 2s infinite;
}

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

.limited-spots.urgent {
    background-color: var(--error-color-light);
    color: var(--error-color);
    box-shadow: 0 3px 10px rgba(var(--error-color-rgb), 0.2);
    border: 1px solid rgba(var(--error-color-rgb), 0.1);
    animation: urgentPulse 1.5s infinite;
}

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

.limited-spots i {
    margin-right: 0.5rem;
}

/* Adição de categoria - Card específico */
.add-category-card {
    max-width: 60rem;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--background-light), var(--background-gray));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    transform: none;
}

.add-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(var(--primary-color-rgb), 0.15);
}

.add-category-card .pricing-card-header {
    background: linear-gradient(to bottom, var(--primary-light), var(--background-light));
}

.add-category-card .pricing-card-header h3 {
    color: var(--primary-color);
    font-size: 2.6rem;
}

/* JavaScript para as tabs */
.pricing-tab-content {
    display: none;
}

.pricing-tab-content.active {
    display: block;
}

.course-badge {
    position: absolute;
    top: 2rem;
    right: -3rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    z-index: 1;
}

.course-badge.popular {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.course-badge.economic {
    background-color: var(--success-color);
    color: var(--text-light);
}

.course-badge.premium {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.course-header {
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.course-header h3 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.course-header p {
    color: var(--text-medium);
    font-size: 1.6rem;
}

.course-price {
    padding: 2rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.02);
}

.payment-options {
    padding: 1rem 2rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.payment-options p {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: var(--text-medium);
}

.payment-options i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-medium);
    font-size: 1.8rem;
    margin-right: 1rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.course-features {
    padding: 2rem;
}

.course-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.course-features i {
    color: var(--success-color);
}

.course-footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.limited-spots {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.limited-spots i {
    color: var(--warning-color);
}

.limited-spots.urgent i {
    color: var(--error-color);
}

.course-card.premium {
    transform: scale(1.05);
    z-index: 2;
    border: 2px solid var(--accent-color);
}

.course-card.premium:hover {
    transform: scale(1.05) translateY(-10px);
}

.additional-info {
    margin-top: 4rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 2px dashed var(--primary-color);
}

.additional-info h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.additional-description {
    margin: 2rem 0;
    font-size: 1.6rem;
    color: var(--text-medium);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background-color: var(--background-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-media {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-image {
    transform: scale(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.8) 0%, rgba(255, 193, 7, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover .media-overlay {
    opacity: 1;
}

.media-overlay i {
    font-size: 4rem;
    color: var(--text-light);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 0%;
    border-radius: 20px 20px 0 0;
}

/* Adjust for vertical videos: keep full height with letterbox sides */
.video-container.vertical {
    aspect-ratio: 9 / 16;
    height: auto;
}
.video-container.vertical video {
    object-fit: contain;
    background: #000;
    border-radius: 20px 20px 0 0;
}

/* Landscape fallback */
.video-container.landscape {
    aspect-ratio: 16 / 9;
    height: auto;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 87, 34, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.play-button:hover {
    background: rgba(255, 87, 34, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: var(--text-light);
    margin-left: 5px;
}

.testimonial-content {
    padding: 2.5rem;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.3rem;
}

.testimonial-rating i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.testimonial-text {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -10px;
    font-family: serif;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-info p {
    font-size: 1.4rem;
    color: var(--text-medium);
    margin: 0;
}

.testimonials-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7043 100%);
    border-radius: 20px;
    color: var(--text-light);
}

.testimonials-cta p {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonials-cta .btn-primary {
    /* A11y: botão claro sobre fundo escuro pode perder contraste; usar primário escuro */
    background: #bf360c;
    color: var(--text-light);
    border: 2px solid rgba(255,255,255,0.85);
    font-weight: 700;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
}

.testimonials-cta .btn-primary:hover {
    background: #a33a12;
    color: var(--text-light);
}

/* Offer Section */
.offer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%), url('https://newr7-r7-prod.web.arc-cdn.net/resizer/v2/AEMLAH6WMBKMRA7EDHTWPEFTF4.jpg?auth=3c9d4e75cfe1e26268401ac8b06df4bee0252bdceca5ccb0c43fa21b0fbaf352&width=1500&height=893');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 8rem 0;
    color: var(--text-light);
    position: relative;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.offer-feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.offer-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.offer-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    min-width: 40px;
}

.offer-feature p {
    color: var(--text-light);
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.4;
}

.offer-feature strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* Offer Urgency Section */
.offer-urgency {
    margin-bottom: 4rem;
}

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

.urgency-stat {
    text-align: center;
    background: rgba(255, 107, 53, 0.2);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.urgency-stat:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.5);
}

.urgency-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.urgency-stat p {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
}

/* Offer Guarantee */
.offer-guarantee {
    color: var(--text-light);
    font-size: 1.6rem;
    text-align: center;
    margin-top: 2rem;
    opacity: 0.9;
    font-weight: 500;
}

.offer-guarantee i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Countdown Container */
.countdown-container {
    margin: 3rem 0;
}

.countdown-container p {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7043 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: countdown-pulse 2s ease-in-out infinite;
}

@keyframes countdown-pulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(255, 87, 34, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 12px 35px rgba(255, 87, 34, 0.6);
        transform: scale(1.05);
    }
}

.countdown-item p {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Offer CTA Button */
.offer .btn-primary {
    /* A11y: cor sólida mais escura para contraste adequado */
    background: #bf360c;
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(191, 54, 12, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.offer .btn-primary:hover {
    background: #a33a12;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(163, 58, 18, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.offer .limited-offer {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    margin-top: 1.5rem;
}

/* Responsive adjustments for Offer section */
@media (max-width: 768px) {
    .offer {
        background-attachment: scroll;
        padding: 6rem 0;
    }
    
    .offer-subtitle {
        font-size: 1.6rem;
        margin-bottom: 2.5rem;
    }
    
    .offer-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .offer-feature {
        padding: 1.5rem;
    }
    
    .offer-feature i {
        font-size: 2rem;
    }
    
    .offer-feature p {
        font-size: 1.4rem;
    }
    
    .urgency-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .urgency-stat {
        padding: 1.5rem;
    }
    
    .urgency-number {
        font-size: 2.8rem;
    }
    
    .urgency-stat p {
        font-size: 1.2rem;
    }
    
    .offer-guarantee {
        font-size: 1.4rem;
    }
    
    .countdown {
        gap: 1.5rem;
    }
    
    .countdown-item span {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }
    
    .countdown-item p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .offer {
        padding: 5rem 0;
    }
    
    .offer-subtitle {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .offer-features {
        margin-bottom: 2.5rem;
    }
    
    .offer-feature {
        padding: 1.2rem;
    }
    
    .offer-feature i {
        font-size: 1.8rem;
    }
    
    .offer-feature p {
        font-size: 1.3rem;
    }
    
    .urgency-stats {
        margin-top: 1.5rem;
    }
    
    .urgency-stat {
        padding: 1.2rem;
    }
    
    .urgency-number {
        font-size: 2.4rem;
    }
    
    .urgency-stat p {
        font-size: 1.1rem;
    }
    
    .offer-guarantee {
        font-size: 1.3rem;
    }
    
    .countdown {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .countdown-item span {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .countdown-item p {
        font-size: 1.1rem;
    }
    
    .countdown-container p {
        font-size: 1.5rem;
    }
}

.offer .section-title {
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.offer-subtitle {
    font-size: 2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

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

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.faq-question i {
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 2rem;
    color: var(--text-medium);
    font-size: 1.6rem;
}

.faq-item.active .faq-question {
    background-color: var(--primary-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact Section */
.contact {
    background-color: var(--background-light);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info p {
    font-size: 1.6rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-method i {
    font-size: 2.4rem;
    color: var(--primary-color);
}

.contact-method h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-method p {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

.social-media {
    display: flex;
    gap: 1.5rem;
}

.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

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

.form-header h3 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.6rem;
    color: var(--text-medium);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1.6rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-footer p {
    font-size: 1.4rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-footer i {
    color: var(--success-color);
}

/* Chat Flutuante */
.floating-chat {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

/* Botão Flutuante do WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    background: #128c7e;
}

.floating-whatsapp i {
    font-size: 28px;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
}

/* Botão do Chat */
.chat-toggle {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 87, 34, 0.4);
}

.chat-toggle-icon {
    color: white;
    font-size: 24px;
}

.chat-toggle-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.chat-toggle-badge.show {
    opacity: 1;
    transform: scale(1);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 87, 34, 0.6); }
    100% { box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3); }
}

/* Widget do Chat */
.chat-widget {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 450px;
    height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-widget.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header do Chat */
.chat-widget-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px 20px 0 0;
}

.chat-widget-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-widget-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-widget-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-widget-info p {
    margin: 2px 0 0;
    font-size: 12px;
    opacity: 0.8;
}

.chat-widget-actions {
    display: flex;
    gap: 8px;
}

.chat-widget-whatsapp {
    width: 30px;
    height: 30px;
    background: #25d366;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.chat-widget-whatsapp:hover {
    background: #128c7e;
    transform: scale(1.1);
}

.chat-widget-minimize,
.chat-widget-close {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.chat-widget-minimize:hover,
.chat-widget-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Área de Mensagens */
.chat-widget-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f8fafc;
    box-sizing: border-box;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: messageSlide 0.3s ease;
    margin-bottom: 15px;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    align-items: flex-start;
}

.chat-message.user {
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-end;
}

.chat-message.user .chat-message-content {
    background: #ff5722;
    color: #ffffff;
    border-bottom-right-radius: 6px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    max-width: 70%;
    align-self: flex-end;
}

.chat-message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    flex-shrink: 0;
    position: relative;
}

.chat-message.user .chat-message-avatar {
    background: var(--primary-color);
}

.chat-message.bot .chat-message-avatar {
    background: var(--secondary-color);
}

.chat-message-content {
    max-width: 70%;
    min-width: 200px;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    flex-shrink: 0;
    position: relative;
}

.chat-message.user .chat-message-content {
    background: #ff5722;
    color: #ffffff;
    border-bottom-right-radius: 6px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message.bot .chat-message-content {
    background: #ffffff;
    color: #111827;
    border: 2px solid #d1d5db;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 500;
    align-self: flex-start;
    margin-right: auto;
    max-width: 70%;
    position: relative;
    flex-shrink: 0;
}

.chat-message.bot .chat-message-buttons {
    margin-left: 45px;
    padding-left: 0;
    width: auto;
    max-width: calc(70% - 45px);
    align-self: flex-start;
    position: relative;
    margin-right: auto;
}

/* Estilos para Markdown renderizado */
.chat-message-content h1,
.chat-message-content h2,
.chat-message-content h3,
.chat-message-content h4,
.chat-message-content h5,
.chat-message-content h6 {
    margin: 10px 0 5px 0;
    font-weight: 600;
    color: var(--text-dark);
}

.chat-message-content h1 { font-size: 18px; }
.chat-message-content h2 { font-size: 16px; }
.chat-message-content h3 { font-size: 15px; }
.chat-message-content h4 { font-size: 14px; }
.chat-message-content h5 { font-size: 13px; }
.chat-message-content h6 { font-size: 12px; }

.chat-message-content p {
    margin: 8px 0;
    line-height: 1.5;
}

.chat-message-content strong {
    font-weight: 600;
    color: var(--primary-color);
}

.chat-message-content em {
    font-style: italic;
}

.chat-message-content ul,
.chat-message-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.chat-message-content li {
    margin: 4px 0;
}

.chat-message-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.chat-message-content pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 8px 0;
}

.chat-message-content pre code {
    background: none;
    padding: 0;
}

.chat-message-content blockquote {
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
    margin: 8px 0;
    font-style: italic;
    color: var(--text-medium);
}

.chat-message-content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.chat-message-content a:hover {
    text-decoration: underline;
}

.chat-message-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    width: 100%;
    align-items: flex-start;
    margin-left: 0;
    position: relative;
    box-sizing: border-box;
}

.chat-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #1e40af;
    color: #ffffff;
    border: 2px solid #1e40af;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    min-width: 120px;
    word-wrap: break-word;
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    justify-content: center;
    margin-left: 0;
    box-sizing: border-box;
}

.chat-button:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

.chat-button i {
    font-size: 14px;
}

/* Área de Input */
.chat-widget-input {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.chat-widget-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-widget-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #374151;
    font-weight: 500;
}

.chat-widget-input input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

.chat-widget-input input:focus {
    border-color: #ff5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
    background: #ffffff;
}

.chat-widget-send {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-widget-send:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.chat-widget-send:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.chat-widget-footer {
    margin-top: 10px;
    text-align: center;
}

.chat-widget-footer p {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.chat-widget-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.chat-widget-footer a:hover {
    text-decoration: underline;
}

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

/* Loading */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    max-width: 70%;
    animation: messageSlide 0.3s ease;
}

.chat-typing-dots {
    display: flex;
    gap: 3px;
}

.chat-typing-dot {
    width: 6px;
    height: 6px;
    background: var(--text-medium);
    border-radius: 50%;
    animation: typingDot 1.4s infinite ease-in-out;
}

.chat-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .chat-widget {
        width: calc(100vw - 40px);
        height: 60vh;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    
    .floating-chat {
        left: 10px;
        bottom: 10px;
    }
}

/* Desktop - Chat maior para PC */
@media (min-width: 1024px) {
    .chat-widget {
        width: 500px;
        height: 650px;
    }
}

@media (min-width: 1440px) {
    .chat-widget {
        width: 550px;
        height: 700px;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 999;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--text-light);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i {
    font-size: 3rem;
}

/* ===================== */
/* Testimonial Video Modal */
/* ===================== */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.video-modal.active {
    display: flex;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}

.video-modal__content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.video-modal__player {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal__player video {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    object-fit: contain; /* cobre vertical em mobile, letterbox no desktop */
    background: #000;
}

.video-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.4);
    z-index: 2100;
    transition: background .2s ease, transform .2s ease;
}

.video-modal__close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

/* Prevent body scroll when modal is open */
body.video-modal-open {
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-column h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom i {
    color: var(--error-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .hero-content h2 {
        font-size: 4.2rem;
    }
    
    .benefits-container,
    .contact-container {
        gap: 3rem;
    }
    
    .pricing-cards {
        gap: 2rem;
    }
    
    .pricing-card {
        max-width: 32rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + 2rem);
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.8) 100%), 
                    url('https://jpimg.com.br/uploads/2017/04/3823496660-onibus-lotado.jpeg');
        background-size: cover;
        background-position: center;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
        height: auto;
        min-height: calc(100vh - var(--header-height));
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .benefits-container {
        flex-direction: column;
    }
    
    .benefits-image {
        order: -1;
        margin-bottom: 3rem;
    }
    
    .benefit-item {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .course-card.premium {
        transform: scale(1);
    }
    
    .course-card.premium:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    .pricing-card-ribbon {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .pricing-card-header {
        margin-top: 3rem;
        padding: 3.5rem 2rem 2rem;
    }
    
    .pricing-card-img {
        width: 16rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-media {
        height: 200px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonials-cta {
        padding: 2rem;
    }
    
    .testimonials-cta p {
        font-size: 1.8rem;
    }
    
    .offer {
        background-attachment: scroll;
        padding: 6rem 0;
    }
    
    .offer .btn-primary {
        padding: 1.2rem 2.5rem;
        font-size: 1.6rem;
    }
    
    .countdown-item span {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        transition: right 0.4s ease;
        z-index: 1001;
        padding: 0 2rem 2rem;
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu li {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .menu a {
        display: block;
        padding: 1.5rem;
        font-size: 1.8rem;
        color: var(--text-dark);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .offer-features {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .pricing-tab {
        width: 80%;
        margin: 0;
    }
    
    .pricing-card {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .pricing-card.premium {
        transform: scale(1);
    }
    
    .pricing-card.premium:hover {
        transform: translateY(-10px) rotateX(5deg);
    }
    
    .add-category-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 54%;
    }
    
    .pricing-card-ribbon {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
    
    .pricing-card-header {
        margin-top: 2.5rem;
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .pricing-card-img {
        width: 14rem;
    }
    
    .testimonials-grid {
        gap: 1.5rem;
    }
    
    .testimonial-media {
        height: 180px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1.4rem;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .testimonials-cta {
        padding: 1.5rem;
    }
    
    .testimonials-cta p {
        font-size: 1.6rem;
    }
    
    .offer {
        padding: 5rem 0;
    }
    
    .offer .btn-primary {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }
    
    .countdown-item span {
        width: 60px;
        height: 60px;
        font-size: 2.4rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: calc(var(--header-height) + 1rem);
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.85) 100%), 
                    url('https://jpimg.com.br/uploads/2017/04/3823496660-onibus-lotado.jpeg');
        background-size: cover;
        background-position: center;
    }
    
    .hero .container {
        min-height: calc(100vh - var(--header-height) - 2rem);
        padding: 2rem 1rem;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-content h2 {
        font-size: 3.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .problems-grid,
    .courses-container,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
    
    .whatsapp-button {
        bottom: 2rem;
        right: 2rem;
    }
    
    .whatsapp-button a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--header-height) + 0.5rem);
        min-height: 100vh;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0.9) 100%), 
                    url('https://jpimg.com.br/uploads/2017/04/3823496660-onibus-lotado.jpeg');
        background-size: cover;
        background-position: center;
    }
    
    .hero .container {
        min-height: calc(100vh - var(--header-height) - 1rem);
        padding: 1rem 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-content p {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .cta-container {
        margin-top: 1rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary {
        padding: 1rem 2rem;
        font-size: 1.4rem;
        width: 100%;
        max-width: 280px;
    }
    
    .limited-offer {
        font-size: 1.2rem;
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 375px) {
    .hero {
        padding-top: calc(var(--header-height) + 0.25rem);
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.95) 100%), 
                    url('https://jpimg.com.br/uploads/2017/04/3823496660-onibus-lotado.jpeg');
        background-size: cover;
        background-position: center;
    }
    
    .pricing-card-img {
        width: 12rem;
    }
    
    .hero .container {
        min-height: calc(100vh - var(--header-height) - 0.5rem);
        padding: 0.5rem 0.25rem;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    
    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1.3rem;
        max-width: 250px;
    }
    
    .limited-offer {
        font-size: 1.1rem;
        margin-top: 0.8rem;
    }
}

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

/* AOS Animation Styles */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-left"] {
    transform: perspective(2500px) rotateY(90deg);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
}

/* Why CNH Section - NOVA SEÇÃO */
.why-cnh {
    background: #ffffff;
    padding: 8rem 0;
    position: relative;
}

.why-cnh .section-title {
    text-align: center;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-cnh .section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-medium);
    margin-bottom: 5rem;
    font-weight: 400;
}

.why-cnh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.why-cnh-card {
    background: var(--background-light);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-cnh-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.why-cnh-card.primary::before {
    background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
}

.why-cnh-card.secondary::before {
    background: linear-gradient(90deg, #4ecdc4 0%, #44a08d 100%);
}

.why-cnh-card.tertiary::before {
    background: linear-gradient(90deg, #a8edea 0%, #fed6e3 100%);
}

.why-cnh-card.quaternary::before {
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
}

.why-cnh-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.why-cnh-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--text-light);
}

.why-cnh-card.primary .why-cnh-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.why-cnh-card.secondary .why-cnh-icon {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.why-cnh-card.tertiary .why-cnh-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.why-cnh-card.quaternary .why-cnh-icon {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.why-cnh-content h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.why-cnh-stats {
    font-size: 1.6rem;
    color: var(--text-medium);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.why-cnh-stats strong {
    color: var(--primary-color);
    font-weight: 700;
}

.why-cnh-description {
    font-size: 1.5rem;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

.why-cnh-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7043 100%);
    border-radius: 25px;
    padding: 4rem;
    color: var(--text-light);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
}

.why-cnh-cta h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.why-cnh-cta p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.why-cnh-cta .btn-primary {
    background: #bf360c;
    color: var(--text-light);
    border: 3px solid rgba(255,255,255,0.85);
    font-size: 1.8rem;
    padding: 1.5rem 4rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.why-cnh-cta .btn-primary:hover {
    background: #a33a12;
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for Why CNH section */
@media (max-width: 768px) {
    .why-cnh {
        padding: 6rem 0;
    }
    
    .why-cnh .section-title {
        font-size: 2.8rem;
    }
    
    .why-cnh .section-subtitle {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .why-cnh-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .why-cnh-card {
        padding: 2.5rem;
    }
    
    .why-cnh-content h3 {
        font-size: 1.8rem;
    }
    
    .why-cnh-stats {
        font-size: 1.4rem;
    }
    
    .why-cnh-description {
        font-size: 1.3rem;
        padding: 1.5rem;
    }
    
    .why-cnh-cta {
        padding: 3rem 2rem;
    }
    
    .why-cnh-cta h3 {
        font-size: 2.2rem;
    }
    
    .why-cnh-cta p {
        font-size: 1.5rem;
    }
    
    .why-cnh-cta .btn-primary {
        font-size: 1.5rem;
        padding: 1.2rem 3rem;
    }
}

@media (max-width: 576px) {
    .why-cnh {
        padding: 5rem 0;
    }
    
    .why-cnh .section-title {
        font-size: 2.4rem;
    }
    
    .why-cnh .section-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .why-cnh-card {
        padding: 2rem;
    }
    
    .why-cnh-content h3 {
        font-size: 1.6rem;
    }
    
    .why-cnh-stats {
        font-size: 1.3rem;
    }
    
    .why-cnh-description {
        font-size: 1.2rem;
        padding: 1.2rem;
    }
    
    .why-cnh-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .why-cnh-cta h3 {
        font-size: 1.8rem;
    }
    
    .why-cnh-cta p {
        font-size: 1.3rem;
    }
    
    .why-cnh-cta .btn-primary {
        font-size: 1.3rem;
        padding: 1rem 2.5rem;
    }
}

/* Video Convincing Section - NOVA SEÇÃO */
.video-convincing {
    background: transparent;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.video-convincing::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="rgba(100,181,246,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.video-convincing-content {
    position: relative;
    z-index: 2;
}

.video-header {
    text-align: center;
    margin-bottom: 5rem;
}

.video-title {
    font-size: 3.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 50%, #ff5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(244, 67, 54, 0.3);
}

.video-subtitle {
    font-size: 1.8rem;
    color: #424242;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Video Container Main */
.video-container-main {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.video-background-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.12) 0%, rgba(211, 47, 47, 0.12) 100%);
    border-radius: 30px;
    filter: blur(20px);
    z-index: -1;
}

.video-frame {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 25px;
    padding: 8px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(244, 67, 54, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(244, 67, 54, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.video-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%);
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
}

.video-frame video,
.video-frame iframe {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.video-frame iframe {
    aspect-ratio: 16/9;
    min-height: 400px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 3;
}

.video-frame video:not([paused]) + .video-overlay,
.video-frame video:not([paused]) ~ .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-button-large {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #ff5722 0%, #ff7043 50%, #ff8a65 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 15px 35px rgba(255, 87, 34, 0.6),
        0 0 0 8px rgba(255, 255, 255, 0.95),
        0 0 0 16px rgba(255, 87, 34, 0.3);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.play-button-large::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: left 0.6s ease;
}

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

.play-button-large:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 20px 50px rgba(25, 118, 210, 0.6),
        0 0 0 8px rgba(255, 255, 255, 1),
        0 0 0 16px rgba(100, 181, 246, 0.4);
}

.play-button-large:active {
    transform: scale(1.05);
}

.play-button-large i {
    font-size: 3.5rem;
    color: white;
    margin-left: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.stat-label {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.video-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 67, 54, 0.15) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    animation: video-glow-pulse 4s ease-in-out infinite;
}

@keyframes video-glow-pulse {
    0%, 100% { 
        opacity: 0.2;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Video CTA Section */
.video-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 25px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(244, 67, 54, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-cta-content {
    text-align: center;
}

.video-cta-content h3 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-cta-content p {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

.video-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-size: 1.4rem;
    opacity: 0.8;
}

.video-feature i {
    color: #d32f2f;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

/* Botão de Ação Principal */
.video-action-button {
    display: inline-block;
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 30px rgba(244, 67, 54, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.95),
        0 0 0 6px rgba(244, 67, 54, 0.3);
    position: relative;
    overflow: hidden;
}

.video-action-button::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;
}

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

.video-action-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(244, 67, 54, 0.5),
        0 0 0 4px rgba(255, 255, 255, 1),
        0 0 0 8px rgba(244, 67, 54, 0.4);
}

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

.video-action-button i {
    margin-right: 1rem;
    font-size: 1.8rem;
}

/* Responsive adjustments for Video Convincing section */
@media (max-width: 768px) {
    .video-convincing {
        padding: 6rem 0;
    }
    
    .video-title {
        font-size: 2.8rem;
    }
    
    .video-subtitle {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .video-frame {
        padding: 6px;
    }
    
    .play-button-large {
        width: 100px;
        height: 100px;
    }
    
    .play-button-large i {
        font-size: 2.5rem;
    }
    
    .video-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .video-cta {
        padding: 2.5rem;
    }
    
    .video-cta-content h3 {
        font-size: 2.2rem;
    }
    
    .video-cta-content p {
        font-size: 1.4rem;
    }
    
    .video-features {
        gap: 2rem;
    }
    
    .video-action-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .video-convincing {
        padding: 5rem 0;
    }
    
    .video-title {
        font-size: 2.4rem;
    }
    
    .video-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .video-frame {
        padding: 4px;
    }
    
    .play-button-large {
        width: 80px;
        height: 80px;
    }
    
    .play-button-large i {
        font-size: 2rem;
    }
    
    .video-stats {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .video-cta {
        padding: 2rem;
    }
    
    .video-cta-content h3 {
        font-size: 1.8rem;
    }
    
    .video-cta-content p {
        font-size: 1.3rem;
    }
    
    .video-features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .video-feature {
        font-size: 1.3rem;
    }
    
    .video-action-button {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
}

/* ===== MENU DE INSIGNIAS COM LOOP INFINITO ===== */
.insignias-section {
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    background: transparent;
}

.insignias-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.insignias-track {
    display: flex;
    animation: scroll-insignias 30s linear infinite;
    width: max-content;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 0 !important;
}

/* Ajustes específicos para o menu de insignias */
.insignias-track {
    display: flex;
    animation: scroll-insignias 30s linear infinite;
    width: max-content;
    margin: 0;
    padding: 0;
    position: relative;
}

.insignias-track.reverse {
    animation: scroll-insignias-reverse 30s linear infinite;
}

/* Container próprio para o menu de insignias */
.insignias-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

/* Espaçamento entre as seções de insignias */
.insignias-wrapper + .insignias-wrapper {
    margin-top: 2rem;
}

.insignia-item {
    flex-shrink: 0;
    margin: 0 20px;
    animation: fade-in-out 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.insignia-item:first-child {
    margin-left: 0;
}

.insignia-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.insignia-badge {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    min-width: 320px;
    height: 90px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo da auto escola no badge */
.insignia-badge .school-logo {
    position: absolute;
    top: 8px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #35a4ff 0%, #1e95f7 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    z-index: 2;
}

.insignia-photo {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 
        0 4px 15px rgba(102, 126, 234, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.insignia-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

.insignia-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.insignia-photo span {
    color: white;
    font-weight: 700;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
    position: relative;
}

.insignia-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.insignia-name {
    font-weight: 600;
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.insignia-status {
    font-weight: 700;
    font-size: 17px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 1px 2px rgba(40, 167, 69, 0.2);
    position: relative;
}

.insignia-status::after {
    content: '✓';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-size: 14px;
    font-weight: bold;
}

/* Texto identificador da auto escola */
.insignia-school {
    position: absolute;
    bottom: 8px;
    right: 15px;
    font-size: 9px;
    color: #ff6b35;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Badge "ALUNO" no canto superior esquerdo */
.insignia-badge::before {
    content: 'ALUNO';
    position: absolute;
    top: 8px;
    left: 15px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 8px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Efeito de degradê nas bordas */
.insignias-container::before,
.insignias-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.insignias-container::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(248, 249, 250, 0.9) 0%, 
        rgba(248, 249, 250, 0.6) 60%, 
        rgba(248, 249, 250, 0) 100%);
}

.insignias-container::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(248, 249, 250, 0.9) 0%, 
        rgba(248, 249, 250, 0.6) 60%, 
        rgba(248, 249, 250, 0) 100%);
}

/* Animação de scroll infinito */
@keyframes scroll-insignias {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

/* Animação de fade in/out para cada insignia */
@keyframes fade-in-out {
    0%, 100% {
        opacity: 0.7;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animação shimmer para a foto */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .insignias-wrapper {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .insignias-section {
        padding: 3rem 0;
    }
    
    .insignias-container {
        height: 110px;
    }
    
    .insignia-badge {
        min-width: 280px;
        height: 80px;
        padding: 8px 16px;
    }
    
    .insignia-photo {
        width: 55px;
        height: 55px;
        margin-right: 15px;
    }
    
                .insignia-photo span {
                font-size: 10px;
            }
            
            .insignia-name {
                font-size: 13px;
            }
            
            .insignia-status {
                font-size: 15px;
            }
            
            .insignia-school {
                font-size: 8px;
            }
            
            .insignias-container::before,
            .insignias-container::after {
                width: 60px;
            }
}

@media (max-width: 576px) {
    .insignias-wrapper {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .insignias-section {
        padding: 2rem 0;
    }
    
    .insignias-container {
        height: 100px;
    }
    
    .insignia-badge {
        min-width: 240px;
        height: 70px;
        padding: 6px 12px;
    }
    
    .insignia-photo {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
                .insignia-photo span {
                font-size: 9px;
            }
            
            .insignia-name {
                font-size: 12px;
            }
            
            .insignia-status {
                font-size: 13px;
            }
            
            .insignia-school {
                font-size: 7px;
            }
            
            .insignias-container::before,
            .insignias-container::after {
                width: 40px;
            }
}

/* Sistema de Iscas Inteligentes */
.bait-system {
    position: fixed;
    z-index: 999;
    pointer-events: none;
}

/* Balão de Chat Flutuante */
.chat-bubble {
    position: fixed;
    bottom: 120px;
    left: 30px;
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(255, 87, 34, 0.3);
    max-width: 280px;
    min-width: 250px;
    transform: translateX(-100%) scale(0.8);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;  /* ✅ CORREÇÃO: Não é clicável quando escondido */
    animation: bubbleFloat 3s ease-in-out infinite;
    filter: blur(2px);
}

.chat-bubble.show {
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;  /* ✅ CORREÇÃO: Reativa eventos de clique quando visível */
    filter: blur(0px);
    animation: bubbleEntrance 0.8s ease-out, bubbleFloat 3s ease-in-out infinite 0.8s, bubblePulse 2s ease-in-out infinite 1.2s;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ff5722;
    animation: bubbleTail 0.6s ease-out 0.3s both;
}

/* 🎨 ANIMAÇÕES ESPETACULARES PARA O CHAT BUBBLE */

/* Animação de entrada suave */
@keyframes bubbleEntrance {
    0% {
        transform: translateX(-100%) scale(0.8) rotateY(-15deg);
        opacity: 0;
        filter: blur(3px);
    }
    50% {
        transform: translateX(-20%) scale(1.1) rotateY(-5deg);
        opacity: 0.8;
        filter: blur(1px);
    }
    100% {
        transform: translateX(0) scale(1) rotateY(0deg);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Animação de flutuação suave */
@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Animação de pulsação para chamar atenção */
@keyframes bubblePulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(255, 87, 34, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px rgba(255, 87, 34, 0.6), 0 0 20px rgba(255, 87, 34, 0.4);
    }
}

/* Animação da cauda do balão */
@keyframes bubbleTail {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Animação de brilho para chamar atenção */
@keyframes bubbleShine {
    0% {
        background: linear-gradient(135deg, #ff5722, #ff7043);
    }
    50% {
        background: linear-gradient(135deg, #ff7043, #ff8a65);
    }
    100% {
        background: linear-gradient(135deg, #ff5722, #ff7043);
    }
}

/* Animação de entrada dos botões */
@keyframes buttonEntrance {
    0% {
        transform: translateY(20px) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Animação de hover melhorada para os botões */
.bubble-chat-btn:hover, .bubble-context-btn:hover, .bubble-close-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease-out;
}

/* Animação de entrada do avatar */
@keyframes avatarEntrance {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Animação de pulsação do avatar */
.chat-bubble.show .bubble-avatar-img {
    animation: avatarEntrance 0.8s ease-out 0.2s both, avatarPulse 2s ease-in-out infinite 1s;
}

@keyframes avatarPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

/* Animação de entrada do texto */
@keyframes textEntrance {
    0% {
        transform: translateX(-20px);
        opacity: 0;
    }
    50% {
        transform: translateX(5px);
        opacity: 0.7;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animação de destaque para palavras importantes */
.bubble-text strong {
    animation: textHighlight 2s ease-in-out infinite 1s;
}

@keyframes textHighlight {
    0%, 100% {
        color: #ffffff;
    }
    50% {
        color: #ffeb3b;
        text-shadow: 0 0 5px rgba(255, 235, 59, 0.5);
    }
}

/* Animação de saída do balão */
.chat-bubble.hiding {
    animation: bubbleExit 0.5s ease-in forwards;
    pointer-events: none;
}

@keyframes bubbleExit {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translateX(-30px) scale(0.9);
        opacity: 0.5;
        filter: blur(1px);
    }
    100% {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
        filter: blur(3px);
    }
}

/* Efeito de partículas para chamar atenção */
.chat-bubble::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite 1s;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 0.3;
    }
}

.bubble-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.bubble-avatar-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    animation: avatarEntrance 0.8s ease-out 0.2s both;
    transform: scale(0) rotate(-180deg);
}

.bubble-avatar-info {
    flex: 1;
    min-width: 0;
}

.bubble-avatar-name {
    font-size: 13px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bubble-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 15px;
    word-wrap: break-word;
    animation: textEntrance 0.6s ease-out 0.3s both;
    transform: translateX(-20px);
    opacity: 0;
}

.bubble-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.bubble-chat-btn, .bubble-context-btn, .bubble-close-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    animation: buttonEntrance 0.5s ease-out both;
    transform: translateY(20px);
    opacity: 0;
}

/* Garantir que os botões fiquem visíveis após a animação */
.chat-bubble.show .bubble-chat-btn,
.chat-bubble.show .bubble-context-btn,
.chat-bubble.show .bubble-close-btn {
    opacity: 1;
    transform: translateY(0);
}

.bubble-chat-btn {
    animation-delay: 0.4s;
}

.bubble-context-btn {
    animation-delay: 0.6s;
}

.bubble-close-btn {
    animation-delay: 0.8s;
}

.bubble-chat-btn {
    background: #1e40af;
    color: white;
    width: 100%;
    order: 1;
}

.bubble-chat-btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    opacity: 1 !important;
    visibility: visible !important;
}

.bubble-context-btn {
    background: #10b981;
    color: white;
    width: 100%;
    order: 2;
}

.bubble-context-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    opacity: 1 !important;
    visibility: visible !important;
}

.bubble-close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 100%;
    order: 3;
    padding: 8px 16px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bubble-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1 !important;
    visibility: visible !important;
}

/* Modal de Isca */
.bait-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.bait-modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.7);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bait-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-title h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.modal-title p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 14px;
}

.modal-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 30px;
}

.modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    gap: 15px;
}

.modal-chat-btn, .modal-context-btn, .push-whatsapp-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modal-chat-btn {
    background: #1e40af;
    color: white;
}

.modal-chat-btn:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

.modal-context-btn {
    background: #10b981;
    color: white;
}

.modal-context-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.push-whatsapp-btn {
    background: #25d366;
    color: white;
}

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

/* Notificação Push */
.push-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.push-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.push-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.push-icon {
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: white;
    padding: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.push-icon i {
    font-size: 18px;
}

.push-text {
    flex: 1;
}

.push-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.push-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.push-close {
    background: #f1f5f9;
    border: none;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.push-close:hover {
    background: #e2e8f0;
    color: #333;
}

/* Animações */
@keyframes bubbleFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(0) translateY(-10px); }
}

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

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

@keyframes fadeInScale {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsividade para Iscas */
@media (max-width: 768px) {
    .chat-bubble {
        left: 20px;
        right: 20px;
        max-width: none;
        bottom: 100px;
    }
    
    .push-notification {
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
}

/* ✅ CORREÇÃO: Responsividade geral para mobile */
@media (max-width: 768px) {
    /* Prevenir scroll horizontal */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Container principal */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Header responsivo */
    .header {
        width: 100%;
        max-width: 100vw;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Logo responsivo */
    .logo {
        max-width: 100%;
        flex-shrink: 0;
    }
    
    /* Menu responsivo */
    .nav-menu {
        max-width: 100%;
    }
    
    /* Seções principais */
    .hero-section,
    .problems-section,
    .why-cnh-section,
    .courses-section,
    .more-info-section,
    .testimonials-section,
    .contact-section {
        width: 100%;
        max-width: 100vw;
        padding: 0 15px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Imagens responsivas */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    /* Botões responsivos */
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
        display: block;
    }
    
    /* Cards responsivos */
    .card {
        width: 100%;
        max-width: 100%;
        margin: 10px 0;
        box-sizing: border-box;
    }
    
    /* Grid responsivo */
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    /* Footer responsivo */
    .footer {
        width: 100%;
        max-width: 100vw;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Chat bubble responsivo para tablet */
    .chat-bubble {
        bottom: 100px;
        left: 15px;
        right: 15px;
        max-width: none;
        min-width: auto;
        padding: 15px;
    }
    
    .bubble-avatar-img {
        width: 40px;
        height: 40px;
    }
    
    .bubble-avatar-name {
        font-size: 12px;
    }
    
    .bubble-text {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .bubble-chat-btn, .bubble-context-btn, .bubble-close-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ✅ CORREÇÃO: Responsividade para telas muito pequenas */
@media (max-width: 480px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Chat bubble responsivo para mobile pequeno */
    .chat-bubble {
        bottom: 90px;
        left: 10px;
        right: 10px;
        padding: 12px;
    }
    
    .bubble-avatar {
        margin-bottom: 12px;
    }
    
    .bubble-avatar-img {
        width: 35px;
        height: 35px;
    }
    
    .bubble-avatar-name {
        font-size: 11px;
    }
    
    .bubble-text {
        font-size: 11px;
        margin-bottom: 10px;
    }
    
    .bubble-actions {
        gap: 6px;
        margin-top: 10px;
    }
    
    .bubble-chat-btn, .bubble-context-btn, .bubble-close-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Estilos para Markdown nas Iscas */
.bubble-text strong {
    font-weight: 700;
    color: #ffffff;
}

/* Feedback Modal - Nova Zatt */
.form-feedback-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3000;
}
.form-feedback-modal.show { opacity: 1; visibility: visible; }
.form-feedback-content {
    background: #fff;
    width: 92%;
    max-width: 460px;
    border-radius: 18px;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    animation: formModalIn 0.35s ease forwards;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.form-feedback-header {
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}
.form-feedback-avatar img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.form-feedback-title { font-weight: 800; }
.form-feedback-close {
    margin-left: auto;
    background: rgba(255,255,255,0.25);
    border: none; color: #fff;
    width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer;
}
.form-feedback-body { padding: 22px; text-align: center; }
.form-feedback-icon { font-size: 42px; color: #10b981; margin-bottom: 10px; }
.form-feedback-message { color: #374151; font-size: 16px; }
.form-feedback-actions { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.form-feedback-actions button { border: none; border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 700; }
.form-feedback-whatsapp { background: #25d366; color: #fff; }
.form-feedback-chat { background: #1e40af; color: #fff; }

@keyframes formModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.bubble-text em {
    font-style: italic;
    opacity: 0.9;
}

.bubble-text a {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
}

.bubble-text a:hover {
    opacity: 1;
}

.modal-message strong {
    font-weight: 700;
    color: #333;
}

.modal-message em {
    font-style: italic;
    color: #666;
}

.modal-message a {
    color: #ff5722;
    text-decoration: underline;
}

.modal-message a:hover {
    color: #ff7043;
}

.push-message strong {
    font-weight: 700;
    color: #333;
}

.push-message em {
    font-style: italic;
    color: #666;
}

.push-message a {
    color: #ff5722;
    text-decoration: underline;
}

.push-message a:hover {
    color: #ff7043;
}

/* =============================
   Embedded Baits per Section
   ============================= */
.embedded-bait {
    position: relative;
    margin: 20px 16px 50px 16px; /* evita encostar nas bordas em telas menores */
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;        /* não aparece até estar pronto */
    pointer-events: none;       /* evita cliques enquanto invisível */
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.embedded-bait.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.embedded-bait.hide {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
}

.embedded-bait-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    box-sizing: border-box;
}

.embedded-bait-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.embedded-bait-content {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.embedded-bait-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: url('https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=80&h=80&fit=crop&crop=face') center/cover no-repeat, #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.4);
}

.embedded-bait-text { flex: 1; }
.embedded-bait-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; color: #fff; }
.embedded-bait-message { color: #fff; line-height: 1.5; }

.embedded-bait-actions { display: flex; gap: 10px; margin-top: 10px; }
.embedded-bait-chat-btn, .embedded-bait-context-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.embedded-bait-chat-btn:hover, .embedded-bait-context-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    opacity: 1 !important;
}

.embedded-bait-close {
    margin-left: auto;
    align-self: flex-start;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Themes per section */
.embedded-theme-hero { background: linear-gradient(135deg, #111827, #1f2937); }
.embedded-theme-hero .embedded-bait-chat-btn { background: #22c55e; color: #0b2614; }
.embedded-theme-hero .embedded-bait-context-btn { background: #f59e0b; color: #3b2600; }

.embedded-theme-why { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.embedded-theme-why .embedded-bait-chat-btn { background: #111827; color: #fff; }
.embedded-theme-why .embedded-bait-context-btn { background: #e5e7eb; }

.embedded-theme-benefits { background: linear-gradient(135deg, #10b981, #059669); }
.embedded-theme-benefits .embedded-bait-chat-btn { background: #1e40af; color: #fff; }
.embedded-theme-benefits .embedded-bait-context-btn { background: #fbbf24; }

.embedded-theme-courses { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.embedded-theme-courses .embedded-bait-chat-btn { background: #22c55e; color: #0b2614; }
.embedded-theme-courses .embedded-bait-context-btn { background: #38bdf8; }

.embedded-theme-offer { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.embedded-theme-offer .embedded-bait-chat-btn { background: #111827; color: #fff; }
.embedded-theme-offer .embedded-bait-context-btn { background: #f59e0b; }

.embedded-theme-faq { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.embedded-theme-faq .embedded-bait-chat-btn { background: #fbbf24; }
.embedded-theme-faq .embedded-bait-context-btn { background: #111827; color: #fff; }

.embedded-theme-contact { background: linear-gradient(135deg, #22c55e, #15803d); }
.embedded-theme-contact .embedded-bait-chat-btn { background: #1e40af; color: #fff; }
.embedded-theme-contact .embedded-bait-context-btn { background: #e5e7eb; }

.embedded-theme-testimonials { background: linear-gradient(135deg, #f59e0b, #b45309); }
.embedded-theme-testimonials .embedded-bait-chat-btn { background: #fff; }
.embedded-theme-testimonials .embedded-bait-context-btn { background: #111827; color: #fff; }

.embedded-theme-pain { background: linear-gradient(135deg, #ef4444, #7f1d1d); }
.embedded-theme-pain .embedded-bait-chat-btn { background: #22c55e; color: #0b2614; }
.embedded-theme-pain .embedded-bait-context-btn { background: #f59e0b; }

.embedded-theme-video { background: linear-gradient(135deg, #0ea5e9, #1e3a8a); }
.embedded-theme-video .embedded-bait-chat-btn { background: #22c55e; color: #0b2614; }
.embedded-theme-video .embedded-bait-context-btn { background: #e5e7eb; }

.embedded-theme-problems { background: linear-gradient(135deg, #1f2937, #111827); }
.embedded-theme-problems .embedded-bait-chat-btn { background: #f59e0b; }
.embedded-theme-problems .embedded-bait-context-btn { background: #e5e7eb; }

.embedded-theme-trust { background: linear-gradient(135deg, #10b981, #14532d); }
.embedded-theme-trust .embedded-bait-chat-btn { background: #1e40af; color: #fff; }
.embedded-theme-trust .embedded-bait-context-btn { background: #fbbf24; }

/* Responsividade dos embeds */
@media (max-width: 768px) {
    .embedded-bait-inner { padding: 14px; gap: 12px; }
    .embedded-bait-avatar { width: 48px; height: 48px; }
    .embedded-bait-title { font-size: 15px; }
    .embedded-bait-message { font-size: 14px; }
    .embedded-bait-actions { flex-wrap: wrap; }
}

/* Limitar largura em telas grandes e centralizar */
@media (min-width: 1200px) {
    .embedded-bait {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Responsividade para botões flutuantes */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-whatsapp a {
        width: 55px;
        height: 55px;
    }
    
    .floating-whatsapp i {
        font-size: 24px;
    }
    
    .floating-chat {
        bottom: 15px;
        left: 15px;
    }
    
    .chat-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chat-toggle-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
    }
    
    .floating-whatsapp i {
        font-size: 22px;
    }
    
    .floating-chat {
        bottom: 10px;
        left: 10px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chat-toggle-icon {
        font-size: 18px;
    }
}