/**
 * GILMARFER — design moderne : sections, shapes, sliders.
 */

:root {
  --gf-accent: #1b8ee9;
  --gf-accent-soft: rgba(27, 142, 233, 0.12);
  --gf-dark: #06080c;
  --gf-radius: 22px;
  --gf-shadow: 0 24px 60px rgba(6, 8, 12, 0.12);
}

.gf-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ── Shapes décoratives (confinées dans chaque section) ── */
.gf-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gf-shape {
  position: absolute;
  display: block;
  background: transparent;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}

/* Types de formes */
.gf-shape-circle {
  width: clamp(140px, 22vw, 300px);
  height: clamp(140px, 22vw, 300px);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(27, 142, 233, 0.18), transparent 72%);
}

.gf-shape-blob {
  width: clamp(160px, 24vw, 340px);
  height: clamp(160px, 24vw, 340px);
  background: linear-gradient(135deg, rgba(27, 142, 233, 0.1), transparent 80%);
  border-radius: 42% 58% 63% 37% / 38% 42% 58% 62%;
}

.gf-shape-ring {
  width: clamp(100px, 14vw, 200px);
  height: clamp(100px, 14vw, 200px);
  border: 2px solid rgba(27, 142, 233, 0.16);
  border-radius: 50%;
  background: transparent;
  box-sizing: border-box;
}

