/* ==========================================================================
   EMFI Conseil — Refonte 2026 (maquette Click My Site)
   Couleurs de la marque : rouge logo #e90f13 · bordeaux #740001 · brun profond
   Police unique : DM Sans
   ========================================================================== */

:root {
  --red: #e90f13;
  --red-soft: #ef4f52;
  --wine: #740001;
  --wine-2: #8f0b0d;
  --rose: #f2a89c;
  --rose-soft: #f8e9e5;
  --ink: #1e1513;
  --ink-2: #2a1d1a;
  --night: #150e0d;
  --text: #45372f;
  --muted: #7d6a63;
  --paper: #fbf9f6;
  --sand: #f3ede7;
  --white: #ffffff;
  --line: rgba(53, 28, 25, 0.12);
  --line-strong: rgba(53, 28, 25, 0.22);
  --line-light: rgba(255, 255, 255, 0.16);

  --serif: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 11vw, 160px);
  --header-h: 88px;
  --bar-h: 40px;
  --header-h-solid: 70px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 1px 2px rgba(30, 21, 19, .05), 0 18px 40px -22px rgba(30, 21, 19, .35);
  /* Étalonnage commun à toutes les photos : même chaleur, même densité */
  --grade: saturate(.74) sepia(.12) contrast(1.05) brightness(.97);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body { padding-top: var(--bar-h); }
body.menu-open { overflow: hidden; }

/* Bandeau « prochaine session » au-dessus de l'en-tête */
.topbar { position: absolute; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 120; background: var(--red); color: #fff; font-size: .86rem; }
.topbar__link { height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 var(--gutter); white-space: nowrap; overflow: hidden; }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; }
.topbar strong { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.topbar__title { font-weight: 500; }
.topbar__meta { opacity: .82; overflow: hidden; text-overflow: ellipsis; }
.topbar__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); }
.topbar__cta svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.topbar__link:hover .topbar__cta svg { transform: translateX(4px); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
strong { font-weight: 500; color: var(--ink); }
::selection { background: var(--wine); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: none; }

/* Photos : un seul étalonnage pour toute la banque d'images */
.ph { filter: var(--grade); }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.display { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; }
.h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); }
.h2 { font-size: clamp(2rem, 3.7vw, 3.4rem); line-height: 1.1; }
.h3 { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.2; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; color: var(--wine); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.eyebrow--light { color: rgba(255,255,255,.82); }

.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--ink-2); font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 0.74rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--wine); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--wine); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--red); color: #fff; }
.btn--ghost { background: rgba(53,28,25,.07); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: rgba(255,255,255,.14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 6px; background: linear-gradient(var(--red), var(--red)) left bottom / 28px 2px no-repeat;
  transition: background-size .45s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; color: var(--wine); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--rose); }

/* --------------------------------------------------------------------------
   Logo — repris du fichier d'origine : anneaux rouges + mot à la couleur du fond
   -------------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; height: 34px; color: inherit; }
.logo__mark { height: 100%; aspect-ratio: 258 / 282; background: url("../img/logo-emfi.png") left center / auto 100% no-repeat; }
.logo__word {
  height: 100%; aspect-ratio: 1142 / 282; background-color: currentColor;
  -webkit-mask: url("../img/logo-emfi.png") right center / auto 100% no-repeat;
          mask: url("../img/logo-emfi.png") right center / auto 100% no-repeat;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; top: var(--bar-h); z-index: 100; height: var(--header-h); color: #fff;
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), top .4s var(--ease);
}
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.site-header.is-solid, .header-solid .site-header {
  background: rgba(251, 249, 246, .94); color: var(--ink);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid { height: var(--header-h-solid); top: 0; }
.header-logo { justify-self: center; }
.header-logo .logo { height: 36px; transition: height .5s var(--ease); }
.site-header.is-solid .header-logo .logo { height: 30px; }

.menu-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px; height: 44px;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 28px; height: 10px; flex: none; }
.menu-toggle__icon span { position: absolute; left: 0; height: 1.5px; background: currentColor; transition: width .45s var(--ease); }
.menu-toggle__icon span:nth-child(1) { top: 0; width: 28px; }
.menu-toggle__icon span:nth-child(2) { top: 8px; width: 16px; }
.menu-toggle:hover .menu-toggle__icon span:nth-child(2) { width: 28px; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 26px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 400; letter-spacing: .02em; }
.header-phone svg { width: 15px; height: 15px; }
.header-cta { height: 44px; padding: 0 22px; }
.site-header:not(.is-solid) .header-cta { background: #fff; color: var(--ink); }
.site-header:not(.is-solid) .header-cta:hover { background: var(--red); color: #fff; }
.header-solid .site-header .header-cta, .site-header.is-solid .header-cta { background: var(--ink); color: #fff; }
.header-solid .site-header .header-cta:hover, .site-header.is-solid .header-cta:hover { background: var(--red); }

/* --------------------------------------------------------------------------
   Menu plein écran
   -------------------------------------------------------------------------- */
