/* ==========================================================================
   Gemeline Design — refonte 2026 (maquette)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Bungee&display=swap");
:root {
  --gd-orange: #E7490F;
  --gd-orange-dark: #C23A08;
  --gd-ink: #141414;
  --gd-ink-soft: #2a2a2a;
  --gd-mute: #6b6b6b;
  --gd-line: #e6e3de;
  --gd-soft: #f5f3ef;
  --gd-paper: #ffffff;
  --gd-display: "Syne", "Arial Black", sans-serif;
  --gd-h1: "Bungee", "Arial Black", sans-serif; /* H1 seulement — une seule graisse (400) */
  --gd-text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gd-wrap: 1280px;
  --gd-gutter: clamp(16px, 4vw, 48px);
}

body { font-family: var(--gd-text); font-size: 16px; font-style: normal; color: var(--gd-ink); background: var(--gd-paper); }
h1, h2, h3, h4 { font-family: var(--gd-display); font-style: normal; }
h1 { font-family: var(--gd-h1); font-weight: 400; font-synthesis: none; }
a { color: var(--gd-orange); }
a:hover { color: var(--gd-orange-dark); }

/* ---------- En-tête Helix ---------- */
#sp-top-bar { display: none; }
body, p, li, .gd-lead, .gd-agency__grid p, .gd-quote__more p { font-family: var(--gd-text); font-weight: 400; font-stretch: normal; }
#sp-header { height: 108px; background: var(--gd-hdr-bg, rgba(255,255,255,.96)); border-bottom: 0; box-shadow: inset 0 -1px 0 var(--gd-hdr-line, var(--gd-line)); backdrop-filter: blur(8px); } /* filet en ombre interne : l'étoile le recouvre */
#sp-header.header-sticky { height: 84px; }
#sp-header > .container, #sp-header .container-inner, #sp-header .container-inner > .row, #sp-header #sp-logo, #sp-header #sp-menu, #sp-header #sp-menu .sp-column { height: 100%; }
#sp-header #sp-logo .sp-column, #sp-header .logo { height: 100%; display: flex; align-items: center; }
#sp-header .logo a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
#sp-header .logo img.logo-image { height: 40px !important; width: auto; }
#sp-header .logo a::after {
  content: "Gemeline Design"; font-family: var(--gd-display); font-weight: 700; font-size: 19px;
  letter-spacing: -.01em; color: var(--gd-hdr-fg, var(--gd-ink)); white-space: nowrap; transition: color .3s;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  font-family: var(--gd-display); font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gd-hdr-fg, var(--gd-ink)) !important; line-height: 108px;
}
#sp-header.header-sticky .sp-megamenu-parent > li > a { line-height: 84px; }.sp-megamenu-parent > li.active > a { color: var(--gd-orange) !important; }

