/* ═══════════════════════════════════════════════════════════════
   PAGE À PAGE SÀRL — Design System
   Style : Apple / Swiss Design / Luxury Monochrome
   Palette : Noir · Blanc · Gris Acier
   Typographie : Inter (ultralight–medium)
   ═══════════════════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────────────────── */
:root {
  /* Couleurs — Monochrome strict */
  --noir:          #0a0a0a;
  --noir-doux:     #111111;
  --gris-fonce:    #1c1c1e;
  --gris-moyen:    #3a3a3c;
  --gris-acier:    #636366;
  --gris-clair:    #aeaeb2;
  --gris-pale:     #e5e5ea;
  --gris-bg:       #f5f5f7;
  --blanc:         #ffffff;

  /* Accent unique — cuir/or (discret) */
  --or:            #c8a96e;
  --or-pale:       rgba(200,169,110,0.15);
  --terre:         #a0785a;
  --terre-clair:   #c4a07c;

  /* Dark mode contact */
  --dark-bg:       #0d0d0d;
  --dark-surface:  #1a1a1a;
  --dark-border:   #2a2a2a;
  --dark-text:     #e5e5e5;
  --dark-muted:    #8e8e93;

  /* Glassmorphism */
  --glass-bg:      rgba(255,255,255,0.07);
  --glass-border:  rgba(255,255,255,0.12);
  --glass-blur:    20px;

  /* Typography */
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Spacing */
  --max-w:         1160px;
  --pad-section:   clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 2rem);
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;

  /* Transitions */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--noir);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }
figure  { margin: 0; }

/* ─── TYPOGRAPHIE ────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

/* ─── UTILITAIRES ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: var(--pad-section);
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 1.25rem;
}

.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.section-header h2 {
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: var(--gris-acier);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}


/* ─── ANIMATIONS SCROLL : FADE-IN ───────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

/* Hero reveal (animé au chargement) */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.9s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════════════════════
   HEADER — GLASSMORPHISM STICKY
   ═══════════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: transparent;
  transition:
    background   0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow   0.5s var(--ease);
}

/* Glassmorphism — fond sombre (hero, contact dark, footer) */
#header.glass {
  background: rgba(10, 10, 10, 0.65);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

/* Glassmorphism — fond clair (atelier, savoir-faire, services) */
#header.glass-light {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.navbar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease), opacity 0.3s;
}

#header.glass-light .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--blanc);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

#header.glass-light .nav-links a { color: var(--gris-fonce); }
#header.glass-light .nav-links a::after { background: var(--gris-fonce); }

.nav-cta {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--terre-clair);
  border-radius: 100px;
  font-size: 0.82rem !important;
  color: var(--terre-clair) !important;
  transition: background 0.25s, border-color 0.25s, color 0.25s !important;
}

.nav-cta:hover {
  background: var(--terre-clair);
  border-color: var(--terre-clair);
  color: var(--noir) !important;
}

#header.glass-light .nav-cta {
  border-color: var(--terre);
  color: var(--terre) !important;
}

#header.glass-light .nav-cta:hover {
  background: var(--terre);
  border-color: var(--terre);
  color: var(--blanc) !important;
}

.nav-cta::after { display: none !important; }

/* Burger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  width: 36px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--blanc);
  transition: transform 0.3s var(--ease), opacity 0.3s, width 0.3s var(--ease), background 0.3s;
}

.nav-toggle span:nth-child(1) { width: 100%; }
.nav-toggle span:nth-child(2) { width: 70%; align-self: flex-end; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  width: 100%;
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 100%;
  align-self: auto;
}

#header.glass-light .nav-toggle span { background: var(--noir); }


/* ═══════════════════════════════════════════════════════════════
   HERO — PLEIN ÉCRAN + PARALLAX
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--noir);
}

.hero-parallax {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
  will-change: transform;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.50) 40%,
    rgba(0,0,0,0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanc);
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
  max-width: 820px;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terre-clair);
  margin-bottom: 1.5rem;
}

.hero-headline {
  margin-bottom: 1.25rem;
  color: var(--blanc);
}

.hero-headline span {
  display: block;
  color: var(--terre-clair);
  font-style: italic;
  font-weight: 200;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border: 1px solid var(--terre-clair);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--blanc);
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s;
}

.hero-cta:hover {
  background: var(--terre-clair);
  border-color: var(--terre-clair);
  color: var(--noir);
}

/* Indicateur de scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--terre-clair), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 02 — L'ATELIER
═══════════════════════════════════════════════════════════════ */
.atelier-section {
  background: var(--blanc);
}

