/* ==========================================================================
   PÁGINA DE CONTATO — ESTILOS ESPECÍFICOS & RESPONSIVOS
   ========================================================================== */

/* Hero Contato */
.contact-hero {
    position: relative;
    padding: calc(var(--header-h) + 48px) 0 56px;
    background-color: #071F33;
    background-image: 
        radial-gradient(circle at 82% 25%, rgba(20, 85, 130, 0.45) 0%, transparent 60%),
        radial-gradient(circle at 15% 75%, rgba(15, 68, 107, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, rgba(4, 19, 32, 0.95) 0%, rgba(7, 34, 54, 0.9) 50%, rgba(3, 16, 27, 0.98) 100%),
        url('../assets/images/bg-gradiente-azul.svg');
    background-size: cover;
    background-position: center;
    color: var(--efc-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero-content {
    max-width: 780px;
}

.contact-hero-label {
    color: var(--efc-yellow);
    margin-bottom: 12px;
    display: inline-block;
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 1.8rem + 2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--efc-white);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.contact-hero-desc {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 660px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-heading);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--efc-yellow);
}

.breadcrumbs .sep {
    opacity: 0.4;
}

.breadcrumbs .current {
    color: var(--efc-yellow);
    font-weight: 600;
}

/* Seção Principal */
.contact-section {
    padding: clamp(56px, 4rem + 2vw, 96px) 0;
    background-color: var(--efc-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(36px, 4vw, 64px);
    align-items: start;
}

/* Coluna de Informações */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-card {
    background-color: var(--efc-white);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card.card-whatsapp {
    background: linear-gradient(135deg, #071F33 0%, #0A2F4D 100%);
    color: var(--efc-white);
    border: 1px solid rgba(37, 211, 102, 0.35);
    box-shadow: 0 8px 24px rgba(8, 46, 73, 0.15);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--efc-blue);
    margin-bottom: 12px;
}

.card-whatsapp .contact-card-title {
    color: var(--efc-white);
}

.contact-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.card-whatsapp .contact-card-desc {
    color: rgba(255, 255, 255, 0.85);
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 14px 24px;
    background-color: #25D366;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-large:hover {
    background-color: #20BA5A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-large .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(8, 46, 73, 0.06);
    color: var(--efc-blue);
    flex-shrink: 0;
}

.contact-item-icon .icon {
    width: 20px;
    height: 20px;
}

.contact-item-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--efc-blue);
    margin-bottom: 4px;
}

.contact-item-val {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.78);
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-item-val a {
    color: var(--efc-blue);
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-item-val a:hover {
    color: #106399;
}

/* Coluna do Formulário */
.contact-form-wrap {
    background-color: var(--efc-white);
    border-radius: 8px;
    padding: clamp(32px, 4vw, 48px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--efc-blue);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.55;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--efc-blue);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: #1a1a1a;
    background-color: #fafbfc;
    border: 1px solid #d4d9de;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--efc-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(8, 46, 73, 0.12);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-submit-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}

/* reCAPTCHA & Anti-Spam Security */
.form-captcha-wrap {
    margin-top: 14px;
    margin-bottom: 14px;
}

.form-captcha-wrap .g-recaptcha {
    transform-origin: 0 0;
}

@media (max-width: 360px) {
    .form-captcha-wrap .g-recaptcha {
        transform: scale(0.85);
    }
}

.form-error-msg {
    margin-top: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #d93025;
}

.captcha-invalid-border {
    border: 2px solid #d93025 !important;
    border-radius: 4px;
    display: inline-block;
    padding: 2px;
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS — CONTATO
   ========================================================================== */

/* Tablet (1024px e abaixo) */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-info-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-card {
        height: 100%;
    }
}

/* Mobile Portrait (768px e abaixo) */
@media (max-width: 768px) {
    .contact-hero {
        padding: calc(var(--header-h) + 24px) 0 40px;
    }

    .breadcrumbs {
        margin-bottom: 16px;
        font-size: 0.75rem;
    }

    .contact-hero-title {
        font-size: 1.85rem !important;
        margin-bottom: 14px !important;
        line-height: 1.18 !important;
    }

    .contact-hero-desc {
        font-size: 0.9375rem !important;
        line-height: 1.55 !important;
    }

    .contact-section {
        padding: 36px 0 52px;
    }

    .contact-grid {
        gap: 28px;
    }

    .contact-info-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 24px 20px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .contact-form-title {
        font-size: 1.25rem;
    }

    .contact-form-subtitle {
        font-size: 0.875rem;
        margin-bottom: 22px;
        line-height: 1.5;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-control {
        min-height: 48px;
        font-size: 16px; /* Evita zoom forçado do iOS Safari */
        padding: 12px 14px;
    }

    .form-group label {
        font-size: 0.72rem;
        margin-bottom: 6px;
    }

    .btn-whatsapp-large {
        min-height: 48px;
        padding: 12px 18px;
        font-size: 0.75rem;
    }

    .form-submit-btn {
        min-height: 50px;
        font-size: 0.75rem;
        padding: 0 18px;
    }
}

/* Smartphone Pequeno (480px e abaixo) */
@media (max-width: 480px) {
    .contact-hero {
        padding: calc(var(--header-h) + 16px) 0 32px;
    }

    .contact-hero-title {
        font-size: 1.55rem !important;
        line-height: 1.2 !important;
    }

    .contact-hero-desc {
        font-size: 0.875rem !important;
    }

    .contact-card {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .contact-card-title {
        font-size: 1.08rem;
    }

    .contact-card-desc {
        font-size: 0.875rem;
        margin-bottom: 18px;
    }

    .contact-form-wrap {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .contact-form-title {
        font-size: 1.15rem;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-item-icon {
        width: 38px;
        height: 38px;
    }

    .contact-item-icon .icon {
        width: 18px;
        height: 18px;
    }

    .contact-item-label {
        font-size: 0.68rem;
    }

    .contact-item-val {
        font-size: 0.85rem;
    }

    .btn-whatsapp-large {
        min-height: 46px;
        font-size: 0.72rem;
        padding: 10px 14px;
        letter-spacing: 0.05em;
    }

    .btn-whatsapp-large .icon {
        width: 18px;
        height: 18px;
    }

    .form-submit-btn {
        min-height: 48px;
        font-size: 0.72rem;
        white-space: normal;
        text-align: center;
        padding: 10px 14px;
        line-height: 1.3;
    }

    .form-submit-btn .icon {
        flex-shrink: 0;
    }
}

/* Telas Muito Pequenas (359px e abaixo - iPhone SE, Fold) */
@media (max-width: 359px) {
    .contact-hero-title {
        font-size: 1.4rem !important;
    }

    .contact-card,
    .contact-form-wrap {
        padding: 16px 12px;
    }

    .contact-item-icon {
        width: 34px;
        height: 34px;
    }

    .contact-item-val {
        font-size: 0.8rem;
    }

    .btn-whatsapp-large span,
    .form-submit-btn span {
        font-size: 0.68rem;
    }
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23082E49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}
select.form-control option {
    color: #1a1a1a;
    background-color: #ffffff;
}
