/* CSS Reset and Variables */
@font-face {
    font-family: 'Guanabara Sans';
    src: url('../fonts/Guanabara_Sans_Book.otf') format('opentype');
    font-weight: 400;
    /* Book/Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Guanabara Sans';
    src: url('../fonts/Guanabara_Sans_Book_Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Eighties';
    src: url('../fonts/Eighties-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --color-dark: #151515;
    --color-light: #ECE7E2;
    --color-red: #DC3E23;
    --color-purple: #4227DF;
    --color-purple-dark: #241579;
    --color-white: #FFFFFF;

    --font-primary: 'Guanabara Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    /* Keep Playfair for "Bianca" if Eighties is only for display/titles */
    --font-display: 'Eighties', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: #F8F6F4;
    /* Light beige base */
    color: var(--color-dark);
    line-height: 1.2;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/noise.jpg.jpeg');
    opacity: 0.4;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 50;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    position: relative;
    width: 100%;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flowers-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}


.flowers-bg {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.badge-container {
    margin-top: -24px;
    /* Overlap with flowers */
    z-index: 10;
}

.badge-dark {
    background-color: var(--color-dark);
    padding: 16px 24px;
    border-radius: 8px;
    display: inline-block;
}

.badge-dark span {
    color: var(--color-light);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    /* Check if uppercase in design? Figma says "Webinar Gratuito" mixed case. */
    text-transform: none;
    /* Correcting to normal case */
}

/* Hero Text */
.hero-text {
    padding: 24px 20px 0px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-main {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 40px;
    color: var(--color-dark);
    line-height: 0.95;
    margin-bottom: 20px;
}

.highlight-red {
    color: var(--color-red);
    font-family: var(--font-primary);
    /* Or maybe serif italic? Figma says Guanabara Sans Medium Italic */
    font-style: italic;
    font-weight: 500;
}

.title-sub {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 40px;
    line-height: 0.9;
    margin-bottom: 24px;
}

.highlight-purple {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 82px;
    color: var(--color-purple);
    display: block;
    margin-top: -20px;
    letter-spacing: 0px;
}

.description {
    font-size: 16px;
    line-height: 1.5;
    max-width: 340px;
    margin-bottom: 30px;
}

.event-info {
    display: flex;
    gap: 32px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 24px;
    /* Estimate */
    margin-bottom: 30px;
}

.btn-cta {
    background: linear-gradient(180deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    border: 1px solid #2B2066;
    border-radius: 8px;
    padding: 16px 24px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(66, 39, 223, 0.3);
    transition: transform 0.2s ease;
    align-self: center;
}

.btn-cta:active {
    transform: scale(0.98);
}

.bianca-carol-bio {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0px 4px 10px rgba(66, 39, 223, 0.3);
}

/* Speaker Section */
.speaker-section {
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.speaker-wrapper {
    position: relative;
    width: 100%;
    /* Or fit to image */
    display: flex;
    justify-content: center;
}

.speaker-img {
    width: 90%;
    height: auto;
    object-fit: cover;
    display: block;
}

.bloom-sticker {
    width: 260px;
    height: auto;
    position: absolute;
    bottom: -10px;
    left: 20px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

.bloom-flower-sticker {
    width: 180px;
    height: auto;
    position: absolute;
    bottom: -40px;
    right: 20px;
}

.speaker-details {
    position: absolute;
    top: 83px;
    left: 5%;
    width: 23%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.speaker-text {}

/* Re-evaluating Speaker Layout based on Figma "bianca-hero 2" 
   It seems "bianca-hero" image might ALREADY include the background.
   Wait, Figma structure:
   - "bianca-hero 2" (Image)
   - "Frame 5" (Text + Logo) is ON TOP.
   
   If I just put the image, I need to overlay the text. 
   The text is on the LEFT side, roughly middle-bottom.
*/

.speaker-details {
    position: absolute;
    top: 0;
    left: 5%;
    width: 21%;
    z-index: 2;
}

.speaker-name {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 24px;
    color: var(--color-dark);
    /* Or #1e1e1e */
    margin-bottom: 8px;
    line-height: 1.1;
}

.speaker-role {
    font-size: 10px;
    font-weight: 700;
    /* Bold/Book? Figma says Book/Medium */
    text-transform: uppercase;
    color: var(--color-dark);
    line-height: 1.4;
}

.speaker-role p {
    margin-bottom: 2px;
}

.logo-area {
    margin-top: 16px;
}

.brand-logo {
    width: 50px;
    height: auto;
}

.arrow-decoration {
    width: 40px;
    height: auto;
}

@media (max-width: 425px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Responsiveness adjustments for speaker section */
@media (min-width: 375px) {

    .highlight-purple {
        font-size: 80px;
    }

    .header-desktop-content {
        display: none;
    }
}

/* --- New Sections Styling --- */

.section {
    padding: 60px 20px;
    margin-bottom: 20px;
}

.section-title,
.section-headline {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: center;
}

.section-subhead {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Identification Section */
.identification-section {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 40px 10px;
    padding: 40px 24px;
}

.check-list {
    list-style: none;
    margin-bottom: 30px;
}

.check-list li {
    margin-bottom: 16px;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-list i {
    color: var(--color-purple);
    margin-top: 4px;
}

.exclusion-note {
    background-color: #f9f9f9;
    padding: 16px;
    border-left: 4px solid var(--color-red);
    margin-bottom: 30px;
    font-size: 14px;
    color: #555;
}

.btn-secondary {
    display: block;
    text-align: center;
    color: var(--color-purple);
    font-weight: 700;
    text-decoration: underline;
    font-size: 16px;
    margin-top: 20px;
}

/* Value Section */
.value-section {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.learning-list {
    list-style: none;
    max-width: 400px;
    margin: 0 auto 40px;
}

.learning-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.learning-list .marker {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-purple);
    opacity: 0.5;
    min-width: 30px;
}

.strong-close {
    text-align: center;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 40px;
}

.strong-close p {
    margin-bottom: 8px;
}

/* Authority Bio Section */
.authority-bio-section {
    background-color: #ECE7E2;
    /* Light beige from palette */
    padding: 60px 20px;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--color-purple);
    text-align: center;
    margin-bottom: 40px;
}

.bio-content {
    max-width: 400px;
    margin: 0 auto;
}

.bio-name {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 20px;
    font-style: italic;
}

.bio-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.bio-quote {
    font-weight: 700;
    color: var(--color-purple-dark);
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
}

/* Post Event Section (Cards) */
.intro-text {
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.card.bloom-lab {
    border-top: 6px solid #FFC0CB;
    /* Pinkish */
}

.card.diagnosis {
    border-top: 6px solid var(--color-purple);
    background-color: #fdfdfd;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 24px;
}

.card-list {
    list-style: none;
    margin-bottom: 24px;
}

.card-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.card-list li::before {
    content: "•";
    color: var(--color-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.card-tag {
    display: inline-block;
    background: #eee;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.card-tag.premium {
    background: var(--color-purple);
    color: white;
}

.note {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.7;
}

/* FAQ Section */
.faq-section {
    max-width: 480px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--color-dark);
}

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

.faq-answer p {
    padding-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
}

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

/* Footer / CTA Final */
.footer-section {
    background-color: var(--color-dark);
    color: white;
    padding: 60px 20px;
    text-align: center;

}

.footer-section .title-sub {
    color: white;
}

.footer-text {
    margin-bottom: 40px;
    opacity: 0.8;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
    margin: 0 auto 40px;
}

.input-field {
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-family: var(--font-primary);
    font-size: 16px;
}

.full-width {
    width: 100%;
    max-width: 100%;
}

.trust-badges {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 40px;
}

.copyright {
    font-size: 12px;
    opacity: 0.4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Entry Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-animate {
    opacity: 0;
    /* Star hidden */
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

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

.delay-300 {
    animation-delay: 0.3s;
}

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

.delay-500 {
    animation-delay: 0.5s;
}

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

/* --- Desktop Layout (min-width: 1024px) --- */
@media (min-width: 1024px) {
    .arrow-decoration {
        width: unset;
    }

    .hidden-desktop {
        display: none !important;
    }

    /* Hide Mobile Elements */
    .flowers-container {
        display: none;
    }

    .flowers-container-full {
        display: none;
        /* If using different bg strategy */
    }

    /* Container */
    .container {
        max-width: 1200px;
        padding-bottom: 80px;
    }

    /* Desktop Header */
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        position: relative;
        z-index: 20;
    }

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

    .logo-desktop {
        height: 30px;
        width: auto;
    }

    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-link {
        font-family: var(--font-primary);
        color: var(--color-dark);
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
    }

    .btn-cta-small {
        background: var(--color-purple);
        color: white;
        text-decoration: none;
        padding: 12px 24px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 14px;
        transition: opacity 0.2s;
    }

    .btn-cta-small:hover {
        opacity: 0.9;
    }


    .section-subhead {
        font-size: 18px;
        text-align: center;
        margin-bottom: 0px;
        align-self: center;
    }

    .exclusion-note {
        background-color: #f9f9f9;
        padding: 16px;
        border-left: 4px solid var(--color-red);
        margin-bottom: 30px;
        font-size: 14px;
        color: #555;
        align-items: center;
        text-align: center;
        width: fit-content;
        margin: auto;
    }

    .check-list li {
        justify-self: center;
    }

    .badge-container {
        position: absolute;
        top: 150px;
        left: 40px;
        margin-top: 0;
    }

    .badge-dark {
        background-color: var(--color-red);
        /* Orange/Red as per desktop */
        padding: 12px 20px;
    }

    /* Hero Wrapper (Desktop) */
    .hero-wrapper {
        display: block;
        position: relative;
        overflow: hidden;
        /* Crop overflowing image */
        height: 100vh;
        /* Force exact height to constrain percent-based children */
        min-height: 900px;
    }

    /* Hero Grid Layout */
    .hero-text {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
        padding: 120px 40px 80px;
        /* Position relative to allow z-index if needed, but not container for speaker */
        position: relative;
        z-index: 10;
        min-height: auto;
        /* Let wrapper handle height */
    }

    .hero-text>* {
        grid-column: 1 / 2;
    }

    .title-main {
        font-size: 48px;
        margin-bottom: 32px;
    }

    .title-sub {
        font-family: var(--font-primary);
        font-weight: 500;
        font-size: 48px;
        /* Matching screenshot */
        margin-bottom: 30px;
    }

    .highlight-purple {
        font-family: var(--font-display);
        font-size: 130px;
        /* Larger on desktop */
        margin-top: -30px;
        line-height: 0.8;
    }

    .description {
        font-size: 18px;
        max-width: 500px;
        margin-left: 0;
    }

    .event-info {
        justify-content: flex-start;
        align-items: center;
    }

    .strong-close {
        position: absolute;

        bottom: 0;
        display: flex;
        gap: 64px;
        background: var(--color-purple);
        color: var(--color-white);
        padding: 16px 32px;
        border-radius: 16px;
    }

    .authority-bio-section {
        display: flex;
        gap: 32px;
        padding: 32px 32px;
        border-radius: 16px;

    }

    .auth-title {
        display: none;
    }


    /* Speaker/Image Column */
    .speaker-section {
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        /* Right half */
        height: 100%;
        /* Fill wrapper */
        margin-top: 0;
        z-index: 1;
    }

    .speaker-wrapper {
        height: 100%;
        width: 100%;
        position: relative;
    }

    .speaker-img {
        width: 420px;
        position: absolute;
        bottom: 90px;
    }

    /* Move speaker details (Name) to left of image (in grid?) or absolute */
    .speaker-details {
        top: 150px;
        left: 0px;
        /* Pull left into the text column area visually */
        width: 300px;
        align-items: flex-start;
    }

    .speaker-text {
        text-align: left;
    }

    .speaker-name {
        font-size: 36px;
    }

    /* Sticker positioning for desktop */
    .bloom-sticker {
        width: 300px;
        bottom: 90px;
        left: 50px;
        /* Position relative to speaker section (right column) */
        z-index: 2;
    }

    .bloom-flower-sticker {
        display: block;
        bottom: 100px;
        right: 60px;
        width: 140px;
    }

    .bloom-flower-sticker-id-section {
        position: absolute;
        display: block;
        top: -50px;
        right: -20px;
        width: 140px;
    }

    /* Flower Bottom Strip */
    .flowers-container-full {
        display: block;
        position: absolute;
        bottom: 90px;
        left: 0;
        width: 100%;
        height: 150px;
        z-index: 0;
        /* Behind everything */
        background-image: url('../img/flower-bar.png');
        background-size: cover;
        background-position: center bottom;
        border-radius: 36px;
    }

    .section-title,
    .section-headline {
        font-size: 48px;
    }

    /* Value Section */
    .value-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 60px;
    }

    .learning-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        max-width: 900px;
    }

    /* Cards */
    .cards-container {
        flex-direction: row;
        justify-content: center;
        max-width: 900px;
    }

    .card {
        flex: 1;
    }

    .footer-section {
        border-radius: 16px;
    }

    /* Footer */
    .signup-form {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .input-field,
    .btn-cta.full-width {
        width: 100%;
    }
}

/* --- Bloom Branding Section --- */
.bloom-branding-section {
    background-color: #FFFFFF;
    padding: 80px 20px;
}

.bloom-branding-container {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bloom-video-wrapper {
    position: relative;
    width: 230px;
    height: 380px;
    margin: 0 auto;
    left: -50%;
    margin-left: 218px;
}

.video-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    z-index: 1;
}

.card-purple {
    background-color: var(--color-purple);
    transform: rotate(-6deg);
}

.card-red {
    background-color: var(--color-red);
    transform: rotate(15deg);
    left: 20px;
}

.video-link-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: block;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translate(35px, 20px);
}

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

.bloom-branding-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.branding-pre-title {
    font-size: 40px;
    font-weight: 500;
    color: var(--color-dark);
}

.bloom-branding-logo {
    max-width: 300px;
    height: auto;
}

.branding-description p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.branding-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 30px;
    margin-top: 20px;
}

.branding-footer-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.branding-footer-arrow {
    width: 40px;
    height: auto;
    transform: rotate(180deg);
}

.branding-footer-text {
    font-size: 16px;
    font-style: italic;
    color: var(--color-purple-dark);
    line-height: 1.4;
}

@media (min-width: 1024px) {
    .bloom-branding-container {
        max-width: 1100px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        gap: 80px;
    }

    .bloom-video-wrapper {
        margin: 0;
        width: 330px;
        height: 600px;
        flex-shrink: 0;
        left: auto;
        margin-left: 0;
    }

    .bloom-branding-content {
        max-width: 530px;
    }

    .branding-pre-title {
        font-size: 56px;
    }



    .branding-description p {
        font-size: 19px;
    }

    .branding-footer-text {
        font-size: 19px;
    }
}

.btn-tertiary {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid var(--color-purple);
    color: var(--color-purple);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-tertiary:hover {
    background-color: var(--color-purple);
    color: white;
}

@media (max-width: 1023px) {
    .btn-tertiary {
        width: 100%;
    }
}