:root {
  color-scheme: light;
  --canvas: #f7f3ea;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --ink: #17372d;
  --ink-soft: #315348;
  --forest: #1f5b49;
  --forest-deep: #154536;
  --sage: #dce8df;
  --sage-light: #edf3ee;
  --coral: #f06b52;
  --coral-soft: #fbe3dc;
  --sun: #efbd66;
  --line: #d4ddd5;
  --muted: #66766f;
  --danger: #b74444;
  --shadow-sm: 0 10px 28px rgba(27, 68, 54, .07);
  --shadow-lg: 0 28px 80px rgba(27, 68, 54, .12);
  font-family: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Fenêtres de confirmation cohérentes avec l’identité Notre Cercle. */
.nc-modal { width: min(520px, calc(100vw - 28px)); border: 0; background: transparent; padding: 0; color: var(--ink); }
.nc-modal::backdrop { background: rgba(13, 38, 30, .66); backdrop-filter: blur(4px); }
.nc-modal-card { display: grid; gap: 16px; border: 1px solid var(--line); border-top: 4px solid var(--coral); border-radius: 20px; background: var(--paper); padding: 26px; box-shadow: 0 28px 90px rgba(13, 38, 30, .3); }
.nc-modal-card h2, .nc-modal-card p { margin: 0; }
.nc-modal-eyebrow { color: var(--forest); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.nc-modal-message { white-space: pre-line; color: var(--muted); line-height: 1.55; }
.nc-modal-input { width: 100%; }
.nc-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.nc-modal-actions button { width: auto; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); }
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 88% 12%, rgba(239, 189, 102, .16), transparent 27rem), radial-gradient(circle at 6% 42%, rgba(31, 91, 73, .08), transparent 32rem); content: ""; pointer-events: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: var(--forest); }
.text-link { color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link { position: relative; display: inline-flex; align-items: center; min-height: 36px; }
.text-link.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--coral); content: ""; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--forest); border-radius: 10px; background: var(--forest); color: #fff; padding: 11px 17px; font-weight: 750; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.button-link.secondary { background: transparent; color: var(--forest); }
.button-link.compact { min-height: 40px; padding-block: 8px; }
.button-link:hover { border-color: var(--forest-deep); background: var(--forest-deep); box-shadow: 0 8px 20px rgba(21,69,54,.14); }
.button-link.secondary:hover { background: var(--sage-light); box-shadow: none; }
.button-link:active, button:active { transform: translateY(1px); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid rgba(240,107,82,.4); outline-offset: 3px; }

.topbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; border-bottom: 1px solid rgba(31, 91, 73, .12); padding: 10px max(24px, calc((100vw - 1180px) / 2)); background: rgba(255, 253, 248, .9); backdrop-filter: blur(20px); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 780; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-strong); box-shadow: var(--shadow-sm); }
.brand-mark img { width: 34px; height: 34px; }
.brand-name { font-size: 17px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 1px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.topbar-trust { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; font-weight: 650; }
.topbar-trust span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-trust i, .auth-assurance i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--sage); }
.session { display: flex; align-items: center; justify-self: end; gap: 16px; color: var(--muted); font-size: 13px; }
.session-account-link { color: inherit; text-decoration: none; }
.session-account-link:hover { color: var(--ink); text-decoration: underline; }
.text-button { min-height: auto; padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: var(--ink); }
.text-button:hover { border-color: var(--ink); }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 108px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(410px, .87fr); align-items: center; gap: clamp(52px, 8vw, 110px); min-height: 520px; }
.eyebrow { margin: 0 0 12px; color: var(--forest); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px, 6.7vw, 82px); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
h1 em { color: var(--forest); font-weight: 500; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }
.lead { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-promises span { border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, .7); color: var(--ink-soft); padding: 8px 12px; font-size: 12px; font-weight: 650; }

