/* =====================================================================
   YAC.SID DESK — « la suite » du site, dans le style de SON site de départ
   « Yacsid-Desk » (captures du 14/11/2026). Palette mesurée sur ses captures.
   Français par défaut, arabe complet (RTL) par la bascule de langue.
   ===================================================================== */

:root {
  --noir: #16120F;            /* bandeau, sections sombres, pied */
  --carte-sombre: #261F18;    /* corps des cartes sur fond noir */
  --legende: #120F0B;         /* bande de légende des réalisations */
  --brun-1: #5A361E;          /* héros : dégradé */
  --brun-2: #432918;
  --brun-3: #2A1B12;
  --brun-coin: #1E1711;
  --matieres: #5B371F;        /* section Matières */
  --pastille: #794D2C;        /* pastilles des matériaux */
  --creme: #F6F2E9;           /* Atelier, Catalogue */
  --blanc: #FFFFFF;           /* Réalisations, cartes produit, carte formulaire */
  --beige: #E8D8C1;           /* Contact */
  --or: #D7A745;              /* boutons, surtitres et traits sur fond sombre */
  --or-fonce: #74571F;        /* surtitres sur fond clair (plus foncé : contraste ≥ 4,5:1 sur crème et beige) */
  --texte-or: #16120F;        /* texte posé sur l'or : noir espresso, jamais blanc */
  --prix: #6B4A2B;            /* prix (brun, mesuré) */
  --titre: #1F1B16;           /* titres sur fond clair */
  --texte: #6B655E;           /* texte courant sur fond clair */
  --texte-contact: #5E5344;
  --clair: #F2EEE8;           /* menu et titres sur fond sombre */
  --texte-sombre: #CFC7BD;    /* texte courant sur fond sombre */
  --cadre-langue: #8C8068;
  --bord-champ: #E2E2E2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --conteneur: 1200px;
}
html[lang="ar"] {
  --serif: "Amiri", "Times New Roman", serif;
  --sans: "Tajawal", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  overflow-x: hidden;
}
html[lang="ar"] body { font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.lien-evitement {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 3000;
  background: var(--or); color: var(--texte-or); padding: 10px 16px; font-weight: 600;
}
.lien-evitement:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.conteneur { width: 100%; max-width: calc(var(--conteneur) + 48px); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------------
   BANDEAU (noir espresso : logo, menu en capitales, langue encadrée, bouton doré)
   --------------------------------------------------------------------- */
.entete { background: var(--noir); position: relative; z-index: 50; }
.entete__barre {
  max-width: 1328px; margin: 0 auto; padding: 0 24px;
  height: 96px;
  display: flex; align-items: center; gap: 26px;
}
.entete__logo { flex: 0 0 auto; display: block; }
.entete__logo img { height: 56px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.menu a {
  color: var(--clair);
  font-weight: 700; font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase;
  line-height: 1.5; padding: 4px 0; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
html[lang="ar"] .menu a { font-size: 15px; letter-spacing: 0; font-weight: 500; }
.menu a:hover { color: var(--or); }
.menu a[aria-current="page"] { color: var(--or); border-bottom-color: var(--or); }
.entete__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.langues {
  display: inline-flex; align-items: center;
  border: 1px solid var(--cadre-langue);
  padding: 3px;
}
.langues button {
  border: 0; background: transparent; color: var(--clair);
  font-size: 12px; font-weight: 600; padding: 6px 10px; cursor: pointer; line-height: 1.2;
}
.langues button[lang="ar"] { font-family: "Tajawal", Arial, sans-serif; font-size: 14px; font-weight: 500; }
.langues button[lang="fr"] { font-family: "Montserrat", Arial, sans-serif; }
.langues button[aria-pressed="true"] { color: var(--or); }
.langues button:hover { color: var(--or); }
.langues .sep { width: 1px; height: 14px; background: var(--cadre-langue); }
.bouton-or, .bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--or); color: var(--texte-or);
  border: 1px solid var(--or);
  font-weight: 600; font-size: 14px; line-height: 1.25;
  padding: 14px 22px; border-radius: 2px; cursor: pointer;
  transition: filter .2s, background .2s, color .2s;
  text-align: center;
}
.bouton-or:hover, .bouton:hover { filter: brightness(1.07); }
.entete .bouton-or { padding: 12px 18px; max-width: 160px; }
.bouton--contour { background: transparent; color: var(--or); }
.bouton--contour:hover { background: var(--or); color: var(--texte-or); filter: none; }
.fond-clair .bouton--contour { color: var(--or-fonce); border-color: var(--or-fonce); }
.fond-clair .bouton--contour:hover { background: var(--or-fonce); border-color: var(--or-fonce); color: var(--blanc); }
.bouton--sombre { background: var(--noir); border-color: var(--noir); color: var(--clair); }
.bouton--plein { width: 100%; justify-content: flex-start; padding-inline: 20px; }
.bouton svg, .bouton-or svg { width: 16px; height: 16px; flex: 0 0 auto; }
html[dir="rtl"] .fleche { transform: scaleX(-1); }

.burger {
  display: none; margin-inline-start: auto;
  width: 46px; height: 46px; border: 1px solid var(--cadre-langue); background: transparent; color: var(--clair);
  padding: 10px; cursor: pointer;
}
.burger svg { width: 24px; height: 24px; display: block; }
.panneau {
  position: fixed; inset: 0; z-index: 1000; background: var(--noir); color: var(--clair);
  overflow-y: auto; padding: 18px 24px 40px; display: none;
}
body.menu-ouvert { overflow: hidden; }
body.menu-ouvert .panneau { display: block; }
.panneau__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.panneau__haut img { height: 48px; width: auto; }
.panneau__fermer {
  width: 46px; height: 46px; border: 1px solid var(--cadre-langue); background: transparent; color: var(--clair);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.panneau nav a {
  display: block; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
html[lang="ar"] .panneau nav a { font-size: 17px; letter-spacing: 0; font-weight: 500; }
.panneau nav a[aria-current="page"] { color: var(--or); }
.panneau .langues { margin: 26px 0 18px; }
.panneau .bouton-or { width: 100%; }

/* ---------------------------------------------------------------------
   HÉROS (brun dégradé + fine grille) et en-têtes des pages intérieures
   --------------------------------------------------------------------- */
.heros {
  position: relative; overflow: hidden; color: var(--blanc);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 38px 38px,
    radial-gradient(ellipse 75% 85% at 58% 72%, var(--brun-1) 0%, var(--brun-2) 42%, var(--brun-3) 78%, var(--brun-coin) 100%);
  min-height: 560px;
  display: flex; align-items: center;
}
.heros .conteneur { padding-top: 80px; padding-bottom: 80px; }
.heros:not(.heros--page) { align-items: flex-end; }
.heros:not(.heros--page) .conteneur { padding-top: 150px; padding-bottom: 78px; }
.heros h1 { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1.15; color: var(--blanc); margin: 18px 0 18px; }
.heros__ligne { font-size: 16px; color: #F4EFE8; margin-bottom: 14px; }
.heros__ligne + .heros__ligne { margin-bottom: 32px; }
.heros--page { min-height: 340px; }
.heros--page h1 { font-size: 38px; margin: 16px 0 12px; }
.heros--page .heros__ligne { max-width: 720px; margin-bottom: 0; }
.ariane { font-size: 13px; color: var(--texte-sombre); margin-bottom: 26px; }
.ariane a { color: var(--clair); border-bottom: 1px solid rgba(215, 167, 69, .6); }
.ariane a:hover { color: var(--or); }
.ariane .sep { margin: 0 8px; color: var(--or); }

/* Surtitre : capitales très espacées, dorées, précédées d'un trait */
.surtitre {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--or); font-family: var(--sans);
  font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; line-height: 1.4;
}
.heros .surtitre { font-size: 14px; }
.surtitre--trait::before { content: ""; width: 46px; height: 1px; background: var(--or); flex: 0 0 auto; }
.fond-clair .surtitre { color: var(--or-fonce); }
html[lang="ar"] .surtitre { letter-spacing: 0; text-transform: none; font-size: 16px; font-weight: 700; }
html[lang="ar"] .heros .surtitre { font-size: 17px; }

/* ---------------------------------------------------------------------
   SECTIONS
   --------------------------------------------------------------------- */
.section { padding: 100px 0; }
.fond-creme { background: var(--creme); }
.fond-blanc { background: var(--blanc); }
.fond-noir { background: var(--noir); color: var(--texte-sombre); }
.fond-brun { background: var(--matieres); color: #EDE3D6; }
.fond-beige { background: var(--beige); }
.titre-section { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--titre); margin: 18px 0 0; }
.fond-noir .titre-section, .fond-brun .titre-section { color: var(--blanc); }
.chapo { margin-top: 14px; max-width: 760px; }
.entete-section { margin-bottom: 44px; }
.entete-section--centre { text-align: center; }
.entete-section--centre .chapo { margin-inline: auto; }
.lien-plus { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--titre); border-bottom: 1px solid var(--or); padding-bottom: 2px; }
.fond-noir .lien-plus { color: var(--clair); }
.lien-plus:hover { color: var(--or-fonce); }
.fond-noir .lien-plus:hover { color: var(--or); }
.lien-plus svg { width: 14px; height: 14px; }

/* Atelier : photo à gauche, texte à droite, citation à barre dorée */
.atelier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.atelier__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.atelier__texte p { margin-top: 16px; }
.citation { margin-top: 20px; border-inline-start: 2px solid var(--or); padding-inline-start: 22px; color: var(--texte); }
.atelier__texte .boutons { margin-top: 30px; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Cartes sur fond noir (savoir-faire, technologie) */
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.carte-sombre { background: var(--carte-sombre); display: flex; flex-direction: column; }
.carte-sombre__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.grille-2 .carte-sombre__img { aspect-ratio: 2.45 / 1; }
.carte-sombre__corps { padding: 22px 24px 26px; }
.carte-sombre h3 { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--blanc); line-height: 1.4; }
.carte-sombre p { margin-top: 10px; font-size: 14px; color: var(--texte-sombre); }
a.carte-sombre { transition: transform .25s, box-shadow .25s; }
a.carte-sombre:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
a.carte-sombre:hover h3 { color: var(--or); }
.visuel-sobre {
  width: 100%; aspect-ratio: 2 / 1;
  background: linear-gradient(135deg, #2E251C, #1D1813);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--or);
}
.visuel-sobre svg { width: 54px; height: 54px; }
.visuel-sobre span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-sombre); }
html[lang="ar"] .visuel-sobre span { letter-spacing: 0; font-size: 14px; }
.fond-clair .visuel-sobre, .visuel-sobre--clair { background: linear-gradient(135deg, #EFE7DA, #E6DACA); color: var(--or-fonce); }
.visuel-sobre--clair span { color: #4F4A44; }

/* Matières : pastilles brunes */
.pastilles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.pastille {
  background: var(--pastille); color: var(--blanc);
  min-height: 52px; padding: 10px 12px; border-radius: 2px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 700; font-size: 13.5px; line-height: 1.3;
}

/* Catalogue : cartes produit blanches */
.produits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; }
.produits--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.produit {
  background: var(--blanc); display: flex; flex-direction: column;
  box-shadow: 0 1px 3px rgba(22, 18, 15, .08);
  transition: transform .25s, box-shadow .25s;
}
.produit:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 18, 15, .12); }
.produit__img { width: 100%; aspect-ratio: 1.1 / 1; object-fit: cover; background: #F1ECE4; }
.produit__img--entier { object-fit: contain; background: linear-gradient(to bottom, #CBC3B4 0%, #D2C7B8 60%, #D8BFA5 64%, #CDB49A 100%); }
.produit .visuel-sobre { aspect-ratio: 1.1 / 1; }
.produit__corps { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.produit h3 { font-family: var(--sans); font-weight: 600; font-size: 14.5px; line-height: 1.4; color: #181413; }
.prix { font-weight: 600; font-size: 14.5px; color: var(--prix); }
.produit .matiere { font-size: 13px; color: var(--texte); }

/* Réalisations : photo + légende sur bande noire */
.realisation { display: flex; flex-direction: column; background: var(--legende); }
.realisation img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.realisation figcaption, .realisation .legende { padding: 15px 16px; color: var(--blanc); font-weight: 600; font-size: 14px; line-height: 1.35; }
a.realisation:hover .legende { color: var(--or); }
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.galerie a { display: block; overflow: hidden; background: var(--noir); }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s, opacity .35s; }
.galerie a:hover img { transform: scale(1.03); opacity: .92; }
.bloc-galerie + .bloc-galerie { margin-top: 64px; }
.bloc-galerie h2, .bloc-galerie h3 { font-family: var(--serif); font-size: 22px; color: var(--titre); margin-bottom: 20px; }
.illustrations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2.2fr); gap: 14px; align-items: end; }
.illustrations img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; background: var(--blanc); }
.illustrations img.large { aspect-ratio: auto; }
.galerie--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.note-illus { margin-top: 16px; font-size: 13px; color: var(--texte); }

.visionneuse {
  position: fixed; inset: 0; z-index: 1500; background: rgba(10, 8, 6, .9);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.visionneuse.ouverte { display: flex; }
.visionneuse img { max-width: 100%; max-height: 100%; object-fit: contain; }
.visionneuse button {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 46px; height: 46px;
  border: 1px solid var(--cadre-langue); background: var(--noir); color: var(--clair); font-size: 28px; cursor: pointer;
}

/* Contact : fond beige, texte à gauche, carte formulaire blanche à droite */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 575px); gap: 60px; align-items: start; }
.contact__texte .titre-section { font-size: 22px; }
.contact__nom { margin-top: 22px; font-weight: 600; color: #1E1307; }
.contact__tel { color: #533B22; font-weight: 500; }
.contact__tel a:hover { color: var(--or-fonce); }
.contact__texte > p.intro { margin-top: 16px; color: var(--texte-contact); max-width: 470px; }
.coordonnees { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; color: var(--texte-contact); }
.coordonnees li { display: flex; gap: 12px; align-items: flex-start; }
.coordonnees svg { width: 20px; height: 20px; color: var(--or-fonce); flex: 0 0 auto; margin-top: 3px; }
.coordonnees a { color: #3E2C1A; font-weight: 500; }
.coordonnees a:hover { color: var(--or-fonce); }
.contact__texte .boutons { margin-top: 28px; }
.carte-formulaire { background: var(--blanc); padding: 32px 32px 36px; box-shadow: 0 8px 26px rgba(22, 18, 15, .10); }
.formulaire { display: grid; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ label { font-size: 13px; font-weight: 600; color: #181413; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--bord-champ); border-radius: 0; background: var(--blanc);
  color: #241E18; font-size: 14px;
}
.champ textarea { min-height: 124px; resize: vertical; line-height: 1.6; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 2px rgba(215, 167, 69, .25); }
.champ.erreur input, .champ.erreur select, .champ.erreur textarea { border-color: #A3261E; }
.champ .msg-erreur { display: none; color: #A3261E; font-size: 13px; }
.champ.erreur .msg-erreur { display: block; }
.message-demo { display: none; border-inline-start: 3px solid var(--or); background: var(--creme); color: var(--titre); padding: 12px 16px; font-size: 14px; }
.message-demo.visible { display: block; }
.mention { font-size: 13px; color: var(--texte); }

/* ---------------------------------------------------------------------
   PAGES INTÉRIEURES
   --------------------------------------------------------------------- */
.metier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.metier__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.metier__media .visuel-sobre { aspect-ratio: 4 / 3; }
.metier__texte p { margin-top: 16px; }
.metier__texte .boutons { margin-top: 30px; }
.liste-or { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.liste-or li { display: flex; gap: 12px; align-items: baseline; color: var(--titre); font-weight: 500; }
.liste-or li::before { content: ""; width: 18px; height: 1px; background: var(--or-fonce); flex: 0 0 auto; transform: translateY(-4px); }
.fond-noir .liste-or li, .fond-brun .liste-or li { color: var(--clair); }
.fond-noir .liste-or li::before, .fond-brun .liste-or li::before { background: var(--or); }
.encart { background: var(--blanc); padding: 30px 32px; box-shadow: 0 1px 3px rgba(22, 18, 15, .08); }
.encart h3 { font-family: var(--serif); font-size: 20px; color: var(--titre); }
.encart p { margin-top: 10px; }
.materiaux-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 56px; }
.materiaux-detail img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Fiche produit */
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.fiche__media { background: var(--blanc); padding: 24px; box-shadow: 0 1px 3px rgba(22, 18, 15, .08); }
.fiche__media img { width: 100%; max-height: 640px; object-fit: contain; margin: 0 auto; }
.fiche__media .visuel-sobre { aspect-ratio: 1 / 1; }
.fiche__info h2 { font-family: var(--serif); font-size: 32px; line-height: 1.25; color: var(--titre); margin-top: 16px; }
.fiche__info .matiere { margin-top: 8px; }
.fiche__info .prix { font-size: 26px; margin-top: 18px; }
.fiche__info .description { margin-top: 16px; }
.fiche__dims { margin-top: 10px; color: var(--titre); font-weight: 500; }
.choix-titre { margin-top: 26px; margin-bottom: 12px; font-weight: 600; color: var(--titre); font-size: 14px; }
.choix-titre output { font-weight: 400; color: var(--texte); }
.coloris { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.coloris input { position: absolute; opacity: 0; pointer-events: none; }
.coloris label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  padding: 10px 16px; border: 1px solid #D9CFC2; background: var(--blanc); color: var(--titre); font-size: 14px; font-weight: 500;
}
.coloris .coche { width: 12px; color: transparent; font-weight: 700; }
.coloris input:checked + label { background: var(--noir); border-color: var(--noir); color: var(--clair); }
.coloris input:checked + label .coche { color: var(--or); }
.coloris input:focus-visible + label { outline: 2px solid var(--or); outline-offset: 2px; }
.quantite { display: inline-flex; align-items: center; border: 1px solid #D9CFC2; background: var(--blanc); }
.quantite button { width: 44px; height: 44px; border: 0; background: var(--creme); color: var(--titre); font-size: 20px; cursor: pointer; }
.quantite input { width: 58px; height: 44px; border: 0; text-align: center; font-size: 15px; color: var(--titre); -moz-appearance: textfield; background: var(--blanc); }
.quantite input::-webkit-outer-spin-button, .quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.total { margin-top: 18px; color: var(--titre); }
.total strong { font-size: 18px; color: var(--prix); }
.fiche__info > .bouton { margin-top: 22px; min-width: 220px; }
.fiche__note { margin-top: 14px; font-size: 13px; }
.commande { display: none; margin-top: 28px; }
.commande.ouverte { display: block; }
.recap { background: var(--creme); border-inline-start: 3px solid var(--or); padding: 12px 16px; color: var(--titre); margin-bottom: 18px; font-size: 14px; }

.info-ligne { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-top: 44px; color: var(--titre); font-size: 14px; }
.info-ligne span, .info-ligne a { display: inline-flex; align-items: center; gap: 10px; }
.info-ligne a { border-bottom: 1px solid var(--or-fonce); }
.info-ligne svg { width: 20px; height: 20px; color: var(--or-fonce); }

/* Textes juridiques */
.texte-long { max-width: 860px; }
.texte-long h2 { font-family: var(--serif); font-size: 22px; color: var(--titre); margin-top: 40px; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long p, .texte-long ul { margin-top: 12px; }
.texte-long ul { padding-inline-start: 22px; }
.texte-long li + li { margin-top: 6px; }
.a-completer { display: inline-block; background: #FBF1DD; border: 1px dashed var(--or-fonce); color: #6B4A12; padding: 2px 10px; font-weight: 600; font-size: 13.5px; }

/* Bandeau d'appel (contact) en bas des pages intérieures */
.appel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.appel .titre-section { font-size: 22px; }
.appel p { margin-top: 10px; color: var(--texte-contact); }

/* ---------------------------------------------------------------------
   PIED (noir : logo, adresse, NIF/NIS/AI/RC, merci, bouton « Accueil », liens)
   --------------------------------------------------------------------- */
.pied { background: var(--noir); color: #CFC9C2; }
.pied__haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding: 52px 0 40px; }
.pied__logo img { height: 62px; width: auto; }
.pied__adresse { margin-top: 18px; font-size: 13.5px; }
.pied__contacts { margin-top: 10px; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pied__contacts a:hover { color: var(--or); }
.pied__droite { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pied__legal { font-size: 13px; line-height: 1.7; color: #DCD6CF; }
.pied__merci { margin-top: 14px; color: var(--or); font-weight: 600; font-size: 14px; }
.pilule {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--or); color: var(--texte-or); font-weight: 600; font-size: 14px;
  padding: 9px 20px; border-radius: 999px;
}
.pilule svg { width: 16px; height: 16px; }
.pilule:hover { filter: brightness(1.07); }
.pied__bas { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; }
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied__bas a { color: var(--clair); font-weight: 600; }
.pied__bas a:hover { color: var(--or); }

/* ---------------------------------------------------------------------
   ADAPTATION AUX ÉCRANS
   --------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .entete__barre { height: 80px; }
  .entete__logo img { height: 48px; }
  .menu, .entete__actions { display: none; }
  .burger { display: block; }
  .produits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .illustrations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .illustrations .illus:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pastilles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact, .atelier, .metier, .fiche, .materiaux-detail { grid-template-columns: 1fr; gap: 36px; }
  .appel { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .conteneur { padding: 0 18px; }
  .entete__barre { padding: 0 18px; height: 72px; }
  .entete__logo img { height: 44px; }
  .section { padding: 64px 0; }
  .heros { min-height: 480px; }
  .heros .conteneur { padding-top: 60px; padding-bottom: 60px; }
  .heros:not(.heros--page) .conteneur { padding-top: 110px; padding-bottom: 56px; }
  .heros h1 { font-size: 34px; }
  .heros--page { min-height: 0; }
  .heros--page h1 { font-size: 30px; }
  .surtitre { letter-spacing: .2em; font-size: 12px; }
  .heros .surtitre { font-size: 12.5px; }
  .surtitre--trait::before { width: 30px; }
  .titre-section { font-size: 21px; }
  .grille-3, .grille-2, .produits, .produits--3 { grid-template-columns: 1fr; }
  .pastilles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .illustrations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carte-formulaire { padding: 24px 18px 28px; }
  .pied__haut { flex-direction: column; }
  .pied__droite { text-align: start; align-items: flex-start; }
  .fiche__info h2 { font-size: 26px; }
  .entete-section { margin-bottom: 32px; }
}

/* ---------------------------------------------------------------------
   MENTIONS (audit v2) : illustrations de sa présentation, visuels produit, formulaires
   --------------------------------------------------------------------- */
.illus { position: relative; display: block; }
.illus__mention {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1;
  background: rgba(22, 18, 15, .82); color: var(--clair);
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1; padding: 6px 9px; pointer-events: none;
}
html[lang="ar"] .illus__mention { letter-spacing: 0; text-transform: none; font-size: 12.5px; font-weight: 500; }
.non-contractuel { font-size: 12px; color: #5E5850; font-style: italic; }
html[lang="ar"] .non-contractuel { font-style: normal; }
.fiche__media .non-contractuel { margin-top: 12px; text-align: center; }
.carte-formulaire .mention { margin-top: -6px; }

/* Fiches : aménagement intérieur (fiches Roomio du client) */
.fiche__compo { margin-top: 8px; color: var(--texte); }

/* 1.1.7 — Signature Wovateq (dernière ligne du pied) */
.pied__signature { margin: 0; padding: 0 0 18px; text-align: center; font-size: 12px; line-height: 1; }
.pied__signature a { display: inline-flex; align-items: center; gap: 7px; color: #8F8982; font-weight: 400; }
.pied__signature a:hover { color: #CFC9C2; }
.pied__signature img { height: 19px; width: auto; display: block; }

/* 1.1.8 — Logo animé de l'en-tête (une fois par visite) : posé par-dessus le logo fixe, qui garde sa place.
   Le bâtiment de l'animation dépasse un peu au-dessus du cadre du logo fixe (fichier 255 x 136, cadre fixe 251 x 112 à 19 px du haut). */
.entete__logo { position: relative; }
.entete__logo .entete__logo-anime {
  position: absolute; left: -0.798%; top: -16.964%; width: 101.704%; height: 121.429%;
  max-width: none; pointer-events: none; opacity: 1; transition: opacity .6s ease;
}
html.ys-logo-anime .entete__logo > img:not(.entete__logo-anime) { opacity: 0; animation: ys-logo-secours 0s linear 7s forwards; }
html.ys-logo-joue .entete__logo > img:not(.entete__logo-anime) { animation: none; }
html.ys-logo-fin .entete__logo > img:not(.entete__logo-anime) { opacity: 1; transition: opacity .6s ease; }
html.ys-logo-fin .entete__logo .entete__logo-anime { opacity: 0; }
@keyframes ys-logo-secours { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .entete__logo .entete__logo-anime { display: none; }
  html.ys-logo-anime .entete__logo > img:not(.entete__logo-anime) { opacity: 1; animation: none; }
}
