/* ============================================
   Amelle Sebatrijal — Feuille de style globale
   ============================================ */

:root {
  color-scheme: light;                 /* site clair assumé : empêche l'assombrissement auto des navigateurs (mode nuit Android/Chrome) qui rendait le bordeaux illisible */
  --bg: oklch(0.95 0.013 85);          /* écru */
  --bg-alt: oklch(0.91 0.016 80);      /* écru / taupe clair */
  --bg-deep: oklch(0.31 0.045 255);    /* bleu jean foncé (footer / CTA) */
  --ink: oklch(0.34 0.050 252);        /* bleu jean profond (texte) */
  --ink-soft: oklch(0.52 0.022 70);    /* taupe (texte secondaire) */
  --line: oklch(0.82 0.016 78);        /* taupe clair (filets) */
  --accent: oklch(0.43 0.120 18);      /* bordeaux */
  --accent-soft: oklch(0.86 0.055 20); /* bordeaux clair */
  --cream: oklch(0.975 0.009 85);      /* écru très clair (surfaces) */

  --serif: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 56px);

  /* ---- Thème de page (défauts) ---- */
  --page-bg: none;
  --theme-1: oklch(0.90 0.045 255);    /* glow bleu jean */
  --theme-2: oklch(0.93 0.018 85);     /* écru */
  --theme-3: oklch(0.88 0.050 20);     /* bordeaux doux */
  --theme-veil: oklch(0.955 0.012 85); /* voile écru (lisibilité) */
}

/* =====================================================
   Thèmes par page : variations subtiles dans la palette
   bleu jean / bordeaux / écru / taupe.
   ===================================================== */

body[data-theme="home"] {
  --theme-1: oklch(0.90 0.045 255);
  --theme-2: oklch(0.93 0.018 85);
  --theme-3: oklch(0.88 0.050 20);
  --theme-veil: oklch(0.955 0.012 85);
}
body[data-theme="admin"] {
  --theme-1: oklch(0.90 0.022 75);
  --theme-2: oklch(0.93 0.016 85);
  --theme-3: oklch(0.89 0.038 255);
  --theme-veil: oklch(0.955 0.012 80);
  --page-bg: url("../images/bg-admin.webp"); /* photo fournie : bureau / back-office */
}
body[data-theme="smm"] {
  --theme-1: oklch(0.89 0.060 20);
  --theme-2: oklch(0.93 0.020 85);
  --theme-3: oklch(0.89 0.045 255);
  --theme-veil: oklch(0.955 0.014 30);
  --accent: oklch(0.45 0.130 18);         /* bordeaux légèrement plus vif côté création */
  --page-bg: url("../images/bg-smm.webp"); /* photo fournie : création de contenu */
}
body[data-theme="collab"] {
  --theme-1: oklch(0.90 0.045 255);
  --theme-2: oklch(0.92 0.018 82);
  --theme-3: oklch(0.89 0.020 70);
  --theme-veil: oklch(0.958 0.012 82);
}
body[data-theme="news"] {
  --theme-1: oklch(0.91 0.020 72);
  --theme-2: oklch(0.93 0.016 88);
  --theme-3: oklch(0.90 0.035 255);
  --theme-veil: oklch(0.958 0.010 78);
}
body[data-theme="legal"] {
  --theme-1: oklch(0.95 0.012 82);
  --theme-2: oklch(0.94 0.012 78);
  --theme-3: oklch(0.95 0.010 85);
  --theme-veil: oklch(0.965 0.008 82);
}

/* Fonds photo fixes par page (image d'ambiance figée, voir body.bg-static) */
body.pb-realisations { --page-bg: url("../images/bg-realisations.webp"); }
body.pb-actualites  { --page-bg: url("../images/bg-actualites.webp"); }
body.pb-formules    { --page-bg: url("../images/bg-formules.webp"); }

/* Image de fond de l'en-tête : vraie balise <img> en couverture (remplit TOUT l'en-tête, mobile inclus) */
/* Image de fond de l'en-tête : posée DIRECTEMENT sur l'élément .page-head.
   Le fond d'un élément couvre toujours toute sa boîte (= hauteur réelle du contenu),
   donc il remplit l'en-tête de façon fiable quelle que soit la longueur du texte, PC + mobile.
   (Les calques séparés ne s'étiraient pas correctement sur certains mobiles.) */
