/* astrincomservices.com — un seul fichier de style.
   Idée : la carte du ciel. Sections « nuit » (bleu nuit étoilé, or), sections claires crème et brume,
   services rangés comme une carte d'étoiles (une constellation par service), boutons en pilule.
   Titres Fraunces (serif, italique pour l'accent), texte en police système. Trois fonds en tout. */

:root {
  --night: #0d1330;
  --night-2: #19224d;
  --star: #f6eedb;
  --gold: #e8bd62;
  --gold-text: #86621a;
  --cream: #fbf8f2;
  --mist: #eef0f6;
  --ink: #12162b;
  --ink-2: #4e546b;
  --on-night-2: #c2c7da;
  --line: #dcdfe9;

  --r-card: 18px;
  --r-pill: 999px;

  --gutter: 20px;
  --max: 1160px;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.3rem + 5.6vw, 4.9rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.2rem);
  --fs-h3: 1.3rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --c-star: var(--night);
  --c-line: var(--gold-text);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; font-variation-settings: "opsz" 120; }
h1 em, h2 em { font-style: italic; color: var(--gold-text); }
.night h1 em, .night h2 em { color: var(--gold); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; font-variation-settings: "opsz" 36; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.small { font-size: var(--fs-small); color: var(--ink-2); }
.kicker { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-text); }