.gf-shape-dots {
  width: 100px;
  height: 100px;
  background-color: transparent;
  background-image: radial-gradient(rgba(27, 142, 233, 0.28) 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.45;
}

.gf-shape-arc {
  width: clamp(110px, 16vw, 220px);
  height: clamp(110px, 16vw, 220px);
  border: 3px solid transparent;
  border-radius: 50%;
  border-bottom-color: rgba(27, 142, 233, 0.22);
  border-left-color: rgba(27, 142, 233, 0.12);
  background: transparent;
  transform: rotate(-24deg);
}

.gf-shape-grid {
  width: clamp(110px, 18vw, 220px);
  height: clamp(110px, 18vw, 220px);
  background-image:
    linear-gradient(rgba(27, 142, 233, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 142, 233, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  opacity: 0.5;
}

.gf-shape-wave {
  width: clamp(130px, 20vw, 260px);
  height: clamp(48px, 8vw, 72px);
  border: 2px solid rgba(27, 142, 233, 0.16);
  border-radius: 50%;
  background: transparent;
  transform: scaleY(0.38);
}

/* Positions */
.gf-shape--pos-tr { top: -15%; right: -8%; }
.gf-shape--pos-tl { top: -12%; left: -6%; }
.gf-shape--pos-br { bottom: -10%; right: -5%; }
.gf-shape--pos-bl { bottom: -12%; left: -8%; }
.gf-shape--pos-cr { top: 50%; right: 4%; transform: translateY(-50%); }
.gf-shape--pos-cl { top: 50%; left: 4%; transform: translateY(-50%); }

.gf-shape-arc.gf-shape--pos-tr,
.gf-shape-arc.gf-shape--pos-tl,
.gf-shape-arc.gf-shape--pos-br,
.gf-shape-arc.gf-shape--pos-bl {
  transform: rotate(-24deg);
}

.gf-shape-wave.gf-shape--pos-tr { transform: scaleY(0.38) rotate(-8deg); }
.gf-shape-wave.gf-shape--pos-tl { transform: scaleY(0.38) rotate(8deg); }
.gf-shape-wave.gf-shape--pos-br { transform: scaleY(0.38) rotate(12deg); }
.gf-shape-wave.gf-shape--pos-bl { transform: scaleY(0.38) rotate(-12deg); }

/* Tailles */
.gf-shape--sm.gf-shape-circle,
.gf-shape--sm.gf-shape-blob,
.gf-shape--sm.gf-shape-ring,
.gf-shape--sm.gf-shape-arc {
  width: clamp(80px, 12vw, 150px);
  height: clamp(80px, 12vw, 150px);
}

.gf-shape--sm.gf-shape-dots,
.gf-shape--sm.gf-shape-grid {
  width: 72px;
  height: 72px;
}

.gf-shape--sm.gf-shape-wave {
  width: clamp(90px, 14vw, 170px);
  height: clamp(36px, 6vw, 52px);
}

.gf-shape--lg.gf-shape-circle,
.gf-shape--lg.gf-shape-blob,
.gf-shape--lg.gf-shape-ring,
.gf-shape--lg.gf-shape-arc {
  width: clamp(180px, 28vw, 380px);
  height: clamp(180px, 28vw, 380px);
}

.gf-shape--lg.gf-shape-dots,
.gf-shape--lg.gf-shape-grid {
  width: 130px;
  height: 130px;
}

.gf-shape--lg.gf-shape-wave {
  width: clamp(170px, 26vw, 320px);
  height: clamp(56px, 10vw, 84px);
}

.gf-shape--xl.gf-shape-circle,
.gf-shape--xl.gf-shape-blob,
.gf-shape--xl.gf-shape-ring,
.gf-shape--xl.gf-shape-arc {
  width: clamp(220px, 34vw, 460px);
  height: clamp(220px, 34vw, 460px);
}

.gf-shape--xl.gf-shape-dots,
.gf-shape--xl.gf-shape-grid {
  width: 160px;
  height: 160px;
}

.gf-shape--xl.gf-shape-wave {
  width: clamp(200px, 30vw, 380px);
  height: clamp(64px, 11vw, 96px);
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS — chaque type de forme a son mouvement propre,
   actif dans le fond de TOUTES les sections.
══════════════════════════════════════════════════════ */

/* Animations par défaut, propres à chaque type de forme */
.gf-shape-circle { animation: gf-float 16s ease-in-out infinite; }
.gf-shape-blob   { animation: gf-morph 18s ease-in-out infinite alternate, gf-spin-slow 60s linear infinite; }
.gf-shape-ring   { animation: gf-spin 28s linear infinite, gf-pulse-soft 9s ease-in-out infinite; }
.gf-shape-dots   { animation: gf-drift 20s ease-in-out infinite; }
.gf-shape-grid   { animation: gf-pulse 12s ease-in-out infinite; }

/* Arc & wave conservent leur transform de base dans leurs keyframes */
.gf-shape-arc.gf-shape--pos-tr,
.gf-shape-arc.gf-shape--pos-tl,
.gf-shape-arc.gf-shape--pos-br,
.gf-shape-arc.gf-shape--pos-bl { animation: gf-sway-arc 14s ease-in-out infinite; }

.gf-shape-wave.gf-shape--pos-tr { animation: gf-bob-wave-tr 11s ease-in-out infinite; }
.gf-shape-wave.gf-shape--pos-tl { animation: gf-bob-wave-tl 11s ease-in-out infinite; }
.gf-shape-wave.gf-shape--pos-br { animation: gf-bob-wave-br 12s ease-in-out infinite; }
.gf-shape-wave.gf-shape--pos-bl { animation: gf-bob-wave-bl 12s ease-in-out infinite; }

/* Décalages pour désynchroniser les formes d'une même section */
.gf-shape:nth-child(1) { animation-delay: 0s, 0s; }
.gf-shape:nth-child(2) { animation-delay: -3.5s, -7s; }
.gf-shape:nth-child(3) { animation-delay: -7s, -14s; }
.gf-shape:nth-child(4) { animation-delay: -10.5s, -21s; }

/* Classes explicites (priorité sur le défaut si précisées dans la config PHP) */
.gf-shape--anim-float { animation: gf-float 14s ease-in-out infinite; }
.gf-shape--anim-morph { animation: gf-morph 18s ease-in-out infinite alternate, gf-spin-slow 60s linear infinite; }
.gf-shape--anim-pulse { animation: gf-pulse 10s ease-in-out infinite; }
.gf-shape--anim-spin  { animation: gf-spin 24s linear infinite; }
.gf-shape--anim-drift { animation: gf-drift 18s ease-in-out infinite; }
.gf-shape--anim-orbit { animation: gf-orbit 22s ease-in-out infinite; }

/* Personnalisation par section — métallurgique */
.gf-shapes--hero .gf-shape-wave { border-color: rgba(27, 142, 233, 0.22); }
.gf-shapes--stats .gf-shape-blob { border-radius: 58% 42% 37% 63% / 52% 38% 62% 48%; }
.gf-shapes--intro .gf-shape-dots { background-size: 10px 10px; }
.gf-shapes--tabs .gf-shape-ring { border-width: 3px; }
.gf-shapes--families .gf-shape-grid { background-size: 22px 22px; }
.gf-shapes--catalogue .gf-shape-dots { background-size: 14px 14px; }
.gf-shapes--cta .gf-shape-circle { background: radial-gradient(circle at 40% 40%, rgba(27, 142, 233, 0.14), transparent 70%); }
.gf-shapes--volets .gf-shape-blob { border-radius: 63% 37% 42% 58% / 48% 62% 38% 52%; }
.gf-shapes--departments .gf-shape-ring { border-style: dashed; }

/* Personnalisation par section — faïence */
.gf-shapes--fai-hero .gf-shape-wave { border-color: rgba(196, 125, 74, 0.2); }
.gf-shapes--fai-stats .gf-shape-blob { border-radius: 48% 52% 58% 42% / 62% 38% 52% 48%; }
.gf-shapes--fai-intro .gf-shape-ring { border-width: 3px; }
.gf-shapes--fai-spaces .gf-shape-grid { background-size: 16px 16px; }
.gf-shapes--fai-matrix .gf-shape-dots { background-size: 11px 11px; }
.gf-shapes--fai-catalogues .gf-shape-arc { transform: rotate(18deg); }
.gf-shapes--fai-catalogue .gf-shape-grid { background-size: 20px 20px; }
.gf-shapes--fai-cta .gf-shape-circle { background: radial-gradient(circle at 35% 35%, rgba(196, 125, 74, 0.12), transparent 72%); }

@keyframes gf-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(8px, -16px) rotate(4deg); }
  66%  { transform: translate(-6px, -8px) rotate(-3deg); }
}

@keyframes gf-morph {
  0%   { border-radius: 42% 58% 63% 37% / 38% 42% 58% 62%; }
  50%  { border-radius: 60% 40% 33% 67% / 55% 60% 40% 45%; }
  100% { border-radius: 38% 62% 56% 44% / 49% 38% 62% 51%; }
}

@keyframes gf-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes gf-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes gf-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.08); }
}

