/* ===============================================================
   FF Consórcios - Ajustes adicionais
   Arquivo: assets/css/ff-consorcios-ajustes.css
================================================================ */

:root {
    --ff-green: #00514f;
    --ff-green-dark: #003735;
    --ff-green-soft: #e9f4f2;
    --ff-yellow: #f5c94c;
    --ff-yellow-soft: #fff4c7;
    --ff-orange: #f28b30;
    --ff-ink: #101313;
    --ff-muted: #667276;
    --ff-border: rgba(0, 81, 79, 0.12);
}

body.home-style-14 {
    background: #fff;
}

.mb-45 {
    margin-bottom: 45px;
}

/* ---------- menu produtos ---------- */
.ff-products-menu .dropdown-menu {
    min-width: 230px;
    padding: 12px 0;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
}

.ff-products-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: var(--ff-ink);
    font-size: 13px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.ff-products-menu .dropdown-item i {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: var(--ff-green-soft);
    color: var(--ff-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
}

.ff-products-menu .dropdown-item span {
    display: inline-block;
}

.ff-products-menu .dropdown-item:hover,
.ff-products-menu .dropdown-item:focus {
    background: var(--ff-green-soft);
    color: var(--ff-green);
}

/* ---------- navbar / hero ---------- */
.navbar.style-14 {
    border-bottom: 1px solid rgba(0, 81, 79, 0.08);
}

header.style-14 {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 16%, rgba(245, 201, 76, 0.28) 0, rgba(245, 201, 76, 0) 32%),
        radial-gradient(circle at 85% 10%, rgba(0, 81, 79, 0.16) 0, rgba(0, 81, 79, 0) 34%),
        linear-gradient(135deg, #ffffff 0%, #f5fbfa 48%, #e9f4f2 100%);
}

header.style-14::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 81, 79, 0.08);
    pointer-events: none;
}

.ff-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--ff-green);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
}

.ff-hero-label i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ff-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    box-shadow: 0 12px 28px rgba(0, 81, 79, 0.28);
}

header.style-14 .info .ff-hero-title {
    max-width: 650px;
    color: var(--ff-ink);
    font-size: 46px;
    line-height: 1.18;
    letter-spacing: -1px;
}

header.style-14 .info .ff-hero-title span {
    color: var(--ff-green);
    position: relative;
    white-space: nowrap;
}

header.style-14 .info .ff-hero-title span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 12px;
    border-radius: 999px;
    background: rgba(245, 201, 76, 0.55);
    z-index: -1;
}

.ff-hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 45px;
    margin-bottom: 80px;
}

.ff-hero-actions .btn {
    min-width: 185px;
}

/* ---------- títulos e blocos globais ---------- */
.ff-section-title {
    color: var(--ff-ink);
    font-size: 40px;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.ff-section-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--ff-muted);
    font-size: 16px;
    line-height: 1.75;
}

.ff-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--ff-green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ff-section-eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: var(--ff-yellow);
}

.ff-eyebrow-light {
    color: #fff;
}

.ff-eyebrow-light::before {
    background: var(--ff-yellow);
}

/* ---------- produtos / conquistas com imagens reais ---------- */
.ff-products-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(245, 201, 76, 0.35) 0, rgba(245, 201, 76, 0) 27%),
        linear-gradient(135deg, var(--ff-green) 0%, var(--ff-green-dark) 100%);
}

.ff-products-showcase::before,
.ff-products-showcase::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ff-products-showcase::before {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -140px;
    background: rgba(245, 201, 76, 0.18);
}

.ff-products-showcase::after {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.09);
}

.ff-products-head .ff-section-title,
.ff-products-head .ff-section-subtitle {
    color: #fff;
}

.ff-products-head .ff-section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.ff-products-row {
    position: relative;
    z-index: 2;
}

.ff-product-card {
    position: relative;
    height: 455px;
    border-radius: 28px;
    overflow: hidden;
    background: #10201f;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ff-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 85px rgba(0, 0, 0, 0.3);
}

.ff-product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.55s ease;
    z-index: -2;
}

.ff-product-card:hover img {
    transform: scale(1.08);
}

.ff-product-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 30, 29, 0.35) 38%, rgba(0, 37, 36, 0.88) 100%),
        linear-gradient(135deg, rgba(0, 81, 79, 0.55) 0%, rgba(0, 81, 79, 0) 55%);
    z-index: -1;
}

.ff-product-card-featured {
    transform: translateY(-14px);
}

