/* Contact page composition based on the supplied visual reference. */
body.route-contact .jtf-page-shell { width: min(1400px, calc(100% - 9vw)); }

body.route-contact .jtf-contact-intro {
    position: relative;
    isolation: isolate;
    min-height: 470px;
    display: flex;
    align-items: center;
    background: #11191d;
}
body.route-contact .jtf-contact-intro__image {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 34%;
    margin: 0;
}
body.route-contact .jtf-contact-intro__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 48% 43%;
}
body.route-contact .jtf-contact-intro::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #10191d 0%, rgb(16 25 29 / 97%) 32%, rgb(16 25 29 / 75%) 49%, transparent 72%);
    content: '';
}
body.route-contact .jtf-contact-intro__layout {
    display: block;
    min-height: 0;
}
body.route-contact .jtf-contact-intro__copy { width: min(550px, 50%); padding: 60px 0; }
body.route-contact .jtf-contact-intro h1 {
    max-width: 540px;
    margin-bottom: 18px;
    font-size: clamp(42px, 4.2vw, 64px);
    font-weight: 750;
    line-height: 1.02;
    letter-spacing: 0;
}
body.route-contact .jtf-contact-intro .jtf-page-lead { max-width: 510px; margin-bottom: 24px; font-size: 16px; line-height: 1.55; }
body.route-contact .jtf-contact-intro__actions { gap: 27px; }
body.route-contact .jtf-contact-intro .jtf-page-button { min-width: 202px; background: #cf0e2d; border-color: #cf0e2d; border-radius: 5px; }
body.route-contact .jtf-contact-intro__secondary { text-decoration: none; }
body.route-contact .jtf-contact-intro__secondary svg { width: 18px; height: 18px; }
body.route-contact .jtf-contact-intro__secondary:hover { text-decoration: underline; text-underline-offset: 5px; }

body.route-contact .jtf-contact-main,
html[data-theme="dark"] body.route-contact .jtf-contact-main { padding: 62px 0 72px; background: #fff; color: #171d20; }
body.route-contact .jtf-contact-main__layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .95fr);
    gap: clamp(36px, 4vw, 70px);
}
body.route-contact .jtf-contact-form { order: 1; }
body.route-contact .jtf-contact-channels { order: 2; padding-left: clamp(28px, 3vw, 55px); border-left: 1px solid #e4e8eb; }
body.route-contact .jtf-contact-main h2 { max-width: none; font-size: clamp(27px, 2.3vw, 36px); line-height: 1.15; }
body.route-contact .jtf-contact-form__intro { max-width: none; margin: 7px 0 24px; font-size: 14px; line-height: 1.5; }
body.route-contact .jtf-contact-form .contact-form { gap: 16px; }
body.route-contact .jtf-contact-form .field-grid { gap: 14px; }
body.route-contact .jtf-contact-form .field label { margin-bottom: 6px; font-size: 12px; }
body.route-contact .jtf-contact-form .field input,
body.route-contact .jtf-contact-form .field select,
body.route-contact .jtf-contact-form .field textarea { min-height: 46px; border-color: #d4dade; border-radius: 4px; font-size: 13px; }
body.route-contact .jtf-contact-form .field textarea { min-height: 110px; }
body.route-contact .jtf-contact-form .jtf-page-button { width: 100%; justify-self: stretch; border-radius: 5px; background: #cb0e2b; }
body.route-contact .jtf-contact-form .form-note { order: 2; font-size: 11px; }
body.route-contact .jtf-contact-channels__heading { margin-bottom: 20px; }
body.route-contact .jtf-contact-channels__heading p { margin: 7px 0 0; color: #6c777f; font-size: 13px; }
body.route-contact .jtf-contact-channel {
    position: relative;
    min-height: 74px;
    display: grid;
    align-content: center;
    gap: 3px;
    margin-bottom: 10px;
    padding: 13px 15px 13px 67px;
    border: 1px solid #e4e8eb;
    border-radius: 6px;
    background: #fff;
}
body.route-contact .jtf-contact-channel::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff0f2;
    color: #d71936;
    font-size: 19px;
    transform: translateY(-50%);
}
body.route-contact .jtf-contact-channel::before { content: ''; }
body.route-contact .jtf-contact-channel__icon { position: absolute; top: 50%; left: 23px; width: 20px; height: 20px; color: #d71936; transform: translateY(-50%); }
body.route-contact .jtf-contact-channel > span { color: #526069; font-size: 11px; font-weight: 600; text-transform: none; }
body.route-contact .jtf-contact-channel a,
body.route-contact .jtf-contact-channel strong,
html[data-theme="dark"] body.route-contact .jtf-contact-channel a,
html[data-theme="dark"] body.route-contact .jtf-contact-channel strong { color: #171d20; font-size: 14px; font-weight: 700; line-height: 1.4; }
body.route-contact .jtf-contact-channel strong span { display: block; }
body.route-contact .jtf-contact-channel small { font-size: 11px; }
html[data-theme="dark"] body.route-contact .jtf-contact-form__intro,
html[data-theme="dark"] body.route-contact .jtf-contact-form .field label { color: #526065; }
html[data-theme="dark"] body.route-contact .jtf-contact-form .form-note a { color: #171d20; }

body.route-contact .jtf-contact-map-section,
html[data-theme="dark"] body.route-contact .jtf-contact-map-section { padding: 34px 0; background: #f1f4f5; color: #171d20; }
body.route-contact .jtf-contact-map-section__layout { display: grid; grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(35px, 5vw, 90px); }
body.route-contact .jtf-contact-map-section__heading { display: block; margin: 0; }
body.route-contact .jtf-contact-map-section h2 { max-width: 340px; font-size: clamp(32px, 2.8vw, 43px); }
body.route-contact .jtf-contact-map-section__heading p { max-width: 400px; margin: 12px 0 16px; color: #5f6c74; font-size: 14px; line-height: 1.5; }
body.route-contact .jtf-contact-map-section .jtf-page-text-link { gap: 15px; padding: 10px 14px; border: 1px solid #9ba7ad; border-radius: 4px; background: transparent; color: #171d20; font-size: 12px; }
body.route-contact .jtf-contact-map { min-height: 215px; overflow: hidden; border-radius: 7px; background: #e3e7e8; }
body.route-contact .jtf-contact-map iframe,
body.route-contact .jtf-contact-map .map-placeholder { min-height: 215px; }
body.route-contact .jtf-contact-map .map-placeholder { padding: 18px; }
body.route-contact .jtf-contact-map .map-placeholder {
    position: relative;
    overflow: hidden;
    background-color: #e8ebec;
    background-image: linear-gradient(27deg, transparent 47%, rgb(255 255 255 / 78%) 48%, rgb(255 255 255 / 78%) 49%, transparent 50%), linear-gradient(152deg, transparent 40%, rgb(255 255 255 / 70%) 41%, rgb(255 255 255 / 70%) 42%, transparent 43%), linear-gradient(94deg, transparent 60%, rgb(255 255 255 / 64%) 61%, rgb(255 255 255 / 64%) 62%, transparent 63%);
    background-size: 230px 140px, 290px 180px, 180px 240px;
}
body.route-contact .jtf-contact-map__place { position: relative; z-index: 1; display: grid; gap: 3px; min-width: 205px; padding: 12px 15px 12px 37px; border-radius: 5px; background: #fff; box-shadow: 0 6px 18px rgb(28 43 50 / 12%); color: #171d20; text-align: left; }
body.route-contact .jtf-contact-map__place strong { font-size: 12px; }
body.route-contact .jtf-contact-map__place small { color: #6e797e; font-size: 11px; }
body.route-contact .jtf-contact-map__pin { position: absolute; top: 14px; left: 12px; width: 16px; height: 16px; border: 5px solid #d71936; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
body.route-contact .jtf-contact-map .map-placeholder--consent { gap: 12px; }
body.route-contact .jtf-contact-map .map-placeholder--consent .btn { position: relative; z-index: 1; }
body.route-contact .jtf-contact-map .map-placeholder[hidden],
body.route-contact .jtf-contact-map iframe[hidden] { display: none !important; }

body.route-contact .jtf-contact-whatsapp { position: relative; isolation: isolate; padding: 34px 0; background: #121a1f; color: #fff; }
body.route-contact .jtf-contact-whatsapp::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #121a1f 0%, rgb(18 26 31 / 94%) 55%, rgb(18 26 31 / 45%) 100%), url('../images/jtf/cta-showroom-bg.webp') right 55% / cover no-repeat; content: ''; }
body.route-contact .jtf-contact-whatsapp__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
body.route-contact .jtf-contact-whatsapp h2 { margin: 0 0 3px; color: #fff; font: 750 clamp(24px, 2.3vw, 34px)/1.2 'Manrope', Arial, sans-serif; }
body.route-contact .jtf-contact-whatsapp p { margin: 0; color: #c6cdd0; font-size: 14px; }
body.route-contact .jtf-contact-whatsapp .jtf-page-button { min-width: 255px; border-radius: 5px; background: #cf0e2d; }

html[data-theme="dark"] body.route-contact .jtf-contact-main { background: #080808; color: #f6f7f7; }
html[data-theme="dark"] body.route-contact .jtf-contact-channels { border-color: #303030; }
html[data-theme="dark"] body.route-contact .jtf-contact-channels__heading p,
html[data-theme="dark"] body.route-contact .jtf-contact-form__intro { color: #b7c0c3; }
html[data-theme="dark"] body.route-contact .jtf-contact-channel { border-color: #303030; background: #151515; }
html[data-theme="dark"] body.route-contact .jtf-contact-channel::before { background: #2b1519; }
html[data-theme="dark"] body.route-contact .jtf-contact-channel > span,
html[data-theme="dark"] body.route-contact .jtf-contact-channel small { color: #b6c0c3; }
html[data-theme="dark"] body.route-contact .jtf-contact-channel a,
html[data-theme="dark"] body.route-contact .jtf-contact-channel strong,
html[data-theme="dark"] body.route-contact .jtf-contact-form .field label,
html[data-theme="dark"] body.route-contact .jtf-contact-form .form-note a { color: #f6f7f7; }
html[data-theme="dark"] body.route-contact .jtf-contact-form .field input,
html[data-theme="dark"] body.route-contact .jtf-contact-form .field select,
html[data-theme="dark"] body.route-contact .jtf-contact-form .field textarea { border-color: #414141; background: #151515; color: #f6f7f7; }
html[data-theme="dark"] body.route-contact .jtf-contact-form .field input::placeholder,
html[data-theme="dark"] body.route-contact .jtf-contact-form .field textarea::placeholder { color: #a9b3b6; }
html[data-theme="dark"] body.route-contact .jtf-contact-map-section { background: #111; color: #f6f7f7; }
html[data-theme="dark"] body.route-contact .jtf-contact-map-section__heading p { color: #b6c0c3; }
html[data-theme="dark"] body.route-contact .jtf-contact-map-section .jtf-page-text-link { border-color: #697276; color: #f6f7f7; }
html[data-theme="dark"] body.route-contact .jtf-contact-map .map-placeholder { background-color: #252b2d; background-image: linear-gradient(27deg, transparent 47%, rgb(255 255 255 / 10%) 48%, rgb(255 255 255 / 10%) 49%, transparent 50%), linear-gradient(152deg, transparent 40%, rgb(255 255 255 / 9%) 41%, rgb(255 255 255 / 9%) 42%, transparent 43%); }
html[data-theme="dark"] body.route-contact .jtf-contact-map__place { background: #151515; color: #f6f7f7; }
html[data-theme="dark"] body.route-contact .jtf-contact-map__place small { color: #b6c0c3; }

@media (max-width: 900px) {
    body.route-contact .jtf-contact-intro__copy { width: min(550px, 65%); }
    body.route-contact .jtf-contact-main__layout { grid-template-columns: 1fr; gap: 35px; }
    body.route-contact .jtf-contact-channels { padding: 0; border: 0; }
    body.route-contact .jtf-contact-map-section__layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    body.route-contact .jtf-page-shell { width: calc(100% - 36px); }
    body.route-contact .jtf-contact-intro { min-height: 670px; align-items: start; }
    body.route-contact .jtf-contact-intro__image { inset: auto 0 0; height: 320px; }
    body.route-contact .jtf-contact-intro__image img { object-position: center 25%; }
    body.route-contact .jtf-contact-intro::after { background: linear-gradient(to bottom, #10191d 0%, #10191d 47%, rgb(16 25 29 / 65%) 59%, transparent 78%); }
    body.route-contact .jtf-contact-intro__layout { display: block; }
    body.route-contact .jtf-contact-intro__copy { width: 100%; padding: 36px 0 290px; }
    body.route-contact .jtf-contact-intro h1 { max-width: 430px; font-size: 40px; }
    body.route-contact .jtf-contact-intro .jtf-page-lead { max-width: 430px; font-size: 14px; }
    body.route-contact .jtf-contact-intro__actions { gap: 17px; }
    body.route-contact .jtf-contact-intro .jtf-page-button { min-width: 0; }
    body.route-contact .jtf-contact-main { padding: 48px 0; }
    body.route-contact .jtf-contact-form .field-grid { grid-template-columns: 1fr; }
    body.route-contact .jtf-contact-map-section { padding: 46px 0; }
    body.route-contact .jtf-contact-map-section__layout { grid-template-columns: 1fr; gap: 24px; }
    body.route-contact .jtf-contact-whatsapp__inner { align-items: stretch; flex-direction: column; gap: 20px; }
    body.route-contact .jtf-contact-whatsapp .jtf-page-button { min-width: 0; }
}

/* Match the editorial heading language used on Início and Quem Somos. */
body.route-contact .jtf-contact-intro h1,
body.route-contact .jtf-contact-main h2,
body.route-contact .jtf-contact-map-section h2,
body.route-contact .jtf-contact-whatsapp h2 {
    font-family: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -.045em;
    text-transform: none;
}
body.route-contact .jtf-contact-intro h1 {
    max-width: 560px;
    margin-bottom: 17px;
    font-size: clamp(44px, 3.6vw, 58px);
    line-height: 1;
    text-wrap: pretty;
}
body.route-contact .jtf-contact-intro { min-height: 462px; }
body.route-contact .jtf-contact-intro__image { inset: 0; }
body.route-contact .jtf-contact-intro__image img { object-position: center top; }
body.route-contact .jtf-contact-intro::after { background: linear-gradient(90deg, rgb(10 17 20 / 96%) 0%, rgb(10 17 20 / 90%) 32%, rgb(10 17 20 / 42%) 54%, transparent 74%); }
body.route-contact .jtf-contact-intro__copy { width: min(590px, 51%); padding-block: 52px; }
body.route-contact .jtf-contact-intro .jtf-page-lead { max-width: 510px; font-size: 15px; line-height: 1.6; }
body.route-contact .jtf-contact-main h2,
body.route-contact .jtf-contact-map-section h2,
body.route-contact .jtf-contact-whatsapp h2 {
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -.035em;
}
body.route-contact .jtf-contact-main h2 { font-size: clamp(27px, 2vw, 33px); line-height: 1.17; }
body.route-contact .jtf-contact-map-section h2 { max-width: 340px; font-size: clamp(30px, 2.25vw, 36px); line-height: 1.15; }
body.route-contact .jtf-contact-whatsapp { padding-block: 25px; background: #11191d; }
body.route-contact .jtf-contact-whatsapp::before { background: none; }
body.route-contact .jtf-contact-whatsapp h2 { font-size: clamp(23px, 1.65vw, 28px); line-height: 1.2; }

@media (max-width: 900px) {
    body.route-contact .jtf-contact-intro__copy { width: min(610px, 68%); }
}
@media (max-width: 700px) {
    body.route-contact .jtf-contact-intro { min-height: 680px; }
    body.route-contact .jtf-contact-intro__copy { width: 100%; }
    body.route-contact .jtf-contact-intro__image { inset: auto 0 0; height: 300px; }
    body.route-contact .jtf-contact-intro__image img { object-position: 75% top; }
    body.route-contact .jtf-contact-intro h1 { max-width: 440px; font-size: clamp(39px, 9vw, 46px); }
    body.route-contact .jtf-contact-intro .jtf-page-lead { font-size: 14px; }
    body.route-contact .jtf-contact-main h2 { font-size: 29px; }
    body.route-contact .jtf-contact-map-section h2 { font-size: 32px; }
    body.route-contact .jtf-contact-whatsapp h2 { font-size: 25px; }
}