.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.atelier-text .section-eyebrow { margin-bottom: 1rem; }

.atelier-text h2 {
  margin-bottom: 2rem;
  color: var(--noir);
}

.atelier-body p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--gris-acier);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.atelier-body strong { font-weight: 500; color: var(--gris-fonce); }

/* Table de credentials style Apple */
.atelier-credentials {
  margin-top: 2.5rem;
  border-top: 1px solid var(--gris-pale);
}

.atelier-credentials li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gris-pale);
}

.credential-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terre);
  min-width: 80px;
  flex-shrink: 0;
}

.credential-value {
  font-size: 0.9rem;
  color: var(--gris-moyen);
  font-weight: 300;
}

/* Images */
.atelier-visual {
  display: grid;
  gap: 1rem;
}

.atelier-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.atelier-figure-small {
  max-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
}

.atelier-figure-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 03 — SAVOIR-FAIRE & MATÉRIAUX
═══════════════════════════════════════════════════════════════ */
.savoir-section {
  background: var(--gris-bg);
}

.savoir-section .section-header {
  text-align: left;
}

.savoir-section .section-intro {
  margin: 0;
  text-align: left;
}

/* Grille à 3 colonnes style Apple */
.grid-matieres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gris-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.matiere-card {
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}

.matiere-card:hover { background: var(--gris-bg); }

.matiere-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.matiere-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: grayscale(20%);
}

.matiere-card:hover .matiere-visual img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.matiere-body {
  padding: 1.75rem 1.75rem 2.25rem;
  flex: 1;
}

.matiere-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 0.6rem;
}

.matiere-body h3 {
  color: var(--noir);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.matiere-body p {
  font-size: 0.88rem;
  color: var(--gris-acier);
  line-height: 1.75;
  font-weight: 300;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 04 — SERVICES
═══════════════════════════════════════════════════════════════ */
.services-section {
  background: var(--blanc);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  border: 1px solid var(--gris-pale);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  transition:
    box-shadow 0.35s var(--ease),
    transform   0.35s var(--ease),
    border-color 0.35s;
}

.service-card:hover {
  box-shadow:
    0 2px  4px  rgba(0,0,0,0.03),
    0 8px  24px rgba(0,0,0,0.08),
    0 20px 48px rgba(0,0,0,0.05);
  transform: translateY(-4px);
  border-color: var(--gris-clair);
}

.service-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gris-bg);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: grayscale(15%);
}

.service-card:hover .service-img img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.service-content {
  padding: 2rem 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--terre);
  margin-bottom: 0.75rem;
}

.service-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--noir);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.service-content > p {
  font-size: 0.9rem;
  color: var(--gris-acier);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.service-details {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-details li {
  font-size: 0.82rem;
  color: var(--gris-moyen);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
}

.service-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gris-clair);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 05 — REF:BIND — BOUTIQUE EN LIGNE
═══════════════════════════════════════════════════════════════ */
.refbind-section {
  background: var(--gris-bg);
}

.refbind-section .section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.refbind-section .section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.refbind-subtitle {
  display: block;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0;
  color: var(--terre);
  margin-top: 0.25rem;
}

/* Grille produits */
.refbind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.refbind-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.35s var(--ease),
    transform   0.35s var(--ease);
}

.refbind-card:hover {
  box-shadow:
    0 2px  4px  rgba(0,0,0,0.03),
    0 8px  24px rgba(0,0,0,0.08),
    0 20px 48px rgba(0,0,0,0.05);
  transform: translateY(-4px);
}

.refbind-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.refbind-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: grayscale(15%);
}

.refbind-card:hover .refbind-visual img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.refbind-card figcaption {
  padding: 1.5rem 1.75rem 2rem;
}

.refbind-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 0.5rem;
}

.refbind-card figcaption h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--noir);
}

/* CTA Boutique */
.refbind-cta-wrapper {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.refbind-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--noir);
  color: var(--blanc);
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease), box-shadow 0.3s;
}

