/* --- DESIGN TOKENS --- */
/* Tokens are defined in globals.css, using them here */

/* --- GENERAL --- */
body {
    font-family: "Season Sans-TRIAL-Regular", Helvetica, sans-serif;
    background-color: var(--ag-white);
    color: var(--ag-black);
}

.brand-highlight-large {
    color: #460C4F;
    font-family: "Season Serif-TRIAL", serif;
    font-size: 50px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

/* --- HEADER --- */
.header {
    background-color: var(--ag-primary);
    padding: var(--ag-spacing-md) 0;
}

.header__inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header__logo {
    width: 89px;
    height: 79px;
}

/* --- HERO SECTION --- */
.section-hero {
    background-color: var(--ag-white);
    min-height: 790px;
    display: flex;
}

.hero__wrapper {
    display: flex;
    width: 100%;
}

.hero__content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero__header-purple {
    background-color: var(--ag-secondary);
    padding: 50px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero__tag {
    color: var(--ag-white);
    font-family: "Season Sans-TRIAL-Regular", Helvetica;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero__tag--bottom {
    font-size: 20px;
    margin-left: 200px;
    margin-bottom: 0;
}

.hero__logo-main {
    height: 80px;
    margin-bottom: 10px;
}

.hero__main-body {
    display: flex;
    flex: 1;
}

.hero__accent-bar {
    width: 60px;
    background-color: var(--ag-primary);
}

.hero__text-content {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.hero__title-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero__subtitle {
    color: var(--ag-secondary);
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
}

.hero__title {
    color: var(--ag-primary);
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 60px;
    line-height: 1.1;
}

.hero__description {
    color: var(--ag-secondary);
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 24px;
    line-height: 1.4;
}

.hero__image-right {
    flex: 1;
}

.hero__image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- FORMACAO SECTION --- */
.section-formacao {
    background-color: var(--ag-bg-light);
    padding: 100px 0;
    overflow-x: hidden;
}

.formacao__title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 60px;
    color: var(--ag-secondary);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 80px;
}

.highlight-blue {
    position: relative;
    padding: 0 10px;
    z-index: 1;
}

.highlight-blue::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 15px;
    width: 100%;
    height: 45%;
    background-color: var(--ag-primary);
    z-index: -1;
}

.formacao__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    margin-top: 90px;
}

.formacao__col-left p {
    font-size: 34px;
    line-height: 1.5;
    color: var(--ag-secondary);
}

.formacao__col-right {
    background-color: var(--ag-primary);
    padding: 50px;
    margin-right: -100vw;
    padding-right: 100vw;
}

.formacao__col-right p {
    font-size: 40px;
    color: var(--ag-bg-light);
    font-weight: 550;
}

.purple-text {
    color: var(--ag-secondary);
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-weight: 800;
}

.formacao__footer {
    display: flex;
    justify-content: center;
}

/* --- PESQUISA SECTION --- */
.section-pesquisa {
    background-color: var(--ag-white);
    display: flex;
}

.pesquisa__wrapper {
    display: flex;
    width: 100%;
}

.pesquisa__image {
    flex: 1;
}

.pesquisa__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pesquisa__content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px;
}

.pesquisa__title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 64px;
    color: var(--ag-secondary);
    line-height: 1.1;
    max-width: 828px;
}

.pesquisa__subtitle {
    font-family: "Season Sans-TRIAL-Regular", Helvetica;
    font-size: 24px;
    color: var(--ag-black);
    max-width: 800px;
    line-height: 1.4;
    margin: 40px 0;
}

.pesquisa__callout {
    display: flex;
    align-items: center;
    gap: 30px;
}

.pesquisa__callout-square {
    width: 90px;
    height: 162px;
    background-color: var(--ag-secondary);
    flex-shrink: 0;
    margin-left: -80px;
    /* Offset parent padding to touch image */
}

.pesquisa__callout-text {
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 40px;
    color: var(--ag-primary);
    line-height: 1.2;
}

