/* =========================================================
   Site de Tissem — feuille de style
   Tout le style du site est ici. Les couleurs se changent
   dans le bloc ":root" juste en dessous.
   ========================================================= */

:root {
  --noir:        #0b0b0c;   /* fond principal */
  --noir-doux:   #141416;   /* fond des cartes */
  --creme:       #f4f1ea;   /* texte principal */
  --creme-doux:  #a9a49b;   /* texte secondaire */
  --accent:      #c9a227;   /* doré — la touche de couleur */
  --trait:       #2a2a2e;   /* filets et bordures */

  --titre: "Didot", "Bodoni 72", "Playfair Display", Georgia, "Times New Roman", serif;
  --texte: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --large: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Les liens du menu ne doivent pas cacher le titre sous l'en-tête fixe */
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1.1em; }

.contenu { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(70px, 11vw, 130px) 0; }
.section + .section { border-top: 1px solid var(--trait); }

.surtitre {
  font-family: var(--texte);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.chapeau { font-size: 1.15rem; color: var(--creme-doux); max-width: 60ch; }

/* --- Placeholders : ce qu'il reste à remplir. Supprimer la classe
       "a-remplir" une fois la vraie information écrite. --- */
.a-remplir {
  background: rgba(201, 162, 39, .16);
  border-bottom: 1px dashed var(--accent);
  padding: 0 4px;
}

/* ---------------- En-tête ---------------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 24px;
  background: linear-gradient(to bottom, rgba(11,11,12,.92), rgba(11,11,12,0));
  transition: background .3s ease;
}
.entete.pose { background: rgba(11,11,12,.96); border-bottom: 1px solid var(--trait); }
.logo {
  display: flex; align-items: center; gap: 13px;
  font-family: var(--titre); font-size: 1.2rem; letter-spacing: .12em;
  text-decoration: none; line-height: 1.1;
}
.logo__marque { flex: none; }
.logo__mot { display: block; }
.logo__suite {
  display: block; font-family: var(--texte); font-size: .6rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--creme-doux);
  margin-top: 3px;
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { text-decoration: none; font-size: .93rem; color: var(--creme-doux); transition: color .2s; }
.nav a:hover { color: var(--creme); }

.burger { display: none; background: none; border: 0; color: var(--creme); font-size: 1.5rem; cursor: pointer; padding: 4px 8px; }

@media (max-width: 820px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    background: var(--noir); gap: 8px; font-size: 1.4rem;
  }
  .nav a { font-size: 1.3rem; padding: 10px; }
  .nav[hidden] { display: none; }
}

/* ---------------- Accroche ---------------- */
.accroche {
  min-height: 100svh; display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
}
.accroche__fond {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  /* Photo d'accroche. Elle est au format portrait : sur un grand écran,
     "cover" la recadre fortement — on cadre donc un peu haut pour garder le
     mur et la caméra peinte, le texte occupant le bas.
     Voir README-TISSEM.md, « Changer l'image d'accroche ». */
  background: #0b0b0c url("../img/accroche.jpg") center 27% / cover no-repeat;
  /* La photo est sombre à l'origine : on l'éclaircit ici plutôt que de
     retoucher le fichier, pour pouvoir revenir en arrière d'un chiffre. */
  filter: brightness(1.34) contrast(.94) saturate(1.06);
}
/* La photo est en portrait : plus l'écran est large, plus "cover" rogne en
   hauteur. Le cadrage doit donc descendre pour que la chaise au nom de
   Tissem reste entre le texte et les boutons. */
@media (min-width: 821px) {
  .accroche__fond { background-position: center 58%; }
}
.accroche::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Le creux à 22-38 % laisse respirer la chaise, qui se trouve juste entre
     le texte et les boutons. Le texte garde sa lisibilité par son ombre. */
  background: linear-gradient(to top, rgba(11,11,12,.96) 4%, rgba(11,11,12,.68) 22%, rgba(11,11,12,.50) 38%, rgba(11,11,12,.34) 62%, rgba(11,11,12,.28) 82%, rgba(11,11,12,.64) 100%);
}
.accroche .contenu { padding-bottom: clamp(34px, 5vh, 60px); }
/* Les boutons descendent au niveau du pied de la chaise. */
.accroche .boutons { margin-top: clamp(48px, 11vh, 120px); }
/* L'image est chargée : le texte a besoin de son propre contraste */
.accroche h1, .accroche .chapeau, .accroche .surtitre { text-shadow: 0 2px 26px rgba(6, 4, 12, .85); }
.accroche h1 { max-width: 16ch; }

