/**
 * The Most Beautiful Days — Contact Signature
 * Calme, aérien, éditorial. CSS limité à cette page uniquement.
 * Fonts et palette héritées de Sycow (pas de CDN).
 */

.tmbd-contact {
    --tmbd-contact-gold: var(--tmbd-gold, #ac9c7b);
    --tmbd-contact-ivory: #f5f1e9;
    --tmbd-contact-ink: #0a0a09;
    --tmbd-contact-muted: #a9a39a;
    width: 100%;
    overflow: clip;
    background: #080807;
    color: #f7f4ee;
    font-family: var(--sy-font-body, "Montserrat", Arial, sans-serif);
}

.tmbd-contact .tmbd-container {
    width: min(1380px, calc(100% - clamp(40px, 9vw, 150px)));
    max-width: none;
}

.tmbd-contact :is(h1, h2, h3, p) { margin-top: 0; }
.tmbd-contact :is(h1, h2) { text-wrap: balance; }
.tmbd-contact a { text-decoration: none; }

.tmbd-contact__overline,
.tmbd-contact__eyebrow {
    margin: 0;
    font-family: "Syne", var(--sy-font-menu, Arial, sans-serif);
    font-weight: 600;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.tmbd-contact__overline { color: var(--tmbd-contact-gold); }
.tmbd-contact__overline span { color: inherit; }

/* 01 — Hero image bord à bord, contenu centré */
.tmbd-contact__hero {
    position: relative;
    width: 100%;
    margin-inline: 0;
    display: flex;
    min-height: min(940px, 96svh);
    min-height: clamp(690px, 96svh, 940px);
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse at 78% 34%, #30281e 0, #11100d 45%, #050505 85%);
}

.tmbd-contact__hero-media {
    position: absolute;
    z-index: -3;
    inset: 0;
}

.tmbd-contact__hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 44%;
    filter: saturate(.83);
}

.tmbd-contact__hero::before,
.tmbd-contact__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tmbd-contact__hero::before {
    z-index: -2;
    background: linear-gradient(90deg,
        rgba(3,3,3,.76) 0%,
        rgba(3,3,3,.40) 45%,
        rgba(3,3,3,.06) 100%);
}

.tmbd-contact__hero::after {
    z-index: -1;
    background: linear-gradient(0deg,
        rgba(4,4,4,.93) 0%,
        rgba(4,4,4,.22) 40%,
        rgba(4,4,4,.10) 70%,
        rgba(4,4,4,.38) 100%);
}

.tmbd-contact__hero-inner {
    width: min(1380px, calc(100% - clamp(48px, 8vw, 140px)));
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(8px, 1.2vw, 18px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 auto; /* Fix : ne pas étirer le container sur toute la largeur du hero */
    padding-top: calc(var(--tmbd-header-h, 98px) + clamp(35px, 5.5vh, 75px));
    padding-bottom: clamp(44px, 6vh, 80px);
}

.tmbd-contact__hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: rgba(250,248,243,.83);
}

.tmbd-contact__hero-location span { color: var(--tmbd-contact-gold); padding-inline: 8px; }

.tmbd-contact__hero-bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 70px;
}

.tmbd-contact__hero-text { max-width: 1010px; }
.tmbd-contact__hero .tmbd-contact__overline { margin-bottom: clamp(24px, 3vh, 42px); }

.tmbd-contact__hero h1 {
    margin: 0;
    color: #fffaf3;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-weight: 400;
    font-size: clamp(58px, 7.1vw, 124px);
    line-height: 1.06;
    letter-spacing: -.048em;
}

.tmbd-contact__hero h1 em {
    display: inline-block;
   /* margin-top: -20px;*/
    line-height: 1.12;
    color: #e0ceb0;
    font-family: Montserrat;
    font-weight: 500;
    font-style: italic;
    font-size: .66em;
    letter-spacing: -.035em;
}

.tmbd-contact__hero-intro {
    max-width: 570px;
    margin: clamp(34px, 3.6vw, 52px) 0 0;
    color: rgba(251,247,240,.84);
    font-size: clamp(14px, 1.12vw, 17px);
    line-height: 1.85;
    font-weight: 400;
}