.page-head {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-head .ph-photo { display: none; }
body.pb-realisations .page-head { background-image: url("../images/bg-realisations.webp"); }
body.pb-actualites  .page-head { background-image: url("../images/bg-actualites.webp"); }
body.pb-formules    .page-head { background-image: url("../images/bg-formules.webp"); }
body.pb-admin       .page-head { background-image: url("../images/bg-admin.webp?v=2"); }
body.pb-smm         .page-head { background-image: url("../images/bg-smm.webp?v=2"); }

/* Texte d'en-tête plus foncé sur les photos (lisibilité) */
body.bg-static .page-head .eyebrow,
body.bg-static .page-head .lead,
body.bg-static .page-head .crumb,
body.bg-static .page-head .crumb a { color: var(--ink); }
/* Le mot en italique (dégradé qui finissait en blanc) devient un bordeaux plein lisible */
body.bg-static .page-head h1 em {
  background: none;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

/* Légère teinte thématique sur toute la page (faible, lisible) */
body[data-theme] {
  background:
    radial-gradient(120% 70% at 82% -5%,
      color-mix(in oklch, var(--theme-1) 32%, transparent) 0%,
      transparent 58%),
    var(--bg);
  background-repeat: no-repeat;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Empêche tout débordement horizontal (décalage de page au swipe mobile).
   clip plutôt que hidden pour ne pas casser les position: sticky du site. */
html, body { overflow-x: clip; }
body { max-width: 100%; position: relative; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}

a:hover { opacity: .7; }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ============================================
   Typographie
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 .4em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 500; }

h1 em, h2 em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.55;
}

/* ============================================
   Layout helpers
   ============================================ */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(40px, 5.5vw, 78px) 0; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  max-width: 1440px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand span { color: var(--accent); font-style: italic; }

.nav {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  margin-left: auto;
  align-items: center;
  flex-wrap: nowrap;
}

.nav a {
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.nav a:hover { color: var(--ink); opacity: 1; }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav .cta {
  margin-left: 10px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: .85rem;
  border-bottom: 0;
}
.nav .cta:hover { opacity: .85; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 1160px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav .cta { margin: 14px 0 0; align-self: flex-start; }
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  transition: transform .15s ease, opacity .2s ease;
}

.btn:hover { opacity: .85; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover { background: var(--ink); color: var(--cream); opacity: 1; }

.btn-arrow::after { content: "→"; font-family: var(--serif); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ============================================
   Hero
   ============================================ */

.hero { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 24px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 400;
}
.stat .num em { color: var(--accent); font-style: italic; }
.stat .label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
  display: block;
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   Generic two-col layouts
   ============================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================
   Universe / service cards
   ============================================ */

.universes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 980px) { .universes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .universes { grid-template-columns: 1fr; } }

.universe-card {
  padding: 44px 38px 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.universe-card .label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.universe-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}

.universe-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 8px;
}
.universe-card li {
  font-size: .95rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.universe-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.universe-card .more {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* ============================================
   Prestations ponctuelles — accordéon
   ============================================ */
.presta-list {
  max-width: 760px;
  margin: 56px auto 0;
  border-top: 1px solid var(--line);
}
.presta-item {
  border-bottom: 1px solid var(--line);
}
.presta-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.presta-item summary::-webkit-details-marker { display: none; }
.presta-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
}
.presta-item[open] summary::after { content: "−"; }
.presta-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.presta-title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
}
.presta-item summary:hover .presta-title { color: var(--accent); }
.presta-detail {
  padding: 0 44px 26px 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.7;
}
.presta-detail p { margin: 0 0 14px; }
.presta-detail .more {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ============================================
   Service grid (used on detail pages)
   ============================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.service {
  padding: 40px 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.service:nth-child(3n) { border-right: 0; }
.service .num {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.service h3 {
  margin: 14px 0 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.service p {
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0 !important; }
}

/* ============================================
   CTA strip
   ============================================ */

.cta-strip {
  background: var(--bg-deep);
  color: var(--cream);
  padding: clamp(56px, 8vw, 96px) 0;
}
.cta-strip h2 { color: var(--cream); max-width: 22ch; }
.cta-strip h2 em { color: var(--accent-soft); }
.cta-strip .btn {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  margin-top: 24px;
}
.cta-strip .btn:hover { background: transparent; color: var(--cream); }

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.quote {
  padding: 32px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.45;
  font-style: italic;
  margin: 0;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
}
.quote .avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}
.quote .who { font-weight: 500; }
.quote .role { color: var(--ink-soft); display: block; font-size: .82rem; }

@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--bg-deep);
  color: oklch(0.78 0.012 75);
  padding: 80px 0 30px;
}
.site-footer a { color: oklch(0.86 0.012 75); }
.site-footer a:hover { color: var(--cream); opacity: 1; }

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid oklch(0.32 0.01 60);
}

.foot-brand h4 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.foot-brand p { font-size: .9rem; max-width: 32ch; line-height: 1.55; }

.foot-col h5 {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 18px;
  font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: .8rem;
  padding-top: 24px;
  color: oklch(0.62 0.01 75);
}
.foot-bottom a { color: oklch(0.78 0.012 75); }
.foot-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Cookie banner
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  display: none;
  z-index: 100;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.cookie-banner p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.5;
}
.cookie-banner p a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-actions button {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background .2s, color .2s;
}
.cookie-actions button.primary {
  background: var(--ink);
  color: var(--cream);
}
.cookie-actions button:hover { opacity: .85; }

