/* =====================================================
   REFONTE 2026 · mise en page
   Chargée après style.css. Ne change ni les couleurs de la marque,
   ni les textes, ni le back-office : uniquement la typographie,
   les espacements et l'agencement des blocs.
   Pour revenir à l'ancienne présentation : retirer la ligne
   refonte.css dans includes/header.php.
   ===================================================== */

/* ---- Police (hébergée sur le site, licence libre OFL) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Réglages ---- */
:root {
  --sans:  'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --mono:  var(--sans);

  --bg-soft: #f8f7f8;                 /* gris très clair, fond des en-têtes de page */
  --heading-color: var(--ink);        /* titres en noir ; mettre var(--accent2) pour revenir au mauve */
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-cta: 0 10px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent);
  --w: 1240px;
}

html, body { font-family: var(--sans); font-size: 17px; }
body { font-feature-settings: 'ss01' 0, 'cv11' 1; }

/* ---- Titres : gros, serrés, gras ---- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--heading-color);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h1 { font-size: clamp(42px, 6.2vw, 92px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 4.4vw, 64px); }
h3 { font-size: clamp(21px, 1.8vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

.lead {
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.wrap { padding: 0 40px; }
.section { padding: 120px 0; }
.section-tight { padding: 72px 0; }
h2.fade-in, .section > .wrap > h2 { margin-bottom: 0; }
.section > .wrap > h2 + .lead { margin-top: 22px !important; max-width: 820px !important; }

/* =====================================================
   EN-TÊTE
   ===================================================== */
.site-header { background: rgba(255,255,255,0.94); }
.site-header .wrap { height: 96px; }
.brand img { height: 44px; }
.brand-name { font-family: var(--sans); font-size: 17px; }
.brand-name b { font-weight: 700; letter-spacing: 0.02em; }
.brand-name span { font-size: 9.5px; font-weight: 500; letter-spacing: 0.2em; }

.nav-main { gap: 34px; }
.nav-main a {
  font-size: 15.5px;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 8px 0;
}
.nav-main a.active::after { bottom: -26px; height: 3px; border-radius: 3px; }

/* Bouton « Contact » en pastille, comme un appel à l'action */
.nav-main a.nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-cta);
  transition: transform .2s var(--t), background .2s var(--t);
}
.nav-main a.nav-cta:hover { background: var(--accent2); color: var(--white); transform: translateY(-1px); }
.nav-main a.nav-cta.active::after { display: none; }
.nav-lang { border-radius: 999px; font-size: 11px; font-weight: 600; }

/* =====================================================
   BOUTONS : pastilles
   ===================================================== */
