/* =============================================================================
 * tmf-groups.css — Mise en avant FIT / Groupes, site Trip My France uniquement
 * -----------------------------------------------------------------------------
 * Tout élément .tmf-only n'apparaît que sur la destination France
 * (<html data-destination="france">). England et Switzerland ne changent pas.
 * Style aligné sur les sections éditoriales du site (Our Craft, Pillars).
 * ============================================================================= */

html:not([data-destination="france"]) .tmf-only { display: none !important; }

/* Icônes (flèches) : taille fixe partout, sinon le SVG prend toute la largeur */
.tmf-ico { width: 13px; height: 13px; flex: 0 0 auto; display: inline-block; }

/* ---------- 1. En-tête : bouton "Groups" ---------- */
/* Sur France, le menu compte un lien de plus : espacement un peu réduit et
   libellés sur une ligne pour ne pas repousser le logo ni le téléphone. */
html[data-destination="france"] header nav > div.space-x-7 { align-items: center; }
html[data-destination="france"] header nav > div.space-x-7 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem !important; }
html[data-destination="france"] header nav > div.space-x-7 a { white-space: nowrap; }
/* Conteneur de l'en-tête plus large sur les 3 sites (1600 px au lieu de 1280) : le menu respire
   sur les grands écrans, et les liens s'espacent davantage dès 1536 px. */
html header > nav.max-w-7xl { max-width: 1600px; padding-left: 2.5rem; padding-right: 2.5rem; }  /* doit primer sur les classes Tailwind max-w-7xl / px-6 */
@media (min-width: 1536px) {
    html[data-destination] header nav > div.space-x-7 > :not([hidden]) ~ :not([hidden]) { margin-left: 2.25rem !important; }
}
.tmf-groups-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--ukred); border-radius: 999px;
    color: var(--ukred);
    transition: background .25s, color .25s;
}
.tmf-groups-link:hover { background: var(--ukred); color: #fff; }
.tmf-groups-link .tmf-ico { width: 10px; height: 10px; }
.tmf-groups-link-mobile { color: var(--ukred) !important; }

/* ---------- 2. Section "Two ways to travel" (FIT / Groupes, côte à côte) ---------- */
.tmf-ways-head { max-width: 760px; margin-bottom: 3.5rem; }
.tmf-ways-intro { color: var(--ukmuted); font-size: 1.02rem; line-height: 1.7; letter-spacing: -0.005em; max-width: 62ch; }
.tmf-ways-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.tmf-way {
    display: flex; flex-direction: column;
    background: var(--ukpaper);
    border-radius: var(--radius-xl, 18px);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.tmf-way:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.tmf-way-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tmf-way-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tmf-way:hover .tmf-way-media img { transform: scale(1.03); }
.tmf-way-num {
    position: absolute; left: 1.25rem; bottom: 1rem;
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.6rem; line-height: 1;
    color: #fff; text-shadow: 0 2px 18px rgba(14,26,46,0.45);
}
.tmf-way-body { display: flex; flex-direction: column; flex: 1; padding: 2rem 2.25rem 2.25rem; }
.tmf-way-eyebrow {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--ukred); margin-bottom: 0.9rem;
}
.tmf-way-title {
    font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1;
    color: var(--ukblue); margin-bottom: 1rem;
}
.tmf-way-title .type-italic { font-weight: 400; }
.tmf-way-text { color: var(--ukmuted); font-size: 0.98rem; line-height: 1.65; margin-bottom: 1.25rem; }
.tmf-way-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.tmf-way-list li { position: relative; padding-left: 1.4rem; color: var(--ukink); font-size: 0.92rem; line-height: 1.5; }
.tmf-way-list li::before {
    content: ""; position: absolute; left: 0; top: 0.68em;
    width: 0.7rem; height: 1px; background: var(--ukred);
}
.tmf-way-who {
    display: flex; align-items: center; gap: 0.75rem;
    padding-top: 1.25rem; margin-top: auto; margin-bottom: 1.4rem;
    border-top: 1px solid var(--ukrule, rgba(34,51,78,.1));
    font-size: 0.85rem; color: var(--ukmuted);
}
.tmf-way-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tmf-way-who strong { color: var(--ukblue); font-weight: 600; }
.tmf-way-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.tmf-way-cta {
    display: inline-flex; align-items: center; gap: 0.55rem;
    padding: 0.85rem 1.4rem; border-radius: 999px;
    background: var(--ukblue); color: #fff;
    font-weight: 600; font-size: 0.88rem; letter-spacing: -0.005em;
    transition: background .25s;
}
.tmf-way-cta:hover { background: var(--ukred); }
.tmf-way-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-weight: 600; font-size: 0.88rem; color: var(--ukblue);
}
.tmf-way-link:hover { color: var(--ukred); }
.tmf-way-link .tmf-ico { width: 12px; height: 12px; }
@media (max-width: 860px) {
    .tmf-ways-grid { grid-template-columns: 1fr; }
    .tmf-way-body { padding: 1.6rem 1.5rem 1.75rem; }
}

/* ---------- 3. Travel Designers : Joël (FIT) et Laetitia (Groupes) côte à côte ---------- */
html[data-destination="france"] .tmf-designers-wrap { max-width: 80rem; }
.tmf-designers-head { text-align: center; margin: 0 auto 3.5rem; max-width: 760px; }
.tmf-designers-head .type-eyebrow { justify-content: center; display: flex; align-items: center; }
.tmf-designers-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--ukblue); line-height: 1.1; letter-spacing: -0.035em; }
html[data-destination="france"] .tmf-designers-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: start;
}
html[data-destination="france"] .tmf-designers-grid .designer-module {
    grid-template-columns: 1fr !important; gap: 1.75rem !important; align-items: start;
}
html[data-destination="france"] .tmf-designers-grid .designer-portrait { aspect-ratio: 4 / 3; }
html[data-destination="france"] .tmf-designers-grid .designer-portrait img { object-position: center 25%; }
html[data-destination="france"] .tmf-designers-grid .designer-body h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem) !important; }
@media (max-width: 960px) {
    html[data-destination="france"] .tmf-designers-grid { grid-template-columns: 1fr; gap: 4rem; }
}
.tmf-designer-tag {
    display: table; margin: 0 0 1rem;
    padding: 0.32rem 0.8rem; border-radius: 999px;
    background: #fff; color: var(--ukblue);
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.tmf-brochure-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    margin-top: 1.1rem; font-weight: 600; font-size: 0.9rem;
    color: var(--ukblue); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.tmf-brochure-link:hover { color: var(--ukred); }
.tmf-brochure-link .tmf-ico { width: 12px; height: 12px; }
