/* Liriane Patrimoine - feuille de style unique */

:root {
  --cream: #f3ede6;
  --cream-deep: #ebe2d8;
  --paper: #faf7f3;
  --brown: #6f5549;
  --brown-soft: #9a8176;
  --green: #415141;
  --green-deep: #2f3b2f;
  --ink: #2f2a26;
  --muted: #6b625b;
  --line: rgba(111, 85, 73, .22);

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--green); color: var(--cream); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--green); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ── Typo ─────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--brown); margin: 0; line-height: 1.15; }
h1 { font-style: italic; font-size: clamp(2.4rem, 5.6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-style: italic; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--green);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }

/* ── Boutons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border: 1px solid var(--green); transition: background .25s, color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { color: var(--green); background: transparent; }
.btn-ghost:hover { background: rgba(65, 81, 65, .08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── En-tête ──────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 237, 230, .86);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand .sym { width: 34px; height: 34px; }
.brand .words { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.brand .wm, .brand .pt { display: block; }
.brand .wm svg { height: 26px; width: auto; }
.brand .pt svg { height: 9px; width: auto; }
.brand .sym svg { width: 100%; height: 100%; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--green); }
.nav .btn { padding: 11px 20px; font-size: .9rem; }

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(72px, 10vw, 140px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lead { margin-bottom: 36px; }
.hero-note {
  margin-top: 40px; display: flex; align-items: center; gap: 12px;
  font-size: .9rem; color: var(--brown-soft);
}
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(65, 81, 65, .14); flex: none; }
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: end; color: var(--brown); }
.outline path { fill: none; stroke: currentColor; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.hero-art .outline { width: 100%; height: 100%; animation: turn 90s linear infinite; }
.hero-art .fill { position: absolute; inset: 33%; color: var(--green); opacity: .92; animation: turn 90s linear infinite reverse; }
@keyframes turn { to { transform: rotate(360deg); } }

.deco-left { position: absolute; left: -210px; top: 50%; width: 520px; transform: translateY(-50%) rotate(8deg); color: var(--brown); opacity: .13; pointer-events: none; }
.deco-left path { stroke-width: 1.5px; }

/* ── Bandeau changement de nom ────────────────────── */
.rename { background: var(--paper); border-block: 1px solid var(--line); }
.rename .wrap { display: flex; align-items: center; justify-content: center; gap: 18px 28px; flex-wrap: wrap; padding-block: 26px; text-align: center; }
.rename p { margin: 0; color: var(--muted); font-size: .98rem; }
.rename .from { text-decoration: line-through; text-decoration-color: var(--brown-soft); color: var(--brown-soft); }
.rename .to { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--green); }
.rename .arrow { color: var(--brown-soft); }

