/* =========================================================================
   PROJET FER — Feuille de style unique (charte v2)
   Site vitrine statique, multi-pages, HTML/CSS vanilla.
   Contenu texte = docx validé client. Aucune dépendance JS externe.

   -------------------------------------------------------------------------
   PORTABILITÉ iPaoo / UIkit (reprise plateforme v3 par Jonathan)
   Chaque motif ci-dessous a un équivalent UIkit direct :
     .section              -> uk-section (+ uk-section-muted pour .section-alt)
     .container            -> uk-container
     .grid-2 / .grid-3 / .grid-4 -> uk-grid + uk-child-width-1-2/1-3/1-4@m
     .pf-btn-primary       -> uk-button uk-button-primary
     .pf-btn-secondary     -> uk-button uk-button-default
     .pf-card              -> uk-card uk-card-default uk-card-body
     .pf-field             -> uk-input / uk-textarea / uk-select
     .site-header (sticky) -> uk-sticky + uk-navbar
     .gallery-filters      -> uk-subnav (filtre) / composant uk-filter
     .lightbox             -> uk-lightbox / uk-modal-full
   Les couleurs, tailles et espacements viennent des tokens --pf-* : il suffit
   de recâbler ces tokens sur le thème YOOtheme pour retrouver l'aspect.
   ========================================================================= */

/* ------------------ Webfonts (Google Fonts, self-hostables plus tard) ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Jura:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* =========================================================================
   1. TOKENS — Couleurs / Type / Espacements / Élévation
   (repris à l'identique du design system 03-Design system/colors_and_type.css)
   ========================================================================= */
:root {
  /* Couleurs de marque (palette logo) */
  --pf-teal:          #109098;   /* PRIMAIRE — logo, CTA, liens, accents */
  --pf-teal-dark:     #0C7177;   /* hover */
  --pf-teal-soft:     #D6EAEB;   /* tint — chips, hover-bg */

  --pf-sage:          #90B088;   /* SECONDAIRE */
  --pf-sage-dark:     #6E9166;
  --pf-sage-soft:     #E4EDDF;

  --pf-gold:          #B89040;   /* ACCENT — losange ◆, filets */
  --pf-gold-soft:     #D4B878;
  --pf-gold-tint:     #F0E6CE;

  --pf-ink:           #15242C;   /* titres, footer */
  --pf-ink-2:         #3B4763;   /* texte secondaire */
  --pf-ink-3:         #6B7280;   /* meta */

  --pf-stone:         #F5F4F0;   /* fond de page */
  --pf-stone-2:       #ECEAE2;   /* surface alt */
  --pf-line:          #E3E0D6;   /* filets */
  --pf-ivory:         #FAF7F0;   /* fond papier */
  --pf-white:         #FFFFFF;

  /* alias legacy cuivre -> teal (composants existants) */
  --pf-copper:        var(--pf-teal);
  --pf-copper-dark:   var(--pf-teal-dark);
  --pf-copper-soft:   var(--pf-teal-soft);

  /* Sémantique */
  --pf-bg:            var(--pf-stone);
  --pf-surface:       var(--pf-white);
  --pf-surface-alt:   var(--pf-stone-2);
  --pf-fg-1:          var(--pf-ink);
  --pf-fg-2:          var(--pf-ink-2);
  --pf-fg-3:          var(--pf-ink-3);
  --pf-fg-on-dark:    #F5F4F0;
  --pf-link:          var(--pf-teal);
  --pf-link-hover:    var(--pf-teal-dark);
  --pf-cta-bg:        var(--pf-teal);
  --pf-cta-bg-hover:  var(--pf-teal-dark);
  --pf-focus-ring:    rgba(16, 144, 152, 0.35);
  --pf-error:         #B91C1C;

  /* Typographie — familles */
  --pf-font-sans:     'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pf-font-display:  'Manrope', 'Inter', ui-sans-serif, sans-serif;
  --pf-font-logo:     'Jura', 'Inter', ui-sans-serif, sans-serif;

  /* Typographie — échelle */
  --pf-text-xs:    0.75rem;
  --pf-text-sm:    0.875rem;
  --pf-text-base:  1rem;
  --pf-text-lg:    1.125rem;
  --pf-text-xl:    1.375rem;
  --pf-text-2xl:   1.75rem;
  --pf-text-3xl:   2.25rem;
  --pf-text-4xl:   3rem;
  --pf-text-5xl:   4rem;
  --pf-text-6xl:   5.5rem;

  --pf-lh-tight:   1.1;
  --pf-lh-snug:    1.25;
  --pf-lh-base:    1.55;
  --pf-lh-loose:   1.75;
  --pf-tracking-eyebrow: 0.14em;
  --pf-w-medium:   500;
  --pf-w-semibold: 600;

  /* Espacements (base 8px) */
  --pf-s-1: 4px;  --pf-s-2: 8px;  --pf-s-3: 12px; --pf-s-4: 16px;
  --pf-s-5: 24px; --pf-s-6: 32px; --pf-s-7: 48px; --pf-s-8: 64px;
  --pf-s-9: 96px; --pf-s-10: 144px;

  /* Rayons */
  --pf-r-sm: 4px; --pf-r-md: 8px; --pf-r-lg: 14px; --pf-r-xl: 22px; --pf-r-pill: 999px;

  /* Élévation */
  --pf-shadow-xs:  0 1px 2px   rgba(31, 42, 68, 0.06);
  --pf-shadow-sm:  0 2px 6px   rgba(31, 42, 68, 0.07);
  --pf-shadow-md:  0 8px 24px  rgba(31, 42, 68, 0.08);
  --pf-shadow-lg:  0 18px 40px rgba(31, 42, 68, 0.10);

  /* Layout */
  --pf-container:       1200px;
  --pf-container-tight: 880px;
  --pf-gutter:          clamp(20px, 4vw, 48px);
  --pf-section-y:       clamp(64px, 9vw, 128px);

  /* Motion */
  --pf-ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --pf-ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --pf-dur-fast:  120ms;
  --pf-dur-base:  220ms;
}