@keyframes gf-pulse-soft {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

@keyframes gf-drift {
  0%, 100% { transform: translate(0, 0); }
  25%  { transform: translate(14px, 10px); }
  50%  { transform: translate(6px, 20px); }
  75%  { transform: translate(-10px, 8px); }
}

@keyframes gf-orbit {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(20px, 12px) rotate(90deg); }
  50%  { transform: translate(0, 24px) rotate(180deg); }
  75%  { transform: translate(-20px, 12px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Arc : balancement en conservant l'inclinaison de base */
@keyframes gf-sway-arc {
  0%, 100% { transform: rotate(-24deg) translateY(0); }
  50%      { transform: rotate(-12deg) translateY(-14px); }
}

/* Wave : ondulation par position (conserve scaleY + rotation de base) */
@keyframes gf-bob-wave-tr {
  0%, 100% { transform: scaleY(0.38) rotate(-8deg) translateX(0); }
  50%      { transform: scaleY(0.44) rotate(-4deg) translateX(-14px); }
}
@keyframes gf-bob-wave-tl {
  0%, 100% { transform: scaleY(0.38) rotate(8deg) translateX(0); }
  50%      { transform: scaleY(0.44) rotate(4deg) translateX(14px); }
}
@keyframes gf-bob-wave-br {
  0%, 100% { transform: scaleY(0.38) rotate(12deg) translateX(0); }
  50%      { transform: scaleY(0.46) rotate(6deg) translateX(-16px); }
}
@keyframes gf-bob-wave-bl {
  0%, 100% { transform: scaleY(0.38) rotate(-12deg) translateX(0); }
  50%      { transform: scaleY(0.46) rotate(-6deg) translateX(16px); }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .gf-shape,
  .gf-shape-circle,
  .gf-shape-blob,
  .gf-shape-ring,
  .gf-shape-dots,
  .gf-shape-grid,
  .gf-shape-arc,
  .gf-shape-wave {
    animation: none !important;
  }
}

/* ── Hero slider ── */
.gf-hero-slider {
  width: 100%;
  min-height: clamp(520px, 88vh, 900px);
}

.gf-hero-slide {
  position: relative;
  min-height: clamp(520px, 88vh, 900px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 140px 0 100px;
}

.gf-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(6, 8, 12, 0.92) 0%,
    rgba(6, 8, 12, 0.55) 55%,
    rgba(27, 142, 233, 0.2) 100%
  );
}

.gf-hero-slide .container {
  position: relative;
  z-index: 2;
}

.gf-hero-slide-content {
  max-width: 720px;
  color: var(--white-color);
}

.gf-pill,
.met-hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(27, 142, 233, 0.18);
  border: 1px solid rgba(27, 142, 233, 0.4);
  color: #8ecfff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.gf-hero-slide-content h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  color: var(--white-color);
  margin-bottom: 20px;
}

.gf-hero-slide-content h1 span {
  color: var(--gf-accent);
}

.gf-hero-slide-content p {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  max-width: 580px;
}

.gf-slider-nav {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gf-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white-color);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(8px);
}