/* ── Sections ─────────────────────────────────────── */
section { padding: clamp(80px, 10vw, 136px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { margin-bottom: 20px; }
.section-head p { color: var(--muted); }

/* Cycle */
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px 36px; transition: transform .35s, box-shadow .35s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(47, 42, 38, .35); }
.step .petal { width: 54px; height: 54px; color: var(--green); margin-bottom: 26px; }
.step h3 { font-style: italic; font-size: 1.6rem; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.step::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 30px; right: 32px; font: 400 .8rem/1 var(--sans); letter-spacing: .14em; color: var(--brown-soft);
}

/* Accompagnement */
.domains-sec { background: var(--green); color: var(--cream); position: relative; overflow: hidden; }
.domains-sec h2 { color: var(--cream); }
.domains-sec .eyebrow { color: #c9d3c3; }
.domains-sec .section-head p { color: rgba(243, 237, 230, .78); }
.domains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; position: relative; z-index: 1; }
.domains li { display: grid; grid-template-columns: 34px 1fr; gap: 8px 16px; padding: 26px 0; border-top: 1px solid rgba(243, 237, 230, .2); }
.domains li:nth-last-child(-n+2) { border-bottom: 1px solid rgba(243, 237, 230, .2); }
.domains .n { font-family: var(--serif); font-style: italic; color: #c9d3c3; font-size: 1.1rem; line-height: 1.5; }
.domains h3 { color: var(--cream); font-size: 1.25rem; }
.domains p { grid-column: 2; margin: 0; color: rgba(243, 237, 230, .75); font-size: .98rem; }
.domains-sec .deco-right { position: absolute; right: -180px; bottom: -180px; width: 520px; color: var(--cream); opacity: .07; pointer-events: none; }
.network { margin-top: 48px; color: rgba(243, 237, 230, .8); max-width: 720px; position: relative; z-index: 1; }

/* Lucile */
.about .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.portrait { position: relative; max-width: 460px; }
.portrait picture img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 240px 240px var(--radius) var(--radius); }
.portrait .badge {
  position: absolute; right: -18px; bottom: 34px; width: 96px; height: 96px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center; box-shadow: 0 10px 30px -14px rgba(47, 42, 38, .4);
}
.portrait .badge svg { width: 54px; height: 54px; color: var(--green); }
.about h2 { margin-bottom: 8px; }
.about .role { color: var(--brown-soft); font-size: .95rem; letter-spacing: .04em; margin-bottom: 30px; }
.about blockquote {
  margin: 0 0 30px; padding: 0 0 0 26px; border-left: 2px solid var(--green);
  font: italic 400 clamp(1.15rem, 1.8vw, 1.35rem)/1.55 var(--serif); color: var(--brown);
}
.about blockquote footer { margin-top: 10px; font: 400 .85rem/1.4 var(--sans); color: var(--brown-soft); font-style: normal; }
.distinction {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 20px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-size: .95rem; color: var(--muted);
}
.distinction svg { width: 26px; height: 26px; flex: none; color: var(--brown); margin-top: 2px; }
.distinction strong { color: var(--ink); font-weight: 500; }

/* Contact */
.contact { padding-top: 0; }
.contact-card {
  position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.contact-card h2 { margin-bottom: 18px; }
.contact-card .lead { margin-bottom: 32px; }
.coords { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.coords a, .coords span.item {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--cream); text-decoration: none; transition: border-color .2s, transform .2s;
}
.coords a:hover { border-color: var(--green); transform: translateX(3px); }
.coords .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--cream); flex: none; }
.coords .ic svg { width: 18px; height: 18px; }
.coords small { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-soft); line-height: 1.3; }
.coords b { font-weight: 500; color: var(--ink); line-height: 1.4; word-break: break-word; }
.contact-card .deco { position: absolute; right: -140px; top: -140px; width: 380px; color: var(--brown); opacity: .09; pointer-events: none; }

/* ── Pied de page ─────────────────────────────────── */
.site-footer { background: var(--green-deep); color: rgba(243, 237, 230, .72); font-size: .86rem; line-height: 1.65; padding: 64px 0 36px; }
.site-footer .top { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid rgba(243, 237, 230, .14); }
.site-footer .logo { width: 128px; color: var(--cream); }
.site-footer .reg p { margin: 0 0 .8em; }
.site-footer .reg strong { color: var(--cream); font-weight: 500; }
.site-footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.site-footer a { color: var(--cream); text-underline-offset: 3px; }

/* ── Page mentions légales ────────────────────────── */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); font-weight: 500; }
.legal ul { padding-left: 1.2em; }
.legal .back { display: inline-block; margin-bottom: 32px; color: var(--green); text-decoration: none; }

/* ── Apparition ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap, .about .wrap, .contact-card { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 260px; justify-self: start; }
  .cycle { grid-template-columns: 1fr; }
  .domains { grid-template-columns: 1fr; }
  .domains li:nth-last-child(2) { border-bottom: 0; }
  .portrait { max-width: 380px; }
  .site-footer .top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .brand .words { display: none; }
  .brand::after { content: "Liriane"; font: italic 500 1.35rem/1 var(--serif); color: var(--green); }
  .hero-art { max-width: 190px; }
  .deco-left { display: none; }
  .portrait .badge { right: 12px; width: 80px; height: 80px; }
  .contact-card { padding: 36px 22px; border-radius: 22px; }
  .btn { width: 100%; justify-content: center; }
  .nav .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