/* ============================================
   Page heading (sub-pages)
   ============================================ */

.page-head {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.page-head .lead { margin-top: 18px; }
.page-head .crumb {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-head .crumb a { color: var(--ink-soft); }
.page-head .crumb span { color: var(--accent); }

/* ============================================
   Collaborations list
   ============================================ */

.collabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.collab {
  padding: 44px 36px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.collab:nth-child(3n) { border-right: 0; }
.collab .tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.collab h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 4px 0 6px;
}
.collab .meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 18px;
}
.collab p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) {
  .collabs { grid-template-columns: 1fr 1fr; }
  .collab:nth-child(3n) { border-right: 1px solid var(--line); }
  .collab:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .collabs { grid-template-columns: 1fr; }
  .collab { border-right: 0 !important; }
}

/* ============================================
   Réalisations — galerie portfolio (masonry)
   ============================================ */
.works {
  columns: 3;
  column-gap: 22px;
  margin-top: 56px;
}
.work {
  break-inside: avoid;
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(40, 28, 20, 0.05);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s cubic-bezier(.2,.7,.2,1);
}
.work-media { overflow: hidden; line-height: 0; background: var(--bg-deep); }
.work-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.work figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px 18px;
}
.work .tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.work h3 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .work:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px -24px rgba(40, 28, 20, 0.45);
  }
  .work:hover .work-media img { transform: scale(1.045); }
}
@media (max-width: 860px) {
  .works { columns: 2; column-gap: 18px; }
  .work { margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .works { columns: 1; }
}

/* ============================================
   Carrousel de réalisations (coverflow 3D)
   ============================================ */
.reel { margin-top: 30px; }
.reel-stage {
  position: relative;
  height: 390px;
  perspective: 1500px;
}
.cover {
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 30px 60px -28px rgba(40, 28, 20, 0.55);
  text-align: left;
  font: inherit;
  color: var(--cream);
}
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 46px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(transparent, rgba(20, 14, 10, 0.82));
}
.cover-theme { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.cover-count { font-family: var(--mono); font-size: .66rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .85; }
.cover::after {
  content: "Voir le thème";
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .35s ease, transform .35s ease;
}
.cover.is-active::after { opacity: 1; transform: none; }

/* Mode interactif (JS actif) : coverflow */
.reel.is-live .cover {
  position: absolute;
  top: 0;
  left: 50%;
  width: 300px;
  height: 100%;
  transform: translateX(-50%);
  transition: transform .8s cubic-bezier(.32, 1.3, .32, 1), opacity .7s ease, box-shadow .4s ease;
  will-change: transform, opacity;
}

/* Repli sans JS : grille simple de couvertures */
.reel:not(.is-live) .reel-stage {
  height: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  perspective: none;
}
.reel:not(.is-live) .cover { position: relative; height: 290px; }

.reel-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.reel-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s, transform .3s;
}
.reel-arrow:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.reel-dots { display: flex; gap: 9px; align-items: center; }
.reel-dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background .3s, width .3s;
}
.reel-dots button.on { background: var(--accent); width: 24px; border-radius: 5px; }

.theme-gallery { display: none; }

/* ----- Modale galerie ----- */
body.modal-open { overflow: hidden; }
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in oklch, var(--bg-deep) 72%, transparent);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .3s ease;
}
.reel-modal.show { opacity: 1; }
.reel-modal[hidden] { display: none; }
.reel-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 88vh;
  overflow: auto;
  background: var(--bg);
  border-radius: 20px;
  padding: 32px 32px 36px;
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(.98);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.reel-modal.show .reel-modal-inner { transform: none; }
.reel-modal-title { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; margin: 0 0 22px; padding-right: 48px; }
.reel-modal-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.reel-modal-close:hover { background: var(--ink); color: var(--cream); }
.reel-modal-body .works {
  columns: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 0;
}
.reel-modal-body .work {
  margin: 0;
  width: 320px;
  max-width: 100%;
}

