/* ==========================================================================
   Atelier Henley — feuille de style
   Direction « Plateau » : fond quasi noir, titres Anton, accent orange.
   Les couleurs et tailles se changent dans :root ci-dessous.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #111214;
  --fond-2: #18191c;
  --carte: #1e2024;
  --ligne: #2a2c30;
  --texte: #edeae4;
  --texte-2: #d6d2cb;
  --texte-3: #b9b5ae;
  --discret: #8e8a84;
  --accent: #e8643c;

  --titre: "Anton", Impact, "Arial Narrow", sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largeur: 1280px;
  --marge: clamp(20px, 4vw, 32px);
  --espace-section: clamp(64px, 9vw, 112px);
}

/* --- Base ---------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }

a { color: var(--texte); text-underline-offset: 4px; }
a:hover { color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

p { margin: 0; }

h1, h2, h3 { margin: 0; font-weight: 400; }

.sans-coupure { white-space: nowrap; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--fond);
  padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Mise en page -------------------------------------------------------- */

.conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding-inline: var(--marge);
}
.conteneur--centre { text-align: center; }
.conteneur--etroit { max-width: 860px; }

.section { padding-block: var(--espace-section); }
.section--sombre { background: var(--fond-2); }
.section--sans-haut { padding-top: 0; }

/* --- Typographie --------------------------------------------------------- */

.titre-1 {
  font-family: var(--titre);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  text-transform: uppercase;
}
.titre-2 {
  font-family: var(--titre);
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  text-transform: uppercase;
}
.titre-3 {
  font-family: var(--titre);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
}
.surtitre {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.texte-doux { color: var(--texte-2); }
.texte-discret { color: var(--texte-3); }

.prose p + p { margin-top: 18px; }
.prose p { color: var(--texte-2); max-width: 62ch; }

/* --- Boutons ------------------------------------------------------------- */

.bouton {
  display: inline-block;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--fond);
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: filter 0.2s;
}
.bouton:hover { color: var(--fond); filter: brightness(1.1); }
.bouton--contour { background: transparent; color: var(--texte); border-color: var(--texte); }
.bouton--contour:hover { color: var(--fond); background: var(--texte); filter: none; }
.bouton--petit { padding: 12px 20px; font-size: 15px; }

.boutons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.boutons--centre { justify-content: center; }
.boutons--serre { margin-top: 8px; }

/* --- En-tête et navigation ---------------------------------------------- */

.entete { position: relative; z-index: 10; }
.entete--superpose { position: absolute; inset: 0 0 auto 0; }

.entete__interieur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 24px var(--marge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--titre);
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.logo--pied { font-size: 22px; }

.navigation { display: flex; align-items: center; gap: 28px; }
.navigation ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.navigation ul a { font-size: 15px; font-weight: 500; text-decoration: none; }
.navigation ul a[aria-current="page"] { color: var(--accent); }

.menu-bouton { display: none; }

@media (max-width: 900px) {
  .menu-bouton {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    background: transparent; border: 1px solid var(--ligne); border-radius: 2px;
    color: var(--texte); cursor: pointer;
  }
  .menu-bouton__barres, .menu-bouton__barres::before, .menu-bouton__barres::after {
    display: block; width: 20px; height: 2px; background: currentColor; position: relative;
    transition: transform 0.2s;
  }
  .menu-bouton__barres::before, .menu-bouton__barres::after { content: ""; position: absolute; left: 0; }
  .menu-bouton__barres::before { top: -6px; }
  .menu-bouton__barres::after { top: 6px; }
  .menu-bouton[aria-expanded="true"] .menu-bouton__barres { background: transparent; }
  .menu-bouton[aria-expanded="true"] .menu-bouton__barres::before { transform: translateY(6px) rotate(45deg); }
  .menu-bouton[aria-expanded="true"] .menu-bouton__barres::after { transform: translateY(-6px) rotate(-45deg); }

  .navigation {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fond); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne);
    padding: 8px var(--marge) 24px;
  }
  .navigation.est-ouverte { display: flex; }
  .navigation ul { flex-direction: column; gap: 0; }
  .navigation ul a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--ligne); }
  .navigation .bouton { margin-top: 20px; text-align: center; }
}

