/* ================================================================
   FOOTER — A+ BOUTIQUE IMOBILIÁRIA
   footer-style.css · Estilos Desktop (base)
   Paleta oficial:
     Azul Marinho  : #191F39  |  Azul Petróleo : #06465E
     Cinza         : #7A786B  |  Creme         : #EFE3C9
================================================================ */

:root {
    --azul-marinho  : #191F39;
    --azul-petroleo : #06465E;
    --cinza         : #7A786B;
    --creme         : #EFE3C9;
    --creme-soft    : rgba(239,227,201,0.12);
    --creme-border  : rgba(239,227,201,0.15);
    --footer-font   : 'Georgia','Times New Roman',serif;
    --footer-sans   : 'Arial',sans-serif;
}


/* ================================================================
   SEÇÃO — VANTAGENS + SIMULADOR (#comprarProntos)
================================================================ */
#comprarProntos {
    background : var(--creme);
    padding    : 96px 40px;
    margin     : 0;
    overflow   : hidden;
}

.comprarProntosContainer {
    max-width             : 1200px;
    margin                : 0 auto;
    display               : grid;
    grid-template-columns : 1fr 1fr;
    gap                   : 0 64px;
    align-items           : center;
}

.cp-label {
    display        : inline-block;
    font-size      : 11px;
    font-weight    : 700;
    letter-spacing : 2.5px;
    text-transform : uppercase;
    color          : var(--azul-petroleo);
    opacity        : 0.7;
    margin-bottom  : 20px;
}

.compra-prontos-titulo {
    font-family : var(--footer-font);
    font-size   : 38px;
    font-weight : 400;
    color       : var(--azul-marinho);
    line-height : 1.25;
    margin      : 0 0 28px;
}

.compra-prontos-titulo em {
    font-style : italic;
    color      : var(--azul-petroleo);
}

.texto p {
    font-size   : 14px;
    line-height : 1.85;
    color       : var(--cinza);
    margin      : 0 0 16px;
}

.texto p strong { color: var(--azul-marinho); font-weight: 600; }

.cp-diferenciais {
    display               : grid;
    grid-template-columns : 1fr 1fr;
    gap                   : 12px 24px;
    margin-top            : 32px;
    padding-top           : 28px;
    border-top            : 1px solid rgba(25,31,57,0.1);
}

.cp-diferencial-item {
    display     : flex;
    align-items : center;
    gap         : 10px;
    font-size   : 13px;
    color       : var(--azul-marinho);
}

.cp-diferencial-item i {
    flex-shrink     : 0;
    background      : rgba(6,70,94,0.1);
    border          : 1px solid rgba(6,70,94,0.2);
    border-radius   : 50%;
    width           : 24px;
    height          : 24px;
    min-width       : 24px;
    display         : flex;
    align-items     : center;
    justify-content : center;
    font-size       : 10px;
    color           : var(--azul-petroleo);
}

/* Coluna do card */
.simulador {
    display   : flex;
    min-width : 0;
    width     : 100%;
    overflow  : hidden;
}

.simulador__img,
.simulador > *:not(.simulador__card) {
    display : none !important;
}

.simulador__card {
    background    : var(--azul-marinho);
    border-radius : 20px;
    padding       : 40px;
    width         : 100%;
    box-sizing    : border-box;
    transition    : transform 0.3s, box-shadow 0.3s;
}

.simulador__card:hover {
    transform  : translateY(-4px);
    box-shadow : 0 16px 48px rgba(25,31,57,0.2);
}

.simulador__card-topo {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    margin-bottom   : 28px;
    gap             : 12px;
    flex-wrap       : wrap;
}

.simulador__icone {
    display         : flex;
    align-items     : center;
    justify-content : center;
    width           : 52px;
    height          : 52px;
    background      : rgba(6,70,94,0.5);
    border          : 1px solid rgba(6,70,94,0.7);
    border-radius   : 14px;
    color           : #5bb8d4;
    font-size       : 22px;
    flex-shrink     : 0;
}

.simulador__badge {
    font-size      : 10px;
    font-weight    : 700;
    letter-spacing : 1.5px;
    text-transform : uppercase;
    color          : rgba(239,227,201,0.5);
    background     : var(--creme-soft);
    border         : 1px solid var(--creme-border);
    border-radius  : 20px;
    padding        : 5px 14px;
}

.simulador__info h3 {
    font-family : var(--footer-font);
    font-size   : 26px;
    font-weight : 400;
    color       : var(--creme);
    margin      : 0 0 12px;
    line-height : 1.3;
}

.simulador__info h3 em { font-style: italic; color: rgba(239,227,201,0.65); }

.simulador__info p {
    font-size   : 13px;
    line-height : 1.75;
    color       : rgba(239,227,201,0.55);
    margin      : 0 0 24px;
}

