/* Groulx — Édition architecturale. Tokens issus de DESIGN.md */
:root{
  --chalk:#F7F6F2; --ink:#151515; --obsidian:#101010; --travertine:#E8E7E3; --pink:#E83E8C; --pink-d:#D62D7B; --muted:#5b5e5e;
  --serif:"Playfair Display",Georgia,serif; --sans:"Plus Jakarta Sans",system-ui,-apple-system,sans-serif;
  --margin:clamp(1.25rem,5vw,4rem); --space-xl:clamp(4rem,9vw,7rem); --header-h:76px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--chalk);color:var(--ink);font:400 1rem/1.7 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration-color:var(--pink);text-underline-offset:3px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:400;margin:0 0 .6em;color:inherit}
p{margin:0 0 1em}
ul{margin:0;padding:0}
.gx-skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.6rem 1rem;z-index:200}
.gx-skip:focus{left:0}
.gx-wrap{width:100%;max-width:1320px;margin-inline:auto;padding-inline:var(--margin)}
.gx-main{min-height:60vh}

/* Typography */
.gx-h1{font-size:clamp(2.6rem,6.2vw,5.5rem);line-height:1.05;letter-spacing:-.03em}
.gx-h2{font-size:clamp(2rem,4.2vw,3.75rem);line-height:1.12;letter-spacing:-.025em}
.gx-h3{font-size:clamp(1.3rem,2vw,1.75rem);line-height:1.3;letter-spacing:-.01em}
.gx-h1 em,.gx-h2 em{font-style:italic}
.gx-eyebrow{font:600 .6875rem/1.4 var(--sans);letter-spacing:.18em;text-transform:uppercase;margin:0 0 1.2rem;display:flex;align-items:center;gap:.7rem;color:var(--muted)}
.gx-eyebrow::before{content:"";width:1.6rem;height:1.5px;background:var(--pink)}
.gx-eyebrow--light{color:rgba(247,246,242,.6)}
.gx-lead{font-size:clamp(1.05rem,1.6vw,1.25rem);font-weight:300;line-height:1.75;max-width:62ch}
.gx-note{font-size:.8125rem;color:var(--muted);margin-top:1.2rem}
.gx-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--pink);margin-left:.5rem;vertical-align:middle}
.gx-prose{max-width:62ch}
.gx-prose ul{padding-left:1.2rem;margin-bottom:1em}
.gx-prose li{margin-bottom:.4em}
.gx-prose h3{font-size:1.5rem;margin-top:1.6em}
.gx-tag{display:inline-block;background:var(--travertine);color:var(--ink);font:600 .6875rem/1.4 var(--sans);letter-spacing:.14em;text-transform:uppercase;padding:.35rem .75rem;font-style:normal}

