/* Jemoria public website, the « Sites internet » page (/creation-de-site), loaded by that page only, after assets/pages.css.
   Charter A « clair et sobre » (RFC-032, lot L2): white cards with thin borders, one navy accent, the navy panel of
   « Notre conseil »; the detail of the prices folded; the conditions in a dialog (assets/site.js). Shared tokens and
   components: assets/site.css. */

/* Hero: text only, as on the home page (.svc-hero, .kick and .sure: assets/pages.css, shared with the other pages since lot L4). */
.offer-terms { margin: 20px 0 0; color: var(--muted); font-size: .88rem; font-weight: 600; }

/* The three packages: Professionnel, the recommended one, outlined in navy. The launch price is labelled and alone
   (ADR-057 §8.1). */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 32px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.plan h3 { margin: 0; font-size: 1.4rem; }
.offer-price { margin: 0; color: var(--primary); font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.offer-price-note { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.offer-price-was { margin: 0; }
.launch-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .8rem; font-weight: 700; }
.plan .ticks { margin: 8px 0 18px; font-size: .96rem; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.offer-flag { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .8rem; font-weight: 700; }
.offer-card .offer-flag, .plan-advice .offer-flag { position: absolute; top: -12px; left: 26px; }
.offer-card-recommended, .plan-advice { border: 2px solid var(--accent); }
.cond-link-inline { color: var(--link); }

/* The examples band */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.sec-head h2 { margin: 0; }
.examples-more { margin: 0; }
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.examples-band .ex { border: 1px solid var(--line); border-radius: 16px; background: var(--card); }

/* « Notre conseil » (the guarantor's decisions of 2 November 2026): the recommended combination first, on the navy panel,
   the same in both themes. */
.advice { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "copy sum" "cta sum"; gap: 18px 36px; margin-top: 32px; padding: 36px; border-radius: 16px; background: #0b2f7d; color: #ffffff; }
.advice .offer-flag { position: absolute; top: -12px; left: 28px; background: #ffffff; color: #0b2f7d; }
.advice-copy { grid-area: copy; }
.advice-copy h3 { margin: 0 0 10px; color: #ffffff; font-size: 1.4rem; line-height: 1.25; }
.advice-copy p { margin: 0; color: #c9d4ee; }
.advice-sum { grid-area: sum; }
.advice-cta { grid-area: cta; align-self: start; margin: 0; }
.advice-rows { margin: 0; padding: 4px 20px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.advice-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.advice-rows dt { font-weight: 700; }
.advice-rows dt small { display: block; color: #c9d4ee; font-size: .8rem; font-weight: 500; }
.advice-rows dd { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.advice-rows .advice-total { border-bottom: 0; }
.advice-total dd { font-size: 1.9rem; }
.advice .fine { margin: 14px 0 0; color: #c9d4ee; }
.advice .btn-primary { background: #ffffff; color: #0b2f7d; }
.advice .btn-primary:hover { background: #e3e9f6; color: #0b2f7d; }
.advice a:focus-visible { outline-color: #ffffff; }

/* Standard and Premium: the same comparative list; Premium on the pale navy surface. */
.subs-title { margin-top: 40px; }
.subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 14px 0 0; }
.sub { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.sub p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.sub .fine { font-size: .85rem; }
.sub-head { display: flex; align-items: center; gap: 14px; }
.sub-head h3 { margin: 0; font-size: 1.4rem; }
.sub-ico { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--pastel-2); color: var(--accent-text); }
.sub-ico .ico { width: 22px; height: 22px; }
.sub .sub-price { margin: 2px 0 0; color: var(--muted); font-size: .95rem; font-weight: 700; }
.sub .sub-badge { position: absolute; top: -12px; right: 24px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .78rem; font-weight: 700; }
.sub-premium { background: var(--pastel-2); }
.sub-premium .sub-ico { background: var(--card); }
.incl { margin: 4px 0 2px; font-size: .97rem; }
.incl li { margin-bottom: 10px; }
.incl li.no { color: var(--muted); }
.incl li.no::before { background: var(--field); }
.incl li.no::after { left: 6px; top: calc((1.45em - 2px) / 2); width: 7px; height: 2px; border: 0; background: var(--muted); transform: none; }
.incl li.plus { margin: 2px -12px 0; padding: 10px 12px 10px 42px; border-radius: 10px; background: var(--card); font-weight: 700; }
.incl li.plus::before { left: 12px; top: calc(10px + (1.45em - 19px) / 2); }
.incl li.plus::after { left: 19px; top: calc(10px + (1.45em - 19px) / 2 + 3px); }
.asks { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.sub .asks-t { cursor: pointer; margin: 0 0 8px; color: var(--text); font-size: .8rem; font-weight: 700; }
.asks:not([open]) .asks-t { margin-bottom: 0; }
.asks ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.asks li { padding: 6px 12px; border-radius: 999px; background: var(--pastel); color: var(--text); font-size: .86rem; font-weight: 600; }

/* What you get: three plain cards. */
.gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.get { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.get h3 { margin: 4px 0 0; font-size: 1.18rem; line-height: 1.3; }
.get p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.get .get-extra { color: var(--text); font-weight: 600; }
.get-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--pastel-2); color: var(--accent-text); }
.get-ico .ico { width: 22px; height: 22px; }

/* The four steps, numbered by the shared style. */
.steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }

/* The detail of the prices: folds that open one by one. */
.folds { display: grid; gap: 12px; margin-top: 28px; }
.fold { border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.fold[hidden] { display: none; }
.fold > summary { position: relative; display: block; padding: 18px 56px 18px 22px; border-radius: 16px; cursor: pointer; font-size: 1.08rem; font-weight: 700; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; position: absolute; top: 50%; right: 24px; width: 9px; height: 9px; border: solid var(--accent-text); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.fold[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.fold > summary:hover { color: var(--accent-text); }
.fold[open] > summary { border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.fold-body { padding: 22px; }
.fold-body > .intro { margin: 0 0 4px; }

/* The calculator, shown by assets/site.js only. */
.config { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; }
.config[hidden] { display: none; }
.config-controls { display: flex; flex-direction: column; gap: 16px; }
.config fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.config legend { margin-bottom: 8px; padding: 0; color: var(--muted); font-size: .84rem; font-weight: 700; }
.seg { position: relative; display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; padding: 5px; border-radius: 999px; background: var(--field); }
.seg input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; }
.seg label { padding: 10px 16px; border-radius: 999px; color: var(--text); font-size: .94rem; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.seg input:checked + label { background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc-note { margin: 0; }
.config-result { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 12px; background: var(--pastel); }
.res-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.res-row span { font-weight: 700; }
.res-row small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.res-row strong { font-size: 1.7rem; letter-spacing: -.02em; white-space: nowrap; }
.res-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
.res-total span { color: var(--muted); font-size: .9rem; }
.res-total strong { font-size: 1.4rem; white-space: nowrap; }
.config-result .fine { margin: 0; }
.config-cta { margin: 4px 0 0; }

/* The full grid: creation (one-off) and monthly fees in two labelled groups; the launch price is the only creation price shown. */
.offer-grids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 18px; }
.offer-grid h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.price-table { width: 100%; min-width: 20rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.price-table th[scope="row"], .price-table thead th:first-child { text-align: left; white-space: normal; }
.price-table thead th { background: var(--pastel); color: var(--text); font-size: .88rem; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.duration-note { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; }
.price-grid thead .head-groups th { padding-top: 9px; padding-bottom: 9px; font-size: .9rem; text-align: center; }
.price-grid thead .head-groups th:first-child { text-align: left; vertical-align: bottom; }
.price-grid .group-creation { background: var(--primary); color: var(--on-primary); vertical-align: middle; }
.price-grid .group-monthly { background: var(--status-neutral-bg); color: var(--status-neutral-text); border-left: 2px solid var(--card); }
.group-note { display: block; font-size: .74rem; font-weight: 600; opacity: .95; }
.price-grid thead tr:last-child th .group-note { color: var(--muted); }
.price-grid .col-monthly-first, .price-grid .cell-monthly-first { border-left: 2px solid var(--line); }
.grid-lead { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }
.grid-lead strong { color: var(--primary); }
.price-grid tbody th[scope="row"] { vertical-align: middle; }
.duration-name { font-weight: 800; }
.price-grid .cell-creation { background: var(--pastel); }
.price-grid .cell-creation strong { display: block; color: var(--primary); font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; }
.price-grid .cell-monthly { color: var(--text); font-weight: 700; }
.totals { margin-top: 12px; }
.totals summary { cursor: pointer; color: var(--link); font-weight: 700; }
.totals[open] summary { margin-bottom: 10px; }
.totals .note { margin: 10px 0 0; }

/* Hosting (the guarantor's request of 11 November 2026): a plain title, the letter of the quote, one yearly price and,
   below it, its spreading over twelve months. */
.hosting { margin-top: 26px; }
.hosting .plan { padding: 26px 24px; border-radius: 14px; }
.hosting .plan h3 { font-size: 1.2rem; line-height: 1.3; }
.hosting-tag { margin: -4px 0 4px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.hosting .offer-price { font-size: 2rem; }
.hosting .offer-price-text { font-size: 1.3rem; letter-spacing: -.01em; }
.hosting-spread { margin: 0; color: var(--text); font-size: .92rem; font-weight: 600; }
.hosting-note { margin: auto 0 0; color: var(--muted); font-size: .9rem; }

/* Conditions: a section without the script, a dialog with it (assets/site.js). */
.conditions { padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.conditions h2 { margin: 6px 0 4px; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.conditions h3 { margin: 22px 0 10px; font-size: 1.05rem; }
.conditions > p:not(.kicker) { color: var(--muted); font-size: .95rem; }
.launch-terms li { color: var(--muted); font-size: .95rem; }
.terms { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.terms div { padding: 18px 20px; border-radius: 12px; background: var(--pastel); }
.terms dt { margin: 0 0 6px; font-weight: 800; }
.terms dd { margin: 0; color: var(--muted); }
.modal { width: calc(100% - 32px); max-width: 680px; max-height: 85vh; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--text); box-shadow: 0 24px 60px var(--shadow); }
.modal[open] { display: flex; flex-direction: column; animation: pop .2s ease; }
.modal::backdrop { background: rgba(8, 12, 28, .45); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.modal .conditions { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 32px 32px 26px; border: 0; border-radius: 0; background: transparent; }
.modal .conditions > .kicker, .modal .conditions > h2 { padding-right: 52px; }
.modal .terms { grid-template-columns: minmax(0, 1fr); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--pastel); }

/* Ownership and the questions */
.own { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.own-main, .own-detail { padding: 30px; border-radius: 16px; }
.own-main { background: var(--pastel); }
.own-detail { border: 1px solid var(--line); background: var(--card); }
.own-main h2 { margin: 0; }
.own-main .lead { margin: 16px 0; font-size: 1.1rem; }
.own-detail h3 { margin: 0 0 12px; }
.own-detail .ticks + h3 { margin-top: 22px; }
.own-detail p { color: var(--muted); }
.faq { display: grid; gap: 10px; max-width: 52rem; margin-top: 28px; }
.faq-item { padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.faq-item summary { padding: 16px 0; cursor: pointer; font-weight: 700; list-style-position: inside; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { margin: 14px 0 18px; color: var(--muted); }
#titre-plus-loin { margin-top: 36px; }

@media (max-width: 1060px) {
  .steps.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gets, .plans, .subs, .config, .own, .offer-grids, .terms { grid-template-columns: minmax(0, 1fr); }
  .advice { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "sum" "cta"; grid-template-rows: auto; }
}

@media (max-width: 760px) {
  /* The four columns fit a phone: tighter cells, headings on two lines. */
  .price-table th, .price-table td { padding: 8px 6px; font-size: .86rem; }
  .price-table thead th { white-space: normal; }
  .price-grid .cell-creation strong { font-size: 1rem; }
  .group-note { font-size: .7rem; }
}

@media (max-width: 640px) {
  .ex-grid, .steps.steps-4 { grid-template-columns: minmax(0, 1fr); }
  .plan, .sub, .get, .own-main, .own-detail, .conditions { padding: 22px; }
  .fold > summary { padding: 16px 48px 16px 18px; }
  .fold-body { padding: 18px; }
  .seg { width: 100%; border-radius: 18px; }
  /* « Sans engagement » on its own row, the three durations under it. */
  .seg-4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg-4 label:first-of-type { grid-column: 1 / -1; }
  .seg label { padding: 9px 6px; font-size: .86rem; text-align: center; }
  .config-result { padding: 18px; }
  .offer-price { font-size: 2.1rem; }
  .modal .conditions { padding: 28px 20px 22px; }
  .advice { padding: 30px 20px 22px; }
  .advice .offer-flag { left: 20px; }
  .advice-copy h3 { font-size: 1.25rem; }
  .advice-rows { padding: 2px 16px; }
  .advice-rows > div { padding: 10px 0; }
  .advice-rows dd { font-size: 1.15rem; }
  /* The total's label takes its own line when the amount needs the room. */
  .advice-rows .advice-total { flex-wrap: wrap; row-gap: 2px; }
  .advice-total dt { flex: 1 1 12rem; }
  .advice-total dd { margin-left: auto; font-size: 1.6rem; }
  .advice-cta .btn { width: 100%; }
  /* Hosting, shorter on a phone (2026-11-06): A, B and C keep their order; what the fold's intro already says, or why C
     needs a subscription, waits for a wider screen. The text stays in the page. */
  .hosting .plan { gap: 6px; padding: 22px 18px; }
  .hosting .offer-price { font-size: 1.8rem; }
  .hosting .offer-price-text { font-size: 1.2rem; }
  .hosting .plan .ticks { margin: 6px 0 4px; font-size: .92rem; }
  .hosting .wide-only { display: none; }
}

/* No lift, no animation: the shared rule of site.css stops them; this page's own transitions stop here too. */
@media (prefers-reduced-motion: reduce) {
  .seg label, .fold > summary::after { transition: none; }
  .modal[open] { animation: none; }
}