.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--night); color: #fff;
  display: grid; grid-template-rows: var(--header-h) 1fr auto;
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease), opacity .3s linear .4s, visibility 0s linear .7s;
}
.menu.is-open { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease), opacity 0s, visibility 0s; }
.menu__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu__top .logo { color: #fff; height: 34px; }
.menu-close { justify-self: start; display: inline-flex; align-items: center; gap: 14px; height: 44px; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.menu-close__icon { position: relative; width: 22px; height: 22px; }
.menu-close__icon::before, .menu-close__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 1.5px; background: currentColor; }
.menu-close__icon::before { transform: rotate(45deg); }
.menu-close__icon::after { transform: rotate(-45deg); }

.menu__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gutter); align-items: center; padding-top: 16px; padding-bottom: 16px; overflow-y: auto; }
.menu__group + .menu__group { margin-top: 26px; }
.menu__label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 8px; display: block; }
.menu__nav li { border-top: 1px solid var(--line-light); }
.menu__nav li:last-child { border-bottom: 1px solid var(--line-light); }
.menu__nav a {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px;
  padding: clamp(9px, 1.4vh, 15px) 0;
  font-family: var(--serif); font-size: clamp(1.45rem, 2.9vw, 2.45rem); font-weight: 400; line-height: 1.12;
  transition: color .3s var(--ease), padding-left .45s var(--ease);
}
.menu__nav a small { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; color: rgba(255,255,255,.4); }
.menu__nav a .sub { font-family: var(--sans); font-size: .78rem; color: rgba(255,255,255,.45); letter-spacing: .02em; }
.menu__nav a:hover, .menu__nav a[aria-current="page"] { color: var(--rose); padding-left: 10px; }
.menu.is-open .menu__nav li { animation: menuIn .8s var(--ease) both; }
.menu.is-open .menu__nav li:nth-child(2) { animation-delay: .05s; }
.menu.is-open .menu__nav li:nth-child(3) { animation-delay: .1s; }
.menu.is-open .menu__nav li:nth-child(4) { animation-delay: .15s; }
.menu.is-open .menu__nav li:nth-child(5) { animation-delay: .2s; }
.menu.is-open .menu__nav li:nth-child(6) { animation-delay: .25s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.menu__aside { display: grid; gap: 28px; align-content: center; }
.menu__card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; }
.menu__card img { width: 100%; height: 100%; object-fit: cover; }
.menu__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,14,13,.9), rgba(21,14,13,.05) 65%); }
.menu__card-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 6px; }
.menu__card-body strong { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.4rem; line-height: 1.2; }
.menu__card-body span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.menu__info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; font-size: 0.92rem; color: rgba(255,255,255,.75); }
.menu__info strong { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: #fff; margin-bottom: 4px; }
.menu__info a:hover { color: #fff; }
.menu__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 72px; border-top: 1px solid var(--line-light); font-size: 0.8rem; color: rgba(255,255,255,.55); }

/* --------------------------------------------------------------------------
   Hero accueil
   -------------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--night); }
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.07); animation: heroZoom 2.6s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,14,13,.62) 0%, rgba(21,14,13,0) 26%),
    linear-gradient(0deg, rgba(21,14,13,.96) 0%, rgba(21,14,13,.7) 40%, rgba(21,14,13,.2) 75%),
    linear-gradient(90deg, rgba(116,0,1,.38) 0%, rgba(116,0,1,0) 60%);
}
.hero__content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 7vh, 84px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); gap: clamp(40px, 6vw, 120px); align-items: end; }
.hero .display { color: #fff; max-width: 15ch; }
.hero .display em { color: var(--rose); display: block; }
.hero__side { display: grid; gap: 26px; padding-bottom: 8px; }
.hero__side p { color: rgba(255,255,255,.84); font-size: 1.06rem; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tags { margin-top: clamp(36px, 5vh, 56px); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.hero__tags span { display: inline-flex; align-items: center; gap: 10px; }
.hero__tags span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

/* Bandeau « prochaine session » */
.session {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 18px 18px 18px 26px; border-radius: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  color: #fff; transition: background-color .4s var(--ease);
}
.session:hover { background: rgba(255,255,255,.13); }
.session__badge { display: inline-flex; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); white-space: nowrap; }
.session__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(233,15,19,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(233,15,19,0); } 100% { box-shadow: 0 0 0 0 rgba(233,15,19,0); } }
.session__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; min-width: 0; }
.session__title { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.2; }
.session__meta { font-size: .9rem; color: rgba(255,255,255,.7); }
.session--light { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.session--light:hover { background: #fff; }
.session--light .session__badge { color: var(--wine); }
.session--light .session__meta { color: var(--muted); }

/* --------------------------------------------------------------------------
   Hero des pages intérieures
   -------------------------------------------------------------------------- */
.page-hero { position: relative; min-height: clamp(460px, 72vh, 700px); color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--night); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 2.4s var(--ease) forwards; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,14,13,.66) 0%, rgba(21,14,13,.22) 38%, rgba(21,14,13,.9) 100%),
    linear-gradient(90deg, rgba(116,0,1,.34) 0%, rgba(116,0,1,0) 62%);
}
.page-hero__content { position: relative; width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(44px, 7vh, 84px); }
.page-hero .h1 { color: #fff; max-width: 16ch; margin-top: 18px; }
.page-hero .h1 em { color: var(--rose); }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.page-hero__aside { max-width: 40ch; display: grid; gap: 22px; padding-bottom: 8px; }
.page-hero__aside p { color: rgba(255,255,255,.86); font-size: 1.06rem; }
.page-hero__question { font-family: var(--serif); font-style: normal; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.35; color: #fff !important; }

.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.68); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

.page-head { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 130px)); padding-bottom: clamp(44px, 6vw, 76px); border-bottom: 1px solid var(--line); }
.page-head .breadcrumb { color: var(--muted); }
.page-head .breadcrumb a:hover { color: var(--wine); }
.page-head .h1 { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Sections et grilles
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .62) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.78); }
.section--ink .h2, .section--ink .h3 { color: #fff; }
.section--ink .h2 em, .section--ink .h3 em { color: var(--rose); }
.section--ink .eyebrow { color: var(--rose); }
.section--ink .lead { color: rgba(255,255,255,.86); }

.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head__title { display: grid; gap: 22px; }
.section-head .h2 { max-width: 18ch; }
.section-head__side { display: grid; gap: 22px; justify-items: start; }
.section-head__side p { max-width: 52ch; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--center { align-items: center; }
.stack-24 > * + * { margin-top: 24px; }
.stack-16 > * + * { margin-top: 16px; }
.prose p + p { margin-top: 18px; }
.prose p { max-width: 64ch; }
.sticky { position: sticky; top: calc(var(--header-h-solid) + 36px); }
.spacer { height: clamp(64px, 8vw, 112px); }
.center { text-align: center; }

/* Grande phrase d'accroche */
.statement { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.2; color: var(--ink); letter-spacing: -0.03em; max-width: 26ch; }
.statement em { font-style: normal; color: var(--wine); }

/* Intro de l'accueil : portrait + accroche */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.photo.intro__photo { aspect-ratio: 4 / 5; border-radius: 0; }
/* Portrait détouré, posé directement sur le fond */
.intro__cutout { margin: 0; align-self: end; }
.intro__frame {
  border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.3; display: flex; align-items: flex-end;
  background: radial-gradient(90% 70% at 85% 10%, rgba(233,15,19,.10), rgba(233,15,19,0) 60%), linear-gradient(180deg, #f4eee8 0%, #ece3db 100%);
  box-shadow: var(--shadow);
}
.intro__frame img { width: 100%; height: auto; display: block; }
.intro__cutout figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding-top: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.intro__cutout figcaption strong { color: var(--ink); font-weight: 500; }
.intro__text .statement { font-size: clamp(1.6rem, 2.6vw, 2.5rem); max-width: 24ch; margin-bottom: clamp(26px, 3vw, 40px); }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .intro__photo, .intro__cutout { max-width: 460px; } }

/* Photo encadrée */
.photo { position: relative; overflow: hidden; border-radius: 22px; background: var(--ink); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 20px;
  padding: 70px clamp(20px, 2.4vw, 30px) 22px; color: #fff;
  background: linear-gradient(0deg, rgba(21,14,13,.76), rgba(21,14,13,0));
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}

/* Chiffres clés */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.fact { padding: 32px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact__value { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4.2vw, 3.9rem); line-height: 1; color: var(--ink); letter-spacing: -0.045em; white-space: nowrap; }
.fact__value small { font-size: .42em; font-family: var(--sans); font-weight: 400; color: var(--wine); letter-spacing: .02em; margin-left: 4px; }
.fact__label { margin-top: 16px; font-size: 0.92rem; color: var(--muted); max-width: 28ch; }
.fact__label a { color: var(--wine); border-bottom: 1px solid currentColor; }

/* --------------------------------------------------------------------------
   Cartes « besoin » (accueil)
   -------------------------------------------------------------------------- */
.needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.need {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow);
  min-height: clamp(420px, 36vw, 560px); color: #fff; background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 2.6vw, 36px);
}
.need__img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.need::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(150deg, rgba(116,0,1,.5) 0%, rgba(30,21,19,.35) 100%); mix-blend-mode: multiply; }
.need::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21,14,13,.95) 0%, rgba(21,14,13,.62) 42%, rgba(21,14,13,.12) 74%); }
.need:hover .need__img { transform: scale(1.05); }
.need__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.need__num { font-size: .78rem; letter-spacing: .16em; color: rgba(255,255,255,.7); }
.need__q { font-family: var(--serif); font-style: normal; font-size: 1.02rem; color: rgba(255,255,255,.88); max-width: 30ch; text-align: right; }
.need__body { display: grid; gap: 14px; }
.need__title { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
.need__desc { color: rgba(255,255,255,.8); font-size: .98rem; max-width: 50ch; }
.need__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.need__items { overflow: hidden; display: flex; flex-wrap: wrap; gap: 6px; }
.need__items li { margin-top: 6px; font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.need:hover .need__more, .need:focus-visible .need__more { grid-template-rows: 1fr; }
.need__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.need__title { max-width: 12ch; }
.round-arrow { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: #fff; }
.round-arrow svg { width: 20px; height: 20px; transition: transform .45s var(--ease); }
.round-arrow--sm { width: 44px; height: 44px; }
.round-arrow--sm svg { width: 17px; height: 17px; }
.need:hover .round-arrow svg, .other-need:hover .round-arrow svg, .round-arrow:hover svg { transform: translateX(5px); }
@media (hover: none) { .need__more { grid-template-rows: 1fr; } }

/* --------------------------------------------------------------------------
   Méthode : trois temps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__media img { transform: scale(1.05); }
.step__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(116,0,1,.28), rgba(30,21,19,.1)); mix-blend-mode: multiply; }
.step__body { padding: 28px clamp(22px, 2.2vw, 32px) 32px; display: grid; gap: 12px; align-content: start; }
.step__num { font-family: var(--serif); font-style: normal; font-size: 1.05rem; color: var(--red); }
.step__title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.6rem, 2.2vw, 2.1rem); color: var(--ink); line-height: 1.1; }
.step__text { color: var(--muted); font-size: .98rem; }
.step--ink { background: var(--ink); color: rgba(255,255,255,.75); }
.step--ink .step__title { color: #fff; }
.step--ink .step__text { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------------------
   Bento « pourquoi »
   -------------------------------------------------------------------------- */
.pillars { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.pillar {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow);
  padding: clamp(28px, 3.2vw, 48px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pillar:hover { transform: translateY(-4px); }
.pillar--wine { grid-row: span 2; background: var(--wine); color: rgba(255,255,255,.82); }
.pillar--ink { background: var(--ink); color: rgba(255,255,255,.76); }
.pillar--light { background: #fff; color: var(--muted); }
.pillar__bg { position: absolute; z-index: -1; right: -10%; bottom: -14%; width: 60%; aspect-ratio: 1; opacity: .08; color: #fff; }
.pillar--wine .pillar__bg { width: 80%; right: -16%; bottom: -12%; }
.pillar--light .pillar__bg { color: var(--wine); opacity: .07; }
.pillar__bg svg { width: 100%; height: 100%; stroke-width: .6; }
.pillar__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; }
.pillar--light .pillar__icon { background: var(--rose-soft); color: var(--wine); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.12; color: #fff; margin-bottom: 14px; max-width: 18ch; }
.pillar--wine h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.pillar--light h3 { color: var(--ink); }
.pillar p { max-width: 46ch; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Formations — cartes phares
   -------------------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.feature__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__tag { position: absolute; left: 18px; top: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.feature__body { padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 16px; align-content: start; }
.feature__body h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.6rem, 2.3vw, 2.2rem); color: var(--ink); line-height: 1.1; }
.feature__body > div { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 16px; height: 9px; border-left: 1.5px solid var(--red); border-bottom: 1.5px solid var(--red); transform: rotate(-45deg) translateY(-3px); }
.checks.on-dark li, .block--ink .checks li, .block--wine .checks li { color: rgba(255,255,255,.88); }
.checks.on-dark li::before, .block--ink .checks li::before, .block--wine .checks li::before { border-color: var(--rose); }

/* Labels / certifications */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.trust { gap: 14px 36px; }
.trust__item { display: inline-flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--ink); }
.trust__item img { height: 46px; width: auto; mix-blend-mode: multiply; }
.trust__item--text { padding-left: 22px; border-left: 1px solid var(--line-strong); }

.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.badge { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.badge__logo { height: 84px; display: grid; place-items: center; }
.badge__logo img { max-height: 84px; width: auto; }
.badge strong { display: block; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.25rem; line-height: 1.2; }
.badge span { font-size: .9rem; color: var(--muted); }

.certs { display: flex; align-items: center; justify-content: space-between; gap: 32px clamp(32px, 6vw, 96px); flex-wrap: wrap; padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.certs__logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
.certs__logos img { height: clamp(64px, 7vw, 92px); width: auto; mix-blend-mode: multiply; }
.section--sand .certs__logos img { mix-blend-mode: multiply; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.partner { padding: 26px 22px 6px 0; display: grid; gap: 10px; }
.partner + .partner { padding-left: 22px; border-left: 1px solid var(--line); }
.partner svg { width: 26px; height: 26px; color: var(--wine); }
.partner strong { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.3rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   Exemples d'accompagnement — cartes
   -------------------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.case-card:hover { transform: translateY(-4px); }
.case-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__kpi { position: absolute; left: 16px; bottom: 16px; right: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(21,14,13,.62); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 2px; }
.case-card__kpi strong { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.7rem; line-height: 1.1; }
.case-card__kpi span { font-size: .8rem; color: rgba(255,255,255,.78); }
.case-card__body { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: start; }
.case-card__body h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.45rem; line-height: 1.18; color: var(--ink); }
.case-card__body p { font-size: .95rem; color: var(--muted); }
.tag { display: inline-flex; align-self: start; justify-self: start; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); font-weight: 500; }

/* Exemples — liste éditoriale */
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h-solid) + 20px); }
.case:first-child { border-top: 0; padding-top: 0; }
.case__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); align-self: start; }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__media .case-card__kpi { left: 18px; right: 18px; bottom: 18px; }
.case__num { font-family: var(--serif); font-style: normal; color: var(--red); font-size: 1.05rem; }
.case__title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.8rem, 2.8vw, 2.6rem); color: var(--ink); line-height: 1.1; margin: 10px 0 26px; }
.case__block { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.case__block h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-top: 4px; }
.case__block p + p, .case__block p + ul, .case__block ul + p { margin-top: 12px; }
.case__block--result { background: var(--rose-soft); border-top: 0; border-radius: 16px; padding: 22px 24px; margin-top: 8px; }
.case__block--result h4 { color: var(--wine); }
.case__links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.bullets { display: grid; gap: 8px; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Filtres (exemples, catalogue) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .86rem; color: var(--ink); background: transparent; transition: all .3s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-size: .74rem; opacity: .6; }
.filter-bar { display: grid; gap: 18px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); margin-bottom: 30px; }
.filter-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
.filter-row > span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; height: 52px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); padding: 0 20px 0 48px; font: inherit; font-size: 1rem; color: var(--ink); outline: none; transition: border-color .3s; }
.search input:focus { border-color: var(--wine); }
.result-count { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.is-hidden { display: none !important; }

/* --------------------------------------------------------------------------
   Catalogue de formations
   -------------------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tcard { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.tcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.tcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tcard__dur { padding: 5px 11px; border-radius: 999px; background: var(--sand); color: var(--ink); letter-spacing: .04em; text-transform: none; font-size: .8rem; white-space: nowrap; }
.tcard__new { padding: 5px 11px; border-radius: 999px; background: var(--red); color: #fff; letter-spacing: .1em; font-size: .68rem; }
.tcard h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
.tcard__theme { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wine); font-weight: 500; }
.tcard p { font-size: .94rem; color: var(--muted); }
.tcard details { border-top: 1px solid var(--line); padding-top: 12px; }
.tcard summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.tcard summary::-webkit-details-marker { display: none; }
.tcard summary::after { content: "+"; font-size: 1.2rem; font-weight: 300; color: var(--red); transition: transform .3s; }
.tcard details[open] summary::after { transform: rotate(45deg); }
.tcard details ul { margin-top: 12px; }
.tcard details li { font-size: .9rem; }
.tcard__foot { margin-top: auto; padding-top: 6px; }

/* Offre facturation électronique (modules) */
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.module { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.module__code { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.module__code b { color: var(--wine); font-weight: 500; }
.module h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.5rem; line-height: 1.18; color: var(--ink); }
.module__sub { font-style: normal; font-family: var(--serif); color: var(--wine); margin-top: -6px; }
.module p { font-size: .95rem; color: var(--muted); }
.module details { border-top: 1px solid var(--line); padding-top: 12px; }
.module summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.module summary::-webkit-details-marker { display: none; }
.module summary::after { content: "+"; color: var(--red); font-size: 1.15rem; transition: transform .3s; }
.module details[open] summary::after { transform: rotate(45deg); }
.module details .bullets { margin-top: 12px; font-size: .92rem; }
.module__foot { margin-top: auto; padding-top: 4px; }

/* Charte qualité */
.quality { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.quality > div { padding: 30px 28px 0 0; display: grid; gap: 12px; align-content: start; }
.quality > div + div { padding-left: 28px; border-left: 1px solid var(--line-light); }
.quality span { font-family: var(--serif); font-style: normal; color: var(--rose); }
.quality h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; color: #fff; font-size: 1.6rem; line-height: 1.15; }

/* --------------------------------------------------------------------------
   Pages besoin : interventions, livrables, liens
   -------------------------------------------------------------------------- */
.offer-list { border-top: 1px solid var(--line-strong); counter-reset: off; }
.offer-list li { counter-increment: off; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: var(--ink); transition: padding-left .4s var(--ease), color .3s; }
.offer-list li::before { content: counter(off, decimal-leading-zero); font-size: .8rem; color: var(--red); letter-spacing: .08em; font-weight: 500; }
.offer-list li:hover { padding-left: 8px; color: var(--wine); }

.block { padding: clamp(30px, 3vw, 44px); border-radius: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
.block--ink { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.78); }
.block--ink .h3 { color: #fff; }
.block--wine { background: var(--wine); border-color: var(--wine); color: rgba(255,255,255,.84); }
.block--wine .h3 { color: #fff; }
.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel { position: relative; display: grid; gap: 14px; align-content: start; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.rel:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.rel__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.rel h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.rel ul { display: grid; gap: 8px; font-size: .95rem; }
.rel ul li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.rel ul li span { color: var(--muted); white-space: nowrap; font-size: .85rem; }
.rel .link-arrow { margin-top: 8px; justify-self: start; }

.other-needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.other-need { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; min-height: 220px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; color: #fff; background: var(--ink); }
.other-need img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.other-need::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21,14,13,.92), rgba(21,14,13,.3)); }
.other-need:hover img { transform: scale(1.06); }
.other-need span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.other-need strong { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.55rem; line-height: 1.15; margin-top: 6px; }

/* --------------------------------------------------------------------------
   Actualités
   -------------------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.post__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post__media--flyer img { object-fit: cover; object-position: top center; filter: none; }
.post:hover .post__media img { transform: scale(1.04); }
.post__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.post__date { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post__body h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.5rem; line-height: 1.18; color: var(--ink); }
.post__body p { font-size: .95rem; color: var(--muted); }
.post__links { margin-top: auto; padding-top: 14px; display: grid; gap: 14px; border-top: 1px solid var(--line); }
.post__need { font-size: .86rem; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.post__need b { font-weight: 500; color: var(--wine); }
.post__need:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Citation
   -------------------------------------------------------------------------- */
.quote-block { max-width: 1000px; }
.quote-block blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.24; color: var(--ink); }
.quote-block blockquote::before { content: "« "; color: var(--red); }
.quote-block blockquote::after { content: " »"; color: var(--red); }
.quote-block figcaption { margin-top: 28px; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.quote-block figcaption::before { content: ""; width: 40px; height: 2px; background: var(--red); }
.section--ink .quote-block blockquote { color: #fff; }
.section--ink .quote-block figcaption { color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   CTA + formulaire
   -------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--night); }
.cta__media { position: absolute; inset: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,14,13,.7) 0%, rgba(21,14,13,.3) 35%, rgba(21,14,13,.55) 75%, var(--night) 100%),
    linear-gradient(90deg, rgba(116,0,1,.62) 0%, rgba(21,14,13,.25) 60%, rgba(21,14,13,.15) 100%);
}
.cta__inner { position: relative; padding-top: clamp(96px, 11vw, 160px); padding-bottom: clamp(72px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 112px); align-items: center; }
.cta .h2 { color: #fff; max-width: 13ch; }
.cta .h2 em { color: var(--rose); }
.cta__intro { display: grid; gap: 26px; }
.cta__intro > p { color: rgba(255,255,255,.84); max-width: 44ch; }
.cta__contacts { display: grid; gap: 4px; }
.cta__contacts a { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.95rem); justify-self: start; transition: color .3s; }
.cta__contacts a:hover { color: var(--rose); }
.cta__hours { font-size: .9rem; color: rgba(255,255,255,.64); }

.glass-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px;
  padding: clamp(24px, 3vw, 40px); border-radius: 24px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.55);
}
.glass-form .field label { color: rgba(255,255,255,.66); }
.glass-form .field input, .glass-form .field select, .glass-form .field textarea { color: #fff; border-bottom-color: rgba(255,255,255,.28); }
.glass-form .field input:focus, .glass-form .field select:focus, .glass-form .field textarea:focus { border-bottom-color: var(--rose); }
.glass-form .field input::placeholder, .glass-form .field textarea::placeholder { color: rgba(255,255,255,.42); }
.glass-form .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.glass-form .field select:invalid { color: rgba(255,255,255,.5); }
.glass-form option { color: var(--ink); }
.glass-form .field textarea { min-height: 96px; }
.glass-form .consent { color: rgba(255,255,255,.66); }
.glass-form .consent a { text-decoration: underline; text-underline-offset: 3px; }
.glass-form .consent input { accent-color: var(--red); }
.glass-form .form__status { color: var(--rose); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.field { display: grid; gap: 6px; padding-top: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.04rem; font-weight: 400; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 10px 0 14px; outline: none; transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231e1513' stroke-width='1.4'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; cursor: pointer; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--wine); }
.field input::placeholder, .field textarea::placeholder { color: #a99b96; }
.consent { grid-column: 1 / -1; display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--wine); flex: none; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form__status { font-size: 0.9rem; color: var(--wine); min-height: 1.4em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-list { border-top: 1px solid var(--line-strong); }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.contact-item__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--wine); }
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item dt { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item dd { color: var(--ink); font-size: 1.06rem; line-height: 1.5; }
.contact-item dd a:hover { color: var(--wine); }
.contact-item .btn { margin-top: 14px; }

.territories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.territory { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; background: var(--ink); }
.territory img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.territory::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21,14,13,.9), rgba(21,14,13,.15) 70%); }
.territory strong { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.9rem; }
.territory span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.territory--soon { background: var(--wine); }
.territory--soon::after { background: radial-gradient(120% 90% at 100% 0%, rgba(233,15,19,.45), rgba(116,0,1,0) 60%); }

/* --------------------------------------------------------------------------
   Qui suis-je
   -------------------------------------------------------------------------- */
.profile { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: var(--section); }
.profile__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.portrait {
  position: sticky; top: calc(var(--header-h-solid) + 32px); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 80% at 80% 10%, rgba(233,15,19,.35), rgba(116,0,1,0) 55%), linear-gradient(160deg, var(--wine) 0%, var(--ink) 75%);
  color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; box-shadow: var(--shadow);
}
.portrait--photo { padding: 0; background: var(--sand); margin: 0; border-radius: 0; }
.portrait--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; }
.photo--portrait img { object-position: 58% 30%; }
.portrait__mark { width: 74px; aspect-ratio: 258 / 282; background: url("../img/logo-emfi.png") left center / auto 100% no-repeat; filter: brightness(0) invert(1); opacity: .18; }
.portrait__initials { font-family: var(--serif); font-size: clamp(5rem, 10vw, 8.5rem); line-height: 1; color: rgba(255,255,255,.92); }
.portrait__note { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.portrait__note::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.profile .breadcrumb { color: var(--muted); }
.profile .breadcrumb a:hover { color: var(--wine); }
.profile__role { margin-top: 18px; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wine); font-weight: 500; }
.profile__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 40px 0; }
.profile__facts div { padding: 22px 18px 22px 0; }
.profile__facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.profile__facts dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.profile__facts dd { color: var(--ink); font-size: 1.02rem; line-height: 1.4; }
.profile__bio p { font-size: 1.05rem; max-width: 62ch; }
.profile__bio p + p { margin-top: 18px; }
.profile__bio .lead { color: var(--ink); font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.4; }
.profile__quote { margin: 44px 0; padding: 32px 0 32px 32px; border-left: 2px solid var(--red); }
.profile__quote blockquote { font-family: var(--serif); font-style: normal; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.35; color: var(--ink); }
.profile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
.value { padding: 28px 22px 0 0; display: grid; gap: 10px; align-content: start; }
.value + .value { padding-left: 22px; border-left: 1px solid var(--line-light); }
.value span { font-family: var(--serif); font-style: normal; color: var(--rose); }
.value strong { color: #fff; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; font-size: 1.3rem; line-height: 1.2; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: .86rem; padding: 8px 16px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.section--ink .pills li, .block--ink .pills li, .block--wine .pills li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; }

/* --------------------------------------------------------------------------
   Texte légal
   -------------------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gutter); }
.legal-block { padding: 34px 0; border-top: 1px solid var(--line); }
.legal-block:first-child { border-top: 0; padding-top: 0; }
.legal-block h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-bottom: 14px; }
.legal-block p, .legal-block li { max-width: 68ch; }
.legal-block p + p { margin-top: 12px; }
.legal-block dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 24px; }
.legal-block dt { color: var(--muted); font-size: .92rem; }
.legal-block dd { color: var(--ink); }
.legal-block a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.legal-block .bullets { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.66); padding-top: clamp(72px, 9vw, 120px); font-size: 0.94rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--gutter); padding-bottom: clamp(56px, 7vw, 88px); }
.footer-brand .logo { color: #fff; height: 38px; }
.footer-brand p { margin-top: 24px; max-width: 34ch; }
.footer-col h2 { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 20px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: #fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 17px; height: 17px; }
.footer-labels { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.footer-labels span { display: inline-flex; align-items: center; height: 54px; padding: 0 12px; border-radius: 12px; background: #fff; }
.footer-labels img { height: 38px; width: auto; }
.footer-word { font-family: var(--serif); font-size: clamp(4rem, 15vw, 15rem); line-height: .8; color: rgba(255,255,255,.05); white-space: nowrap; overflow: hidden; user-select: none; letter-spacing: -0.03em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line-light); font-size: 0.8rem; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* Barre mobile */
.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Hero blanc : photo désaturée sous un voile blanc, titre centré encre + rouge
   -------------------------------------------------------------------------- */
.hero-white { position: relative; isolation: isolate; min-height: calc(100vh - var(--bar-h)); overflow: hidden; background: #fff; color: var(--ink); display: flex; flex-direction: column; }
@supports (height: 100svh) { .hero-white { min-height: calc(100svh - var(--bar-h)); } }
.hero-white__media { position: absolute; inset: 0; z-index: -2; display: flex; justify-content: center; align-items: flex-end; }
.hero-white__media img { height: 96%; width: auto; max-width: none; object-fit: contain; filter: grayscale(1) contrast(1.08); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); transform: translateY(4%) scale(1.04); animation: ghostIn 2.4s var(--ease) forwards; }
@keyframes ghostIn { from { opacity: 0; transform: translateY(8%) scale(1.06); } to { opacity: 1; transform: translateY(4%) scale(1); } }
.hero-white__media--land { display: block; }
.hero-white__media--land img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 42%; -webkit-mask-image: none; mask-image: none; animation: landIn 2.6s var(--ease) forwards; }
@keyframes landIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }
.hero-white::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,.72) 30%, rgba(255,255,255,.66) 58%, rgba(255,255,255,.9) 84%, #fff 100%),
    radial-gradient(60% 55% at 50% 45%, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 100%);
}
.hero-white__content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: calc(var(--header-h) + 48px); padding-bottom: 40px; }
.hero-white__title {
  font-family: var(--sans); font-weight: 500; color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 7.4rem); line-height: .98; letter-spacing: -0.055em; max-width: 15ch; margin: 0 auto;
}
.hero-white__title em { font-style: normal; color: var(--red); }
.hero-white__lead { margin-top: clamp(22px, 3vh, 34px); max-width: 52ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--text); }
.hero-white__actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-white__bottom { padding-bottom: clamp(24px, 4vh, 40px); }
/* Certifications : bande pleine largeur, simple voile flouté, sans cadre */
.hero-certs-band {
  position: relative; width: 100%;
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  border-top: 1px solid rgba(30,21,19,.07); border-bottom: 1px solid rgba(30,21,19,.07);
}
.hero-certs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px clamp(36px, 7vw, 110px); }
.hero-certs img { height: clamp(44px, 5vw, 60px); width: auto; }
.hero-white .session--light { box-shadow: 0 20px 50px -30px rgba(30,21,19,.35); border-color: rgba(53,28,25,.08); }

