/* ==========================================================================
   Maison Pernelle — feuille de style
   Palette reprise de l'identité (sauge, or, rose poudré, crème) ;
   le vert est approfondi pour porter le logo or avec un vrai contraste.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #2e3c34;
  --forest-2: #263229;
  --ink: #27322c;
  --ink-soft: #55615a;
  --sage: #8fa195;
  --sage-deep: #5e7064;
  --sage-soft: #dfe6df;
  --gold: #cdb984;
  --bronze: #7a6534;
  --blush: #ead4c9;
  --cream: #f6f1e8;
  --paper: #fcfaf6;
  --line: rgba(39, 50, 44, 0.14);
  --line-light: rgba(205, 185, 132, 0.28);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 148px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  padding: 12px 18px; background: var(--gold); color: var(--ink); text-decoration: none;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--blush { background: var(--blush); }
.section--sage { background: var(--sage-soft); }
.section--forest { background: var(--forest); color: var(--cream); }

/* ---------- Typographie ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.section--forest .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .site-footer .eyebrow { color: var(--gold); }

.h-display { font-size: clamp(2.7rem, 6.2vw, 5.5rem); font-weight: 300; }
.h-section { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 400; }
.h-sub { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
em, .it { font-style: italic; }
.gold { color: var(--gold); }
.h-section em { color: var(--bronze); }
.section--forest .h-section em { color: var(--gold); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.section--forest .lead { color: rgba(246, 241, 232, 0.82); }
.muted { color: var(--ink-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.section-head .lead { margin-top: 22px; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 30px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--forest-2); }
.btn--gold:hover { background: #dccb9c; }
.btn--dark { background: var(--forest); color: var(--cream); }
.btn--dark:hover { background: var(--sage-deep); }
.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--gold); border-color: var(--gold); color: var(--forest-2); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
}
.link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--forest);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-light); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.5); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { width: clamp(168px, 17vw, 216px); }

.nav { display: flex; white-space: nowrap; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a:not(.btn) {
  position: relative; padding-block: 8px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: rgba(246, 241, 232, 0.86);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 22px; color: var(--gold); }

.burger {
  display: none; position: relative; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--cream);
}
.burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger i:nth-of-type(1) { top: 19px; }
.burger i:nth-of-type(2) { top: 28px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { top: 23.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { top: 23.5px; transform: rotate(-45deg); }

@media (max-width: 1120px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 32px var(--gutter) 48px;
    background: var(--forest);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2.1rem; font-weight: 400; letter-spacing: 0; text-transform: none; padding-block: 10px; }
  .nav .btn { margin-top: 28px; min-height: 52px; padding: 14px 28px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Cadres (signature : l'arche et le médaillon du logo) ---------- */

.frame { position: relative; overflow: hidden; background: var(--sage-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(205, 185, 132, 0.85); border-radius: inherit;
}
.frame--arch { border-radius: 999px 999px 0 0; }
.frame--arch::after { border-radius: 999px 999px 0 0; }
.frame--soft { border-radius: 6px; }
.frame--soft::after { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 82% 30%, rgba(143, 161, 149, 0.28), transparent 70%),
    var(--forest);
  color: var(--cream);
}
.hero-in {
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(32px, 6vw, 96px);
  min-height: min(calc(100svh - var(--header-h)), 820px);
  padding-block: clamp(48px, 7vw, 88px);
}
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 46ch; margin-top: 28px; color: rgba(246, 241, 232, 0.84); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 480px); }
.hero-visual .frame { aspect-ratio: 4 / 5; }
.hero-seal {
  position: absolute; left: -44px; bottom: 36px; width: clamp(92px, 10vw, 128px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
}

.facts { border-top: 1px solid var(--line-light); background: var(--forest); color: var(--cream); }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 30px clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line-light); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.15; color: var(--gold); }
.facts span { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.5; color: rgba(246, 241, 232, 0.78); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { justify-self: center; width: min(78%, 380px); }
  .hero-seal { left: -28px; bottom: 24px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 22px 18px; border-left: 0; border-top: 1px solid var(--line-light); }
  .facts li:nth-child(-n + 2) { border-top: 0; }
  .facts li:nth-child(odd) { padding-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line-light); }
  .facts strong { font-size: 1.4rem; }
}