.gf-slider-btn:hover {
  background: var(--gf-accent);
  border-color: var(--gf-accent);
}

.gf-hero-pagination,
.gf-volets-pagination,
.gf-dept-pagination,
.gf-families-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.gf-hero-pagination .swiper-pagination-bullet,
.gf-volets-pagination .swiper-pagination-bullet,
.gf-dept-pagination .swiper-pagination-bullet,
.gf-families-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: transform 0.25s, background 0.25s;
}

.gf-volets-pagination .swiper-pagination-bullet,
.gf-dept-pagination .swiper-pagination-bullet,
.gf-families-pagination .swiper-pagination-bullet {
  background: rgba(6, 8, 12, 0.2);
}

.gf-hero-pagination .swiper-pagination-bullet-active,
.gf-volets-pagination .swiper-pagination-bullet-active,
.gf-dept-pagination .swiper-pagination-bullet-active,
.gf-families-pagination .swiper-pagination-bullet-active {
  background: var(--gf-accent);
  transform: scale(1.25);
}

/* ── Stats slider ── */
.gf-section--stats {
  padding: 0 0 50px;
  margin-top: -60px;
  z-index: 3;
}

.gf-stats-slider {
  overflow: visible;
}

.gf-stat-card {
  background: var(--white-color);
  border-radius: var(--gf-radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--gf-shadow);
  border: 1px solid rgba(27, 142, 233, 0.08);
}

.gf-stat-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gf-accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.gf-stat-card span {
  font-size: 14px;
  color: rgba(6, 8, 12, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Volets cards ── */
.gf-section--volets {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.gf-volet-card {
  position: relative;
  display: block;
  border-radius: calc(var(--gf-radius) + 4px);
  overflow: hidden;
  min-height: 420px;
  text-decoration: none;
  color: var(--white-color);
  box-shadow: var(--gf-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gf-volet-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px rgba(6, 8, 12, 0.2);
}

.gf-volet-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.gf-volet-card:hover .gf-volet-card-bg {
  transform: scale(1.06);
}

.gf-volet-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 8, 12, 0.88) 100%);
}

.gf-volet-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.gf-volet-card-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(27, 142, 233, 0.25);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gf-volet-card h3 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--white-color);
  margin-bottom: 8px;
}

.gf-volet-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.gf-volet-card-link {
  font-weight: 600;
  color: var(--gf-accent);
}

.gf-volets-slider {
  padding-bottom: 48px;
}

.gf-volets-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ── Départements ── */
.gf-section--departments {
  padding: 100px 0;
}

.gf-dept-card {
  display: block;
  padding: 36px 28px;
  border-radius: var(--gf-radius);
  background: var(--white-color);
  border: 1px solid rgba(6, 8, 12, 0.06);
  box-shadow: 0 12px 40px rgba(6, 8, 12, 0.06);
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.gf-dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gf-shadow);
  border-color: rgba(27, 142, 233, 0.25);
}

.gf-dept-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: var(--gf-accent-soft);
  color: var(--gf-accent);
}

