/* Marika Mégré — feuille de style (direction « Aube ») */

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-opsz.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-opsz-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Noto Serif Georgian"; src: url("fonts/noto-serif-georgian.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Sans Georgian"; src: url("fonts/noto-sans-georgian.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F; }

:root {
  /* Aube : fond clair, dégradés doux rose, lilas et pêche, cartes givrées, grande linéale et italique bordeaux */
  --bg: #fbf9f8;
  --ink: #17151c;
  --text: #4c4853;
  --muted: #6f6975;
  --line: rgba(23, 21, 28, .1);
  --wine: #8a2335;
  --glass: rgba(255, 255, 255, .64);
  --edge: rgba(255, 255, 255, .92);
  --blush: #f6d3d8;
  --lilac: #e2dbf5;
  --peach: #f8e2cc;
  --mint: #d6e9e0;
  --sans: "Instrument Sans", "Noto Sans Georgian", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", "Noto Serif Georgian", Georgia, "Times New Roman", serif;
  --max: 1200px;
  --top-h: 84px;
  --r: 28px;
  --shadow: 0 30px 60px -42px rgba(80, 40, 70, .4);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 24px); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 32px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 60; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* Ciel : les dégradés doux derrière les ouvertures */
.sky { position: relative; isolation: isolate; overflow: hidden; }
.sky::before, .sky::after, .sky-glow { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.sky::before { width: 720px; height: 620px; left: -200px; top: -200px; background: var(--blush); }
.sky::after { width: 680px; height: 600px; right: -180px; top: -100px; background: var(--lilac); }
.sky-glow { width: 560px; height: 440px; left: 40%; top: 260px; background: var(--peach); opacity: .85; }
.sky-low::before { top: auto; bottom: -260px; }
.sky-low::after { top: auto; bottom: -300px; }

/* Verre */
.glass { background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge), var(--shadow); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: var(--r); }

