/* ============================================
   TRUCO DE LA GELATINA - ESTILO FIEL AO ORIGINAL
   ============================================ */

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --white: #ffffff;
    --black: #000000;
    --text-dark: #1c1e21;
    --text-gray: #65676b;
    --text-light: #606770;
    --red: #e53935;
    --yellow: #ffc107;
    --gold: #d4a000;
    --green: #28a745;
    --green-hover: #218838;
    --blue: #1877f2;
    --blue-dark: #0a3d62;
    --bg-dark: #0d2137;
    --bg-doctor: #1a5276;
    --border-gray: #dadde1;
    --bg-light: #f0f2f5;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--blue);
}

a:hover {
    text-decoration: underline;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: #fff;
    padding: 50px 15px 20px;
    text-align: center;
}

.main-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #000;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    line-height: 1.1;
}

.sub-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin: 0 auto 20px auto;
    max-width: 850px;
}

.text-red {
    color: #e60000;
}

.small-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: italic;
    color: #333;
    margin-top: 15px;
}

.text-gold {
    color: #FFD700;
    font-weight: 700;
}

.text-link {
    color: #385898;
    text-decoration: none;
    font-weight: 600;
}

.text-link:hover {
    text-decoration: underline;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .hero {
        padding: 60px 20px 30px;
    }

    .main-title {
        font-size: 72px;
    }

    .sub-title {
        font-size: 32px;
        max-width: 900px;
    }
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
    background: var(--white);
    padding: 20px 0 40px;
    /* Padding lateral removido para mobile */
}

.video-wrapper {
    max-width: 100%;
    /* Largura total */
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Banner Styles Removed */

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #01579b 100%);
    cursor: pointer;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.play-btn svg {
    width: 35px;
    height: 35px;
    fill: #1a237e;
    margin-left: 5px;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.6);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
#ctaSection {
    display: none;
}

#ctaSection.visible {
    display: block;
}

.cta-section {
    background: var(--white);
    padding: 20px 20px 40px;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    background: var(--green);
    color: var(--white);
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.5);
    text-decoration: none;
    color: var(--white);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(40, 167, 69, 0.6);
    }
}

.cta-icon {
    font-size: 1.8rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cta-main {
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-sub {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ============================================
   DOCTOR SECTION (Dark Background)
   ============================================ */
.doctor-section {
    background: linear-gradient(135deg, #0d2137 0%, #1a5276 100%);
    padding: 60px 20px;
}

.doctor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@media (min-width: 768px) {
    .doctor-content {
        flex-direction: row;
        align-items: flex-start;
    }
}

.doctor-image {
    flex-shrink: 0;
}

.doctor-image img {
    width: 250px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
}

.doctor-info {
    color: var(--white);
    text-align: center;
}

@media (min-width: 768px) {
    .doctor-info {
        text-align: left;
    }
}

.doctor-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.doctor-bio {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.doctor-bio .text-link {
    color: #5dade2;
}

.stats-card {
    display: inline-block;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    padding: 20px 30px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 5px solid #d4a000;
}

.stats-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--black);
}

.stats-text {
    display: block;
    font-size: 0.9rem;
    color: var(--black);
    font-weight: 500;
}

/* ============================================
   GUARANTEE SECTION
   ============================================ */
.guarantee-section {
    background: #0a1929;
    padding: 50px 20px;
}

.guarantee-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
}

@media (min-width: 600px) {
    .guarantee-box {
        flex-direction: row;
        text-align: left;
    }
}

.guarantee-icon img {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.guarantee-content h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 15px;
}

.guarantee-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.guarantee-content a {
    color: #5dade2;
}

/* ============================================
   COMMENTS SECTION (Exact Facebook Style)
   ============================================ */
.comments-section {
    background: var(--bg-light);
    padding: 40px 20px;
}

.fb-comments-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 16px;
    border-left: 3px solid #e4e6eb;
}

.fb-header {
    font-size: 14px;
    color: var(--text-gray);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 8px;
}

/* Facebook Comment */
.fb-comment {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    align-items: flex-start;
}

.fb-comment.fb-reply {
    margin-left: 48px;
}

@media (max-width: 480px) {
    .fb-comment.fb-reply {
        margin-left: 28px;
    }
}

.fb-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fb-body {
    flex: 1;
    min-width: 0;
}

.fb-content {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.4;
    word-wrap: break-word;
}

.fb-author {
    font-weight: 600;
    font-size: 13px;
    color: #385898;
    margin-right: 4px;
    cursor: pointer;
    text-decoration: none;
}

.fb-author:hover {
    text-decoration: underline;
}

.fb-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.35;
}

.fb-mention {
    color: #385898;
    font-weight: 600;
    text-decoration: none;
}

.fb-mention:hover {
    text-decoration: underline;
}

/* Facebook Reactions - Inline at end of text */
.fb-reactions {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-left: 6px;
    white-space: nowrap;
    float: right;
    margin-top: 2px;
}

.fb-reaction-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-left: -4px;
    border: 2px solid var(--white);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.fb-reaction-icon:first-child {
    margin-left: 0;
    z-index: 2;
}

.fb-reaction-icon:nth-child(2) {
    z-index: 1;
}

.fb-count {
    font-size: 13px;
    color: #65676b;
    margin-left: 4px;
    font-weight: 400;
}

/* Facebook Meta (actions) */
.fb-meta {
    font-size: 12px;
    color: #65676b;
    margin-top: 4px;
    display: block;
}

.fb-action {
    color: #65676b;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.fb-action:hover {
    text-decoration: underline;
}

.fb-dot {
    color: #65676b;
    margin: 0 2px;
}

.fb-time {
    color: #65676b;
    cursor: pointer;
}

.fb-time:hover {
    text-decoration: underline;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--white);
    padding: 50px 20px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #bdc3c7;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--blue);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1c1e21;
    padding: 40px 20px;
    text-align: center;
}

.disclaimer {
    font-size: 0.75rem;
    color: #8a8d91;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: #8a8d91;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links span {
    color: #8a8d91;
}

.copyright {
    font-size: 0.8rem;
    color: #65676b;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE ADJUSTMENTS (Modern Mobile)
   ============================================ */
@media (max-width: 480px) {

    /* Hero */
    .hero {
        padding: 30px 15px 10px;
    }

    .main-title {
        font-size: 1.8rem;
        /* Reduzido de 2.5rem */
        line-height: 1.2;
    }

    .sub-title {
        font-size: 1.15rem;
        line-height: 1.4;
    }

    /* Video */
    .video-section {
        padding: 10px 10px 30px;
    }

    .banner-text {
        font-size: 0.75rem;
        padding: 0 5px;
    }

    /* Doctor */
    .doctor-section {
        padding: 40px 15px;
    }

    .doctor-name {
        font-size: 1.8rem;
    }

    /* Comments */
    .comments-section {
        padding: 30px 10px;
    }

    .fb-comments-box {
        padding: 12px;
        border-left-width: 0;
        /* Remove borda lateral em mobile para ganhar espaço */
    }

    /* Footer */
    .footer {
        padding: 30px 15px;
    }

    /* Restored Elements */
    .doctor-image img {
        width: 200px;
        height: 260px;
    }

    .stats-card {
        padding: 15px 20px;
    }

    .stats-number {
        font-size: 1.4rem;
    }
}