/* ---------------- Boutons ---------------- */
.bouton {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 15px 30px; border: 1px solid var(--accent); background: var(--accent);
  color: var(--noir); font-size: .93rem; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.bouton:hover { background: transparent; color: var(--accent); }
.bouton--ligne { background: transparent; color: var(--creme); border-color: var(--trait); }
.bouton--ligne:hover { border-color: var(--creme); background: transparent; color: var(--creme); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------------- Films ---------------- */
.grille-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; margin-top: 48px; }
.film {
  border: 0; padding: 0; text-align: left; background: var(--noir-doux);
  color: inherit; font: inherit; cursor: pointer; display: block; width: 100%;
}
.film__image {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #1c1c21, #0f0f12);
  display: grid; place-items: center;
}
.film__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.film:hover .film__image img { transform: scale(1.04); }
.film__vide { color: #4a4a52; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.film__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .25s;
}
.film:hover .film__play, .film:focus-visible .film__play { opacity: 1; }
.film__play span {
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--creme);
  background: rgba(11,11,12,.55); display: grid; place-items: center; font-size: 1rem; padding-left: 4px;
}
.film__texte { display: block; padding: 18px 20px 22px; }
.film__categorie { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.film__titre { display: block; font-family: var(--titre); font-size: 1.3rem; margin: 6px 0 0; }

/* ---------------- Photos ---------------- */
.grille-photos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px; margin-top: 48px;
}
.photo {
  border: 0; padding: 0; margin: 0; background: var(--noir-doux);
  cursor: pointer; overflow: hidden; aspect-ratio: 3 / 2; display: block;
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.photo:hover img, .photo:focus-visible img { transform: scale(1.05); opacity: .88; }

/* ---------------- Prestations ---------------- */
.grille-prestations { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1px; margin-top: 48px; background: var(--trait); border: 1px solid var(--trait); }
.presta { background: var(--noir); padding: 40px 32px; }
.presta h3 { margin-bottom: 14px; }
.presta ul { list-style: none; padding: 0; margin: 0 0 22px; color: var(--creme-doux); font-size: .96rem; }
.presta li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid var(--trait); }
.presta li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.presta__accroche { font-family: var(--titre); font-style: italic; font-size: 1.2rem; line-height: 1.35; color: var(--creme); margin: 0 0 12px; }
.presta__texte { color: var(--creme-doux); font-size: .96rem; margin: 0 0 26px; }
.presta__sous { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; }
.presta ol { list-style: none; padding: 0; margin: 0 0 22px; color: var(--creme-doux); font-size: .96rem; counter-reset: etape; }
.presta ol li { padding-left: 32px; }
.presta ol li::before { counter-increment: etape; content: counter(etape, decimal-leading-zero); font-family: var(--titre); }
.presta__prix { font-family: var(--titre); font-size: 1.15rem; color: var(--creme); }


/* ---------------- À propos ---------------- */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) {
  .deux-colonnes { grid-template-columns: 1fr; }
  /* Sur mobile, le portrait passe pleine largeur : sans plafond il mangerait
     tout l'écran, surtout tant qu'aucune photo n'est posée. */
  .portrait { aspect-ratio: 3 / 2; max-height: 55vh; }
}
.portrait { aspect-ratio: 4/5; background: linear-gradient(135deg, #1c1c21, #0f0f12); display: grid; place-items: center; color: #4a4a52; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Contact ---------------- */
.contact-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 70px); margin-top: 48px; }
@media (max-width: 820px) { .contact-grille { grid-template-columns: 1fr; } }

label { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--creme-doux); margin: 20px 0 8px; }
input, select, textarea {
  width: 100%; padding: 14px 16px; background: var(--noir-doux); color: var(--creme);
  border: 1px solid var(--trait); border-radius: 0; font: inherit; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; }
.mentions-form { font-size: .82rem; color: var(--creme-doux); margin-top: 18px; }

.coordonnees { border-left: 1px solid var(--trait); padding-left: clamp(20px, 4vw, 40px); }
@media (max-width: 820px) { .coordonnees { border-left: 0; padding-left: 0; border-top: 1px solid var(--trait); padding-top: 30px; } }
.coordonnees a { display: block; text-decoration: none; font-size: 1.05rem; margin: 6px 0 22px; }
.coordonnees a:hover { color: var(--accent); }

/* ---------------- Pied de page ---------------- */
.pied { border-top: 1px solid var(--trait); padding: 40px 0; color: var(--creme-doux); font-size: .88rem; }
.pied__signature { display: inline-flex; align-items: center; gap: 11px; }
.pied__marque { flex: none; opacity: .8; }
.pied .contenu { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--creme); }