/* Titres */
.display { margin: 0; font-family: var(--sans); font-weight: 600; letter-spacing: -.055em; line-height: .94; }
.display em, .h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--wine); }
.display:lang(ka) { letter-spacing: -.01em; line-height: 1.15; }
.display:lang(ka) em, .h2:lang(ka) em { font-style: normal; letter-spacing: 0; }
.h2 { margin: 0; font: 600 clamp(34px, 4.2vw, 52px)/1.04 var(--sans); letter-spacing: -.045em; }
:lang(ka) .h2 { letter-spacing: -.01em; line-height: 1.2; font-size: clamp(28px, 3.4vw, 42px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); font-size: 13px; color: var(--text); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); flex: none; }
.pill .i { width: 14px; height: 14px; color: var(--wine); }
.kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .kicker { text-transform: none; letter-spacing: .02em; font-size: 13px; }
.kicker .i { width: 13px; height: 13px; }
.serif-big { font: 300 italic 46px/1 var(--serif); color: var(--wine); }
:lang(ka) .serif-big { font-style: normal; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 248, .5); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.top-in { display: flex; align-items: center; gap: 28px; height: var(--top-h); }
.brand { font: 600 18px/1 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.nav { display: flex; gap: 2px; margin-left: auto; padding: 5px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); }
.nav a { padding: 8px 15px; border-radius: 999px; font-size: 14px; color: var(--text); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.nav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(23, 21, 28, .08); }
.langs { display: flex; gap: 12px; flex: none; }
.langs a { padding: 6px 0; font-size: 13px; color: var(--muted); }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.menu-btn { display: none; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; }
.menu-icon { position: relative; width: 18px; height: 8px; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.menu-icon::before { top: 0; }
.menu-icon::after { top: 6.5px; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 3.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 3.25px; transform: rotate(-45deg); }

/* Boutons et liens */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.center .actions { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 600 15px/1.2 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--wine); }
.btn-glass { background: var(--glass); color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge), 0 10px 24px -18px rgba(80, 40, 70, .5); }
.btn-glass:hover { background: #fff; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.more .i { transition: transform .2s ease; color: var(--wine); }
.more:hover .i { transform: translateX(3px); }

/* Ouvertures */
.hero { padding: 92px 0 80px; }
.center { text-align: center; }
.hero h1 { margin-top: 30px; font-size: clamp(62px, 10.4vw, 150px); }
.sub { margin: 30px auto 0; max-width: 32ch; font: 300 clamp(22px, 2.5vw, 31px)/1.32 var(--serif); }
.sub em { font-style: italic; color: var(--wine); }
:lang(ka) .sub { font-size: clamp(19px, 2vw, 25px); line-height: 1.55; max-width: 38ch; }
:lang(ka) .sub em { font-style: normal; }
.hero .actions { margin-top: 38px; }
.phero { padding: 84px 0 72px; }
.phero h1 { margin-top: 28px; font-size: clamp(50px, 7.6vw, 108px); }
.phero h1:lang(ka) { font-size: clamp(34px, 5.2vw, 70px); }
.lead { margin: 28px auto 0; max-width: 46ch; font-size: 19px; line-height: 1.65; color: var(--text); }
:lang(ka) .lead { font-size: 17px; line-height: 1.8; }
.phero-extra { margin-top: 48px; }
/* Le ciel passe derrière l'en-tête translucide */
main > .hero.sky:first-child { margin-top: calc(-1 * var(--top-h)); padding-top: calc(var(--top-h) + 92px); }
main > .phero.sky:first-child { margin-top: calc(-1 * var(--top-h)); padding-top: calc(var(--top-h) + 84px); }
.section-flush { padding-top: 16px; }

/* Cartes de l'accueil */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 76px; text-align: left; }
.card { display: flex; flex-direction: column; padding: 30px; transition: transform .25s ease, box-shadow .25s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--edge), 0 40px 70px -40px rgba(80, 40, 70, .5); }
.card-title { margin: 14px 0 10px; font: 600 26px/1.12 var(--sans); letter-spacing: -.03em; }
:lang(ka) .card-title { letter-spacing: 0; font-size: 22px; line-height: 1.3; }
.card p { margin: 0; font-size: 15px; color: var(--text); }
.card .serif-big { margin-top: auto; padding-top: 26px; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: linear-gradient(180deg, rgba(226, 219, 245, .35), rgba(248, 226, 204, .25)); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 32px; margin-bottom: 48px; }
.sec-note { margin: 0; color: var(--muted); }

