/* =========================================================
   Diec — pied de page « hover »
   Reprise du design et des effets du composant React
   (carte arrondie, halo radial, mot géant révélé au curseur),
   en HTML/CSS/SVG natif : aucune dépendance, aucun build.
   Couleurs mappées sur la charte graphite & lime.
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  margin: 0 22px 22px;
  padding: 0;
  border-radius: 24px;
  background: rgba(27, 30, 38, .55);
  border: 1px solid var(--line);
}

/* Halo radial — équivalent de FooterBackgroundGradient */
.foot-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(125% 125% at 50% 10%, rgba(15, 15, 17, .40) 50%, rgba(182, 255, 46, .13) 100%);
}

.site-footer > .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 0; }

.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h4 { color: var(--navy); font-size: 1.02rem; letter-spacing: 0; text-transform: none; margin-bottom: 22px; }
.site-footer .foot-grid ul { gap: 12px; }
.site-footer a { transition: color .16s ease; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }

.foot-brand { font-size: 1.6rem; gap: 11px; }
.foot-brand-line { display: flex; align-items: center; gap: 10px; }

/* Puce pulsée — équivalent du « pulse » du composant */
.foot-pulse { position: relative; }
.foot-pulse::after {
  content: ""; position: absolute; top: 3px; right: -12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: foot-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}
@keyframes foot-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

/* Coordonnées avec pictogrammes */
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.foot-contact li { display: flex; align-items: center; gap: 11px; }
.foot-contact svg { width: 17px; height: 17px; flex: none; color: var(--accent); }

.foot-rule { border: 0; border-top: 1px solid var(--line); margin: 34px 0 26px; }

.foot-bottom { border-top: 0; margin-top: 0; padding-top: 0; padding-bottom: 26px; gap: 18px; }

/* ====== Mot géant révélé au curseur ====== */
.foot-word {
  position: relative; z-index: 1;
  margin: -40px 0 -70px; height: 22rem;
  display: flex; align-items: center;
}
.foot-word svg { width: 100%; height: 100%; cursor: pointer; user-select: none; }

.foot-word text {
  font-family: var(--display), "Outfit", sans-serif;
  font-size: 72px; font-weight: 700; letter-spacing: -.02em;
  text-anchor: middle; dominant-baseline: middle;
  fill: transparent; stroke-width: .32;
}
/* 1 — contour discret, apparaît au survol */
.foot-word .fw-base { stroke: rgba(242, 243, 239, .16); opacity: 0; transition: opacity .3s ease; }
.foot-word svg:hover .fw-base { opacity: 1; }
/* 2 — tracé qui se dessine à l'entrée dans l'écran */
.foot-word .fw-draw {
  stroke: rgba(242, 243, 239, .20);
   stroke-dasharray: 1000; stroke-dashoffset: 1000;
}
.foot-word.is-visible .fw-draw { animation: fw-draw 4s ease-in-out forwards; }
@keyframes fw-draw { to { stroke-dashoffset: 0 } }
/* 3 — révélation colorée sous le curseur */
.foot-word .fw-reveal { stroke: url(#fwGradient); stroke-width: .62; }

@media (prefers-reduced-motion: reduce) {
  .foot-word .fw-draw { stroke-dashoffset: 0; animation: none; }
  .foot-pulse::after { animation: none; }
}

@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .site-footer { margin: 0 12px 12px; border-radius: 18px; }
  .site-footer > .container { padding-top: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* le mot géant est illisible sous cette largeur */
  .foot-word { display: none; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}