.circle-visual { position: relative; display: grid; place-items: center; width: min(100%, 470px); aspect-ratio: 1; margin-left: auto; }
.orbit { position: absolute; border: 1px solid rgba(31, 91, 73, .18); border-radius: 50%; }
.orbit-outer { inset: 0; border-style: dashed; animation: orbit 50s linear infinite; }
.orbit-inner { inset: 17%; border-color: rgba(240, 107, 82, .24); }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit-outer { animation: none; } }
.circle-core { position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; justify-content: center; width: 52%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-strong); box-shadow: var(--shadow-lg); text-align: center; }
.circle-core::after { position: absolute; inset: 10px; border: 1px solid var(--sage); border-radius: inherit; content: ""; }
.circle-core img { position: relative; z-index: 1; width: 62px; }
.circle-core strong { position: relative; z-index: 1; margin-top: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.circle-core span { position: relative; z-index: 1; max-width: 150px; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.orbit-label { position: absolute; z-index: 3; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-strong); padding: 10px 15px; box-shadow: var(--shadow-sm); color: var(--ink); font-size: 12px; font-weight: 750; }
.label-files { top: 8%; left: 6%; }
.label-notes { top: 38%; right: -2%; }
.label-send { bottom: 8%; left: 15%; }

.product-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 58px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-strip article { display: flex; gap: 18px; min-height: 132px; padding: 30px; border-right: 1px solid var(--line); }
.product-strip article:first-child { padding-left: 0; }
.product-strip article:last-child { border-right: 0; }
.product-strip article > span { color: var(--coral); font-family: Georgia, serif; font-size: 14px; }
.product-strip strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.product-strip p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.notice { display: flex; align-items: flex-start; gap: 14px; margin: 26px 0 34px; border: 1px solid #ead5a7; border-radius: 14px; background: #fff7e5; padding: 16px 18px; }
.notice-icon { display: grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: Georgia, serif; font-weight: 700; }
.notice strong { font-size: 13px; }
.notice p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.auth-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(36px, 6vw, 74px); margin-top: 70px; padding: 62px; border-radius: 28px; background: var(--ink); color: var(--paper); overflow: hidden; }
.auth-intro > p:not(.eyebrow) { color: #c0cdc8; line-height: 1.65; }
.auth-section .eyebrow { color: #a8d2bd; }
.auth-section h2 { color: white; }
.auth-assurance { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.auth-assurance i { background: #a8d2bd; box-shadow: 0 0 0 5px rgba(168, 210, 189, .13); }
.auth-assurance span { display: grid; gap: 2px; }
.auth-assurance small { color: #9eb0a9; }
.auth-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { padding: 28px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: var(--paper-strong); color: var(--ink); box-shadow: 0 24px 50px rgba(0, 0, 0, .15); }
.muted-panel { background: #eef2ed; }
.form-kicker { min-height: 18px; margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
label { display: grid; gap: 7px; margin: 18px 0; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.legal-check { grid-template-columns: auto 1fr; align-items: start; line-height: 1.45; }
.legal-check input { width: 18px; min-height: 18px; margin: 1px 0 0; }
.legal-check a, footer a { color: inherit; }
input, select, textarea { width: 100%; min-height: 47px; border: 1px solid #c7d2ca; border-radius: 10px; background: #fff; color: var(--ink); padding: 12px 13px; outline: none; }
select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input::placeholder { color: #94a099; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 91, 73, .12); }
button { min-height: 46px; border: 1px solid var(--forest); border-radius: 10px; background: var(--forest); color: white; padding: 11px 17px; font-weight: 750; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
button:hover { border-color: var(--forest-deep); background: var(--forest-deep); }
button.secondary { border-color: #bccbc1; background: transparent; color: var(--forest-deep); }
button.secondary:hover { background: white; }
button.danger { border-color: #e3bcbc; background: #fff2ef; color: var(--danger); }
button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.panel > button { width: 100%; }
.form-status { min-height: 18px; margin: 12px 0 0; color: var(--danger); font-size: 12px; }
.form-status.success { color: var(--forest); }
.account-main { display: grid; place-items: center; min-height: calc(100vh - 76px); padding-block: 48px; }
.account-card { width: min(520px, 100%); }
.account-card > p { color: var(--muted); line-height: 1.55; }
.account-card h2 { margin-bottom: 20px; }
.account-card label small { color: var(--muted); font-weight: 500; }
.test-box { margin-top: 16px; border: 1px solid #ead5a7; border-radius: 10px; background: #fff7e5; padding: 13px; font-size: 13px; line-height: 1.5; }
.page-title { font-size: clamp(42px, 6vw, 68px); }
.lead.compact { max-width: 620px; margin-top: 14px; }
.first-heading { align-items: center; margin-top: 0; }
.create-main { width: min(880px, calc(100% - 40px)); }
.builder { display: grid; gap: 14px; margin-top: 36px; }
.builder-card { padding: 34px; }
.builder-intro { max-width: 680px; margin: 10px 0 22px; color: var(--muted); line-height: 1.55; }
.offer-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 18px; }
.offer-preset { display: grid; align-content: start; gap: 7px; min-height: 190px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); padding: 18px; text-align: left; text-decoration: none; }
.offer-preset:hover { border-color: var(--forest); background: var(--sage-light); color: var(--ink); }
.offer-preset.active { border-color: var(--forest); background: var(--sage-light); box-shadow: inset 0 0 0 1px var(--forest); }
.offer-name { color: var(--forest); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.offer-preset > strong { margin-top: 5px; font-family: Georgia,serif; font-size: 23px; font-weight: 500; line-height: 1.05; }
.offer-preset > strong small { margin-left: 3px; color: var(--muted); font-family: inherit; font-size: 10px; }
.offer-preset > span:not(.offer-name) { color: var(--ink-soft); font-size: 11px; font-weight: 750; }
.offer-preset p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.offer-contact { border-style: dashed; background: #fff9ef; }
.custom-offer { margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.55); padding: 0 16px; }
.custom-offer summary { padding: 14px 0; color: var(--forest); font-size: 12px; font-weight: 800; cursor: pointer; }
.custom-offer .choice-grid { border-top: 1px solid var(--line); }
.checkout-summary { margin: 18px 0 24px; border-left: 4px solid var(--forest); border-radius: 8px; background: #edf4ef; padding: 15px 18px; font-weight: 750; line-height: 1.55; }
.checkout-notice { border-radius: 8px; background: #fff4df; padding: 12px 15px; color: #79511f; font-size: 13px; }
#businessFields { display: grid; gap: 14px; }
#businessFields[hidden] { display: none; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.builder fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; border: 0; padding: 0; }
.builder legend { grid-column: 1 / -1; margin-bottom: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.radio-choice { display: grid; grid-template-columns: auto 1fr; align-items: center; margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.radio-choice input { width: 18px; min-height: 18px; }
.radio-choice span { display: grid; gap: 3px; }
.radio-choice small { color: var(--muted); }
.quote { display: grid; grid-template-columns: 1fr auto; align-items: center; margin: 22px 0; border-radius: 14px; background: var(--sage-light); padding: 20px; }
.quote > span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.quote strong { font-family: Georgia, serif; font-size: 34px; }
.quote small { grid-column: 1 / -1; margin-top: 5px; color: var(--muted); }
.slug-field { display: flex; align-items: center; border: 1px solid #c7d2ca; border-radius: 10px; background: #fff; overflow: hidden; }
.slug-field input { border: 0; box-shadow: none; }
.slug-field span { padding-right: 13px; color: var(--muted); white-space: nowrap; }
.hard-delete { border-style: dashed !important; }

.dashboard-welcome { max-width: 760px; margin-top: 22px; }
.dashboard-welcome > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.6; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 60px 0 20px; }
.section-heading h2 { font-size: 36px; }
.simulation-badge, .live-indicator { border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, .7); color: var(--muted); padding: 8px 12px; font-size: 11px; }
.live-indicator i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--sage); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; min-height: 330px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden; }
.plan::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--sage); content: ""; }
.plan:nth-child(2)::before { background: var(--coral); }
.plan:nth-child(2) { border-color: #eeb2a3; transform: translateY(-8px); }
.plan h3 { margin: 4px 0 12px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.plan p { color: var(--muted); line-height: 1.55; }
.plan .price { font-family: Georgia, serif; font-size: 39px; letter-spacing: -.04em; }
.plan .price small { color: var(--muted); font-family: inherit; font-size: 12px; letter-spacing: 0; }
.plan .capacity { margin-bottom: auto; color: var(--forest); font-size: 12px; font-weight: 700; }
.plan button { margin-top: 24px; }
.deployments { display: grid; gap: 14px; }
.deployment { display: grid; grid-template-columns: 1fr auto; gap: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); padding: 24px; box-shadow: var(--shadow-sm); }
.deployment h3 { margin: 9px 0 7px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.deployment p { margin: 5px 0; color: var(--muted); font-size: 13px; }
.deployment-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; max-width: 460px; }
.deployment a { color: var(--forest); font-size: 13px; font-weight: 750; text-decoration: none; }
.deployment a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; border-radius: 999px; background: var(--sage-light); color: var(--muted); padding: 5px 9px; font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.status.ready { background: var(--sage); color: var(--forest-deep); }
.status.failed { background: var(--coral-soft); color: var(--danger); }
.empty { border: 1px dashed #afbeb4; border-radius: 17px; background: rgba(255, 253, 248, .45); padding: 38px; color: var(--muted); text-align: center; }
.empty-state { display: grid; justify-items: center; gap: 9px; padding: 54px 28px; }
.empty-state strong { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.empty-state p { max-width: 520px; margin: 0; line-height: 1.55; }
.empty-state .button-link { margin-top: 8px; }

footer { display: flex; align-items: center; gap: 24px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; border-top: 1px solid var(--line); padding: 28px 0 42px; color: var(--muted); font-size: 12px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-brand { gap: 8px; }
footer p { margin: 0 auto 0 0; }

dialog { width: min(640px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 22px; background: var(--paper); color: var(--ink); padding: 0; box-shadow: 0 35px 110px rgba(12, 41, 31, .35); }
dialog::backdrop { background: rgba(12, 35, 28, .62); backdrop-filter: blur(7px); }
.credential-panel { position: relative; padding: 34px; }
.credential-panel > p:not(.eyebrow) { color: var(--muted); }
.dialog-close { position: absolute; top: 17px; right: 17px; min-height: 36px; border: 0; background: none; color: var(--muted); padding: 2px 10px; font-size: 24px; }
.dialog-close:hover { background: var(--sage-light); color: var(--ink); }
.credential-block { margin: 16px 0; border: 1px solid var(--line); border-radius: 13px; background: var(--sage-light); padding: 16px; }
.credential-block code { display: block; margin-top: 7px; color: var(--forest-deep); overflow-wrap: anywhere; }
.credential-value { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px; }
.credential-value code, .credential-value a { min-width: 0; margin: 0; color: var(--forest-deep); overflow-wrap: anywhere; }
.copy-small { min-height: 32px; flex: 0 0 auto; padding: 6px 10px; font-size: 11px; }
.input-suffix { display: flex; align-items: stretch; border: 1px solid #c7d2ca; border-radius: 10px; background: #fff; overflow: hidden; }
.input-suffix input { border: 0; border-radius: 0; box-shadow: none; }
.input-suffix span { display: grid; place-items: center; min-width: 48px; border-left: 1px solid var(--line); background: var(--sage-light); color: var(--ink-soft); font-weight: 800; }
.choice-grid > label { grid-template-rows: auto 49px 18px; align-content: start; }
.service-explainer { max-width: 820px; margin: 48px auto; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 34px; text-align: center; box-shadow: var(--shadow-sm); }
.service-explainer p:last-child { margin: 16px auto 0; color: var(--muted); line-height: 1.65; }
.hard-delete { align-self: flex-end; margin-left: auto; }
.secure-prompt { display: grid; gap: 16px; }
.secure-prompt label { margin: 0; }
.secure-prompt-actions { display: flex; justify-content: flex-end; gap: 9px; }
.account-topbar { grid-template-columns: max-content minmax(420px, 1fr) max-content; }
.account-nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.account-topbar + main { padding-top: 36px; }
.first-heading h1 { font-size: clamp(42px, 5vw, 58px); }
.first-heading .lead { margin-top: 14px; }
.service-grid { gap: 10px; margin-top: 24px; }
.service-card { position: relative; display: grid; grid-template-columns: minmax(210px, 1.2fr) minmax(360px, 1.8fr) max-content max-content; align-items: center; gap: 24px; min-height: 82px; border-radius: 14px; padding: 13px 16px 13px 21px; overflow: hidden; box-shadow: 0 7px 20px rgba(18, 49, 39, .05); }
.service-card::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--forest); content: ""; }
.service-card.service-deleting::before, .service-card.service-deleted::before { background: #aab6af; }
.service-card-head { min-width: 0; }
.service-identity { display: grid; min-width: 0; gap: 3px; }
.service-title-line { display: flex; align-items: center; gap: 9px; min-width: 0; }
.service-card h3 { margin: 0; min-width: 0; font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-title-line .status { flex: 0 0 auto; padding: 3px 7px; font-size: 8px; }
.service-domain { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; color: var(--ink-soft); font-size: 12px; }
.service-summary span { display: inline-flex; align-items: center; white-space: nowrap; }
.service-summary span:not(:last-child)::after { margin: 0 9px; color: #a9b6af; content: "·"; }
.service-renewal { display: grid; gap: 2px; min-width: 112px; }
.service-renewal span { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.service-renewal strong { font-size: 13px; }
.service-primary-actions { display: flex; align-items: center; gap: 8px; }
.service-primary-actions > * { display: inline-flex; align-items: center; justify-content: center; min-width: 106px; min-height: 36px; border-radius: 8px; padding: 7px 11px; font-size: 11px; }
.service-open { border: 1px solid var(--forest); background: var(--forest); color: white !important; }
.service-open:hover { background: var(--forest-deep); text-decoration: none !important; }
.service-manage-button { min-width: 92px; }
.manage-panel { padding-bottom: 28px; }
.manage-panel > #manageSubtitle { margin: 7px 0 22px; overflow-wrap: anywhere; }
.manage-content { display: grid; border-top: 1px solid var(--line); }
.manage-row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 17px 0; }
.manage-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.manage-row button { min-width: 120px; }
.manage-advanced { margin-top: 16px; border: 1px solid #ead3cf; border-radius: 12px; background: #fff8f6; padding: 13px 15px; }
.manage-advanced summary { color: var(--danger); font-size: 11px; font-weight: 750; cursor: pointer; }
.manage-advanced p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.manage-advanced button { width: 100%; }
.quote-inline { border-radius: 10px; background: var(--sage-light); padding: 13px; color: var(--forest-deep) !important; font-weight: 750; }
.commerce-list { display: grid; gap: 12px; margin-top: 24px; }
.commerce-card { display: grid; grid-template-columns: minmax(0, 1fr) max-content max-content; align-items: center; gap: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.commerce-card p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.commerce-amount { color: var(--forest-deep); font-size: 19px; }
.settings-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 18px; margin-top: 28px; }
.settings-summary { align-self: start; }
.settings-summary dl { margin: 24px 0 0; }
.settings-summary div { display: grid; gap: 5px; border-top: 1px solid var(--line); padding: 15px 0; }
.settings-summary dt { color: var(--muted); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.settings-summary dd { margin: 0; overflow-wrap: anywhere; }
.settings-form { display: grid; align-content: start; }
.settings-form button { justify-self: start; }

/* Présentation publique : davantage de preuves produit, avec une hiérarchie éditoriale stable. */
.feature-section { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: clamp(44px,7vw,92px); margin: 108px 0; }
.feature-heading { align-self: start; position: sticky; top: 112px; }
.feature-heading > p:last-child { margin: 22px 0 0; color: var(--muted); line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 210px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.58); padding: 28px; }
.feature-number { color: var(--coral); font-family: Georgia,serif; font-size: 13px; }
.feature-grid h3 { margin-top: 35px; font-family: Georgia,serif; font-weight: 500; }
.feature-grid p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.trust-section { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: clamp(40px,7vw,90px); margin: 90px 0; border-radius: 24px; background: var(--ink); color: white; padding: clamp(34px,5vw,64px); box-shadow: var(--shadow-lg); }
.trust-section .eyebrow { color: #a8d2bd; }
.trust-section h2 { color: white; }
.trust-points { display: grid; }
.trust-points article { border-top: 1px solid rgba(255,255,255,.16); padding: 20px 0; }
.trust-points article:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.trust-points strong { font-size: 16px; }
.trust-points p { margin: 6px 0 0; color: #bdcbc6; font-size: 13px; line-height: 1.55; }
.faq-section { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: clamp(38px,7vw,90px); margin: 100px 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: var(--ink); font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { color: var(--coral); font-size: 22px; font-weight: 400; content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -5px 36px 22px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin: 90px 0 36px; border: 1px solid var(--line); border-top: 4px solid var(--coral); border-radius: 22px; background: var(--paper); padding: clamp(28px,5vw,52px); box-shadow: var(--shadow-sm); }
.final-cta h2 { font-size: clamp(30px,3.5vw,42px); }
.final-cta p:last-child { margin: 12px 0 0; color: var(--muted); }
.final-cta .button-link { flex: 0 0 auto; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--forest); }
.checkout-steps { display: grid; grid-template-columns: repeat(3,1fr); margin: 34px 0 0; padding: 0; list-style: none; }
.checkout-steps li { display: flex; align-items: center; gap: 9px; border-bottom: 2px solid var(--line); padding: 0 0 13px; color: var(--muted); font-size: 12px; font-weight: 750; }
.checkout-steps li span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--sage-light); font-size: 10px; }
.checkout-steps li.active { border-color: var(--coral); color: var(--ink); }
.checkout-steps li.active span { background: var(--forest); color: white; }
.quote.loading strong { color: var(--muted); font-family: inherit; font-size: 15px; }
.load-error { border: 1px solid #e6b8b2; border-radius: 12px; background: #fff4f1; padding: 18px; color: var(--danger); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-trust { display: none; }
  .hero { grid-template-columns: 1fr; }
  .circle-visual { width: min(480px, 90vw); margin: 0 auto; }
  .product-strip { grid-template-columns: 1fr; }
  .product-strip article, .product-strip article:first-child { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .product-strip article:last-child { border-bottom: 0; }
  .auth-section { grid-template-columns: 1fr; padding: 42px; }
  .plans { grid-template-columns: 1fr; }
  .plan:nth-child(2) { transform: none; }
  .account-topbar { grid-template-columns: 1fr auto; }
  .account-nav { justify-content: flex-start; order: 3; grid-column: 1 / -1; overflow-x: auto; }
  .service-card { grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.4fr) max-content; gap: 16px; }
  .service-renewal { display: none; }
  .commerce-card { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .feature-section, .trust-section, .faq-section { grid-template-columns: 1fr; }
  .offer-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-heading { position: static; }
  .service-card .deployment-actions { grid-template-columns: 1fr; }
  .service-card .hard-delete { grid-column: auto; }
}

@media (max-width: 650px) {
  .topbar { padding-inline: 18px; }
  .session > span, #sessionEmail { display: none; }
  .session { gap: 10px; }
  .account-topbar { grid-template-columns: minmax(0, 1fr) max-content; }
  .account-nav { width: 100%; padding-bottom: 2px; }
  .account-nav .text-link { flex: 0 0 auto; }
  .brand-name { font-size: 15px; }
  main { width: min(100% - 28px, 1180px); padding-top: 46px; }
  h1 { font-size: 48px; }
  .hero { min-height: auto; gap: 32px; }
  .circle-visual { width: 100%; }
  .auth-section { margin-right: -4px; margin-left: -4px; padding: 28px 20px; }
  .auth-cards { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .deployment { grid-template-columns: 1fr; }
  .deployment-actions { align-items: stretch; justify-content: flex-start; flex-direction: column; }
  .deployment-actions button { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  footer p { margin: 0; }
  .choice-grid, .builder fieldset { grid-template-columns: 1fr; }
  .builder-card { padding: 24px 18px; }
  .first-heading { align-items: flex-start; }
  .service-card { grid-template-columns: 1fr; gap: 11px; padding: 16px 16px 16px 20px; }
  .service-renewal { display: grid; }
  .service-primary-actions { width: 100%; }
  .service-primary-actions > * { flex: 1; min-width: 0; }
  .manage-row { grid-template-columns: 1fr; }
  .manage-row button { width: 100%; }
  .account-nav { display: flex; justify-content: flex-start; gap: 18px; width: calc(100vw - 36px); padding: 2px 0 6px; overflow-x: auto; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav .text-link { justify-content: center; flex: 0 0 auto; min-height: 34px; font-size: 12px; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .final-cta { align-items: stretch; flex-direction: column; }
  .checkout-steps li { align-items: flex-start; flex-direction: column; gap: 5px; font-size: 10px; }
  .offer-presets { grid-template-columns: 1fr; }
  .offer-preset { min-height: 0; }
}
