/* ========================================
   JC OFTALMOLOGIA - CAPSULOTOMIA YAG LASER
   Paleta: Azul #1e3a8a | Vermelho #dc2626
   Baseado na LP Retinografia (referência)
   ======================================== */

:root {
    --primary: #1e3a8a;
    --primary-dark: #102254;
    --primary-light: #3b82f6;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --success: #059669;
    --warning: #d97706;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   RESET E BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-img {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    padding: 2px;
}

.logo-text h2 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 500;
    display: block;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: #fbbf24;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: #fbbf24;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 540px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.hero-feature i {
    color: #34d399;
    font-size: 1.25rem;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-float-card {
    position: absolute;
    background: white;
    color: var(--text-dark);
    padding: 0.40rem 1.0rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-float-card.left {
    left: -50px;
    bottom: 20px;
}

.hero-float-card.right {
    right: -50px;
    top: 15px;
}

.hero-float-card i {
    font-size: 1.4rem;
    color: var(--success);
}

.hero-float-card.right i {
    color: var(--primary);
}

/* ========================================
   SEÇÕES GERAIS
   ======================================== */

.section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 1.125rem;
}

/* ========================================
   WARNING BOX (da LP Retinografia)
   ======================================== */

.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 2rem;
    border-left: 5px solid var(--warning);
    box-shadow: var(--shadow);
}

.warning-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--warning);
}

.warning-box-header i {
    font-size: 1.5rem;
}

.warning-box-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.warning-box p {
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */

.problem {
    background: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Variantes de cards (da LP Retinografia) */
.problem-card.warning {
    border-left-color: var(--warning);
}

.problem-card.warning .problem-icon {
    background: rgba(217, 119, 6, 0.1);
}

.problem-card.warning .problem-icon i {
    color: var(--warning);
}

.problem-card.primary {
    border-left-color: var(--primary);
}

.problem-card.primary .problem-icon {
    background: rgba(30, 58, 138, 0.1);
}

.problem-card.primary .problem-icon i {
    color: var(--primary);
}

.problem-icon {
    width: 50px;
    height: 50px;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.problem-icon i {
    color: var(--accent);
    font-size: 1.5rem;
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.problem-highlight {
    background: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}

.problem-highlight p {
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto;
}

.problem-highlight span {
    color: #fbbf24;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */

.solution {
    background: white;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.solution-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    flex-shrink: 0;
    font-size: 1rem;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ===== VIDEO TRIGGER (replaces static image) ===== */
.solution-video-trigger {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    background: #000;
}

.solution-video-trigger:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.solution-video-trigger img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0.9;
}

.solution-video-trigger:hover img {
    transform: scale(1.05);
    opacity: 0.75;
}

/* Play Button Overlay */
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: playPulse 2s infinite;
}

.play-button svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}

.solution-video-trigger:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(30, 58, 138, 0.55);
}

.video-label {
    margin-top: 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
}

.video-label svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.9;
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.4; }
}

/* Duration Badge */
.solution-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1;
    cursor: pointer;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    background: #000;
    z-index: 2;
    pointer-events: auto;
}

.video-modal.active .video-modal-content {
    transform: scale(1) translateY(0);
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 9/16;
    background: #000;
}

/* Close button — FIXED to viewport so it's always reachable */
.video-modal-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
    padding: 0;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.video-modal-close:hover,
.video-modal-close:active {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.video-modal-close svg {
    width: 22px;
    height: 22px;
}

.video-modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
}

.video-modal.active .video-modal-caption {
    opacity: 1;
    transition-delay: 0.3s;
}

/* Modal responsive */
@media (max-width: 768px) {
    .video-modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .video-modal-content video {
        aspect-ratio: auto;
        max-height: 100vh;
        object-fit: contain;
    }

    .video-modal-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.5);
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-button svg {
        width: 22px;
        height: 22px;
    }

    .video-label {
        font-size: 12px;
    }
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ========================================
   COMPARISON SECTION
   ======================================== */

