
@font-face {
    font-family: 'Avalon Final';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/AvalonCEv2.ttf') format('truetype');
}
@font-face {
    font-family: 'Avalon Final';
    font-style: normal;
    font-weight: 600;
    src: url('./fonts/AvalonCEv2-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'Avalon CE';
    font-style: normal;
    font-weight: 100;
    src: url('./fonts/Avalon-ExtraLight.woff') format('woff');
}
@font-face {
    font-family: 'Avalon CE';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/Avalon-Book.woff') format('woff');
}
@font-face {
    font-family: 'Avalon CE';
    font-style: normal;
    font-weight: 500;
    src: url('./fonts/Avalon-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Avalon CE';
    font-style: normal;
    font-weight: 600;
    src: url('./fonts/Avalon-Demi.woff') format('woff');
}
@font-face {
    font-family: 'Avalon CE';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/Avalon-Bold.woff') format('woff');
}

:root {
    --text-color: #0f172a;
    --brand-blue: #2B3089;
}

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

body {
    color: var(--text-color);
    font-family: 'Avalon Final', sans-serif;
    overflow-x: hidden;
    background: none;
}

.hero-container {
    width: 100%;
    height: 576px;
    background-image: url('bg-desktop.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 100%;
    /* position: relative; */
    display: flex;
    justify-content: center;
}

.reasons-section {
    position: relative;
    width: 100%;
    height: 650px;
    /* overflow: hidden; */
    perspective: 1000px;
    z-index: 1;
}

.content-bubble {
    background-image: url('bubble.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: none;
    text-align: center;
    padding-bottom: 50px;
}

.bubble-text {
    font-family: 'Avalon CE', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.0;
    white-space: normal;
    max-width: 90%;
}

.large-text {
    font-size: 3.375rem !important;
    white-space: nowrap !important;
}

.bubble-description {
    font-family: 'Avalon CE', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
}

.bubble-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.bubble-label {
    font-family: 'Avalon CE', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
    opacity: 0.5;
}

.hero-centered-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 40px;
}

.info-box-left {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 80px;
    color: #ffffff;
    font-family: 'Avalon CE', sans-serif;
    font-size: 24pt;
    font-weight: 600;
    line-height: 1.13;
    text-align: left;
}

.btn-yellow {
    display: block;
    width: 100%;
    background-color: #edec66;
    color: #1f3c9d;
    padding: 16px 30px;
    font-family: 'Avalon CE', sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-yellow:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 28, 1, 0.3);
}

.caret {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.8;
}

.caret:hover {
    opacity: 1;
    transform: scale(1.1);
}

.caret svg {
    width: 30px;
    height: 50px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.highlight-yellow {
    color: #edec66;
}

.reasons-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.reasons-container.ready {
    opacity: 1;
}

.reason {
    position: absolute;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #636363;
    user-select: none;
    white-space: normal;
    padding: 0;
    width: 420px;
    height: 250px;
}

.reason-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 40px 100px;
    transition: opacity 0.3s ease;
    text-align: center;
}

.reason-number {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.reason-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.reason-description {
    font-size: 0.75rem;
    line-height: 1.3;
}

.reason-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* .reason.selected {
    background: #ffffff;
    border: 1px solid rgba(237, 236, 102, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
} */

.float-container {
    width: 100%;
    height: 100%;
    will-change: transform;
    background-image: url('bublina-nova.png');
    background-repeat: no-repeat;
    background-size: contain;
}

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

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6px, -12px); }
}

@media (min-width: 1200px) {
    .hero-centered-content {
        width: 1200px;
        padding: 0;
    }

    .content-bubble {
        display: flex;
        position: absolute;
        width: 450px;
        height: 240px;
        top: 152px;
        left: 50%;
        transform: translateX(110px);
        justify-content: space-between;
    }

    .info-box-left {
        left: 0;
        top: 140px;
        bottom: auto;
        width: 520px;
        font-size: 43pt;
        text-align: left;
    }

    .btn-yellow {
        display: inline-block;
        width: auto;
        margin-top: 35px;
        font-size: 1.55rem;
        padding: 16px 40px;
    }

    .reasons-container {
        max-width: 1200px;
    }

    .reason {
        width: 762px;
        height: 450px;
    }

    .reason-content {
        padding: 80px 100px 200px;
    }

    .reason-number {
        font-size: 1.44rem;
        margin-bottom: 10px;
    }

    .reason-text {
        font-size: 2.1rem;
    }

    .reason-description {
        font-size: 1.5rem;
    }
}