/* =========================================================================
   2. RESET + BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--pf-stone);
  color: var(--pf-ink);
  font-family: var(--pf-font-sans);
  font-size: 16px;
  line-height: var(--pf-lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--pf-ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--pf-r-md) 0; font-size: 14px; font-weight: 500;
}
.skip-link:focus { left: 0; }

/* Respect de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   3. LAYOUT
   ========================================================================= */
.container       { max-width: var(--pf-container); margin: 0 auto; padding: 0 var(--pf-gutter); }
.container-tight { max-width: var(--pf-container-tight); margin: 0 auto; padding: 0 var(--pf-gutter); }
.section         { padding: var(--pf-section-y) 0; }
.section-alt     { background: var(--pf-ivory); }
.section-ink     { background: var(--pf-ink); color: var(--pf-stone); }
.section-tight   { padding: clamp(48px, 6vw, 80px) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--pf-s-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pf-s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pf-s-5); }
.stack-lg > * + * { margin-top: var(--pf-s-5); }

.pf-paper {
  background:
    radial-gradient(140% 90% at 50% 0%, rgba(180,83,9,0.025), transparent 55%),
    linear-gradient(180deg, #FAF7F0 0%, #F5F4F0 100%);
}

/* =========================================================================
   4. TYPOGRAPHIE — styles sémantiques
   ========================================================================= */
h1, h2, h3, h4 { font-family: var(--pf-font-display); color: var(--pf-ink); margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.pf-h1 { font-family: var(--pf-font-display); font-weight: 300; font-size: clamp(38px, 5vw, 62px); line-height: 1.12; letter-spacing: -0.015em; }
.pf-h2 { font-family: var(--pf-font-display); font-weight: 300; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; letter-spacing: -0.012em; }
.pf-h3 { font-family: var(--pf-font-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: -0.005em; }
.pf-h4 { font-family: var(--pf-font-display); font-weight: 500; font-size: var(--pf-text-2xl); line-height: 1.3; }
.pf-h5 { font-family: var(--pf-font-display); font-weight: 500; font-size: var(--pf-text-xl); line-height: 1.3; }

.pf-em { font-family: var(--pf-font-display); font-style: normal; font-weight: 600; color: var(--pf-teal); }
.pf-em-gold { color: var(--pf-gold-soft); }

.pf-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: var(--pf-tracking-eyebrow); text-transform: uppercase;
  color: var(--pf-teal); margin: 0 0 var(--pf-s-4);
}
.pf-eyebrow::before { content: "✦"; font-size: 12px; line-height: 1; color: var(--pf-gold); }
.section-ink .pf-eyebrow { color: var(--pf-gold-soft); }
.section-ink .pf-eyebrow::before { color: var(--pf-gold-soft); }

.pf-lead   { font-size: var(--pf-text-lg); line-height: var(--pf-lh-loose); color: var(--pf-fg-2); }
.pf-body   { font-size: var(--pf-text-base); line-height: var(--pf-lh-base); color: var(--pf-fg-2); }
.section-ink .pf-lead, .section-ink .pf-body { color: rgba(245,244,240,0.86); }

.pf-link {
  color: var(--pf-link); border-bottom: 1px solid currentColor;
  transition: color var(--pf-dur-fast) var(--pf-ease);
}
.pf-link:hover { color: var(--pf-link-hover); }

/* Filet + losange central ◆ (rappel logo) */
.pf-divider-motif { display: flex; align-items: center; gap: 16px; color: var(--pf-gold); }
.pf-divider-motif::before, .pf-divider-motif::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pf-line) 30%, var(--pf-line) 70%, transparent);
}
.pf-divider-motif > span { font-size: 14px; line-height: 1; color: var(--pf-gold); letter-spacing: 0.4em; }