@media (max-width: 860px) {
  .reel.is-live .cover { width: 250px; }
  .reel-stage { height: 380px; }
}
@media (max-width: 560px) {
  .reel.is-live .cover { width: 76%; }
  .reel-stage { height: 360px; }
  .reel-modal-inner { padding: 22px 18px 26px; }
  .reel-modal-title { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reel.is-live .cover { transition: none; }
  .reel-modal, .reel-modal-inner { transition: none; }
}

/* ============================================
   Section Promesse — orbite animée au scroll
   ============================================ */
.orbit { position: relative; height: 150vh; }
.orbit-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.orbit-stage {
  position: relative;
  width: min(540px, 90vw);
  height: min(540px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
}
.orbit-ring-outer { width: 100%; height: 100%; }
.orbit-ring-mid { width: 76%; height: 76%; border-color: color-mix(in oklch, var(--accent) 38%, var(--line)); }
.orbit-core {
  position: relative;
  z-index: 5;
  width: min(366px, 66vw);
  height: min(366px, 66vw);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9%;
  background: radial-gradient(circle at 50% 38%, color-mix(in oklch, var(--accent) 12%, var(--cream)) 0%, var(--cream) 72%);
  box-shadow: 0 36px 90px -44px color-mix(in oklch, var(--accent) 65%, transparent);
}
.orbit-core::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(from 200deg,
    color-mix(in oklch, var(--accent) 88%, transparent),
    color-mix(in oklch, var(--accent) 18%, var(--cream)),
    color-mix(in oklch, var(--accent) 88%, transparent));
  z-index: -1;
  -webkit-mask: radial-gradient(circle, transparent calc(100% - 8px), #000 calc(100% - 8px));
          mask: radial-gradient(circle, transparent calc(100% - 8px), #000 calc(100% - 8px));
}
.orbit-text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.3vw, 1.6rem);
  line-height: 1.34;
  color: var(--ink);
}
.orbit-text em { font-style: italic; color: var(--accent); }
.orbit-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px -18px rgba(40, 28, 20, 0.45);
  font-family: var(--mono);
  font-size: .92rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.orbit-chip svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.orbit-hint {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .orbit-chip { font-size: .66rem; padding: 9px 12px; }
  .orbit-chip svg { width: 13px; height: 13px; }
}
/* Mobile : cercle animé conservé, mais les étiquettes deviennent des BULLES compactes
   (icône au-dessus, texte sur plusieurs lignes) -> elles tiennent dans l'anneau sans
   être coupées ni passer sous la bulle centrale. Le rayon est aussi borné côté JS. */
@media (max-width: 760px) {
  .orbit { height: 120vh; }
  .orbit-core { width: min(140px, 34vw); height: min(140px, 34vw); padding: 7%; }
  .orbit-text { font-size: clamp(.6rem, 2.5vw, .78rem); line-height: 1.2; }
  .orbit-chip {
    flex-direction: column;
    width: 96px;
    min-height: 96px;
    padding: 11px 9px;
    border-radius: 22px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    font-size: .66rem;
    gap: 6px;
  }
  .orbit-chip svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit { height: auto; }
  .orbit-sticky { position: static; height: auto; padding: 80px 0; }
}

/* ============================================
   Hero « fenêtre qui s'ouvre » (scroll-expand)
   ============================================ */
.reveal-hero { position: relative; height: 180vh; }
.rh-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.rh-bg { position: absolute; inset: 0; z-index: 0; opacity: 1; }
.rh-bg img { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(7px) saturate(1.18) brightness(0.78); transform: scale(1.12); }
.rh-bg-veil { position: absolute; inset: 0; background: rgba(20, 14, 10, 0.28); }
.rh-frame {
  position: relative;
  z-index: 1;
  width: 340px;
  height: 240px;
  max-width: 96vw;
  max-height: 86vh;
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 50px 120px -40px rgba(40, 28, 20, 0.55);
}
.rh-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-veil { position: absolute; inset: 0; background: #fff; opacity: .3; pointer-events: none; }
.rh-title {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(94vw, 1040px);
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 1.04;
  color: var(--ink);
  text-shadow: 0 1px 2px rgba(40, 28, 20, 0.45), 0 1px 9px color-mix(in oklch, var(--cream) 42%, transparent);
  pointer-events: none;
}
.rh-title em { font-style: italic; color: color-mix(in oklch, var(--accent) 45%, var(--ink)); }
.rh-hint {
  position: absolute;
  z-index: 3;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-pitch { text-align: center; }
.hero-pitch .eyebrow { display: inline-block; }
.hero-pitch .lead { margin: 14px auto 28px; max-width: 60ch; }
.hero-pitch .btn-row { justify-content: center; }

/* ============================================
   Hero statique (message immédiat, efficace)
   ============================================ */
.hero-main { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 56px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy .eyebrow { display: inline-block; }
.hero-copy h1 {
  margin: 16px 0 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1.05;
  color: var(--ink);
}
.hero-copy h1 em { font-style: italic; color: var(--accent); }
.hero-copy .lead { max-width: 52ch; margin-bottom: 26px; }
.hero-proof {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-proof li {
  position: relative;
  padding-left: 24px;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.hero-proof li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%;
  background:
    color-mix(in oklch, var(--accent) 18%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a23b4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 90px -50px rgba(40, 28, 20, 0.6);
  border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 10; max-height: 320px; order: -1; }
  .hero-copy .lead { max-width: none; }
}

/* ============================================
   Section Exemples (identification + résultat)
   ============================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 4vw, 52px);
}
.case {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: clamp(22px, 3vw, 30px);
}
.case-pain {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.case-result {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* ============================================
   Comparatif « une seule personne »
   ============================================ */
.vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(36px, 4vw, 52px);
  align-items: start;
}
.vs-col {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 32px);
}
.vs-col h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.vs-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.vs-col li { position: relative; padding-left: 28px; line-height: 1.45; }
.vs-before { background: color-mix(in oklch, var(--ink-soft) 6%, var(--bg)); }
.vs-before h3, .vs-before li { color: var(--ink-soft); }
.vs-before li::before {
  content: "✕";
  position: absolute; left: 2px; top: -1px;
  font-weight: 700;
  color: color-mix(in oklch, var(--ink-soft) 80%, transparent);
}
.vs-after {
  background: color-mix(in oklch, var(--accent) 7%, var(--cream));
  border-color: color-mix(in oklch, var(--accent) 32%, var(--line));
}
.vs-after h3 { color: var(--accent); }
.vs-after li { color: var(--ink); }
.vs-after li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  background:
    color-mix(in oklch, var(--accent) 18%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a23b4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* ============================================
   CTA intermédiaire (bandeau de conversion)
   ============================================ */
.inline-cta { text-align: center; padding: clamp(40px, 5vw, 68px) 0; }
.inline-cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.inline-cta p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 26ch;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-hero { height: auto; }
  .rh-sticky { position: static; height: auto; min-height: 88vh; }
}
/* Mobile : hero figé (pas d'animation scroll) -> on supprime la hauteur 180vh
   pour éviter une longue zone de scroll vide. Gros gain de perf et de clarté. */
@media (max-width: 760px) {
  .reveal-hero { height: auto; }
  .rh-sticky { position: static; height: auto; min-height: 78vh; }
  .rh-title { font-size: clamp(2.2rem, 11vw, 3.4rem); }
}

/* ============================================
   Page Formules — grille de cartes tarifaires
   ============================================ */
.formulas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
  align-items: start;
}
.formula-price {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent);
  margin: 2px 0 12px;
}
.formula-price span {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 920px) {
  .formulas { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* ============================================
   Carrousel en cartes texte (services)
   ============================================ */
.reel-cards .reel-stage { height: 320px; }
.reel-cards .cover {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 26px 54px -30px rgba(40, 28, 20, 0.42);
}
.reel-cards.is-live .cover { width: 340px; }
.reel-cards .cover .num { font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; color: var(--accent); }
.reel-cards .cover h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.15; margin: 0; color: var(--ink); }
.reel-cards .cover p { font-size: .96rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.reel-cards .cover::after { display: none; }
.reel-cards .cover.is-active { cursor: default; }
.reel-cards:not(.is-live) .cover { height: auto; min-height: 190px; }
@media (max-width: 560px) {
  .reel-cards.is-live .cover { width: 80%; }
  .reel-cards .cover h3 { font-size: 1.35rem; }
}

/* ============================================
   Section À propos (photo + texte)
   ============================================ */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-label { display: none; }
.about-photo.is-empty {
  border: 1px dashed color-mix(in oklch, var(--ink-soft) 45%, var(--line));
}
.about-photo.is-empty .about-photo-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.about-photo-label small { font-size: .66rem; letter-spacing: .03em; text-transform: none; opacity: .8; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}

/* ============================================
   Articles (Actualités)
   ============================================ */

.articles {
  display: grid;
  gap: 0;
  margin-top: 56px;
}
.article {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 40px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.article:first-child { border-top: 1px solid var(--line); }
.article .date {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.article h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  margin: 0 0 8px;
}
.article p {
  color: var(--ink-soft);
  margin: 0;
  font-size: .98rem;
  max-width: 60ch;
}
.article .read {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.article-topic {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 780px) {
  .article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .article .read { margin-top: 8px; }
}

/* ============================================
   Legal / long-form text
   ============================================ */

.prose {
  max-width: 70ch;
  font-size: 1rem;
  color: var(--ink);
}
.prose h2 { font-size: 1.6rem; margin-top: 2.4em; }
.prose h3 { font-size: 1.15rem; margin-top: 2em; font-family: var(--sans); font-weight: 600; }
.prose p, .prose li { line-height: 1.7; color: var(--ink-soft); }
.prose ul { padding-left: 1.2em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ============================================
   Contact form
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: 56px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info ul { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-info li strong {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.contact-info li a { font-family: var(--serif); font-size: 1.25rem; }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================
   Section heading w/ eyebrow alignment
   ============================================ */

.section-head { max-width: 720px; }
.section-head .lead { margin-top: 16px; }

/* ============================================
   Carrousel « swipe » — MOBILE UNIQUEMENT
   (avis clients + prestations ponctuelles).
   Sur PC : aucun effet, la grille d'origine est conservée.
   ============================================ */
.swipe-dots { display: none; }
@media (max-width: 760px) {
  [data-swipe] {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 2px 8px;
    margin-inline: calc(var(--gutter) * -0.5);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * {
    flex: 0 0 82%;
    scroll-snap-align: center;
    margin: 0;
  }
  .swipe-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .swipe-dots button {
    width: 8px; height: 8px;
    padding: 0; border: none; border-radius: 50%;
    background: color-mix(in oklch, var(--ink-soft) 45%, transparent);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
  }
  .swipe-dots button.on {
    width: 22px; border-radius: 5px;
    background: var(--accent);
  }
}

/* ============================================
   Aperçu réalisations (accueil)
   ============================================ */
.real-strip {
  display: flex;
  gap: 18px;
  margin-top: clamp(36px, 4vw, 52px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.real-strip::-webkit-scrollbar { display: none; }
.real-strip > .real-card {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
}
#apercu-realisations .swipe-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
#apercu-realisations .swipe-dots button {
  width: 8px; height: 8px;
  padding: 0; border: none; border-radius: 50%;
  background: color-mix(in oklch, var(--ink-soft) 45%, transparent);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
#apercu-realisations .swipe-dots button.on {
  width: 22px; border-radius: 5px;
  background: var(--accent);
}
.real-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  box-shadow: 0 18px 44px -30px rgba(40, 28, 20, 0.55);
}
.real-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.real-card:hover img { transform: scale(1.05); }
.real-cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 7px 13px; border-radius: 999px;
  background: color-mix(in oklch, var(--bg-deep) 82%, transparent);
  color: #fff;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
}
@media (max-width: 760px) { .real-strip > .real-card { flex: 0 0 78%; } }

/* ============================================
   Témoignages — carrousel aussi sur desktop
   (sur mobile : géré par [data-swipe] plus haut)
   ============================================ */
@media (min-width: 761px) {
  #temoignages .testimonials {
    display: flex;
    grid-template-columns: none;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 10px;
    scrollbar-width: none;
  }
  #temoignages .testimonials::-webkit-scrollbar { display: none; }
  #temoignages .testimonials > * {
    flex: 0 0 calc((100% - 44px) / 3);
    scroll-snap-align: start;
  }
  #temoignages .swipe-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  #temoignages .swipe-dots button {
    width: 8px; height: 8px;
    padding: 0; border: none; border-radius: 50%;
    background: color-mix(in oklch, var(--ink-soft) 45%, transparent);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
  }
  #temoignages .swipe-dots button.on {
    width: 22px; border-radius: 5px;
    background: var(--accent);
  }
}

/* ============================================
   FAQ (questions / réponses) — SEO & accessibilité
   ============================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .faq-a {
  padding: 0 44px 24px 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  line-height: 1.7;
}
.faq-item .faq-a p { margin: 0 0 10px; }
