/* ============================================================
   HADDOCK MENUISERIE — FEUILLE DE STYLE PARTAGÉE (styles.css)
   Reprise de la structure/typo de davidbross.fr, adaptée Haddock.
   Liée par : index · info · projets · presse
   ------------------------------------------------------------
   · Garde tous les fichiers dans le même dossier.
   · Mets tes images dans le sous-dossier "images/".
   ------------------------------------------------------------
   SOMMAIRE
     1. Variables & base
     2. Header (logo + nav)
     3. Hero plein écran — diaporama (Home)
     4. Page info (texte gauche / image + infos droite)
     5. Liste savoir-faire + mises en évidence
     6. Page projets (en construction)
     7. Page presse (images pleine largeur)
     8. Footer
   ============================================================ */

/* ---------- 1. VARIABLES & BASE ---------- */
:root{
  --bg:#FBFAF7;        /* blanc chaud */
  --fg:#1A1815;        /* noir chaud */
  --muted:#8C877D;     /* gris : légendes, méta */
  --line:#E6E1D7;      /* filet fin */
  --ph:#ECE7DD;        /* fond placeholder image */
  --ph-fg:#B4AD9F;     /* texte placeholder */
  --accent:#B5232B;    /* rouge Haddock (logo) */
  --sans:'Schibsted Grotesk','Helvetica Neue',Arial,sans-serif;
  --gutter:22px;       /* espace entre images */
  --pad:34px;          /* marge latérale du site */
}
*{ box-sizing:border-box; }
html,body{ margin:0; }
body{
  background:var(--bg); color:var(--fg); font-family:var(--sans);
  font-size:16px; line-height:1.55; font-weight:400;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; width:100%; height:auto; object-fit:cover; }
::selection{ background:var(--fg); color:var(--bg); }
:focus-visible{ outline:2px solid var(--fg); outline-offset:3px; }

/* placeholder image : à remplacer par des <img>. Libellé via data-label="…". */
.ph{ position:relative; background:var(--ph); }
.ph[data-label]::after{
  content:attr(data-label); position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; letter-spacing:.08em; color:var(--ph-fg); text-transform:uppercase;
}

/* ---------- 2. HEADER (logo + nav) ---------- */
.site-head{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:14px 40px; padding:24px var(--pad) 22px;
}
.site-head .wordmark{ display:block; line-height:0; }
.site-head .wordmark img{ width:auto; height:clamp(54px,7vw,78px); }
.site-head nav{ display:flex; flex-wrap:wrap; align-items:center; gap:clamp(16px,2.4vw,32px); }
.site-head nav a{
  font-size:clamp(20px,2.6vw,30px); font-weight:700; letter-spacing:-.01em;
  text-transform:uppercase; line-height:1; color:var(--fg);
}
.site-head nav a:hover{ text-decoration:underline; text-underline-offset:4px; }
.site-head nav a[aria-current="page"]{ color:var(--muted); }

/* ---------- 3. HERO PLEIN ÉCRAN — DIAPORAMA (Home) ----------
   La page d'accueil occupe tout l'écran : header en haut, image plein
   format en dessous. body.home passe en colonne flex pour que le hero
   remplisse exactement le reste de la fenêtre (aucun défilement). */
body.home{ display:flex; flex-direction:column; min-height:100vh; min-height:100svh; }
.hero-home{
  position:relative; flex:1 1 auto; width:100%; min-height:0;
  background:var(--ph); overflow:hidden;
}
.hero-slides{ position:absolute; inset:0; }
.hero-slides .hs{ position:absolute; inset:0; margin:0; opacity:0;
  transition:opacity .9s ease; }
.hero-slides .hs.is-active{ opacity:1; }
.hero-slides .hs .ph, .hero-slides .hs img{ width:100%; height:100%; object-fit:cover; }

/* pastilles de navigation du diaporama */
.hero-dots{ position:absolute; left:0; right:0; bottom:22px; z-index:2;
  display:flex; gap:10px; justify-content:center; }
.hero-dots button{ width:9px; height:9px; padding:0; border:0; border-radius:50%;
  background:rgba(255,255,255,.55); cursor:pointer; }