/* Survol du menu : étoile derrière le libellé, une couleur par rubrique */
.sp-megamenu-parent > li:nth-child(4n+1) { --gd-star: #fff; --gd-star-text: var(--gd-ink); }
.sp-megamenu-parent > li:nth-child(4n+2) { --gd-star: var(--gd-orange); }
.sp-megamenu-parent > li:nth-child(4n+3) { --gd-star: #9f4c97; }
.sp-megamenu-parent > li:nth-child(4n+4) { --gd-star: var(--gd-orange); }
#sp-header { overflow: hidden; } /* l'étoile, ronde, est coupée en haut et en bas par le header */
.sp-megamenu-parent > li { margin: 0 24px; }
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li:first-child > a, .sp-megamenu-parent > li:last-child > a { position: relative; z-index: 0; padding: 0 16px; transition: color .2s, transform .3s cubic-bezier(.3,1.4,.5,1); }
.sp-megamenu-parent > li > a::before {
  content: ""; position: absolute; left: calc(50% - 85px); top: calc(50% - 85px); z-index: -1; width: 170px; aspect-ratio: 1; /* taille fixe, centrée sur le libellé */ background: var(--gd-star);
  clip-path: polygon(50% 0%, 56.4% 9.5%, 65.5% 2.4%, 68.6% 13.5%, 79.4% 9.5%, 79% 21%, 90.5% 20.6%, 86.5% 31.4%, 97.6% 34.5%, 90.5% 43.6%, 100% 50%, 90.5% 56.4%, 97.6% 65.5%, 86.5% 68.6%, 90.5% 79.4%, 79% 79%, 79.4% 90.5%, 68.6% 86.5%, 65.5% 97.6%, 56.4% 90.5%, 50% 100%, 43.6% 90.5%, 34.5% 97.6%, 31.4% 86.5%, 20.6% 90.5%, 21% 79%, 9.5% 79.4%, 13.5% 68.6%, 2.4% 65.5%, 9.5% 56.4%, 0% 50%, 9.5% 43.6%, 2.4% 34.5%, 13.5% 31.4%, 9.5% 20.6%, 21% 21%, 20.6% 9.5%, 31.4% 13.5%, 34.5% 2.4%, 43.6% 9.5%);
  transform: scale(0) rotate(-60deg); transition: transform .35s cubic-bezier(.3,1.4,.5,1); pointer-events: none;
}
/* .is-current : rubrique dont la section est à l'écran (script dans les styles Helix 13/14) */
.sp-megamenu-parent > li > a:hover, .sp-megamenu-parent > li > a:focus-visible, .sp-megamenu-parent > li.is-current > a {
  color: var(--gd-star-text, #fff) !important; transform: scale(1.1); outline: none;
}
.sp-megamenu-parent > li > a:hover::before, .sp-megamenu-parent > li > a:focus-visible::before, .sp-megamenu-parent > li.is-current > a::before { transform: scale(1) rotate(0); animation: gd-star-spin 40s linear infinite; }
/* rotation continue de l'étoile visible (propriété rotate, indépendante du transform d'apparition) */
@keyframes gd-star-spin { to { rotate: -360deg; } }
@media (prefers-reduced-motion: reduce) { .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > a::before { transition: none; animation: none !important; } }

#sp-header { transition: background-color .3s; }
/* Header noir uniquement sur Réalisations : section à l'écran, ou survol/focus de la rubrique (l'étoile y est blanche) */
#sp-header:has(.sp-megamenu-parent > li:first-child.is-current, .sp-megamenu-parent > li:first-child > a:hover, .sp-megamenu-parent > li:first-child > a:focus-visible) { --gd-hdr-bg: var(--gd-ink); --gd-hdr-fg: #fff; --gd-hdr-mute: #a9a9a9; --gd-hdr-line: rgba(255,255,255,.14); }

/* « Contact » en pastille, sauf sur l'accueil (FR 123 / EN 128) */
body:not(.itemid-123):not(.itemid-128) .sp-megamenu-parent > li:last-child > a {
  color: var(--gd-hdr-bg, #fff) !important; background: var(--gd-hdr-fg, var(--gd-ink)); border-radius: 999px; line-height: 1; padding: 12px 20px; margin-left: 8px; transform: none;
}
body:not(.itemid-123):not(.itemid-128) .sp-megamenu-parent > li:last-child > a::before { display: none; }
body:not(.itemid-123):not(.itemid-128) .sp-megamenu-parent > li:last-child > a:hover { color: #fff !important; background: var(--gd-orange); }
.burger-icon > span { background-color: var(--gd-hdr-fg, var(--gd-ink)); }

/* Sélecteur de langue (position « menu ») */
#sp-header .mod-languages { margin-left: 44px; }
#sp-header .mod-languages ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
#sp-header div.mod-languages ul li, #sp-header div.mod-languages ul li.lang-active { margin: 0; padding: 0; background: none !important; border-radius: 0; } /* Helix force un fond gris en !important */
#sp-header .mod-languages a {
  display: block; padding: 6px 9px; border-radius: 999px; font-family: var(--gd-display); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; color: var(--gd-hdr-mute, var(--gd-mute)); text-decoration: none; text-transform: uppercase;
}
#sp-header .mod-languages li.lang-active a { color: var(--gd-hdr-fg, var(--gd-ink)); background: none; }
#sp-header .mod-languages a:hover { color: var(--gd-orange); }

/* Pages SP Page Builder pleine largeur */
.com-sppagebuilder #sp-main-body { padding: 0; }
.com-sppagebuilder .sppb-section { margin: 0; padding: 0; }

/* ---------- Briques communes ---------- */
.gd-wrap { max-width: var(--gd-wrap); margin: 0 auto; padding: 0 var(--gd-gutter); }
.gd-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--gd-display);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gd-orange);
}
/* fleche carree (equivalent de square-arrow-right, icone Pro absente de Font Awesome Free) */
.gd-kicker::before, .gd-btn .gd-arrow::before, .gd-project__label::before, .gd-nat-head .sppb-addon-content > p:first-child::before { content: ""; display: inline-block; flex: none; width: 1.3em; height: 1.3em; vertical-align: -.25em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm7.7 4.3-1.4 1.4 2.3 2.3H7v2h6.6l-2.3 2.3 1.4 1.4 4.7-4.7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm7.7 4.3-1.4 1.4 2.3 2.3H7v2h6.6l-2.3 2.3 1.4 1.4 4.7-4.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.gd-h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; margin: 0 0 28px; max-width: 18ch; }
.gd-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--gd-ink-soft); max-width: 60ch; }
.gd-section { padding: clamp(72px, 10vw, 140px) 0; }
.gd-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px;
  font-family: var(--gd-display); font-weight: 700; font-size: 15px; text-decoration: none !important;
  transition: background .25s, color .25s, transform .25s;
}
.gd-btn--dark { background: var(--gd-ink); color: #fff !important; }
.gd-btn--dark:hover { background: var(--gd-orange); }
.gd-btn--ghost { border: 1.5px solid var(--gd-ink); color: var(--gd-ink) !important; }
.gd-btn--ghost:hover { background: var(--gd-ink); color: #fff !important; }
.gd-btn--orange { background: var(--gd-orange); color: #fff !important; }
.gd-btn--orange:hover { background: #fff; color: var(--gd-ink) !important; }
.gd-btn .gd-arrow { transition: transform .25s; }
.gd-btn:hover .gd-arrow { transform: translateX(4px); }

/* Apparition au défilement */
.gd-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.gd-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gd-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 1. Hero : titre plein écran, visuels en fond au survol de « a du sens. » ---------- */
.gd-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; text-align: center; background: var(--gd-paper);
  min-height: calc(100vh - 108px); min-height: calc(100svh - 108px); padding: clamp(24px, 4vh, 56px) 0;
}
.gd-hero__inner { position: relative; z-index: 2; width: 100%; max-width: none; }
.gd-hero .gd-kicker { justify-content: center; font-size: clamp(12px, 1.5vw, 20px); letter-spacing: .1em; white-space: nowrap; margin-bottom: clamp(12px, 3vh, 22px); transition: color .3s; }
.gd-hero .gd-kicker::before { display: none; }
.gd-hero__title { font-size: min(clamp(52px, 15vw, 220px), 22vh); line-height: .9; letter-spacing: -.03em; font-weight: 400; margin: 0 auto clamp(24px, 5vh, 48px); transition: color .3s; }
html[lang^="en"] .gd-hero__title { font-size: min(clamp(44px, 12vw, 180px), 22vh); } /* « MAKES SENSE. » est plus long ; 22vh : le bloc tient dans la hauteur d'écran */
.gd-hero__title em { display: inline-block; font-style: normal; color: var(--gd-orange); cursor: pointer; outline: none; }
.gd-hero__title em:focus-visible { outline: 3px solid currentColor; outline-offset: 8px; }
.gd-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gd-hero__bg { position: absolute; inset: 0; z-index: 1; background: var(--gd-ink); opacity: 0; transition: opacity .35s; pointer-events: none; }
.gd-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.gd-hero__bg img.is-active { opacity: 1; }
.gd-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); } /* voile gris 20 % (essai 2026-11-04) */
.gd-hero__caption {
  position: absolute; left: var(--gd-gutter); bottom: 24px; z-index: 2; padding: 8px 14px; border-radius: 999px;
  background: rgba(20,20,20,.78); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: 0; transition: opacity .3s;
}
.gd-hero.is-playing .gd-hero__bg, .gd-hero.is-playing .gd-hero__caption { opacity: 1; }
.gd-hero__caption:empty { display: none; }
.gd-hero.is-playing .gd-hero__title, .gd-hero.is-playing .gd-hero__title em, .gd-hero.is-playing .gd-kicker { color: #fff; }
.gd-hero.is-playing .gd-btn--ghost { border-color: #fff; color: #fff !important; }

/* ---------- Bandeau clients ---------- */
.gd-clients { border-top: 1px solid var(--gd-line); border-bottom: 1px solid var(--gd-line); overflow: hidden; padding: 26px 0; background: var(--gd-paper); }
.gd-clients__track { display: flex; width: max-content; animation: gd-marquee 45s linear infinite; }
.gd-clients__track span {
  font-family: var(--gd-text); font-weight: 300; font-stretch: normal; font-synthesis: none; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -.01em;
  color: var(--gd-ink); white-space: nowrap; padding: 0 28px;
}
.gd-clients__track span::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gd-orange); margin-left: 56px; vertical-align: middle; }
.gd-clients__track small { font-size: .5em; font-weight: 500; letter-spacing: 0; }
@keyframes gd-marquee { to { transform: translateX(-50%); } }
.gd-clients:hover .gd-clients__track { animation-play-state: paused; }

/* ---------- 2. Agence ---------- */
.gd-agency__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.gd-agency__grid p { font-size: 18px; line-height: 1.7; color: var(--gd-ink-soft); margin: 0 0 20px; }
/* Section « Le studio » sur fond orange, textes blancs */
#agency { background: var(--gd-orange); color: #fff; }
#agency .gd-h2, #agency .gd-agency__grid p, #agency .gd-agency__quote { color: #fff; }
#agency .gd-agency__quote { border-left-color: #fff; }
.gd-agency__grid p.gd-kicker { font-family: var(--gd-display); font-size: 13px; font-weight: 700; line-height: normal; margin: 0 0 22px; }
.gd-agency__quote {
  margin: 34px 0 0; padding: 0 0 0 22px; border-left: 3px solid var(--gd-orange); font-family: var(--gd-display);
  font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 600; color: var(--gd-ink);
}

/* ---------- 3. Réalisations ---------- */

/* ---------- 4. Expertises ---------- */
.gd-exp__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gd-line); border-left: 1px solid var(--gd-line); margin-top: 56px; }
.gd-exp__item { position: relative; padding: 36px 32px 40px; border-right: 1px solid var(--gd-line); border-bottom: 1px solid var(--gd-line); transition: background .3s; }
.gd-exp__item:hover { background: var(--gd-soft); }
.gd-exp__num { font-family: var(--gd-display); font-weight: 700; font-size: 14px; color: var(--gd-orange); letter-spacing: .1em; }
.gd-exp__item h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.015em; margin: 18px 0 14px; }
.gd-exp__item p { margin: 0; color: var(--gd-mute); line-height: 1.6; }
/* Section Expertises sur fond violet (couleur de son étoile), textes blancs, surtitre et numéros en noir */
#expertise { background: #9f4c97; color: #fff; }
#expertise .gd-h2, #expertise .gd-lead, #expertise .gd-exp__item h3, #expertise .gd-exp__item p { color: #fff; }
#expertise .gd-exp__list, #expertise .gd-exp__item { border-color: rgba(255,255,255,.3); }
#expertise .gd-exp__item:hover { background: rgba(255,255,255,.08); }
#expertise .gd-kicker { font-size: 16px; color: var(--gd-ink); }
#expertise .gd-exp__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: var(--gd-orange); border-radius: 50%; font-size: 18px; letter-spacing: 0; color: #fff; }