/* =========================================================================
   5. BOUTONS
   ========================================================================= */
.pf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--pf-font-sans);
  font-size: 14.5px; font-weight: 500; line-height: 1;
  padding: 16px 28px; min-height: 48px; border-radius: 999px;
  border: none; cursor: pointer; letter-spacing: 0.02em; text-decoration: none;
  transition: background var(--pf-dur-base) var(--pf-ease),
              color var(--pf-dur-base) var(--pf-ease),
              transform var(--pf-dur-base) var(--pf-ease),
              box-shadow var(--pf-dur-base) var(--pf-ease);
}
.pf-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--pf-focus-ring); }
.pf-btn-primary { background: var(--pf-teal); color: #fff; box-shadow: var(--pf-shadow-xs); }
.pf-btn-primary:hover { background: var(--pf-teal-dark); transform: translateY(-1px); box-shadow: var(--pf-shadow-sm); }
.pf-btn-primary:active { transform: translateY(0); }
.pf-btn-secondary { background: transparent; color: var(--pf-ink); box-shadow: inset 0 0 0 1.5px var(--pf-ink); }
.pf-btn-secondary:hover { background: var(--pf-stone-2); }
.pf-btn-on-dark { background: transparent; color: var(--pf-stone); box-shadow: inset 0 0 0 1.5px var(--pf-stone); }
.pf-btn-on-dark:hover { background: rgba(245,244,240,0.10); }
.pf-btn-ghost { background: transparent; color: var(--pf-teal); padding: 14px 8px; min-height: 44px; }
.pf-btn-ghost:hover { color: var(--pf-teal-dark); }
.pf-btn-sm { font-size: 13px; padding: 11px 20px; min-height: 40px; }
.pf-btn svg { flex: 0 0 auto; }

/* =========================================================================
   6. CARTES
   ========================================================================= */
.pf-card {
  background: var(--pf-white); border-radius: var(--pf-r-md);
  box-shadow: var(--pf-shadow-sm); overflow: hidden;
  transition: transform var(--pf-dur-base) var(--pf-ease), box-shadow var(--pf-dur-base) var(--pf-ease);
}
.pf-card:hover { transform: translateY(-2px); box-shadow: var(--pf-shadow-lg); }

/* Carte prestation (numéro + titre + desc + liste) */
.pf-service { padding: 28px 26px; display: flex; flex-direction: column; height: 100%; }
.pf-service .pf-service-num {
  font-family: var(--pf-font-display); font-weight: 300; font-size: 40px;
  line-height: 1; color: var(--pf-teal); letter-spacing: -0.03em; margin-bottom: 14px;
}
.pf-service h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.pf-service ul { margin: 14px 0 0; padding: 0 0 0 18px; }
.pf-service li { font-size: 14px; color: var(--pf-fg-2); margin-bottom: 6px; }

/* Numéro de process (grand, teal) */
.pf-process-num {
  font-family: var(--pf-font-display); font-weight: 300; font-size: 56px;
  line-height: 1; color: var(--pf-teal); letter-spacing: -0.03em;
}

/* Carte « valeur » — picto (linework fin, esprit fer forgé) à GAUCHE du titre */
.pf-value-card { padding: 30px 28px; height: 100%; }
.pf-value-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pf-value-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px; background: var(--pf-teal-soft); color: var(--pf-teal);
}
.pf-value-ico svg { width: 24px; height: 24px; }
.pf-value-head h3 { font-size: 21px; font-weight: 600; color: var(--pf-ink); margin: 0; line-height: 1.2; }
/* variante sans carte (bloc « pourquoi choisir » sur fond clair) */
.pf-value-plain .pf-value-ico { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pf-teal-soft); }