.simulador__features {
    list-style     : none;
    padding        : 0;
    margin         : 0 0 28px;
    display        : flex;
    flex-direction : column;
    gap            : 10px;
}

.simulador__features li {
    display     : flex;
    align-items : center;
    gap         : 10px;
    font-size   : 12px;
    color       : rgba(239,227,201,0.6);
}

.simulador__features li i { color: #5bb8d4; font-size: 10px; flex-shrink: 0; }

.btn-simulador {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 12px;
    width           : 100%;
    padding         : 15px 22px;
    background      : var(--creme);
    color           : var(--azul-marinho);
    border          : none;
    border-radius   : 8px;
    font-size       : 13px;
    font-weight     : 700;
    letter-spacing  : 0.5px;
    cursor          : pointer;
    transition      : background 0.25s, transform 0.2s;
    box-sizing      : border-box;
}

.btn-simulador:hover { background: #ffffff; transform: translateY(-2px); }
.btn-simulador i     { font-size: 12px; opacity: 0.7; flex-shrink: 0; }


/* ================================================================
   MODAL — SIMULAÇÃO DE CRÉDITO
================================================================ */
.modal-calc {
    display         : none;
    position        : fixed;
    top             : 0; left: 0;
    width           : 100%;
    height          : 100%;
    background      : rgba(25,31,57,0.85);
    backdrop-filter : blur(4px);
    z-index         : 9999;
    align-items     : center;
    justify-content : center;
    padding         : 20px;
    box-sizing      : border-box;
}

.modal-calc.active { display: flex !important; }

.modal-content-calc {
    background    : var(--azul-marinho);
    border        : 1px solid var(--creme-border);
    border-radius : 20px;
    padding       : 48px;
    max-width     : 100%;
    width         : 100%;
    position      : relative;
    max-height    : 90vh;
    overflow-y    : auto;
    box-shadow    : 0 24px 80px rgba(0,0,0,0.4);
    box-sizing    : border-box;
}

.modal-content-calc::-webkit-scrollbar { width: 4px; }
.modal-content-calc::-webkit-scrollbar-thumb { background: var(--creme-border); border-radius: 2px; }

.close-button-calc {
    position    : absolute;
    top         : 20px;
    right       : 24px;
    font-size   : 24px;
    color       : rgba(239,227,201,0.5);
    cursor      : pointer;
    line-height : 1;
    transition  : color 0.2s;
}

.close-button-calc:hover { color: var(--creme); }

.title-simulation-calc {
    font-family   : var(--footer-font);
    font-size     : 26px;
    font-weight   : 400;
    color         : var(--creme);
    margin        : 0 0 32px;
    line-height   : 1.3;
    padding-right : 32px;
}

#step-1 label, #step-2 label {
    display        : block;
    font-size      : 11px;
    font-weight    : 700;
    letter-spacing : 1.2px;
    text-transform : uppercase;
    color          : rgba(239,227,201,0.55);
    margin-bottom  : 8px;
    margin-top     : 20px;
}

#step-1 label:first-child { margin-top: 0; }

#step-1 input, #step-2 input {
    width         : 100%;
    background    : rgba(255,255,255,0.05);
    border        : 1px solid var(--creme-border);
    border-radius : 8px;
    padding       : 13px 16px;
    font-size     : 15px;
    color         : var(--creme);
    outline       : none;
    transition    : border-color 0.25s, background 0.25s;
    box-sizing    : border-box;
    -webkit-appearance: none;
}

#step-1 input::placeholder, #step-2 input::placeholder { color: rgba(239,227,201,0.25); }
#step-1 input:focus, #step-2 input:focus {
    border-color : var(--azul-petroleo);
    background   : rgba(6,70,94,0.2);
}

#step-1 small {
    display    : block;
    color      : rgba(239,227,201,0.35) !important;
    font-size  : 11px !important;
    margin-top : 6px !important;
}

#calculateBtn {
    margin-top      : 28px;
    width           : 100%;
    display         : flex;
    align-items     : center;
    justify-content : center;
    padding         : 15px 24px;
    background      : var(--creme);
    color           : var(--azul-marinho);
    border          : none;
    border-radius   : 8px;
    font-size       : 14px;
    font-weight     : 700;
    cursor          : pointer;
    transition      : background 0.25s, transform 0.2s;
    box-sizing      : border-box;
}

#calculateBtn:hover { background: #ffffff; transform: translateY(-1px); }

.result-simulation {
    font-family : var(--footer-font);
    font-size   : 18px;
    font-weight : 400;
    color       : var(--creme);
    margin      : 0 0 20px;
}

.result-box-calc {
    background    : rgba(6,70,94,0.3);
    border        : 1px solid rgba(6,70,94,0.5);
    border-radius : 12px;
    padding       : 24px;
    text-align    : center;
    margin-bottom : 24px;
}