.purple-serif {
    color: var(--ag-secondary);
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-weight: 700;
}

/* --- CAMINHOS SECTION --- */
.section-caminhos {
    padding: 50px 0;
    background-color: var(--ag-white);
    overflow: hidden;
}

.caminhos__header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 64px;
}

.caminhos__title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 60px;
    color: var(--ag-secondary);
    text-align: center;
    width: 100%;
}

.caminhos__footer {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

.caminhos__header-accent {
    width: 380px;
    height: 100px;
    background-color: var(--ag-secondary);
    display: none;
    /* hidden by default, shown where needed */
    margin-right: -30px;
}

.carousel__dots {
    display: none;
    /* hidden on desktop */
    gap: 12px;
    align-items: center;
}

.dot {
    width: 40px;
    height: 40px;
    background-color: #E0E0E0;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--ag-primary);
}

.carousel__wrapper {
    position: relative;
    width: 100%;
}

.carousel__bg-union {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.carousel__track {
    display: flex;
    gap: 16px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 50px 0;
}

.carousel__item {
    min-width: 360px;
    height: 386px;
    background-color: var(--ag-primary);
    position: relative;
    transition: margin-top 0.6s ease;
}

/* Carousel Card Colors */
.carousel__item:nth-child(2) {
    background-color: var(--ag-secondary);
}

.carousel__item:nth-child(3) {
    background-color: var(--ag-accent);
}

.carousel__item:nth-child(4) {
    background-color: var(--ag-bg-light);
}

.carousel__item:nth-child(4) .card-caminho__title,
.carousel__item:nth-child(4) .card-caminho__content p {
    color: var(--ag-secondary);
}

.card-caminho__title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 30px;
    color: var(--ag-bg-light);
    text-align: center;
    padding: 30px 20px;
}

.card-caminho__content {
    background-color: #FFFFFF;
    margin: 0 15px 30px;
    padding: 20px 15px 10px;
    /* Reduced top/bottom padding to allow duration to sit closer to edge */
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* This naturally pushes duration to bottom if it's the last child */
    position: relative;
}

.card-caminho__content p:not(.card-caminho__duration) {
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 18px;
    color: var(--ag-secondary);
    text-align: center;
    line-height: 1.4;
    margin: auto 0;
    /* Centers the description text in the remaining space */
}

.card-caminho__duration {
    font-size: 10px;
    /* Smaller */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    /* Slightly lighter */
    margin-top: 5px;
    margin-bottom: 0;
}

.carousel__controls {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 200px);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel__btn {
    pointer-events: auto;
    background: none;
    border: none;
    cursor: pointer;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.carousel__btn:hover {
    transform: scale(1.1);
}

.carousel__btn img {
    width: 120px;
}

/* --- ETAPAS SECTION --- */
.section-etapas {
    background-color: var(--ag-primary);
    padding: 100px 0;
    color: var(--ag-white);
    overflow-x: hidden;
}

.etapas__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 80px;
}

.etapas__header {
    flex: 1;
    padding-left: 145px;
}

.etapas__title-row {
    margin-bottom: 30px;
}

.etapas__pre-title {
    display: block;
    font-family: "Season Sans-TRIAL-Regular", Helvetica;
    font-size: 24px;
    margin-bottom: 10px;
}

.etapas__logo {
    width: 100%;
    max-width: none;
    filter: brightness(0) invert(1);
}

.etapas__subtitle {
    font-size: 24px;
    line-height: 1.4;
    width: 100%;
    margin-bottom: 40px;
}

.etapas__intro {
    font-size: 24px;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
}

.etapas__image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.etapas__image img {
    width: 100%;
    max-width: 728px;
    height: auto;
    object-fit: cover;
    display: block;
}

.etapas__mobile-image {
    display: none;
}

.etapas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.etapas__card {
    background-color: var(--ag-secondary);
    padding: var(--etapas-card-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: var(--etapas-card-min-height);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.3s ease,
                background-color 0.3s ease,
                min-height 0.3s ease;
}

.etapas__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    filter: brightness(1.08);
}

.etapas__card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.etapas__card-title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 36px;
    margin-bottom: var(--etapas-card-title-margin);
    line-height: 1.2;
}