/* =========================================================================
   7. FORMULAIRES
   ========================================================================= */
.pf-form { display: grid; gap: var(--pf-s-4); }
.pf-form .pf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pf-s-4); }
.pf-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--pf-ink); margin-bottom: 6px; }
.pf-label .req { color: var(--pf-error); margin-left: 2px; }
.pf-field {
  width: 100%; font-family: var(--pf-font-sans); font-size: 15px;
  padding: 14px 16px; min-height: 48px;
  background: var(--pf-white); border: 1px solid var(--pf-line); border-radius: var(--pf-r-md);
  box-shadow: inset 0 1px 2px rgba(31,42,68,0.04); color: var(--pf-ink); outline: none;
  transition: border-color var(--pf-dur-fast) var(--pf-ease), box-shadow var(--pf-dur-fast) var(--pf-ease);
}
textarea.pf-field { min-height: 130px; resize: vertical; }
.pf-field:focus { border-color: var(--pf-teal); box-shadow: 0 0 0 3px var(--pf-focus-ring), inset 0 1px 2px rgba(31,42,68,0.04); }
.pf-field::placeholder { color: var(--pf-ink-3); }
.pf-help { font-size: 12.5px; color: var(--pf-fg-3); margin-top: 4px; }
/* Message d'état (aria-live), masqué tant que vide */
.pf-form-status { font-size: 14px; font-weight: 500; margin-top: 4px; }
.pf-form-status.is-error { color: var(--pf-error); }
.pf-form-status.is-ok { color: var(--pf-teal-dark); }

/* Carte formulaire (hero accueil / contact) */
.pf-form-card {
  background: var(--pf-white); border-radius: var(--pf-r-lg);
  box-shadow: var(--pf-shadow-lg); padding: clamp(24px, 3vw, 36px);
}
.pf-form-card h2, .pf-form-card .pf-form-title {
  font-family: var(--pf-font-display); font-weight: 500; font-size: 24px; margin: 0 0 6px; color: var(--pf-ink);
}

/* =========================================================================
   8. HEADER (sticky verre) + NAV
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,244,240,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pf-line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 18px;
  padding: 16px var(--pf-gutter);
}
.site-logo { display: inline-flex; align-items: center; margin-right: auto; }
.site-logo img { height: 42px; width: auto; }

/* Téléphone direct dans le bandeau du haut (contact rapide) */
.header-tel {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--pf-teal);
  padding: 9px 12px; border-radius: var(--pf-r-md);
  transition: color var(--pf-dur-fast), background var(--pf-dur-fast);
}
.header-tel svg { width: 18px; height: 18px; }
.header-tel:hover { color: var(--pf-teal-dark); background: var(--pf-teal-soft); }
.header-tel:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--pf-focus-ring); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a.navlink {
  font-size: 14px; font-weight: 500; color: var(--pf-ink); letter-spacing: 0.01em;
  transition: color var(--pf-dur-fast); padding: 6px 0;
}
.site-nav a.navlink:hover { color: var(--pf-teal); }
.site-nav a.navlink[aria-current="page"] { color: var(--pf-teal); border-bottom: 2px solid var(--pf-teal); }

/* Bouton burger (mobile) */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--pf-line);
  background: var(--pf-white); border-radius: var(--pf-r-md); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--pf-ink); }
.nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--pf-focus-ring); }

/* =========================================================================
   9. HERO
   ========================================================================= */