/* Les sections « nuit » : bleu nuit + champ d'étoiles. */
.night { --c-star: var(--star); --c-line: var(--gold); background: var(--night) url("sky.svg") repeat; color: #fff; }
.night .kicker { color: var(--gold); }
.night .small, .night .sec-line { color: var(--on-night-2); }

/* ───────── Boutons ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #f2cd7c; }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: var(--night-2); }
.btn-line { background: transparent; color: #fff; border-color: rgba(246, 238, 219, .55); }
.btn-line:hover { border-color: var(--star); background: rgba(246, 238, 219, .08); }
.btn-line--dark, .result .btn-line { color: var(--ink); border-color: var(--ink); }
.btn-line--dark:hover, .result .btn-line:hover { background: var(--ink); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn { flex: 1 1 220px; }
@media (min-width: 700px) { .actions .btn { flex: 0 0 auto; } }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-text); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover .arr { transform: translateX(3px); }
.link .arr { transition: transform .15s ease; }

/* ───────── En-tête (nuit) ───────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(13, 19, 48, .96); color: #fff; border-bottom: 1px solid rgba(246, 238, 219, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hdr-in { display: flex; align-items: center; gap: 12px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1; }
.logo svg { flex: none; }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 2px; color: var(--on-night-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.hdr-cta { min-height: 42px; padding: 0 18px; margin-left: auto; }
.burger { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(246, 238, 219, .35); border-radius: 50%; background: transparent; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--star); transition: transform .2s ease, background-color .2s ease; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 66px 0 0 0; z-index: 49; background: var(--night); color: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility 0s linear .18s; }
.nav-open .drawer { visibility: visible; opacity: 1; transition-delay: 0s; }
.nav-open { overflow: hidden; }
.drawer a.drawer-l { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(246, 238, 219, .16); font-family: var(--font-head); font-size: 1.8rem; text-decoration: none; }
.drawer .btn { width: 100%; margin-top: 24px; }
.drawer .small { margin-top: 18px; color: var(--on-night-2); }
@media (min-width: 900px) {
  .hdr-in { height: 76px; gap: 32px; }
  .nav { display: flex; gap: 30px; margin-left: auto; }
  .hdr-cta { margin-left: 0; }
  .burger, .drawer { display: none; }
  html { scroll-padding-top: 96px; }
}

/* ───────── Sections ───────── */
.sec { padding-block: 76px; }
.sec--mist { background: var(--mist); }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-line { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 900px) {
  .sec { padding-block: 112px; }
  .sec-head { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; margin-bottom: 52px; }
  .sec-head > :not(.link) { grid-column: 1; }
  .sec-head .link { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: 6px; }
}

/* ───────── Héros ───────── */
.hero { padding-block: 48px 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 8px; }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; margin-top: 18px; }
.hero-sub { margin-top: 20px; max-width: 34em; color: var(--on-night-2); }
.hero .actions { margin-top: 28px; }
.sky { width: 100%; height: auto; }
@media (min-width: 980px) {
  .hero { padding-block: 96px 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
  .hero-sub { font-size: 1.15rem; }
}

/* ───────── La carte du ciel : une ligne par service ───────── */
.chart { border-top: 1px solid var(--line); }
.chart > li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 22px; grid-template-areas: "c t a" "c m a"; column-gap: 14px; row-gap: 10px; align-items: center; padding: 20px 4px; text-decoration: none; transition: background-color .15s ease; }
.row:hover { background: var(--mist); }
.sec--mist .row:hover { background: var(--cream); }
.row-c { grid-area: c; align-self: start; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--night); --c-star: var(--star); --c-line: var(--gold); }
.row-c svg { width: 48px; height: 48px; }
.row-n { display: none; }
.row-t { grid-area: t; display: grid; gap: 4px; }
.row-name { font-family: var(--font-head); font-weight: 500; font-size: 1.45rem; line-height: 1.12; letter-spacing: -0.015em; }
.row-p { color: var(--ink-2); }
.row-m { grid-area: m; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.row-a { grid-area: a; color: var(--gold-text); }
.row:hover .row-a .arr { transform: translateX(3px); }
.row-a .arr { transition: transform .15s ease; }
.price { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; font-variant-numeric: lining-nums tabular-nums; }
.price--sm { font-size: 1.3rem; }
@media (min-width: 820px) {
  .row { grid-template-columns: 76px 48px minmax(0, 1fr) 190px 24px; grid-template-areas: "c n t m a"; column-gap: 22px; padding: 22px 12px; }
  .row-c { width: 76px; height: 76px; align-self: center; }
  .row-c svg { width: 56px; height: 56px; }
  .row-n { display: block; grid-area: n; font-family: var(--font-head); font-style: italic; font-size: 1.3rem; color: var(--gold-text); }
  .row-name { font-size: 1.7rem; }
  .row-m { flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
}

/* ───────── La boussole (une question → un service) ───────── */
.compass { width: 84px; height: 84px; margin-bottom: 22px; }
.compass-grid { display: grid; gap: 30px; }
.compass-grid .sec-head { margin-bottom: 0; }
.ask { display: grid; gap: 24px; }
.ask fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ask legend { padding: 0; margin-bottom: 14px; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.answers { display: grid; gap: 10px; }
.answer { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; border-radius: 14px; border: 1.5px solid rgba(246, 238, 219, .3); background: rgba(13, 19, 48, .5); color: #fff; text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.answer::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(246, 238, 219, .6); }
.answer:hover { border-color: var(--star); }
.answer[aria-pressed="true"] { border-color: var(--gold); background: rgba(232, 189, 98, .12); }
.answer[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 189, 98, .25); }
.result { display: grid; gap: 12px; padding: 24px 22px 26px; border-radius: var(--r-card); background: var(--cream); color: var(--ink); }
.result .kicker { color: var(--gold-text); }
.result-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.result h3 { font-size: 1.7rem; font-weight: 500; }
.result p:not(.kicker) { color: var(--ink-2); }
.result .actions { margin-top: 6px; }
@media (min-width: 640px) { .answers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) {
  .compass-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
  .compass-grid .sec-head { display: block; }
  .compass-grid .sec-head > * + * { margin-top: 14px; }
  .result { padding: 30px 30px 32px; }
}

/* ───────── La route : quatre points sur une courbe ───────── */
.course { position: relative; display: grid; gap: 30px; }
.course::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; border-left: 1.5px dashed var(--gold-text); opacity: .6; }
.course li { position: relative; padding-left: 70px; }
.course-pt { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--gold); font-family: var(--font-head); font-style: italic; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--cream); }
.sec--mist .course-pt { box-shadow: 0 0 0 6px var(--mist); }
.course-when { display: block; margin-bottom: 4px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); }
.course h3 { font-size: 1.45rem; font-weight: 500; padding-top: 10px; }
.course-when + h3 { padding-top: 0; }
.course p { margin-top: 8px; color: var(--ink-2); max-width: 36ch; }
@media (min-width: 900px) {
  .course { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 36px; }
  .course::before { left: 24px; right: 24px; top: 24px; bottom: auto; height: 60px; border-left: 0; border-top: 1.5px dashed var(--gold-text); border-radius: 50% 50% 0 0 / 60px 60px 0 0; }
  .course li { padding-left: 0; padding-top: 74px; }
  .course h3 { padding-top: 0; }
}