/* --- Accueil : en-tête plein écran -------------------------------------- */

.heros {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.heros__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.heros::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,18,20,0.75) 0%, rgba(17,18,20,0.35) 45%, rgba(17,18,20,0) 70%),
    linear-gradient(180deg, rgba(17,18,20,0.6) 0%, rgba(17,18,20,0.1) 30%, rgba(17,18,20,0.75) 75%, var(--fond) 100%);
}
.heros__contenu {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--largeur);
  margin: 0 auto;
  padding: 140px var(--marge) clamp(56px, 8vw, 88px);
}
.heros .surtitre { color: var(--texte); text-shadow: 0 1px 14px rgba(0,0,0,0.8); }
.heros .surtitre::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px 4px 0; background: var(--accent); vertical-align: middle; }
@media (max-width: 700px) {
  .heros::after { background: linear-gradient(180deg, rgba(17,18,20,0.55) 0%, rgba(17,18,20,0.35) 35%, rgba(17,18,20,0.85) 60%, var(--fond) 100%); }
}
.heros__titre {
  font-family: var(--titre);
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 12ch;
}
.heros__texte { margin-top: 28px; max-width: 580px; font-size: clamp(18px, 2vw, 20px); color: var(--texte-2); }

/* --- Accueil : deux spécialités ----------------------------------------- */

.specialites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--ligne);
}
.specialite {
  background: var(--fond);
  display: flex; flex-direction: column; gap: 28px;
}
.specialite:first-child { padding-right: 48px; }
.specialite:last-child { padding-left: 48px; }
.specialite__video-titre { margin-top: 12px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.specialite__video-titre span { font-weight: 400; color: var(--texte-3); }
.specialite__bouton { align-self: flex-start; margin-top: auto; }

@media (max-width: 960px) {
  .specialites { grid-template-columns: minmax(0, 1fr); background: none; gap: 72px; }
  .specialite:first-child, .specialite:last-child { padding: 0; }
}

.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.offres {
  margin: 0; padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--ligne);
  display: flex; flex-direction: column; gap: 14px;
}
.offres strong { font-weight: 600; }
.offres li { color: var(--texte-3); }
.offres li strong { color: var(--texte); }

/* --- Lecteur vidéo ------------------------------------------------------- */

.video {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--carte);
  border: 1px solid var(--ligne);
  overflow: hidden;
  cursor: pointer;
}
.video__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video:hover .video__image { transform: scale(1.03); }
.video__lecture {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  transition: transform 0.2s;
}
.video__lecture svg { width: 28px; height: 28px; fill: var(--fond); margin-left: 3px; }
.video:hover .video__lecture { transform: scale(1.08); }
.video--petite .video__lecture { width: 40px; height: 40px; background: rgba(17,18,20,0.7); box-shadow: none; }
.video--petite .video__lecture svg { width: 16px; height: 16px; fill: var(--texte); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ligne-video { display: flex; align-items: center; gap: 16px; }
.ligne-video .video { flex: 0 0 160px; }
.ligne-video__titre { font-weight: 600; line-height: 1.3; }
.ligne-video__sous-titre { font-size: 15px; color: var(--texte-3); }

.carte-video { display: flex; flex-direction: column; }
.carte-video__titre { margin-top: 16px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.carte-video__sous-titre { font-size: 15px; color: var(--texte-3); }
.carte-video__description { margin-top: 10px; color: var(--texte-2); font-size: 16px; }

.grille-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 48px 32px;
}
.grille-videos--deux { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grille-videos--petite {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 24px 20px;
}
.grille-videos--petite .carte-video__titre { font-size: 15px; margin-top: 10px; }
.grille-videos--petite .video__lecture { width: 44px; height: 44px; }
.grille-videos--petite .video__lecture svg { width: 18px; height: 18px; }

/* --- Sections diverses --------------------------------------------------- */

.entete-section {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 40px; margin-bottom: 40px;
}
.entete-section--filet { border-top: 1px solid var(--ligne); padding-top: 48px; }
.petit-titre {
  font-size: 15px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--texte-3);
}

.apropos {
  display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 64px); align-items: center;
}
.apropos__photo { flex: 0 1 380px; width: 380px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.apropos__texte { flex: 1 1 420px; min-width: 0; }
.apropos__texte .titre-2 { margin-bottom: 24px; }
.apropos__texte .prose { margin-bottom: 32px; }

.appel { padding-block: clamp(80px, 11vw, 120px); }
.appel__titre { max-width: 14ch; margin-inline: auto; }
.appel__texte { margin: 24px auto 0; max-width: 520px; color: var(--texte-2); font-size: 19px; }

.bandeau { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--ligne); }
.bandeau .titre-1 { max-width: 16ch; }
.bandeau__intro { margin-top: 24px; max-width: 640px; font-size: clamp(18px, 2vw, 20px); color: var(--texte-2); }