/* En-tête foncé tant qu'on est sur le hero blanc */
.header-ink .site-header:not(.is-solid) { color: var(--ink); }
.header-ink .site-header:not(.is-solid) .header-cta { background: var(--red); color: #fff; }
.header-ink .site-header:not(.is-solid) .header-cta:hover { background: var(--ink); }

/* --------------------------------------------------------------------------
   Section « fantôme » : fond photo voilé de blanc + liste dépliante
   -------------------------------------------------------------------------- */
.ghost { position: relative; isolation: isolate; overflow: hidden; background: #fff; padding: var(--section) 0; }
.ghost__media { position: absolute; inset: 0; z-index: -2; }
.ghost__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; filter: grayscale(1) contrast(1.15) brightness(1.05); }
.ghost::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,.7) 22%, rgba(255,255,255,.74) 78%, #fff 100%),
    linear-gradient(90deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.92) 75%);
}
.ghost__title { font-family: var(--sans); font-weight: 500; color: var(--ink); font-size: clamp(2.6rem, 6vw, 6rem); line-height: .98; letter-spacing: -0.05em; text-align: right; max-width: 16ch; margin-left: auto; }
.ghost__title em { font-style: normal; color: var(--red); }
.ghost__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); margin-top: clamp(48px, 6vw, 90px); align-items: start; }
.ghost__intro { font-size: 1.05rem; color: var(--ink-2); max-width: 40ch; }
.ghost__body { display: grid; gap: 30px; justify-items: start; }
.ghost__lead { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.025em; line-height: 1.3; color: var(--ink); }

