/*
Theme Name: Edgeflow
Theme URI: https://edgeflowart.com
Author: Edgeflow
Description: Thème bloc sur mesure du studio Edgeflow (architecture d'intérieur, œuvres d'art, objets de décoration). Contenu 100 % éditable dans Gutenberg.
Version: 1.0.13
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edgeflow
Tags: block-theme, full-site-editing, portfolio
*/
/* Edgeflow — maquette. Registre : réf. 1 (Poliform), sans accent ; fond beige demandé par le client. */

:root {
  --blanc: #FFFFFF;
  --fond: #F2EDE6;
  --lin: #E6DED2;
  --noir: #000000;
  --gris: #5F5B55;
  --trait: rgba(0, 0, 0, .12);

  --police: 'Plus Jakarta Sans', system-ui, sans-serif;
  --marge: 44px;
  --large: 1352px;
  /* bord du contenu dans un bloc pleine largeur : aligné sur l'enveloppe */
  --bord: max(var(--marge), calc((100% - var(--large)) / 2));
  --rayon: 14px;
  --gouttiere: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--noir);
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { hyphens: none; text-wrap: balance; }

.enveloppe {
  width: 100%;
  max-width: calc(var(--large) + 2 * var(--marge));
  margin: 0 auto;
  padding: 0 var(--marge);
}

/* ---------- boutons, pastilles ---------- */

.bouton > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--noir);
  color: var(--blanc);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.bouton > .wp-block-button__link:hover { background: #333; }
.a-fleche > .wp-block-button__link::after { transition: transform .2s; }
.a-fleche > .wp-block-button__link:hover::after { transform: translateX(3px); }
.bouton--clair > .wp-block-button__link { background: var(--blanc); color: var(--noir); }
.bouton--clair > .wp-block-button__link:hover { background: var(--lin); }

.pastille {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.rond-fleche {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  transition: background .2s, transform .2s;
}
.rond-fleche svg { width: 18px; height: 18px; }
.rond-fleche:hover { background: #333; transform: rotate(45deg); }
.rond-fleche--petit { width: 36px; height: 36px; }
.rond-fleche--petit svg { width: 15px; height: 15px; }

/* carte entièrement cliquable : l'image, le titre et la flèche mènent à la même page */
.carte-lien { color: inherit; cursor: pointer; }
.carte-lien:hover .rond-fleche { background: #333; transform: rotate(45deg); }
.carte-lien:focus-visible { outline: 2px solid var(--noir); outline-offset: 4px; }

/* ---------- en-tête ---------- */



/* ---------- héros (pleine largeur, demandé par le client) ---------- */

.heros {
  position: relative;
  height: clamp(560px, 54.7vw, 780px);
  overflow: hidden;
  isolation: isolate;
}
.heros-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.heros::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 6, .18) 0%, rgba(20, 12, 6, 0) 40%, rgba(20, 12, 6, .38) 100%);
  z-index: -1;
}
.heros-mot {
  position: absolute;
  left: 0;
  right: 0;
  top: 17%;
  text-align: center;
  color: var(--blanc);
  font-size: clamp(56px, 12.4vw, 176px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .22);
}
.heros-carte {
  position: absolute;
  left: var(--bord);
  bottom: 40px;
  display: flex;
  gap: 18px;
  width: min(680px, calc(100% - 56px));
  padding: 16px;
  border-radius: 12px;
  background: rgba(30, 22, 16, .38);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--blanc);
}
.heros-carte-texte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 2px;
}
.heros-carte-texte p:where(:not(.t)) { font-size: 13.5px; line-height: 1.55; max-width: 380px; }
.heros-carte-texte .wp-block-buttons { align-self: flex-start; }
.heros-vignette {
  position: relative;
  flex: 0 0 216px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
}
.heros-vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.heros-vignette:hover img { transform: scale(1.06); }
.heros-vignette span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.heros-vignette span i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--noir);
  font-style: normal;
}
.heros-vignette span svg { width: 16px; height: 16px; }

.heros-badge {
  position: absolute;
  right: var(--bord);
  bottom: 44px;
  width: 168px;
  height: 168px;
  color: var(--blanc);
}
.heros-badge svg { width: 100%; height: 100%; animation: tourne 22s linear infinite; }
.heros-badge text { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; fill: currentColor; }
.heros-badge::after {
  content: '';
  position: absolute;
  inset: 50%;
  width: 54px;
  height: 54px;
  margin: -27px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
}
@keyframes tourne { to { transform: rotate(360deg); } }

/* ---------- encoches (coins rentrants, réf. 1) ---------- */