.btn {
  border-radius: 999px;
  padding: 17px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.btn-primary { box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-width: 1.5px; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-link { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }

/* =====================================================
   EN-TÊTES DE PAGE (hero)
   Grand titre à gauche, texte léger dessous. Sur l'accueil,
   la photo ou la vidéo du back-office passe à droite dans un cadre arrondi.
   ===================================================== */
.hero,
.hero.hero-panel,
.hero.hero-panel--light,
.hero.hero-compact {
  background: var(--bg-soft);
  color: var(--ink);
  padding: 110px 0 120px;
  margin-bottom: 0;
}
.hero-panel::after,
.hero-panel::before,
.hero-panel--light::after,
.hero-panel--light::before { display: none !important; }

.hero .eyebrow,
.hero.hero-panel .eyebrow,
.hero.hero-panel--light .eyebrow { color: var(--accent); margin-bottom: 28px; }

.hero h1,
.hero.hero-panel h1,
.hero.hero-panel--light h1 { color: var(--heading-color); max-width: 15ch; margin-bottom: 30px; }

.hero .lead,
.hero.hero-panel .lead,
.hero.hero-panel--light .lead { color: var(--ink); max-width: 30em; }
.hero-actions { margin-top: 44px; }
.hero-actions .btn-ghost {
  background: var(--accent); border-color: var(--accent); color: var(--white);
  box-shadow: var(--shadow-cta);
}
.hero-actions .btn-ghost:hover { background: var(--accent2); border-color: var(--accent2); }

/* Accueil avec photo ou vidéo : texte à gauche, média arrondi à droite */
.hero.hero-has-media { background: var(--bg-soft); min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero.hero-has-media .wrap { width: 100%; }
.hero.hero-has-media .wrap > * { max-width: 54%; }
.hero.hero-has-media h1 { font-size: clamp(40px, 4.9vw, 74px); max-width: none; }
.hero.hero-has-media .lead { font-size: clamp(19px, 1.7vw, 25px); }
.hero.hero-has-media .hero-overlay { display: none !important; }
.hero.hero-has-media .hero-bg-media,
.hero-panel.hero-has-media .hero-bg-media {
  inset: auto;
  top: 70px;
  bottom: 70px;
  right: max(40px, calc((100vw - var(--w)) / 2 + 40px));
  left: auto;
  width: min(40%, 500px);
  height: calc(100% - 140px);
  border-radius: var(--radius-lg);
  object-fit: cover;
  z-index: 1;
  box-shadow: 0 30px 60px -30px rgba(17,17,17,0.35);
}

/* =====================================================
   ACCUEIL · « Ce qui nous distingue »
   ===================================================== */
.pillars { background: var(--bg-alt); }
.pillars > .wrap > .eyebrow { display: block; margin-bottom: 8px; }
.pillars-grid {
  border: none;
  gap: 28px;
  margin-top: 30px;
}
.pillar,
.pillar:nth-child(n) {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}
.pillar:hover { background: var(--white); }
.pillar h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; }
.pillar p { color: var(--ink-soft); }

/* =====================================================
   ACCUEIL · domaines d'expertise (tuiles aux couleurs de la marque)
   ===================================================== */
.expertise-section { padding: 120px 0; }
.expertise-title { margin-bottom: 48px; max-width: 14ch; }
.expertise-grid { gap: 16px; }
.expertise-cell { border-radius: var(--radius-lg); padding: 42px 38px 46px; min-height: 260px; }
.expertise-cell h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }

/* =====================================================
   ACCUEIL · « Nos accompagnements »
   Aperçu des six offres de la page Accompagnement : photo, titre, accroche.
   ===================================================== */
.home-offers { padding: 120px 0; background: var(--white); }
.home-offers-head { max-width: 860px; margin-bottom: 64px; }
.home-offers-head .eyebrow { display: block; margin-bottom: 18px; }
.home-offers-head .lead { margin-top: 24px; }
.home-offers-group + .home-offers-group { margin-top: 72px; }
.home-offers-group-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1.5px solid var(--ink);
}
.home-offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.home-offer { display: flex; flex-direction: column; color: var(--ink); }
.home-offer:hover { color: var(--ink); }
.home-offer-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  transition: transform .45s var(--t), box-shadow .45s var(--t);
}
.home-offer-img--empty { background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent) 35%, white)); }
.home-offer:hover .home-offer-img { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(17,17,17,0.45); }
.home-offer-title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 12px;
}
.home-offer-hook { font-size: 17px; line-height: 1.5; color: var(--ink-soft); font-weight: 400; }
.home-offer-more {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  transition: border-color .25s var(--t);
}
.home-offer:hover .home-offer-more { border-color: var(--accent); }
.home-offers-cta { margin-top: 72px; }
@supports (grid-template-rows: subgrid) {
  .home-offers-grid > .home-offer { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
}
@media (max-width: 900px) {
  .home-offers { padding: 80px 0; }
  .home-offers-grid { grid-template-columns: 1fr; gap: 44px; }
  .home-offers-grid > .home-offer { display: flex; }
  .home-offers-head { margin-bottom: 44px; }
  .home-offer-img { aspect-ratio: 16 / 9; margin-bottom: 18px; }
}

/* =====================================================
   BANDEAU DE COULEUR (« Pourquoi Kintsugi », appels à l'action)
   Pleine largeur, couleur de la marque, texte blanc.
   ===================================================== */
.callout {
  background: var(--accent);
  color: var(--white);
  padding: 120px 0;
}
.callout::after { display: none; }
.callout .accent-line { background: var(--white); opacity: .6; }
.callout h2 { color: var(--white); max-width: 18ch; margin-bottom: 28px; }
.callout p { color: var(--white); font-size: clamp(19px, 1.8vw, 26px); font-weight: 300; line-height: 1.38; max-width: 34em; }
.callout .btn-ghost,
.callout .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--accent2);
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.35);
}
.callout .btn-ghost:hover,
.callout .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Variante discrète (bouton seul en bas de page) */
.callout.callout--minimal { background: var(--bg-soft); padding: 90px 0; }
.callout--minimal .accent-line { display: none; }
.callout--minimal .btn-ghost {
  background: var(--accent); border-color: var(--accent); color: var(--white);
  box-shadow: var(--shadow-cta);
}

