/*
Theme Name: EGRETTA 2026
Description: Thème une page pour egretta.fr. Le contenu est dans front-page.php.
Author: EGRETTA
Version: 1.7.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: egretta-2026
*/

/* ADN EGRETTA : fond noir, Futura (extra-gras en capitales pour les titres, léger pour le texte), jaune de marque,
   bannière illustrée, navigation verticale flottante.
   Mouvement : bannière épinglée que le contenu recouvre, texte qui s'allume au défilement, trajet de l'aigrette,
   colonne fixe face à une colonne qui défile, shooting horizontal, cubes qui tombent dans le pied de page.
   Les valeurs --hp, --fly, --v et --x sont tenues à jour par assets/site.js. */
@font-face { font-family: "Futura PT"; src: url("fonts/FuturaPTLight.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("fonts/FuturaPTMedium.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("fonts/FuturaPTExtraBold.otf") format("opentype"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --bg: #000;
  --ink: #fff;
  --dim: rgba(255, 255, 255, .55);
  --line: rgba(255, 255, 255, .22);
  --accent: #FBBA2B;
  --font: "Futura PT", Futura, "Century Gothic", "Trebuchet MS", sans-serif;
  --gutter: clamp(1.25rem, 8vw, 7.2rem);
  --band-row: 4.6rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Échelle typographique : libellé, texte, chapeau, intertitre, titre de section (les titres géants ont leur propre taille). */
  --fs-label: .875rem;
  --fs-body: 1.125rem;
  --fs-lead: clamp(1.25rem, 1.7vw, 1.55rem);
  --fs-h3: clamp(1.3rem, 1.8vw, 1.65rem);
  --fs-h2: clamp(2.2rem, 5.4vw, 4.6rem);
  color-scheme: dark;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-weight: 300; font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.egt { overflow-x: clip; }
.egt *, .egt *::before, .egt *::after { box-sizing: border-box; }
:where(.egt) img { display: block; max-width: 100%; height: auto; }
:where(.egt) a { color: inherit; }
:where(.egt) :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:where(.egt) :is(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
:where(.egt) :is(h1, h2, h3) { font-weight: 800; line-height: 1; text-transform: uppercase; }
:where(.egt) :is(ul, ol) { list-style: none; }
.egt-wrap { width: min(100% - 2 * var(--gutter), 75.6rem); margin-inline: auto; }
.egt-sec { padding-block: clamp(4.5rem, 10vw, 8.5rem); }

/* Typographie */
.egt-giant { font-size: clamp(2.6rem, 12vw, 10rem); line-height: 1; letter-spacing: -.012em; text-wrap: balance; }
.egt-giant .egt-dot { display: inline-block; width: .2em; height: .2em; margin-left: .06em; background: var(--accent); }
.egt-big { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.egt-label { color: var(--accent); font-size: var(--fs-label); letter-spacing: .16em; }
.egt-lead { font-size: var(--fs-lead); line-height: 1.5; }

/* Bouton d'action : le carré jaune s'étend sous le texte au survol */
.egt-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 1.1rem; height: 3.4rem; padding-right: 1.5rem; font-weight: 800; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1; text-decoration: none; text-transform: uppercase; transition: color .3s; }
.egt-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); clip-path: inset(0 calc(100% - 3.4rem) 0 0); transition: clip-path .55s var(--ease); }
.egt-btn__sq { display: grid; flex: none; place-items: center; width: 3.4rem; height: 3.4rem; color: #000; }
.egt-btn__sq svg { width: 1.6rem; height: 1.6rem; transition: transform .45s var(--ease); }
.egt-btn:hover, .egt-btn:focus-visible { color: #000; }
.egt-btn:hover::before, .egt-btn:focus-visible::before { clip-path: inset(0); }
.egt-btn:hover .egt-btn__sq svg, .egt-btn:focus-visible .egt-btn__sq svg { transform: translateX(.35rem); }

/* Ligne de progression */
.egt-progress { position: fixed; inset: 0 0 auto; z-index: 40; height: 3px; pointer-events: none; background: var(--accent); transform: scaleX(var(--egt-progress, 0)); transform-origin: 0 50%; }

/* Éléments flottants : raccourcis à gauche, navigation verticale à droite */
.egt-nav, .egt-tools { position: fixed; top: 50%; z-index: 20; display: flex; flex-direction: column; transform: translateY(-50%); }
.egt-nav { right: clamp(1.4rem, 3.4vw, 3.1rem); gap: clamp(1.2rem, 4vh, 2.4rem); }
.egt-nav a { --on-dark: var(--dim); --on-accent: rgba(0, 0, 0, .5); display: block; writing-mode: vertical-rl; background: linear-gradient(to bottom, var(--on-dark) calc(var(--cut, 1) * 100%), var(--on-accent) calc(var(--cut, 1) * 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; font-size: clamp(1.05rem, 2.6vh, 1.4rem); line-height: 1; text-decoration: none; text-shadow: 0 0 .7em rgba(0, 0, 0, .7); text-transform: uppercase; }
.egt-nav a:hover, .egt-nav a.is-active { --on-dark: var(--ink); --on-accent: #000; }
.egt-tools { left: 1.55rem; top: 62%; gap: 1.2rem; }
.egt-tool { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; background: rgba(255, 255, 255, .42); color: #000; transition: background .2s; }
.egt-tool:hover { background: var(--accent); }
.egt-tool svg { width: 1.7rem; height: 1.7rem; }
.egt-nav a.is-dark { text-shadow: none; }
.egt-tool.is-dark { background: #000; color: var(--accent); }

/* Bannière : elle reste en place pendant que la suite de la page la recouvre */
.egt-hero { position: sticky; top: 0; z-index: 0; height: calc(100vh - 2 * var(--band-row) - 2px); height: calc(100svh - 2 * var(--band-row) - 2px); min-height: 28rem; overflow: hidden; isolation: isolate; }
.egt-hero.is-covered { visibility: hidden; }
.egt-over { position: relative; z-index: 1; background: var(--bg); }
.egt-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 45%; transform: scale(calc(1 + var(--hp, 0) * .12)); transform-origin: 50% 60%; }
.egt-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, transparent 50%, var(--bg)), rgba(0, 0, 0, calc(var(--hp, 0) * .55)); }
.egt-hero__fly { position: absolute; top: 4%; right: 7%; z-index: -1; width: clamp(13rem, 29vw, 30rem); transform: translate(calc(var(--hp, 0) * 22vw), calc(var(--hp, 0) * -24vh)); animation: egt-fly-in 1.8s var(--ease) both; }
.egt-hero__bird { width: 100%; animation: egt-float 9s ease-in-out infinite; }
.egt-hero__text { position: absolute; left: var(--gutter); bottom: clamp(8rem, 31vh, 18rem); opacity: calc(1 - var(--hp, 0) * 1.3); transform: translateY(calc(var(--hp, 0) * -8vh)); }
.egt-hero h1 { overflow: hidden; padding-block: .06em; font-size: clamp(3.6rem, 15vw, 11rem); line-height: .86; letter-spacing: -.015em; }
.egt-hero h1 span { display: block; animation: egt-rise 1.1s var(--ease) both; }
.egt-tagline { margin-top: clamp(.6rem, 1.6vh, 1.2rem); color: var(--accent); font-weight: 800; font-size: clamp(1.1rem, 1.8vw, 1.6rem); line-height: 1.2; text-transform: uppercase; animation: egt-fade 1s .5s ease both; }
.egt-hero__pitch { position: absolute; right: var(--gutter); bottom: clamp(5rem, 17vh, 10rem); display: grid; gap: 1.2rem; justify-items: end; max-width: 24rem; text-align: right; opacity: calc(1 - var(--hp, 0) * 1.5); animation: egt-fade 1s .8s ease both; }
@keyframes egt-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes egt-fly-in { from { opacity: 0; translate: -34vw 22vh; } to { opacity: 1; translate: 0 0; } }
@keyframes egt-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes egt-fade { from { opacity: 0; } to { opacity: 1; } }

/* Bandeau des marques : deux rangées qui défilent en sens inverse */
.egt-band { border-block: 1px solid var(--line); }
.egt-marquee { display: flex; align-items: center; height: var(--band-row); overflow: hidden; }
.egt-marquee + .egt-marquee { border-top: 1px solid var(--line); }
.egt-marquee__track { display: flex; align-items: center; width: max-content; animation: egt-marquee 110s linear infinite; }
.egt-marquee--rev .egt-marquee__track { animation-direction: reverse; }
.egt-marquee:hover .egt-marquee__track { animation-play-state: paused; }
.egt-brand { flex: none; margin-right: clamp(2.6rem, 5vw, 4.6rem); background: var(--accent); opacity: .92; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
@keyframes egt-marquee { to { transform: translateX(-50%); } }

/* Manifeste : les mots s'allument au défilement, de petites images sont glissées dans la phrase */
.egt-manifesto { padding-block: clamp(5rem, 14vw, 11rem) clamp(3rem, 8vw, 6rem); }
.egt-manifesto__text { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 22em; font-size: clamp(1.7rem, 4.3vw, 4rem); line-height: 1.22; letter-spacing: -.01em; }
.egt-w { transition: opacity .45s ease; }
.js .egt-w { opacity: .2; }
.js .egt-w.is-on { opacity: 1; }

/* Carte : la scène reste à l'écran, l'aigrette suit la courbe de Blois à Tokyo et s'arrête à chaque étape */
.egt-map__sticky { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: clamp(.8rem, 2.5vh, 1.8rem); padding: clamp(4rem, 9vh, 5.5rem) var(--gutter) clamp(1.5rem, 5vh, 3rem); }
.egt-map__head { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; font-weight: 400; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.egt-map__head h2 { color: var(--accent); font-size: var(--fs-label); letter-spacing: .16em; white-space: nowrap; }
.egt-map__head p { text-align: right; }
.egt-map__frame { position: relative; align-self: center; }
.egt-map__head b { color: var(--accent); font-weight: 800; font-variant-numeric: tabular-nums; }
.egt-map__stage { overflow: hidden; container-type: inline-size; }
.egt-map__world { position: relative; width: min(100cqw, calc((100svh - 13rem) * 2.4244)); min-width: min(100cqw, 30rem); margin-inline: auto; aspect-ratio: 1187.94 / 490; transform: translateX(calc(min(0px, 100cqw - 100%) * var(--pan, 0))); }
.egt-map__land { width: 100%; height: 100%; }
.egt-map__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.egt-map__dash { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 1.5; stroke-dasharray: 3 8; }
.egt-map__line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--fly, 1)); }
.egt-map__stops circle { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.egt-map__stops circle.is-passed { fill: var(--accent); stroke: var(--accent); }
.egt-map__pin circle { fill: var(--accent); }
.egt-map__pulse { transform-box: fill-box; transform-origin: center; animation: egt-pulse 2.4s ease-out infinite; }
.egt-map__pin text { fill: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.egt-map__bird { position: absolute; top: calc(var(--by, .741) * 100%); left: calc(var(--bx, .903) * 100%); width: clamp(5rem, 10cqw, 9.5rem); pointer-events: none; transform: translate(-50%, -86%) rotate(calc(var(--ba, 0) * 1deg)); }
.egt-map__bird img { width: 100%; animation: egt-float 5s ease-in-out infinite; }
@keyframes egt-pulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(4.2); } }

/* Étapes de la frise : des cartes. Quand la scène est animée, une seule est visible, posée sur la carte sous la courbe. */
.egt-steps { display: grid; gap: 1rem; margin-top: 1.5rem; }
.egt-step { display: grid; grid-template-columns: clamp(6.5rem, 9vw, 9rem) minmax(0, 1fr); gap: 1.1rem; align-items: center; padding: .8rem; border: 1px solid var(--line); background: rgba(8, 8, 8, .94); box-shadow: 0 1.6rem 3.6rem rgba(0, 0, 0, .7); }
.egt-step__img { aspect-ratio: 4 / 5; overflow: hidden; }
.egt-step__img img { width: 100%; height: 100%; object-fit: cover; }
.egt-step__year { color: var(--accent); font-weight: 800; font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.egt-step__text h3 { margin-block: .55rem .4rem; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.egt-step__text p:last-child { font-size: 1rem; line-height: 1.35; }
.egt-motion .egt-map { height: 520vh; }
.egt-motion .egt-map__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.egt-motion .egt-steps { gap: 0; animation: egt-hover 6s ease-in-out infinite; }
.egt-motion .egt-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, transform .7s var(--ease), visibility 0s .45s; }
.egt-motion .egt-step.is-before { transform: translateX(-3.5rem) rotate(-3deg); }
.egt-motion .egt-step.is-after { transform: translateX(3.5rem) rotate(3deg); }
.egt-motion .egt-step.is-active { opacity: 1; visibility: visible; transform: rotate(-1.2deg); transition-delay: .12s, .12s, 0s; }
@keyframes egt-hover { 0%, 100% { translate: var(--tx, 0) 0; } 50% { translate: var(--tx, 0) -.55rem; } }
@media (min-width: 900px) {
  /* Sur grand écran, la carte d'étape flotte au centre de la carte du monde, juste sous la courbe. */
  .egt-motion .egt-steps { --tx: -50%; position: absolute; top: 39%; left: 50%; width: min(30rem, 44%); margin: 0; translate: -50% 0; }
}

/* Chiffres */
.egt-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-inline: var(--gutter); border-block: 1px solid var(--line); }
.egt-nums div { padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1rem, 2.5vw, 2.5rem); }
.egt-nums div:first-child { padding-left: 0; }
.egt-nums div + div { border-left: 1px solid var(--line); }
.egt-nums dt { color: var(--accent); font-weight: 800; font-size: clamp(3rem, 8vw, 7rem); line-height: .9; letter-spacing: -.012em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.egt-nums dd { margin-top: 1rem; max-width: 20ch; font-size: 1.15rem; line-height: 1.35; }

/* Sourcing : le titre reste en place, les réponses défilent */
.egt-split { display: grid; grid-template-columns: minmax(0, .82fr) auto minmax(0, 1.18fr); gap: clamp(1.5rem, 3.6vw, 3.8rem); align-items: start; }
/* Colonne de cubes : ils tombent un à un quand on descend dans les réponses, et remontent quand on remonte. */
.egt-rail { position: sticky; top: clamp(5rem, 16vh, 9rem); display: grid; gap: .45rem; padding-top: .5rem; }
.egt-rail i { position: relative; display: block; width: .75rem; height: .75rem; border: 1px solid rgba(255, 255, 255, .3); }
.egt-rail i::before { content: ""; position: absolute; inset: -1px; background: var(--accent); opacity: 0; transform: translateY(-1.5rem); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; }
.egt-rail i.is-on::before { opacity: 1; transform: none; }
.egt-split__aside { position: sticky; top: clamp(5rem, 16vh, 9rem); display: grid; gap: 1.8rem; justify-items: start; }
.egt-qa { padding-block: clamp(2rem, 4.5vw, 3.6rem); border-top: 1px solid var(--line); }
.egt-qa:first-child { padding-top: 0; border-top: 0; }
.egt-qa h3 { margin-bottom: 1.1rem; color: var(--accent); font-size: var(--fs-label); letter-spacing: .14em; }
.egt-qa p { font-size: clamp(1.4rem, 2.2vw, 2.05rem); line-height: 1.32; letter-spacing: -.005em; }
.egt-qa .egt-qa__more { margin-top: 1.1rem; max-width: 38em; color: rgba(255, 255, 255, .78); font-size: var(--fs-body); line-height: 1.6; letter-spacing: 0; }
.egt-qa .egt-btn { margin-top: 1.8rem; }
.egt-qa .egt-gains { font-weight: 800; text-transform: uppercase; }
.egt-gains span { display: block; width: fit-content; padding-bottom: .08em; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 .1em; transition: background-size .7s var(--ease); }
.egt-qa.is-in .egt-gains span { background-size: 100% .1em; transition-delay: .5s; }
.egt-qa.is-in .egt-gains span:nth-child(2) { transition-delay: .8s; }
.egt-qa.is-in .egt-gains span:nth-child(3) { transition-delay: 1.1s; }
.egt-qa a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 2px; transition: background-size .35s var(--ease), color .2s; }
.egt-qa a:hover { color: var(--accent); }
/* Images des réponses : entières, sans recadrage. À deux, elles ont la même hauteur. */
.egt-figs { display: flex; gap: clamp(.7rem, 1.4vw, 1.2rem); align-items: flex-start; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.egt-figs + .egt-figs { margin-top: clamp(.7rem, 1.4vw, 1.2rem); }
.egt-figs figure { min-width: 0; max-width: calc(32rem * var(--r, 1)); }
.egt-figs img { width: 100%; height: auto; }

/* Lookbook : sur grand écran, le défilement vertical fait avancer la bande de photos */
.egt-hscroll { border-top: 1px solid var(--line); }
.egt-hscroll__sticky { display: flex; flex-direction: column; justify-content: center; gap: clamp(1.5rem, 4vh, 3rem); padding-block: clamp(4rem, 9vh, 6rem) clamp(2.5rem, 6vh, 4rem); }
.egt-hscroll__head { display: flex; flex-wrap: wrap; gap: .8rem 3rem; align-items: baseline; justify-content: space-between; }
.egt-hscroll__view { overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.egt-hscroll__view::-webkit-scrollbar { display: none; }
.egt-hscroll__track { display: flex; gap: clamp(.7rem, 1.3vw, 1.3rem); align-items: stretch; width: max-content; padding-inline: var(--gutter); }
.egt-hscroll figure { flex: none; height: clamp(20rem, 58vh, 40rem); scroll-snap-align: start; }
.egt-hscroll figure { overflow: hidden; }
.egt-hscroll figure img { width: auto; max-width: none; height: 100%; transition: transform .9s var(--ease); }
.egt-hscroll figure:hover img { transform: scale(1.045); }
.egt-uni { display: flex; flex: none; flex-direction: column; gap: .9rem; justify-content: flex-end; width: clamp(13rem, 21vw, 19rem); padding: 0 1.2rem 0 1.4rem; border-left: 2px solid var(--accent); scroll-snap-align: start; }
.egt-uni h3 { font-size: var(--fs-h3); line-height: 1.08; }
.egt-uni p { font-size: var(--fs-body); line-height: 1.45; }
.egt-hscroll.is-pinned .egt-hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.egt-hscroll.is-pinned .egt-hscroll__view { overflow: visible; }
.egt-hscroll.is-pinned .egt-hscroll__track { transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); will-change: transform; }

/* Contact */
.egt-contact { border-top: 1px solid var(--line); }
.egt-contact__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; margin-top: clamp(2rem, 4vw, 3.5rem); }
.egt-contact h3 { margin-bottom: .8rem; font-size: var(--fs-h3); }
.egt-contact .egt-lead { max-width: 30em; }
.egt-contact .egt-btn__label { font-size: 1.15em; text-transform: none; }
.egt-contact .egt-wrap { position: relative; }
.egt-stamp { position: absolute; top: clamp(6.5rem, 11.5vw, 10.5rem); right: 0; display: grid; place-items: center; width: clamp(7rem, 11vw, 9.5rem); aspect-ratio: 1; }
.egt-stamp svg { grid-area: 1 / 1; width: 100%; height: 100%; overflow: visible; fill: currentColor; font-weight: 800; font-size: 17.5px; letter-spacing: .04em; text-transform: uppercase; transform: rotate(calc(var(--sp, 0) * 1080deg)); }
.egt-stamp img { grid-area: 1 / 1; width: 34%; }

/* Pied de page : cubes qui tombent, puis bloc jaune */
.egt-cubes { display: block; width: 100%; height: clamp(7rem, 16vw, 11rem); }
.egt-foot { padding-block: clamp(2.5rem, 5vw, 4rem) 2.5rem; background: var(--accent); color: #000; font-weight: 400; font-size: 1.05rem; line-height: 1.45; }
.egt-foot :focus-visible { outline-color: #000; }
.egt-foot__word { font-weight: 800; font-size: clamp(4rem, 19vw, 17.3rem); line-height: .8; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.egt-foot__cols { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(1.8rem, 3vw, 2.5rem); border-top: 2px solid #000; }
.egt-foot__brand { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.6rem; align-items: start; max-width: 34rem; }
/* Logo en noir : l'image d'origine (jaune sur transparent) sert de masque. */
.egt-foot__logo { display: block; width: 100%; aspect-ratio: 715 / 1024; background: #000; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.egt-foot h2 { margin-bottom: .6rem; font-size: var(--fs-label); letter-spacing: .14em; }
.egt-foot a { text-decoration: none; background: linear-gradient(#000, #000) no-repeat 0 100% / 0 2px; transition: background-size .35s var(--ease); }
.egt-foot a:hover { background-size: 100% 2px; }
.egt-foot li a { display: inline-block; padding-block: .3rem; }
.egt-foot__base { display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.4rem; border-top: 1px solid rgba(0, 0, 0, .35); font-size: .95rem; }
.egt-foot__base .egt-up { order: 2; margin-left: auto; }
.egt-foot details[open] { order: 3; flex-basis: 100%; }
.egt-foot summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; }
.egt-legal { margin-top: .9rem; max-width: 62em; }
.egt-legal p { margin-bottom: .7rem; }
.egt-legal b { font-weight: 800; }
.egt-linkbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.egt-foot .egt-up { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; background: #000; color: var(--accent); transition: transform .35s var(--ease); }
.egt-foot .egt-up:hover { transform: translateY(-.35rem); }
.egt-up svg { width: 1.8rem; height: 1.8rem; }

/* Bandeau cookies (extension Cookie Notice) : boutons carrés, comme le reste. */
#cookie-notice .cn-button { border-radius: 0; font-family: var(--font); font-weight: 800; text-transform: uppercase; }

/* Apparition au défilement (uniquement si JavaScript est actif) */
.js .egt-reveal { opacity: 0; transform: translateY(2rem); transition: opacity .9s ease, transform .9s var(--ease); }
.js .egt-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 899px) {
  :root { --band-row: 3.9rem; }
  html { scroll-padding-top: 4rem; }
  /* Sur mobile, la navigation flottante devient le bandeau fixe du haut. */
  .egt-chrome { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: flex-end; padding: .5rem 1.25rem .1rem; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .egt-tools { display: none; }
  .egt-nav { position: static; flex-direction: row; gap: clamp(.9rem, 5vw, 1.8rem); transform: none; }
  .egt-nav a { --cut: 1; writing-mode: horizontal-tb; padding-block: .9rem; font-size: .95rem; text-shadow: none; }
  .egt-nav .egt-nav__first { display: none; }
  .egt-hero__bg { object-position: 30% 45%; }
  .egt-hero__fly { top: 4.6rem; right: 4%; width: 12rem; }
  .egt-hero__text { bottom: clamp(13rem, 38vh, 19rem); }
  .egt-hero__pitch { right: var(--gutter); bottom: clamp(3rem, 9vh, 5rem); left: var(--gutter); max-width: none; justify-items: start; text-align: left; font-size: 1rem; line-height: 1.4; }
  .egt-map__sticky { padding-top: 4.6rem; }
  .egt-map__head { font-size: .7rem; }
  .egt-map__head h2 { font-size: .8rem; }
  .egt-map__frame { align-self: start; }
  .egt-map__world { width: max(100cqw, min(35rem, calc((100svh - 33rem) * 2.4244))); }
  .egt-map__bird { width: 4.4rem; }
  .egt-nums { grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
  .egt-nums div, .egt-nums div:first-child { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.3rem var(--gutter); }
  .egt-nums div + div { border-top: 1px solid var(--line); border-left: 0; }
  .egt-nums dt { font-size: 2.6rem; white-space: nowrap; }
  .egt-nums dd { margin: 0; font-size: 1.05rem; }
  .egt-split { grid-template-columns: minmax(0, 1fr); }
  .egt-rail { display: none; }
  .egt-split__aside { position: static; }
  .egt-hscroll figure { height: clamp(19rem, 56vh, 28rem); }
  .egt-uni { width: 62vw; }
  .egt-contact__body { grid-template-columns: minmax(0, 1fr); align-items: start; justify-items: start; }
  .egt-stamp { position: static; width: 7rem; margin: 2.5rem 0 0 auto; }
  .egt-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egt-foot__brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .egt-hero__bird, .egt-marquee__track, .egt-hero__fly, .egt-hero h1 span, .egt-tagline, .egt-hero__pitch { animation: none; }
  .js .egt-reveal { opacity: 1; transform: none; transition: none; }
  .js .egt-w { opacity: 1; }
  .egt-map__pulse, .egt-map__bird img { animation: none; }
}
