/* ============================================================
   Studio Photo Concept 44 — feuille de style partagée
   Palette  : Encre chaude #15120E · Lin #F4EFE7 · Ocre #C0875A · Grège #8C8475
   Polices  : Fraunces (titres) · Manrope (corps)
   Méthode  : mobile-first (base 375px → 768px → 1100px)
   ============================================================ */

/* --- Reset léger --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* --- Jetons globaux --- */
:root {
  --encre: #15120E;
  --encre-2: #1d1915;
  --encre-3: #262019;
  --lin: #F4EFE7;
  --ocre: #C0875A;
  --ocre-clair: #d3a079;
  --ocre-fonce: #8f5e33;      /* variante AA de l'ocre sur fond clair */
  --grege: #8C8475;

  --max: 1180px;
  --pad-x: clamp(20px, 5vw, 80px);
  --nav-h: 64px;
  --radius: 4px;
  --font-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-corps: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Thème SOMBRE (par défaut) --- */
body {
  --txt: #F4EFE7;
  --txt-soft: rgba(244, 239, 231, .82);
  --muted: #A39A8B;
  --accent: var(--ocre);
  --line-c: rgba(244, 239, 231, .14);
  --surface: #1d1915;
  --surface-2: #262019;

  background: var(--encre);
  color: var(--txt);
  font-family: var(--font-corps);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Thème CLAIR (sections de respiration) --- */
.section--light {
  --txt: #15120E;
  --txt-soft: #3a352d;
  --muted: #5f594e;
  --accent: var(--ocre-fonce);
  --line-c: rgba(21, 18, 14, .14);
  --surface: #fffdf9;
  --surface-2: #efe8db;

  background: var(--lin);
  color: var(--txt);
}

/* --- Accessibilité --- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ocre);
  color: #1a120b;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--ocre);
  outline-offset: 3px;
}
::selection { background: var(--ocre); color: #1a120b; }

/* --- Typographie --- */
h1, h2, h3 {
  font-family: var(--font-titre);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--txt);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-corps);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
}
.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
  color: var(--txt-soft);
}

/* --- Conteneurs & sections --- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section {
  padding: clamp(56px, 9vw, 120px) 0;
  border-top: 1px solid var(--line-c);
}
.section--flush { border-top: 0; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__title {
  font-size: clamp(30px, 5.2vw, 56px);
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}
.section__intro {
  margin-top: 18px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--txt-soft);
}

/* --- Liens fléchés --- */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  transition: gap .25s var(--ease);
}
.arrow-link:hover { gap: 14px; }

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn--primary {
  background: var(--ocre);
  color: #1a120b;
}
.btn--primary:hover { background: var(--ocre-clair); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid currentColor;
  color: var(--txt);
}
.btn--ghost:hover { border-color: var(--ocre); color: var(--ocre); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 18, 14, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 239, 231, .1);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.nav__brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--lin);
}
.nav__brand b {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocre);
}
.nav__links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: rgba(244, 239, 231, .8);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ocre); }
.nav__cta {
  padding: 9px 18px;
  border: 1px solid rgba(244, 239, 231, .3);
  border-radius: 999px;
}
.nav__cta:hover { border-color: var(--ocre); }

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--lin);
  transition: transform .3s var(--ease), opacity .3s;
}

/* --- Menu mobile --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: var(--pad-x);
  background: var(--encre);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-titre);
  font-size: clamp(28px, 9vw, 40px);
  color: var(--lin);
  padding: 8px 0;
}
.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] { color: var(--ocre); }
.mobile-menu__foot {
  margin-top: 36px;
  font-size: 14px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}
.mobile-menu__foot a { font-family: var(--font-corps); font-size: 14px; color: var(--ocre); }
body.menu-open { overflow: hidden; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(500px, 80vh, 760px);
  padding: clamp(40px, 8vw, 90px) 0 clamp(40px, 6vw, 70px);
  overflow: hidden;
  background: var(--encre-2);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(192,135,90,.05) 0 14px, rgba(192,135,90,0) 14px 28px),
    linear-gradient(135deg, #2a241d 0%, #1b1712 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(21,18,14,.45) 0%, rgba(21,18,14,.55) 45%, rgba(21,18,14,.9) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(38px, 8vw, 88px);
  max-width: 13ch;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--ocre-clair); }
.hero .lead { max-width: 54ch; color: rgba(244, 239, 231, .9); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero--page {
  min-height: clamp(320px, 46vh, 460px);
  align-items: center;
}
.hero--page h1 { font-size: clamp(34px, 6.5vw, 68px); }

/* ============================================================
   GRILLE 3 CARTES (prestations / atouts)
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line-c);
  border-radius: var(--radius);
}
.card__num {
  font-family: var(--font-corps);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 {
  font-size: clamp(23px, 3vw, 30px);
  margin-bottom: 12px;
}
.card p { color: var(--txt-soft); font-size: 16px; }
.card .arrow-link { margin-top: 20px; }
.card__media {
  margin: calc(-1 * clamp(24px, 3vw, 34px)) calc(-1 * clamp(24px, 3vw, 34px)) 22px;
  width: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ============================================================
   APERÇU PORTFOLIO (vignettes)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery figure { margin: 0; }
.gallery--captioned figure {
  border: 1px solid var(--line-c);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.gallery figcaption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
}
.gallery__more { margin-top: 28px; }

/* --- Image placeholder (remplacée au prompt 3) --- */
.ph {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background:
    repeating-linear-gradient(135deg, rgba(192,135,90,.05) 0 14px, rgba(192,135,90,.0) 14px 28px),
    linear-gradient(135deg, #2a241d 0%, #1b1712 100%);
}
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }

