/* ==========================================================================
   FOREST TERRE — Page d'accueil · v1.0
   S'appuie sur ft-implantations.css (système « Relevé de terrain ») et reprend
   les composants de ft-services.css (puces d'orientation, accordéons).
   Tout est préfixé .ftx-h : aucune incidence sur Avada.
   ========================================================================== */

/* ---------- 1. Bannière -------------------------------------------------- */
.ftx .ftx-h-hero { min-height: 100svh; min-height: clamp(620px, 100vh, 1000px); align-items: center; }
.ftx .ftx-h-hero .ftx-hero__inner { padding-block: calc(var(--ftx-s9) + 40px) var(--ftx-s9); gap: var(--ftx-s5); }
.ftx .ftx-h-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ftx .ftx-h-brand { display: inline-flex; align-items: center; gap: .9rem; }
.ftx .ftx-h-brand img { width: 54px; height: 54px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }
.ftx .ftx-h-hero h1 { margin: 0; font-family: var(--ftx-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ftx-wood); line-height: 1.5; max-width: 40ch; }
.ftx .ftx-h-slogan { margin: 0; font-family: var(--ftx-serif); font-weight: 300; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; color: var(--ftx-cream); max-width: 16ch; }
.ftx .ftx-h-slogan em { display: block; font-style: italic; color: #E6DCC8; }
.ftx .ftx-h-slogan .ftx-h-word { display: inline-block; opacity: 0; transform: translateY(.35em); animation: ftx-h-word .9s var(--ftx-ease) forwards; }
@keyframes ftx-h-word { to { opacity: 1; transform: none; } }
.ftx .ftx-h-hero__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--ftx-s4); margin-top: var(--ftx-s5); }
.ftx .ftx-h-pause { display: inline-flex; align-items: center; gap: .5em; min-height: 40px; padding: 0 1rem; border-radius: 99px; border: 1px solid var(--ftx-line-light); background: rgba(16,41,31,.4); color: var(--ftx-cream); font: 600 12px/1 var(--ftx-sans); cursor: pointer; }
.ftx .ftx-h-pause svg { width: 14px; height: 14px; }
.ftx .ftx-h-topo path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ftx-h-draw 4.5s var(--ftx-ease) .4s forwards; }
.ftx .ftx-h-topo path:nth-child(2) { animation-delay: .7s; }
.ftx .ftx-h-topo path:nth-child(3) { animation-delay: 1s; }
.ftx .ftx-h-topo path:nth-child(4) { animation-delay: 1.3s; }
@keyframes ftx-h-draw { to { stroke-dashoffset: 0; } }