.hero { position: relative; }
.hero-bg {
  position: relative; min-height: 700px;
  background-size: cover; background-position: center 42%;
}
/* Voile sombre à gauche + bas seulement : la photo (métier d'art) reste bien
   visible sur la droite tout en gardant l'accroche lisible. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,5,3,0.80) 0%, rgba(8,5,3,0.42) 46%, rgba(8,5,3,0.04) 100%),
    linear-gradient(180deg, rgba(8,5,3,0.10) 0%, rgba(8,5,3,0.06) 42%, rgba(8,5,3,0.58) 100%);
}
.hero-inner {
  position: relative; z-index: 1; min-height: 700px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 96px; padding-bottom: 92px; color: var(--pf-stone);
}
.hero-inner .hero-copy { max-width: 780px; }
/* Variante accueil : hero en deux colonnes (accroche + carte formulaire) */
.hero-inner.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-inner.hero-grid .hero-copy { max-width: 620px; }
.hero-baseline { font-family: var(--pf-font-display); font-weight: 500; font-size: 22px; line-height: 1.3; color: #8FD3D8; }
.hero h1 { color: var(--pf-stone); font-weight: 300; margin: 22px 0 22px; }
.hero-lead { font-size: 19px; line-height: 1.65; font-weight: 300; color: rgba(245,244,240,0.90); max-width: 640px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Hero secondaire (pages intérieures, sans photo plein cadre) */
.page-hero {
  position: relative; color: var(--pf-stone);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 76px);
  background:
    radial-gradient(130% 150% at 100% 0%, rgba(16,144,152,0.22), transparent 56%),
    var(--pf-ink);
}
.page-hero .pf-h1 { color: var(--pf-stone); }
.page-hero .pf-eyebrow, .page-hero .pf-eyebrow::before { color: var(--pf-gold-soft); }
.page-hero .pf-lead { color: rgba(245,244,240,0.88); }
.page-hero .hero-copy { max-width: 820px; }

/* Bandeau de faits concrets sous le hero accueil (fait + précision utile) */
.pf-reassure {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--pf-ivory); border-block: 1px solid var(--pf-line);
}
.pf-reassure > div { padding: 22px 28px; display: flex; align-items: flex-start; gap: 14px; border-right: 1px solid var(--pf-line); }
.pf-reassure > div:last-child { border-right: none; }
.pf-reassure .ri { color: var(--pf-teal); flex-shrink: 0; display: inline-flex; }
.pf-reassure .ri svg { width: 26px; height: 26px; }
.pf-reassure .rc { display: flex; flex-direction: column; gap: 3px; }
.pf-reassure .rc strong { font-size: 14.5px; font-weight: 600; color: var(--pf-ink); letter-spacing: 0.01em; }
.pf-reassure .rc em { font-style: normal; font-size: 12.5px; color: var(--pf-fg-3); line-height: 1.4; }

/* =========================================================================
   10. GALERIE + FILTRES + LIGHTBOX
   ========================================================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chip {
  font-family: var(--pf-font-sans); font-size: 13px; font-weight: 500; line-height: 1;
  padding: 11px 18px; min-height: 40px; border-radius: 999px; cursor: pointer;
  background: var(--pf-white); color: var(--pf-ink); border: 1px solid var(--pf-line);
  transition: all var(--pf-dur-base) var(--pf-ease);
}
.filter-chip:hover { border-color: var(--pf-teal); color: var(--pf-teal); }
.filter-chip[aria-pressed="true"] { background: var(--pf-ink); color: var(--pf-stone); border-color: var(--pf-ink); }
.filter-chip:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--pf-focus-ring); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in; background: var(--pf-stone-2); }
.project-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--pf-ease-out); }
.project-card:hover .img-wrap img { transform: scale(1.035); }
.project-card .img-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: rgba(16,144,152,0); transition: background var(--pf-dur-base) var(--pf-ease);
}
.project-card:hover .img-wrap::after { background: rgba(16,144,152,0.10); }
.project-card .body { padding: 18px 22px 22px; }
.project-card .type { font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pf-teal); }
.project-card h3 { font-family: var(--pf-font-display); font-size: 21px; font-weight: 500; color: var(--pf-ink); margin: 10px 0 16px; line-height: 1.25; }
.project-card[hidden] { display: none; }

/* Bouton teal « Voir la photo » (coins arrondis) */
.pf-view-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; min-height: 40px; border-radius: 10px;
  background: var(--pf-teal); color: #fff; border: none; cursor: pointer;
  font-family: var(--pf-font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pf-view-btn:hover { background: var(--pf-teal-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16,144,152,0.28); }
.pf-view-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--pf-teal-soft); }

/* Lightbox plein écran (piloté par scripts.js) */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: clamp(16px,4vw,48px);
  background: rgba(8,5,3,0.9); cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 90vh; width: auto; height: auto;
  object-fit: contain; border-radius: var(--pf-r-md); box-shadow: 0 30px 90px rgba(0,0,0,0.55); cursor: default;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox-close:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.5); }

/* =========================================================================
   11. IMAGES ILLUSTRATIVES (avec légende générique + crédit placeholder)
   ========================================================================= */
.pf-figure { margin: 0; border-radius: var(--pf-r-md); overflow: hidden; background: var(--pf-stone-2); box-shadow: var(--pf-shadow-sm); }
.pf-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.pf-figure.tall img { aspect-ratio: 3/4; }
.pf-figure figcaption { font-size: 12px; color: var(--pf-fg-3); padding: 10px 14px; background: var(--pf-white); }