.comparison {
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:nth-child(even) {
    background: var(--bg-light);
}

.comparison-table tr:hover {
    background: rgba(30, 58, 138, 0.05);
}

.comparison-table .check {
    color: var(--success);
    font-weight: 700;
}

.comparison-table .cross {
    color: var(--accent);
}

/* ========================================
   OFFER SECTION
   ======================================== */

.offer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.offer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.offer-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.offer-content h2 span {
    color: #fbbf24;
}

.offer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.offer-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-item i {
    color: #34d399;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.offer-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.offer-item p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.offer-price-box {
    background: white;
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.price-tag {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-current span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-medium);
}

.price-save {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.price-features {
    text-align: left;
    margin-bottom: 2rem;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.price-feature i {
    color: var(--success);
}

.price-feature:last-child {
    border-bottom: none;
}

/* ========================================
   GUARANTEE SECTION
   ======================================== */

.guarantee {
    background: var(--bg-light);
}

.guarantee-card {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 2px solid var(--success);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.guarantee-icon i {
    font-size: 2.5rem;
    color: var(--success);
}

.guarantee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.guarantee-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

/* ========================================
   URGENCY SECTION
   ======================================== */

.urgency {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.urgency::before {
    content: '⚠️';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 200px;
    opacity: 0.1;
}

.urgency-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.urgency h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.urgency p {
    color: var(--text-medium);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.spots-counter {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.spots-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.spots-text {
    text-align: left;
}

.spots-text strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.spots-text span {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: white;
    border: none;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.25rem;
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ========================================
   TESTIMONIALS - AVATAR NA ESQUINA INFERIOR ESQUERDA
   ======================================== */

.testimonials { background: var(--bg-light); }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;           /* ← REFERÊNCIA para absolute */
    min-height: 280px;           /* ← ALTURA MÍNIMA fixa */
    padding-bottom: 100px;        /* ← ESPAÇO para o avatar */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars { color: #fbbf24; margin-bottom: 1rem; }

.testimonial-text {
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* AVATAR FIXO NA ESQUINA INFERIOR ESQUERDA */
.testimonial-author {
    position: absolute;          /* ← FIXO no card */
    bottom: 1.5rem;             /* ← 1.5rem do fundo */
    left: 2rem;                 /* ← 2rem da esquerda */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-info h4 { font-size: 1rem; color: var(--text-dark); }
.testimonial-info span { font-size: 0.875rem; color: var(--text-light); }

/* ========================================
   CTA FINAL
   ======================================== */

.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-final p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-final .btn {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    padding: 1.25rem 3rem;
}

/* ========================================
   FOOTER (atualizado - estilo LP Retinografia)
   ======================================== */

.footer {
    background: #052650;
    color: white;
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

.footer-section-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-img {
    width: 110px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: white;
    padding: 3px;
}

.footer-link-whatsapp {
    color: #25d366 !important;
    font-weight: 600;
}

.footer-link-whatsapp:hover {
    color: #34d399 !important;
}

.footer-link-maps {
    color: var(--primary-light) !important;
}

.footer-link-maps:hover {
    color: #60a5fa !important;
}

/* Social Media Bar (da LP Retinografia) */
.footer-social {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-social-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-social-link.facebook {
    background: #1877f2;
}

.footer-social-link.facebook:hover {
    background: #166fe5;
}

.footer-social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-link.instagram:hover {
    filter: brightness(1.1);
}

.footer-social-link.googlemaps {
    background: #ea4335;
}

.footer-social-link.googlemaps:hover {
    background: #d33b28;
}

.footer-social-link.whatsapp {
    background: #25d366;
}

.footer-social-link.whatsapp:hover {
    background: #128c7e;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */

.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    animation: ripple 2s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ========================================
   UTILITÁRIOS
   ======================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========================================
   ANIMAÇÕES
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVO
   ======================================== */

@media (min-width: 640px) {
    .hero-cta-group {
        flex-direction: row;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 968px) {
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }

    .solution-content {
        grid-template-columns: 1fr 1fr;
    }

    .offer-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .header-phone {
        display: none;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .price-current {
        font-size: 2.5rem;
    }

    .hero-float-card {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-img {
        margin: 0 auto;
    }

    .footer-social-links {
        gap: 0.75rem;
    }

    .float-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
/* ========================================
   FOOTER - LINK POLÍTICA DE PRIVACIDADE
   ======================================== */

.footer-link-privacy {
    color: white !important;           /* ← BRANCO fixo */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-link-privacy:hover {
    color: #fbbf24 !important;       /* ← amarelo no hover */
    text-decoration: underline;
}

.footer-link-privacy i {
    color: #fbbf24;                   /* ← ícone shield amarelo */
}