/* ---------- 2. Chiffres clés --------------------------------------------- */
.ftx .ftx-h-figs { position: relative; overflow: hidden; isolation: isolate; background: var(--ftx-forest); color: var(--ftx-cream); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.ftx .ftx-h-figs__rings { position: absolute; right: -180px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); z-index: -1; opacity: .22; animation: ftx-h-spin 120s linear infinite; }
.ftx .ftx-h-figs__rings2 { position: absolute; left: -220px; top: -160px; width: 520px; height: 520px; z-index: -1; opacity: .12; }
@keyframes ftx-h-spin { to { transform: translateY(-50%) rotate(360deg); } }
.ftx .ftx-h-figs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ftx .ftx-h-fig { display: grid; gap: var(--ftx-s3); justify-items: start; padding: var(--ftx-s3) clamp(1rem, .5rem + 2.5vw, 3rem); border-left: 1px solid var(--ftx-line-light); }
.ftx .ftx-h-fig:first-child { border-left: 0; padding-left: 0; }
.ftx .ftx-h-fig svg { width: 44px; height: 44px; color: var(--ftx-wood); }
.ftx .ftx-h-fig__n { display: flex; align-items: baseline; gap: .35rem; font-family: var(--ftx-serif); font-weight: 300; font-size: clamp(3rem, 1.8rem + 4.4vw, 5.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums; color: var(--ftx-cream); }
.ftx .ftx-h-fig__n small { font-family: var(--ftx-sans); font-size: clamp(1rem, .9rem + .5vw, 1.35rem); font-weight: 600; letter-spacing: 0; color: var(--ftx-wood); }
.ftx .ftx-h-fig__l { font-size: var(--ftx-fs-base); line-height: 1.45; color: rgba(244,241,232,.82); max-width: 22ch; }
.ftx .ftx-h-figs__note { margin: var(--ftx-s7) 0 0; padding-top: var(--ftx-s5); border-top: 1px solid var(--ftx-line-light); font-family: var(--ftx-serif); font-style: italic; font-weight: 300; font-size: var(--ftx-fs-xl); color: var(--ftx-cream); }

/* ---------- 3. Identité --------------------------------------------------- */
.ftx .ftx-h-id { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.ftx .ftx-h-id__media { position: relative; }
.ftx .ftx-h-id__photo { margin: 0; overflow: hidden; border-radius: var(--ftx-radius-lg); aspect-ratio: 4 / 5; }
.ftx .ftx-h-id__photo img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.ftx .ftx-h-id__badge { position: absolute; right: -18px; bottom: 28px; display: grid; gap: 2px; padding: var(--ftx-s4) var(--ftx-s5); border-radius: var(--ftx-radius-lg); background: var(--ftx-forest); color: var(--ftx-cream); box-shadow: 0 20px 40px -20px rgba(16,41,31,.6); }
.ftx .ftx-h-id__badge small { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftx-wood); }
.ftx .ftx-h-id__badge b { font-family: var(--ftx-serif); font-weight: 400; font-size: 1.25rem; }
.ftx .ftx-h-id__txt { display: grid; gap: var(--ftx-s5); }
.ftx .ftx-h-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--ftx-s5); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ftx-line); }
.ftx .ftx-h-skills li { display: flex; align-items: center; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--ftx-line); font-weight: 600; color: var(--ftx-forest); }
.ftx .ftx-h-skills li svg { width: 20px; height: 20px; flex: none; color: var(--ftx-moss); }
.ftx .ftx-h-values { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ftx .ftx-h-values li { padding: .4em .85em; border-radius: 99px; border: 1px solid var(--ftx-line); font-size: 13px; font-weight: 600; color: var(--ftx-ink-soft); background: var(--ftx-paper); }
.ftx .ftx-h-sign { margin: 0; padding-left: var(--ftx-s5); border-left: 2px solid var(--ftx-wood); font-family: var(--ftx-serif); font-style: italic; font-weight: 300; font-size: var(--ftx-fs-xl); line-height: 1.3; color: var(--ftx-forest); }

/* ---------- 4. Métiers (2 grandes cartes + 2 secondaires) ----------------- */
.ftx .ftx-h-svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--ftx-s4); }
.ftx .ftx-h-card { position: relative; grid-column: span 6; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; border-radius: var(--ftx-radius-lg); color: var(--ftx-cream); text-decoration: none; }
.ftx .ftx-h-card--sm { grid-column: span 6; min-height: 380px; }
.ftx .ftx-h-card__img { position: absolute; inset: 0; z-index: -2; }
.ftx .ftx-h-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ftx-ease), filter .6s; filter: brightness(.92); }
.ftx .ftx-h-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,41,31,.05) 20%, rgba(16,41,31,.55) 55%, rgba(16,41,31,.94) 100%); transition: background .6s; }
.ftx .ftx-h-card:hover .ftx-h-card__img img, .ftx .ftx-h-card:focus-visible .ftx-h-card__img img { transform: scale(1.06); filter: brightness(1.04); }
.ftx .ftx-h-card__top { position: absolute; left: var(--ftx-s5); right: var(--ftx-s5); top: var(--ftx-s5); display: flex; justify-content: space-between; align-items: center; }
.ftx .ftx-h-card__n { font-family: var(--ftx-mono); font-size: 12px; letter-spacing: .16em; padding: .3em .7em; border-radius: 99px; background: rgba(16,41,31,.55); backdrop-filter: blur(6px); }
.ftx .ftx-h-card__ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(244,241,232,.14); border: 1px solid var(--ftx-line-light); backdrop-filter: blur(6px); }
.ftx .ftx-h-card__ico svg { width: 22px; height: 22px; }
.ftx .ftx-h-card__body { display: grid; gap: var(--ftx-s3); padding: var(--ftx-s6); }
.ftx .ftx-h-card__body small { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftx-wood); }
.ftx .ftx-h-card__body h3 { margin: 0; font-family: var(--ftx-serif); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.12; color: var(--ftx-cream); }
.ftx .ftx-h-card__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ftx-ease), opacity .5s; }
.ftx .ftx-h-card:hover .ftx-h-card__list, .ftx .ftx-h-card:focus-visible .ftx-h-card__list { max-height: 200px; opacity: 1; }
.ftx .ftx-h-card__list li { padding: .35em .75em; border-radius: 99px; background: rgba(244,241,232,.14); font-size: 12.5px; font-weight: 600; }
.ftx .ftx-h-card__go { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: var(--ftx-fs-sm); }
.ftx .ftx-h-card__go svg { width: 18px; height: 18px; transition: transform .4s var(--ftx-ease); }
.ftx .ftx-h-card:hover .ftx-h-card__go svg { transform: translateX(6px); }
@media (hover: none) { .ftx .ftx-h-card__list { max-height: none; opacity: 1; } }