.result-box-calc p {
    font-size      : 11px;
    font-weight    : 700;
    letter-spacing : 1.5px;
    text-transform : uppercase;
    color          : rgba(239,227,201,0.5);
    margin         : 0 0 10px;
}

.result-box-calc h3 {
    font-family : var(--footer-font);
    font-size   : 36px;
    font-weight : 700;
    color       : var(--creme);
    margin      : 0;
}

.financial-details-calc {
    display               : grid;
    grid-template-columns : 1fr 1fr;
    gap                   : 12px;
    margin-bottom         : 28px;
}

.financial-details-calc > div {
    background    : rgba(255,255,255,0.04);
    border        : 1px solid var(--creme-border);
    border-radius : 8px;
    padding       : 14px 16px;
}

.financial-details-calc p {
    font-size   : 11px;
    color       : rgba(239,227,201,0.45);
    margin      : 0 0 6px;
    line-height : 1.4;
}

.value-highlight-calc {
    font-family : var(--footer-font) !important;
    font-size   : 15px !important;
    font-weight : 600 !important;
    color       : var(--creme) !important;
    margin      : 0 !important;
}

#sendResultsBtn {
    width           : 100%;
    display         : flex;
    align-items     : center;
    justify-content : center;
    padding         : 15px 24px;
    background      : var(--creme);
    color           : var(--azul-marinho);
    border          : none;
    border-radius   : 8px;
    font-size       : 14px;
    font-weight     : 700;
    cursor          : pointer;
    transition      : background 0.25s, transform 0.2s, opacity 0.25s;
    box-sizing      : border-box;
    margin-top      : 0 !important;
}

#sendResultsBtn:hover:not(:disabled) { background: #ffffff; transform: translateY(-1px); }
#sendResultsBtn:disabled             { opacity: 0.4; cursor: not-allowed; }


/* ================================================================
   FOOTER — ESTRUTURA PRINCIPAL
================================================================ */
#boutiqueFooter {
    background-color : var(--azul-marinho);
    color            : var(--creme);
    font-family      : var(--footer-sans);
    margin           : 0;
    padding          : 0;
}

.footer__top {
    padding       : 72px 0 56px;
    border-bottom : 1px solid var(--creme-border);
}

.footer__container {
    max-width             : 1200px;
    margin                : 0 auto;
    padding               : 0 40px;
    display               : grid;
    grid-template-columns : 1fr 1px 1fr;
    gap                   : 0 64px;
    align-items           : start;
}

.footer__divider {
    background : var(--creme-border);
    width      : 1px;
    height     : 100%;
    min-height : 360px;
    align-self : stretch;
}

.footer__info { display: flex; flex-direction: column; gap: 36px; }

.footer__brand { display: flex; flex-direction: column; gap: 12px; }

.footer__logo {
    height      : 48px;
    width       : auto;
    object-fit  : contain;
    filter      : brightness(0) invert(1) sepia(0.35) saturate(1.1) hue-rotate(5deg) brightness(0.93);
    max-width   : 200px;
}

.footer__tagline {
    font-family  : var(--footer-font);
    font-size    : 13px;
    font-style   : italic;
    color        : rgba(239,227,201,0.6);
    margin       : 0;
    letter-spacing: 0.5px;
}

.footer__contact-details { display: flex; flex-direction: column; gap: 16px; }

.footer__contact-item {
    display         : flex;
    align-items     : flex-start;
    gap             : 14px;
    text-decoration : none;
    color           : rgba(239,227,201,0.8);
    font-size       : 14px;
    line-height     : 1.6;
    transition      : color 0.25s;
}

.footer__contact-item:hover { color: var(--creme); }

.footer__contact-icon {
    display         : flex;
    align-items     : center;
    justify-content : center;
    width           : 36px;
    height          : 36px;
    min-width       : 36px;
    background      : var(--creme-soft);
    border          : 1px solid var(--creme-border);
    border-radius   : 50%;
    font-size       : 14px;
    color           : var(--creme);
    transition      : background 0.25s, border-color 0.25s;
}

.footer__contact-item:hover .footer__contact-icon {
    background   : var(--azul-petroleo);
    border-color : var(--azul-petroleo);
}

.footer__social { display: flex; flex-direction: column; gap: 14px; }

.footer__social-label {
    font-size      : 11px;
    font-weight    : 700;
    letter-spacing : 2px;
    text-transform : uppercase;
    color          : rgba(239,227,201,0.45);
    margin         : 0;
}

.footer__social-links { display: flex; gap: 12px; }

.footer__social-links a {
    display         : flex;
    align-items     : center;
    justify-content : center;
    width           : 40px;
    height          : 40px;
    background      : var(--creme-soft);
    border          : 1px solid var(--creme-border);
    border-radius   : 50%;
    color           : var(--creme);
    font-size       : 15px;
    text-decoration : none;
    transition      : background 0.25s, border-color 0.25s, transform 0.2s;
}