/* ============================================================
   ÉTAPES (comment ça se passe)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
.step {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line-c);
  border-radius: var(--radius);
}
.step__n {
  font-family: var(--font-titre);
  font-size: 34px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--txt-soft); font-size: 15px; }

/* ============================================================
   PRESTATIONS — bloc détaillé avec tarif
   ============================================================ */
.offer {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(36px, 6vw, 72px) 0;
  border-top: 1px solid var(--line-c);
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.offer:first-of-type { border-top: 0; }
.offer__media .ph { border-radius: var(--radius); }
.offer h2 { font-size: clamp(28px, 4.5vw, 46px); margin-bottom: 16px; }
.offer h2 em { font-style: italic; color: var(--accent); }
.offer__body p { color: var(--txt-soft); margin-bottom: 16px; }
.specs {
  display: grid;
  gap: 1px;
  margin-top: 26px;
  background: var(--line-c);
  border: 1px solid var(--line-c);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
}
.specs dt { color: var(--muted); font-size: 14px; }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.specs .price dd { color: var(--accent); font-size: 18px; }

/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */
.zones { display: grid; gap: 16px; grid-template-columns: 1fr; }
.zone-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line-c);
  border-radius: var(--radius);
}
.zone-card h3 { font-size: 24px; margin-bottom: 10px; }
.zone-card h3 span { color: var(--accent); }
.zone-card p { color: var(--txt-soft); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line-c);
  border-radius: 999px;
  font-size: 14px;
  color: var(--txt-soft);
}
.note {
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
  color: var(--txt-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   PROSE (à propos / mentions)
   ============================================================ */
.prose { max-width: 720px; }
.prose h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin: clamp(34px, 5vw, 52px) 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--txt-soft); margin-bottom: 16px; }
.prose ul.ticks { display: grid; gap: 12px; margin: 8px 0 16px; }
.prose ul.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--txt-soft);
}
.prose ul.ticks li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
}
.contact-info dl { display: grid; gap: 18px; margin: 0; }
.contact-info dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.ico { width: 15px; height: 15px; flex: none; }
.contact-info dd { margin: 0; font-size: 17px; }
.contact-info a { color: var(--txt); }
.contact-info a:hover { color: var(--accent); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--txt); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--line-c);
  border-radius: var(--radius);
  color: var(--txt);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
.form__note { font-size: 14px; color: var(--muted); }
.form button { justify-self: start; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #100d0a;
  border-top: 1px solid rgba(244, 239, 231, .1);
  padding: clamp(48px, 7vw, 80px) 0 36px;
  color: var(--lin);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(244, 239, 231, .1);
}
.footer__brand b {
  font-family: var(--font-titre);
  font-size: 24px;
  font-weight: 500;
}
.footer__brand p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.footer__brand a { color: var(--ocre); }
.footer__brand a:hover { color: var(--ocre-clair); }
.footer__col h4 {
  font-family: var(--font-corps);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ocre);
  margin: 0 0 16px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: rgba(244, 239, 231, .78); font-size: 15px; }
.footer__col a:hover { color: var(--ocre); }
.footer__bot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted);
}
.footer__bot a { color: var(--ocre); }
.footer__credit { max-width: 60ch; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  :root { --nav-h: 72px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .zones { grid-template-columns: repeat(3, 1fr); }
  .offer { grid-template-columns: 1fr 1fr; align-items: center; }
  .offer--flip .offer__media { order: 2; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* --- Préférences de mouvement réduit --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