/* ---------- 5. Associés --------------------------------------------------- */
.ftx .ftx-h-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ftx-s6); }
.ftx .ftx-h-person { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--ftx-radius-lg); background: var(--ftx-paper); border: 1px solid var(--ftx-line); }
.ftx .ftx-h-person__photo { position: relative; margin: 0; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--ftx-forest-deep); }
.ftx .ftx-h-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.4s var(--ftx-ease); }
.ftx .ftx-h-person:hover .ftx-h-person__photo img { transform: scale(1.04); }
.ftx .ftx-h-person__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem var(--ftx-s6) var(--ftx-s5); background: linear-gradient(transparent, rgba(16,41,31,.88)); color: var(--ftx-cream); }
.ftx .ftx-h-person__photo figcaption b { display: block; font-family: var(--ftx-serif); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; color: var(--ftx-cream); }
.ftx .ftx-h-person__photo figcaption span { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftx-wood); }
.ftx .ftx-h-person__body { display: grid; gap: var(--ftx-s4); align-content: start; padding: var(--ftx-s6); }
.ftx .ftx-h-person__lede { margin: 0; font-family: var(--ftx-serif); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.3; color: var(--ftx-forest); }
.ftx .ftx-h-person__body > p { margin: 0; color: var(--ftx-ink-soft); line-height: 1.65; }
.ftx .ftx-h-quals { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.ftx .ftx-h-quals li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--ftx-fs-sm); line-height: 1.45; color: var(--ftx-ink); }
.ftx .ftx-h-quals li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ftx-moss); }
.ftx .ftx-h-person details { border-top: 1px solid var(--ftx-line); }
.ftx .ftx-h-person summary { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--ftx-forest); }
.ftx .ftx-h-person summary::-webkit-details-marker { display: none; }
.ftx .ftx-h-person summary::after { content: "+"; font-family: var(--ftx-mono); font-size: 18px; transition: transform .3s; }
.ftx .ftx-h-person details[open] summary::after { transform: rotate(45deg); }
.ftx .ftx-h-person details p { margin: 0 0 var(--ftx-s4); color: var(--ftx-ink-soft); line-height: 1.65; font-size: var(--ftx-fs-sm); }

/* ---------- 6. Vision (bande panoramique) --------------------------------- */
.ftx .ftx-h-vision { position: relative; overflow: hidden; isolation: isolate; color: var(--ftx-cream); padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.ftx .ftx-h-vision__bg { position: absolute; inset: -12% 0; z-index: -2; }
.ftx .ftx-h-vision__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.ftx .ftx-h-vision::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,41,31,.94) 0%, rgba(16,41,31,.82) 45%, rgba(16,41,31,.35) 100%); }
.ftx .ftx-h-vision .ftx-h2 { color: var(--ftx-cream); max-width: 14ch; }
.ftx .ftx-h-vision__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--ftx-s7); align-items: start; }
.ftx .ftx-h-vision__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--ftx-line-light); border: 1px solid var(--ftx-line-light); border-radius: var(--ftx-radius-lg); overflow: hidden; }
.ftx .ftx-h-vision__list li { display: grid; gap: .35rem; padding: var(--ftx-s5); background: rgba(16,41,31,.72); backdrop-filter: blur(4px); }
.ftx .ftx-h-vision__list b { font-family: var(--ftx-serif); font-weight: 400; font-size: 1.12rem; color: var(--ftx-cream); }
.ftx .ftx-h-vision__list span { font-size: 13.5px; line-height: 1.55; color: rgba(244,241,232,.76); }