.footer__social-links a:hover {
    background   : var(--azul-petroleo);
    border-color : var(--azul-petroleo);
    transform    : translateY(-2px);
}

.footer__form-area { display: flex; flex-direction: column; gap: 28px; }

.footer__form-header h2 {
    font-family : var(--footer-font);
    font-size   : 26px;
    font-weight : 400;
    color       : var(--creme);
    margin      : 0 0 8px;
    line-height : 1.3;
}

.footer__form-header h2 em { font-style: italic; color: rgba(239,227,201,0.7); }

.footer__form-header p {
    font-size   : 14px;
    color       : rgba(239,227,201,0.6);
    margin      : 0;
    line-height : 1.6;
}

.footer__form { display: flex; flex-direction: column; gap: 16px; }

.fc__field { display: flex; flex-direction: column; gap: 6px; }

.fc__field label {
    font-size      : 12px;
    font-weight    : 700;
    letter-spacing : 1px;
    text-transform : uppercase;
    color          : rgba(239,227,201,0.6);
}

.fc__required { color: #e87c7c; }

.fc__field input {
    background         : rgba(255,255,255,0.05);
    border             : 1px solid var(--creme-border);
    border-radius      : 6px;
    padding            : 13px 16px;
    font-size          : 14px;
    color              : var(--creme);
    font-family        : var(--footer-sans);
    outline            : none;
    transition         : border-color 0.25s, background 0.25s;
    -webkit-appearance : none;
    width              : 100%;
    box-sizing         : border-box;
}

.fc__field input::placeholder { color: rgba(239,227,201,0.3); }
.fc__field input:focus { border-color: var(--azul-petroleo); background: rgba(6,70,94,0.2); }

.fc__btn {
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 12px;
    margin-top      : 8px;
    padding         : 15px 24px;
    background      : var(--creme);
    color           : var(--azul-marinho);
    border          : none;
    border-radius   : 6px;
    font-size       : 14px;
    font-weight     : 700;
    letter-spacing  : 0.5px;
    cursor          : pointer;
    transition      : background 0.25s, transform 0.2s;
    font-family     : var(--footer-sans);
    width           : 100%;
    box-sizing      : border-box;
}

.fc__btn:hover:not(:disabled) { background: #ffffff; transform: translateY(-1px); }
.fc__btn:disabled              { opacity: 0.7; cursor: not-allowed; }

.fc__btn-icon {
    display         : flex;
    align-items     : center;
    justify-content : center;
    width           : 28px;
    height          : 28px;
    min-width       : 28px;
    background      : var(--azul-marinho);
    color           : var(--creme);
    border-radius   : 50%;
    font-size       : 12px;
    flex-shrink     : 0;
    transition      : background 0.25s;
}

.fc__btn:hover:not(:disabled) .fc__btn-icon { background: var(--azul-petroleo); }
.fc__btn-text    { white-space: nowrap; }
.fc__btn-loading { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

.fc__feedback { padding: 12px 16px; border-radius: 6px; font-size: 13px; line-height: 1.5; font-weight: 500; }
.fc__feedback--sucesso { background: rgba(22,163,74,0.15); border: 1px solid rgba(22,163,74,0.35); color: #86efac; }
.fc__feedback--erro    { background: rgba(220,38,38,0.12);  border: 1px solid rgba(220,38,38,0.3);  color: #fca5a5; }

.footer__bottom { padding: 24px 0; }

.footer__bottom-inner {
    max-width       : 1200px;
    margin          : 0 auto;
    padding         : 0 40px;
    display         : flex;
    align-items     : center;
    justify-content : space-between;
    gap             : 24px;
    flex-wrap       : wrap;
}

.footer__nav { display: flex; align-items: center; flex-wrap: wrap; }

.footer__nav a {
    color          : rgba(239,227,201,0.5);
    font-size      : 12px;
    font-weight    : 500;
    text-decoration: none;
    letter-spacing : 0.5px;
    text-transform : uppercase;
    padding        : 4px 14px;
    border-right   : 1px solid var(--creme-border);
    transition     : color 0.2s;
}

.footer__nav a:first-child { padding-left: 0; }
.footer__nav a:last-child  { border-right: none; }
.footer__nav a:hover       { color: var(--creme); }

.footer__copy {
    font-size   : 14px;
    width: 100%;
    height: 100%;
    color       : rgba(239,227,201,0.35);
    margin      : 0;
    text-align  : center;
    line-height : 1.6;
    display     : flex;
    flex-direction: column;
    align-items : flex-end;
    gap         : 2px;
}

.footer__dev-credit        { color: rgba(239,227,201,0.25); display: block; }
.footer__dev-credit strong { color: rgba(239,227,201,0.4); font-weight: 600; }