/* Definições de cores e fontes */
:root {
    --font-family-base: 'DM Sans';
    --color-amarelo-smart: #FFB612;
}

body {
    font-family: 'DM Sans', sans-serif;
    min-width: 320px;
    overflow-x: hidden;
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

/* Corrige espaço do header do site pai (WordPress) */
.new-home-v4-header {
    margin-bottom: 0 !important;
}

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1250px;
}

.amarelo-smart {
    color: var(--color-amarelo-smart);
}

a {
    text-decoration: none;
}

.btn,
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000 !important;
    background-color: var(--color-amarelo-smart) !important;
    padding: 12px 48px;
    border-radius: 30px;
    font-family: var(--font-family-base) !important;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

a.btn:hover,
a.cta:hover {
    background-color: #ffda6a !important;
    color: #000 !important;
    transform: translateY(-2px);
}

@media (max-width: 868px) {

    .btn,
    .cta {
        padding: 10px 40px;
        font-size: 13px;
    }
}

/* Títulos e Subtítulos */
h2 {
    font-size: 40px;
}

.h2-black {
    font-weight: 900;
    color: #010114E0;
    font-weight: 900 !important;
}

/* ----------------------------------- */
/* BANNER PRINCIPAL */
/* ----------------------------------- */

.hero-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

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

.desktop-banner {
    display: flex;
    width: 100%;
    line-height: 0;
}

.text-hero {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
    pointer-events: none;
    padding: 0;
}

.text-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
}

.text-hero h1 {
    text-align: center;
    color: #FFF;
    font-family: "DM Sans", sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 900;
    line-height: 72px;
    margin: 0;
}

.text-hero h1 .hero-highlight {
    color: var(--color-amarelo-smart);
}

.text-hero p {
    text-align: center;
    font-family: "DM Sans", sans-serif;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    white-space: nowrap;
}

.text-hero .banner-cta-btn {
    pointer-events: auto;
    margin-top: 18px;
    padding: 14px 56px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 30px;
    background-color: var(--color-amarelo-smart) !important;
    background: var(--color-amarelo-smart) !important;
    color: #000 !important;
    border: none;
}

/* CTA Button no Banner (removido - CTA agora dentro do text-hero) */

.hero-banner,
.hero-banner * {
    font-family: var(--font-family-base) !important;
}

.banner-cta-btn:hover {
    color: #000 !important;
    background-color: #ffda6a !important;
    background: #ffda6a !important;
}

.como-funciona .card {
    border: 2px dashed var(--color-amarelo-smart);
    border-radius: 10px;
}

.como-funciona .card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.como-funciona .card-title-logo {
    width: 75px;
    height: 75px;
    object-fit: contain;
    flex-shrink: 0;
}

.como-funciona .card-body>p {
    margin-left: 85px;
    width: calc(100% - 85px);
    text-align: left;
}

.como-funciona .card .btn {
    width: 90%;
    align-self: center;
}

/* Botão que aciona o Modal */
.open-modal-btn {
    padding: 15px 30px;
    background-color: #1f2937;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.open-modal-btn:hover {
    background-color: #374151;
}

/* Overlay do Modal (Fundo Escuro) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(23, 23, 23, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Classe para exibir o modal */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Caixa do Modal */
.modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 460px;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Botão Fechar (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #111827;
}

/* Ícone do Cupom */
.modal-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}

/* Ícone dinâmico do modal de feedback */
.modal-feedback-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.modal-feedback-icon.is-error {
    background: rgba(255, 182, 18, 0.12);
}

.modal-feedback-icon.is-success {
    background: rgba(255, 182, 18, 0.12);
}

.modal-feedback-icon svg {
    display: block;
}