/* ---------- 5. Démarche ---------- */
.gd-method { background: #ebe6dc; }
.gd-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: gd-step; }
.gd-steps li { position: relative; padding: 52px 18px 0 0; counter-increment: gd-step; font-family: var(--gd-display); font-weight: 600; font-size: 17px; line-height: 1.25; }
.gd-steps li::before {
  content: counter(gd-step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gd-ink); color: #fff; font-size: 12px; display: grid; place-items: center; z-index: 1;
}
.gd-steps li::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: #bfb9ae; }
.gd-steps li:last-child::after { display: none; }
.gd-steps li:last-child::before { background: var(--gd-orange); }
.gd-method__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 72px; }
.gd-method__pillars h3 { font-size: 21px; line-height: 1.2; margin: 0 0 10px; }
.gd-method__pillars p { margin: 0; color: var(--gd-ink-soft); line-height: 1.6; }

/* ---------- 6. Témoignages ---------- */
.gd-quote { text-align: left; }
.gd-quote blockquote {
  margin: 0; font-family: var(--gd-display); font-weight: 600; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15;
  letter-spacing: -.02em; max-width: 26ch;
}
.gd-quote blockquote::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--gd-orange); margin-bottom: 8px; }
.gd-quote cite { display: block; margin-top: 26px; font-style: normal; color: var(--gd-mute); font-size: 15px; }
.gd-quote cite strong { color: var(--gd-ink); }
.gd-quote__more { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--gd-line); }
.gd-quote__more p { margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--gd-ink-soft); }
.gd-quote__more span { font-size: 14px; color: var(--gd-mute); }