/* Étiquette matière/type sur image (galerie descriptive) */
.pf-photo-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.94); background: rgba(31,42,68,0.5);
  backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px;
}

/* =========================================================
   FAQ — accordéon natif <details>/<summary> (0 JS, accessible)
   Portable UIkit : équivaut à uk-accordion (data-uk-accordion).
   ========================================================= */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--pf-line); }
.faq-item:first-child { border-top: 1px solid var(--pf-line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 4px 22px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  font-family: var(--pf-font-display); font-size: 19px; font-weight: 500;
  color: var(--pf-ink); line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; font-size: 26px; line-height: 1;
  color: var(--pf-teal); font-weight: 300;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--pf-focus-ring); border-radius: 6px; }
.faq-a { padding: 0 40px 26px 0; }
.faq-a p { margin: 0 0 12px; color: var(--pf-fg-2); }
.faq-a p:last-child { margin-bottom: 0; }
/* réponse courte autoportante en tête (extraite par les IA / PAA) */
.faq-a .faq-lead { font-weight: 600; color: var(--pf-ink); }

/* Puce ville (zone d'intervention) */
.pf-city-chip {
  display: inline-block; padding: 7px 14px; background: var(--pf-white);
  border: 1px solid var(--pf-line); border-radius: 999px;
  font-size: 13px; color: var(--pf-ink); font-weight: 500;
}
.city-list { display: flex; flex-wrap: wrap; gap: 10px; }

/* Liste coordonnées (contact / footer) */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--pf-fg-2); }
.contact-list .k { font-weight: 600; color: var(--pf-ink); min-width: 92px; }

/* Étapes numérotées (process) */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step .pf-process-num { margin-bottom: 10px; }
.process-step h3 { font-size: 17px; font-weight: 600; color: var(--pf-ink); margin: 0; }

/* =========================================================================
   12. FOOTER
   ========================================================================= */
.site-footer { background: var(--pf-ink); color: var(--pf-stone); }
.site-footer .inner { padding: 76px var(--pf-gutter) 26px; max-width: var(--pf-container); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 84px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: rgba(245,244,240,0.72); max-width: 290px; line-height: 1.65; }
.footer-col h4 { font-family: var(--pf-font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pf-gold-soft); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 13.5px; color: rgba(245,244,240,0.85); line-height: 1.5; }
.footer-col a:hover { color: var(--pf-gold-soft); }
.footer-bottom {
  margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(245,244,240,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(245,244,240,0.55); letter-spacing: 0.02em;
}
.footer-bottom a:hover { color: rgba(245,244,240,0.9); }

/* =========================================================================
   13. RESPONSIVE (mobile-first ajustements)
   ========================================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  /* Nav mobile : le menu se replie derrière le burger */
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--pf-stone); border-bottom: 1px solid var(--pf-line);
    padding: 8px var(--pf-gutter) 20px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a.navlink { padding: 14px 0; border-bottom: 1px solid var(--pf-line); }
  .site-nav a.navlink[aria-current="page"] { border-bottom: 1px solid var(--pf-line); color: var(--pf-teal); }
  .site-nav .pf-btn { margin-top: 14px; }
  .site-nav .header-tel { display: flex; justify-content: flex-start; padding: 14px 0; border-bottom: 1px solid var(--pf-line); }
  .site-header .bar { position: relative; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pf-reassure { grid-template-columns: 1fr; }
  .pf-reassure > div { border-right: none; border-bottom: 1px solid var(--pf-line); }
  .pf-reassure > div:last-child { border-bottom: none; }
  .pf-form .pf-field-row { grid-template-columns: 1fr; }
  .hero-bg, .hero-inner { min-height: 520px; }
  .hero-lead { font-size: 17px; }
  .hero-inner.hero-grid { grid-template-columns: 1fr; align-items: stretch; }
  .hero-inner.hero-grid .hero-copy { max-width: 100%; }
}
@media (max-width: 560px) {
  .grid-4, .gallery-grid, .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Logo en tête du hero (version blanche du logo complet, sur fond sombre) */
.hero-logo { display: block; width: clamp(180px, 22vw, 250px); height: auto; margin: 0 0 26px; }
@media (max-width: 820px) { .hero-logo { width: clamp(150px, 42vw, 210px); margin-bottom: 20px; } }