.refbind-cta:hover {
  background: var(--gris-fonce);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.refbind-cta svg {
  transition: transform 0.3s var(--ease);
}

.refbind-cta:hover svg {
  transform: translate(2px, -2px);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 06 — CONTACT & ACCÈS (DARK MODE)
   ═══════════════════════════════════════════════════════════════
   Fond sombre pour contraster avec les sections blanches.
   Formulaire épuré avec lignes seules (pas de cadres).
   Carte stylisée noir et blanc (via filtre CSS sur l'iframe).
═══════════════════════════════════════════════════════════════ */
.contact-section {
  background: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
}

.contact-section h2 {
  color: var(--blanc);
  margin-bottom: 1.5rem;
}

.contact-section .section-eyebrow {
  color: var(--terre-clair);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--dark-muted);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-item svg {
  color: var(--terre-clair);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-item strong {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terre-clair);
}

.contact-item span {
  font-size: 0.9rem;
  color: var(--dark-muted);
  font-weight: 300;
}

.contact-item a {
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--terre-clair);
}

/* Carte stylisée noir et blanc */
.map-wrapper {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--dark-border);
  transition: box-shadow 0.3s;
}

.map-wrapper:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* ─── FORMULAIRE DARK — Lignes seules, pas de cadres ────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--dark-surface);
  padding: 2.75rem 2.5rem 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-border);
}

.form-field {
  position: relative;
  padding-top: 1.5rem;
  border-bottom: 1px solid var(--dark-border);
  transition: border-color 0.3s;
}

.form-field:focus-within {
  border-color: var(--terre-clair);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  color: var(--dark-text);
  padding: 0.5rem 0 0.85rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.form-field select option {
  background: var(--dark-surface);
  color: var(--dark-text);
}

.form-field label {
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--dark-muted);
  pointer-events: none;
  transition: transform 0.3s var(--ease), font-size 0.3s var(--ease), color 0.3s;
  transform-origin: left top;
}

/* Floating label : monte au focus ou quand rempli */
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-1.35rem) scale(0.78);
  color: var(--terre-clair);
}

/* Select : le label reste toujours en haut (pas de placeholder-shown) */
.form-field select ~ label {
  transform: translateY(-1.35rem) scale(0.78);
  color: var(--dark-muted);
}

.form-field select:focus ~ label {
  color: var(--terre-clair);
}

.form-field--area {
  margin-top: 0.5rem;
}

.form-field textarea {
  resize: none;
  min-height: 100px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  margin-top: 2.5rem;
  padding: 0.9rem 2.25rem;
  background: var(--blanc);
  color: var(--noir);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
}

.form-submit:hover {
  background: var(--gris-pale);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--dark-muted);
  font-weight: 300;
  opacity: 0.6;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER — NOIR PROFOND
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--noir);
  padding: 3rem clamp(1.25rem, 4vw, 2rem);
  border-top: 1px solid var(--dark-border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.4;
  transition: opacity 0.2s;
}

.footer-logo:hover img { opacity: 0.8; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 2rem;
}

.footer-nav a {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--terre-clair); }

.footer-copy {
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  font-weight: 300;
  text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLETTE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-matieres {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }

  .refbind-grid {
    grid-template-columns: 1fr 1fr;
  }

  .refbind-grid .refbind-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }
}

@media (max-width: 860px) {
  .atelier-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .atelier-visual { order: -1; }

  .atelier-figure img    { height: auto; }
  .atelier-figure-small img { height: auto; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .map-wrapper { margin-top: 2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Nav burger */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.6rem !important;
    font-weight: 200 !important;
    color: var(--blanc) !important;
    letter-spacing: -0.01em !important;
  }

  .nav-cta {
    border-color: var(--terre-clair) !important;
    color: var(--terre-clair) !important;
    padding: 0.6rem 1.5rem !important;
  }

  /* Formulaire contact */
  .contact-form {
    padding: 1.75rem 1.5rem 2rem;
  }

  /* Grilles */
  .grid-matieres {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }

  .refbind-grid {
    grid-template-columns: 1fr;
  }

  .refbind-grid .refbind-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }

  /* Hero */
  .hero-headline {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-copy { text-align: left; }
}