/* ---------- La Maison ---------- */

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 7vw, 112px); align-items: center; }
.split--rev { grid-template-columns: 1.15fr 0.85fr; }
.split--rev .split-media { order: 2; }
.split-media .frame--arch { aspect-ratio: 4 / 5; max-width: 460px; }
.split-media .frame--soft { aspect-ratio: 4 / 3; }
.split-media .frame--square { aspect-ratio: 1; }
.split-body .h-section, .split-body .h-sub { margin-bottom: 26px; }
.split-body .kicker { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--bronze); margin: -12px 0 22px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.timeline li { position: relative; padding: 30px 28px 0 0; }
.timeline li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--bronze);
}
.timeline li:last-child::before { background: var(--bronze); }
.timeline h3 { font-size: 1.75rem; margin-bottom: 10px; }
.timeline p { font-size: 0.98rem; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-media .frame--arch { max-width: 340px; margin-inline: auto; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .timeline li { padding: 0 0 30px 28px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { top: 12px; left: -5px; }
}

/* ---------- Savoir-faire ---------- */

.stack > * + * { margin-top: clamp(64px, 9vw, 128px); }

.quote { text-align: center; }
.quote blockquote {
  margin: 0 auto; max-width: 27ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.18; letter-spacing: -0.01em;
}
.quote .orn { display: block; width: 44px; margin: 0 auto 30px; }

/* ---------- Méthode ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: step; }
.steps li { padding-top: 26px; border-top: 1px solid var(--line-light); counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block; margin-bottom: 18px;
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold);
}
.steps h3 { font-size: 1.7rem; margin-bottom: 12px; }
.steps p { font-size: 0.98rem; line-height: 1.65; color: rgba(246, 241, 232, 0.8); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Collection ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.4vw, 36px); }
.card { position: relative; display: block; text-decoration: none; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--sage-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; align-items: baseline; padding-top: 20px; }
.card-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--bronze); }
.card h3 { font-size: 1.75rem; }
.card p { grid-column: 2 / 4; margin-top: 4px; font-size: 0.98rem; color: var(--ink-soft); }
.card-arrow { width: 22px; height: 22px; align-self: center; color: var(--bronze); transition: transform 0.35s var(--ease); }
.card:hover .card-arrow { transform: translateX(6px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  /* Sur mobile, la collection défile horizontalement : six cartes empilées allongeaient trop la page */
  .cards {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 12px;
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 78%; scroll-snap-align: start; }
}

.banner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: stretch;
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--blush); border-radius: 6px; overflow: hidden;
}
.banner-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.banner-body { padding: clamp(32px, 5vw, 72px); align-self: center; }
.banner-body p { margin: 16px 0 28px; max-width: 46ch; }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; } }

/* ---------- TGJ ---------- */

.checks { margin: 26px 0 34px; }
.checks li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 12px; height: 6px;
  border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg);
}
.checks strong { font-weight: 500; }

/* ---------- Contact ---------- */

.contact { position: relative; background: var(--forest); color: var(--cream); overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/motif.webp") 0 0 / 150px auto; opacity: 0.05;
}
.contact-in { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-info .lead { margin-top: 22px; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line-light); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.contact-list dt, .contact-list .k { font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding-top: 5px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-list a:hover { border-bottom-color: var(--gold); }

.form { padding: clamp(26px, 4vw, 48px); background: var(--paper); color: var(--ink); border-radius: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.field label .opt { letter-spacing: 0.02em; text-transform: none; font-weight: 400; color: #6d776f; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px;
  background: #fff; border: 1px solid rgba(39, 50, 44, 0.24); border-radius: 4px;
  font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 3px rgba(143, 161, 149, 0.32); }
.field .is-invalid { border-color: #a4432f; }
.field .err { font-size: 0.86rem; color: #a4432f; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--sage-deep); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-note { font-size: 0.86rem; color: var(--ink-soft); }
.form-ok { display: none; text-align: center; padding: clamp(24px, 5vw, 56px) 0; }
.form-ok h3 { font-size: 2.2rem; margin-bottom: 14px; }
.form.is-sent .form-fields { display: none; }
.form.is-sent .form-ok { display: block; }
.consent a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid #a4432f; background: #f8ece8; color: #7d2f20; font-size: 0.95rem; line-height: 1.5; }
.form-error a { color: inherit; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 900px) { .contact-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--forest-2); color: rgba(246, 241, 232, 0.8); font-size: 0.96rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 84px); }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--sans); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 22px; border-top: 1px solid var(--line-light); font-size: 0.86rem; color: rgba(246, 241, 232, 0.62); }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-in { gap: 32px 20px; } .footer-in > div:last-child { grid-column: 1 / -1; } }

/* ---------- Pages intérieures ---------- */

.page-hero { background: var(--forest); color: var(--cream); padding-block: clamp(44px, 6vw, 84px) clamp(56px, 8vw, 104px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 52px); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 241, 232, 0.66); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.page-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 300; }
.page-hero .tagline { margin: 16px 0 24px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--gold); }
.page-hero .lead { color: rgba(246, 241, 232, 0.84); max-width: 48ch; }
.page-hero .hero-cta { margin-top: 34px; }
.page-hero .frame { aspect-ratio: 4 / 3; border-radius: 6px; }
.page-hero .frame::after { border-radius: 2px; }
@media (max-width: 860px) { .page-hero-in { grid-template-columns: 1fr; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.trio li { padding-top: 24px; border-top: 1px solid var(--line); }
.trio .n { font-family: var(--serif); font-style: italic; color: var(--bronze); font-size: 1.2rem; }
.trio h3 { font-size: 1.7rem; margin: 10px 0 10px; }
.trio p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.65; }
.trio--quotes h3 { font-style: italic; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.2; margin-top: 12px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

.cta-band { text-align: center; }
.cta-band .h-section { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { max-width: 52ch; margin: 22px auto 34px; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; }

.tgj-badge { display: grid; place-items: center; aspect-ratio: 1; width: min(100%, 380px); margin-left: auto; background: #fff; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line-light), 0 0 0 12px rgba(255, 255, 255, 0.06); }
/* Le PNG a un fond blanc cassé rectangulaire : on le fond dans le blanc du médaillon et on le réduit pour qu'il tienne dans le cercle */
.tgj-badge img { width: 86%; mix-blend-mode: multiply; }
@media (max-width: 860px) { .tgj-badge { margin-inline: auto; width: min(70%, 280px); } }

.services { counter-reset: s; }
.services li { display: grid; grid-template-columns: 90px 0.9fr 1.1fr; gap: clamp(16px, 4vw, 56px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); counter-increment: s; }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services li::before { content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--bronze); }
.services h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.services p { color: var(--ink-soft); }
@media (max-width: 760px) { .services li { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Apparition au défilement ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Pages légales ---------- */

.page-hero--short { padding-block: clamp(36px, 5vw, 64px); }
.page-hero--short h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 300; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--bronze); }