/* =====================================================
   ACCOMPAGNEMENT
   ===================================================== */
.advisory-for {
  border-radius: var(--radius-lg);
  border: none;
  background: var(--bg-soft);
  padding: 56px 52px;
}
.advisory-for h2 { font-size: clamp(30px, 3.4vw, 48px); }
.advisory-for-img { border-radius: var(--radius-md); }

.services-grid { gap: 24px; margin-top: 52px; }
.service-card {
  border: none;
  border-radius: var(--radius-lg);
  padding: 30px 30px 36px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(17,17,17,0.04), 0 18px 40px -28px rgba(17,17,17,0.25);
}
section:not(.pillars) .service-card { background: var(--bg-soft); box-shadow: none; }
.service-card:hover { border-color: transparent; transform: translateY(-3px); }
.service-card-img { border-radius: var(--radius-md); height: 200px; margin-bottom: 26px; }
.services-grid--3 .service-card h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.mission-targets-label { font-weight: 700; font-size: 11px; }

.method-grid { gap: 48px; margin-top: 52px; }
.method-step h3 {
  font-family: var(--sans);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--accent);
}

/* =====================================================
   PARTICIPATIONS, RÉFÉRENCES, ÉQUIPE
   ===================================================== */
.holdings { padding: 100px 0 120px; }
.holdings-head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.holding-logo { border-radius: var(--radius-md); overflow: hidden; }
.holding-id h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; letter-spacing: -0.03em; }

.portfolio-card { border-radius: var(--radius-lg); overflow: hidden; border: none; background: var(--bg-soft); }

.team-grid { gap: 32px; }
.team-card { border: none; border-radius: var(--radius-lg); background: var(--white); padding: 34px; }
.team-photo { border-radius: var(--radius-md); overflow: hidden; }
.team-card h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 800; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-coords h2,
.contact-form h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  text-transform: none;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--heading-color);
}
.contact-form {
  border-radius: var(--radius-lg);
  border: none;
  background: var(--bg-soft);
}
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 16px; }

/* =====================================================
   PIED DE PAGE
   ===================================================== */
.site-footer { font-size: 14.5px; }
.footer-col h4 { font-weight: 700; letter-spacing: 0.12em; }

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .site-header .wrap { height: 76px; }
  .section, .expertise-section, .callout { padding: 80px 0; }
  .hero, .hero.hero-panel, .hero.hero-panel--light, .hero.hero-compact { padding: 64px 0 72px; }
  .hero h1 { max-width: none; }

  /* Média de l'accueil : au-dessus du texte, arrondi */
  .hero.hero-has-media { display: block; min-height: 0; padding-top: 22px; }
  .hero.hero-has-media .wrap > * { max-width: none; }
  .hero.hero-has-media .hero-bg-media,
  .hero-panel.hero-has-media .hero-bg-media {
    position: relative;
    inset: auto;
    top: auto; bottom: auto; right: auto;
    display: block;
    width: calc(100% - 44px);
    height: 280px;
    margin: 0 22px 44px;
  }
  .pillar, .pillar:nth-child(n) { padding: 36px 28px; }
  .advisory-for { padding: 38px 26px; }
  .expertise-cell { min-height: 0; }
}

/* Pied de page sur téléphone : une colonne, l'adresse e-mail longue ne déborde plus */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-col a, .footer-col span, .footer-col p { overflow-wrap: anywhere; }
}