/* ---------- 7. Galerie ----------------------------------------------------- */
.ftx .ftx-h-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; grid-auto-flow: dense; gap: var(--ftx-s3); margin: 0; padding: 0; list-style: none; }
.ftx .ftx-h-gal li { position: relative; overflow: hidden; border-radius: 12px; }
.ftx .ftx-h-gal li.is-tall { grid-row: span 2; }
.ftx .ftx-h-gal li.is-wide { grid-column: span 2; }
.ftx .ftx-h-gal button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ftx-forest-deep); cursor: zoom-in; }
.ftx .ftx-h-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ftx-ease), filter .5s; }
.ftx .ftx-h-gal button:hover img, .ftx .ftx-h-gal button:focus-visible img { transform: scale(1.06); filter: brightness(1.05); }
.ftx .ftx-h-gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem .9rem .75rem; background: linear-gradient(transparent, rgba(16,41,31,.85)); color: var(--ftx-cream); font-size: 13px; font-weight: 600; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.ftx .ftx-h-gal li:hover span, .ftx .ftx-h-gal button:focus-visible + span { opacity: 1; transform: none; }
@media (hover: none) { .ftx .ftx-h-gal span { opacity: 1; transform: none; } }
.ftx-h-lb { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: #10291F; color: #F4F1E8; overflow: hidden; }
.ftx-h-lb::backdrop { background: rgba(8,20,15,.86); backdrop-filter: blur(4px); }
.ftx-h-lb figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; max-height: 92vh; }
.ftx-h-lb img { width: 100%; max-height: 78vh; object-fit: contain; background: #08140f; }
.ftx-h-lb figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem 1.1rem; font: 500 14px/1.45 "Manrope", system-ui, sans-serif; }
.ftx-h-lb__nav { display: flex; gap: 6px; }
.ftx-h-lb button { min-width: 44px; min-height: 44px; border-radius: 99px; border: 1px solid rgba(244,241,232,.3); background: transparent; color: #F4F1E8; font: 600 14px/1 "Manrope", system-ui, sans-serif; cursor: pointer; }
.ftx-h-lb button:hover { background: rgba(244,241,232,.12); }

/* ---------- 8. Territoires ------------------------------------------------- */
.ftx .ftx-h-terr { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--ftx-s7); align-items: center; }
.ftx .ftx-h-map { position: relative; margin: 0; padding: var(--ftx-s4); border-radius: var(--ftx-radius-lg); background: var(--ftx-paper); border: 1px solid var(--ftx-line); }
.ftx .ftx-h-map svg { width: 100%; height: auto; display: block; overflow: visible; }
.ftx .ftx-c-regions path { fill: rgba(34,40,35,.05); stroke: var(--ftx-cream); stroke-width: 1.2; transition: fill .3s; }
.ftx .ftx-c-regions path.is-on { fill: rgba(120,134,107,.42); }
.ftx .ftx-c-regions path.is-on:hover { fill: rgba(120,134,107,.62); }
.ftx .ftx-c-pin { cursor: pointer; }
.ftx .ftx-c-pin circle { fill: var(--ftx-forest); stroke: var(--ftx-cream); stroke-width: 2; transition: r .3s; }
.ftx .ftx-c-pin .ftx-c-pin__ring { fill: rgba(25,61,48,.25); stroke: none; transform-origin: center; transform-box: fill-box; animation: ftx-h-pulse 2.4s var(--ftx-ease) infinite; }
.ftx .ftx-c-pin text { font-family: var(--ftx-mono); font-size: 13px; fill: var(--ftx-forest); paint-order: stroke; stroke: var(--ftx-paper); stroke-width: 4px; }
.ftx .ftx-c-pin.is-active circle:not(.ftx-c-pin__ring) { fill: var(--ftx-wood); }
@keyframes ftx-h-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.ftx .ftx-h-offices { display: grid; gap: var(--ftx-s3); margin: var(--ftx-s5) 0 0; padding: 0; list-style: none; }
.ftx .ftx-h-office { display: grid; gap: .3rem; padding: var(--ftx-s5); border-radius: var(--ftx-radius-lg); background: var(--ftx-paper); border: 1px solid var(--ftx-line); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.ftx .ftx-h-office.is-active { border-color: var(--ftx-forest); box-shadow: 0 14px 30px -22px rgba(16,41,31,.6); }
.ftx .ftx-h-office small { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftx-wood-dark); }
.ftx .ftx-h-office b { font-family: var(--ftx-serif); font-weight: 400; font-size: 1.3rem; color: var(--ftx-forest); }
.ftx .ftx-h-office span { font-size: var(--ftx-fs-sm); color: var(--ftx-ink-soft); }
.ftx .ftx-h-office a { color: var(--ftx-forest); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.ftx .ftx-h-office a:hover { text-decoration: underline; }

/* ---------- 10. Honoraires : aperçu du simulateur -------------------------- */
.ftx .ftx-h-fees { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--ftx-s7); align-items: center; }
.ftx .ftx-h-sim { display: grid; gap: var(--ftx-s5); padding: var(--ftx-s6); border-radius: var(--ftx-radius-lg); background: var(--ftx-forest); color: var(--ftx-cream); box-shadow: 0 30px 60px -36px rgba(16,41,31,.7); position: relative; overflow: hidden; isolation: isolate; }
.ftx .ftx-h-sim::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; z-index: -1; background: repeating-radial-gradient(circle, transparent 0 12px, rgba(180,154,118,.2) 12px 13px); }
.ftx .ftx-h-sim__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ftx .ftx-h-sim__tabs button { min-height: 40px; padding: .45em 1em; border-radius: 99px; border: 1px solid var(--ftx-line-light); background: transparent; color: var(--ftx-cream); font: 600 13px/1 var(--ftx-sans); cursor: pointer; }
.ftx .ftx-h-sim__tabs button[aria-pressed="true"] { background: var(--ftx-cream); color: var(--ftx-forest); }
.ftx .ftx-h-sim label { display: flex; justify-content: space-between; font-size: var(--ftx-fs-sm); color: rgba(244,241,232,.8); }
.ftx .ftx-h-sim output { font-family: var(--ftx-mono); color: var(--ftx-cream); }
.ftx .ftx-h-sim input[type="range"] { width: 100%; accent-color: #B49A76; }
.ftx .ftx-h-sim__res { display: grid; gap: 2px; padding-top: var(--ftx-s4); border-top: 1px solid var(--ftx-line-light); }
.ftx .ftx-h-sim__res small { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ftx-wood); }
.ftx .ftx-h-sim__res b { font-family: var(--ftx-serif); font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.ftx .ftx-h-sim__res span { font-size: 13px; color: rgba(244,241,232,.72); }

/* ---------- 11. Magazine ---------------------------------------------------- */
.ftx .ftx-h-posts { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--ftx-s4); }
.ftx .ftx-h-post { display: grid; grid-template-rows: 200px auto; overflow: hidden; border-radius: var(--ftx-radius-lg); background: var(--ftx-paper); border: 1px solid var(--ftx-line); color: inherit; text-decoration: none; transition: transform .4s var(--ftx-ease), box-shadow .4s; }
.ftx .ftx-h-post:first-child { grid-template-rows: 300px auto; }
.ftx .ftx-h-post:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(16,41,31,.55); }
.ftx .ftx-h-post img { width: 100%; height: 100%; object-fit: cover; }
.ftx .ftx-h-post div { display: grid; gap: .55rem; padding: var(--ftx-s5); align-content: start; }
.ftx .ftx-h-post small { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ftx-wood-dark); }
.ftx .ftx-h-post b { font-family: var(--ftx-serif); font-weight: 400; font-size: 1.15rem; line-height: 1.3; color: var(--ftx-forest); }
.ftx .ftx-h-post:first-child b { font-size: 1.45rem; }
.ftx .ftx-h-post p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ftx-ink-soft); }
.ftx .ftx-h-post span { font-size: 12.5px; color: var(--ftx-ink-soft); }