.accordion { border-top: 1px solid var(--line-strong); }
.acc { border-bottom: 1px solid var(--line-strong); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 2.6vw, 34px) 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc__title { font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; color: rgba(30,21,19,.42); transition: color .4s var(--ease), transform .5s var(--ease); }
.acc summary:hover .acc__title, .acc[open] .acc__title { color: var(--ink); }
.acc summary:hover .acc__title { transform: translateX(6px); }
.acc__icon { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--red-soft); transition: transform .5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.6px; background: #fff; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon { transform: rotate(180deg); }
.acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__text { padding: 0 72px clamp(24px, 2.6vw, 34px) 0; font-size: 1.08rem; color: var(--text); max-width: 60ch; }

@media (max-width: 900px) {
  .ghost__grid { grid-template-columns: 1fr; }
  .ghost__title { text-align: left; margin-left: 0; }
  .hero-white__media img { height: 78%; opacity: .9; }
}
@media (max-width: 640px) {
  :root { --bar-h: 36px; }
  .trust__item--text { padding-left: 0; border-left: 0; }
  .topbar { font-size: .8rem; }
  .topbar__meta, .topbar strong { display: none; }
  .hero-white__media img { height: 70%; }
  .hero-white__actions .btn { flex: 1 1 auto; }
  .acc__text { padding-right: 0; }
  .acc__icon { width: 42px; height: 42px; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .menu__body { grid-template-columns: 1fr; align-content: start; }
  .menu__card { display: none; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .value:nth-child(4) { padding-left: 0; border-left: 0; }
  .partners { grid-template-columns: 1fr 1fr; }
  .partner:nth-child(3) { padding-left: 0; border-left: 0; }
  .badges { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; --header-h-solid: 62px; }
  .hero__grid, .split, .split--even, .section-head, .cta__inner, .contact-grid, .profile__grid, .legal, .case { grid-template-columns: 1fr; }
  .section-head { gap: 22px; align-items: start; }
  .needs, .features, .modules, .blocks { grid-template-columns: 1fr; }
  .steps, .cases, .posts, .related, .other-needs, .territories { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar--wine { grid-row: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 18px 26px 0; border-bottom: 1px solid var(--line); }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .quality { grid-template-columns: 1fr; }
  .quality > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); padding-top: 24px; margin-top: 24px; }
  .portrait { position: relative; top: 0; max-width: 460px; }
  .sticky { position: static; }
  .header-cta { display: none; }
  .session { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
  .session .btn { justify-self: start; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--night); border-top: 1px solid var(--line-light); padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; color: #fff; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
  .mobile-bar a + a { background: var(--red); }
  .mobile-bar svg { width: 16px; height: 16px; }
  .site-footer { padding-bottom: 58px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(21,14,13,.96) 0%, rgba(21,14,13,.8) 55%, rgba(21,14,13,.6) 100%), linear-gradient(90deg, rgba(116,0,1,.35), rgba(116,0,1,0) 70%); }
  .page-hero__media::after { background: linear-gradient(180deg, rgba(21,14,13,.7) 0%, rgba(21,14,13,.55) 40%, rgba(21,14,13,.92) 100%); }
  .menu-toggle__label, .menu-close__label { display: none; }
  .header-inner { grid-template-columns: 44px 1fr 44px; }
  .header-logo .logo { height: 30px; }
  .menu__top { grid-template-columns: 44px 1fr 44px; }
  .menu__top .logo { justify-self: center; height: 28px; }
  .menu__nav a { grid-template-columns: 36px 1fr; }
  .menu__nav a .sub { display: none; }
  .menu__info { grid-template-columns: 1fr; }
  .steps, .cases, .posts, .related, .other-needs, .territories, .catalog { grid-template-columns: 1fr; }
  .need { min-height: 460px; }
  .need__title { max-width: none; }
  .glass-form, .form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding-left: 0; border-left: 0; }
  .hero__actions .btn { flex: 1 1 auto; }
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value + .value { padding-left: 0; border-left: 0; }
  .partners { grid-template-columns: 1fr; }
  .partner, .partner + .partner { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .profile__facts { grid-template-columns: 1fr; }
  .profile__facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .case__block { grid-template-columns: 1fr; gap: 8px; }
  .filter-row { grid-template-columns: 1fr; gap: 10px; }
  .badge { grid-template-columns: 72px 1fr; padding: 20px; }
  .legal-block dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-block dd { margin-bottom: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .photo figcaption { flex-direction: column; gap: 4px; }
}