.gf-dept-card--faience .gf-dept-icon { background: rgba(180, 120, 60, 0.12); color: #b4783c; }
.gf-dept-card--armatures .gf-dept-icon { background: rgba(80, 160, 80, 0.12); color: #50a050; }
.gf-dept-card--quality .gf-dept-icon { background: rgba(200, 160, 40, 0.12); color: #c8a028; }

.gf-dept-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.gf-dept-card p {
  color: rgba(6, 8, 12, 0.65);
  margin: 0;
  line-height: 1.6;
}

.gf-departments-slider {
  padding-bottom: 48px;
}

.gf-dept-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ── CTA band ── */
.gf-section--cta {
  padding: 80px 0;
}

.gf-cta-band {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 48px 56px;
  border-radius: calc(var(--gf-radius) + 6px);
  background: linear-gradient(135deg, rgba(27, 142, 233, 0.15), rgba(6, 8, 12, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gf-cta-band h2 {
  color: var(--white-color);
  margin: 8px 0 12px;
}

.gf-cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 520px;
}

/* ── Accueil moderne ── */
body.home-modern {
  overflow-x: clip;
}

body.home-modern .main-header,
body.home-modern .main-footer {
  display: block !important;
}

.gf-home .gf-section .container {
  position: relative;
  z-index: 1;
}

/* ── Métallurgique : intégration shapes ── */
.metallurgique-page .gf-section {
  z-index: 0;
}

.metallurgique-page .gf-section .container,
.metallurgique-page .gf-section .met-hero-content {
  position: relative;
  z-index: 2;
}

.metallurgique-page .met-hero.gf-section--hero {
  padding: 0;
  min-height: 0;
}

.metallurgique-page .met-hero.gf-section--hero .gf-hero-slider,
.metallurgique-page .met-hero.gf-section--hero .gf-hero-slide {
  min-height: 82vh;
}

.metallurgique-page .met-stats.gf-section--stats {
  padding: 70px 0 80px;
  margin-top: 0;
  background: #f4f8fc;
}

.metallurgique-page .met-intro.gf-section--intro {
  position: relative;
  background: #ffffff;
}

.metallurgique-page .met-volet-tabs-wrap.gf-section--tabs {
  position: relative;
  background: #eef3f8;
}

.metallurgique-page .met-families.gf-section--families {
  padding-top: 90px;
  background: #f8fafc;
}

.metallurgique-page .met-catalogue.gf-section--catalogue {
  position: relative;
  background: #ffffff;
}

.metallurgique-page .met-cta.gf-section--cta {
  position: relative;
  background: #0a0a0a;
}

.metallurgique-page .met-stats-grid {
  position: relative;
  z-index: 2;
}

.metallurgique-page .met-intro .row {
  position: relative;
  z-index: 2;
}

.gf-families-slider {
  padding-bottom: 44px;
}

.gf-families-slider .swiper-slide {
  height: auto;
}

.gf-families-slider .met-family-card {
  height: 100%;
}

/* ── Faïence : design moderne + shapes ── */
.faience-page {
  --gf-faience: #c47d4a;
  --gf-faience-soft: rgba(196, 125, 74, 0.14);
  --gf-faience-glow: rgba(196, 125, 74, 0.28);
}

.gf-hero-slide-overlay--faience {
  background: linear-gradient(
    125deg,
    rgba(18, 10, 6, 0.93) 0%,
    rgba(18, 10, 6, 0.52) 55%,
    rgba(196, 125, 74, 0.24) 100%
  );
}

.faience-page .fai-hero-badge {
  background: rgba(196, 125, 74, 0.22);
  border-color: rgba(196, 125, 74, 0.45);
  color: #f0c9a8;
}

.faience-page .gf-hero-slide-content h1 span,
.faience-page .fai-hero h1 span {
  color: var(--gf-faience);
}

.faience-page .gf-section .container {
  position: relative;
  z-index: 2;
}

.faience-page .fai-hero.gf-section--hero {
  padding: 0;
  min-height: 0;
}

.faience-page .fai-hero .gf-hero-slider,
.faience-page .fai-hero .gf-hero-slide {
  min-height: 82vh;
}

.faience-page .fai-stats.gf-section--stats {
  background: linear-gradient(180deg, #faf7f4 0%, #f5f0eb 100%);
  padding-bottom: 70px;
}

.faience-page .fai-intro.gf-section--intro {
  background: #ffffff;
  overflow: hidden;
}

.faience-page .fai-spaces.gf-section--spaces {
  background: linear-gradient(180deg, #f5f0eb 0%, #faf7f4 100%);
}

.faience-page .fai-matrix.gf-section--matrix {
  background: #ffffff;
}

.faience-page .fai-catalogues.gf-section--catalogues {
  background: linear-gradient(180deg, #faf7f4 0%, #f0ebe5 100%);
}

.faience-page .fai-catalogue.gf-section--catalogue {
  background: #ffffff;
}

.faience-page .fai-cta.gf-section--cta {
  background: #0a0a0a;
}

/* Tons céramique pour shapes faïence */
.faience-page .gf-shape-circle {
  background: radial-gradient(circle at 30% 30%, var(--gf-faience-glow), transparent 72%);
}

.faience-page .gf-shape-blob {
  background: linear-gradient(135deg, var(--gf-faience-soft), transparent 80%);
}

.faience-page .gf-shape-ring {
  border-color: rgba(196, 125, 74, 0.18);
}

.faience-page .gf-shape-dots {
  background-image: radial-gradient(rgba(196, 125, 74, 0.3) 2px, transparent 2px);
}

.faience-page .gf-shape-arc {
  border-bottom-color: rgba(196, 125, 74, 0.24);
  border-left-color: rgba(196, 125, 74, 0.14);
}

.faience-page .gf-shape-grid {
  background-image:
    linear-gradient(rgba(196, 125, 74, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 125, 74, 0.16) 1px, transparent 1px);
}

.faience-page .gf-shape-wave {
  border-color: rgba(196, 125, 74, 0.18);
}

.gf-spaces-slider {
  margin-top: 48px;
  padding-bottom: 48px;
}

.gf-spaces-slider .swiper-slide {
  height: auto;
}

.gf-spaces-slider .fai-space-card {
  height: 100%;
}

.gf-spaces-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.gf-spaces-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(6, 8, 12, 0.2);
  opacity: 1;
}

.gf-spaces-pagination .swiper-pagination-bullet-active {
  background: var(--gf-faience);
  transform: scale(1.25);
}

.faience-page .fai-stat-card {
  border-color: rgba(196, 125, 74, 0.12);
  box-shadow: 0 20px 60px rgba(196, 125, 74, 0.08);
}

.faience-page .fai-stat-card:hover {
  box-shadow: 0 24px 50px rgba(196, 125, 74, 0.16);
}

.faience-page .fai-stat-icon {
  background: linear-gradient(135deg, var(--gf-faience), #9a5f38);
}

.faience-page .fai-space-card:hover {
  border-color: rgba(196, 125, 74, 0.35);
  box-shadow: 0 20px 50px rgba(196, 125, 74, 0.12);
}

.faience-page .fai-space-card:hover .fai-space-icon {
  background: var(--gf-faience);
}

.faience-page .fai-space-icon {
  background: var(--gf-faience-soft);
  color: var(--gf-faience);
}

.faience-page .fai-catalogues-inner {
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(196, 125, 74, 0.08);
  border-color: rgba(196, 125, 74, 0.1);
}

.faience-page .fai-catalogue-year {
  color: var(--gf-faience);
}

.faience-page .fai-filter-btn:hover,
.faience-page .fai-filter-btn.active {
  background: var(--gf-faience);
  border-color: var(--gf-faience);
}

.faience-page .fai-search-count {
  color: var(--gf-faience);
}

.faience-page .fai-product-size {
  color: var(--gf-faience);
  background: var(--gf-faience-soft);
}

.faience-page .fai-cta-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1a1210 0%, #2a1f18 50%, #1a2a38 100%);
  border-color: rgba(196, 125, 74, 0.15);
}

/* ── Qui sommes-nous / Notre histoire ── */
.about-page .gf-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-page .gf-section .container {
  position: relative;
  z-index: 2;
}

.about-page .page-header.gf-section--page-header {
  position: relative;
}

.gf-shapes--about-hero .gf-shape-circle {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 72%);
}

.gf-shapes--about-hero .gf-shape-wave {
  border-color: rgba(255, 255, 255, 0.18);
}

.gf-shapes--about-intro .gf-shape-ring {
  border-style: dashed;
}

.gf-shapes--about-approach .gf-shape-blob {
  border-radius: 52% 48% 42% 58% / 58% 42% 52% 48%;
}

.about-page .about-us.gf-section--about-intro {
  background: #ffffff;
}

.about-page .our-approach.gf-section--about-approach {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%);
}

/* ── Armatures ── */
.armatures-page .gf-section > .container {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════ */
.contact-page .gf-section > .container {
  position: relative;
  z-index: 2;
}

/* Barres infos rapides */
.contact-quick-info {
  background: #fff;
  padding: 0 0 0;
  margin-top: -2px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid rgba(0,0,0,.07);
  transition: background 0.2s;
}

.contact-quick-card:last-child { border-right: none; }
.contact-quick-card:hover { background: #f4f8fc; }

.contact-quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gf-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gf-accent);
  flex-shrink: 0;
}

.contact-quick-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
  margin-bottom: 3px;
}

.contact-quick-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gf-dark);
  text-decoration: none;
}

a.contact-quick-value:hover { color: var(--gf-accent); }

/* Offices */
.contact-offices {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%);
}

.contact-office-card {
  background: #fff;
  border-radius: var(--gf-radius);
  padding: 36px;
  display: flex;
  gap: 24px;
  box-shadow: var(--gf-shadow);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 72px rgba(6,8,12,.14);
}

.contact-office-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gf-accent) 0%, #0d6bbf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

