/* ANOMA HoldCo — feuille de style unique (refonte 2026) */
:root {
  --ink: #0C1018;
  --ink-2: #131A26;
  --ink-3: #1B2333;
  --paper: #F7F4EF;
  --paper-2: #EFE9E0;
  --white: #FFFFFF;
  --bronze: #A0785A;
  --bronze-light: #C9A27F;
  --bronze-deep: #7A563B;
  --text: #1A1F2B;
  --muted: #5A6273;
  --muted-on-ink: #A3ABBD;
  --line: rgba(12, 16, 24, 0.12);
  --line-on-ink: rgba(201, 162, 127, 0.22);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
em { font-style: italic; color: var(--bronze-deep); }
.on-ink em { color: var(--bronze-light); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--bronze); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--paper-2); }
.on-ink { background: var(--ink); color: #E6E9F0; }
.on-ink .muted, .on-ink p.lead { color: var(--muted-on-ink); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze-deep); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-ink .eyebrow { color: var(--bronze-light); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); max-width: 640px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--bronze); color: var(--white); }
.btn--solid:hover { background: var(--bronze-deep); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-ink .btn--line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.link { color: var(--bronze-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.on-ink .link { color: var(--bronze-light); }
.link:hover { color: var(--ink); }
.on-ink .link:hover { color: var(--white); }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(12, 16, 24, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-on-ink); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: .14em; }
.brand-name small { font-family: var(--sans); font-size: 11px; letter-spacing: .26em; color: var(--bronze-light); margin-left: 6px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: #C8CEDB; text-decoration: none; font-size: 14px; letter-spacing: .04em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--bronze-light); }
.lang-switch { font-size: 12px !important; letter-spacing: .14em !important; text-transform: uppercase; border: 1px solid var(--line-on-ink) !important; border-radius: 99px; padding: 6px 11px !important; }
.nav .btn { padding: 11px 20px; color: var(--white); border-bottom: 1px solid transparent; }
.nav .btn:hover { border-bottom-color: transparent; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-on-ink); color: var(--white); border-radius: var(--radius); padding: 9px 12px; font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-on-ink); padding: 8px var(--gutter) 24px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-on-ink); font-size: 16px; }
  .nav .btn { margin-top: 18px; justify-content: center; }
}

/* Héros */
.hero { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 130px); }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lead { margin: 28px 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-motif { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: min(720px, 70vw); opacity: .5; pointer-events: none; }
.hero-motto { margin-top: 64px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--bronze-light); }
.page-hero { padding: clamp(80px, 11vw, 140px) 0 clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(42px, 6vw, 78px); max-width: 16ch; }
.page-hero .lead { margin-top: 22px; }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-on-ink); }
.figure { padding: 34px 28px 30px 0; border-right: 1px solid var(--line-on-ink); }
.figure:last-child { border-right: 0; }
.figure + .figure { padding-left: 28px; }
.figure b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--white); white-space: nowrap; }
.figure span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted-on-ink); line-height: 1.45; }
@media (max-width: 860px) {
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure { padding: 26px 16px 24px 0; }
  .figure + .figure { padding-left: 0; }
  .figure:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-on-ink); }
}

/* En-têtes de section */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.head h2 { margin: 0; }
.head p { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 20px; } }