/* ---------- 7. Contact ---------- */
.gd-cta { background: var(--gd-orange); color: #fff; }
.gd-cta .gd-kicker { color: #fff; }
.gd-cta__title { font-family: var(--gd-h1); font-size: clamp(44px, 8vw, 120px); line-height: .9; letter-spacing: -.03em; font-weight: 400; font-synthesis: none; margin: 0 0 30px; color: #fff; } /* même typo que le titre d'accueil */
.gd-cta__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.gd-cta p { font-size: 19px; line-height: 1.6; margin: 0 0 30px; max-width: 42ch; }
.gd-cta__info { font-size: 16px; line-height: 1.8; }
.gd-cta__info a { color: #fff; font-family: var(--gd-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); text-decoration: none; display: inline-block; margin-bottom: 10px; }
.gd-cta__info a:hover { text-decoration: underline; color: #fff; }

/* ---------- Pied de page Helix ---------- */
#sp-footer { background: var(--gd-ink); color: #a9a9a9; font-size: 14px; padding: 28px 0; }
#sp-footer a { color: #fff; }

/* ---------- Menu mobile (off-canvas) ---------- */
.offcanvas-menu .offcanvas-inner .menu > li > a {
  font-family: var(--gd-display); font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: var(--gd-ink); padding: 10px 0;
}
.offcanvas-menu .offcanvas-inner .menu > li > a:hover { color: var(--gd-orange); }

/* ---------- Responsive ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
  .sp-megamenu-parent > li { margin: 0 8px; }
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li:first-child > a, .sp-megamenu-parent > li:last-child > a { padding: 0 12px; }
  #sp-header .mod-languages { margin-left: 24px; }
}
@media (max-width: 991px) {
  #sp-header { height: 68px; }
  #sp-header .logo a::after { font-size: 17px; }
  .gd-hero { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); }
  .gd-agency__grid, .gd-cta__grid { grid-template-columns: 1fr; }
  .gd-exp__list { grid-template-columns: repeat(2, 1fr); }
  .gd-steps { grid-template-columns: 1fr; gap: 0; }
  .gd-steps li { padding: 6px 0 26px 54px; min-height: 34px; }
  .gd-steps li::after { top: 34px; bottom: 0; left: 17px; right: auto; width: 1px; height: auto; }
  .gd-method__pillars, .gd-quote__more { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .gd-exp__list { grid-template-columns: 1fr; }
  .gd-hero__ctas .gd-btn { width: 100%; justify-content: center; }
  .gd-hero .gd-kicker { white-space: normal; }
  #sp-header .mod-languages { margin-left: 6px; }
  #sp-header .row, #sp-header .d-flex { flex-wrap: nowrap; }
}
@media (max-width: 420px) {
  #sp-header .logo a::after { display: none; }
}

/* Formulaire de contact en modal (bouton Ecrivez-nous) */
html:has(.gd-modal[open]) { overflow: hidden; }
.gd-modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--gd-paper); color: var(--gd-ink); font-family: var(--gd-text); }
.gd-modal::backdrop { background: rgba(20, 20, 20, .6); }
.gd-modal__box { position: relative; padding: clamp(24px, 5vw, 40px); }
.gd-modal__title { margin: 0 44px 24px 0; font-family: var(--gd-display); font-size: clamp(24px, 4vw, 32px); font-weight: 700; line-height: 1.15; color: var(--gd-ink); }
.gd-modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--gd-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.gd-modal__close:hover { color: var(--gd-orange); }
.gd-modal form { display: grid; gap: 16px; margin: 0; }
.gd-modal form[hidden] { display: none; }
.gd-modal label { display: grid; gap: 6px; margin: 0; font-size: 14px; font-weight: 600; }
.gd-modal input, .gd-modal textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gd-line); border-radius: 8px; background: #fff; color: var(--gd-ink); font: 400 16px/1.4 var(--gd-text); }
.gd-modal textarea { resize: vertical; }
.gd-modal input:focus, .gd-modal textarea:focus { outline: none; border-color: var(--gd-orange) !important; box-shadow: none !important; }
.gd-modal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gd-modal__note { margin: 0; font-size: 13px; color: var(--gd-mute); }
.gd-modal .gd-btn { justify-self: start; border: 0; cursor: pointer; }
.gd-modal .gd-btn:disabled { opacity: .5; cursor: wait; }
.gd-modal__status { margin: 16px 0 0; font-size: 15px; }
.gd-modal__status:empty { display: none; }
.gd-modal__status.is-ok { margin-top: 0; font-size: 17px; }
.gd-modal__status.is-ko { color: var(--gd-orange-dark); }
.gd-modal { overflow: auto; }
/* Ascenseur gris posé à l'intérieur du fond : piste transparente, éloignée des coins arrondis */
.gd-modal::-webkit-scrollbar { width: 16px; }
.gd-modal::-webkit-scrollbar-track { margin: 16px 0; background: transparent; }
.gd-modal::-webkit-scrollbar-thumb { border: 5px solid transparent; border-radius: 999px; background: #ccc; background-clip: padding-box; }
.gd-modal::-webkit-scrollbar-thumb:hover { background: #b3b3b3; background-clip: padding-box; }
@supports not selector(::-webkit-scrollbar) { .gd-modal { scrollbar-width: thin; scrollbar-color: #ccc transparent; } }
.gd-modal form { gap: 14px; }
.gd-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gd-modal label.gd-modal__check { grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 13px; font-weight: 400; line-height: 1.45; }
.gd-modal input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--gd-orange); }
.gd-modal__check a { color: inherit; text-decoration: underline; }
.gd-modal__check a:hover { color: var(--gd-orange); }
@media (max-width: 560px) { .gd-modal__row { grid-template-columns: 1fr; } }
/* Page Mentions legales */
.gd-legal__title { margin: 0 0 clamp(32px, 5vw, 56px); font-family: var(--gd-h1); font-size: clamp(34px, 6vw, 72px); font-weight: 400; line-height: 1.05; color: var(--gd-ink); }
.gd-legal__body { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--gd-ink-soft); overflow-wrap: anywhere; }
.gd-legal__body p { margin: 0 0 16px; }
.gd-legal__body h2 { margin: clamp(32px, 4vw, 44px) 0 12px; font-family: var(--gd-display); font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--gd-ink); }
.gd-legal__body a { color: var(--gd-orange-dark); text-decoration: underline; }
.sp-copyright a { color: inherit; text-decoration: underline; }
/* Burger masque sur ordinateur : le menu principal y est visible */
@media (min-width: 992px) { #offcanvas-toggler { display: none !important; } }

.gd-legal__body h3 { margin: 24px 0 8px; font-family: var(--gd-text); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--gd-ink); }
.gd-legal__body ul { margin: 0 0 16px; padding-left: 20px; }
.gd-legal__body li { margin: 0 0 6px; }
/* Temoignages en defilement */
.gd-quote__slider { overflow: hidden; }
.gd-quote__track { display: flex; align-items: flex-start; transition: transform .8s cubic-bezier(.65, 0, .35, 1); }
.gd-quote__slide { flex: 0 0 100%; min-width: 0; }
.gd-quote__dots { display: flex; gap: 2px; margin: 22px 0 0 -13px; }
.gd-quote__dots button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.gd-quote__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c9c5be; transition: background .2s; }
.gd-quote__dots button:hover::before { background: var(--gd-ink); }
.gd-quote__dots button[aria-current="true"]::before { background: var(--gd-orange); }
@media (prefers-reduced-motion: reduce) { .gd-quote__track { transition: none; } }

/* ---------- Réalisations : mosaïque 3 colonnes + filtres collants ---------- */
/* clip au lieu de hidden (Helix) : rogne pareil sans créer de conteneur de défilement, sinon position: sticky ne colle pas */
body.site, .body-innerwrapper { overflow: visible; overflow-x: clip; }
.gd-work { background: var(--gd-paper); color: var(--gd-ink); }
.gd-work .gd-h2 { color: var(--gd-ink); }
.gd-work__head { margin-bottom: 48px; }
.gd-work__head .gd-h2 { margin: 0; }
.gd-work__layout { display: grid; grid-template-columns: clamp(150px, 14vw, 240px) minmax(0, 1fr); padding-right: clamp(10px, 1.04vw, 20px); }
.gd-filters { position: sticky; top: calc(50% + 42px); transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gd-filter { padding: 8px 12px; border: 0; background: none; color: var(--gd-ink); font-family: var(--gd-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.gd-filter:hover, .gd-filter[aria-pressed="true"] { color: var(--gd-orange); }
.gd-filter:focus-visible { outline: 2px solid var(--gd-ink); outline-offset: 2px; }
.gd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(10px, 1.09vw, 21px); }
.gd-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; color: #fff !important; text-decoration: none !important; }
.gd-tile.is-hidden { display: none; }
.gd-tile--big { grid-column: span 2; grid-row: span 2; align-self: stretch; justify-self: stretch; }
.gd-tile--wide { grid-column: span 2; aspect-ratio: 3 / 1; align-self: stretch; justify-self: stretch; }
.gd-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gd-tile--left img { object-position: left center; }
.gd-tile--contain { background: #fff; }
.gd-tile--contain img { object-fit: contain; padding: 5%; }
.gd-tile:hover img { transform: scale(1.03); }
.gd-tile__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px clamp(14px, 1.35vw, 26px); background: var(--gd-ink); font-family: var(--gd-display); font-size: clamp(12px, .92vw, 14px); font-weight: 500; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; transform: translateY(101%); transition: transform .35s ease; }
.gd-tile:hover .gd-tile__info, .gd-tile:focus-visible .gd-tile__info { transform: none; }
.gd-tile__info strong { font-weight: 700; }
.gd-tile__info small { font-size: inherit; }
.gd-work__foot { margin-top: 36px; text-align: center; }
.gd-work__more { position: relative; padding: 0 0 12px; border: 0; background: none; color: var(--gd-ink); font-family: var(--gd-display); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.gd-work__more[hidden] { display: none; }
.gd-work__more:focus-visible { outline: 2px solid var(--gd-ink); outline-offset: 4px; }
.gd-work__more::after { content: ""; position: absolute; left: calc(50% - 22px); bottom: 0; width: 45px; border-bottom: 2px solid currentColor; transition: left .3s ease, width .3s ease; }
.gd-work__more:hover::after, .gd-work__more:focus-visible::after { left: 0; width: 100%; }
@media (hover: none) { .gd-tile__info { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gd-tile img, .gd-tile__info { transition: none; } }
@media (max-width: 991px) {
  .gd-work__layout { grid-template-columns: minmax(0, 1fr); padding: 0 var(--gd-gutter); }
  .gd-filters { position: static; transform: none; flex-direction: row; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gd-gutter) * -1) 24px; padding: 0 var(--gd-gutter); scrollbar-width: none; }
  .gd-filters::-webkit-scrollbar { display: none; }
  .gd-filter { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 2px solid var(--gd-ink); border-radius: 999px; font-size: 13px; }
  .gd-filter[aria-pressed="true"] { background: var(--gd-ink); color: #fff; }
  .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-tile--big { grid-row: auto; }
}
@media (max-width: 575px) {
  .gd-grid { grid-template-columns: minmax(0, 1fr); }
  .gd-tile--big, .gd-tile--wide { grid-column: auto; aspect-ratio: 4 / 3; }
}
/* Cartes Expertises : liens vers la mosaïque filtrée */
a.gd-exp__item { display: block; text-decoration: none; }
#expertise .gd-exp__num { transition: background .2s, color .2s; }
#expertise a.gd-exp__item:hover .gd-exp__num, #expertise a.gd-exp__item:focus-visible .gd-exp__num { background: #fff; color: var(--gd-orange); }
#expertise a.gd-exp__item:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
/* ---------- fin Réalisations ---------- */

/* ---------- Fiches projet ---------- */
/* Les fiches appartiennent à Réalisations : menu noir, étoile blanche sur la rubrique */
.view-article #sp-header { --gd-hdr-bg: var(--gd-ink); --gd-hdr-fg: #fff; --gd-hdr-mute: #a9a9a9; --gd-hdr-line: rgba(255,255,255,.14); }
.view-article .sp-megamenu-parent > li:first-child > a { color: var(--gd-star-text, #fff) !important; transform: scale(1.1); }
.view-article .sp-megamenu-parent > li:first-child > a::before { transform: scale(1) rotate(0); animation: gd-star-spin 40s linear infinite; }
/* Pastille Contact : garde sa hauteur quand le menu se réduit au défilement */
body:not(.itemid-123):not(.itemid-128) #sp-header.header-sticky .sp-megamenu-parent > li:last-child > a { line-height: 1; }
/* Le menu reste sur la ligne du logo, y compris avec la pastille */
@media (min-width: 992px) { #sp-header .container-inner > .row { flex-wrap: nowrap; } }
@media (min-width: 992px) and (max-width: 1199px) {
  body:not(.itemid-123):not(.itemid-128) .sp-megamenu-parent > li:last-child > a { margin-left: 0; padding: 10px 14px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  body:not(.itemid-123):not(.itemid-128) .sp-megamenu-parent > li { margin: 0 24px; }
}
/* Pleine largeur : images à gauche, panneau collant à droite */
.view-article #sp-main-body { padding: 0; }
.view-article #sp-main-body > .container { max-width: none; padding: 0; }
.view-article #sp-main-body .row { margin: 0; }
.view-article #sp-component { padding: 0; }
.gd-project { --gd-edge: clamp(12px, 1.3vw, 25px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 34vw, 620px); gap: calc(var(--gd-edge) * 1.6); align-items: start; padding: var(--gd-edge); background: var(--gd-paper); }
.gd-project__hero { margin: 0; background: #fff; }
.gd-project__hero img { display: block; width: 100%; height: auto; }
.gd-project__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gd-edge); margin-top: var(--gd-edge); }
.gd-project__gallery figure { margin: 0; background: #fff; }
/* Rythme de la référence : deux images, une pleine largeur ; une image seule en fin de série prend toute la largeur */
.gd-project__gallery figure:nth-child(3n), .gd-project__gallery figure:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
/* Emplacement laisse vide par l'editeur : ignore, la derniere image passe en pleine largeur */
.gd-project__gallery figure:empty { display: none; }
.gd-project__gallery:has(figure:empty) figure:last-child { grid-column: 1 / -1; }
/* Image detouree qui chevauche le visuel du dessus et oscille doucement : classe gd-float sur la figure */
.gd-project__gallery figure.gd-float { position: relative; z-index: 2; margin-top: -17%; background: transparent; }
.gd-project__gallery figure.gd-float img { width: 85%; height: auto; margin-inline: auto; transform-origin: 50% 60%; animation: gd-float-sway 2s ease-in-out infinite alternate; }
@keyframes gd-float-sway { from { transform: rotate(-2.5deg) translateY(5px); } to { transform: rotate(2.5deg) translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .gd-project__gallery figure.gd-float img { animation: none; } }
/* Images de meme hauteur sur toute la largeur : classe gd-row sur la galerie, flex = largeur / hauteur de chaque image */
.gd-project__gallery.gd-row { display: flex; align-items: flex-start; }
.gd-project__gallery.gd-row figure { min-width: 0; }
.gd-project__gallery.gd-row img { height: auto; }
@media (max-width: 575px) { .gd-project__gallery.gd-row { display: grid; } }
.gd-project__gallery img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gd-project__panel { position: sticky; top: calc(84px + var(--gd-edge)); max-height: calc(100vh - 84px - var(--gd-edge) * 2); padding: 0 clamp(0px, 1vw, 20px) 40px; overflow-y: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.gd-project__panel::-webkit-scrollbar { display: none; }
.gd-project__title { margin: 0 0 14px; font-family: var(--gd-h1); font-size: clamp(26px, 2.5vw, 44px); font-weight: 400; line-height: 1.08; color: var(--gd-ink); overflow-wrap: anywhere; }
.gd-project__label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 0; border-top: 1px solid var(--gd-ink); border-bottom: 1px solid var(--gd-ink); font-family: var(--gd-display); font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; color: var(--gd-ink); }
.gd-project__text { margin-top: clamp(20px, 1.8vw, 32px); font-size: 16px; line-height: 1.5; color: var(--gd-ink-soft); }
.gd-project__text h2 { margin: 1.5em 0 .6em; font-family: var(--gd-display); font-size: clamp(19px, 1.4vw, 24px); font-weight: 700; line-height: 1.25; color: var(--gd-ink); }
.gd-project__text h2:first-child { margin-top: 0; }
.gd-project__text p, .gd-project__text ul { margin: 0 0 1em; }
.gd-project__text ul { padding-left: 1.2em; }
.gd-project__text a { color: var(--gd-orange-dark); text-decoration: none; }
.gd-project__links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 28px 0 0; }
.gd-project__more { position: relative; padding-bottom: 12px; color: var(--gd-ink) !important; font-family: var(--gd-display); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none !important; text-transform: uppercase; }
.gd-project__more::after { content: ""; position: absolute; left: 0; bottom: 0; width: 45px; border-bottom: 2px solid currentColor; transition: width .3s ease; }
.gd-project__more:hover::after, .gd-project__more:focus-visible::after { width: 100%; }
.gd-project__next { color: var(--gd-mute) !important; font-size: 14px; text-decoration: none !important; transition: color .2s; }
.gd-project__next:hover { color: var(--gd-orange) !important; }
@media (max-width: 991px) {
  /* Titre, puis images, puis texte */
  .gd-project { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gd-gutter) 48px; }
  .gd-project__panel { display: contents; }
  .gd-project__head { order: 1; }
  .gd-project__media { order: 2; }
  .gd-project__body { order: 3; }
  .gd-project__title { font-size: clamp(26px, 6vw, 40px); }
  .gd-project__text { margin-top: 8px; }
}
@media (max-width: 575px) {
  .gd-project__gallery { grid-template-columns: minmax(0, 1fr); }
}
.gd-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gd-tile:hover video { transform: scale(1.03); }
.gd-project__hero video { display: block; width: 100%; height: auto; }
/* ---------- fin Fiches projet ---------- */

/* ---------- Sections natives SP Page Builder (blocs Texte) ---------- */
.com-sppagebuilder .sppb-section.gd-nat { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; min-height: 100svh; padding: clamp(116px, 10vw, 140px) 0 clamp(72px, 10vw, 140px); }
/* Une ancre n'affiche qu'une rubrique : chacune fait au moins la hauteur de l'écran */
.gd-nat > .sppb-container-inner { width: 100%; }
#work { min-height: 100vh; min-height: 100svh; }
.gd-nat .sppb-row { margin: 0; }
.gd-nat .sppb-col-md-12 { padding: 0; }
.gd-nat .sppb-column-addons { max-width: var(--gd-wrap); margin: 0 auto; padding: 0 var(--gd-gutter); }
.gd-nat .sppb-addon-wrapper { margin: 0; }
.gd-nat .sppb-addon-text-block.gd-reveal { opacity: 1; transform: none; transition: none; } /* la classe figure deux fois : seul le bloc extérieur s'anime */
.gd-nat .sppb-addon-content > :last-child { margin-bottom: 0; }
/* Surtitre + titre */
.gd-nat-head .sppb-addon-content > p:first-child { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--gd-display); font-size: 13px; font-weight: 700; line-height: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--gd-orange); }
.gd-nat-head h2 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; margin: 0 0 28px; max-width: 18ch; }
.gd-nat-head .sppb-addon-content > p:not(:first-child) { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--gd-ink-soft); max-width: 60ch; }
/* Le studio */
#agency .sppb-column-addons { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
#agency .gd-nat-head .sppb-addon-content > p:first-child, #agency .gd-nat-head h2 { color: #fff; }
#agency .gd-nat-body p { font-size: 18px; line-height: 1.7; color: #fff; margin: 0 0 20px; }
#agency .gd-nat-body blockquote { margin: 34px 0 0; padding: 0 0 0 22px; border: 0; border-left: 3px solid #fff; font-family: var(--gd-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.3; font-weight: 600; color: #fff; }
#agency .gd-nat-body blockquote p { margin: 0; font: inherit; color: inherit; }
/* Expertises : numéros automatiques, carte entière cliquable */
#expertise .sppb-column-addons { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: gd-exp; }
#expertise .sppb-addon-wrapper:has(.gd-nat-head) { grid-column: 1 / -1; margin-bottom: 60px; }
#expertise .gd-nat-head .sppb-addon-content > p:first-child { font-size: 16px; color: var(--gd-ink); }
#expertise .gd-nat-head h2 { color: #fff; }
#expertise .sppb-addon-wrapper:has(.gd-nat-card), #expertise .sppb-addon-wrapper:has(.gd-nat-card) > div { height: 100%; }
#expertise .sppb-addon.gd-nat-card { position: relative; box-sizing: border-box; height: 100%; margin: 0 -1px -1px 0; padding: 36px 32px 40px; border: 1px solid rgba(255,255,255,.3); counter-increment: gd-exp; transition: background .3s; }
#expertise .sppb-addon.gd-nat-card::before { content: ""; display: block; width: 48px; height: 48px; border-radius: 50%; background: var(--gd-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / 24px no-repeat; transition: background-color .2s; }
#expertise .sppb-addon.gd-nat-card:has(a[href="#contact"])::before { rotate: 180deg; }
#expertise .sppb-addon.gd-nat-card:hover { background: rgba(255,255,255,.08); }
#expertise .sppb-addon.gd-nat-card:hover::before, #expertise .sppb-addon.gd-nat-card:has(a:focus-visible)::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23E7490F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E"); }
#expertise .sppb-addon.gd-nat-card:has(a:focus-visible) { outline: 2px solid #fff; outline-offset: -6px; }
#expertise .gd-nat-card h3 { margin: 18px 0 14px; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.015em; color: #fff; }
#expertise .gd-nat-card h3 a { color: #fff !important; text-decoration: none !important; outline: none; }
#expertise .gd-nat-card h3 a::after { content: ""; position: absolute; inset: 0; }
#expertise .gd-nat-card p { margin: 0; color: #fff; line-height: 1.6; }
/* Démarche */
#method .sppb-column-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
#method .sppb-addon-wrapper:has(.gd-nat-head), #method .sppb-addon-wrapper:has(.gd-nat-steps) { grid-column: 1 / -1; }
#method .sppb-addon-wrapper:has(.gd-nat-steps) { margin: 28px 0 44px; }
.gd-nat-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: gd-step; }
.gd-nat-steps li { position: relative; padding: 52px 18px 0 0; counter-increment: gd-step; font-family: var(--gd-display); font-weight: 600; font-size: 17px; line-height: 1.25; }
.gd-nat-steps li::before { content: counter(gd-step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--gd-ink); color: #fff; font-size: 12px; display: grid; place-items: center; z-index: 1; }
.gd-nat-steps li::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0; height: 1px; background: #bfb9ae; }
.gd-nat-steps li:last-child::after { display: none; }
.gd-nat-steps li:last-child::before { background: var(--gd-orange); }
.gd-nat-pillar h3 { font-size: 21px; line-height: 1.2; margin: 0 0 10px; }
.gd-nat-pillar p { margin: 0; color: var(--gd-ink-soft); line-height: 1.6; }
/* Contact */
#contact .sppb-column-addons { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 40px; align-items: end; }
#contact .sppb-addon-wrapper:has(.gd-nat-head) { grid-column: 1 / -1; }
#contact .gd-nat-head .sppb-addon-content > p:first-child { margin-bottom: 30px; font-size: 19px; color: #fff; }
#contact .gd-nat-head h2 { max-width: none; margin: 0 0 30px; font-family: var(--gd-h1); font-size: clamp(44px, 8vw, 120px); line-height: .9; letter-spacing: -.03em; font-weight: 400; font-synthesis: none; color: #fff; }
#contact .gd-nat-text p { margin: 0 0 30px; }
#contact .sppb-addon-wrapper:has(.gd-nat-info) { grid-column: 2; grid-row: 2 / span 2; }
#contact .gd-nat-info p { margin: 0; max-width: none; font-size: 16px; line-height: 1.8; }
#contact .gd-nat-info a { display: inline-block; margin-bottom: 10px; color: #fff; font-family: var(--gd-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; text-decoration: none; }
#contact .gd-nat-info a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 991px) {
  #agency .sppb-column-addons, #method .sppb-column-addons { grid-template-columns: 1fr; }
  #expertise .sppb-column-addons { grid-template-columns: repeat(2, 1fr); }
  .gd-nat-steps ol { grid-template-columns: 1fr; }
  .gd-nat-steps li { padding: 6px 0 26px 54px; min-height: 34px; }
  .gd-nat-steps li::after { top: 34px; bottom: 0; left: 17px; right: auto; width: 1px; height: auto; }
  #contact .sppb-column-addons { grid-template-columns: 1fr; row-gap: 0; }
  #contact .sppb-addon-wrapper:has(.gd-nat-info) { grid-column: auto; grid-row: auto; margin-top: 40px; }
}
@media (max-width: 575px) {
  #expertise .sppb-column-addons { grid-template-columns: 1fr; }
}
/* ---------- fin Sections natives ---------- */

/* Fiche TASTE : logo reduit de 20 %, centre (fiche seulement, la tuile garde sa taille) */
.gd-project__hero img[src*="work/taste.jpg"] { width: 80%; margin-inline: auto; }

/* Mosaïque : tuile haute 1 colonne × 2 rangs (2026-11-07) — option « Haute » du champ Format */
.gd-tile--tall { grid-row: span 2; aspect-ratio: auto; align-self: stretch; justify-self: stretch; }
.gd-tile--tall::before { content: ""; display: block; padding-top: 150%; }
@media (max-width: 575px) {
  .gd-tile--tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .gd-tile--tall::before { display: none; }
}

/* gd-float dans une galerie gd-row : pas de chevauchement, centrée verticalement sur sa voisine (2026-11-07) */
.gd-project__gallery.gd-row:has(figure.gd-float) { align-items: center; }
.gd-project__gallery.gd-row figure.gd-float { margin-top: 0; }
/* Décalage vertical réglable d'une image en gd-row : style="--gd-lift: 120px" sur la figure (ignoré sur téléphone) */
.gd-project__gallery.gd-row figure { position: relative; top: calc(var(--gd-lift, 0px) * -1); }
@media (max-width: 575px) { .gd-project__gallery.gd-row figure { top: 0; } }

/* Protection des images (2026-11-07) : pas de glisser-deposer ni de menu "enregistrer l'image" sur mobile */
img { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; }/* Protection renforcee : les images ne recoivent plus la souris (le clic droit tombe sur le lien ou le cadre, pas sur l'image) */
.gd-tile img, .gd-tile video, .gd-project__hero img, .gd-project__gallery img, .gd-hero__bg img { pointer-events: none; }
.gd-tile, .gd-project__hero, .gd-project__gallery { -webkit-touch-callout: none; }
/* Videos (2026-11-19) : lecture en boucle, sans controles, plein ecran ni PiP */
video { pointer-events: none; }
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-fullscreen-button { display: none !important; -webkit-appearance: none; }
/* ---------- Hero 3D (anneau WebGL) — 2026-11-19 ---------- */
.gd-hero3d {
  position: absolute; inset: 0; z-index: 1; background: transparent;
  opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.gd-hero3d canvas { display: block; width: 100%; height: 100%; }
.gd-hero3d.is-dragging { cursor: grabbing; }
.gd-hero3d.is-link { cursor: pointer; }
.gd-hero.is-3d .gd-hero3d { opacity: 1; visibility: visible; transition: opacity .45s; }
/* Textes conservés par-dessus l'anneau, en blanc à 40 % (filigrane), sans bloquer la manipulation */
.gd-hero.has-3d .gd-hero__inner { transition: opacity .4s, transform .8s ease; }
.gd-hero.has-3d .gd-hero__title { width: fit-content; cursor: pointer; } /* tout le titre déclenche, pas la largeur de page */
.gd-hero.is-3d .gd-hero__inner { opacity: .4; pointer-events: none; transition: opacity .5s .2s; }
.gd-hero.is-3d .gd-hero__title, .gd-hero.is-3d .gd-hero__title em, .gd-hero.is-3d .gd-kicker { color: #fff; }
.gd-hero.is-3d .gd-btn--ghost { border-color: #fff; color: #fff !important; }

.gd-hero3d__caption {
  position: absolute; left: var(--gd-gutter, 24px); bottom: 24px; z-index: 3; pointer-events: none;
  display: flex; align-items: baseline; gap: 10px; max-width: calc(100% - 2 * var(--gd-gutter, 24px));
  padding: 9px 16px; border-radius: 999px; background: rgba(20,20,20,.78); color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.gd-hero3d__caption.is-on { opacity: 1; transform: none; }
.gd-hero3d__caption strong { font-family: var(--gd-display, sans-serif); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-hero3d__caption span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gd-orange, #E7490F); white-space: nowrap; }

.gd-hero3d__hint {
  position: absolute; right: var(--gd-gutter, 24px); bottom: 32px; z-index: 3; pointer-events: none;
  font-family: var(--gd-display, sans-serif); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gd-mute, #6b6b6b); opacity: 0; transition: opacity .4s;
}
.gd-hero.is-3d-ready .gd-hero3d__hint { opacity: 1; }

.gd-hero3d__close {
  position: absolute; top: 14px; right: 14px; z-index: 3; display: none; width: 44px; height: 44px; padding: 0;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(20,20,20,.5); color: #fff;
  font-size: 26px; line-height: 40px; cursor: pointer;
}
@media (hover: none) {
  .gd-hero.is-3d .gd-hero3d__close { display: block; }
  .gd-hero3d__hint { display: none; }
}
@media (max-width: 600px) {
  .gd-hero3d__hint { display: none; }
  .gd-hero3d__caption { bottom: 16px; }
}

/* ---------- Hero : bande continue de visuels (2026-11-19) ---------- */
.gd-band {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.gd-hero.is-band .gd-band { opacity: 1; visibility: visible; transition: opacity .35s; }
.gd-band__track {
  display: flex; height: 100%; width: max-content; will-change: transform;
  animation: gd-band var(--gd-band-dur, 35s) linear infinite; animation-play-state: paused;
}
.gd-hero.is-band .gd-band__track { animation-play-state: running; }
.gd-band__item { flex: none; height: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gd-soft, #f5f3ef); margin-right: 10px; } /* 10 px blancs entre visuels (marge, pas gap : boucle exacte à -50 %) */
.gd-band__item img, .gd-band__item video { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes gd-band { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gd-band__track { animation: none; } }

/* Titre = zone de survol (limitée au texte) ; textes en blanc à 40 % par-dessus la bande */
.gd-hero.has-band .gd-hero__title { width: fit-content; cursor: pointer; }
.gd-hero.is-band .gd-hero__inner { opacity: .4; }
.gd-hero.is-band .gd-hero__title, .gd-hero.is-band .gd-hero__title em, .gd-hero.is-band .gd-kicker { color: #fff; }
.gd-hero.is-band .gd-btn--ghost { border-color: #fff; color: #fff !important; }

/* Hauteur du hero = une image 16/10 pleine largeur (largeur / 1,6), plafonnée à l'écran ; le contenu (titre) impose le minimum */
.gd-hero { min-height: min(calc(100vh - 108px), 62.5vw); min-height: min(calc(100svh - 108px), 62.5vw); }

/* FR / EN dans un cercle à contour noir très fin — header blanc uniquement (2026-11-19) */
#sp-header .mod-languages ul { gap: 8px; align-items: center; }
#sp-header .mod-languages a {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%;
  border: 1px solid var(--gd-lang-ring, currentColor); /* contour = couleur du texte FR / EN */ line-height: 1; transition: color .2s, border-color .3s;
}
#sp-header:has(.sp-megamenu-parent > li:first-child.is-current, .sp-megamenu-parent > li:first-child > a:hover, .sp-megamenu-parent > li:first-child > a:focus-visible),
.view-article #sp-header { --gd-lang-ring: currentColor; } /* header noir : cercle aussi, couleur du texte */
@media (max-width: 575px) { #sp-header .mod-languages a { width: 32px; height: 32px; font-size: 11px; } #sp-header .mod-languages ul { gap: 6px; } }
/* Témoignage long (Brabo France, 2026-11-20) : police réduite */
.gd-quote .gd-quote__slide--long blockquote { font-size: clamp(19px, 1.9vw, 27px); line-height: 1.35; letter-spacing: -.01em; max-width: 54ch; }
.gd-quote .gd-quote__slide--long blockquote::before { font-size: clamp(62px, 8.2vw, 110px); }