/* ───────── Les quatre points fixes ───────── */
.principles { display: grid; gap: 14px; }
.principle { display: grid; gap: 10px; padding: 24px 22px 26px; border-radius: var(--r-card); background: var(--cream); }
.principle .tick { width: 26px; height: 26px; }
.principle p { color: var(--ink-2); }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ───────── Le nom ───────── */
.about { display: grid; gap: 30px; align-items: center; }
.about-c { display: grid; place-items: center; aspect-ratio: 1 / 1; max-width: 360px; width: 100%; border-radius: 50%; background: var(--night) url("sky.svg"); --c-star: var(--star); --c-line: var(--gold); }
.about-c svg { width: 70%; height: auto; }
.about h2 { font-size: var(--fs-h2); margin-top: 12px; }
.about p:not(.kicker) { margin-top: 16px; color: var(--ink-2); max-width: 38em; }
.about .link { margin-top: 22px; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }

/* ───────── FAQ ───────── */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq-grid { display: grid; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
  .faq-grid .sec-head { display: block; margin-bottom: 0; position: sticky; top: 110px; }
  .faq-grid .sec-head > * + * { margin-top: 14px; }
}
.qa { border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 500; font-size: 1.2rem; line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa:not([open]) .qa-a { display: none; }
.qa-ic { flex: none; color: var(--gold-text); transition: transform .2s ease; }
.qa[open] .qa-ic { transform: rotate(45deg); }
.qa-a { padding: 0 20px 18px; color: var(--ink-2); max-width: 62ch; }

/* ───────── Appel au contact (nuit) ───────── */
.cta { display: grid; gap: 20px; justify-items: center; text-align: center; }
.cta h2 { font-size: var(--fs-h2); max-width: 18ch; }
.cta p { color: var(--on-night-2); max-width: 40ch; }
.mail { font-family: var(--font-head); font-size: clamp(1.2rem, .8rem + 2.4vw, 2rem); color: var(--gold-text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.night .mail { color: var(--gold); }
.cta .actions { justify-content: center; width: 100%; }

/* ───────── Pied ───────── */
.ftr { padding-block: 56px 28px; border-top: 1px solid rgba(246, 238, 219, .12); }
.ftr-grid { display: grid; gap: 34px; }
.ftr-about p { margin-top: 14px; color: var(--on-night-2); max-width: 30em; }
.ftr-addr { margin-top: 18px; font-size: .92rem; line-height: 1.65; color: var(--on-night-2); }
.ftr-addr strong { color: #fff; font-weight: 600; }
.ftr-addr a { color: var(--gold); overflow-wrap: anywhere; }
.ftr h3 { margin-bottom: 10px; font-size: 1.1rem; }
.ftr ul a { display: inline-block; padding: 8px 0; color: var(--on-night-2); text-decoration: none; }
.ftr ul a:hover { color: #fff; text-decoration: underline; }
.ftr-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(246, 238, 219, .16); font-size: var(--fs-small); color: var(--on-night-2); }
@media (min-width: 900px) { .ftr { padding-block: 80px 32px; } .ftr-grid { grid-template-columns: 1.5fr 1.1fr .8fr .8fr; gap: 44px; } }

/* ───────── Page d'un service ───────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 8px 18px; font-size: var(--fs-small); color: var(--on-night-2); }
.crumbs a { display: inline-block; padding-block: 10px; color: var(--on-night-2); }
.svc { padding-block: 8px 64px; }
.svc-grid { display: grid; gap: 32px; }
.svc h1 { font-size: var(--fs-display); margin-top: 14px; }
.svc-lead { margin-top: 16px; font-family: var(--font-head); font-style: italic; font-size: 1.45rem; line-height: 1.25; color: var(--gold); }
.svc-intro { margin-top: 14px; color: var(--on-night-2); max-width: 36em; }
.svc .actions { margin-top: 26px; }
.svc-card { border-radius: var(--r-card); background: rgba(25, 34, 77, .85); border: 1px solid rgba(246, 238, 219, .16); overflow: hidden; }
.svc-c { display: grid; place-items: center; padding: 20px; border-bottom: 1px solid rgba(246, 238, 219, .16); }
.svc-c svg { width: min(68%, 240px); height: auto; }
.facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 14px 20px 12px; }
.facts div + div { border-top: 1px solid rgba(246, 238, 219, .12); }
.facts dt { color: var(--on-night-2); font-size: var(--fs-small); }
.facts dd { text-align: right; font-weight: 600; }
.facts .price { font-size: 2.3rem; color: var(--gold); }
.svc-card .small { padding: 4px 20px 20px; }
@media (min-width: 900px) {
  .svc { padding-bottom: 104px; }
  .svc-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
}

.cols { display: grid; gap: 28px; }
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; }
.checks .tick { margin-top: 3px; }
.aside { padding: 24px 22px 26px; border-radius: var(--r-card); background: var(--mist); }
.sec--mist .aside { background: var(--cream); }
.aside h3 { margin-bottom: 10px; }
.aside p { color: var(--ink-2); }
@media (min-width: 900px) { .cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: start; } .checks { gap: 18px; } }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--night); color: #fff; border-top: 1px solid rgba(246, 238, 219, .16); }
.buybar .price { display: block; color: var(--gold); }
.buybar .small { display: block; margin-top: 3px; line-height: 1.2; color: var(--on-night-2); }
.buybar .btn { min-height: 46px; flex: none; }
.has-buybar { padding-bottom: 76px; }
@media (min-width: 900px) { .buybar { display: none; } .has-buybar { padding-bottom: 0; } }

/* ───────── En-tête de page (nuit) ───────── */
.sec.page { padding-block: 56px 60px; }
.page-head h1 { font-size: var(--fs-display); margin-top: 14px; max-width: 16ch; }
.page-head p:not(.kicker) { margin-top: 16px; color: var(--on-night-2); max-width: 36em; }
@media (min-width: 900px) { .sec.page { padding-block: 96px 96px; } .page-head p:not(.kicker) { font-size: 1.15rem; } }

/* ───────── Contact ───────── */
.contact { display: grid; gap: 22px; }
.box { padding: 26px 22px 28px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); }
.box--mist { background: var(--mist); border-color: transparent; }
.box h2 { display: flex; align-items: baseline; gap: 12px; font-size: 1.45rem; margin-bottom: 16px; }
.box h2 span { font-style: italic; color: var(--gold-text); }
.box h2:not(:first-child) { margin-top: 30px; }
.box .mail { display: inline-block; margin-bottom: 20px; }
.box address { line-height: 1.65; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.box .chips { margin-bottom: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--cream); color: var(--ink); font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: #fff; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: start; } .box { padding: 36px 34px 38px; } }

/* ───────── Pages légales ───────── */
.prose { max-width: 720px; display: grid; gap: 30px; }
.prose h2 { font-size: 1.45rem; margin-bottom: 8px; }
.prose p { color: var(--ink-2); }
.prose p + p { margin-top: 8px; }
.prose a { color: var(--gold-text); }

/* ───────── 404 ───────── */
.lost { min-height: 62vh; display: grid; align-content: center; gap: 20px; justify-items: start; }
.lost h1 { font-size: var(--fs-display); }
.lost p { color: var(--on-night-2); max-width: 32em; }

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