.contact-office-icon--faience {
  background: linear-gradient(135deg, #c47d4a 0%, #8a4e2b 100%);
}

.contact-office-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gf-dark);
  margin-bottom: 12px;
}

.contact-office-address {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-office-address i { color: var(--gf-accent); margin-top: 2px; flex-shrink: 0; }

.contact-office-phones {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-office-phones li {
  font-size: 13px;
  color: #666;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-office-phones li:last-child { border-bottom: none; }
.contact-office-phones i { color: var(--gf-accent); width: 14px; flex-shrink: 0; }

/* Maps */
.contact-maps { background: #fff; padding: 60px 0; }

.contact-map-wrap {
  background: #f4f8fc;
  border-radius: var(--gf-radius);
  overflow: hidden;
  box-shadow: var(--gf-shadow);
}

.contact-map-label {
  background: var(--gf-dark);
  color: #fff;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-map-label i { color: var(--gf-accent); }

.contact-maps .google-map-iframe iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: none;
}

/* ═══════════════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════════════ */
.services-page .gf-section > .container {
  position: relative;
  z-index: 2;
}

/* Barre stats */
.services-stats-bar {
  background: var(--gf-dark);
  padding: 32px 0;
}

.services-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.services-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.1);
  gap: 6px;
}

.services-stat-item:last-child { border-right: none; }

.services-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(27,142,233,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gf-accent);
  margin-bottom: 6px;
}

.services-stat-item strong {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.services-stat-item span {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Intro services */
.gf-section--services-intro { background: #fff; }

.services-intro-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--gf-accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(27,142,233,.35);
  z-index: 5;
}

.about-us-image-box { position: relative; }

.services-intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.services-intro-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gf-dark);
}

.services-intro-highlight i { color: #22c55e; font-size: 15px; }

/* Cards services modernisées */
.gf-section--services-grid { background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%); }

.gf-service-card {
  background: #fff;
  border-radius: var(--gf-radius);
  overflow: hidden;
  box-shadow: var(--gf-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}

.gf-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(6,8,12,.16);
}

.gf-service-card-image {
  position: relative;
  overflow: hidden;
}

.gf-service-card-image figure { margin: 0; }

.gf-service-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gf-service-card:hover .gf-service-card-image img { transform: scale(1.06); }

.gf-service-card-num {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: var(--gf-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf-service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gf-service-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gf-dark);
  margin: 0;
}

.gf-service-card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* CTA services */
.services-cta .services-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.services-cta h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.services-cta p { color: rgba(255,255,255,.7); font-size: 16px; margin: 0; }

/* ═══════════════════════════════════════════════════
   QUALITÉ PAGE
═══════════════════════════════════════════════════ */
.quality-page .gf-section > .container {
  position: relative;
  z-index: 2;
}

/* Bannière ISO */
.quality-banner { background: #fff; padding: 48px 0; }

.quality-banner-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
  border: 1px solid rgba(27,142,233,.15);
  border-radius: var(--gf-radius);
  padding: 36px 44px;
}

.quality-banner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--gf-accent);
  color: #fff;
  border-radius: 18px;
  padding: 20px 28px;
  text-align: center;
  flex-shrink: 0;
}