.tmbd-contact__hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 15px 0 11px;
    margin-top: clamp(22px, 3.5vh, 42px);
    border-bottom: 1px solid rgba(224,206,176,.8);
    color: #fffaf3;
    font-family: "Syne", var(--sy-font-menu, sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: color .25s ease, border-color .25s ease;
}

.tmbd-contact__hero-link span { font-size: 19px; color: #e0ceb0; transition: transform .25s ease; }
.tmbd-contact__hero-link:hover,
.tmbd-contact__hero-link:focus-visible { color: #e0ceb0; border-color: #fffaf3; }
.tmbd-contact__hero-link:hover span,
.tmbd-contact__hero-link:focus-visible span { transform: translate(3px, -3px); }

.tmbd-contact__scroll {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    writing-mode: vertical-rl;
    font: 600 9px/1 "Syne", var(--sy-font-menu, sans-serif);
    text-transform: uppercase;
    letter-spacing: .22em;
    color: #f1e8d9;
}

.tmbd-contact__scroll-line { display: block; width: 1px; height: 64px; background: var(--tmbd-contact-gold); }

/* 02 — Coordonnées façon éditorial, sans boîtes */
.tmbd-contact__intro {
    padding: clamp(105px, 12vw, 190px) 0 clamp(110px, 12vw, 170px);
    background: #080807;
}

.tmbd-contact__intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(60px, 10vw, 165px);
    align-items: start;
}

.tmbd-contact__intro-heading h2 {
    margin: 27px 0 34px;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-size: clamp(54px, 5.8vw, 104px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.055em;
}

.tmbd-contact__intro-heading h2 em {
    color: var(--tmbd-contact-gold);
    font-family: Georgia, serif;
    font-size: .84em;
    font-weight: 400;
    letter-spacing: -.04em;
}

.tmbd-contact__intro-heading > p:last-child {
    max-width: 470px;
    margin: 0;
    color: var(--tmbd-contact-muted);
    font-size: 15px;
    line-height: 1.95;
}

.tmbd-contact__details { min-width: 0; padding-top: clamp(10px, 3.5vw, 52px); }

.tmbd-contact__detail {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 36px;
    grid-template-rows: auto auto;
    column-gap: 20px;
    row-gap: 13px;
    width: 100%;
    padding: 29px 0 33px;
    border-top: 1px solid rgba(255,255,255,.18);
    color: #f7f4ee;
    transition: border-color .3s ease;
}

.tmbd-contact__detail:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.tmbd-contact__detail:not(.tmbd-contact__detail--static):hover { border-color: var(--tmbd-contact-gold); }

.tmbd-contact__detail-label {
    display: block;
    color: var(--tmbd-contact-gold);
    font: 600 10px/1.5 "Syne", var(--sy-font-menu, sans-serif);
    text-transform: uppercase;
    letter-spacing: .19em;
}

.tmbd-contact__detail-value {
    min-width: 0;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-size: clamp(10px, 2.4vw, 30px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -.028em;
    overflow-wrap: anywhere;
    transition: color .25s ease;
}

.tmbd-contact__detail-label { grid-column: 1; grid-row: 1; }
.tmbd-contact__detail-value { grid-column: 1; grid-row: 2; }

.tmbd-contact__detail-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: end;
    color: var(--tmbd-contact-gold);
    font-size: 29px;
    font-weight: 300;
    transition: transform .25s ease;
}

.tmbd-contact__detail:not(.tmbd-contact__detail--static):hover .tmbd-contact__detail-value,
.tmbd-contact__detail:not(.tmbd-contact__detail--static):focus-visible .tmbd-contact__detail-value { color: #d9c5a3; }
.tmbd-contact__detail:not(.tmbd-contact__detail--static):hover .tmbd-contact__detail-arrow { transform: translate(4px, -4px); }

.tmbd-contact__social {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 30px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.tmbd-contact__social-links { display: flex; flex-wrap: wrap; gap: 13px 23px; }

.tmbd-contact__social-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e9e4dd;
    font: 500 11px/1.4 "Syne", var(--sy-font-menu, sans-serif);
    letter-spacing: .08em;
    transition: color .25s ease;
}

.tmbd-contact__social-links a span { color: var(--tmbd-contact-gold); }
.tmbd-contact__social-links a:hover { color: var(--tmbd-contact-gold); }

/* 03 — Zone pour formulaire/shortcode WP. Contraste ivoire. */
.tmbd-contact__write {
    padding: clamp(110px, 11vw, 175px) 0;
    background: var(--tmbd-contact-ivory);
    color: var(--tmbd-contact-ink);
    scroll-margin-top: 95px;
}

.tmbd-contact__write-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(70px, 10vw, 155px);
    align-items: start;
}

.tmbd-contact__write .tmbd-contact__overline { color: #907950; }

.tmbd-contact__write-aside h2 {
    margin: 28px 0 32px;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-size: clamp(64px, 7.4vw, 120px);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: .93;
}

.tmbd-contact__write-aside h2 em {
    font-family: Montserrat;
    font-size: .76em;
    font-weight: 400;
    color: #987f57;
    letter-spacing: -.045em;
}

.tmbd-contact__write-aside > p:not(.tmbd-contact__overline) {
    max-width: 420px;
    color: #706b63;
    font-size: 15px;
    line-height: 1.95;
}

.tmbd-contact__write-signature {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: clamp(70px, 9vw, 135px);
    font: 600 10px/1.5 "Syne", var(--sy-font-menu, sans-serif);
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #9e8864;
}

.tmbd-contact__write-signature span { font: 400 33px/1 Georgia, serif; }

.tmbd-contact__write-content {
    min-width: 0;
    padding-top: clamp(16px, 5.1vw, 82px);
}

.tmbd-contact__editor-content > :first-child { margin-top: 0; }
.tmbd-contact__editor-content :is(h2, h3, h4) {
    margin: 0 0 22px;
    color: #100e0a;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.tmbd-contact__editor-content h2 { font-size: clamp(38px, 4vw, 60px); }
.tmbd-contact__editor-content h3 { font-size: clamp(28px, 3vw, 40px); }

.tmbd-contact__editor-content :is(p, li, label, legend) {
    color: #615d55;
    font-size: 14px;
    line-height: 1.75;
}

.tmbd-contact__editor-content label { display: block; margin-bottom: 8px; }
.tmbd-contact__editor-content form p { margin: 0 0 22px; }
.tmbd-contact__editor-content form :is(.form-row, .wpforms-field, .gfield, .frm_form_field) { margin-bottom: 24px; }

.tmbd-contact__editor-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), textarea, select) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid #c6bfb3;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #15120e;
    font: 400 14px/1.5 var(--sy-font-body, "Montserrat", sans-serif);
    transition: border-color .2s ease;
}

.tmbd-contact__editor-content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), textarea, select):focus {
    border-bottom-color: #907950;
    outline: none;
    box-shadow: 0 1px 0 #907950;
}