/* Pôles */
.poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pole { background: var(--paper); padding: 38px 32px 34px; display: flex; flex-direction: column; min-height: 320px; text-decoration: none; transition: background .25s; }
.pole:hover { background: var(--white); }
.pole-num { font-family: var(--serif); font-size: 15px; color: var(--bronze-deep); letter-spacing: .1em; }
.pole h3 { margin: 22px 0 12px; }
.pole p { color: var(--muted); font-size: 15.5px; flex: 1; }
.pole-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.pole-foot strong { color: var(--text); font-weight: 600; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: rgba(160, 120, 90, .14); color: var(--bronze-deep); white-space: nowrap; }
.tag--soft { background: rgba(12, 16, 24, .06); color: var(--muted); }
.pole--intro { background: var(--ink); color: #E6E9F0; justify-content: space-between; }
.pole--intro:hover { background: var(--ink-2); }
.pole--intro p { color: var(--muted-on-ink); }
.pole--wide { grid-column: span 2; }
@media (max-width: 960px) { .poles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .poles { grid-template-columns: 1fr; } .pole { min-height: 0; } .pole--wide { grid-column: auto; } }

/* Blocs image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-media figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.on-ink .split-media figcaption { color: var(--muted-on-ink); }
.split-media--portrait img { aspect-ratio: 4 / 5; object-position: 55% 20%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }

/* Actualité */
.news { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.news img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.news-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.news-meta { font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.news h3 { font-size: clamp(28px, 3vw, 40px); }
.news p { color: var(--muted); }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } .news img { min-height: 220px; aspect-ratio: 16 / 9; } }

/* Citation */
.quote { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; max-width: 22ch; margin: 0; }
.quote-wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.quote-mark { font-family: var(--serif); font-size: 120px; line-height: .7; color: var(--bronze); }
.quote-by { margin-top: 24px; font-size: 14px; color: var(--muted-on-ink); letter-spacing: .06em; }
@media (max-width: 620px) { .quote-wrap { grid-template-columns: 1fr; gap: 0; } .quote-mark { font-size: 80px; } }

/* Principes / cartes simples */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.principle { border-top: 1px solid var(--line); padding-top: 24px; }
.on-ink .principle { border-top-color: var(--line-on-ink); }
.principle b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.principle p { font-size: 15.5px; color: var(--muted); margin: 0; }
.on-ink .principle p { color: var(--muted-on-ink); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

/* Frise */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 36px; display: grid; grid-template-columns: 130px 1fr; gap: 24px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; background: var(--bronze); transform: rotate(45deg); }
.timeline time { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--bronze-deep); }
.timeline p { margin: 0; color: var(--muted); }
.timeline strong { color: var(--text); font-weight: 600; }
@media (max-width: 620px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Fiches filiales */
.sub { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.sub:first-of-type { border-top: 0; }
.sub-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.facts li b { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text); line-height: 1.1; }
.brands { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.brand-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-size: 15px; background: var(--white); }
.brand-chip:hover { border-color: var(--bronze); }
.brand-chip span { color: var(--muted); font-size: 13px; }
.sub-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.sub-nav a { color: #C8CEDB; text-decoration: none; font-size: 14px; padding: 9px 14px; border: 1px solid var(--line-on-ink); border-radius: 99px; }
.sub-nav a:hover { color: var(--white); border-color: var(--bronze-light); }

/* Presse */
.press { list-style: none; margin: 0; padding: 0; }
.press li { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line); }
.press li:last-child { border-bottom: 1px solid var(--line); }
.press .src { font-weight: 600; }
.press time { font-size: 14px; color: var(--muted); }
@media (max-width: 620px) { .press li { grid-template-columns: 1fr; gap: 4px; } }

/* Article */
.article { max-width: 760px; }
.article p, .article li { font-size: 18px; }
.article h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.article-figure { margin: 40px 0; }
.article-figure img { border-radius: var(--radius); width: 100%; }
.article-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 36px 0; }
.kpis div { background: var(--white); padding: 22px 18px; }
.kpis b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.kpis span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 720px) { .kpis { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 88px); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a { text-decoration: none; font-size: 18px; }
.contact-list a:hover { color: var(--bronze-deep); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); background: var(--white); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: 15px; }
.form-status.ok { color: #2F6B45; }
.form-status.err { color: #A33A2B; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Bandeau d'appel */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto .4em; color: var(--white); }
.cta .lead { margin: 0 auto 36px; }

/* Pied de page */
.footer { background: var(--ink); color: var(--muted-on-ink); padding: 72px 0 32px; font-size: 15px; border-top: 1px solid var(--line-on-ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-light); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-motto { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--bronze-light); margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-on-ink); font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 620px) { .hero-motif { right: -40%; opacity: .22; } }
@media (max-width: 960px) { .lang-switch { align-self: flex-start; margin-top: 16px; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 22px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--bronze); }
.form.is-done .field, .form.is-done .form-row, .form.is-done .consent, .form.is-done button { display: none; }