.quality-banner-badge i { font-size: 28px; }
.quality-banner-badge span { font-size: 14px; font-weight: 800; letter-spacing: .04em; }

.quality-banner-inner p {
  flex: 1;
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin: 0;
}

.quality-banner-years {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  flex-shrink: 0;
  border-left: 2px solid rgba(27,142,233,.2);
  padding-left: 40px;
}

.quality-banner-years strong {
  font-size: 36px;
  font-weight: 900;
  color: var(--gf-accent);
  line-height: 1;
}

.quality-banner-years span { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .06em; }

/* Badge ISO sur image */
.quality-intro-iso-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 48px rgba(6,8,12,.18);
  z-index: 5;
}

.quality-intro-iso-badge i { font-size: 28px; color: var(--gf-accent); }
.quality-intro-iso-badge strong { display: block; font-size: 15px; font-weight: 800; color: var(--gf-dark); }
.quality-intro-iso-badge span { display: block; font-size: 12px; color: #888; }

.gf-section--quality-intro { background: #fff; }
.gf-section--quality-engagements { background: linear-gradient(180deg, #f4f8fc 0%, #eef3f8 100%); }

/* Cards qualité */
.quality-card {
  background: #fff;
  border-radius: var(--gf-radius);
  padding: 36px;
  box-shadow: var(--gf-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid transparent;
}

.quality-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 72px rgba(6,8,12,.14);
  border-top-color: var(--gf-accent);
}

.quality-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--gf-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gf-accent);
}

.quality-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gf-dark);
  margin: 0 0 8px;
}