/* ---------- 12. Qualifications ---------------------------------------------- */
.ftx .ftx-h-quals-band { padding-block: var(--ftx-s7); background: var(--ftx-paper); border-block: 1px solid var(--ftx-line); }
.ftx .ftx-h-qband { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); gap: var(--ftx-s5); align-items: center; margin: 0; padding: 0; list-style: none; }
.ftx .ftx-h-qband > li:first-child { font-family: var(--ftx-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ftx-wood-dark); max-width: 14ch; line-height: 1.5; }
.ftx .ftx-h-qband li { display: grid; gap: 2px; padding-left: var(--ftx-s4); border-left: 1px solid var(--ftx-line); }
.ftx .ftx-h-qband li:first-child { border-left: 0; padding-left: 0; }
.ftx .ftx-h-qband b { font-size: var(--ftx-fs-sm); color: var(--ftx-forest); line-height: 1.35; }
.ftx .ftx-h-qband span { font-size: 12.5px; color: var(--ftx-ink-soft); line-height: 1.4; }

/* ---------- 13. Appel final ---------------------------------------------------- */
.ftx .ftx-h-final .ftx-cta__grid { align-items: center; }
.ftx .ftx-h-final .ftx-cta__card a { color: var(--ftx-cream); }

/* ---------- Mention à valider (aperçu uniquement) -------------------------- */
.ftx .ftx-s-todo, .ftx-s-todo { display: inline-flex; align-items: center; padding: .2em .6em; border-radius: 6px; background: rgba(154,79,44,.12); color: #9A4F2C; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .04em; vertical-align: middle; }
.ftx .ftx-section--dark .ftx-s-todo, .ftx .ftx-h-figs .ftx-s-todo, .ftx .ftx-h-vision .ftx-s-todo { background: rgba(224,180,76,.18); color: #F0CC7A; }

/* ---------- Responsive ------------------------------------------------------- */
@media (max-width: 1080px) {
  .ftx .ftx-h-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftx .ftx-h-post:first-child { grid-template-rows: 200px auto; }
  .ftx .ftx-h-qband { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftx .ftx-h-qband > li:first-child { grid-column: 1 / -1; max-width: none; }
  .ftx .ftx-h-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ftx .ftx-h-id, .ftx .ftx-h-vision__grid, .ftx .ftx-h-terr, .ftx .ftx-h-fees, .ftx .ftx-h-team { grid-template-columns: minmax(0, 1fr); }
  .ftx .ftx-h-card, .ftx .ftx-h-card--sm { grid-column: 1 / -1; min-height: 420px; }
  .ftx .ftx-h-id__badge { right: 12px; }
  .ftx .ftx-h-fig { padding-inline: var(--ftx-s4); }
  .ftx .ftx-h-fig__n { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 3.4rem); }
}
@media (max-width: 640px) {
  .ftx .ftx-h-figs__grid { grid-template-columns: minmax(0, 1fr); gap: var(--ftx-s5); }
  .ftx .ftx-h-fig { grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: var(--ftx-s4); row-gap: 2px; padding: 0 0 var(--ftx-s5); border-left: 0; border-bottom: 1px solid var(--ftx-line-light); }
  .ftx .ftx-h-fig svg { grid-row: span 2; }
  .ftx .ftx-h-fig:last-child { border-bottom: 0; padding-bottom: 0; }
  .ftx .ftx-h-skills, .ftx .ftx-h-vision__list, .ftx .ftx-h-posts, .ftx .ftx-h-qband { grid-template-columns: minmax(0, 1fr); }
  .ftx .ftx-h-qband li { border-left: 0; padding-left: 0; }
  .ftx .ftx-h-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .ftx .ftx-h-gal li.is-wide { grid-column: span 2; }
  .ftx .ftx-h-card, .ftx .ftx-h-card--sm { min-height: 360px; }
  .ftx .ftx-h-card__body { padding: var(--ftx-s5); }
  .ftx .ftx-h-person__body, .ftx .ftx-h-sim { padding: var(--ftx-s5); }
  .ftx .ftx-h-hero__foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .ftx .ftx-h-slogan .ftx-h-word { animation: none; opacity: 1; transform: none; }
  .ftx .ftx-h-topo path { animation: none; stroke-dashoffset: 0; }
  .ftx .ftx-h-figs__rings { animation: none; }
  .ftx .ftx-c-pin .ftx-c-pin__ring { animation: none; }
  .ftx .ftx-h-card__img img, .ftx .ftx-h-gal img, .ftx .ftx-h-person__photo img, .ftx .ftx-h-id__photo img, .ftx .ftx-h-vision__bg img { transition: none; transform: none !important; }
}

.ftx .ftx-h-qlogo { height: 46px; width: auto; max-width: 120px; object-fit: contain; object-position: left center; margin-bottom: 6px; mix-blend-mode: multiply; }
.ftx .ftx-h-terr--nomap { grid-template-columns: minmax(0, 1fr); }
.ftx .ftx-h-terr--nomap .ftx-h-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .ftx .ftx-h-terr--nomap .ftx-h-offices { grid-template-columns: minmax(0, 1fr); } }

/* Vidéo de la bannière : fondu à son démarrage, la photo reste dessous */
.ftx .ftx-h-hero__video { opacity: 0; transition: opacity 1.2s var(--ftx-ease); }
.ftx .ftx-h-hero__video.is-on { opacity: 1; }
.ftx .ftx-h-hero::before { background: linear-gradient(90deg, rgba(16,41,31,.82) 0%, rgba(16,41,31,.55) 50%, rgba(16,41,31,.28) 100%), linear-gradient(0deg, rgba(16,41,31,.55) 0%, rgba(16,41,31,0) 45%) !important; }

/* ---------- Intégration WordPress / Avada (accueil uniquement) ------------ */
body.ftx-page .ftx .ftx-h-hero h1 { font-family: var(--ftx-mono) !important; font-size: 12px !important; line-height: 1.5 !important; letter-spacing: .18em !important; text-transform: uppercase !important; color: var(--ftx-wood) !important; font-weight: 500 !important; margin: 0 !important; }
body.ftx-page .ftx .ftx-h-slogan, body.ftx-page .ftx .ftx-h-slogan em, body.ftx-page .ftx .ftx-h-slogan span { font-family: var(--ftx-serif) !important; font-weight: 300 !important; }
body.ftx-page .ftx .ftx-h-slogan { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem) !important; line-height: 1.02 !important; color: var(--ftx-cream) !important; }
body.ftx-page .ftx .ftx-h-fig__n { font-family: var(--ftx-serif) !important; font-weight: 300 !important; line-height: 1 !important; color: var(--ftx-cream) !important; }
body.ftx-page .ftx .ftx-h-fig__n small { font-family: var(--ftx-sans) !important; }
body.ftx-page .ftx .ftx-h-fig__l { color: rgba(244,241,232,.82) !important; }
body.ftx-page .ftx .ftx-h-figs__note, body.ftx-page .ftx .ftx-h-sign, body.ftx-page .ftx .ftx-h-person__lede { font-family: var(--ftx-serif) !important; font-style: italic !important; font-weight: 300 !important; }
body.ftx-page .ftx .ftx-h-figs__note { color: var(--ftx-cream) !important; }
body.ftx-page .ftx .ftx-h-id__badge b, body.ftx-page .ftx .ftx-h-person__photo figcaption b, body.ftx-page .ftx .ftx-h-vision__list b { font-family: var(--ftx-serif) !important; font-weight: 400 !important; }
body.ftx-page .ftx .ftx-h-person__photo figcaption b, body.ftx-page .ftx .ftx-h-vision__list b, body.ftx-page .ftx .ftx-h-card__body h3 { color: var(--ftx-cream) !important; }
body.ftx-page .ftx .ftx-h-card__body h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem) !important; line-height: 1.12 !important; }
body.ftx-page .ftx .ftx-h-card, body.ftx-page .ftx .ftx-h-card:hover { color: var(--ftx-cream) !important; }
body.ftx-page .ftx .ftx-h-office a { color: var(--ftx-forest) !important; }
body.ftx-page .ftx .ftx-h-final .ftx-cta__row a { color: var(--ftx-cream) !important; }
body.ftx-page .ftx .ftx-h-skills, body.ftx-page .ftx .ftx-h-values, body.ftx-page .ftx .ftx-h-figs__grid, body.ftx-page .ftx .ftx-h-quals, body.ftx-page .ftx .ftx-h-vision__list, body.ftx-page .ftx .ftx-h-offices, body.ftx-page .ftx .ftx-h-qband, body.ftx-page .ftx .ftx-h-card__list { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.ftx-page .ftx .ftx-h-skills li, body.ftx-page .ftx .ftx-h-values li, body.ftx-page .ftx .ftx-h-quals li, body.ftx-page .ftx .ftx-h-card__list li { margin: 0 !important; }