.tmbd-contact__editor-content textarea {
    min-height: 135px;
    resize: vertical;
}

.tmbd-contact__editor-content input::placeholder,
.tmbd-contact__editor-content textarea::placeholder { color: #928b81; }

.tmbd-contact__editor-content :is(input[type="checkbox"], input[type="radio"]) {
    width: auto;
    min-height: 0;
    margin: 0 7px 0 0;
    accent-color: #967d55;
}

.tmbd-contact__editor-content :is(input[type="submit"], button[type="submit"], .wpforms-submit, .frm_button_submit, .gform_button, .wpcf7-submit) {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid #14120f;
    border-radius: 0;
    background: #14120f;
    color: #fbf7f0;
    font: 600 11px/1.25 "Syne", var(--sy-font-menu, sans-serif);
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.tmbd-contact__editor-content :is(input[type="submit"], button[type="submit"], .wpforms-submit, .frm_button_submit, .gform_button, .wpcf7-submit):hover {
    border-color: #a48c63;
    background: #a48c63;
    color: #0c0a08;
}

.tmbd-contact__editor-content :is(input, textarea, select, button):focus-visible,
.tmbd-contact a:focus-visible {
    outline: 2px solid var(--tmbd-contact-gold);
    outline-offset: 4px;
}

.tmbd-contact__write-fallback { border-top: 1px solid #bcb3a5; padding-top: 32px; }

.tmbd-contact__write-fallback-lead {
    margin-bottom: 12px;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-size: clamp(33px, 3.5vw, 55px);
    letter-spacing: -.04em;
    color: #16130f;
}

.tmbd-contact__write-fallback > p:not(:first-child) {
    max-width: 470px;
    font-size: 14px;
    line-height: 1.9;
    color: #6f6a63;
}

.tmbd-contact__write-mail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    margin-top: 35px;
    border-bottom: 1px solid #9b8668;
    font-family: var(--sy-font-heading, "League Spartan", sans-serif);
    font-size: clamp(23px, 2.7vw, 42px);
    overflow-wrap: anywhere;
    color: #16130f;
}

.tmbd-contact__write-mail span { font-family: sans-serif; font-size: 22px; color: #967d55; }
.tmbd-contact__write-mail:hover { color: #967d55; }

/* Final editorial line */
.tmbd-contact__closing {
    padding: 32px 0;
    background: #080807;
    border-top: 1px solid rgba(255,255,255,.12);
}

.tmbd-contact__closing .tmbd-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #9b9489;
    font: 600 10px/1.6 "Syne", var(--sy-font-menu, sans-serif);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tmbd-contact__closing-star { margin-left: 9px; color: #ac9c7b; font-size: 20px; vertical-align: -2px; }

@media (max-width: 1050px) {
    .tmbd-contact__intro-grid,
    .tmbd-contact__write-grid { grid-template-columns: 1fr; gap: clamp(45px, 6vw, 80px); }
    .tmbd-contact__details,
    .tmbd-contact__write-content { padding-top: 0; }
    .tmbd-contact__write-signature { margin-top: 45px; }
    .tmbd-contact__hero h1 { font-size: clamp(58px, 9vw, 100px); }
}

@media (max-width: 680px) {
    .tmbd-contact .tmbd-container { width: calc(100% - 38px); }
    .tmbd-contact__hero .tmbd-contact__hero-inner { width: calc(100% - 38px); padding-inline: 0; }
    .tmbd-contact__hero { min-height: min(790px, 100svh); min-height: clamp(620px, 94svh, 790px); }
    .tmbd-contact__hero-media img { object-position: 59% center; }
    .tmbd-contact__hero::before { background: rgba(3,3,3,.34); }
    .tmbd-contact__hero::after { background: linear-gradient(0deg, rgba(4,4,4,.92), rgba(4,4,4,.16) 65%, rgba(4,4,4,.45)); }
    .tmbd-contact__hero-inner { padding-top: calc(var(--tmbd-header-h, 82px) + 42px); padding-bottom: 70px; }
    .tmbd-contact__hero-top { align-items: flex-start; flex-direction: column; gap: 9px; }
    .tmbd-contact__hero-location { opacity: .78; }
    .tmbd-contact__hero h1 { font-size: clamp(44px, 10.5vw, 68px); line-height: 1.09; letter-spacing: -.038em; }
    .tmbd-contact__hero h1 em { font-size: .72em; margin-top: .16em; line-height: 1.14; }
    .tmbd-contact__hero-intro { margin-top: 34px; font-size: 14px; line-height: 1.75; }
    .tmbd-contact__hero-link { font-size: 10px; gap: 14px; margin-top: 25px; }
    .tmbd-contact__scroll { display: none; }
    .tmbd-contact__intro { padding: 90px 0 100px; }
    .tmbd-contact__intro-heading h2 { font-size: clamp(49px, 10.5vw, 69px); }
    .tmbd-contact__detail { padding: 26px 0 29px; }
    .tmbd-contact__detail-value { font-size: clamp(24px, 6.5vw, 34px); }
    .tmbd-contact__write { padding: 90px 0 100px; scroll-margin-top: 78px; }
    .tmbd-contact__write-aside h2 { font-size: clamp(60px, 14vw, 86px); }
    .tmbd-contact__write-signature { margin-top: 32px; }
    .tmbd-contact__closing .tmbd-container { align-items: flex-start; }
    .tmbd-contact__closing .tmbd-container > span:first-child { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
    .tmbd-contact *, .tmbd-contact *::before, .tmbd-contact *::after {
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
}




/* Rapprocher les deux lignes du titre hero */
.tmbd-contact__hero h1 {
    line-height: 1;
}

.tmbd-contact__hero h1 > span,
.tmbd-contact__hero h1 em {
    display: block;
}

.tmbd-contact__hero h1 br {
    display: none;
}

.tmbd-contact__hero h1 em {
    margin-top: -.12em;
    line-height: 1.05;
}
