:root {
    --teal: #00B3A4;
    --yellow: #FFC145;
    --yellow-hover: #e5ac39;
    --dark-bg: #1a1a1a;
    --text-dark: #333;
    --text-white: #fff;
    --font-main: 'Montserrat', sans-serif;
    --font-hero-title: 'Barlow', sans-serif;
    --font-hero-subtitle: 'Exo', sans-serif;
    --font-condensed: 'Barlow Condensed', sans-serif;
    --font-calligraphy: 'Calligraffitti', cursive;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.4;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Section --- */
.hero {
    padding: 20px 0 20px 0;
    background-image: url('assets/hero-bg.webp');
    background-size: cover;
    background-position: bottom;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
}

.container-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.hero-content {
    flex: 0 0 680px;
    max-width: 680px;
    margin-left: -100px;
    z-index: 5;
    padding: 60px 0;
}

.elementor-heading-title {
    font-family: var(--font-hero-title);
    font-size: 47px;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    line-height: 60px;
    margin-bottom: 25px;
}

.teal-text {
    color: var(--teal);
}

.hero-text-editor {
    margin-bottom: 30px;
}

.hero-text-editor p {
    font-family: var(--font-hero-subtitle);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 20px;
    color: #333;
    max-width: 580px;
}

.teal-bold {
    color: var(--teal);
    font-weight: 900;
}

.hero-calendar-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
}

.calendar-text {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 700;
    line-height: 25px;
    color: rgb(32, 32, 32);
}

.calendar-text strong {
    font-size: 1.2rem;
    font-weight: 800;
}

/* --- Form --- */
.elementor-form {
    max-width: 620px;
}

.elementor-field-group {
    margin-bottom: 15px;
}

.elementor-field {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 1rem;
    font-family: var(--font-main);
    outline: none;
}

