/* =========================================================
   YETU A YETU
   CONTACTOS.CSS
========================================================= */

.contact-page {
    background: #ffffff;
    color: #17121f;
}


/* =========================================================
   CONTAINER
========================================================= */

.contact-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(168, 85, 247, 0.2),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(168, 85, 247, 0.1),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #faf7ff
        );
    border-bottom: 1px solid #eee8f2;
}

.contact-hero-content {
    max-width: 760px;
    padding: 70px 0;
}

.contact-label,
.contact-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8d3ed1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.contact-label::before,
.contact-section-label::before {
    content: "";
    width: 26px;
    height: 2px;
    background: #a855f7;
}

.contact-hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.contact-hero h1 span {
    color: #a855f7;
}

.contact-hero p {
    max-width: 650px;
    margin: 0;
    color: #68616f;
    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   MAIN
========================================================= */

.contact-main {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(450px, 1.2fr);
    gap: 80px;
    align-items: start;
}


/* =========================================================
   INFORMATION
========================================================= */

.contact-information h2 {
    margin: 18px 0 20px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.contact-information h2 span {
    display: block;
    color: #a855f7;
}

.contact-intro {
    max-width: 530px;
    margin-bottom: 35px;
    color: #68616f;
    line-height: 1.8;
}


/* =========================================================
   INFO CARDS
========================================================= */

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 18px 0;
    border-bottom: 1px solid #eee9f2;
}

.contact-info-card:first-of-type {
    border-top: 1px solid #eee9f2;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #f1e5fb;
    color: #963ee0;
    font-size: 1.2rem;
    font-weight: 800;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-info-content > span {
    color: #8b8491;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-info-content a,
.contact-info-content strong {
    color: #28212e;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-info-content a:hover {
    color: #9a40dc;
}

.contact-info-content small {
    color: #79727f;
}


/* =========================================================
   SOCIALS
========================================================= */

.contact-socials {
    margin-top: 35px;
}

.contact-socials > span {
    display: block;
    margin-bottom: 14px;
    color: #6c6573;
    font-size: 0.8rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #17121f;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #a855f7;
}


/* =========================================================
   FORM WRAPPER
========================================================= */

.contact-form-wrapper {
    padding: 42px;
    border: 1px solid #ece7f0;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(55, 30, 70, 0.08);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-header > span {
    color: #a855f7;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.contact-form-header h2 {
    margin: 10px 0 0;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.contact-form-header h2 strong {
    color: #a855f7;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #332b3b;
    font-size: 0.82rem;
    font-weight: 700;
}

.form-group label span {
    color: #958d9b;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #ded8e2;
    border-radius: 11px;
    background: #ffffff;
    color: #29212f;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    height: 48px;
    padding: 0 14px;
}

.form-group textarea {
    min-height: 160px;
    padding: 14px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a59daa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #8fbd9b;
}


/* =========================================================
   ERRORS
========================================================= */

.field-error {
    min-height: 17px;
    margin-top: 5px;
    color: #c62828;
    font-size: 0.72rem;
}

.textarea-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.textarea-footer .field-error {
    flex: 1;
}

#messageCounter {
    margin-top: 5px;
    color: #928a99;
    font-size: 0.72rem;
}


/* =========================================================
   CONSENT
========================================================= */

.form-consent {
    display: flex;
    flex-direction: column;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-wrapper input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-top: 1px;
    border: 1px solid #d4cdd9;
    border-radius: 5px;
    position: relative;
    transition: 0.2s ease;
}

.checkbox-wrapper input:checked + .custom-checkbox {
    border-color: #a855f7;
    background: #a855f7;
}

.checkbox-wrapper input:checked + .custom-checkbox::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;
}

.consent-text {
    color: #756d7c;
    font-size: 0.78rem;
    line-height: 1.5;
}

.consent-text a {
    color: #963ee0;
    font-weight: 700;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 19px;
    border: 0;
    border-radius: 12px;
    background: #a855f7;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.contact-submit strong {
    font-size: 1.2rem;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: #9333d8;
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.form-security-note {
    margin: -8px 0 0;
    color: #9a929f;
    font-size: 0.7rem;
    line-height: 1.6;
    text-align: center;
}


/* =========================================================
   FORM MESSAGE
========================================================= */

.contact-form-message {
    display: none;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.contact-form-message.show {
    display: block;
}

.contact-form-message.success {
    background: #edf8f0;
    color: #27743a;
    border: 1px solid #cce8d2;
}

.contact-form-message.error {
    background: #fff1f1;
    color: #b3261e;
    border: 1px solid #f0cccc;
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {
    padding: 0 0 100px;
}

.contact-cta-box {
    padding: 55px 60px;
    border-radius: 28px;
    background: #17121f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    overflow: hidden;
    position: relative;
}

.contact-cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -100px;
    top: -150px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

.contact-cta-box > div {
    position: relative;
    z-index: 2;
}

.contact-cta-box > div > span {
    color: #c68aff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.contact-cta-box h2 {
    margin: 12px 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.035em;
}

.contact-cta-box h2 strong {
    color: #a855f7;
}

.contact-cta-box p {
    margin: 0;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
}

.cta-email {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 15px 21px;
    border-radius: 11px;
    background: #a855f7;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.cta-email:hover {
    transform: translateY(-2px);
    background: #9333d8;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 950px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-information {
        max-width: 700px;
    }

    .contact-form-wrapper {
        max-width: 800px;
    }

}


@media (max-width: 650px) {

    .contact-container {
        width: min(100% - 28px, 1180px);
    }

    .contact-hero {
        min-height: 330px;
    }

    .contact-hero-content {
        padding: 60px 0;
    }

    .contact-main {
        padding: 70px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 27px 20px;
        border-radius: 20px;
    }

    .contact-cta {
        padding-bottom: 70px;
    }

    .contact-cta-box {
        padding: 40px 25px;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 22px;
    }

    .cta-email {
        width: 100%;
        justify-content: space-between;
    }

}



/* =========================================================
   NOVA ÁREA DE CONTACTOS
========================================================= */

.contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 65px;
}

.contact-info-card {
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

a.contact-info-card:hover {
    background: #faf7ff;
    transform: translateX(5px);
}

.contact-info-icon svg {
    width: 23px;
    height: 23px;
}

.whatsapp-icon {
    background: #e5f8eb;
    color: #20a354;
}

.phone-icon {
    background: #f1e5fb;
    color: #963ee0;
}

.email-icon {
    background: #eeeaff;
    color: #7052c7;
}

.location-icon {
    background: #fff0e7;
    color: #d87936;
}

.contact-card-arrow {
    margin-left: auto;
    color: #a49baa;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

a.contact-info-card:hover .contact-card-arrow {
    color: #963ee0;
    transform: translateX(4px);
}


/* =========================================================
   WHATSAPP PANEL
========================================================= */

.contact-whatsapp-panel {
    min-height: 510px;
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #17121f;
    color: #ffffff;
}

.whatsapp-panel-decoration {
    position: absolute;
    width: 350px;
    height: 350px;
    top: -150px;
    right: -120px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.whatsapp-panel-decoration::after {
    content: "";
    position: absolute;
    inset: 35px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.whatsapp-panel-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

.whatsapp-panel-label {
    color: #c68aff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.whatsapp-panel-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 28px 0;
    border-radius: 22px;
    background: #20a354;
    color: #ffffff;
}

.whatsapp-panel-icon svg {
    width: 39px;
    height: 39px;
}

.whatsapp-panel-content h2 {
    margin: 0 0 18px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.whatsapp-panel-content h2 strong {
    display: block;
    color: #c68aff;
}

.whatsapp-panel-content p {
    margin-bottom: 28px;
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    line-height: 1.8;
}

.whatsapp-contact-button {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 0 20px;
    border-radius: 12px;
    background: #20a354;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease;
}

.whatsapp-contact-button:hover {
    background: #168844;
    color: #ffffff;
    transform: translateY(-3px);
}

.whatsapp-contact-button span {
    font-size: 1.3rem;
}

.whatsapp-panel-content > small {
    display: block;
    margin-top: 22px;
    color: rgba(255,255,255,0.48);
    font-size: 0.7rem;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 950px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-whatsapp-panel {
        min-height: auto;
    }

}

@media (max-width: 650px) {

    .contact-whatsapp-panel {
        padding: 32px 25px;
        border-radius: 20px;
    }

    .contact-info-card {
        gap: 13px;
    }

    .contact-info-content a,
    .contact-info-content strong {
        font-size: 0.86rem;
        overflow-wrap: anywhere;
    }

}