.puces-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.puces-nav a {
  padding: 10px 18px; border: 1px solid var(--ligne); border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.puces-nav a:hover { border-color: var(--texte); }

.categorie + .categorie { margin-top: var(--espace-section); }
.categorie__entete { margin-bottom: 40px; max-width: 760px; }
.categorie__entete .texte-doux { margin-top: 16px; }

/* Services */
.service {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.service + .service { margin-top: var(--espace-section); padding-top: var(--espace-section); border-top: 1px solid var(--ligne); }
.service__texte { display: flex; flex-direction: column; gap: 24px; }
.service__medias { display: grid; gap: 8px; }
.service__medias img { width: 100%; object-fit: cover; }
.service__medias .rangee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.service__medias .rangee img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .service { grid-template-columns: minmax(0, 1fr); }
  .service__medias { order: -1; }
}

.etapes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2px;
  margin: 0; padding: 0; list-style: none; background: var(--ligne);
}
.etapes li { background: var(--fond-2); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.etapes__numero { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); }
.etapes__titre { font-family: var(--titre); font-size: 30px; text-transform: uppercase; line-height: 1.1; }
.etapes p { color: var(--texte-3); }

.faq__titre { margin-bottom: 32px; }
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  padding: 22px 40px 22px 0; cursor: pointer; list-style: none; position: relative;
  font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 24px; color: var(--texte-2); max-width: 64ch; }

/* À propos */
.photos-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photos-duo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 640px) { .photos-duo { grid-template-columns: minmax(0, 1fr); } }

.inattendu { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; }
.inattendu figure { margin: 0; flex: 0 1 320px; }
.inattendu img { width: 320px; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.inattendu__texte { flex: 1 1 380px; min-width: 0; }
.inattendu__texte .titre-3 { margin-bottom: 20px; }
.legende { margin-top: 10px; font-size: 14px; color: var(--discret); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact__direct { display: flex; flex-direction: column; gap: 28px; }
.contact__lien {
  display: block; font-family: var(--titre); font-size: clamp(30px, 4vw, 44px); line-height: 1.1;
  text-transform: uppercase; text-decoration: none; word-break: break-word;
}
.contact__lien:hover { color: var(--accent); }
.contact__etiquette { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte-3); margin-bottom: 6px; }
.encadre { background: var(--fond-2); border: 1px solid var(--ligne); padding: clamp(24px, 4vw, 40px); }
.encadre h2 { margin-bottom: 16px; }
.encadre ul { margin: 16px 0 0; padding-left: 20px; color: var(--texte-2); }
.encadre li + li { margin-top: 6px; }

.formulaire { display: grid; gap: 20px; }
.champ { display: grid; gap: 8px; }
.champ label { font-weight: 600; font-size: 15px; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 14px 16px;
  background: var(--fond); color: var(--texte);
  border: 1px solid #3a3c41; border-radius: 2px;
  font: inherit;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.champs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 560px) { .champs-duo { grid-template-columns: minmax(0, 1fr); } }
.formulaire .bouton { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.piege { display: none; }

/* --- Pied de page -------------------------------------------------------- */

.pied { border-top: 1px solid var(--ligne); }
.pied__interieur {
  padding-block: 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  font-size: 15px; color: var(--texte-3);
}
.pied__colonne { display: flex; flex-direction: column; gap: 6px; }
.pied__colonne a { color: var(--texte-3); text-decoration: none; }
.pied__colonne a:hover { color: var(--texte); }
.pied__colonne .logo { color: var(--texte); margin-bottom: 4px; }