/* Textos */
.modal-title {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal-subtitle {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 10px;
}

/* Caixa do Código do Cupom */
.coupon-box {
    border: 2px dashed #4ade80;
    /* Verde tracejado */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    background-color: #ffffff;
}

.coupon-code {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: 1px;
}

/* Botão Principal do Modal */
.action-btn {
    width: 100%;
    background-color: #fbbd08;
    /* Amarelo/Laranja Smart Fit */
    color: #000000;
    font-weight: 700;
    font-size: 15px;
    padding: 16px;
    border: none;
    border-radius: 30px;
    /* Bordas arredondadas (Pill) */
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.action-btn:hover {
    background-color: #f5b000;
}

/* Texto de Rodapé */
.modal-footer-text {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.vantagens {
    background-color: #141414;
    color: #fff;
}

.vantagens .container {
    padding-left: 56px;
    padding-right: 56px;
}

.vantagens .row[data-reveal-group] {
    margin-left: 0;
    margin-right: 0;
    gap: 24px !important;
}

.vantagens .row[data-reveal-group] > .card-vantagens.col-md-4 {
    padding-left: 16px !important;
    padding-right: 16px !important;
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
}

.card-vantagens {
    background-color: #2B2B2B;
    border: none;
    border-radius: 13px;
    max-width: none;
}

@media (max-width: 991px) {
    .vantagens .container {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 767px) {
    .vantagens .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .vantagens .row[data-reveal-group] {
        gap: 12px !important;
    }

    .vantagens .row[data-reveal-group] > .card-vantagens.col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.vantagens-icone {
    width: 60px;
    height: 60px;
}

@media (max-width: 767.98px) {
    body p {
        font-size: 16px;
    }

    .como-funciona .card-body>p {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .hero-banner {
        background: #0d2238 url('img/bannerMobile.png') 58% top / cover no-repeat !important;
        background-image: url('img/bannerMobile.png') !important;
        min-height: 620px;
    }

    .academias-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .procurando-section .container,
    .vantagens .container,
    .form-section .container,
    .faq-section .container,
    .cta-final .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .procurando-section,
    .academias-section,
    .vantagens,
    .form-section,
    .faq-section,
    .cta-final {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .procurando-section .container.my-5,
    .form-section .container.my-5,
    .cta-final .container.my-4 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .academias-search-wrapper {
        padding: 0;
    }

    .hero-banner .desktop-banner {
        display: none;
    }

    /* CTA Button ajuste mobile */
    .text-hero .banner-cta-btn {
        width: 100%;
        max-width: none;
        min-height: 52px;
        padding: 14px 24px;
        margin-top: 18px;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
        border-radius: 999px;
        background-color: var(--color-amarelo-smart) !important;
        background: var(--color-amarelo-smart) !important;
        color: #000 !important;
    }

    .text-hero h1 {
        color: #FFF;
        text-align: center;
        font-family: "DM Sans", sans-serif;
        font-size: 48px;
        font-style: normal;
        font-weight: 900;
        line-height: 56px;
        padding: 0 20px;
        margin: 0 auto !important;
    }

    .text-hero h1 br {
        display: inline;
    }

    .text-hero p {
        font-family: "DM Sans", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        margin-top: 6px;
        white-space: normal;
        padding: 0 20px;
    }

    .text-hero .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        gap: 4px;
    }

    .text-hero {
        padding: 16px 0;
    }

    .hero-banner {
        height: auto;
    }

    h2 {
        font-size: 24px;
    }

    .procurando-section h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .form-title {
        font-size: 22px;
        line-height: 30px;
    }

    .cta-final h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .academias-section h2,
    .vantagens h2,
    .faq-section .section-title {
        font-size: 22px;
        line-height: 30px;
    }

    .procurando-section .form-subtitle,
    .academias-section .form-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }

    .form-subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 28px;
    }

    .academias-search-wrapper {
        margin-bottom: 24px !important;
    }
}

@media (max-width: 430px) {
    .hero-banner {
        min-height: 600px;
        background-position: 60% top !important;
    }

    .text-hero h1 {
        font-size: 46px;
        line-height: 54px;
    }

    .text-hero p {
        font-size: 15px;
        line-height: 22px;
    }

    .procurando-section,
    .academias-section,
    .vantagens,
    .form-section,
    .faq-section,
    .cta-final {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

@media (max-width: 390px) {
    .hero-banner {
        min-height: 580px;
        background-position: 62% top !important;
    }

    .text-hero h1 {
        font-size: 42px;
        line-height: 50px;
    }

    .text-hero .banner-cta-btn {
        min-height: 50px;
    }
}

@media (max-width: 379.98px) {
    .hero-banner {
        min-height: 560px;
        background-position: 64% top !important;
    }

    .text-hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .text-hero p {
        font-size: 12px;
        line-height: 18px;
    }

    .text-hero .banner-cta-btn {
        min-height: 48px;
        font-size: 13px;
        line-height: 18px;
    }

    .procurando-section,
    .academias-section,
    .vantagens,
    .form-section,
    .faq-section,
    .cta-final {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .procurando-section h2,
    .academias-section h2,
    .vantagens h2,
    .form-title,
    .faq-section .section-title,
    .cta-final h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .procurando-section .form-subtitle,
    .academias-section .form-subtitle,
    .form-subtitle,
    .faq-content p,
    .location-address,
    .location-hours-day,
    .location-hours-time {
        font-size: 13px;
        line-height: 20px;
    }

    .location-name {
        font-size: 18px;
        line-height: 24px;
    }

    .location-link {
        font-size: 14px !important;
    }

    .faq-header h4 {
        font-size: 13px;
        line-height: 20px;
    }

    .btn {
        font-size: 13px;
    }
}

/* Final lock: ajustes finos por largura comum de mobile */
@media (max-width: 393px) {
    .hero-banner {
        min-height: 572px;
        background-position: 62% top !important;
    }

    .text-hero h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .text-hero p {
        font-size: 14px;
        line-height: 21px;
    }

    .academias-section h2,
    .procurando-section h2,
    .vantagens h2,
    .form-title,
    .faq-section .section-title,
    .cta-final h2 {
        font-size: 21px;
        line-height: 29px;
    }
}

@media (max-width: 375px) {
    .hero-banner {
        min-height: 556px;
        background-position: 64% top !important;
    }

    .text-hero h1 {
        font-size: 37px;
        line-height: 45px;
    }

    .text-hero .banner-cta-btn {
        min-height: 47px;
        font-size: 13px;
    }

    .procurando-section,
    .academias-section,
    .vantagens,
    .form-section,
    .faq-section,
    .cta-final {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .search-box {
        border-radius: 7px;
    }

    .academias-search-input,
    .academias-search-btn {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 360px) {
    .hero-banner {
        min-height: 540px;
        background-position: 66% top !important;
    }

    .text-hero h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .text-hero p {
        font-size: 13px;
        line-height: 20px;
    }

    .academias-section h2,
    .procurando-section h2,
    .vantagens h2,
    .form-title,
    .faq-section .section-title,
    .cta-final h2 {
        font-size: 19px;
        line-height: 27px;
    }

    .form-subtitle,
    .procurando-section .form-subtitle,
    .academias-section .form-subtitle {
        font-size: 12px;
        line-height: 19px;
    }

    .location-name {
        font-size: 17px;
        line-height: 23px;
    }
}


@media (max-width: 967px) {
    .hero-banner {
        background: #0d2238 url('img/bannerMobile.png') 58% top / cover no-repeat !important;
        background-image: url('img/bannerMobile.png') !important;
        min-height: 620px;
    }

    .hero-banner .desktop-banner {
        display: none;
    }
}

/* Ajustes responsivos do texto do hero */
@media (max-width: 1024px) {
    .text-hero h1 {
        font-size: 48px;
        line-height: 58px;
    }
}

@media (max-width: 990px) {
    .text-hero h1 {
        font-size: 40px;
        line-height: 48px;
    }

    .text-hero p {
        font-family: "DM Sans", sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }
}

/* Mobile */
.mobile-banner {
    justify-content: center;
    background: none;
}

.mobile-banner .banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

section {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

/* FORM SECTION: */
/* ----------------------------------- */

/* Cartão principal do formulário */
.form-section {
    background-color: #ECECEC;
    z-index: 10;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
}

/* Título de seção */
.form-title {
    text-align: center;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.form-subtitle {
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .form-card {
        max-width: 100%;
        padding: 32px 28px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-card {
        padding: 24px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .btn-form .btn {
        width: 100%;
        padding: 14px 32px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
    width: 100%;
    color: #1a1a1a;
}

/* Estilos de erro dos campos */
.form-group.has-error input {
    border-color: #C0002D;
    box-shadow: 0 0 0 1px rgba(192, 0, 45, 0.35);
}

.form-group.has-success input {
    border-color: #2E7D32;
    box-shadow: 0 0 0 1px rgba(46, 125, 50, 0.35);
}

.field-error {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #C0002D;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFB800;
}

.form-group input::placeholder {
    color: #999;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
    flex: 1;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
    background: var(--color-amarelo-smart);
    border-color: var(--color-amarelo-smart);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-amarelo-smart);
    outline-offset: 2px;
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: var(--color-amarelo-smart);
}

.checkbox-group.has-error input[type="checkbox"] {
    border-color: #C0002D;
    box-shadow: 0 0 0 1px rgba(192, 0, 45, 0.35);
}

.checkbox-group.has-error label {
    color: #C0002D;
}

.checkbox-group label {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    cursor: pointer;
}

.checkbox-group label a {
    color: #0066CC;
    text-decoration: none;
}

.btn-form {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.btn-form .btn {
    padding: 14px 64px;
    font-size: 15px;
}

/* -------------------------------*/
/*  FAQ SECTION  */
/*--------------------------------*/
/* Seção de dúvidas frequentes */
.faq-section {
    padding: 80px 20px;
    background: #fff;
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-section .section-title {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.faq-item {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.faq-header:hover {
    background: transparent;
}

.faq-header:active {
    background: transparent;
}

.faq-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    padding-right: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: #666;
    transition: color 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

/* Ícone do FAQ em amarelo no hover/aberto */
.faq-header:hover .faq-icon svg,
.faq-header:focus-visible .faq-icon svg,
.faq-item.open .faq-icon svg {
    color: #FFB800;
}

/* Foco amarelo no FAQ */
.faq-header:focus-visible {
    outline: 2px solid #FFB800;
    outline-offset: 2px;
}

/* Título da pergunta em amarelo no hover/aberto */
.faq-header:hover h4,
.faq-header:focus-visible h4,
.faq-item.open .faq-header h4 {
    color: #FFB800;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    padding: 0 20px;
    border-top: none;
    opacity: 0;
}

.faq-item.open .faq-content {
    max-height: 500px;
    padding: 0 20px 20px;
    opacity: 1;
}

.faq-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.faq-content p + p {
    margin-top: 4px;
}


.form-floating label .rut-hint {
    margin-top: 0rem;
    margin-bottom: 1rem;
}

.form-floating .form-control.hide-label-on-input:focus~label .rut-hint,
.form-floating .form-control.hide-label-on-input:not(:placeholder-shown)~label .rut-hint {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.cta-final {
    background-color: #ECECEC;
}



/* ----------------------------------- */
/* PROCURANDO ACADEMIA SECTION         */
/* ----------------------------------- */
.procurando-section {
    background-color: #fff;
}

.procurando-section h2 {
    font-size: 36px;
}

.procurando-section .btn {
    padding: 12px 48px;
    font-size: 14px;
}

.procurando-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------- */
/* ACADEMIAS SECTION (Carrossel)       */
/* ----------------------------------- */
.academias-section {
    background-color: #F5F5F5;
}

.academias-search-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 50;
}

.academias-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 18px;
    font-size: 15px;
    font-family: var(--font-family-base);
    color: #333;
    border-radius: 8px 0 0 8px;
    background: transparent;
}

.academias-search-input::placeholder {
    color: #999;
}

.academias-search-btn {
    background: none;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: color 0.2s;
}

.academias-search-btn:hover {
    color: #FFB612;
}

/* Setas de navegação */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-amarelo-smart);
    color: #000;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.3s, transform 0.3s, opacity 0.4s ease;
}

.carousel-arrow:hover:not(:disabled) {
    background: #ffda6a;
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:disabled {
    background: rgba(255, 182, 18, 0.25);
    color: rgba(0, 0, 0, 0.3);
    cursor: default;
    pointer-events: none;
}

.carousel-arrow-left {
    left: -22px;
}

.carousel-arrow-right {
    right: -22px;
}

/* Dots de paginação */
.academias-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.academias-dots .dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: #CCC;
    cursor: pointer;
    transition: background 0.5s ease, width 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.5s ease;
}

.academias-dots .dot.active {
    background: var(--color-amarelo-smart);
    width: 32px;
    border-radius: 4px;
}

/* ----------------------------------- */
/* LOCATION CARD (API - Pixel Perfect) */
/* ----------------------------------- */

/* Scroll container */
.locations-carousel {
    position: relative;
    padding: 0 56px;
    overflow: visible;
}

.locations-container {
    overflow: hidden;
    cursor: grab;
}

.locations-container.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

.locations-slider {
    display: flex;
    gap: 24px;
    padding: 10px 4px 16px;
    transition: transform 1s cubic-bezier(0.22, 0.9, 0.2, 1);
    will-change: transform;
}

.locations-slider.no-transition {
    transition: none !important;
}

/* Card */
.location-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    contain: layout paint style;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}

.location-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
    transform: translateY(-4px);
}

/* Imagem + Badge */
.location-media {
    position: relative;
    width: 100%;
    height: 142px;
    overflow: hidden;
    flex-shrink: 0;
}

.location-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-distance-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: "Gotham", "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 325;
    font-style: normal;
    line-height: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.location-distance-badge.is-hidden {
    display: none !important;
}

.location-distance-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #1a1a1a;
}

.location-distance-text {
    white-space: nowrap;
}

/* Info */
.location-info {
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.location-name {
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 24px;
}

.location-address {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.location-address i,
.location-address-icon {
    color: #666;
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Horários */
.location-hours {
    margin-bottom: 18px;
    border-top: 1px solid #ECECEC;
    padding-top: 14px;
}

.location-hours-label {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-hours-label i {
    color: #1a1a1a;
    font-size: 14px;
}

.location-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.location-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-hours-day {
    font-size: 15px;
    color: #333;
    font-weight: 400;
    line-height: 1.5;
}

.location-hours-time {
    font-size: 15px;
    color: #333;
    font-weight: 400;
    text-align: right;
    line-height: 1.5;
}

/* Botão "Ver academia" */
.location-link {
    margin-top: auto;
    width: 100%;
    padding: 12px 20px !important;
    font-size: 15px !important;
    font-weight: 700;
    text-align: center;
    border-radius: 30px;
}

/* Utility */
.is-hidden {
    display: none !important;
}

/* Search Box (posição relativa para sugestões) */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: visible;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 200;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.search-suggestions.is-hidden {
    display: none !important;
}

.search-suggestions-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family-base);
    transition: background 0.15s;
}

.search-suggestions-item:hover {
    background: #F5F5F5;
}

.search-suggestions-btn {
    font-weight: 500;
    color: #FFB612;
}

.search-suggestions-address {
    font-weight: 400;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    border-top: 1px solid #F0F0F0;
}

.search-suggestions-address:hover {
    background: #FFF8E1;
}

.search-suggestions-divider {
    height: 1px;
    background: #E0E0E0;
}

.search-suggestions-loading,
.search-suggestions-empty,
.search-suggestions-hint {
    padding: 10px 16px;
    font-size: 13px;
    color: #999;
}

.search-suggestions-loading {
    font-style: italic;
}

/* Botão outline para "Encontrar mais academias" */
.btn.btn-outline-academias {
    background-color: transparent !important;
    background: transparent !important;
    border: 2px solid var(--color-amarelo-smart) !important;
    color: #000 !important;
    padding: 12px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 8px;
}

.btn.btn-outline-academias:hover {
    background-color: var(--color-amarelo-smart) !important;
    background: var(--color-amarelo-smart) !important;
    color: #000 !important;
    transform: translateY(-2px);
}

.academias-section .btn-text-mobile {
    display: none;
}

.academias-section .btn-text-desktop {
    display: inline;
}

/* Botão sólido laranja para "Buscar academia perto de mim" */
.btn.btn-academias-solid {
    background-color: #FF6A13 !important;
    background: #FF6A13 !important;
    border: none !important;
    color: #fff !important;
    padding: 14px 48px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    margin-top: 8px;
}

.btn.btn-academias-solid:hover {
    background-color: #e55e10 !important;
    background: #e55e10 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* ----------------------------------- */
/* ACADEMIAS / LOCATION RESPONSIVO     */
/* ----------------------------------- */
@media (max-width: 991px) {
    .location-card {
        flex: 0 0 320px;
        min-width: 280px;
    }

    .locations-carousel {
        padding: 0 50px;
    }

    .carousel-arrow-left {
        left: -6px;
    }

    .carousel-arrow-right {
        right: -6px;
    }
}

@media (max-width: 767px) {
    .location-card {
        flex: 0 0 calc(100vw - 120px);
        max-width: calc(100vw - 120px);
        min-width: 0;
    }

    .location-media {
        height: 142px;
    }

    .locations-carousel {
        padding: 0 28px;
        overflow: visible;
    }

    .carousel-arrow {
        display: flex;
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .carousel-arrow-left {
        left: -4px;
    }

    .carousel-arrow-right {
        right: -4px;
    }

    .locations-slider {
        gap: 12px;
        padding: 10px 6px 16px;
    }

    .location-card {
        box-shadow: none;
    }

    .location-card:hover {
        box-shadow: none;
        transform: none;
    }

    .location-name {
        font-size: 20px;
    }

    .location-address {
        font-size: 14px;
    }

    .location-hours-label {
        font-size: 14px;
    }

    .location-hours-day,
    .location-hours-time {
        font-size: 14px;
    }

    .location-info {
        padding: 20px 24px 24px;
    }

    .location-link {
        padding: 14px 20px !important;
        font-size: 16px !important;
    }

    .procurando-section h2,
    .academias-section h2 {
        font-size: 24px;
    }

    .search-box {
        max-width: 100%;
    }

    .faq-header h4 {
        font-size: 14px;
    }

    .faq-content p {
        font-size: 14px;
    }

    .vantagens h2 {
        font-size: 24px;
    }

    .card-vantagens {
        max-width: 100%;
    }
}

/* ----------------------------------- */
/* SCROLL REVEAL ANIMATIONS            */
/* ----------------------------------- */

/* Base state: elements start hidden */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Revealed state */
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside a group */
[data-reveal-group] > [data-reveal]:nth-child(1) { transition-delay: 0ms; }
[data-reveal-group] > [data-reveal]:nth-child(2) { transition-delay: 100ms; }
[data-reveal-group] > [data-reveal]:nth-child(3) { transition-delay: 200ms; }
[data-reveal-group] > [data-reveal]:nth-child(4) { transition-delay: 300ms; }
[data-reveal-group] > [data-reveal]:nth-child(5) { transition-delay: 400ms; }
[data-reveal-group] > [data-reveal]:nth-child(6) { transition-delay: 500ms; }

/* Slide-in from left */
[data-reveal="left"] {
    transform: translateX(-40px);
}
[data-reveal="left"].revealed {
    transform: translateX(0);
}

/* Slide-in from right */
[data-reveal="right"] {
    transform: translateX(40px);
}
[data-reveal="right"].revealed {
    transform: translateX(0);
}

/* Scale-up */
[data-reveal="scale"] {
    transform: scale(0.92);
}
[data-reveal="scale"].revealed {
    transform: scale(1);
}

/* ----------------------------------- */
/* MICRO-INTERACTIONS                  */
/* ----------------------------------- */

/* Banner text fade-in on load */
.hero-banner .text-hero {
    animation: heroPanelIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes heroPanelIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner image subtle zoom */
.hero-banner .banner-img {
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.04); }
}

/* Button hover glow pulse */
.btn:hover,
.cta:hover {
    box-shadow: 0 4px 20px rgba(255, 182, 18, 0.4);
}

/* Button press effect */
.btn:active,
.cta:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.1s;
}

/* Location card image zoom on hover */
.location-card:hover .location-media img {
    transform: scale(1.06);
}

.location-media img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Search box focus glow */
.search-box:focus-within {
    border-color: var(--color-amarelo-smart);
    box-shadow: 0 0 0 3px rgba(255, 182, 18, 0.15);
    transition: border-color 0.2s, box-shadow 0.2s;
}



/* Form input focus animation */
.form-group input:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.12);
    transform: translateY(-1px);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* FAQ smooth open animation */
.faq-item .faq-content {
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                padding 0.3s ease,
                opacity 0.3s ease;
    opacity: 0;
}

.faq-item.open .faq-content {
    opacity: 1;
}

/* Vantagens card hover lift */
.card-vantagens {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-vantagens:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(255, 182, 18, 0.15);
}

/* Vantagens icon bounce on hover */
.card-vantagens:hover .vantagens-icone {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-3px); }
}

/* Carousel arrow press effect */
.carousel-arrow:active:not(:disabled) {
    background: #e5a410;
    transform: translateY(-50%) scale(0.92);
    transition-duration: 0.1s;
}

/* Dot active transition is defined in main dots section */

/* Badge slide-in */
.location-distance-badge {
    animation: badgeSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Checkbox line proper layout */
.checkbox-line {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Smooth scrollbar for locations */
@media (max-width: 767.98px) {
    .procurando-section,
    .academias-section,
    .vantagens,
    .form-section,
    .faq-section,
    .cta-final {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .procurando-section h2,
    .academias-section h2,
    .vantagens h2,
    .form-title,
    .faq-section .section-title,
    .cta-final h2 {
        font-size: 32px !important;
        font-style: normal !important;
        font-weight: 900 !important;
        line-height: 40px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 14px !important;
    }

    .vantagens h2.py-2 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .vantagens h2 {
        margin-bottom: 40px !important;
    }

    .procurando-section .form-subtitle,
    .academias-section .form-subtitle,
    .form-subtitle {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .academias-search-wrapper {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }

    .academias-dots {
        display: flex !important;
        margin-top: 16px !important;
    }

    .cta-final .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .procurando-section .container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .cta-final h2 {
        margin-bottom: 32px !important;
    }

    .cta-final .btn {
        width: 100%;
        min-height: 48px;
        padding: 12px 24px;
        border-radius: 999px;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
    }

    .faq-section .section-title {
        font-family: "DM Sans", sans-serif;
        font-size: 32px !important;
        font-style: normal;
        font-weight: 900 !important;
        line-height: 40px !important;
        margin-bottom: 32px !important;
    }

    /* CTAs mobile: sem largura fixa e com texto em uma linha */
    .procurando-section a.btn,
    .vantagens a.btn,
    .btn-form .btn,
    .academias-section a.btn,
    .academias-section a.btn.btn-outline-academias {
        width: auto !important;
        max-width: 100%;
        white-space: nowrap;
        padding: 14px 24px !important;
        font-size: 14px !important;
        line-height: 20px !important;
        border-radius: 999px !important;
    }

    .academias-section a.btn.btn-outline-academias,
    .academias-section a.btn[data-title*="encontrar-mais-academias"] {
        background-color: var(--color-amarelo-smart) !important;
        background: var(--color-amarelo-smart) !important;
        border: none !important;
        color: #000 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .academias-section .btn-text-desktop {
        display: none;
    }

    .academias-section .btn-text-mobile {
        display: inline;
    }

    .text-hero .banner-cta-btn,
    .procurando-section a.btn[data-title="buscar-academia"] {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px !important;
        padding: 12px 24px !important;
        font-size: 14px !important;
        line-height: 20px !important;
        border-radius: 999px !important;
        white-space: nowrap;
    }

    .academias-section .location-link {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 48px;
        padding: 12px 20px !important;
        font-size: 14px !important;
        line-height: 20px !important;
        border-radius: 999px !important;
        white-space: nowrap;
    }

    .form-section .btn-form .btn {
        width: 100% !important;
        max-width: 100% !important;
    }

    .vantagens a.btn[data-title*="fazer"] {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Ajuste final de títulos para telas muito pequenas */
@media (max-width: 379.98px) {
    .procurando-section h2,
    .academias-section h2,
    .vantagens h2,
    .form-title,
    .faq-section .section-title,
    .cta-final h2 {
        font-size: 28px !important;
        line-height: 34px !important;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-banner .banner-img {
        animation: none !important;
    }
    .hero-banner .text-hero {
        animation: none !important;
    }
}
