/* Optique Harksen — feuille de style commune des pages intérieures (style "Apple").
   À placer à la racine du site, à côté du dossier fonts/. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); 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: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/playfair-500-latin.woff2) format("woff2"); 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; }

:root {
  --bg: #f3f2ee;
  --ink: #1d1d1f;
  --ink-soft: #3a3a3d;
  --muted: #5f5f64;
  --line: rgba(60, 50, 30, 0.16);
  --blue: #0071e3;
  --link: #0066cc;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.47; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, .fq-section, .mag-quote, .fq-prof figcaption b {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.container { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.btn:hover { background: #0077ed; text-decoration: none; }

/* ---------- En-tête ---------- */
.hk-header { position: sticky; top: 0; z-index: 10; background: rgba(243, 242, 238, 0.84); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(60, 50, 30, 0.1); }
.hk-header .container { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hk-logo img { display: block; height: 22px; width: auto; }
.hk-nav { display: flex; gap: 32px; }
.hk-nav a { color: var(--ink); font-size: 13px; opacity: 0.8; }
.hk-nav a:hover { opacity: 1; text-decoration: none; }
.hk-header .btn { padding: 7px 16px; font-size: 14px; }
.hk-header .container > div { display: flex; align-items: center; gap: 12px; }

/* ---------- Burger mobile (en-tête) ---------- */
.hk-burger { display: none; appearance: none; border: 0; background: none; padding: 8px; margin: -8px; cursor: pointer; flex-shrink: 0; }
.hk-burger span, .hk-burger span::before, .hk-burger span::after { content: ""; display: block; width: 22px; height: 2px; background: #1d1d1f; border-radius: 2px; position: relative; transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease; }
.hk-burger span::before { position: absolute; top: -7px; }
.hk-burger span::after { position: absolute; top: 7px; }
.hk-burger[aria-expanded="true"] span { background: transparent; }
.hk-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.hk-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.hk-mobile-nav { position: fixed; top: 56px; left: 0; right: 0; z-index: 9; background: #f3f2ee; border-bottom: 1px solid rgba(60,50,30,0.12); box-shadow: 0 16px 32px rgba(0,0,0,0.1); display: flex; flex-direction: column; padding: 4px 24px 12px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform 0.2s ease, opacity 0.2s ease; }
.hk-mobile-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.hk-mobile-nav a { padding: 15px 0; font-size: 17px; color: #1d1d1f; opacity: 1; border-top: 1px solid rgba(60,50,30,0.12); }
.hk-mobile-nav a:first-child { border-top: 0; }
@media (min-width: 761px) { .hk-mobile-nav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .hk-burger span, .hk-burger span::before, .hk-burger span::after, .hk-mobile-nav { transition: none; } }

/* ---------- Pied de page ---------- */
.hk-footer { margin-top: clamp(80px, 11vw, 160px); background: #e8e6e0; }
.hk-footer .container { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--muted); }
.hk-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hk-footer a { color: var(--ink-soft); }

/* ---------- Hero des pages ---------- */
.sp-crumb { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.sp-crumb a { color: var(--muted); }
.sp-label { display: none; }
.ig { padding-top: clamp(40px, 6vw, 80px); }
.ig-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(32px, 5vw, 56px); }
.ig-title h1, .mag-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.04; }
.ig-title p { margin: 18px auto 0; max-width: 640px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.4; color: var(--muted); letter-spacing: -0.01em; }
.ig-title i, .ig-proto__h i { display: none; }
.ig-photo { width: 100%; }
.ig-photo img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 28px; background: #dedcd6; }

/* ---------- Tuiles ---------- */
.ig-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.ig-card, .mag-brief, .mag-shop, .sp-brand, .ig-step {
  background: #fff; border: 1px solid rgba(60, 50, 30, 0.18); box-shadow: 0 12px 36px rgba(60, 50, 30, 0.10); border-radius: 28px; min-width: 0;
}
.ig-card { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.ig-card h2 { margin: 0 0 4px; font-size: 28px; line-height: 1.1; }
.ig-row { display: flex; gap: 14px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.45; color: var(--ink-soft); }
.ig-card h2 + .ig-row { border-top: 0; padding-top: 0; }
.ig-ico { flex: 0 0 auto; color: var(--blue); display: inline-flex; margin-top: 1px; }
.ig-ico svg { display: block; }

/* ---------- Protocole ---------- */
.ig-proto { padding-top: clamp(64px, 9vw, 120px); }
.ig-proto__h { margin: 0 0 28px; text-align: center; font-size: clamp(32px, 5vw, 52px); line-height: 1.07; }
.ig-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ig-chev { display: none; }
.ig-step { padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ig-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--blue); font-variant-numeric: lining-nums; }
.ig-step .ig-ico { position: absolute; top: 22px; right: 22px; }
.ig-step b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.ig-step div span { display: block; font-size: 15px; line-height: 1.45; color: var(--muted); }
.ig-foot { margin: 20px 0 0; text-align: center; font-size: 15px; color: var(--muted); }

/* ---------- Corps de page ---------- */
.mag-body { padding-top: clamp(64px, 9vw, 120px); }
.mag-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.mag-main { min-width: 0; max-width: 720px; }
.sp-block { margin-bottom: clamp(36px, 5vw, 56px); }
.sp-block h2, .sp-cat h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.sp-block h2:not(:first-child) { margin-top: 40px; }
.sp-block p, .sp-block li { font-size: 18px; line-height: 1.6; color: var(--ink-soft); letter-spacing: -0.005em; }
.sp-block p { margin: 0 0 16px; }
.sp-block b { color: var(--ink); font-weight: 600; }
.sp-block ul { margin: 0 0 16px; padding-left: 22px; }
.sp-block li { margin-bottom: 10px; padding-left: 4px; }
.sp-block li::marker { color: var(--blue); }
.sp-src { margin-top: 20px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px !important; line-height: 1.5 !important; color: var(--muted) !important; }
.mag-quote { margin: 0 0 clamp(36px, 5vw, 56px); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; text-wrap: balance; }
.mag-quote small { display: block; margin-top: 12px; font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; }
.sp-links { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.sp-links a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.sp-links a::after { content: "›"; font-size: 22px; line-height: 1; }

.mag-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 76px; }
.mag-fig { margin: 0; }
.mag-fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; background: #dedcd6; }
.mag-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.mag-brief, .mag-shop { padding: 26px; }
.mag-brief h2 { margin: 0 0 8px; font-size: 26px; }
.mag-brief ul { list-style: none; margin: 0; padding: 0; }
.mag-brief li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; color: var(--ink-soft); }
.mag-brief li:first-child { border-top: 0; }
.mag-shop b { display: block; font-size: 19px; margin-bottom: 8px; }
.mag-shop p { margin: 0 0 4px; font-size: 15.5px; color: var(--ink-soft); }
.mag-shop .btn { margin-top: 14px; width: 100%; text-align: center; font-size: 16px; }

.sp-cta, .fq-cta { margin-top: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: linear-gradient(150deg, #0a5fcc 0%, #00449c 100%); box-shadow: 0 12px 36px rgba(0, 68, 156, 0.25); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.sp-cta p, .fq-cta p { margin: 0; max-width: 620px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; letter-spacing: -0.015em; color: #fff; }
.sp-cta a, .fq-cta a { background: #fff; color: #00449c; padding: 12px 24px; border-radius: 980px; font-size: 17px; font-weight: 500; }
.sp-cta a:hover, .fq-cta a:hover { text-decoration: none; background: #f3f2ee; }

/* ---------- Marques ---------- */
.mag-hero { display: flex; flex-direction: column-reverse; align-items: center; gap: clamp(32px, 5vw, 56px); padding-top: clamp(40px, 6vw, 80px); text-align: center; }
.mag-hero > img { display: block; width: calc(100% - 48px); max-width: 1072px; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 28px; background: #dedcd6; }
.mag-hero__txt .sp-lead { margin: 20px auto 0; max-width: 680px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.mag-hero + .mag-body { padding-top: clamp(48px, 7vw, 88px); }
.sp-cat { margin-bottom: clamp(40px, 6vw, 72px); scroll-margin-top: 80px; }
.sp-cat-desc { margin: -8px 0 20px; font-size: 18px; color: var(--muted); }
.sp-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.sp-brand { padding: 22px; box-shadow: none; border-radius: 22px; }
.sp-brand h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.sp-brand p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.sp-note { font-size: 14px; color: var(--muted); }
.mag-hero ~ .mag-body .mag-main { max-width: none; }
.mag-hero ~ .mag-body .mag-cols { grid-template-columns: minmax(0, 1fr); }
.mag-hero ~ .mag-body .mag-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.mag-hero ~ .mag-body .mag-aside .mag-fig { grid-column: 1 / -1; }
.mag-hero ~ .mag-body .sp-block { max-width: 720px; }

/* ---------- Comprendre vos verres ---------- */
.fq-hero { padding-top: clamp(40px, 6vw, 80px); text-align: center; }
.fq-hero h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.04; }
.fq-hero p { margin: 18px auto 0; max-width: 680px; font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); }
.fq-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.fq-toc a { padding: 8px 16px; border: 1px solid rgba(60, 50, 30, 0.22); border-radius: 980px; font-size: 15px; font-weight: 500; color: var(--ink); background: #fff; }
.fq-toc a:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }
.fq-body { padding-top: clamp(40px, 6vw, 72px); }
.fq-body .container { max-width: 840px; }
.fq-section { margin: clamp(48px, 7vw, 80px) 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; scroll-margin-top: 80px; }
.fq-section:first-child { margin-top: 0; }
.fq-list { border-bottom: 1px solid rgba(60, 50, 30, 0.18); }
.fq-item { border-top: 1px solid rgba(60, 50, 30, 0.18); scroll-margin-top: 80px; }
.fq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); }
.fq-arrow { flex: 0 0 auto; display: inline-flex; color: var(--blue); transition: transform 0.25s; }
.fq-arrow svg { width: 20px; height: 20px; }
.fq-q[aria-expanded="true"] .fq-arrow { transform: rotate(180deg); }
.fq-a { padding: 0 0 26px; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.fq-a p { margin: 0 0 14px; }
.fq-a b { color: var(--ink); font-weight: 600; }
.fq-a::after { content: ""; display: block; clear: both; }
.fq-note { font-size: 14px !important; color: var(--muted); }
.fq-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 16px; }
.fq-table th, .fq-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fq-table th { width: 170px; color: var(--ink); font-weight: 600; }
.fq-table th small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.fq-table--grid { font-size: 15px; }
.fq-table--grid th, .fq-table--grid td { text-align: center; border: 1px solid var(--line); width: auto; }
.fq-table--grid thead th { background: #0a5fcc; color: #fff; font-weight: 500; border-color: #0a5fcc; }
.fq-table--grid tbody th { text-align: left; background: rgba(60, 50, 30, 0.05); }
.fq-table--grid td { letter-spacing: 1px; color: var(--blue); }
.fq-fig { margin: 0 0 14px; }
.fq-fig svg { width: 100%; height: auto; max-width: 520px; display: block; }
.fq-fig--left { float: left; width: 46%; margin: 4px 24px 8px 0; }
.fq-fig--right { float: right; width: 46%; margin: 4px 0 8px 24px; }
.fq-fig--wide svg { max-width: 640px; margin: 0 auto; }
.fq-minis { display: flex; justify-content: space-around; max-width: 420px; margin: 8px auto 18px; }
.fq-minis .mini { text-align: center; font-size: 14px; color: var(--muted); }
.fq-minis .mini svg { display: block; margin: 0 auto 4px; width: 70px; height: 70px; }
.fq-paliers { display: grid; gap: 6px; margin: 8px 0 16px; }
.fq-palier { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fq-palier:last-child { border-bottom: 0; }
.fq-palier img { width: 110px; display: block; border-radius: 12px; }
.fq-palier b { display: block; color: var(--ink); margin-bottom: 3px; }
.fq-palier p { margin: 0; font-size: 15px; color: var(--muted); }
.fq-profs { margin: 10px 0 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.fq-profs__lbl { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fq-profs__row { display: flex; justify-content: space-around; align-items: flex-end; }
.fq-prof { margin: 0; text-align: center; }
.fq-prof svg { height: 150px; width: auto; display: block; margin: 0 auto; }
.fq-prof figcaption b { display: block; color: var(--ink); font-size: 20px; }
.fq-prof figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  .mag-cols { grid-template-columns: minmax(0, 1fr); }
  .mag-main { max-width: none; }
  .mag-aside { position: static; }
  .ig-cards { grid-template-columns: minmax(0, 1fr); }
  .ig-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hk-nav { display: none; }
  .hk-burger { display: inline-flex; flex-direction: column; justify-content: center; }
  .ig-photo img, .mag-hero > img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .ig-card { padding: 22px; }
  .ig-card h2 { font-size: 24px; }
  .ig-row, .sp-block p, .sp-block li { font-size: 17px; }
  .ig-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ig-step { padding: 18px 20px; }
  .sp-block h2:not(:first-child) { margin-top: 28px; }
  .fq-q { font-size: 18px; padding: 16px 0; }
  .fq-a { font-size: 16px; }
  .fq-fig--left, .fq-fig--right { float: none; width: 100%; margin: 0 0 12px; }
  .fq-table th { width: auto; }
  .fq-palier { grid-template-columns: 80px 1fr; }
  .fq-palier img { width: 80px; }
  .fq-prof svg { height: 110px; }
  .fq-table { font-size: 15px; }
  .fq-table--grid { font-size: 13px; }
  .fq-table--grid th, .fq-table--grid td { padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fq-arrow { transition: none; } }

/* ---------- Pages légales ---------- */
.legal-page { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px 0; }
.legal-page__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 40px; font-size: 15px; }
.legal-page__back svg { width: 16px; height: 16px; }
.legal-page__title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.012em; }
.legal-page__baseline { margin: 12px 0 40px; font-size: 19px; color: var(--muted); }
.legal-block { padding: 24px 0; border-top: 1px solid var(--line); }
.legal-block:last-child { border-bottom: 1px solid var(--line); }
.legal-block h4 { margin: 0 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.legal-block p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 760px) {
  .sp-brands { gap: 0; border-bottom: 1px solid var(--line); }
  .sp-brand { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 0; }
  .sp-brand h3 { font-size: 18px; }
}
.sp-links a[target="_blank"]::after { content: "↗"; font-size: 18px; }

/* Mobile : tout est réduit d'environ 12 % */
@media (max-width: 760px) {
  body { zoom: 0.88; }
  .ig-proto, .mag-body { padding-top: 104px; }
  .mag-hero + .mag-body { padding-top: 80px; }
  .fq-body { padding-top: 72px; }
  .sp-block { margin-bottom: 52px; }
  .mag-quote { margin-bottom: 52px; }
  .sp-cat { margin-bottom: 64px; }
  .fq-section { margin-top: 80px; }
  .sp-cta, .fq-cta { margin-top: 80px; }
  .hk-footer { margin-top: 120px; }
}