.ff-product-card-featured:hover {
    transform: translateY(-22px);
}

.ff-product-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    color: #fff;
}

.ff-product-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ff-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ff-product-kicker {
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(245, 201, 76, 0.95);
    color: var(--ff-green-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ff-product-card h4 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.ff-product-card p {
    max-width: 360px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.7;
}

.ff-product-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ff-product-link:hover {
    color: var(--ff-yellow);
}

.ff-showcase-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(12px);
}

.ff-showcase-cta strong,
.ff-showcase-cta span {
    display: block;
    color: #fff;
}

.ff-showcase-cta strong {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 900;
}

.ff-showcase-cta span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

/* compatibilidade caso algum card antigo ainda apareça */
.ff-card {
    height: 100%;
    padding: 40px 32px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.ff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.ff-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(0, 81, 79, 0.08);
    color: var(--ff-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ff-card h4 {
    margin-bottom: 16px;
    color: #000;
    font-size: 22px;
}

.ff-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* ---------- sobre com imagem orgânica ---------- */
.ff-about-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 81, 79, 0.07) 0, rgba(0, 81, 79, 0) 28%),
        #ffffff;
}

.ff-about-copy {
    max-width: 590px;
}

.ff-about-text {
    margin-top: 22px;
    color: var(--ff-muted);
    font-size: 16px;
    line-height: 1.85;
}

.ff-about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.ff-about-highlight {
    min-height: 120px;
    padding: 20px 16px;
    border-radius: 22px;
    background: var(--ff-green-soft);
    border: 1px solid var(--ff-border);
    color: var(--ff-green);
    font-weight: 900;
    line-height: 1.35;
}

.ff-about-highlight i {
    display: block;
    margin-bottom: 16px;
    color: var(--ff-orange);
    font-size: 23px;
}

.ff-about-media {
    position: relative;
    max-width: 620px;
    margin-left: auto;
    padding: 18px;
}

.ff-about-media::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 42% 58% 52% 48% / 42% 36% 64% 58%;
    background: var(--ff-yellow);
    transform: rotate(-5deg);
    opacity: 0.95;
}

.ff-about-media::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 44px;
    width: 112px;
    height: 112px;
    border-radius: 36px;
    background: var(--ff-green);
    opacity: 0.16;
    transform: rotate(17deg);
}

.ff-about-media img {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 430px;
    object-fit: cover;
    border-radius: 42% 58% 52% 48% / 42% 36% 64% 58%;
    box-shadow: 0 26px 70px rgba(0, 81, 79, 0.2);
}

.ff-about-badge {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 36px;
    max-width: 270px;
    padding: 20px 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.ff-about-badge strong,
.ff-about-badge span {
    display: block;
}

.ff-about-badge strong {
    margin-bottom: 5px;
    color: var(--ff-green);
    font-size: 20px;
    font-weight: 900;
}

.ff-about-badge span {
    color: var(--ff-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* ---------- vantagens em destaque ---------- */
.ff-advantages-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%);
}

.ff-advantages-section::before {
    content: "";
    position: absolute;
    left: -120px;
    top: 120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(245, 201, 76, 0.25);
    pointer-events: none;
}

.ff-title-marker span {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.ff-title-marker span::before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: 5px;
    height: 48%;
    border-radius: 12px;
    background: var(--ff-yellow);
    z-index: -1;
    transform: rotate(-1.5deg);
}

.ff-advantage-card {
    position: relative;
    display: flex;
    gap: 20px;
    height: 100%;
    padding: 30px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--ff-border);
    box-shadow: 0 18px 50px rgba(0, 81, 79, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ff-advantage-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 81, 79, 0.28);
    box-shadow: 0 26px 70px rgba(0, 81, 79, 0.13);
}

.ff-advantage-card::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 24px;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(245, 201, 76, 0.18);
    transform: rotate(12deg);
}

.ff-advantage-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--ff-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 21px;
    box-shadow: 0 14px 30px rgba(0, 81, 79, 0.22);
}

.ff-advantage-card h5 {
    margin-bottom: 8px;
    color: var(--ff-ink);
    font-size: 21px;
    font-weight: 900;
}

