/* ==========================================================================
   Hero des pages À propos (fr/a-propos.html, en/about.html, es/sobre-nosotros.html)
   Matière animée calculée par la carte graphique (WebGL), validée dans le labo
   (essai 08) le 20/11/2026.
   Fichier chargé uniquement par ces trois pages : il ne modifie rien ailleurs.
   Toutes les règles sont limitées à .about-hero--shader.
   ========================================================================== */

.about-page .about-hero.about-hero--shader{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  /* pleine hauteur d'écran (l'en-tête fixe se pose par-dessus) */
  min-height:100vh;
  min-height:100svh;
  padding:0;
  text-align:left;
  color:#fff;
  /* repli si WebGL n'est pas disponible */
  background:radial-gradient(120% 90% at 80% 20%, #2c6b45 0%, var(--ad-forest) 45%, #0b241a 100%);
}
.about-hero--shader .about-hero__gl{
  position:absolute; inset:0;
  display:block; width:100%; height:100%;
}
/* voile sombre à gauche, pour la lisibilité du texte */
.about-hero--shader::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(8,28,20,.78) 0%, rgba(8,28,20,.3) 50%, transparent 75%);
}
.about-hero--shader .about-hero__inner{
  position:relative; z-index:1;
  width:min(1480px, 100% - 48px);
  margin-inline:auto;
  padding:clamp(90px, 12vw, 160px) 0;
}
.about-page .about-hero.about-hero--shader h1{
  max-width:12ch;
  margin:0;
  color:#fff;
  font-family:var(--font-serif);
  font-weight:500;
  font-size:clamp(36px, 8.6vw, 132px);
  line-height:.92;
  letter-spacing:-.065em;
  text-wrap:wrap;
}
/* Le point final du titre : le point animé du logo, en lime */
.about-hero--shader .about-hero__dot{
  display:inline-block;
  width:.19em; height:.25em;
  margin-left:.05em;
  vertical-align:-.02em;
  background:var(--ad-lime);
  -webkit-mask:url("/images/gillia-point-morph.svg") center / contain no-repeat;
          mask:url("/images/gillia-point-morph.svg") center / contain no-repeat;
}
.about-hero--shader .about-hero__lead{
  max-width:46ch;
  margin:28px 0 0;
  font-size:clamp(1.05rem, 1.4vw, 1.3rem);
  line-height:1.6;
  letter-spacing:-.3px;
  color:rgba(255,255,255,.82);
}
.about-hero--shader .about-hero__lead strong{ font-weight:600; color:#fff; }

/* --------------------------------------------------------------------------
   En-tête posé sur le hero sombre : barre transparente, textes en blanc.
   La classe .is-on-hero est ajoutée par js/about-hero-shader.js tant que le
   hero est sous l'en-tête ; au-delà, l'en-tête reprend son style habituel.
   -------------------------------------------------------------------------- */
.site-header .nav-wordmark,
.site-header .nav-link,
.site-header .link-login,
.site-header .lang-switch > summary,
.site-header .nav-burger{ transition:color .3s ease, background .3s ease, border-color .3s ease; }

body:not(.menu-open) .site-header.is-on-hero .nav{
  background:transparent;
  border-bottom-color:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
          backdrop-filter:none;
}
body:not(.menu-open) .site-header.is-on-hero .nav-wordmark{ color:#fff; }
body:not(.menu-open) .site-header.is-on-hero .nav-link{ color:rgba(255,255,255,.78); }
body:not(.menu-open) .site-header.is-on-hero .nav-link:hover,
body:not(.menu-open) .site-header.is-on-hero .nav-link[aria-current="page"],
body:not(.menu-open) .site-header.is-on-hero .nav-links .nav-link[href*="nouveautes-gillia-"],
body:not(.menu-open) .site-header.is-on-hero .nav-links .nav-link[href*="whats-new-"],
body:not(.menu-open) .site-header.is-on-hero .nav-links .nav-link[href*="novedades-gillia-"]{ color:#fff; }
body:not(.menu-open) .site-header.is-on-hero .link-login{ color:rgba(255,255,255,.82); }
body:not(.menu-open) .site-header.is-on-hero .link-login:hover{ color:#fff; }
body:not(.menu-open) .site-header.is-on-hero .lang-switch > summary{ color:rgba(255,255,255,.82); }
body:not(.menu-open) .site-header.is-on-hero .lang-switch > summary:hover,
body:not(.menu-open) .site-header.is-on-hero .lang-switch[open] > summary{ background:rgba(255,255,255,.12); color:#fff; }
body:not(.menu-open) .site-header.is-on-hero .nav-burger{ color:#fff; }
/* Dès qu'on a fait défiler la page (classe .scrolled posée par main.js) et tant que
   l'en-tête est encore sur le hero : barre vert forêt translucide au lieu de transparente */
body:not(.menu-open) .site-header.is-on-hero.scrolled .nav{
  background:rgba(11,36,26,.72);
  border-bottom-color:rgba(255,255,255,.08);
  box-shadow:0 6px 20px rgba(0,0,0,.18);
  -webkit-backdrop-filter:blur(10px) saturate(130%);
          backdrop-filter:blur(10px) saturate(130%);
}
/* Bouton d'essai : lime sur le fond sombre */
body:not(.menu-open) .site-header.is-on-hero .nav-cta .btn-primary{
  background:var(--ad-lime);
  color:var(--ad-lime-ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}
/* Petits écrans : pastilles langue / profil en verre clair sur le fond sombre */
@media (max-width:920px){
  body:not(.menu-open) .site-header.is-on-hero .lang-switch > summary,
  body:not(.menu-open) .site-header.is-on-hero .link-login{
    border-color:rgba(255,255,255,.22);
    background:rgba(255,255,255,.08);
    color:#fff;
  }
}

/* --------------------------------------------------------------------------
   Section « Gillia est son propre éditeur » déplacée sur la page À propos
   (depuis Intégrations, 20/11/2026). Sur cette page, .about-page h3 met les
   titres en vert forêt : le titre du panneau sombre doit rester blanc.
   -------------------------------------------------------------------------- */
.about-page .maker-intro__panel h3{ color:#fff; }

/* --------------------------------------------------------------------------
   Bandeau revendeurs sous le bloc de contact (page À propos FR, 20/11/2026).
   Même largeur et même arrondi que le bloc formulaire (.about-contact__panel).
   -------------------------------------------------------------------------- */
.about-partner-band{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:20px 40px;
  margin-top:16px;
  padding:clamp(22px, 3vw, 36px) clamp(22px, 3.4vw, 42px);
  border-radius:22px;
  background:var(--ad-lime);
  color:var(--ad-lime-ink);
}
.about-page .about-partner-band h3{
  margin:0;
  color:var(--ad-lime-ink);
  font-size:clamp(24px, 2.4vw, 34px);
  line-height:1.05;
}
.about-partner-band p{
  max-width:60ch;
  margin-top:10px;
  color:rgba(14,43,30,.82);
}
.about-partner-band .btn{ flex:none; }
@media (max-width:600px){
  .about-partner-band{ border-radius:18px; }
  .about-partner-band .btn{ width:100%; justify-content:center; }
}