/* Buttons */
.gx-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}
.gx-btn{display:inline-flex;align-items:center;gap:.9rem;padding:1rem 2.2rem;font:600 .6875rem/1 var(--sans);letter-spacing:.18em;text-transform:uppercase;text-decoration:none;border:1px solid var(--ink);transition:.25s;cursor:pointer;border-radius:0}
.gx-btn--primary{background:var(--ink);color:var(--chalk)}
.gx-btn--primary:hover{background:var(--obsidian);box-shadow:inset 0 -2px 0 var(--pink)}
.gx-btn--ghost{background:transparent;color:inherit;border-color:currentColor}
.gx-btn--ghost:hover{background:var(--ink);color:var(--chalk)}
.gx-btn--light{background:var(--chalk);color:var(--ink);border-color:var(--chalk)}
.gx-btn--light:hover{background:var(--pink);border-color:var(--pink);color:#fff}
.gx-btn--accent{background:var(--pink);color:#fff;border-color:var(--pink)}
.gx-btn--link{border:0;padding:.4rem 0;background:none;color:inherit;border-bottom:1px solid var(--pink)}
.gx-arrow{display:inline-block;width:14px;height:1px;background:currentColor;position:relative;transition:transform .25s}
.gx-arrow::after{content:"";position:absolute;right:0;top:-3px;width:6px;height:6px;border-top:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg)}
.gx-btn:hover .gx-arrow{transform:translateX(4px)}

/* Header — modèle « hero immersif » : monogramme, pastille de navigation vitrée */
.gx-header{position:fixed;inset:0 0 auto 0;z-index:100;transition:background .3s,box-shadow .3s,backdrop-filter .3s}
.admin-bar .gx-header{top:32px}
.gx-header__bar{max-width:1560px;margin:auto;min-height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding:.9rem var(--margin)}
.gx-header.is-scrolled,body:not(.has-hero) .gx-header{background:rgba(247,246,242,.88);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(21,21,21,.08)}
.gx-pill{background:rgba(255,255,255,.66);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.75);border-radius:999px;box-shadow:0 1px 3px rgba(0,0,0,.06);color:var(--obsidian)}
.gx-ico{width:14px;height:14px;flex:none}.gx-ico--pink{color:var(--pink)}
.gx-brand{display:flex;align-items:center;gap:.9rem;text-decoration:none;color:var(--obsidian);flex:none}
.gx-brand__mono{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.12);display:grid;place-items:center;font:700 .95rem var(--serif);letter-spacing:.06em;transition:transform .3s;overflow:hidden}
.gx-brand__mono--img img{width:100%;height:100%;object-fit:cover}
.gx-brand:hover .gx-brand__mono{transform:scale(1.06)}
.gx-brand__text{display:flex;flex-direction:column;line-height:1.1}
.gx-brand__name{font:700 1.1rem var(--serif);letter-spacing:-.01em;text-transform:uppercase;display:flex;align-items:center}
.gx-brand__sub{font:600 .625rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#38423B;margin-top:.3rem;display:flex;gap:.5rem;align-items:baseline}
.gx-brand__sub b{font-weight:600}
.gx-brand__sub em{font-style:normal;font-weight:500;letter-spacing:.02em;text-transform:none;color:#4F5950;font-size:.58rem}
.gx-nav{background:rgba(255,255,255,.66);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.75);border-radius:999px;box-shadow:0 1px 3px rgba(0,0,0,.06);padding:.55rem 1.8rem}
.gx-nav__list{list-style:none;display:flex;gap:clamp(1.2rem,2.4vw,2.4rem);margin:0}
.gx-nav__list>li{position:relative}
.gx-nav__list a{font:600 .75rem var(--sans);letter-spacing:.1em;text-transform:uppercase;text-decoration:none;padding:.3rem 0;display:flex;align-items:center;gap:.4rem;color:rgba(16,16,16,.85);transition:color .2s;white-space:nowrap}
.gx-nav__list a:hover{color:var(--pink)}
.gx-nav__list .current-menu-item>a,.gx-nav__list .current-menu-ancestor>a,.gx-nav__list .current_page_item>a,.gx-nav__list .current-menu-parent>a{color:var(--pink);font-weight:700}
.gx-nav__list .current-menu-item>a::after,.gx-nav__list .current-menu-ancestor>a::after,.gx-nav__list .current-menu-parent>a::after{content:"";width:4px;height:4px;border-radius:50%;background:var(--pink)}
.gx-nav__list .sub-menu{list-style:none;position:absolute;left:-1rem;top:calc(100% + .9rem);min-width:250px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);color:var(--ink);border:1px solid #fff;border-radius:18px;box-shadow:0 20px 45px -12px rgba(16,16,16,.18);padding:.7rem 1.2rem;opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s}
.gx-nav__list li:hover>.sub-menu,.gx-nav__list li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.gx-nav__list .sub-menu a{padding:.55rem 0}
.gx-header__actions{display:flex;align-items:center;gap:.7rem;flex:none}
.gx-lang{list-style:none;display:flex;align-items:center;gap:.4rem;margin:0;padding:.4rem .8rem;font:600 .6875rem var(--sans);letter-spacing:.1em}
.gx-lang a,.gx-lang span{text-decoration:none}.gx-lang a:hover{color:var(--pink)}
.gx-lang .is-current{color:var(--pink);font-weight:700}.gx-lang__sep{opacity:.4}
.gx-header__phone{display:flex;align-items:center;gap:.5rem;padding:.55rem 1rem;font:600 .75rem var(--sans);text-decoration:none;transition:.2s}
.gx-header__phone:hover{background:#fff;color:var(--pink)}
.gx-header__cta{display:flex;align-items:center;gap:.6rem;background:var(--obsidian);color:#fff;border-radius:999px;font:500 .75rem var(--sans);letter-spacing:.1em;text-transform:uppercase;padding:.7rem 1.3rem;text-decoration:none;box-shadow:0 4px 10px rgba(0,0,0,.18);transition:.3s}
.gx-header__cta:hover{background:var(--pink);box-shadow:0 8px 20px rgba(232,62,140,.3)}
.gx-burger{display:none;align-items:center;gap:.7rem;padding:.6rem 1.1rem;font:600 .6875rem var(--sans);letter-spacing:.18em;text-transform:uppercase;cursor:pointer}
.gx-burger__icon{display:grid;gap:6px;width:22px}.gx-burger__icon i{height:1.5px;background:currentColor;transition:.25s}
.gx-burger[aria-expanded=true] .gx-burger__icon i:first-child{transform:translateY(3.7px) rotate(45deg)}
.gx-burger[aria-expanded=true] .gx-burger__icon i:last-child{transform:translateY(-3.7px) rotate(-45deg)}
.gx-drawer{position:fixed;inset:0;z-index:99;background:var(--obsidian);color:var(--chalk);padding:calc(var(--header-h) + 2rem) var(--margin) 2rem;overflow:auto}
.gx-drawer[hidden]{display:none}
.gx-drawer__list{list-style:none}
.gx-drawer__list a{font:400 clamp(2rem,8vw,3.5rem)/1.2 var(--serif);text-decoration:none;display:block;padding:.2rem 0}
.gx-drawer__list a:hover{color:var(--pink)}
.gx-drawer__list .sub-menu{list-style:none;padding:0 0 .8rem 1rem}
.gx-drawer__list .sub-menu a{font-size:1.15rem;font-family:var(--sans);font-weight:300;opacity:.75}
.gx-drawer__foot{margin-top:2rem;display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}
body.is-drawer{overflow:hidden}
@media(max-width:1200px){.gx-header__phone{display:none}}
@media(max-width:1020px){.gx-nav,.gx-header__cta,.gx-lang{display:none}.gx-burger{display:inline-flex}}
@media(max-width:560px){.gx-brand__sub em{display:none}}

/* Sections */
.gx-sec{padding-block:var(--space-xl)}
.gx-sec--light{background:var(--chalk)}
.gx-sec--alt{background:var(--travertine)}
.gx-sec--dark{background:var(--obsidian);color:var(--chalk)}
.gx-sec--dark .gx-eyebrow,.gx-sec--dark .gx-note,.gx-sec--dark .gx-card__kicker{color:rgba(247,246,242,.6)}
.gx-sec--dark .gx-tag{background:rgba(255,255,255,.12);color:var(--chalk)}
.gx-sec--dark .gx-btn--primary{background:var(--chalk);color:var(--ink);border-color:var(--chalk)}
.gx-sec__head{max-width:860px;margin-bottom:clamp(2rem,5vw,4rem)}

/* Hero */
.gx-anchor{display:block;height:0;scroll-margin-top:var(--header-h)}
.gx-hero{position:relative;background:var(--chalk);overflow:hidden}
.gx-hero--editorial,.gx-hero--sombre{padding:calc(var(--header-h) + clamp(3rem,7vw,6rem)) 0 clamp(3rem,6vw,5rem)}
.gx-hero--sombre{background:var(--obsidian);color:var(--chalk)}
.gx-hero--editorial .gx-hero__copy,.gx-hero--sombre .gx-hero__copy{max-width:60rem}
.gx-hero__subtitle{font:italic 400 clamp(1.3rem,2.4vw,2rem)/1.4 var(--serif);margin-bottom:1rem}
.gx-hero__text{max-width:44rem;font-weight:300;font-size:clamp(1rem,1.5vw,1.2rem);line-height:1.75}
.gx-hero--editorial .gx-h1,.gx-hero--sombre .gx-h1{font-weight:400}

/* Hero immersif : image plein écran, pastille, titre monumental, cartes vitrées */
.gx-hero--immersif{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;gap:2rem;padding:calc(var(--header-h) + 3.5rem) 0 clamp(1.5rem,3vw,2.5rem);color:#0F1412;background:var(--obsidian);isolation:isolate}
.gx-hero--immersif .gx-hero__media{position:absolute;inset:0;z-index:-1;width:100%}
.gx-hero--immersif .gx-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center}
.gx-hero--immersif .gx-hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(255,255,255,.42),transparent 45%,rgba(0,0,0,.15)),linear-gradient(to right,rgba(255,255,255,.38),rgba(255,255,255,.1) 55%,transparent)}
.gx-hero--immersif .gx-hero__inner{flex:1;display:flex;align-items:center}
.gx-hero--immersif .gx-hero__copy{max-width:56rem}
.gx-hero--immersif .gx-hero__tag{display:inline-flex;align-items:center;gap:.7rem;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.85);border-radius:999px;padding:.5rem 1.05rem;box-shadow:0 1px 3px rgba(0,0,0,.08);font:700 .6875rem var(--sans);letter-spacing:.16em;color:var(--obsidian);margin-bottom:1.4rem}
.gx-hero--immersif .gx-hero__tag::before{width:8px;height:8px;border-radius:50%;background:var(--pink);animation:gx-pulse 2.5s infinite ease-out}
.gx-hero--immersif .gx-hero__title{font-weight:900;text-transform:uppercase;line-height:.95;letter-spacing:-.025em;font-size:clamp(2.6rem,7.4vw,8rem);color:#0F1412;text-shadow:0 4px 28px rgba(0,0,0,.12);margin-bottom:1.1rem}
.gx-hero--immersif .gx-hero__title em{font-weight:500;text-transform:none;letter-spacing:-.02em}
.gx-hero--immersif .gx-hero__subtitle{color:#1B2420;text-shadow:0 2px 16px rgba(255,255,255,.8),0 0 2px rgba(0,0,0,.15);font-size:clamp(1.3rem,2.8vw,2.5rem)}
.gx-hero--immersif .gx-hero__text{color:#25322B;font-weight:400;background:rgba(255,255,255,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.55);border-radius:12px;padding:.95rem 1.2rem;margin-bottom:1.6rem;max-width:36rem}
.gx-hero--immersif .gx-actions{margin-top:0;gap:.9rem}
.gx-hero--immersif .gx-btn{border-radius:999px;padding:.95rem 1.7rem;font-size:.75rem;letter-spacing:.1em}
.gx-hero--immersif .gx-btn--primary{background:var(--obsidian);border-color:var(--obsidian);color:#fff;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.gx-hero--immersif .gx-btn--primary:hover{background:var(--pink);border-color:var(--pink);box-shadow:0 10px 24px rgba(232,62,140,.3);transform:translateY(-2px)}
.gx-hero--immersif .gx-btn--ghost{background:rgba(255,255,255,.82);border-color:rgba(255,255,255,.9);color:var(--obsidian);backdrop-filter:blur(8px)}
.gx-hero--immersif .gx-btn--ghost:hover{background:#fff;transform:translateY(-2px)}
.gx-glass{background:rgba(255,255,255,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.85);box-shadow:0 20px 45px -12px rgba(16,16,16,.14),0 1px 3px rgba(0,0,0,.05);border-radius:18px;color:var(--obsidian)}
.gx-hero__bar{display:flex;align-items:flex-end;justify-content:space-between;gap:1.2rem;flex-wrap:wrap}
.gx-broker{display:flex;align-items:center;gap:1rem;padding:.9rem 1.1rem}
.gx-broker__avatar{position:relative;width:56px;height:56px;border-radius:50%;padding:2px;background:linear-gradient(135deg,var(--pink),#C5A880);flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;background-clip:padding-box}
.gx-broker__avatar::before{content:"";position:absolute;inset:0;border-radius:50%;background:linear-gradient(135deg,var(--pink),#C5A880);z-index:0}
.gx-broker__avatar b,.gx-broker__avatar small{position:relative;z-index:1}
.gx-broker__avatar::after{content:"";position:absolute;inset:2px;border-radius:50%;background:#0f172a;z-index:0}
.gx-broker__avatar b{font:700 1rem var(--serif);color:#fff;letter-spacing:.06em;line-height:1}
.gx-broker__avatar small{font:600 .44rem var(--sans);color:var(--pink);text-transform:uppercase;letter-spacing:.02em}
.gx-broker__avatar i{position:absolute;right:0;bottom:0;width:13px;height:13px;border-radius:50%;background:#10b981;border:2px solid #fff;z-index:2}
.gx-broker__info{display:flex;flex-direction:column;gap:.1rem;font-size:.6875rem;color:#4F5950;line-height:1.35}
.gx-broker__info strong{font:700 1rem var(--serif);color:var(--obsidian)}
.gx-broker__line{display:flex;flex-wrap:wrap;gap:.2rem .6rem;align-items:center;margin-top:.2rem}
.gx-broker__line a{color:var(--pink);background:rgba(232,62,140,.1);padding:.15rem .55rem;border-radius:999px;font-weight:600;text-decoration:none}
.gx-broker__line em{font-style:normal;font-weight:500;color:#6b7280}
.gx-scrollcue{display:none;flex-direction:column;align-items:center;gap:.6rem;text-decoration:none;font:600 .625rem var(--sans);letter-spacing:.18em;text-transform:uppercase;color:rgba(16,16,16,.75);transition:color .2s}
.gx-scrollcue:hover{color:var(--pink)}
.gx-scrollcue i{width:24px;height:40px;border-radius:999px;border:2px solid rgba(16,16,16,.4);background:rgba(255,255,255,.4);backdrop-filter:blur(4px);display:flex;justify-content:center;padding:4px}
.gx-scrollcue b{width:6px;height:8px;border-radius:99px;background:var(--pink);animation:gx-wheel 2.2s cubic-bezier(.65,0,.35,1) infinite}
@media(min-width:1000px){.gx-scrollcue{display:flex}}
.gx-hero--immersif .gx-hero__meta{list-style:none;margin:0 0 0 auto;padding:.9rem 1.2rem;display:flex;flex-direction:column;gap:.15rem;text-align:right;font:600 .75rem/1.4 var(--sans);letter-spacing:.06em;text-transform:uppercase;border-top:0;position:static}
.gx-hero--immersif .gx-hero__meta li:first-child{color:var(--obsidian);font-weight:700}
.gx-hero--immersif .gx-hero__meta li:not(:first-child){font:500 .625rem/1.4 var(--sans);color:#4b5563;letter-spacing:.08em}
.gx-hero__meta--line{list-style:none;display:flex;flex-wrap:wrap;gap:1rem 3rem;margin:3rem 0 0;padding-top:1.4rem;border-top:1px solid rgba(128,128,128,.35);font:600 .75rem var(--sans);letter-spacing:.08em;text-transform:uppercase}
.gx-hero__meta span{display:block;opacity:.6;font-size:.625rem;letter-spacing:.18em;margin-bottom:.2rem}
@keyframes gx-pulse{0%,100%{box-shadow:0 0 0 0 rgba(232,62,140,.4)}50%{box-shadow:0 0 0 8px rgba(232,62,140,0)}}
@keyframes gx-wheel{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translateY(12px)}}
/* La section qui suit le hero respire : rien ne remonte sur l'image */
.gx-hero+.gx-anchor+.gx-sec{padding-top:calc(var(--space-xl) + 1.5rem)}
@media(max-width:700px){.gx-hero--immersif .gx-hero__meta{display:none}.gx-broker{width:100%}}

/* Text */
.gx-text__grid{display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.gx-text--right .gx-text__grid,.gx-text--left .gx-text__grid{grid-template-columns:1.1fr .9fr}
.gx-text--left .gx-text__figure{order:-1}
.gx-text__figure img,.gx-text__full img{width:100%;object-fit:cover}
.gx-text__figure img{aspect-ratio:4/5}.gx-text__full img{aspect-ratio:16/9}
.gx-text__full{margin:0 0 clamp(2rem,5vw,4rem)}
figcaption{font:italic .875rem var(--serif);color:var(--muted);margin-top:.7rem}
.gx-quote{margin:2rem 0;padding-left:1.6rem;border-left:1.5px solid var(--pink);font:italic 400 clamp(1.3rem,2.2vw,1.9rem)/1.4 var(--serif)}
.gx-quote p{margin:0 0 .6rem}.gx-quote cite{font:600 .6875rem var(--sans);letter-spacing:.18em;text-transform:uppercase;font-style:normal;color:var(--muted)}
@media(max-width:900px){.gx-text--right .gx-text__grid,.gx-text--left .gx-text__grid{grid-template-columns:1fr}.gx-text--left .gx-text__figure{order:0}}

/* Grids & cards */
.gx-grid{display:grid;gap:clamp(1.5rem,3vw,2.5rem)}
.gx-grid--1{grid-template-columns:1fr}.gx-grid--2{grid-template-columns:repeat(2,1fr)}.gx-grid--3{grid-template-columns:repeat(3,1fr)}.gx-grid--4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.gx-grid--3,.gx-grid--4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.gx-grid--2,.gx-grid--3,.gx-grid--4{grid-template-columns:1fr}}
.gx-card{display:flex;flex-direction:column;border-top:1px solid currentColor;padding-top:1.4rem}
.gx-card.has-img{border-top:0;padding-top:0}
.gx-card__media{margin-bottom:1.2rem;overflow:hidden}.gx-card__media img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .8s}.gx-card:hover .gx-card__media img{transform:scale(1.03)}
.gx-card__kicker{font:600 .6875rem var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.gx-cards--numbered .gx-card__kicker{font:400 2.6rem/1 var(--serif);letter-spacing:0;color:var(--pink);text-transform:none}
.gx-cards--list .gx-grid{grid-template-columns:1fr;gap:0}
.gx-cards--list .gx-card{flex-direction:row;gap:2rem;padding:1.6rem 0;flex-wrap:wrap}
.gx-cards--list .gx-card__body{flex:1;min-width:260px}
.gx-cards--panels .gx-grid{grid-template-columns:1fr;gap:4rem}
.gx-cards--panels .gx-card{display:grid;grid-template-columns:1.2fr 1fr;gap:3rem;align-items:center;border:0;padding:0}
.gx-cards--panels .gx-card:nth-child(even) .gx-card__media{order:2}
@media(max-width:800px){.gx-cards--panels .gx-card{grid-template-columns:1fr}.gx-cards--panels .gx-card:nth-child(even) .gx-card__media{order:0}}
.gx-card .gx-btn--link{align-self:flex-start;margin-top:auto}

/* Stats */
.gx-stats__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0;margin:0}
.gx-stat{border-top:1px solid currentColor;padding:1.6rem 1.5rem 1rem 0;margin:0;display:flex;flex-direction:column-reverse;justify-content:flex-end}
.gx-stat dt{font:600 .6875rem var(--sans);letter-spacing:.18em;text-transform:uppercase;opacity:.65;margin-top:.5rem}
.gx-stat dd{margin:0}.gx-stat__value{font:400 clamp(2.2rem,4.5vw,3.8rem)/1.05 var(--serif);letter-spacing:-.02em}
.gx-stat__note{font-size:.875rem;color:var(--pink);order:-1}

/* Table */
.gx-table__scroll{overflow-x:auto}
.gx-table table{width:100%;border-collapse:collapse;min-width:560px}
.gx-table th,.gx-table td{text-align:left;padding:1rem 1rem 1rem 0;border-bottom:1px solid var(--travertine);vertical-align:top}
.gx-sec--dark.gx-table th,.gx-sec--dark.gx-table td{border-color:rgba(255,255,255,.15)}
.gx-table thead th{font:600 .6875rem var(--sans);letter-spacing:.18em;text-transform:uppercase;border-bottom:1px solid currentColor}
.gx-table tbody th{font-family:var(--serif);font-weight:400;font-size:1.1rem}

/* Properties */
.gx-prop{display:flex;flex-direction:column}
.gx-prop__media{position:relative;display:block;overflow:hidden;background:var(--travertine)}
.gx-prop__media img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .8s}.gx-prop:hover img{transform:scale(1.03)}
.gx-tag--float{position:absolute;left:0;top:1rem;background:var(--chalk);color:var(--ink)}
.gx-prop__body{padding-top:1.2rem}
.gx-prop__body .gx-h3 a{text-decoration:none}
.gx-prop__addr{color:var(--muted);font-size:.9rem;margin-bottom:.6rem}
.gx-prop__specs{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;padding:.8rem 0;margin:0 0 .6rem;border-block:1px solid var(--travertine);font-size:.8125rem}
.gx-prop__specs strong{font-family:var(--serif);font-size:1.05rem}
.gx-prop__price{font:400 1.5rem var(--serif);margin:0}
.gx-filters{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 3rem}
.gx-filters a{display:block;padding:.6rem 1.2rem;border:1px solid var(--ink);text-decoration:none;font:600 .6875rem var(--sans);letter-spacing:.14em;text-transform:uppercase}
.gx-filters .is-current a,.gx-filters a:hover{background:var(--ink);color:var(--chalk)}
.gx-single__grid{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(2rem,5vw,4rem);margin-top:2rem}
.gx-single__media img{width:100%}
.gx-prop__specs--lg{font-size:1rem}
@media(max-width:900px){.gx-single__grid{grid-template-columns:1fr}}

/* Testimonials */
.gx-testi{margin:0;border-top:1px solid currentColor;padding-top:1.4rem}
.gx-testi blockquote{margin:0 0 1.2rem;font:italic 400 1.2rem/1.6 var(--serif)}
.gx-testi.is-featured blockquote{font-size:clamp(1.4rem,2.6vw,2.2rem)}
.gx-testi figcaption{display:flex;flex-direction:column;gap:.2rem;font:400 .875rem var(--sans);font-style:normal;color:inherit;margin:0}
.gx-testi figcaption strong{font:600 .8125rem var(--sans);letter-spacing:.06em;text-transform:uppercase}
.gx-testi figcaption .gx-tag{align-self:flex-start;margin-top:.6rem}
.gx-stars{color:var(--pink);letter-spacing:.2em;margin-bottom:.8rem;font-size:.85rem}

/* FAQ */
.gx-faq__grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2rem,6vw,6rem)}
.gx-faq__item{border-top:1px solid currentColor}.gx-faq__item:last-child{border-bottom:1px solid currentColor}
.gx-faq__item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1.5rem;padding:1.4rem 0;font:400 1.25rem/1.4 var(--serif)}
.gx-faq__item summary::-webkit-details-marker{display:none}
.gx-faq__item summary i{flex:none;width:14px;height:14px;position:relative;margin-top:.5rem}
.gx-faq__item summary i::before,.gx-faq__item summary i::after{content:"";position:absolute;background:currentColor;inset:50% 0 auto;height:1.5px;transition:.25s}
.gx-faq__item summary i::after{transform:rotate(90deg)}
.gx-faq__item[open] summary i::after{transform:rotate(0)}
.gx-faq__answer{padding:0 0 1.6rem;max-width:62ch;opacity:.85}
@media(max-width:900px){.gx-faq__grid{grid-template-columns:1fr}}

/* Forms */
.gx-form-sec__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:start}
.gx-form-sec__box{background:var(--chalk);color:var(--ink);padding:clamp(1.5rem,4vw,3rem);border:1px solid var(--travertine)}
.gx-sec--dark .gx-form-sec__box{border-color:transparent}
.gx-details{list-style:none;margin-top:2rem}
.gx-details li{padding:.9rem 0;border-top:1px solid rgba(128,128,128,.35)}
.gx-details span{display:block;font:600 .625rem var(--sans);letter-spacing:.18em;text-transform:uppercase;opacity:.6}
.gx-form__fields{display:flex;flex-wrap:wrap;gap:1.6rem 1.5rem;margin-bottom:2rem}
.gx-field{flex:1 1 100%}.gx-field--half{flex:1 1 calc(50% - .75rem)}
.gx-field label{display:block;font:600 .6875rem var(--sans);letter-spacing:.18em;text-transform:uppercase;margin-bottom:.4rem}
.gx-field input,.gx-field select,.gx-field textarea{width:100%;background:transparent;border:0;border-bottom:1px solid var(--ink);padding:.6rem 0;font:inherit;color:inherit;border-radius:0;outline:0;transition:border-color .2s}
.gx-field input:focus,.gx-field select:focus,.gx-field textarea:focus{border-bottom-color:var(--pink)}
.gx-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.gx-alert{padding:1rem 1.2rem;border-left:2px solid var(--pink);background:var(--travertine);margin-bottom:1.5rem}
@media(max-width:900px){.gx-form-sec__grid{grid-template-columns:1fr}.gx-field--half{flex-basis:100%}}

/* CTA, gallery */
.gx-cta{text-align:left}.gx-cta .gx-h2{max-width:18ch}
.gx-gallery__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.gx-gallery__grid img{width:100%;aspect-ratio:1;object-fit:cover}
.gx-pagebody{padding-block:calc(var(--header-h) + 4rem) 5rem}
.gx-list__item{border-top:1px solid var(--travertine);padding:1.5rem 0}
.gx-404{min-height:70vh;display:flex;align-items:center}

/* Footer */
.gx-footer{background:var(--obsidian);color:var(--chalk);padding-top:var(--space-xl)}
.gx-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1fr;gap:3rem;padding-bottom:4rem}
.gx-footer__name{font:400 2rem var(--serif);margin-bottom:.8rem}
.gx-footer__about{opacity:.7;max-width:36ch;font-weight:300}
.gx-footer__aff{margin-top:2rem;display:flex;flex-direction:column;gap:.3rem}.gx-footer__aff small{opacity:.6}
.gx-footer__list{list-style:none;display:grid;gap:.7rem}.gx-footer__list a{text-decoration:none;opacity:.85}.gx-footer__list a:hover{color:var(--pink)}
.gx-footer__list--plain{opacity:.85;font-size:.9375rem}
.gx-footer__social{list-style:none;display:flex;gap:1.2rem;margin-top:1.5rem;font:600 .6875rem var(--sans);letter-spacing:.14em;text-transform:uppercase}
.gx-footer__badges{list-style:none;display:grid;gap:.6rem}.gx-footer__badges li{border:1px solid rgba(255,255,255,.2);padding:.5rem .9rem;font:600 .6875rem var(--sans);letter-spacing:.14em;text-transform:uppercase;justify-self:start}
.gx-footer__legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;border-top:1px solid rgba(255,255,255,.15);padding-block:1.6rem;font-size:.8125rem;opacity:.75}
.gx-footer__legal ul{list-style:none;display:flex;gap:1.5rem}.gx-footer__legal p{margin:0}
@media(max-width:1000px){.gx-footer__grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.gx-footer__grid{grid-template-columns:1fr}}

@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}

/* ---- Transitions de révélation (activées par JS : html.gx-js) ---- */
.gx-js [data-reveal]{opacity:0;transform:translate3d(0,28px,0);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);transition-delay:var(--rd,0ms);will-change:opacity,transform}
.gx-js [data-reveal="fade"]{transform:none}
.gx-js [data-reveal="left"]{transform:translate3d(-32px,0,0)}
.gx-js [data-reveal="right"]{transform:translate3d(32px,0,0)}
.gx-js [data-reveal="zoom"]{transform:scale(.97)}
.gx-js [data-reveal].is-in{opacity:1;transform:none;will-change:auto}
.gx-js .gx-card__media,.gx-js .gx-prop__media,.gx-js .gx-text__figure,.gx-js .gx-text__full,.gx-js .gx-hero__figure{overflow:hidden}
.gx-js .gx-eyebrow[data-reveal]::before{width:0;transition:width .9s .2s cubic-bezier(.2,.7,.2,1)}
.gx-js .gx-eyebrow[data-reveal].is-in::before{width:1.6rem}
.gx-hero .gx-hero__copy>*{animation:gx-rise 1s cubic-bezier(.2,.7,.2,1) both}
.gx-hero .gx-hero__copy>*:nth-child(2){animation-delay:.12s}.gx-hero .gx-hero__copy>*:nth-child(3){animation-delay:.24s}
.gx-hero .gx-hero__copy>*:nth-child(4){animation-delay:.36s}.gx-hero .gx-hero__copy>*:nth-child(5){animation-delay:.48s}
.gx-hero__media img{animation:gx-kb 24s ease-in-out infinite alternate}
@keyframes gx-rise{from{opacity:0;transform:translate3d(0,26px,0)}to{opacity:1;transform:none}}
@keyframes gx-kb{from{transform:scale(1)}to{transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){.gx-js [data-reveal]{opacity:1!important;transform:none!important}}

.gx-main>.gx-sec:first-child{padding-top:calc(var(--space-xl) + var(--header-h))}

/* Header mobile : ne jamais déborder */
@media(max-width:560px){
  .gx-header__bar{padding-inline:1rem;gap:.6rem}
  .gx-brand{min-width:0;gap:.6rem}
  .gx-brand__mono{width:38px;height:38px}
  .gx-brand__name{font-size:.9rem}
  .gx-brand__sub{font-size:.55rem}
  .gx-brand__sub em{display:none}
  .gx-burger{padding:.5rem .8rem}
  .gx-burger__label{display:none}
  .gx-hero--immersif{padding-top:calc(var(--header-h) + 2rem)}
  .gx-hero--immersif .gx-hero__title{font-size:clamp(2.2rem,11vw,3.4rem)}
}

/* Hero immersif : exactement 100vh sur desktop, contenu dimensionné à la hauteur d'écran */
@media(min-width:1000px){
  .gx-hero--immersif{height:100vh;height:100svh;min-height:560px;max-height:none;gap:clamp(.8rem,2vh,2rem);padding:calc(var(--header-h) + clamp(.8rem,3vh,3rem)) 0 clamp(1rem,3vh,2.5rem)}
  .gx-hero--immersif .gx-hero__inner{min-height:0}
  .gx-hero--immersif .gx-hero__tag{margin-bottom:clamp(.6rem,2vh,1.4rem);padding:.4rem .95rem}
  .gx-hero--immersif .gx-hero__title{font-size:clamp(2.2rem,min(7.4vw,12.5vh),8rem);margin-bottom:clamp(.5rem,1.6vh,1.1rem)}
  .gx-hero--immersif .gx-hero__subtitle{font-size:clamp(1.1rem,min(2.8vw,4.2vh),2.5rem);margin-bottom:clamp(.5rem,1.6vh,1rem)}
  .gx-hero--immersif .gx-hero__text{font-size:clamp(.875rem,1.9vh,1.15rem);line-height:1.6;padding:clamp(.6rem,1.4vh,.95rem) 1.1rem;margin-bottom:clamp(.8rem,2.4vh,1.6rem)}
  .gx-hero--immersif .gx-btn{padding:clamp(.7rem,1.7vh,.95rem) 1.6rem}
  .gx-hero--immersif .gx-hero__bar{flex-shrink:0}
  .gx-hero--immersif .gx-broker{padding:clamp(.6rem,1.2vh,.9rem) 1.1rem}
  .gx-hero--immersif .gx-hero__meta{padding:clamp(.6rem,1.2vh,.9rem) 1.2rem}
}
@media(min-width:1000px) and (max-height:760px){
  .gx-hero--immersif .gx-hero__text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .gx-broker__info span:not(.gx-broker__line){display:none}
}

/* Ajustements 100vh : titres longs, cartes compactes, écrans courts */
@media(min-width:1000px){
  .gx-hero--immersif.gx-hero--long-title .gx-hero__title{font-size:clamp(2rem,min(5.4vw,10vh),6rem)}
  .gx-hero--immersif.gx-hero--xl-title .gx-hero__title{font-size:clamp(1.9rem,min(4.2vw,8vh),4.6rem)}
  .gx-hero--immersif .gx-hero__meta{max-width:26rem;font-size:.6875rem}
  .gx-hero--immersif .gx-hero__meta li{word-break:normal}
}
@media(min-width:1000px) and (max-height:820px){
  .gx-hero--immersif .gx-hero__title{font-size:clamp(2rem,min(6vw,10vh),5.6rem)}
  .gx-hero--immersif .gx-hero__subtitle{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .gx-hero--immersif .gx-hero__text{-webkit-line-clamp:2}
  .gx-hero--immersif .gx-hero__meta li:nth-child(n+3){display:none}
  .gx-hero--immersif .gx-hero__meta li:nth-child(2){display:block}
  .gx-broker__avatar{width:46px;height:46px}
  .gx-scrollcue{display:none}
}

/* Voile clair sous le menu : lisibilité du nom et des pastilles sur toute image */
.gx-hero--immersif .gx-hero__media::before{content:"";position:absolute;inset:0 0 auto 0;height:180px;background:linear-gradient(to bottom,rgba(255,255,255,.6),rgba(255,255,255,0));z-index:1;pointer-events:none}

/* Pages « design maquette » : le contenu démarre sous l'en-tête fixe. */
body:not(.has-hero) .gx-main:has(> .gxf:first-child){padding-top:var(--header-h)}
/* Comme le <body> des maquettes (overflow-x-hidden) : aucun défilement horizontal. */
html:has(.gxf),html:has(.gxf) body{overflow-x:hidden}