.ff-advantage-card p {
    margin-bottom: 0;
    color: var(--ff-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* compatibilidade caso a listagem antiga de vantagens ainda apareça */
.ff-benefit-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ff-benefit-item:last-child {
    border-bottom: 0;
}

.ff-benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(0, 81, 79, 0.08);
    color: var(--ff-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.ff-benefit-item h5 {
    margin-bottom: 6px;
    color: #000;
    font-weight: 800;
}

.ff-benefit-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- contato / rodapé ---------- */
.ff-contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 45px;
}

.ff-contact-actions .btn {
    min-height: 48px;
    align-items: center;
}

.ff-contact-actions i {
    color: inherit;
}

footer.style-14 {
    background:
        radial-gradient(circle at 20% 10%, rgba(245, 201, 76, 0.22), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f1f8f7 100%);
}

/* ---------- modal currículo ---------- */
.ff-modal .modal-content {
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
}

.ff-modal .modal-header {
    padding: 22px 26px;
    border-bottom: 0;
    background: var(--ff-green);
    color: #fff;
}

.ff-modal .modal-title {
    font-weight: 800;
}

.ff-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.ff-modal .modal-body {
    padding: 28px;
}

.ff-modal label {
    margin-bottom: 8px;
    color: #222;
    font-weight: 700;
}

.ff-modal .form-control {
    min-height: 48px;
    padding: 13px 15px;
    border-radius: 12px;
    border-color: rgba(0, 0, 0, 0.12);
    color: #222;
    font-size: 14px;
}

.ff-modal .form-control:focus {
    border-color: var(--ff-green);
    box-shadow: none;
}

.ff-modal .form-text {
    margin-top: 7px;
    color: #777;
    font-size: 12px;
}

.ff-cv-feedback {
    display: none;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ff-cv-feedback.success {
    display: block;
    background: rgba(0, 192, 87, 0.12);
    color: #00833c;
}

.ff-cv-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.12);
    color: #b02a37;
}

#btnEnviarCv[disabled] {
    cursor: not-allowed;
    opacity: 0.75;
}

/* ---------- ajustes responsivos ---------- */
@media screen and (min-width: 992px) {
    .ff-products-menu:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media screen and (max-width: 1199px) {
    header.style-14 .info .ff-hero-title {
        font-size: 40px;
    }

    .ff-product-card {
        height: 420px;
    }

    .ff-product-content {
        padding: 28px;
    }

    .ff-product-card h4 {
        font-size: 25px;
    }
}

@media screen and (max-width: 991px) {
    .navbar.style-14 .navbar-nav .nav-item .nav-link {
        margin: 6px 0;
    }

    .ff-products-menu .dropdown-menu {
        margin-top: 8px;
        box-shadow: none;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .ff-hero-actions {
        margin-bottom: 40px;
    }

    header.style-14 .info .ff-hero-title {
        font-size: 36px;
        line-height: 1.22;
    }

    .ff-section-title {
        font-size: 31px;
    }

    .ff-section-subtitle {
        font-size: 15px;
    }

    .ff-product-card,
    .ff-product-card-featured {
        height: 390px;
        transform: none;
    }

    .ff-product-card-featured:hover,
    .ff-product-card:hover {
        transform: translateY(-6px);
    }

    .ff-showcase-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .ff-about-highlights {
        grid-template-columns: 1fr;
    }

    .ff-about-media {
        margin-right: auto;
        margin-left: auto;
    }

    .ff-about-media img {
        min-height: 360px;
    }

    .ff-contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ff-contact-actions .btn {
        width: 100%;
    }
}

@media screen and (max-width: 575px) {
    .ff-hero-label {
        align-items: flex-start;
    }

    .ff-hero-label i {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    header.style-14 .info .ff-hero-title,
    .ff-hero-title {
        font-size: 30px !important;
        line-height: 1.25;
    }

    .ff-hero-actions {
        align-items: stretch;
    }

    .ff-hero-actions .btn {
        width: 100%;
    }

    .ff-products-showcase {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .ff-product-card {
        height: 370px;
        border-radius: 22px;
    }

    .ff-product-content {
        padding: 24px;
    }

    .ff-product-card h4 {
        font-size: 23px;
    }

    .ff-product-card p {
        font-size: 14px;
    }

    .ff-showcase-cta {
        padding: 22px;
    }

    .ff-about-media {
        padding: 10px;
    }

    .ff-about-media img {
        min-height: 300px;
        border-radius: 34px;
    }

    .ff-about-media::before {
        border-radius: 34px;
    }

    .ff-about-badge {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin: -38px 18px 0;
    }

    .ff-advantage-card {
        flex-direction: column;
        padding: 25px;
    }

    .ff-advantage-card h5 {
        font-size: 19px;
    }

    .ff-modal .modal-body {
        padding: 22px;
    }
}