.phone-group {
    display: flex;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.iti-flag-container {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background: #f9f9f9;
    border-right: 1px solid #ddd;
    font-size: 0.9rem;
    color: #666;
}

.phone-input {
    border: none;
}

.elementor-button {
    width: 100%;
    background: linear-gradient(to right, #F8BC43 0%, #B1862F 100%);
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(248, 188, 67, 0.4);
}

.elementor-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

.form-bottom-text {
    margin-top: 15px;
    color: var(--teal);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}

/* --- Ticker --- */
.ticker-wrap {
    background: var(--dark-bg);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    animation: ticker 160s linear infinite;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    letter-spacing: 1px;
}

.ticker__item {
    display: inline-block;
    padding: 0 5px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* --- What Happens --- */
.what-happens {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
}

.section-title {
    font-family: var(--font-hero-subtitle);
    font-size: 38px;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #000;
    margin-left: -100px;
}

.yellow-text {
    color: var(--yellow);
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    margin-left: -100px;
    max-width: 1400px;
    /* Allow cards to be wider */
}

.info-box {
    padding: 40px;
    border-radius: 20px;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gradient-bg {
    background: linear-gradient(135deg, #4C4D36 0%, #202020 100%);
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

/* Cards Section */
.info-box {
    padding: 40px;
    border-radius: 20px;
    color: #fff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    border: none;
    min-width: 0;
    /* Prevents overflow in grid */
}

.box-image img {
    max-width: 50px;
    height: auto;
}

.box-content h3 {
    font-family: var(--font-hero-subtitle);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.box-content p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
}

.yellow-bold {
    color: var(--yellow);
    font-weight: 700;
}

.lesson-list {
    list-style: none;
    margin: 25px 0;
}

.lesson-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.lesson-list li i {
    color: var(--yellow);
    margin-top: 4px;
}

.availability {
    font-size: 0.9rem;
    font-style: italic;
    color: #888 !important;
}

/* --- CTA Button --- */
.btn-wrap {
    margin-top: 30px;
}

.cta-button-yellow {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(to right, #F8BC43 0%, #B1862F 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.3s;
    width: 100%;
    justify-content: center;
}

.cta-button-yellow:hover {
    filter: brightness(1.1);
    transform: scale(0.98);
}

/* --- Instructor --- */
.instructor-section {
    padding: 100px 0;
    background-image: url('assets/instructor-bg.webp');
    background-size: cover;
    background-position: center top;
    /* Show the top of the image first */
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: center;
}

.instructor-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, #fff, transparent);
    z-index: 1;
}

.instructor-image-mobile {
    display: none;
}

.instructor-inner {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.instructor-empty {
    flex: 1;
}

.instructor-info {
    flex: 1.5;
    background: transparent;
    padding: 50px;
    margin-left: -100px;
}

.instructor-title {
    font-family: var(--font-hero-subtitle);
    font-size: 2.2rem;
    font-weight: 600;
    /* Updated to 600 */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.instructor-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 30px;
}

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

.instructor-check-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.instructor-check-list li i {
    color: var(--teal);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* --- Footer --- */
.site-footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 60px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-calligraphy {
    font-size: 1.2rem;
    font-weight: 400;
}

.footer-calligraphy .calligraphy {
    font-family: var(--font-calligraphy);
    font-size: 2rem;
    line-height: 1;
}

.footer-col-center {
    text-align: center;
}

.copyright {
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-condensed);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav a i {
    font-size: 0.9rem;
    color: var(--teal);
}

/* --- Float --- */
.whatsapp-float-img {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    z-index: 9999;
    transition: transform 0.3s;
    /* Only animate transform/scale, not position */
    display: block;
}

.whatsapp-float-img img {
    width: 100%;
    height: auto;
}

.whatsapp-float-img:hover {
    transform: scale(1.1);
}

.whatsapp-float-img img {
    width: 100%;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsive --- */
@media (max-width: 992px) {

    body,
    html {
        overflow-x: hidden !important;
        width: 100vw;
        position: relative;
    }

    .container {
        padding: 0 20px;
        max-width: 100vw;
    }

    /* Hero Mobile Refinement */
    .hero {
        padding: 0;
        background-position: top center !important;
        /* Added a subtle white overlay to decrease the image priority/intensity */
        background-image: linear-gradient(rgba(235, 235, 235, 0.3), rgba(235, 235, 235, 0.3)), url('assets/Bg-a1-mobile.jpg.webp') !important;
        background-size: 100% auto !important;
        background-repeat: no-repeat;
        min-height: auto;
        display: block;
        background-color: #EBEBEB;
    }

    .container-hero {
        justify-content: center;
        width: 100%;
        padding-top: 90px;
        /* Reduced to compensate for larger font */
    }

    .hero-content {
        margin-left: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
        padding: 10px;
        /* Reduced from 30px */
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        z-index: 10;
    }

    .elementor-heading-title {
        font-size: 20px;
        /* Reduced from 24px */
        line-height: 28px;
        /* Reduced from 32px */
        margin-bottom: 12px;
        /* Reduced from 20px */
        color: #000;
        font-weight: 900;
    }

    .hero-text-editor {
        margin: 0 auto 10px !important;
    }

    .hero-text-editor p {
        font-size: 16px;
        /* Increased to standard body size */
        line-height: 22px;
        /* Adjusted entrelinha for readability */
        max-width: 100% !important;
        margin: 0 auto 10px !important;
        /* Reduced bottom margin */
        text-align: center !important;
        color: #444;
    }

    .hero-calendar-box {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        /* Reduced from 12px */
        justify-content: center;
        margin-bottom: 10px;
        /* Reduced from 25px */
        align-items: center;
        padding: 0 0 10px 0;
        /* Fixed missing unit (px) */
    }

    .calendar-icon img {
        width: 35px !important;
        /* Made smaller as requested */
    }

    .calendar-text {
        font-size: 13px;
        /* Increased to standard body size */
        line-height: 20px;
        font-weight: 700;
    }

    .elementor-form {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
    }

    .elementor-field-group {
        margin-bottom: 10px !important;
        /* Reduced space between fields */
    }

    .elementor-field {
        padding: 10px 15px;
        /* Reduced from 12px */
        font-size: 1rem;
        /* Standard body size */
    }

    .elementor-button {
        padding: 12px;
        /* Reduced from 15px */
        font-size: 1rem;
        /* Standard body size */
    }

    .form-bottom-text {
        white-space: normal !important;
        font-size: 0.75rem;
        width: 100% !important;
        margin-top: 12px;
    }

    /* What Happens Mobile */
    .what-happens {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        /* Reduced from 26px */
        line-height: 28px;
        margin-left: 0 !important;
        text-align: center !important;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .boxes-grid {
        grid-template-columns: 1fr;
        margin-left: 0 !important;
        max-width: 100% !important;
        gap: 20px;
    }

    .info-box {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .box-content h3 {
        font-size: 1.3rem;
        /* Reduced from 1.5rem */
        margin-bottom: 15px;
    }

    .box-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .box-image img {
        max-width: 35px;
    }

    /* Instructor Mobile Fix */
    .instructor-section {
        padding: 0;
        background-image: none !important;
        background-color: #fff !important;
        /* Full white background */
        min-height: auto;
        display: block;
    }

    .instructor-inner {
        flex-direction: column;
        align-items: center;
        padding: 0;
        /* Top padding removed as requested */
        width: 100% !important;
        max-width: 100% !important;
        background: linear-gradient(to bottom, #fff 0%, #fff 80%, #F8F8F8 100%) !important;
    }

    .instructor-empty {
        display: none;
    }

    .instructor-info {
        margin-left: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0 20px 40px 20px;
        background: transparent !important;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 0;
        border: none;
    }

    .instructor-image-mobile {
        display: block;
        width: 100%;
        text-align: center;
        background: #F8F8F8 !important;
        /* Matches image background */
    }

    .instructor-image-mobile img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .instructor-title {
        font-family: var(--font-hero-subtitle);
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: #000;
        text-transform: uppercase;
    }

    .instructor-subtitle {
        font-family: var(--font-main);
        font-size: 1.5rem;
        /* Increased size */
        color: #000;
        /* Changed to black */
        font-weight: 700;
        margin-bottom: 30px;
    }

    .instructor-check-list li {
        text-align: left;
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .instructor-check-list li i {
        font-size: 1rem;
    }

    /* Footer Mobile */
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-col-right img {
        max-width: 150px;
    }

    /* Fixed Scroll Issues */
    .ticker-wrap {
        width: 100vw;
    }

    .whatsapp-float-img {
        width: 55px;
        bottom: 15px;
        right: 15px;
    }
}