/* SKYE Sàrl · composants éditoriaux des pages (en-tête et pied de page : skye-shell.css)
   Aucune dépendance externe. Polices hébergées sur le site. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 600; font-stretch: 100%; font-display: swap; src: url('/assets/fonts/Archivo-var.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/CormorantGaramond-var.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/CormorantGaramond-italic-var.woff2') format('woff2'); }

:root {
  --wine: #5C2A34;
  --wine-deep: #3A181F;
  --wine-night: #2C1319;
  --wine-dark: #451F27;
  --rose: #C08A93;
  --rose-light: #E3AEB6;
  --cream: #FAF8F3;
  --paper: #F4F0E8;
  --sand: #EDE6DA;
  --ink: #232019;
  --text: #4A453D;
  --muted: #7A746A;
  --line: #D8CFC6;
  --line-soft: #E6DFD5;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --col-gap: clamp(16px, 2vw, 32px);
  --section: clamp(88px, 12vw, 176px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --header-h: 76px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.s { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
:where(.s) img { display: block; max-width: 100%; height: auto; }
:where(.s) a { color: inherit; }
:where(.s) h1, :where(.s) h2, :where(.s) h3 { font-family: var(--serif); font-weight: 500; margin: 0; color: var(--ink); text-wrap: balance; letter-spacing: -0.01em; }
:where(.s) p { margin: 0; }
:where(.s) ul, :where(.s) ol { margin: 0; padding: 0; list-style: none; }
:where(.s) ::selection { background: var(--wine); color: var(--cream); }
:where(.s) :focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.dark :focus-visible, .site-footer :focus-visible, .site-menu :focus-visible { outline-color: var(--rose-light); }
:where(.s) em { font-style: italic; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--wine); color: var(--cream); padding: 10px 16px; text-decoration: none; font-size: 14px; }
.skip:focus { left: 10px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* Typographie éditoriale */
.kicker { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.kicker .n { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--wine); }
.kicker .rule { width: 40px; height: 1px; background: currentColor; opacity: 0.55; flex: none; }
.dark .kicker { color: rgba(250,248,243,0.62); }
.dark .kicker .n { color: var(--rose-light); }
.display { font-size: clamp(46px, 7.4vw, 116px); line-height: 0.98; letter-spacing: -0.02em; }
.h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.display em, .h2 em, .h3 em { color: var(--wine); font-weight: 400; }
.display em { white-space: nowrap; }
.dark .display em, .dark .h2 em, .dark .h3 em { color: var(--rose-light); }
.lead { font-size: clamp(18px, 1.5vw, 20.5px); line-height: 1.6; color: var(--text); max-width: 56ch; }
.body-copy { max-width: 60ch; }
.body-copy p + p { margin-top: 1.1em; }
.meta { font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }
.caption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.01em; }
.caption b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 15px; color: var(--wine); }
.dark .caption { color: rgba(250,248,243,0.55); }
.dark .caption b { color: var(--rose-light); }

/* Actions */
.btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em; line-height: 1; text-decoration: none; padding: 18px 24px 18px 26px; border: 1px solid transparent; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn .arr { display: inline-block; font-size: 15px; transition: transform .45s var(--ease); }
.btn:hover .arr, .link-arrow:hover .arr { transform: translate(3px, -3px); }
.btn-primary { background: var(--wine); color: var(--cream); }
.btn-primary:hover { background: var(--wine-deep); }
.btn-light { background: var(--cream); color: var(--wine-deep); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(250,248,243,0.4); color: var(--cream); }
.btn-outline-light:hover { border-color: var(--cream); }
.btn-sm { padding: 13px 18px 13px 20px; font-size: 13.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.link-arrow:hover { background-size: 0% 1px; background-position: right bottom; color: var(--wine); }
.link-arrow .arr { transition: transform .45s var(--ease); }
.dark .link-arrow { color: var(--cream); }
.dark .link-arrow:hover { color: var(--rose-light); }

/* Figures */
.figure { margin: 0; }
.figure .frame { position: relative; overflow: hidden; background: var(--sand); }
.figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a.figure:hover img, .figure.zoom:hover img { transform: scale(1.03); }

/* Sections */
.section { padding: var(--section) 0; }
.section.tight { padding: calc(var(--section) * 0.7) 0; }
.paper { background: var(--paper); }
.dark { background: var(--wine-night); color: rgba(250,248,243,0.78); }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }
.rule-top { border-top: 1px solid var(--line); }


/* Apparition au défilement (activée seulement si JS et mouvement autorisé) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="2"] { transition-delay: .12s; }
  .js [data-reveal="3"] { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* En-tête de page secondaire */
.page-head { padding: clamp(64px, 9vw, 132px) 0 clamp(48px, 6vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: clamp(36px, 5vw, 64px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.page-head .grid { align-items: end; row-gap: 32px; }
.page-head h1 { grid-column: 1 / span 7; font-size: clamp(48px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.02em; }
.page-head .lead { grid-column: 8 / span 5; }
@media (max-width: 960px) { .page-head h1, .page-head .lead { grid-column: 1 / -1; } }

/* Liste éditoriale numérotée */
.index-list { border-top: 1px solid var(--line); }
.index-list > li { border-bottom: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding: clamp(32px, 4vw, 52px) 0; align-items: baseline; }
.index-row .num { grid-column: 1 / span 2; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--wine); }
.index-row h3 { grid-column: 3 / span 4; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; transition: transform .6s var(--ease); }
.index-row .txt { grid-column: 8 / span 5; }
.index-list > li:hover .index-row h3 { transform: translateX(8px); }
.index-row .txt ul { margin-top: 16px; }
.index-row .txt li { position: relative; padding-left: 20px; font-size: 15.5px; }
.index-row .txt li + li { margin-top: 6px; }
.index-row .txt li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--wine); }
@media (max-width: 760px) {
  .index-row { row-gap: 14px; }
  .index-row .num { grid-column: 1 / span 2; }
  .index-row h3 { grid-column: 3 / -1; }
  .index-row .txt { grid-column: 3 / -1; }
}

/* Faits (dl éditoriale) */
.facts { border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; color: var(--ink); }
.dark .facts, .dark .facts > div { border-color: rgba(250,248,243,0.16); }
.dark .facts dd { color: var(--cream); }

/* Appel final */
.final { text-align: left; }
.final .h2 { max-width: 14ch; }
.final .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.final .side { max-width: 40ch; }
.final .side p + p, .final .side p + .btn { margin-top: 26px; }
.final .contacts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: 15px; }
.final .contacts a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; color: var(--text); }
.final .contacts a:hover { border-color: currentColor; color: var(--wine); }
.final .side { color: var(--text); }

/* Texte long (pages légales) */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; margin: 64px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--wine); }
.prose a { color: var(--wine); text-underline-offset: 3px; }
.prose a:hover { color: var(--wine-deep); }

