/* Ajustes exclusivos do projeto CarluSAT */
.footer-map {
    overflow: hidden;
    width: 100%;
    min-height: 245px;
    border: 4px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 48, 79, 0.18);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 245px;
    border: 0;
}

.contact-section {
    background: #f7fbfe;
}

.contact-layout {
    align-items: stretch;
}

.contact-form-panel,
.contact-info-panel {
    height: 100%;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(10, 66, 101, 0.10);
}

.contact-form-panel {
    padding: 42px;
}

.contact-info-panel {
    padding: 42px 34px;
    background: linear-gradient(145deg, #0d3f5e 0%, #07517d 100%);
    color: #fff;
}

.contact-form-panel h2,
.contact-info-panel h3 {
    margin-bottom: 12px;
}

.contact-info-panel h3,
.contact-info-panel > p {
    color: #fff;
}

.contact-intro {
    margin-bottom: 28px;
}

.contact-form-panel label {
    display: block;
    margin-bottom: 8px;
    color: #163c52;
    font-size: 14px;
    font-weight: 700;
}

.contact-form-panel .form-control {
    min-height: 54px;
    border: 1px solid #d7e2e8;
    border-radius: 10px;
    background: #f9fbfc;
    color: #183b50;
}

.contact-form-panel textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form-panel .form-control:focus {
    border-color: #00a7fe;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 167, 254, 0.12);
}

.contact-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
}

.recaptcha-wrap {
    margin: 18px 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
}

.contact-info-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #00a7fe;
    color: #fff;
}

.contact-info-card strong,
.contact-info-card span {
    display: block;
}

.contact-info-card strong {
    margin-bottom: 5px;
    color: #fff;
}

.contact-info-card span,
.contact-info-card a {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.contact-info-card a:hover {
    color: #fff;
}

.form-status-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(3, 28, 43, 0.72);
}

.form-status-modal.is-open {
    display: flex;
}

.form-status-dialog {
    position: relative;
    width: min(460px, 100%);
    padding: 40px 34px 32px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.24);
    animation: carlusatModalIn 0.25s ease-out;
}

.form-status-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #315166;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.form-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 28px;
}

.form-status-modal.is-error .form-status-icon {
    background: #dc3545;
}

.form-status-dialog h3 {
    margin-bottom: 10px;
    color: #123d58;
}

.form-status-dialog p {
    margin-bottom: 0;
}

@keyframes carlusatModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 991px) {
    .contact-info-panel {
        margin-top: 28px;
    }
}

@media (max-width: 575px) {
    .contact-form-panel,
    .contact-info-panel {
        padding: 28px 20px;
    }

    .footer-map,
    .footer-map iframe {
        min-height: 220px;
        height: 220px;
    }

    .recaptcha-wrap .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
        width: 304px;
        margin-bottom: -9px;
    }
}