/* ---------------- Lecteur vidéo (ouvert au clic) ---------------- */
.lecteur[hidden] { display: none; }
.lecteur {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.95);
  display: grid; place-items: center; padding: 20px;
}
.lecteur__cadre { width: min(1100px, 100%); aspect-ratio: 16/9; background: #000; }
.lecteur__cadre iframe, .lecteur__cadre video { width: 100%; height: 100%; border: 0; }
.lecteur__fermer { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--creme); font-size: 2rem; cursor: pointer; }

/* ---------------- Apparition en douceur ---------------- */
/* L'effet ne se déclenche que si le JavaScript tourne : sans lui, tout
   le contenu reste visible (visiteurs, moteurs de recherche, lecteurs
   d'écran). */
.js .apparait { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .apparait { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Page simple (mentions légales) */
.page-texte { padding-top: 140px; max-width: 760px; }
.page-texte h2 { font-size: 1.5rem; margin-top: 2em; }

/* =========================================================
   Page « À propos » (a-propos.html)
   ========================================================= */
.bio-ouverture { padding-top: 150px; }
.bio-nom { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .2em; }
.bio-metier { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--creme-doux); margin-bottom: 2em; }

.bio-reperes { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.bio-reperes .contenu { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.repere { padding: 38px 24px 34px 0; display: flex; flex-direction: column; gap: 6px; }
.repere__chiffre { font-family: var(--titre); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.repere__texte { color: var(--creme-doux); font-size: .92rem; }

.bio-grille { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 80px); }
@media (max-width: 820px) { .bio-grille { grid-template-columns: 1fr; } }

.frise { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--trait); }
.frise li { position: relative; padding: 0 0 42px 34px; }
.frise li:last-child { padding-bottom: 0; }
.frise li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.frise__quand { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.frise h3 { margin: 0 0 4px; }
.frise__ou { color: var(--creme-doux); font-size: .92rem; margin: 0 0 10px; }
.frise p:last-child { margin-bottom: 0; }

.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; margin-top: 44px; background: var(--trait); border: 1px solid var(--trait); }
.atout { background: var(--noir); padding: 34px 30px; }
.atout h3 { font-size: 1.2rem; }
.atout p { color: var(--creme-doux); margin: 0; }

.bio-deux { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); margin-top: 60px; }
@media (max-width: 820px) { .bio-deux { grid-template-columns: 1fr; } }
.etiquettes { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.etiquettes li { border: 1px solid var(--trait); border-radius: 999px; padding: 8px 18px; font-size: .95rem; }
.langues { list-style: none; padding: 0; margin: 12px 0 0; }
.langues li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.langues li span:last-child { color: var(--creme-doux); }
.bio-mobile { margin: 44px 0 0; color: var(--creme-doux); }

.bio-appel { text-align: center; }
.bio-appel .boutons { justify-content: center; }

/* Page À propos : la fiche « En bref » */
.fiche { display: grid; grid-template-columns: max-content 1fr; gap: 0 clamp(24px, 5vw, 60px); margin: 10px 0 0; border-top: 1px solid var(--trait); max-width: 900px; }
.fiche dt, .fiche dd { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.fiche dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding-top: 22px; }
.fiche dd { font-size: 1.08rem; color: var(--creme); }
@media (max-width: 640px) { .fiche { grid-template-columns: 1fr; } .fiche dt { border-bottom: 0; padding-bottom: 0; } }

/* Pictogrammes de la fiche (page À propos) */
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fiche dt { display: flex; align-items: flex-start; gap: 10px; }
.fiche dt .ic { width: 17px; height: 17px; margin-top: -2px; }
.emo { display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-style: normal; }
.fiche dt .emo { font-size: 15px; width: 20px; height: auto; margin-top: -3px; }

/* ---------------------------------------------------------
   En-tête des pages annexes (À propos, mentions légales) :
   même esprit que le bureau, avec une flèche de retour
   --------------------------------------------------------- */
.barre-page {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px; padding: 20px 24px;
  background: linear-gradient(var(--noir) 55%, transparent);
}
.retour {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(244,241,234,.22); color: var(--creme); background: rgba(255,255,255,.03);
  transition: border-color .2s, color .2s, transform .2s;
}
.retour:hover, .retour:focus-visible { border-color: var(--accent); color: var(--accent); transform: translateX(-3px); outline: none; }
.barre-page__nom {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--creme); text-decoration: none;
}
.barre-page__nom:hover { opacity: .7; }
.pied-page {
  border-top: 1px solid var(--trait); padding: 28px 24px; text-align: center;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--creme-doux);
}