.etapas__card-icon {
    width: 24px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.etapas__card-body {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.etapas__card-text {
    font-family: "Season Sans-TRIAL-Regular", Helvetica;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Accordion Active States (Shared by Desktop and Mobile) */
.etapas__card.is-active .etapas__card-body {
    max-height: 500px;
    opacity: 1;
    margin-top: var(--etapas-card-body-margin);
}

.etapas__card.is-active .etapas__card-icon {
    transform: rotate(180deg);
}

.etapas__footer {
    display: flex;
    justify-content: center;
}

.btn-etapas-cta {
    background-color: #F8F3E6;
    /* Light cream from reference */
    color: var(--ag-primary);
    padding: 24px 80px;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-etapas-cta:hover {
    transform: translateY(-4px);
}



/* --- PARA QUEM SECTION --- */
.section-para-quem {
    padding: 50px 0;
    background-color: var(--ag-white);
    position: relative;
    overflow-x: hidden;
}


.para-quem__header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    padding-left: 5%;
    /* Aligns with ag-container default width: 90% */
}

@media (min-width: 1400px) {
    .para-quem__header {
        padding-left: calc((100vw - 1400px) / 2);
    }
}

.para-quem__title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 60px;
    color: var(--ag-primary);
    white-space: nowrap;
}

.para-quem__underline {
    flex: 1;
    height: 30px;
    background-color: var(--ag-primary);
}

.para-quem__grid {
    width: 100%;
}

.para-quem__grid .ag-grid-3 {
    gap: 0;
    width: 100%;
}

.para-quem__intro {
    margin-bottom: 60px;
    color: var(--ag-secondary);
}

.para-quem__intro p {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 32px;
    max-width: 1000px;
}

.para-quem__audience {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.audience__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ag-primary);
}

.audience__dot {
    width: 8px;
    height: 8px;
    background-color: var(--ag-accent);
    border-radius: 50%;
}

.para-quem__card {
    min-height: 400px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        filter 0.4s ease;
    cursor: default;
    z-index: 1;
}

@media (min-width: 1025px) {
    .para-quem__card:hover {
        transform: scale(1.03);
        z-index: 10;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        filter: brightness(1.1);
    }
}

.para-quem__card[data-theme="purple"] {
    background-color: var(--ag-secondary);
    color: var(--ag-white);
}

.para-quem__card[data-theme="golden"] {
    background-color: var(--ag-accent);
    color: var(--ag-white);
}

.para-quem__card[data-theme="cream"] {
    background-color: var(--ag-bg-light);
    color: var(--ag-secondary);
}

.para-quem__card[data-theme="blue"] {
    background-color: var(--ag-primary);
    color: var(--ag-white);
}

.para-quem__card[data-theme="white"] {
    background-color: var(--ag-white);
    color: var(--ag-primary);
}

.para-quem__card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.para-quem__card-accent,
.para-quem__card-icon {
    display: none;
}

.para-quem__card-body {
    width: 100%;
}

.card__title {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 48px;
    margin-bottom: 30px;
}

.card__text {
    font-family: "Season Sans-TRIAL-Regular", Helvetica;
    font-size: 18px;
    line-height: 1.4;
    opacity: 0.9;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--ag-primary);
    padding: 60px 0;
    color: var(--ag-bg-light);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__text {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 48px;
    letter-spacing: 2px;
}

.footer__info {
    display: none;
    /* Hidden on desktop per anexo 1 */
}

.footer__socials {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social__link img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    /* Makes icons white/cream */
}

.para-quem__footer {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.para-quem__bg-icon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    opacity: 0.1;
    pointer-events: none;
}

/* --- BUTTONS --- */
.btn-hero-primary {
    background-color: var(--ag-primary);
    color: var(--ag-white);
    padding: 18px 60px;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 20px;
    display: inline-block;
    transition: filter 0.3s, transform 0.2s;
    width: fit-content;
}

.btn-hero-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-garantir-vaga {
    background-color: var(--ag-secondary);
    color: var(--ag-white);
    padding: 20px 80px;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 20px;
    display: inline-block;
    transition: transform 0.2s, filter 0.2s;
}

.btn-garantir-vaga:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    .ag-grid-2 {
        grid-template-columns: 1fr;
    }

    .hero__wrapper {
        flex-direction: column;
    }

    .hero__content-left {
        display: contents;
        /* Allows children to be siblings of hero__image-right in the flex flow */
    }

    .hero__header-purple {
        order: 1;
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero__header-inner {
        display: inline-flex;
        flex-direction: column;
        width: fit-content;
        align-items: center;
    }

    .hero__logo-main {
        height: 54px;
        margin: 10px 0;
        width: auto;
    }

    .hero__tag {
        font-size: 14px;
        letter-spacing: 1.5px;
        margin-bottom: 0;
        text-align: left;
        width: 100%;
    }

    .hero__tag--bottom {
        font-size: 16px;
        margin-left: 0;
        margin-top: 10px;
        text-align: right;
        width: 100%;
    }

    .hero__main-body {
        order: 2;
        flex-direction: column;
    }

    .hero__accent-bar {
        width: 100%;
        height: 10px;
    }

    .hero__text-content {
        padding: 40px 20px;
        text-align: left;
    }

    .hero__image-right {
        order: 3;
        height: 400px;
    }

    .hero__image-right img {
        height: 100%;
        object-fit: cover;
    }

    .hero__title-group {
        gap: 10px;
        margin-bottom: 20px;
    }

    .hero__subtitle {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero__title {
        font-size: 36px;
    }

    .section-formacao {
        padding: 50px 0;
    }

    .formacao__header {
        text-align: left;
    }

    .formacao__title {
        text-align: left;
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .highlight-blue {
    position: relative;
    padding: 0 0px;
    z-index: 1;
}

.highlight-blue::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 100%;
    background-color: var(--ag-primary);
    z-index: -1;
}

    .texto-acima {
        font-size: 40px !important;
    }

    .formacao__content {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 20px;
    }

    .formacao__col-left p {
        font-size: 20px;
        line-height: 1.4;
    }

    .formacao__col-right {
        margin: 0 -20px;
        /* Bleed to edges */
        padding: 40px 20px;
        width: calc(100% + 0px);
        background-color: var(--ag-primary);
    }

    .formacao__col-right p {
        font-size: 22px;
        color: var(--ag-white);
        line-height: 1.2;
    }

    .formacao__footer {
        margin-top: 40px;
    }

    .btn-garantir-vaga {
        width: 100%;
        text-align: center;
        padding: 20px;
        background-color: var(--ag-secondary);
        font-size: 18px;
    }

    .pesquisa__wrapper {
        flex-direction: column;
        padding: 50px 20px;
    }

    .pesquisa__content {
        display: contents;
    }

    .ag-stack {
        display: contents;
    }

    .pesquisa__title {
        order: 1;
        text-align: left;
        font-size: 40px;
        margin-bottom: 20px;
        width: 100%;
    }

    .pesquisa__subtitle {
        order: 2;
        margin-top: -5px;
        color: #000;
        font-family: "Season Sans-TRIAL";
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .pesquisa__image {
        order: 3;
        margin: 0 -20px 40px;
        width: calc(100% + 40px);
    }

    .pesquisa__callout {
        order: 4;
        display: flex;
        gap: 20px;
        align-items: stretch;
        width: 100%;
    }

    .pesquisa__callout-square {
        width: 60px;
        height: auto;
        margin-left: -20px;
        background-color: var(--ag-secondary);
        flex-shrink: 0;
    }

    .pesquisa__callout-text {
        font-size: 28px;
        color: var(--ag-primary);
        text-align: left;
    }

    .caminhos__title,
    .para-quem__title {
        font-size: 32px;
    }

    .section-etapas {
        padding: 60px 0 0 0;
    }

    .etapas__top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        margin-bottom: 40px;
    }

    .etapas__header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .etapas__logo {
        max-width: 100%;
        height: auto;
    }

    .etapas__subtitle,
    .etapas__intro {
        font-size: 20px;
        max-width: 100%;
    }

    .etapas__card-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        cursor: pointer;
        width: 100%;
    }

    .etapas__card-icon {
        width: 24px;
        transition: transform 0.3s;
        display: none;
        /* Hide icon on desktop if not needed */
    }

    .etapas__card-body {
        width: 100%;
        margin-top: 24px;
    }

    .etapas__image {
        display: none;
    }

    .etapas__mobile-image {
        display: block;
        width: 100%;
        margin-top: 40px;
    }

    .etapas__mobile-image img {
        margin-bottom: 0px;
        width: 100%;
        height: auto;
        display: block;
    }

    .etapas__card-icon {
        display: block;
    }

    .etapas__card-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s;
        opacity: 0;
        margin-top: 0;
    }

    .etapas__card.is-active {
        grid-column: span 2;
    }

    .etapas__card.is-active .etapas__card-body {
        max-height: 500px;
        opacity: 1;
        margin-top: 24px;
    }

    .etapas__card.is-active .etapas__card-icon {
        transform: rotate(180deg);
    }

    .etapas__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
        width: 100%;
        text-align: left;
    }

    .etapas__subtitle,
    .etapas__intro {
        font-size: 22px;
        color: var(--ag-secondary);
        max-width: 100%;
        width: 100%;
        line-height: 1.2;
    }

    .etapas__logo {
        max-width: 300px;
        height: auto;
        margin-left: -5px;
        /* Offset to align with text */
    }

    .etapas__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
        padding: 0 0px;
    }

    .etapas__card {
        padding: 15px 10px;
        min-height: 70px;
        height: auto;
    }

    .etapas__card-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        cursor: pointer;
        width: 100%;
    }

    .etapas__card-title {
        font-size: 15px;
        line-height: 1.1;
    }

    .etapas__card-icon {
        width: 24px;
    }

    .btn-etapas-cta {
        width: 100%;
        padding: 20px;
        text-align: center;
        margin: 0 20px;
        width: calc(100% - 40px);
    }

    .para-quem__header {
        padding: 0 50px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 40px;
    }

    .para-quem__title {
        font-size: 32px;
        white-space: normal;
    }

    .para-quem__intro {
        margin-bottom: 40px;
    }

    .para-quem__intro p {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .para-quem__audience {
        flex-direction: column;
        gap: 15px;
    }

    .audience__item {
        font-size: 14px;
    }

    .para-quem__card {
        background-color: transparent !important;
        padding: 0 20px 0 0;
        /* Removing left padding to allow full bleed accent */
        min-height: auto;
        margin-bottom: 15px;
        display: block;
    }

    .para-quem__card-header {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        background-color: var(--ag-white);
        border: 1px solid var(--ag-secondary);
        position: relative;
        cursor: pointer;
    }

    .para-quem__card-accent {
        display: block;
        width: 30px;
        background-color: var(--ag-secondary);
        flex-shrink: 0;
    }

    .para-quem__card-header .card__title {
        flex: 1;
        padding: 15px 20px;
        font-size: 24px;
        text-align: left;
        margin-bottom: 0;
        color: var(--ag-secondary) !important;
        font-family: "Season Serif-TRIAL-Bold", Helvetica;
    }

    .para-quem__card-icon {
        display: flex;
        align-items: center;
        padding-right: 20px;
    }

    .para-quem__card-icon img {
        width: 20px;
        transition: transform 0.3s ease;
    }

    .para-quem__card-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s;
        opacity: 0;
        background-color: var(--ag-white);
        border: 1px solid var(--ag-secondary);
        border-top: none;
        margin-left: 30px;
        width: calc(100% - 30px);
    }

    .para-quem__card.is-active .para-quem__card-body {
        max-height: 500px;
        opacity: 1;
        padding: 20px;
    }

    .para-quem__card.is-active .para-quem__card-icon img {
        transform: rotate(180deg);
    }

    .para-quem__card .card__text {
        text-align: left;
        color: var(--ag-black);
        font-size: 16px;
    }

    .caminhos__header {
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 40px;
    }

    .caminhos__title {
        text-align: left;
        font-size: 32px;
        max-width: 60%;
    }

    .caminhos__header-accent {
        display: block;
        width: 150px;
        height: 60px;
        margin-top: 10px;
    }

    .carousel__controls {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 40px;
        padding: 0 10px;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }

    .carousel__dots {
        display: flex;
        gap: 8px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .carousel__btn {
        width: 60px;
        height: 60px;
        z-index: 2;
        /* Ensure arrows stay clickable above dots if they overlap */
    }

    .carousel__btn img {
        width: 120px;
        /* Restoring large arrows as per user request */
    }

    .caminhos__footer {
        margin-top: 40px;
    }

    .carousel__item {
        min-width: 90%;
    }

    .carousel__bg-union {
        height: 100px;
        object-fit: cover;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    /* Footer Mobile */
    .footer {
        padding: 60px 0;
        text-align: center;
    }

    .footer__content {
        flex-direction: column;
        gap: 40px;
    }

    .footer__logo .logo__text {
        font-size: 40px;
    }

    .footer__info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .info__line {
        width: 80px;
        height: 4px;
        background-color: var(--ag-bg-light);
        margin-bottom: 10px;
    }

    .info__label {
        color: var(--ag-secondary);
        font-family: "Season Sans-TRIAL-Medium", Helvetica;
        font-size: 18px;
    }

    .info__address {
        font-family: "Season Sans-TRIAL-Regular", Helvetica;
        font-size: 16px;
        line-height: 1.4;
        opacity: 0.9;
    }

    .footer__socials {
        gap: 30px;
        justify-content: center;
        display: flex;
    }

    .social__link img {
        width: 40px;
        height: 40px;
    }
}

/* --- LEAD CAPTURE MODAL --- */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lead-modal-content {
    background-color: var(--ag-secondary);
    /* #460C4F */
    padding: 50px;
    width: 90%;
    max-width: 600px;
    position: relative;
    color: white;
}

.lead-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.lead-modal-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lead-logo-main {
    font-family: "Season Serif-TRIAL-Bold", Helvetica;
    font-size: 40px;
    letter-spacing: 2px;
}

.lead-logo-sub {
    font-family: "Season Sans-TRIAL-Regular", Helvetica;
    font-size: 18px;
    letter-spacing: 1px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 15px 20px;
    background-color: #E2E2E2;
    border: none;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 14px;
    color: var(--ag-secondary);
    outline: none;
}

.lead-form input::placeholder {
    color: #888;
}

.lead-form-row {
    display: flex;
    gap: 15px;
}

.lead-form-row input,
.lead-form-row select {
    flex: 1;
    width: 50%;
}

.btn-lead-submit {
    background-color: var(--ag-primary);
    /* #83A3F9 */
    color: white;
    border: none;
    padding: 15px;
    font-family: "Season Sans-TRIAL-Medium", Helvetica;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-lead-submit:hover {
    background-color: #6a88e0;
}

.lead-status-msg {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    min-height: 20px;
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
}

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

.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    /* Ensures the icon is white if it's not already */
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .lead-modal-content {
        padding: 30px 20px;
    }

    .lead-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .lead-logo-main {
        font-size: 30px;
    }
}