.hero-dots button:hover{ background:rgba(255,255,255,.8); }
.hero-dots button.is-active{ background:#fff; }

/* ---------- 4. PAGE INFO (texte gauche / image + infos droite) ---------- */
.info{ display:grid; grid-template-columns:1.3fr 1fr; gap:60px; padding:56px var(--pad) 90px; align-items:start; }
@media(max-width:820px){ .info{ grid-template-columns:1fr; gap:36px; padding:40px var(--pad) 64px; } }
.bio p{ font-size:19px; line-height:1.55; max-width:62ch; margin:0 0 20px; }
.bio a{ text-decoration:underline; text-underline-offset:3px; }
.side .ph, .side img{ aspect-ratio:4/5; object-fit:cover; }
.contact{ margin-top:26px; font-size:15px; }
.contact .row{ display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid var(--line); }
.contact .k{ color:var(--muted); }
.contact a:hover{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- 5. LISTE SAVOIR-FAIRE + MISES EN ÉVIDENCE ---------- */
/* effet « label » : surlignage en pastille rouge Haddock derrière le texte */
.mark{
  color:var(--accent); font-weight:600;
  background:rgba(181,35,43,.10);
  padding:.04em .3em; border-radius:3px;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}
.bio strong{ font-weight:600; }

/* liste des prestations */
.svc{ list-style:none; margin:14px 0 0; padding:0; max-width:62ch; }
.svc li{ padding:15px 0; border-bottom:1px solid var(--line); font-size:17px; line-height:1.5; }
.svc li:first-child{ border-top:1px solid var(--line); }
.svc li b{ font-weight:600; }

/* ---------- 6. PAGE PROJETS (en construction, image plein écran en fond) ----------
   La page passe en colonne flex (body.cover-page) pour que l'image remplisse
   le reste de la fenêtre, avec le texte centré par-dessus. */
body.cover-page{ display:flex; flex-direction:column; min-height:100vh; min-height:100svh; }
.cover{ position:relative; flex:1 1 auto; width:100%; min-height:0;
  background:var(--ph); overflow:hidden; }
.cover .cover-img{ position:absolute; inset:0; }
.cover .cover-img .ph, .cover .cover-img img{ width:100%; height:100%; object-fit:cover; }
.cover .scrim{ position:absolute; inset:0; z-index:1; background:rgba(26,24,21,.40); }
.cover .cover-in{ position:absolute; inset:0; z-index:2;
  display:flex; align-items:center; justify-content:center; text-align:center;
  padding:40px var(--pad); }
.cover .note{ color:#fff; font-weight:600;
  font-size:clamp(14px,2.2vw,18px); letter-spacing:.18em; text-transform:uppercase; }

/* ---------- 7. PAGE PRESSE (images pleine largeur, empilées) ---------- */
.press-head{ padding:52px var(--pad) 8px; }
.press-head h1{ font-size:clamp(28px,4vw,44px); font-weight:500; line-height:1.08;
  letter-spacing:-.01em; margin:0; }
.press-head p{ font-size:16px; color:var(--muted); margin:14px 0 0; max-width:60ch; }

.press{ padding:32px 0 20px; }        /* images bord à bord */
.press figure{ margin:0 0 var(--gutter); }
.press figure:last-child{ margin-bottom:0; }
.press figure .ph, .press figure img{ width:100%; height:auto; display:block; }
.press figcaption{ font-size:13px; color:var(--muted); padding:10px var(--pad) 0; }

/* ratios utilitaires (placeholders) : ajoute la classe sur le .ph ou l'<img> */
.r-32{ aspect-ratio:3/2 !important; } .r-11{ aspect-ratio:1/1 !important; }
.r-169{ aspect-ratio:16/9 !important; } .r-45{ aspect-ratio:4/5 !important; }
.r-23{ aspect-ratio:2/3 !important; } .r-34{ aspect-ratio:3/4 !important; }
.r-54{ aspect-ratio:5/4 !important; } .r-85{ aspect-ratio:8/5 !important; }

/* ---------- 8. FOOTER ---------- */
footer{ border-top:1px solid var(--line); display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:12px; padding:22px var(--pad); font-size:13px; color:var(--muted); }
footer a:hover{ color:var(--fg); text-decoration:underline; text-underline-offset:3px; }