.quality-card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

.quality-card-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: 12px;
}

.quality-card-list li {
  font-size: 13px;
  color: #555;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quality-card-list i { color: #22c55e; font-size: 12px; }

/* CTA qualité */
.quality-cta .quality-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.quality-cta-text { flex: 1; }
.quality-cta-text h2 { font-size: clamp(22px, 2.8vw, 36px); font-weight: 800; color: #fff; margin: 8px 0; }
.quality-cta-text p { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }

.gf-shapes--contact-hero .gf-shape-circle,
.gf-shapes--services-hero .gf-shape-circle,
.gf-shapes--quality-hero .gf-shape-circle {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 72%);
}

.gf-shapes--contact-hero .gf-shape-wave,
.gf-shapes--services-hero .gf-shape-arc,
.gf-shapes--quality-hero .gf-shape-ring {
  border-color: rgba(255,255,255,.18);
}

/* ═══════════════════════════════════════════════════
   PAGE GÉNÉRIQUE
═══════════════════════════════════════════════════ */
.generic-page .gf-section > .container { position: relative; z-index: 2; }

.generic-page-content {
  background: #fff;
  padding: 80px 0 100px;
}

.generic-page-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.generic-page-body h1,
.generic-page-body h2,
.generic-page-body h3 {
  color: var(--gf-dark);
  font-weight: 700;
  margin-top: 1.8em;
}

.generic-page-body img {
  border-radius: var(--gf-radius);
  max-width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  .contact-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .services-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-banner-inner { flex-wrap: wrap; }
  .quality-banner-years { border-left: none; padding-left: 0; border-top: 2px solid rgba(27,142,233,.2); padding-top: 20px; width: 100%; flex-direction: row; align-items: center; gap: 12px; }
  .quality-cta .quality-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 991px) {
  .gf-cta-band {
    padding: 32px 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .gf-section--stats {
    margin-top: -40px;
  }

  .contact-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-quick-card { border-bottom: 1px solid rgba(0,0,0,.07); }
  .services-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-stat-item { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 767px) {
  .gf-hero-slider,
  .gf-hero-slide {
    min-height: clamp(420px, 72vh, 620px);
    padding: 110px 0 72px;
  }

  .faience-page .fai-hero .gf-hero-slider,
  .faience-page .fai-hero .gf-hero-slide,
  .metallurgique-page .met-hero.gf-section--hero .gf-hero-slider,
  .metallurgique-page .met-hero.gf-section--hero .gf-hero-slide {
    min-height: clamp(420px, 72vh, 620px);
  }

  .gf-hero-slide {
    padding: 120px 0 80px;
  }

  .gf-slider-nav {
    bottom: 64px;
  }

  .gf-volet-card {
    min-height: 360px;
  }

  .gf-cta-band {
    padding: 32px 24px;
  }

  .contact-quick-grid { grid-template-columns: 1fr; }
  .contact-quick-card { border-right: none; border-bottom: 1px solid rgba(0,0,0,.07); }
  .contact-office-card { flex-direction: column; }
  .services-stats-grid { grid-template-columns: 1fr; }
  .quality-banner-inner { padding: 24px; gap: 24px; }
  .quality-banner-badge { flex-direction: row; padding: 14px 20px; }
  .gf-service-card-image img { height: 180px; }
}

@media (hover: none), (pointer: coarse) {
  .cb-cursor,
  .cb-cursor-text {
    display: none !important;
  }
}