/* Couvertures */
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cover { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 22px; border-radius: 22px; color: var(--ink); container-type: inline-size; box-shadow: 0 26px 44px -32px rgba(60, 30, 50, .5); transition: transform .3s ease; }
a:hover .cover { transform: translateY(-4px); }
.cover-kind { font-size: max(10px, 5.6cqi); letter-spacing: .14em; text-transform: uppercase; color: rgba(23, 21, 28, .6); }
:lang(ka) .cover-kind { text-transform: none; letter-spacing: .02em; }
.cover-title { font: 300 italic clamp(16px, 11.4cqi, 26px)/1.15 var(--serif); }
.cover-author { font-size: max(11px, 6.4cqi); color: rgba(23, 21, 28, .7); }
.cover-blush { background: linear-gradient(160deg, #f7d5da, #ecb7c2); }
.cover-peach { background: linear-gradient(160deg, #f9e7d2, #f0cfad); }
.cover-lilac { background: linear-gradient(160deg, #e7e1f7, #cdc3ee); }
.cover-mint { background: linear-gradient(160deg, #dfede6, #c0dbcd); }
.cover-mist { background: linear-gradient(160deg, #eeeaf0, #d6d0db); }

/* Applications sur l'accueil */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-card { position: relative; display: flex; flex-direction: column; min-height: 420px; padding: 34px; overflow: hidden; }
.app-card .kicker { position: relative; z-index: 2; }
.app-card h3 { position: relative; z-index: 2; margin: 12px 0 10px; font: 600 40px/1 var(--sans); letter-spacing: -.045em; }
.app-card p { position: relative; z-index: 2; margin: 0; max-width: 26ch; color: var(--text); }
.app-card .more { position: relative; z-index: 2; margin-top: auto; padding-top: 24px; }
.app-card .phone { position: absolute; right: -20px; bottom: -150px; width: 230px; transform: rotate(-6deg); z-index: 1; }
.app-card-joker .phone { transform: rotate(6deg); }

/* Trajet */
.route { display: block; width: 100%; height: auto; overflow: visible; }
.route-card { max-width: 760px; margin: 0 auto; padding: 26px 34px 30px; }
.route-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: .5 9; }
.route-ring { fill: rgba(138, 35, 53, .1); stroke: none; }
.route-dot { fill: var(--wine); }
.route-city { font: 600 28px var(--sans); letter-spacing: -.02em; fill: var(--ink); }
.route-country { font: 400 14px var(--sans); fill: var(--muted); }
.route-km { font: 300 italic 36px var(--serif); fill: var(--wine); }
.route-note { font: 400 14px var(--sans); fill: var(--muted); }

/* Appel à écrire */
.cta { padding: 40px 0 104px; }
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 56px; align-items: end; padding: 64px; border-radius: 36px; background: linear-gradient(120deg, #f6dbe0, #e9e2f7 55%, #f8e6d4); }
.cta-title { margin: 0; max-width: 18ch; font: 600 clamp(32px, 4vw, 52px)/1.05 var(--sans); letter-spacing: -.045em; }
.cta-title em { font: 300 italic 1em var(--serif); color: var(--wine); letter-spacing: -.02em; }
:lang(ka) .cta-title { letter-spacing: -.01em; line-height: 1.3; font-size: clamp(24px, 2.8vw, 36px); max-width: 26ch; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-mail { margin: 0; font: 300 italic clamp(22px, 2.4vw, 30px)/1.2 var(--serif); overflow-wrap: anywhere; }
.cta-mail a { border-bottom: 1px solid var(--wine); }

/* Traduction */
.dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dir { padding: 34px; }
.dir-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dir-count { font: 300 italic 72px/.9 var(--serif); color: var(--wine); }
.dir-title { margin: 14px 0 20px; font: 600 26px/1.15 var(--sans); letter-spacing: -.03em; }
:lang(ka) .dir-title { letter-spacing: 0; font-size: 22px; line-height: 1.35; }
.dir-list { list-style: none; margin: 0; padding: 0; }
.dir-list li { border-top: 1px solid var(--line); }
.dir-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; font: 300 italic 20px/1.3 var(--serif); }
.dir-list a:hover { color: var(--wine); }
.dir-list .i { width: 15px; height: 15px; color: var(--muted); }
.biblio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 18px; }
.book-info { padding: 20px 4px 0; }
.book-title { margin: 0; font: 300 italic 20px/1.25 var(--serif); }
.book-author { margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.book-meta { margin: 14px 0 0; font-size: 14px; }
.book-meta div { padding: 8px 0; border-top: 1px solid var(--line); }
.book-meta dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .book-meta dt { text-transform: none; letter-spacing: .02em; font-size: 12px; }
.book-meta dd { margin: 3px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { padding: 32px; }
.step .serif-big { display: block; }
.step-title { margin: 22px 0 10px; font: 600 22px/1.2 var(--sans); letter-spacing: -.025em; }
.step p { margin: 0; color: var(--text); }

/* Applications */
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.app-grid-rev .app-text { order: 2; }
.app-name { margin: 14px 0 0; font: 600 clamp(54px, 6.6vw, 92px)/.95 var(--sans); letter-spacing: -.055em; }
.app-desc { margin: 22px 0 0; max-width: 42ch; font-size: 19px; color: var(--text); }
:lang(ka) .app-desc { font-size: 17px; line-height: 1.8; }
.features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.features li { display: flex; align-items: center; gap: 12px; }
.features .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #fff; color: var(--wine); box-shadow: 0 2px 8px rgba(23, 21, 28, .08); }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 9px 16px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wine); }
.app-link { margin: 26px 0 0; }
.app-visual { display: flex; justify-content: center; padding: 56px 0; border-radius: 36px; }
.app-visual-kioui { background: linear-gradient(150deg, #f7dbe0, #efe3f7); }
.app-visual-joker { background: linear-gradient(150deg, #e4def6, #f6e3d3); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.col { padding: 36px; }
.col-title { margin: 12px 0 12px; font: 600 30px/1.1 var(--sans); letter-spacing: -.035em; }
:lang(ka) .col-title { letter-spacing: 0; font-size: 26px; line-height: 1.3; }
.col p { margin: 0; color: var(--text); max-width: 46ch; }
.col .support { margin-top: 16px; }
.support a { border-bottom: 1px solid var(--wine); overflow-wrap: anywhere; }

/* Téléphones */
.phone { position: relative; width: min(290px, 74vw); aspect-ratio: 9 / 19; padding: 10px; border-radius: 46px; background: #121117; box-shadow: 0 50px 80px -44px rgba(40, 20, 40, .55), inset 0 0 0 1px #2c2a33; }
.phone::before { content: ""; position: absolute; z-index: 3; top: 20px; left: 50%; width: 82px; height: 24px; border-radius: 999px; background: #121117; transform: translateX(-50%); }
.screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 37px; background: #fff; color: var(--ink); font-family: var(--sans); }
.sbar { display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 18px 26px 0; font-size: 13px; font-weight: 600; }
.sbar-icons { display: flex; gap: 3px; align-items: flex-end; }
.sbar-icons i { display: block; width: 4px; border-radius: 1px; background: currentColor; }
.sbar-icons i:nth-child(1) { height: 5px; } .sbar-icons i:nth-child(2) { height: 8px; } .sbar-icons i:nth-child(3) { height: 11px; }
.k-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 0; }
.k-logo { font: 600 20px/1 var(--sans); letter-spacing: -.03em; }
.k-level { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; }
.k-progress { display: flex; align-items: center; gap: 10px; padding: 16px 22px 0; font-size: 11px; color: var(--muted); white-space: nowrap; }
.k-bar { flex: 1; height: 5px; border-radius: 999px; background: #f0edf2; overflow: hidden; }
.k-bar i { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--wine); }
.k-q { margin: 30px 22px 0; font-size: 12px; color: var(--muted); }
.k-word { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 22px 0; font: 400 28px/1.2 "Noto Serif Georgian", var(--serif); }
.k-sound { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #f4f1f5; }
.k-sound .i { width: 18px; height: 18px; }
.k-opts { display: grid; gap: 9px; margin: 24px 22px 0; }
.k-opt { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-radius: 14px; background: #f6f4f7; font-size: 15px; font-weight: 600; }
.k-opt.is-ok { background: #2e8b57; color: #fff; }
.k-opt .i { width: 18px; height: 18px; }
.k-feedback { margin: auto 14px 14px; padding: 13px; border-radius: 16px; background: #edf6f0; color: #1f6b42; font-weight: 600; text-align: center; font-size: 14px; }
.screen-joker { background: #1b1d23; color: #fff; }
.j-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 0; }
.j-logo { font-size: 17px; font-weight: 600; }
.j-logo b { color: #ff4b55; font-weight: 600; }
.j-trump { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 11px; }
.j-trump-i { width: 13px; height: 13px; color: #ff4b55; }
.j-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 18px 16px 0; text-align: center; }
.j-scores b { display: block; font-size: 24px; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.j-scores span:first-child b { color: #ff4b55; }
.j-scores small { display: block; margin-top: 5px; font-size: 10px; opacity: .65; }
.j-table { position: relative; flex: 1; margin: 18px 16px 0; border-radius: 22px; background: radial-gradient(120% 90% at 50% 40%, #2a2d36 0%, #20232a 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.j-table .pcard { position: absolute; top: 50%; left: 50%; }
.j-table .t1 { transform: translate(-115%, -55%) rotate(-10deg); }
.j-table .t2 { transform: translate(-50%, -70%) rotate(2deg); }
.j-table .t3 { transform: translate(15%, -50%) rotate(12deg); }
.j-hand { display: flex; justify-content: center; padding: 18px 10px 26px; }
.j-hand .pcard { margin: 0 -7px; }
.j-hand .hc1 { transform: rotate(-14deg) translateY(10px); }
.j-hand .hc2 { transform: rotate(-7deg) translateY(3px); }
.j-hand .hc4 { transform: rotate(7deg) translateY(3px); }
.j-hand .hc5 { transform: rotate(14deg) translateY(10px); }
.pcard { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: space-between; width: 50px; height: 72px; padding: 6px 7px; border-radius: 8px; background: #fff; color: #17181c; font: 600 16px/1 var(--sans); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .6); }
.pcard.is-red { color: #d22a37; }
.pcard-suit { width: 19px; height: 19px; align-self: flex-end; }
.pcard.is-joker { align-items: center; justify-content: center; gap: 4px; background: #ffd34e; }
.pcard-star { width: 22px; height: 22px; }
.pcard.is-joker small { font-size: 8px; letter-spacing: .1em; }

/* Parcours */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tl-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 32px; padding: 26px 32px; }
.tl-year { font: 300 italic 32px/1.1 var(--serif); color: var(--wine); }
:lang(ka) .tl-year { font-style: normal; font-size: 24px; line-height: 1.3; }
.tl-title { margin: 0; font: 600 20px/1.3 var(--sans); letter-spacing: -.02em; }
.tl-body p { margin: 6px 0 0; max-width: 62ch; color: var(--text); }
.tl-body i, .prose i { font-family: var(--serif); font-size: 1.05em; }
.tl-now { background: linear-gradient(120deg, rgba(246, 211, 216, .7), rgba(226, 219, 245, .7)); }
.story-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); font-weight: 600; font-size: 15px; }
.prose p { margin: 0 0 1.15em; max-width: 62ch; font-size: 18px; line-height: 1.8; color: var(--text); }
:lang(ka) .prose p { font-size: 17px; line-height: 1.85; }
.prose p:last-child { margin-bottom: 0; }
.story { padding: 40px; }
.story p:first-child::first-letter { float: left; margin: 6px 12px 0 0; font: 300 italic 76px/.8 var(--serif); color: var(--wine); }

/* Contact */
.mail-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 48px; align-items: center; padding: 48px; }
.mailbox-addr { margin: 12px 0 0; font: 300 italic clamp(28px, 3.4vw, 46px)/1.15 var(--serif); overflow-wrap: break-word; }
.mailbox-addr a { border-bottom: 1px solid var(--wine); }
.mailbox-note { margin: 18px 0 0; color: var(--text); }
.mail-panel .actions { justify-content: flex-end; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; list-style: none; padding: 0; }
.topic { display: flex; flex-direction: column; height: 100%; padding: 30px; transition: transform .25s ease; }
.topic:hover { transform: translateY(-4px); }
.topic-label { margin-top: 10px; font: 600 24px/1.15 var(--sans); letter-spacing: -.03em; }
:lang(ka) .topic-label { letter-spacing: 0; font-size: 21px; line-height: 1.35; }
.topic-text { margin-top: 8px; font-size: 15px; color: var(--text); }
.topic-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 15px; }
.topic-go .i { color: var(--wine); }

/* Mentions légales */
.legal-panel { max-width: 940px; margin: 0 auto; padding: 22px 40px; }
.legal { margin: 0; }
.legal div { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.legal div:last-child { border-bottom: 0; }
.legal dt { color: var(--muted); font-size: 15px; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.legal a { border-bottom: 1px solid var(--line); }

/* Pied de page */
.foot { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0 34px; background: #f3eff4; color: var(--text); font-size: 15px; }
.foot::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 400px; right: -160px; bottom: -220px; border-radius: 50%; background: var(--peach); filter: blur(70px); opacity: .8; }
.foot a:hover { color: var(--wine); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr); gap: 48px; }
.foot-name { margin: 0; color: var(--ink); font: 600 30px/1 var(--sans); letter-spacing: -.045em; }
.foot-name em { font: 300 italic 1em var(--serif); color: var(--wine); letter-spacing: -.02em; }
.foot-tag { margin: 18px 0 0; max-width: 36ch; }
.foot-h { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
:lang(ka) .foot-h { text-transform: none; letter-spacing: .02em; font-size: 13px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-contact p { margin: 0; }
.foot-contact a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--wine); overflow-wrap: anywhere; }
.foot-small { margin-top: 14px !important; font-size: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Écrans moyens */
@media (max-width: 1080px) {
  .shelf { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding: 4px 4px 22px; scroll-snap-type: x mandatory; }
  .shelf li { scroll-snap-align: start; }
  .biblio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav a { padding: 8px 11px; }
}

/* Tablettes et téléphones */
@media (max-width: 860px) {
  :root { --top-h: 68px; --r: 24px; }
  .wrap { padding-inline: 20px; }
  .top-in { gap: 18px; }
  .langs { margin-left: auto; }
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; }
  body.menu-open .top { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .js .nav.is-open { position: fixed; left: 0; right: 0; top: var(--top-h); bottom: 0; z-index: 40; display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 24px 20px 40px; border-radius: 0; background: var(--bg); box-shadow: none; overflow-y: auto; }
  .js .nav.is-open a { padding: 16px 20px; border-radius: 20px; font: 600 28px/1.2 var(--sans); letter-spacing: -.035em; color: var(--ink); }
  .js .nav.is-open a[aria-current="page"] { background: linear-gradient(120deg, #f6dbe0, #e9e2f7); box-shadow: none; }
  html:not(.js) .top-in { flex-wrap: wrap; height: auto; padding: 14px 20px; }
  html:not(.js) .nav { order: 3; width: 100%; flex-wrap: wrap; margin: 0; }
  .hero { padding: 56px 0 64px; }
  main > .hero.sky:first-child { padding-top: calc(var(--top-h) + 52px); }
  main > .phero.sky:first-child { padding-top: calc(var(--top-h) + 48px); }
  .hero h1 { font-size: clamp(48px, 15vw, 96px); }
  .phero { padding: 52px 0 56px; }
  .cards, .duo, .dirs, .steps, .cols, .topics { grid-template-columns: minmax(0, 1fr); }
  .cards { margin-top: 48px; }
  .app-grid, .story-grid, .mail-panel { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .app-grid-rev .app-text { order: 0; }
  .mail-panel .actions { justify-content: flex-start; }
  .cta-panel { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; border-radius: 28px; }
  .section { padding: 72px 0; }
  .cta { padding: 16px 0 72px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 24px 24px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .app-card { min-height: 380px; }
  .route-card { padding: 18px 16px 22px; }
  .story { padding: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .center .actions .btn, .mail-panel .actions .btn { flex: 1 1 100%; }
  .shelf { grid-template-columns: repeat(5, 62%); gap: 14px; }
  .biblio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .book-title { font-size: 18px; }
  .card, .dir, .step, .col, .topic { padding: 26px; }
  .mail-panel { padding: 30px 24px; }
  .legal-panel { padding: 10px 22px; }
  .legal div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .app-card { min-height: 480px; }
  .app-card .phone { width: 176px; bottom: -196px; right: -22px; }
  .app-card p { max-width: 24ch; }
  .route-city { font-size: 34px; }
  .route-country, .route-note { font-size: 18px; }
  .route-km { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