.encoche {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.encoche > * {
  position: relative;
  background: var(--fond);
  border-top-right-radius: 22px;
}
/* coin rentrant au-dessus du premier étage, contre le bord gauche */
.encoche > :first-child::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 100%;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 100% 0, transparent 21.5px, var(--fond) 22px);
}
/* coin rentrant à droite de chaque étage, posé sur le bas */
.encoche > *::after {
  content: '';
  position: absolute;
  left: 100%;
  bottom: 0;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 100% 0, transparent 21.5px, var(--fond) 22px);
}
.encoche-pastille { padding: 18px 22px 10px 0; }
.encoche-titre { padding: 4px 36px 0 0; }
.encoche-titre h2, .encoche-titre h3 {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.encoche-droite {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 10px 0 0 10px;
  background: var(--fond);
  border-top-left-radius: 22px;
}
.encoche-droite::before, .encoche-droite::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 0 0, transparent 21.5px, var(--fond) 22px);
}
.encoche-droite::before { right: 0; bottom: 100%; }
.encoche-droite::after { right: 100%; bottom: 0; }

/* ---------- grille « bento » ---------- */

.bento {
  display: grid;
  grid-template-columns: 1fr 348px;
  grid-template-rows: 248px 342px;
  gap: var(--gouttiere);
  margin-top: 100px;
}
.bento-grande {
  position: relative;
  grid-row: 1 / 3;
  border-radius: var(--rayon);
  overflow: hidden;
}
.bento-grande img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.bento-grande:hover img { transform: scale(1.03); }
.bento-lin {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--rayon);
  background: var(--lin);
  transition: background .3s;
}
.bento-lin:hover { background: #DDD3C5; }
.bento-lin-haut { display: flex; justify-content: space-between; align-items: center; align-self: stretch; }
.bento-lin p:where(:not(.t)) { font-size: 13px; line-height: 1.5; color: #3d3a37; max-width: 230px; margin-bottom: 10px; }
.bento-lin h3 { font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.bento-photo {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
  color: var(--blanc);
}
.bento-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bento-photo:hover img { transform: scale(1.04); }
.bento-photo-texte {
  position: absolute;
  left: 24px;
  top: 24px;
  right: 24px;
}
.bento-photo-texte p:where(:not(.t)) {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 220px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.bento-photo .pastille { background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }

/* ---------- chiffres ---------- */

.chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1040px;
  margin: 92px auto 0;
  padding: 0 var(--marge);
}
.chiffre { padding-left: 24px; }
.chiffre .t-strong {
  display: block;
  font-size: clamp(44px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.chiffre .t-strong sup { font-size: .42em; vertical-align: top; position: relative; top: .1em; letter-spacing: 0; }
.chiffre .t-span { display: block; margin-top: 14px; font-size: 13px; color: var(--gris); }

/* ---------- section « l'espace et l'œuvre » ---------- */

.duo {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 110px;
}
.duo-photo {
  border-radius: var(--rayon);
  overflow: hidden;
  aspect-ratio: 1.09;
}
.duo-photo img { width: 100%; height: 100%; object-fit: cover; }
.duo-texte { padding-left: 8px; max-width: 520px; }
.surtitre { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.surtitre em { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.titre-section {
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.duo-texte .titre-section { margin: 22px 0 24px; }
.duo-texte p:where(:not(.t)) { font-size: 15px; color: #2f2f2f; max-width: 420px; margin-bottom: 28px; }

/* ---------- l'atelier : deux signatures ---------- */

.atelier { margin-top: 140px; }
.entete-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.entete-section .titre-section { max-width: 660px; }
.entete-section-droite {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  text-align: right;
}
.entete-section-droite p:where(:not(.t)) { font-size: 13.5px; color: #3a3a3a; max-width: 380px; }

.signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gouttiere);
  margin-top: 56px;
}
.signature-visuel {
  position: relative;
  height: clamp(460px, 46vw, 660px);
  border-radius: var(--rayon);
  overflow: hidden;
}
.signatures--seule { grid-template-columns: 1fr; }
.signatures--seule .signature-visuel { height: clamp(380px, 36vw, 520px); }
.signature-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.signature:hover .signature-visuel img { transform: scale(1.04); }
.signature-pied {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 22px;
}
.signature-pied p:where(:not(.t)) { max-width: 400px; font-size: 14.5px; color: #2f2f2f; }
.signature-pied ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.9;
  color: var(--gris);
  text-align: right;
  white-space: nowrap;
}

.galerie-legende {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--trait);
  font-size: 13.5px;
  color: #3a3a3a;
}
.galerie-legende strong { color: var(--noir); font-weight: 600; }

/* ---------- projets (mosaïque, réf. 1) ---------- */

.projets { margin-top: 140px; }
.mosaique {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-top: 56px;
}
.mosaique-colonne { display: flex; flex-direction: column; gap: var(--gouttiere); }
.carte-projet {
  position: relative;
  display: block;
  border-radius: var(--rayon);
  overflow: hidden;
  color: var(--blanc);
}
.carte-projet img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.carte-projet:hover img { transform: scale(1.05); }
.carte-projet::after {
  content: '';
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
}
.carte-projet-pied {
  position: absolute;
  left: 22px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.carte-projet-pied h3 { font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.carte-projet-pied .t-small { display: block; margin-top: 4px; font-size: 12.5px; opacity: .8; }
.carte-projet-pied i {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--noir);
}
.carte-projet-pied i svg { width: 13px; height: 13px; }
.h-courte { height: 328px; }
.h-moyenne { height: 470px; }
.h-haute { height: 498px; }
.h-basse { height: 356px; }

/* ---------- démarche (bloc lin, arches réf. 3) ---------- */

.demarche {
  margin-top: 140px;
  padding: 88px 64px 72px;
  border-radius: var(--rayon);
  background: var(--lin);
  color: var(--noir);
}
.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 64px;
}
.etape-arche {
  aspect-ratio: .62;
  border-radius: 999px;
  overflow: hidden;
  background: #D8CEC0;
}
.etape-arche img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.etape:hover .etape-arche img { transform: scale(1.06); }
.etape:nth-child(even) { margin-top: 56px; }
.etape-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--trait);
  font-size: 12.5px;
  color: var(--gris);
}
.etape-meta .t-b { font-weight: 600; color: var(--noir); font-size: 13px; }
.etape h3 { margin-top: 16px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.etape p:where(:not(.t)) { margin-top: 10px; font-size: 14px; line-height: 1.6; color: #3a3833; }

/* ---------- shop (fiches produit, réf. 2) ---------- */

.boutique { margin-top: 140px; }
.produits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gouttiere);
  margin-top: 48px;
}
.produit-visuel {
  position: relative;
  aspect-ratio: .98;
  border-radius: 10px;
  overflow: hidden;
  background: var(--lin);
}
.produit-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.produit:hover .produit-visuel img { transform: scale(1.05); }
.coeur {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
  color: var(--noir);
  cursor: pointer;
}
.coeur svg { width: 17px; height: 17px; }
.coeur.est-active svg { fill: var(--noir); }
.produit-lien { display: block; width: 100%; height: 100%; }
.produit h3 a { transition: color .2s; }
.produit h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.produit h3 { margin-top: 18px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.produit-matiere { margin-top: 2px; font-size: 13px; color: var(--gris); }
.produit-etat { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12.5px; font-weight: 600; }
.produit-etat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.produit-etat--vendue { color: var(--gris); font-weight: 500; }
.produit-etat--vendue::before { background: transparent; border: 1px solid currentColor; }
.prix.prix--commande { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--gris); }
.produit-pied { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.prix { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.prix em { font-size: 12px; font-weight: 600; }
.commander > .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--noir);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.commander svg { width: 14px; height: 14px; }
.commander > .wp-block-button__link:hover { background: var(--noir); color: var(--blanc); }

/* ---------- appel + pied de page (noir pleine largeur, réf. 1) ---------- */

.pied {
  margin-top: 150px;
  padding: 96px 0 40px;
  background: var(--noir);
  color: var(--blanc);
}
.appel {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 60px;
  align-items: center;
}
.appel h2 {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.appel p:where(:not(.t)) { margin: 28px 0 32px; max-width: 520px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }
.appel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton--contour > .wp-block-button__link { background: transparent; border: 1px solid rgba(255, 255, 255, .5); }
.bouton--contour > .wp-block-button__link:hover { background: var(--blanc); color: var(--noir); }
.appel-photo { aspect-ratio: 1.6; border-radius: var(--rayon); overflow: hidden; }
.appel-photo img { width: 100%; height: 100%; object-fit: cover; }

.pied-bas {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 40px;
  align-items: start;
  margin-top: 110px;
}
.pied-colonne h4 { font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.pied-colonne .t-a, .pied-colonne .t-span {
  display: block;
  font-size: 13px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .62);
  transition: color .2s;
}
.pied-colonne .t-a:hover { color: var(--blanc); }
.pied-logo {
  justify-self: end;
  align-self: end;
  font-size: clamp(64px, 7.8vw, 112px);
  font-weight: 700;
  letter-spacing: -0.05em;
  padding-right: .06em; /* l'approche négative ne doit pas faire déborder le w */
  line-height: .78;
}
.pied-mentions {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

/* ---------- apparition au défilement ---------- */

body.sans-defilement { overflow: hidden; }

.revele { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.revele.est-visible { opacity: 1; transform: none; }

/* ---------- tablette ---------- */

@media (max-width: 1100px) {
  :root { --marge: 28px; }
  .bento { grid-template-columns: 1fr 300px; }
  .chiffres { padding: 0 var(--marge); }
  .entete-section { flex-direction: column; align-items: flex-start; }
  .entete-section-droite { align-items: flex-start; text-align: left; }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .etape:nth-child(even) { margin-top: 0; }
  .produits { grid-template-columns: repeat(2, 1fr); }
  .appel { grid-template-columns: 1fr; }
  .pied-bas { grid-template-columns: repeat(4, 1fr); }
  .pied-logo { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- mobile ---------- */

@media (max-width: 760px) {
  :root { --marge: 16px; --rayon: 12px; --gouttiere: 14px; }
  body { font-size: 14.5px; }

  .heros { height: 640px; }
  .heros-mot { top: 14%; font-size: 13.4vw; }
  .heros-carte { left: var(--marge); right: var(--marge); bottom: 16px; width: auto; flex-direction: column; }
  .heros-vignette { flex: none; height: 120px; }
  .heros-badge { right: 18px; bottom: auto; top: 34%; width: 112px; height: 112px; }

  .bento { grid-template-columns: 1fr; grid-template-rows: 460px auto 340px; margin-top: 56px; }
  .bento-grande { grid-row: auto; }
  .encoche-titre h2, .encoche-titre h3 { font-size: 34px; }

  .chiffres { grid-template-columns: repeat(2, 1fr); row-gap: 40px; margin-top: 64px; }
  .chiffre { padding-left: 0; }

  .duo { grid-template-columns: 1fr; margin-top: 80px; }
  .duo-texte { padding-left: 0; }

  .atelier, .projets, .boutique { margin-top: 96px; }
  .signatures { grid-template-columns: 1fr; row-gap: 48px; }
  .signature-visuel { height: 440px; }
  .signature-pied { flex-direction: column; gap: 12px; }
  .signature-pied ul { text-align: left; }
  .galerie-legende { flex-direction: column; align-items: flex-start; }

  .mosaique { grid-template-columns: 1fr; }
  .mosaique-colonne .carte-projet { height: 300px; }

  .demarche { margin-top: 96px; padding: 56px 20px 48px; }
  .etapes { grid-template-columns: 1fr 1fr; gap: 16px; }
  .etape h3 { font-size: 19px; }
  .etape p:where(:not(.t)) { font-size: 13px; }

  .produits { grid-template-columns: 1fr 1fr; gap: 14px; }
  .produit-pied { flex-direction: column; align-items: flex-start; gap: 10px; }

  .pied { margin-top: 96px; padding-top: 64px; }
  .pied-bas { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .pied-mentions { flex-direction: column; gap: 6px; }

  /* menu mobile : la navigation existe déjà dans la page, on bascule une classe */
  body.sans-defilement { overflow: hidden; }
}

/* =====================================================================
   Pages internes — mêmes jetons, mêmes gabarits que l'accueil
   ===================================================================== */

.section { margin-top: 140px; }

/* ---------- bandeau de page ---------- */

.heros--page { height: clamp(340px, 31vw, 450px); }
.heros--page .heros-mot {
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(64px, 11vw, 160px);
}
.heros-ariane {
  position: absolute;
  left: var(--bord);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(30, 22, 16, .38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--blanc);
  font-size: 13px;
  font-weight: 500;
}
.heros-ariane a { opacity: .75; transition: opacity .2s; }
.heros-ariane a:hover { opacity: 1; }
.heros-ariane em { opacity: .5; }
.heros-ariane strong { font-weight: 600; }

/* ---------- introduction de page ---------- */

.intro { margin-top: 100px; }
.intro .titre-section { max-width: 760px; }
.intro .entete-section-droite p:where(:not(.t)) { font-size: 15px; color: #2f2f2f; max-width: 440px; }

/* ---------- duo inversé ---------- */

.duo--inverse { grid-template-columns: 1fr 1.24fr; }
.duo--inverse .duo-texte { padding-left: 0; order: -1; }

/* ---------- manifeste ---------- */

.manifeste { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; align-items: start; }
.manifeste blockquote {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.manifeste .t-cite { display: block; margin-top: 28px; font-size: 13.5px; font-style: normal; font-weight: 600; }

/* ---------- trois cartes lin ---------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gouttiere);
  margin-top: 56px;
}
.carte-lin {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 104px;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--rayon);
  background: var(--lin);
}
.carte-lin h3 { font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.carte-lin p:where(:not(.t)) { margin-top: 14px; font-size: 14px; color: #3a3833; max-width: 320px; }

/* ---------- offres en arches ---------- */

.offres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 64px;
}
.arche { aspect-ratio: .7; border-radius: 999px; overflow: hidden; background: var(--lin); }
.arche img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.offre:hover .arche img { transform: scale(1.05); }
.offre:nth-child(2) { margin-top: 64px; }
.offre .etape-meta { margin-top: 26px; }
.offre h3 { margin-top: 16px; font-size: 28px; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.offre p:where(:not(.t)) { margin-top: 12px; font-size: 14.5px; color: #3a3833; }
.offre .lien { margin-top: 20px; }
.liens { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ligne li a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--trait); transition: text-decoration-color .2s; }
.ligne li a:hover { text-decoration-color: currentColor; }

.lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13.5px;
  font-weight: 600;
}
.lien.a-fleche:hover::after { transform: translateX(3px); }
.lien.a-fleche::after { transition: transform .2s; }

/* ---------- lignes de détail ---------- */

.lignes { margin-top: 56px; border-top: 1px solid var(--trait); }
.ligne {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--trait);
}
.ligne-num { font-size: 13px; font-weight: 600; color: var(--gris); padding-top: 8px; }
.ligne h3 { font-size: 30px; font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; }
.ligne p:where(:not(.t)) { font-size: 14.5px; color: #3a3833; }
.ligne ul { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 2; }
.ligne li { display: flex; gap: 10px; align-items: baseline; }
.ligne li::before { content: '—'; color: var(--gris); }

/* ---------- questions fréquentes ---------- */

.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.faq-intro { margin: 22px 0 28px; max-width: 360px; font-size: 14.5px; color: #3a3833; }
.faq-liste { border-top: 1px solid var(--trait); }
.faq .wp-block-details { border-bottom: 1px solid var(--trait); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--noir);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  transition: transform .3s, background .2s, color .2s;
}
.faq .wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--noir); color: var(--blanc); }
.faq .wp-block-details p:where(:not(.t)) { padding: 0 60px 26px 0; font-size: 14.5px; color: #3a3833; }

/* ---------- filtres ---------- */

.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre {
  padding: 9px 18px;
  border: 1px solid var(--trait);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #3a3833;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filtre:hover { border-color: var(--noir); }
.filtre.est-active { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.est-masque { display: none !important; }

/* ---------- projets en flux ---------- */

.mosaique--flux { display: block; column-count: 3; column-gap: var(--gouttiere); }
.mosaique--flux .carte-projet { break-inside: avoid; margin-bottom: var(--gouttiere); }
.carte-projet-pied .categorie {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-weight: 500;
}

/* ---------- projet à la une ---------- */

.une-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 0 0 30px;
  padding: 22px 0;
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}
.une-infos .t-dt { font-size: 12.5px; color: var(--gris); }
.une-infos .t-dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }

/* ---------- commander : trois temps ---------- */

.commande {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 64px;
  border-radius: var(--rayon);
  background: var(--lin);
}
.commande-titre { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.commande-titre h2 { font-size: clamp(32px, 3.2vw, 46px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.temps .t-b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  font-size: 14px;
}
.temps h3 { margin-top: 20px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.temps p:where(:not(.t)) { margin-top: 8px; font-size: 14px; color: #3a3833; max-width: 320px; }

/* ---------- contact ---------- */

.contact-grille {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--gouttiere);
  margin-top: 100px;
  align-items: start;
}
.coordonnees { display: flex; flex-direction: column; gap: var(--gouttiere); }
.coordonnees-liste { padding: 8px 28px; border-radius: var(--rayon); background: var(--lin); }
.coordonnee {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--trait);
}
.coordonnee:last-child { border-bottom: 0; }
.coordonnee .t-span { font-size: 12.5px; color: var(--gris); }
.coordonnee .t-a, .coordonnee .t-strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; text-align: right; }
.coordonnee a:hover { text-decoration: underline; text-underline-offset: 4px; }
.carte-plan { position: relative; height: 300px; border-radius: var(--rayon); overflow: hidden; color: var(--blanc); }
.carte-plan img { width: 100%; height: 100%; object-fit: cover; }
.carte-plan::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 55%); }
.carte-plan-texte { position: absolute; left: 24px; top: 22px; z-index: 1; }
.carte-plan-texte .t-strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.carte-plan-texte .t-span { font-size: 13px; opacity: .85; }

.formulaire { padding: 40px; border-radius: var(--rayon); background: var(--lin); }
.formulaire h2 { font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.formulaire > p { margin: 12px 0 30px; font-size: 14px; color: #3a3833; }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.champ label { font-size: 12.5px; font-weight: 600; }
.champ input, .champ select, .champ textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--fond);
  font: inherit;
  font-size: 14.5px;
  color: var(--noir);
  transition: border-color .2s;
}
.champ textarea { height: 150px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--noir); }
.formulaire-pied { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 8px; }
.formulaire-pied small { font-size: 12.5px; color: var(--gris); max-width: 300px; }
.formulaire .wpcf7-submit { border: 0; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 14px 22px; }

/* ---------- page projet ---------- */

.heros--page .heros-mot--long { font-size: clamp(56px, 9vw, 130px); }
/* une toile claire sous le titre blanc : voile plus marqué pour la lisibilité */
.heros--oeuvre::after { background: linear-gradient(180deg, rgba(20, 12, 6, .3), rgba(20, 12, 6, .22) 50%, rgba(20, 12, 6, .45)); }
.oeuvre-achat { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.oeuvre-achat .prix { font-size: 28px; }
.oeuvre-achat .prix.prix--commande { font-size: 16px; }
.projet-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.projet-intro .titre-section { margin-top: 20px; }
.projet-description { max-width: 560px; margin-bottom: 26px; font-size: 16px; color: #2f2f2f; }
.projet-intro .une-infos { margin: 0; }
.projet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }

.galerie-projet {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gouttiere);
  margin-top: 72px;
}
.galerie-item {
  position: relative;
  grid-column: span 4;
  height: 420px;
  margin: 0;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--lin);
  cursor: zoom-in;
}
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.galerie-item:hover img { transform: scale(1.03); }
.galerie-item:nth-child(5n+1) { grid-column: span 7; height: 600px; }
.galerie-item:nth-child(5n+2) { grid-column: span 5; height: 600px; }
/* quatre photos : la deuxième rangée se partage en deux */
.galerie-item:nth-child(5n+3):nth-last-child(2), .galerie-item:nth-child(5n+4):last-child { grid-column: span 6; }
/* une photo seule en fin de série prend toute la largeur */
.galerie-item:nth-child(5n+1):last-child { grid-column: span 12; }

.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 20px;
  padding: 32px;
  background: rgba(18, 14, 10, .95);
}
.visionneuse[hidden] { display: none; }
.visionneuse-cadre { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; margin: 0; }
.visionneuse-cadre img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; }
.visionneuse-legende { font-size: 13.5px; color: rgba(255, 255, 255, .75); text-align: center; }
.visionneuse button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--blanc);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.visionneuse button:hover { background: var(--blanc); color: var(--noir); }
.visionneuse button svg { width: 22px; height: 22px; }
.visionneuse-fermer { position: absolute; top: 24px; right: 24px; }

@media (max-width: 1100px) {
  .ligne { grid-template-columns: 60px 1fr 1fr; }
  .projet-intro { grid-template-columns: 1fr; gap: 28px; }
  .galerie-item:nth-child(n) { height: 360px; }
  .galerie-item:nth-child(5n+1), .galerie-item:nth-child(5n+2) { height: 460px; }
  .ligne ul { grid-column: 2 / -1; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .mosaique--flux { column-count: 2; }
  .commande { grid-template-columns: 1fr; padding: 48px 40px; }
  .contact-grille { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { margin-top: 96px; }
  .heros--page { height: 300px; }
  .heros--page .heros-mot { font-size: 15vw; }
  .heros-ariane { left: var(--marge); bottom: 16px; }
  .intro { margin-top: 64px; }
  .duo--inverse { grid-template-columns: 1fr; }
  .duo--inverse .duo-texte { order: 0; }
  .manifeste { grid-template-columns: 1fr; gap: 20px; }
  .trio { grid-template-columns: 1fr; }
  .carte-lin { min-height: 0; }
  .offres { grid-template-columns: 1fr; gap: 56px; }
  .offre:nth-child(2) { margin-top: 0; }
  .arche { aspect-ratio: .85; }
  .ligne { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .ligne ul { grid-column: auto; }
  .ligne-num { padding-top: 0; }
  .ligne h3 { font-size: 26px; }
  .faq summary { font-size: 17px; }
  .faq .wp-block-details p:where(:not(.t)) { padding-right: 0; }
  .mosaique--flux { column-count: 1; }
  .mosaique--flux .carte-projet { height: 320px !important; }
  .une-infos { grid-template-columns: 1fr 1fr; }
  .commande { padding: 40px 20px; gap: 32px; }
  .commande-titre { flex-direction: column; align-items: flex-start; }
  .contact-grille { margin-top: 64px; }
  .coordonnees-liste { padding: 4px 20px; }
  .coordonnee { flex-direction: column; gap: 4px; }
  .coordonnee .t-a, .coordonnee .t-strong { text-align: left; font-size: 17px; }
  .formulaire { padding: 28px 20px; }
  .champs-duo { grid-template-columns: 1fr; gap: 0; }
  .formulaire-pied { flex-direction: column; align-items: flex-start; }

  .heros--page .heros-mot--long { font-size: 11vw; }
  .galerie-projet { grid-template-columns: 1fr; margin-top: 48px; }
  .galerie-projet .galerie-item:nth-child(n) { grid-column: 1 / -1; height: 300px; }
  .visionneuse { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 72px 16px 24px; }
  .visionneuse-cadre { grid-column: 1 / -1; grid-row: 1; }
  .visionneuse-precedent { grid-row: 2; justify-self: end; }
  .visionneuse-suivant { grid-row: 2; justify-self: start; }
  .visionneuse-fermer { top: 16px; right: 16px; }
}


/* =====================================================================
   Adaptations Gutenberg — ajoutées après le CSS de la maquette.
   Rappel : le CSS d'un bloc est imprimé APRÈS cette feuille ; toute
   surcharge d'un style de bloc doit être plus spécifique, pas plus tardive.
   ===================================================================== */

:root {
  --icone-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --icone-coeur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%3E%3C/svg%3E");
  --icone-coeur-plein: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%3E%3C/svg%3E");
}

/* ---------- neutraliser l'espacement automatique, à spécificité nulle ---------- */
:where(.wp-block-group) > :where(*),
:where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
figure { margin: 0; }

/* ---------- images reliées à la médiathèque ---------- */
/* remplir : l'image occupait toute sa boîte ; cadre : la figure porte la boîte de la maquette */
figure.wp-block-image.remplir { width: 100%; height: 100%; }
figure.wp-block-image.remplir > a,
figure.wp-block-image.cadre > a { display: block; width: 100%; height: 100%; }
figure.wp-block-image.remplir img,
figure.wp-block-image.cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* une figure en cellule de grille ne doit pas s'élargir à la taille naturelle de sa photo */
.produits > *, .signatures > *, .mosaique-colonne > *, .galerie-projet > * { min-width: 0; }
figure.wp-block-image.heros-vignette img { position: absolute; inset: 0; }

/* ---------- boutons : le style va sur le lien, le conteneur est neutralisé ---------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button.bouton, .wp-block-button.commander { display: inline-block; background: none; border: 0; padding: 0; border-radius: 0; }
.wp-block-button.bouton > .wp-block-button__link { gap: 8px; }
.a-fleche > .wp-block-button__link::after { content: '→'; display: inline-block; }
.wp-block-button__link { text-decoration: none; }

/* ---------- liens soulignés « → » ---------- */
.lien.a-fleche::after { content: '→'; display: inline-block; }
.lien a { color: inherit; }

/* ---------- pastilles, puces, fil d'Ariane ---------- */
p.pastille { width: fit-content; }
.surtitre em { display: block; flex: none; width: 4px; height: 4px; border-radius: 50%; background: currentColor; font-size: 0; overflow: hidden; }
.heros-ariane em { opacity: .5; font-style: normal; }
.heros-ariane strong { color: inherit; }
.prix em { font-style: normal; }

/* ---------- flèches rondes : texte « Voir » masqué, icône en masque CSS ---------- */
.rond-fleche a { display: grid; place-items: center; width: 100%; height: 100%; font-size: 0; color: inherit; }
.rond-fleche a::before {
  content: ''; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--icone-fleche) center / contain no-repeat; mask: var(--icone-fleche) center / contain no-repeat;
}
.rond-fleche--petit a::before { width: 15px; height: 15px; }
.carte-lien:hover .rond-fleche { background: #333; transform: rotate(45deg); }

/* vignette du héros et cartes projet : la flèche est un pseudo-élément */
.heros-vignette::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border-radius: 50%; background: rgba(255, 255, 255, .88) var(--icone-fleche) center / 16px no-repeat; pointer-events: none;
}
.carte-projet-pied::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blanc) var(--icone-fleche) center / 13px no-repeat;
}

/* favori : paragraphe-bouton, cœur en masque */
.coeur { font-size: 0; cursor: pointer; margin: 0; }
.coeur::before {
  content: ''; width: 17px; height: 17px; background: currentColor;
  -webkit-mask: var(--icone-coeur) center / contain no-repeat; mask: var(--icone-coeur) center / contain no-repeat;
}
.coeur.est-active::before { -webkit-mask-image: var(--icone-coeur-plein); mask-image: var(--icone-coeur-plein); }

/* badge tournant du héros d'accueil : couche décorative en pseudo-élément */
.heros:not(.heros--page)::before {
  content: ''; position: absolute; right: var(--bord); bottom: 44px; width: 168px; height: 168px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 168 168'%3E%3Cdefs%3E%3Cpath id='c' d='M84,84 m-68,0 a68,68 0 1,1 136,0 a68,68 0 1,1 -136,0'/%3E%3C/defs%3E%3Ctext fill='white' font-family='Arial,Helvetica,sans-serif' font-size='10.5' font-weight='600' letter-spacing='2.3'%3E%3CtextPath href='%23c'%3EINT%C3%89RIEUR %C2%B7 ART %C2%B7 D%C3%89CORATION %C2%B7 INT%C3%89RIEUR %C2%B7 ART %C2%B7 D%C3%89CO %C2%B7%3C/textPath%3E%3C/text%3E%3Ccircle cx='84' cy='84' r='27' fill='none' stroke='white' stroke-opacity='.6'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: tourne 22s linear infinite;
}

/* ---------- cartes cliquables ---------- */
.carte-lien, .carte-projet, .signature { cursor: pointer; }
.bento-lin { position: relative; }
.bento-lin-haut { display: flex; justify-content: space-between; align-items: center; align-self: stretch; }

/* ---------- titres de liste, listes ---------- */
.wp-block-list { margin: 0; padding: 0; }
.signature-pied .wp-block-list { list-style: none; }
.wp-block-quote { margin: 0; padding: 0; border: 0; }
.manifeste .wp-block-quote p { font: inherit; }

/* ---------- FAQ en core/details ---------- */
.faq .wp-block-details { border-bottom: 1px solid var(--trait); }
.faq-liste .wp-block-details p { padding: 0 60px 26px 0; font-size: 14.5px; color: #3a3833; }

/* =====================================================================
   En-tête : entièrement réglable dans l'éditeur de site.
   Ce qui suit n'est qu'un DÉFAUT, à spécificité nulle (:where) : dès que
   le client règle un alignement, une couleur, une taille, une marge ou un
   fond sur un bloc de l'en-tête, son réglage l'emporte.
   ===================================================================== */
:where(.entete) { position: relative; }
:where(.entete) > :where(.enveloppe) { min-height: 88px; }
:where(.wp-block-navigation.nav) { font-size: 14px; font-weight: 500; }
.wp-block-navigation.nav .wp-block-navigation__container { gap: 34px; }
/* les liens prennent la couleur du bloc Navigation (réglable), atténués au repos */
:where(.wp-block-navigation.nav) .wp-block-navigation-item__content { color: inherit; opacity: .78; transition: opacity .2s; }
:where(.wp-block-navigation.nav) .wp-block-navigation-item__content:hover,
:where(.wp-block-navigation.nav) .wp-block-navigation-item__content[aria-current] { opacity: 1; }
:where(.wp-block-navigation.nav) .wp-block-navigation-item__content[aria-current] { font-weight: 700; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open {
  width: 42px; height: 42px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 50%;
  align-items: center; justify-content: center;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open svg { width: 20px; height: 20px; }
/* le panneau mobile s'ouvre blanc sur blanc sans ceci (le CSS du bloc est imprimé après) —
   sauf si le client a choisi les couleurs du panneau dans les réglages du bloc Navigation */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open { padding: 20px 16px 40px !important; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open:not(.has-background) { background-color: var(--fond) !important; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open:not(.has-text-color) { color: var(--noir) !important; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.wp-block-navigation.nav .is-menu-open .wp-block-navigation-item__content {
  display: block; width: 100%; padding: 16px 0 !important; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  font-size: 26px; font-weight: 500; letter-spacing: -0.02em; opacity: 1;
}
@media (max-width: 1100px) {
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 22px; }
}
@media (max-width: 760px) {
  :where(.wp-block-navigation.nav) { font-size: 13px; }
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 14px; }
  :where(.entete) > :where(.enveloppe) { min-height: 68px; }
  .heros:not(.heros--page)::before { right: 18px; bottom: auto; top: 34%; width: 112px; height: 112px; }
}

/* ---------- style de groupe « En-tête sur la photo » (choisi dans l'éditeur) ----------
   Sur les pages qui commencent par un bandeau photo (.heros), l'en-tête qui porte ce
   style se pose sur l'image ; ailleurs (blog, 404) il reste à sa place. Le bandeau
   remonte dessous et grandit de la hauteur réelle de l'en-tête (mesurée par app.js). */
:root { --hauteur-entete: 88px; }
.wp-site-blocks { position: relative; }
.wp-site-blocks:has(.heros) > header.wp-block-template-part:has(:is(.is-style-superpose, .is-style-superpose-sans-voile)) {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
}
/* texte blanc par défaut ; une couleur choisie dans l'éditeur l'emporte */
.wp-site-blocks:has(.heros) :is(.is-style-superpose, .is-style-superpose-sans-voile):not(.has-text-color) { color: var(--blanc); }
/* voile de lisibilité : les bandeaux clairs (Services, Contact) gardent un menu lisible */
.wp-site-blocks:has(.heros) .is-style-superpose { position: relative; isolation: isolate; }
.wp-site-blocks:has(.heros) .is-style-superpose::before {
  content: ''; position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 12, 6, .5) 0%, rgba(20, 12, 6, .22) 60%, rgba(20, 12, 6, 0) 100%);
}
.wp-site-blocks:has(.heros) :is(.is-style-superpose, .is-style-superpose-sans-voile) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros { height: calc(clamp(560px, 54.7vw, 780px) + var(--hauteur-entete)); }
.wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros--page { height: calc(clamp(340px, 31vw, 450px) + var(--hauteur-entete)); }
.wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros--page .heros-mot { top: calc(50% + var(--hauteur-entete) / 2); }
.wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros:not(.heros--page) .heros-mot { top: calc(17% + var(--hauteur-entete) * .83); }
@media (max-width: 760px) {
  :root { --hauteur-entete: 68px; }
  .wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros { height: calc(640px + var(--hauteur-entete)); }
  .wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros--page { height: calc(300px + var(--hauteur-entete)); }
  .wp-site-blocks:has(.heros):has(header :is(.is-style-superpose, .is-style-superpose-sans-voile)) .heros:not(.heros--page) .heros-mot { top: calc(14% + var(--hauteur-entete) * .86); }
}

/* ---------- style d'image « Blanc sur la photo » : un logo noir sur fond transparent
   devient blanc quand l'en-tête est posé sur une photo, sans toucher au fichier ---------- */
.wp-site-blocks:has(.heros) header:has(:is(.is-style-superpose, .is-style-superpose-sans-voile)) .is-style-blanc img { filter: brightness(0) invert(1); }

/* ---------- pied de page ---------- */
.pied-colonne .t-a a { color: inherit; }
.pied-colonne .t-a a:hover { color: var(--blanc); }

/* ---------- formulaire : Contact Form 7 ---------- */
.formulaire .wpcf7 { margin: 0; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .wpcf7-submit {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 6px; cursor: pointer;
  padding: 14px 22px; background: var(--noir); color: var(--blanc); font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
  transition: background .2s;
}
.formulaire .wpcf7-submit:hover { background: #333; }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12.5px; color: #8a2a1c; }
.formulaire .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px !important; border: 1px solid var(--trait) !important; border-radius: 8px; font-size: 13.5px; }
.formulaire .wpcf7 form.sent .wpcf7-response-output { border-color: var(--noir) !important; }

/* ---------- pages simples (blog, 404) ---------- */
.page-simple { padding-block: 120px 40px; }
.page-simple .titre-section { margin-bottom: 24px; }
.page-simple .wp-block-buttons { margin-top: 28px; }
