/* ErrCity Hosting — feuille de style unique du site.
   Non placée dans un @layer : elle prime sur les utilitaires Tailwind du thème. */

:root {
    color-scheme: dark;
    --ec-orange: hsl(41 97% 54%);
    --ec-on-sun: #201602;
    --ec-orange-dark: hsl(37 95% 50%);
    --ec-accent: hsl(44 100% 63%);
    --ec-orange-soft: hsl(41 30% 22%);
    --ec-bg: #232931;
    --ec-bg-alt: #2a313a;
    --ec-card: #343c46;
    --ec-deep: #1d2229;
    --ec-ink: #f3f4f2;
    --ec-text: #dde1e6;
    --ec-muted: #b9c0c9;
    --ec-gray: #3b444f;
    --ec-line: #485361;
    --ec-radius: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; }
#offres, #questions { scroll-margin-top: 80px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ec-orange); outline-offset: 2px; }

/* ── Structure ── */
.ec-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; width: 100%; box-sizing: border-box; }
.ec-wrap--narrow { max-width: 780px; }
.ec-section { padding: 88px 0; background: var(--ec-bg); color: var(--ec-ink); }
.ec-section--gray { background: var(--ec-bg-alt); }
.ec-section--tight { padding: 56px 0; }
.ec-section + .ec-section { border-top: 1px solid var(--ec-line); }

.ec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.ec-head--center { flex-direction: column; align-items: center; text-align: center; }
.ec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ec-accent); margin: 0 0 10px; }
.ec-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 850; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ec-ink); }
.ec-lead { font-size: 1rem; line-height: 1.7; color: var(--ec-muted); max-width: 420px; margin: 0; }

/* ── Boutons ── */
.ec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: .92rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; box-sizing: border-box; }
.ec-btn:hover { transform: translateY(-1px); }
.ec-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.ec-btn--primary { background: var(--ec-orange); color: #fff; box-shadow: 0 8px 24px -8px hsl(41 97% 54% / .6); }
.ec-btn--primary:hover { background: var(--ec-orange-dark); }
.ec-btn--dark { background: var(--ec-orange-soft); border-color: var(--ec-orange); color: #fff; }
.ec-btn--dark:hover { background: var(--ec-orange-dark); }
.ec-btn--line { border-color: var(--ec-line); background: transparent; color: var(--ec-ink); }
.ec-btn--line:hover { border-color: var(--ec-orange); color: var(--ec-accent); }
.ec-btn--glass { border-color: rgb(255 255 255 / .35); background: rgb(255 255 255 / .1); color: #fff; backdrop-filter: blur(8px); }
.ec-btn--glass:hover { background: rgb(255 255 255 / .2); }
.ec-btn--block { width: 100%; }
.ec-link { color: var(--ec-accent); font-weight: 700; text-decoration: none; }
.ec-link:hover { text-decoration: underline; }

/* Composants du thème Paymenter (compte, factures, panier…) */
.ec-ui-btn { border-radius: 999px; }

/* ── Bandeaux ── */
.ec-hero { position: relative; isolation: isolate; background: #1a1a1a url("mc-bg.jpg") center / cover no-repeat; color: #fff; text-align: center; padding: 112px 0 80px; }
.ec-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .44), rgb(0 0 0 / .36) 55%, rgb(0 0 0 / .52)); }
.ec-hero--small { padding: 64px 0 56px; }
.ec-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid hsl(41 97% 54% / .55); background: rgb(0 0 0 / .35); color: var(--ec-accent); border-radius: 999px; padding: 7px 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.ec-hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: 900; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 20px; text-wrap: balance; }
.ec-hero--small h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.ec-hero h1 em { font-style: normal; color: var(--ec-accent); }
.ec-hero p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; color: rgb(255 255 255 / .85); }
.ec-hero .ec-actions { margin-top: 34px; }
.ec-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.ec-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 56px auto 0; max-width: 820px; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--ec-radius); overflow: hidden; }
.ec-stats div { background: rgb(0 0 0 / .38); backdrop-filter: blur(10px); padding: 20px 10px; }
.ec-stats strong { display: block; font-size: 1.45rem; font-weight: 900; color: var(--ec-accent); }
.ec-stats span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .72); }

/* ── Grille des atouts ── */
.ec-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ec-feature { grid-column: span 2; background: var(--ec-card); border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 32px; }
.ec-feature--half { grid-column: span 3; padding: 40px; }
.ec-feature--wide { grid-column: span 4; background: var(--ec-orange-soft); border-color: hsl(41 97% 54% / .2); }
.ec-feature--dark { background: var(--ec-deep); border-color: hsl(41 97% 54% / .35); color: #fff; }
.ec-num { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1; color: var(--ec-orange); margin-bottom: 18px; }
.ec-feature h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 10px; }
.ec-feature p { font-size: .9rem; line-height: 1.7; color: var(--ec-text); margin: 0; }
.ec-feature--dark p { color: rgb(255 255 255 / .72); }

/* ── Offres ── */
.ec-offers { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 22px; }
.ec-offer { flex: 1 1 290px; max-width: 360px; display: flex; flex-direction: column; background: var(--ec-card); color: var(--ec-ink); border: 1px solid var(--ec-line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px -18px rgb(0 0 0 / .25); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ec-offer:hover { transform: translateY(-4px); border-color: hsl(41 97% 54% / .5); box-shadow: 0 22px 44px -20px hsl(41 97% 54% / .45); }
.ec-offer-top { position: relative; background: #1d1d1d url("mc-bg.jpg") center 70% / cover; min-height: 150px; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.ec-offer-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .25), rgb(0 0 0 / .8)); }
.ec-offer-top img.ec-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ec-offer-top h3 { color: #fff; font-size: 1.25rem; font-weight: 850; margin: 0; line-height: 1.25; }
.ec-offer-body { display: flex; flex-direction: column; gap: 18px; padding: 24px; flex: 1; }
.ec-price { font-size: 2.1rem; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.ec-price small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ec-muted); margin-bottom: 8px; }
.ec-desc { font-size: .9rem; line-height: 1.65; color: var(--ec-text); }
.ec-desc p { margin: 0 0 8px; }
.ec-desc ul { list-style: disc; padding-left: 18px; }
.ec-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .88rem; color: var(--ec-text); }
.ec-check li { position: relative; padding-left: 28px; line-height: 1.5; }
.ec-check li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--ec-orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f9b21a' stroke-width='3'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ec-offer-foot { margin-top: auto; display: grid; gap: 10px; }
.ec-tag { display: inline-block; width: fit-content; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; background: hsl(140 45% 14%); color: hsl(140 60% 70%); }
.ec-tag--off { background: hsl(0 45% 16%); color: hsl(0 85% 76%); }
.ec-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.ec-empty { text-align: center; border: 2px dashed var(--ec-line); border-radius: var(--ec-radius); padding: 56px 24px; background: var(--ec-card); color: var(--ec-ink); }
.ec-empty h2, .ec-empty h3 { font-size: 1.35rem; font-weight: 850; margin: 0 0 10px; }
.ec-empty p { color: var(--ec-muted); margin: 0 0 24px; }

/* ── Réassurance ── */
.ec-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ec-trust div { background: var(--ec-card); border: 1px solid var(--ec-line); border-left: 4px solid var(--ec-orange); border-radius: 12px; padding: 20px; }
.ec-trust strong { display: block; font-size: .92rem; margin-bottom: 5px; }
.ec-trust span { font-size: .82rem; line-height: 1.55; color: var(--ec-muted); }

/* ── FAQ ── */
.ec-faq { border-top: 1px solid var(--ec-line); }
.ec-faq details { border-bottom: 1px solid var(--ec-line); }
.ec-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px 0; font-weight: 700; font-size: .98rem; cursor: pointer; list-style: none; }
.ec-faq summary::-webkit-details-marker { display: none; }
.ec-faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--ec-orange); }
.ec-faq details[open] summary::after { content: "−"; }
.ec-faq p { margin: 0; padding: 0 0 22px; font-size: .92rem; line-height: 1.75; color: var(--ec-text); }

/* ── Fiche produit, panier, commande ── */
.ec-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ec-stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.ec-panel { background: var(--ec-card); color: var(--ec-ink); border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 28px; }
.ec-panel h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 16px; }
.ec-panel img.ec-media { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.ec-aside { position: sticky; top: 88px; display: grid; gap: 14px; }
.ec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .94rem; }
.ec-row--total { border-top: 1px solid var(--ec-line); padding-top: 14px; font-size: 1.2rem; font-weight: 900; }
.ec-note { font-size: .82rem; line-height: 1.6; color: var(--ec-muted); margin: 0; text-align: center; }
.ec-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--ec-muted); margin-bottom: 24px; }
.ec-crumbs a { color: inherit; text-decoration: none; }
.ec-crumbs a:hover { color: var(--ec-accent); }
.ec-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.ec-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ec-item-actions button { width: auto; }

/* ── Connexion / inscription ── */
.ec-auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 1040px; width: calc(100% - 48px); margin: 56px auto 0; border: 1px solid var(--ec-line); border-radius: 24px; overflow: hidden; background: var(--ec-card); color: var(--ec-ink); box-shadow: 0 24px 60px -32px rgb(0 0 0 / .35); }
.ec-auth-side { position: relative; isolation: isolate; background: #1d1d1d url("mc-bg.jpg") center / cover; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.ec-auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .35), rgb(0 0 0 / .82)); }
.ec-auth-side h2 { font-size: 1.8rem; font-weight: 900; line-height: 1.15; margin: 0; }
.ec-auth-side .ec-check { color: rgb(255 255 255 / .9); }
.ec-auth-form { display: flex; flex-direction: column; gap: 14px; padding: 48px; }
.ec-auth-form h1 { font-size: 1.6rem; font-weight: 850; margin: 0 0 10px; }
.ec-auth--single { grid-template-columns: 1fr; max-width: 500px; }

/* ── Contact ── */
.ec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ec-card { display: flex; flex-direction: column; gap: 12px; background: var(--ec-card); border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 30px; }
.ec-card h2 { font-size: 1.1rem; font-weight: 800; margin: 0; }
.ec-card p { font-size: .9rem; line-height: 1.65; color: var(--ec-text); margin: 0; flex: 1; }

/* ── Pages juridiques ── */
.ec-prose { display: grid; gap: 30px; background: var(--ec-card); color: var(--ec-text); border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 40px; font-size: .93rem; line-height: 1.8; overflow-wrap: break-word; }
.ec-prose h2 { color: var(--ec-ink); font-size: 1.08rem; font-weight: 800; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ec-orange); }
.ec-prose p { margin: 0 0 10px; }
.ec-prose p:last-child { margin-bottom: 0; }
.ec-prose ul { list-style: disc; padding-left: 20px; margin: 0; }
.ec-prose a { color: var(--ec-accent); font-weight: 600; }
.ec-table { overflow-x: auto; }
.ec-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .84rem; }
.ec-table th, .ec-table td { border: 1px solid var(--ec-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.ec-table th { background: var(--ec-gray); color: var(--ec-ink); }
.ec-box { background: var(--ec-orange-soft); border: 1px solid hsl(41 97% 54% / .25); border-radius: 12px; padding: 22px; }

/* ── En-tête et pied de page ── */
.ec-brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
.ec-nav-phone { display: none; align-items: center; margin-right: 14px; font-size: .88rem; font-weight: 800; color: var(--ec-accent); white-space: nowrap; text-decoration: none; }
.ec-footer { border-top: 1px solid var(--ec-line); background: var(--ec-deep); color: rgb(255 255 255 / .72); font-size: .88rem; }
.ec-footer a { color: rgb(255 255 255 / .72); text-decoration: none; }
.ec-footer a:hover { color: #fff; }
.ec-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.ec-footer h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.ec-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ec-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.2rem; font-weight: 850; margin-bottom: 16px; }
.ec-footer p { line-height: 1.7; margin: 0 0 16px; max-width: 320px; }
.ec-footer a.ec-footer-phone { font-size: 1.25rem; font-weight: 900; color: var(--ec-accent); }
.ec-footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); }
.ec-footer-bottom > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 22px; padding-bottom: 22px; font-size: .8rem; }
.ec-footer-bottom p { max-width: none; margin: 0; }

@media (min-width: 1180px) { .ec-nav-phone { display: inline-flex; } }

@media (max-width: 900px) {
    .ec-feature, .ec-feature--wide { grid-column: span 3; }
    .ec-feature--half { grid-column: span 6; }
    .ec-cards { grid-template-columns: 1fr; }
    .ec-split { grid-template-columns: 1fr; }
    .ec-aside { position: static; }
    .ec-auth { grid-template-columns: 1fr; }
    .ec-auth-side { display: none; }
    .ec-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .ec-wrap { padding-inline: 18px; }
    .ec-section { padding: 60px 0; }
    .ec-hero { padding: 72px 0 52px; }
    .ec-stats strong { font-size: 1.1rem; }
    .ec-stats div { padding: 16px 6px; }
    .ec-stats span { font-size: 10px; letter-spacing: .03em; }
    .ec-feature, .ec-feature--half, .ec-feature--wide { grid-column: span 6; padding: 28px; }
    .ec-offer { flex-basis: 100%; max-width: none; }
    .ec-actions .ec-btn { width: 100%; }
    .ec-panel, .ec-prose, .ec-auth-form { padding: 24px; }
    .ec-auth { width: calc(100% - 28px); margin-top: 28px; }
    .ec-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ec-btn, .ec-offer { transition: none; }
}

/* ── Icônes pixel ── */
.ec-icon { width: 52px; height: 52px; object-fit: contain; image-rendering: pixelated; margin-bottom: 20px; }
.ec-icon--sm { width: 34px; height: 34px; margin: 0; }
img.ec-brand-mark { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 6px; }
.ec-price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

/* ── Hébergeur français ── */
.ec-flag { display: inline-block; width: 20px; height: 13px; border-radius: 2px; flex-shrink: 0; background: linear-gradient(90deg, #0055a4 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); box-shadow: 0 0 0 1px rgb(0 0 0 / .12); }
.ec-french { position: relative; }
.ec-french::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #0055a4 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%); }
.ec-french-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .ec-french-grid { grid-template-columns: 1fr; } }

/* ── Compléments ── */
.ec-title, .ec-hero h1 { text-wrap: balance; }
.ec-head > div { max-width: 600px; }
.ec-feature--white { background: var(--ec-card); }
.ec-period { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--ec-muted); }
.ec-group { scroll-margin-top: 90px; }
.ec-group + .ec-group { margin-top: 72px; }
#questions { background: var(--ec-bg); }

/* ── Paiement sécurisé ── */
.ec-secure { display: flex; align-items: center; gap: 14px; border: 1px solid hsl(140 55% 40% / .45); background: hsl(145 30% 20%); border-radius: 12px; padding: 14px 16px; text-align: left; }
.ec-secure img { width: 36px; height: 36px; image-rendering: pixelated; flex-shrink: 0; }
.ec-secure span { font-size: .8rem; line-height: 1.5; color: var(--ec-text); }
.ec-secure strong { display: block; font-size: .9rem; color: #fff; }

.ec-flag.ec-flag--lg { display: block; width: 62px; height: 42px; border-radius: 6px; margin: 5px 0 25px; }
.ec-feature--accent { background: var(--ec-orange-soft); border-color: hsl(41 97% 54% / .45); }

#questions summary:hover { color: var(--ec-accent); }

@media (max-width: 700px) {
    .ec-easy { flex-direction: column; text-align: center; padding: 30px 22px; gap: 24px; }
    .ec-easy img { width: 140px; height: 140px; }
}

/* ── Versions Bedrock ── */
#offres, #versions { scroll-margin-top: 70px; }
.ec-versions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ec-version { flex: 1 1 180px; max-width: 340px; background: var(--ec-card); border: 1px solid var(--ec-line); border-top: 4px solid var(--ec-orange); border-radius: var(--ec-radius); padding: 24px 20px; }
.ec-version span { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--ec-orange-soft); color: var(--ec-accent); }
.ec-version h3 { font-size: 1.05rem; font-weight: 850; margin: 14px 0 8px; overflow-wrap: anywhere; }
.ec-version p { font-size: .84rem; line-height: 1.65; color: var(--ec-text); margin: 0; }
@media (max-width: 600px) { .ec-version { flex-basis: 100%; max-width: none; } }


.ec-french-grid .ec-feature { grid-column: auto; }
.ec-empty .ec-icon { margin-inline: auto; }

/* ── Texte foncé sur le jaune soleil (contraste) ── */
.ec-btn--primary, .ec-btn--primary:hover { color: var(--ec-on-sun); }
.ec-ui-btn.bg-primary:not(.bg-red-700) { color: var(--ec-on-sun); }

/* ── Villageois : simplicité ── */
.ec-easy { display: flex; align-items: center; gap: 44px; background: linear-gradient(120deg, hsl(41 40% 26%), var(--ec-card) 70%); border: 1px solid hsl(41 97% 54% / .4); border-radius: 24px; padding: 44px; color: var(--ec-ink); }
.ec-easy img { width: 180px; height: 180px; image-rendering: pixelated; border-radius: 16px; border: 4px solid var(--ec-orange); flex-shrink: 0; }
.ec-easy p:not(.ec-eyebrow) { line-height: 1.7; margin: 14px 0 24px; max-width: 560px; color: var(--ec-text); }

/* ── Bas de page : chaleur dorée, sans grands aplats ── */
#questions { background: linear-gradient(180deg, var(--ec-bg) 30%, hsl(40 30% 23%)); }
#questions .ec-faq, #questions .ec-faq details { border-color: hsl(41 70% 54% / .28); }
.ec-footer { border-top: 3px solid var(--ec-orange); background: linear-gradient(180deg, hsl(40 28% 25%), hsl(38 20% 19%)); color: hsl(42 30% 86%); }
.ec-footer a { color: hsl(42 30% 86%); }
.ec-footer a:hover { color: var(--ec-accent); }
.ec-footer h2 { color: var(--ec-accent); }
.ec-footer a.ec-footer-phone { color: var(--ec-accent); }
.ec-footer-bottom { border-top: 1px solid hsl(41 97% 54% / .3); background: hsl(40 24% 17%); }

img.ec-brand-mark { width: 34px; height: 34px; object-fit: contain; image-rendering: auto; border-radius: 0; }

@media (max-width: 700px) {
    .ec-easy { flex-direction: column; text-align: center; padding: 30px 22px; gap: 24px; }
    .ec-easy img { width: 130px; height: 130px; }
}

/* ── Pixel art ErrCity ── */
.ec-pixel { image-rendering: pixelated; }
.ec-offer-top--art { aspect-ratio: 96 / 44; min-height: 0; }
.ec-offer-top--art::before { background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .85)); z-index: -1; }
.ec-offer-top--art { padding: 14px 20px; }
.ec-offer-top--art h3 { text-shadow: 0 2px 6px rgb(0 0 0 / .9); }
.ec-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ec-specs div { background: var(--ec-orange-soft); border: 1px solid hsl(41 97% 54% / .25); border-radius: 12px; padding: 10px 12px; }
.ec-specs dt { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ec-muted); }
.ec-specs dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 850; color: var(--ec-accent); }
img.ec-brand-mark { image-rendering: auto; border-radius: 0; }
.ec-easy img { background: hsl(205 45% 28%); padding: 8px; }

/* Gris éclairci aussi sur l'espace client */
nav.fixed .ec-nav-phone { color: var(--ec-accent); }

/* ── Langue des e-mails ── */
.ec-langue label { display: block; font-weight: 800; margin-bottom: 8px; }
.ec-langue select { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--ec-line); background: var(--ec-bg); color: var(--ec-ink); padding: 0 12px; }
.ec-langue p { font-size: .8rem; line-height: 1.5; color: var(--ec-muted); margin: 8px 0 0; }

/* ── Offre mise en avant ── */
.ec-offer--vedette { border: 2px solid #2fd573; box-shadow: 0 0 0 4px rgb(47 213 115 / .16), 0 22px 44px -22px rgb(47 213 115 / .55); }
.ec-offer--vedette:hover { border-color: #2fd573; }
.ec-ribbon { position: absolute; top: 12px; right: 12px; background: #2fd573; color: #06291a; border-radius: 999px; padding: 5px 13px; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 4px 12px rgb(0 0 0 / .4); }
.ec-specs { grid-template-columns: repeat(3, 1fr); }

/* ── Bouton Discord ── */
.ec-discord { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #5865f2; color: #fff; font-size: .88rem; font-weight: 800; text-decoration: none; }
.ec-discord:hover { background: #4752c4; }
.ec-discord svg { width: 18px; height: 18px; }
.ec-discord--nav { display: none; width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; border-radius: 50% !important; margin: 0; font-size: 0; flex-shrink: 0; gap: 0 !important; }
.ec-discord--nav svg { width: 22px !important; height: 22px !important; }
@media (min-width: 1024px) { .ec-discord--nav { display: inline-flex; } }

/* ── Accès serveur et fichiers ── */
.ec-acces dl { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); gap: 10px 18px; margin: 0 0 20px; font-size: .9rem; }
.ec-acces dt { color: var(--ec-muted); }
.ec-acces dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.ec-acces-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-acces-message { margin: 14px 0 0; font-weight: 700; color: var(--ec-accent); }
.ec-acces dd { user-select: text; }
.ec-acces-mdp { background: var(--ec-bg-alt); border: 1px solid var(--ec-line); border-radius: 10px; padding: 16px; }
.ec-acces-mdp-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ec-acces-mdp-actions { display: flex; gap: 10px; }
.ec-acces-erreur { color: hsl(0 80% 70%); font-size: .82rem; margin: 4px 0 0; font-weight: 600; }
@media (max-width: 600px) { .ec-acces dl { grid-template-columns: 1fr; gap: 2px; } .ec-acces dd { margin-bottom: 10px; } .ec-acces-actions .ec-btn { width: 100%; } .ec-acces-mdp-champs { grid-template-columns: 1fr; } }

/* ── Conformité ── */
.ec-vat { font-size: .74rem; line-height: 1.5; color: var(--ec-muted); margin: 0; }
.ec-offer .ec-vat { margin-top: -10px; }
.ec-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.5; cursor: pointer; }
.ec-consent input { margin-top: 3px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--ec-orange); }
.ec-form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.ec-form input, .ec-form textarea { width: 100%; border-radius: 10px; border: 1px solid var(--ec-line); background: var(--ec-bg); color: var(--ec-ink); padding: 11px 12px; font: inherit; font-weight: 400; }
.ec-form em { color: hsl(0 85% 78%); font-style: normal; font-weight: 600; font-size: .8rem; }
.ec-form .ec-note { margin-top: 22px; }

/* ── Logo ERRCITY ── */
img.ec-logo { height: 26px; width: auto; max-width: 100%; object-fit: contain; }
.ec-footer-brand img.ec-logo { height: 36px; }
@media (max-width: 400px) { nav.fixed img.ec-logo { height: 22px; } }
.ec-easy img { background: none; padding: 0; object-fit: cover; }

/* ── Changement de version ── */
.ec-versions-choix { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ec-erreur { color: hsl(0 90% 76%); }
.ec-alerte-fond { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgb(20 4 4 / .78); backdrop-filter: blur(3px); overflow-y: auto; }
.ec-alerte { width: 100%; max-width: 520px; max-height: 100%; overflow-y: auto; background: #3a1416; border: 3px solid #e5383b; border-radius: 18px; color: #fff; box-shadow: 0 30px 80px -20px rgb(229 56 59 / .6); display: grid; gap: 16px; padding: 0 24px 24px; }
.ec-alerte-tete { display: flex; gap: 14px; align-items: center; margin: 0 -24px; padding: 18px 24px; background: #c1121f; position: sticky; top: 0; }
.ec-alerte-tete svg { width: 38px; height: 38px; flex-shrink: 0; }
.ec-alerte-tete h2 { font-size: 1.15rem; font-weight: 900; line-height: 1.3; margin: 0; }
.ec-alerte p { margin: 0; line-height: 1.65; font-size: .93rem; }
.ec-alerte .ec-consent { background: rgb(0 0 0 / .28); border-radius: 12px; padding: 14px; font-weight: 700; }
.ec-alerte .ec-consent input { accent-color: #e5383b; }
.ec-alerte-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ec-btn--danger { background: #e5383b; color: #fff; }
.ec-btn--danger:hover { background: #c1121f; }
.ec-btn--danger:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.ec-alerte .ec-btn--line { color: #fff; border-color: rgb(255 255 255 / .45); }
@media (max-width: 600px) { .ec-alerte-actions .ec-btn, .ec-versions-choix .ec-btn { width: 100%; } }

.ec-consent-aide { font-size: .78rem; font-weight: 700; color: var(--ec-accent); margin: 8px 0 0 27px; line-height: 1.5; }

.ec-consent-alerte { margin: 0; border: 1px solid #e5383b; background: hsl(358 55% 20%); color: #fff; border-radius: 10px; padding: 10px 12px; font-size: .82rem; font-weight: 700; line-height: 1.5; }

/* ── Panier ── */
.ec-panier-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.ec-etapes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .84rem; font-weight: 700; color: var(--ec-muted); }
.ec-etapes li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ec-line); border-radius: 999px; padding: 6px 14px 6px 6px; }
.ec-etapes b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ec-gray); color: var(--ec-ink); }
.ec-etapes li[aria-current] { color: var(--ec-ink); border-color: var(--ec-orange); }
.ec-etapes li[aria-current] b { background: var(--ec-orange); color: var(--ec-on-sun); }
.ec-panier { grid-template-columns: minmax(0, 1fr) 390px; }
.ec-ligne { padding: 0; overflow: hidden; }
.ec-ligne img.ec-ligne-visuel { display: block; width: 100%; height: 150px; object-fit: cover; }
.ec-ligne-corps { display: grid; gap: 16px; padding: 22px 24px; }
.ec-ligne-tete { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ec-ligne-tete h2 { margin: 0 0 2px; font-size: 1.3rem; font-weight: 850; }
.ec-ligne-tete p { margin: 0; font-size: .8rem; color: var(--ec-muted); }
.ec-ligne-prix { text-align: right; white-space: nowrap; }
.ec-ligne-prix strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--ec-accent); }
.ec-ligne-prix span { font-size: .78rem; color: var(--ec-muted); }
.ec-ligne-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ec-ligne-specs div { background: var(--ec-bg); border: 1px solid var(--ec-line); border-radius: 10px; padding: 7px 12px; }
.ec-ligne-specs dt { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ec-muted); }
.ec-ligne-specs dd { margin: 0; font-weight: 800; font-size: .9rem; }
.ec-ligne-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ec-lien-action { background: none; border: 0; padding: 0; font-size: .86rem; font-weight: 700; color: var(--ec-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ec-lien-action--retirer { color: hsl(0 90% 76%); }
.ec-quantite { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--ec-line); border-radius: 999px; padding: 3px 8px; }
.ec-quantite button { width: 28px; height: 28px; cursor: pointer; font-size: 1.1rem; }
.ec-facturation p { margin: 0 0 10px; font-size: .9rem; color: var(--ec-text); }
.ec-facturation--manque { border-color: var(--ec-orange); }
.ec-recap { display: grid; gap: 14px; }
.ec-recap h2 { margin: 0; }
.ec-promo summary { cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--ec-accent); }
.ec-promo > div { display: flex; gap: 8px; margin-top: 10px; }
.ec-promo input { flex: 1; min-width: 0; border-radius: 999px; border: 1px solid var(--ec-line); background: var(--ec-bg); color: var(--ec-ink); padding: 0 16px; }
.ec-code { background: hsl(145 30% 20%); border-radius: 10px; padding: 10px 12px; font-weight: 800; }
.ec-valider { display: grid; gap: 14px; }
@media (max-width: 960px) { .ec-panier { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ec-ligne img.ec-ligne-visuel { height: 100px; } .ec-ligne-tete { flex-direction: column; } .ec-ligne-prix { text-align: left; } }

/* ── Mises à jour automatiques ── */
.ec-maj-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 18px 0 12px; }
.ec-interrupteur { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.ec-interrupteur input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ec-interrupteur span { position: relative; width: 54px; height: 30px; border-radius: 999px; background: var(--ec-gray); border: 1px solid var(--ec-line); transition: background .2s; }
.ec-interrupteur span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ec-interrupteur input:checked + span { background: #2fb866; }
.ec-interrupteur input:checked + span::after { transform: translateX(24px); }
.ec-interrupteur input:focus-visible + span { outline: 3px solid var(--ec-orange); outline-offset: 2px; }
.ec-maj-heure { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.ec-maj-heure select { min-height: 44px; border-radius: 10px; border: 1px solid var(--ec-line); background: var(--ec-bg); color: var(--ec-ink); padding: 0 34px 0 12px; }
.ec-maj-heure select:disabled { opacity: .45; }
@media (max-width: 600px) { .ec-maj-ligne .ec-btn { width: 100%; } }

/* ── Facturation et engagement ── */
.ec-engagement { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ec-engagement li { font-size: .76rem; font-weight: 800; color: var(--ec-ink); background: var(--ec-orange-soft); border: 1px solid hsl(40 90% 55% / .45); border-radius: 999px; padding: 5px 11px; }
.ec-engagement--hero { justify-content: center; margin-top: 18px; }
.ec-engagement--hero li { background: rgb(0 0 0 / .5); color: #fff; font-size: .84rem; }
.ec-engagement-bloc { border: 2px solid var(--ec-orange); background: var(--ec-orange-soft); border-radius: 12px; padding: 12px 14px; }
.ec-engagement-bloc strong { display: block; font-size: .98rem; font-weight: 900; color: var(--ec-ink); }
.ec-engagement-bloc p { margin: 4px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ec-ink); }

/* ── Bouton panier ── */
.ec-bouton-panier { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ec-card, #252b34); border: 1px solid var(--ec-line); margin: 0; padding: 0; color: var(--ec-ink); flex-shrink: 0; transition: background .15s; }
.ec-bouton-panier:hover { background: var(--ec-gray); }
.ec-bouton-panier svg { width: 20px; height: 20px; }
.ec-bouton-panier .ec-bouton-panier-texte { display: none; }
.ec-bouton-panier b { position: absolute; top: -5px; right: -5px; display: none; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: #e53e3e; color: #fff; font-size: .65rem; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--ec-bg, #1d2229); }
.ec-bouton-panier--plein b { display: grid; place-items: center; }

/* ── Panier clair : surfaces plus lumineuses ── */
.ec-panier .ec-panel, .ec-panier-tete + .ec-empty { background: hsl(215 14% 33%); border-color: hsl(215 13% 47%); }
.ec-panier .ec-ligne-specs div, .ec-panier .ec-promo input { background: hsl(215 14% 27%); border-color: hsl(215 13% 45%); }
.ec-panier .ec-ligne-tete p, .ec-panier .ec-ligne-prix span, .ec-panier .ec-ligne-specs dt, .ec-panier .ec-vat, .ec-panier .ec-facturation p { color: hsl(215 20% 90%); }
.ec-valider .ec-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ════════ Téléphone ════════ */
.ec-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ec-inclus > summary { display: none; }
.ec-court { display: none; }
.ec-menu-bas { margin-top: 12px; border-top: 1px solid var(--ec-line); padding-top: 16px; display: grid; gap: 12px; }
.ec-menu-aide { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ec-menu-aide > a { width: 100%; justify-content: center; min-height: 46px; margin: 0; padding-inline: 8px; }
.ec-menu-langue { display: flex; align-items: center; justify-content: space-between; padding-inline: 12px; font-size: .86rem; color: var(--ec-muted); }

@media (max-width: 700px) {
    nav.fixed .container { max-width: 100% !important; margin: 0 !important; padding-inline: 0 !important; }
    main .mt-14 { margin-top: 1.1rem !important; }
    main:has(.container) { padding-bottom: 28px; }

    /* bandeaux et sections */
    .ec-hero { padding: 36px 0 30px; }
    .ec-hero--small { padding: 24px 0 22px; }
    .ec-hero .ec-badge { margin-bottom: 12px; padding: 5px 12px; font-size: 10px; }
    .ec-hero p { font-size: .94rem; line-height: 1.55; }
    .ec-hero .ec-actions { margin-top: 20px; gap: 8px; }
    .ec-engagement--hero { margin-top: 14px; gap: 5px; }
    .ec-engagement--hero li { font-size: .72rem; padding: 4px 9px; }
    .ec-stats { margin-top: 20px; }
    .ec-stats div { padding: 11px 4px; }
    .ec-stats span { display: block; font-size: 9.5px; line-height: 1.35; }
    .ec-section { padding: 36px 0; }
    .ec-section--tight { padding: 22px 0 32px; }
    .ec-head { margin-bottom: 20px; gap: 10px; }
    .ec-title { font-size: 1.45rem; }
    .ec-lead { font-size: .9rem; line-height: 1.55; }
    .ec-eyebrow { margin-bottom: 6px; }
    .ec-group + .ec-group { margin-top: 36px; }

    /* versions : deux par ligne */
    .ec-versions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .ec-versions .ec-version { max-width: none; padding: 14px 12px; }
    .ec-version h3 { font-size: .92rem; margin: 10px 0 4px; }
    .ec-version p { font-size: .76rem; line-height: 1.5; }

    /* atouts et contacts : icône à gauche, texte à droite */
    .ec-bento, .ec-french-grid, .ec-cards { gap: 10px; }
    .ec-bento .ec-feature, .ec-french-grid .ec-feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-content: start; padding: 15px; }
    .ec-feature > .ec-icon, .ec-feature > .ec-flag, .ec-feature > .ec-num { grid-column: 1; grid-row: 1 / span 2; justify-self: center; margin: 0; }
    .ec-feature > .ec-icon { width: 38px; height: 38px; }
    .ec-feature > .ec-flag { width: 40px; height: 28px; margin-top: 3px; }
    .ec-feature > .ec-num { font-size: .86rem; margin-top: 3px; white-space: nowrap; }
    .ec-feature > h3, .ec-feature > p { grid-column: 2; }
    .ec-feature h3 { font-size: .98rem; margin-bottom: 3px; }
    .ec-feature p { font-size: .83rem; line-height: 1.55; }
    .ec-card { padding: 16px; }
    .ec-card:has(> .ec-icon) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; }
    .ec-card > .ec-icon { grid-column: 1; grid-row: 1 / span 2; width: 38px; height: 38px; margin: 0; }
    .ec-card:has(> .ec-icon) > h2, .ec-card:has(> .ec-icon) > p { grid-column: 2; }
    .ec-card > .ec-btn { grid-column: 1 / -1; margin-top: 6px; }
    .ec-card p { overflow-wrap: anywhere; }
    .ec-easy { padding: 22px 18px; gap: 16px; }
    .ec-easy img { width: 96px; height: 96px; }

    /* offres : le bouton avant la liste détaillée */
    .ec-offers { gap: 16px; }
    .ec-offer:hover { transform: none; }
    .ec-offer-top { min-height: 108px; padding: 16px 18px; }
    .ec-offer-body { padding: 16px 18px 18px; gap: 12px; }
    .ec-offer-body > .ec-offer-foot { order: 1; margin-top: 0; }
    .ec-offer-body > .ec-inclus { order: 2; }
    .ec-inclus > summary { display: list-item; cursor: pointer; text-align: center; font-size: .86rem; font-weight: 700; color: var(--ec-accent); padding: 8px 0; }
    .ec-inclus > .ec-check { margin-top: 8px; }
    .ec-specs > div { min-width: 0; padding: 9px 8px; }
    .ec-specs dt { font-size: .6rem; letter-spacing: .02em; }
    .ec-specs dd { font-size: 1rem; }

    .ec-trust { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ec-trust div { padding: 12px; }
    .ec-trust strong { font-size: .83rem; }
    .ec-trust span { font-size: .76rem; }
    .ec-faq summary { padding: 15px 0; font-size: .9rem; }
    .ec-faq p { padding-bottom: 16px; font-size: .86rem; }

    /* fiche produit : prix et commande d'abord */
    .ec-split { gap: 14px; }
    .ec-split--achat > .ec-aside { order: -1; }
    .ec-crumbs { margin-bottom: 12px; }
    .ec-panel, .ec-prose { padding: 18px; }
    .ec-prose { font-size: .88rem; gap: 22px; }
    .ec-panel img.ec-media { margin-bottom: 12px; }
    .ec-auth { margin: 18px auto 28px; }
    .ec-auth-form { padding: 22px 18px; }

    /* panier : offre, facturation, récapitulatif, puis langue */
    .ec-panier-tete { margin-bottom: 16px; gap: 10px; }
    .ec-etapes { font-size: .76rem; gap: 6px; }
    .ec-ligne-corps { padding: 14px 16px 16px; gap: 12px; }
    .ec-ligne img.ec-ligne-visuel { height: 76px; }
    .ec-ligne-tete { flex-direction: row; }
    .ec-ligne-prix { text-align: right; }
    .ec-ligne-prix strong { font-size: 1.25rem; }
    .ec-ligne-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .ec-ligne-specs div { padding: 6px; min-width: 0; }
    .ec-ligne-specs div:first-child:nth-last-child(5) { grid-column: 1 / -1; }
    .ec-ligne-specs dt { font-size: 9.5px; letter-spacing: .02em; }
    .ec-ligne-specs dd { font-size: .84rem; }
    .ec-lien-action { padding: 6px 0; }
    .ec-panier .ec-facturation .ec-ligne-actions .ec-btn { flex: 1; }
    .ec-panel.ec-ligne { padding: 0; }
    .ec-panier { display: flex; flex-direction: column; gap: 14px; }
    .ec-panier > .ec-stack { display: contents; }
    .ec-panier .ec-facturation { order: 1; }
    .ec-panier > .ec-aside { order: 2; }
    .ec-panier .ec-langue { order: 3; }

    /* pied de page compact, liens faciles à toucher */
    .ec-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; padding-top: 28px; padding-bottom: 18px; }
    .ec-footer-grid > div:first-child { grid-column: 1 / -1; text-align: center; }
    .ec-footer-brand { justify-content: center; margin-bottom: 10px; }
    .ec-footer p { margin: 0 auto 4px; font-size: .82rem; }
    .ec-footer a.ec-footer-phone { display: inline-block; padding: 8px 0 0; }
    .ec-footer-grid > nav:last-child { grid-column: 1 / -1; border-top: 1px solid hsl(41 97% 54% / .25); padding-top: 14px; }
    .ec-footer-grid > nav:last-child ul { grid-template-columns: 1fr 1fr; column-gap: 14px; }
    .ec-footer ul { gap: 0; }
    .ec-footer li a { display: block; padding: 9px 0; font-size: .84rem; line-height: 1.35; }
    .ec-footer h2 { margin-bottom: 4px; }
    .ec-footer-bottom > div { justify-content: center; text-align: center; padding-block: 16px; gap: 8px; font-size: .74rem; }

    /* espace client */
    .ec-actions-service > div { flex-direction: column; }
    .ec-actions-service > div:last-child { order: -1; }
    .ec-actions-service { display: flex; flex-direction: column; }
    .ec-actions-service > h4 { order: -2; }
    /* min-width : les largeurs « !important » du thème ne peuvent pas être surchargées */
    .ec-actions-service a, .ec-actions-service button { min-width: 100%; justify-content: center; min-height: 46px; }
    .ec-niveau { grid-template-columns: minmax(0, 1fr) !important; }
    .ec-niveau > div { grid-column: 1 / -1 !important; }
    .ec-niveau > div:last-child button { width: 100%; }
    .ec-pile { grid-template-columns: minmax(0, 1fr) !important; }
    .ec-pile > * { grid-column: 1 / -1 !important; }
    .ec-ticket .editor-toolbar { display: flex; flex-wrap: wrap; height: auto; }
    .ec-sessions { max-height: 340px; overflow-y: auto; }
    .ec-sessions button { max-width: 128px; padding: 6px 10px; font-size: .72rem; line-height: 1.25; flex-shrink: 0; }
    .ec-sessions > div { gap: 10px; }
    .ec-notifs { table-layout: fixed; }
    .ec-notifs th, .ec-notifs td { padding: 10px 6px !important; font-size: .82rem; }
    .ec-notifs th:first-child, .ec-notifs td:first-child { width: 56%; padding-left: 12px !important; }
    .ec-notifs th p, .ec-notifs th svg, .ec-notifs .ec-long { display: none; }
    .ec-notifs .ec-court { display: inline; }
}
@media (min-width: 768px) { .ec-menu-bas { display: none; } }
@media (max-width: 960px) {
    .ec-panier { display: flex; flex-direction: column; gap: 14px; }
    .ec-panier > .ec-stack { display: contents; }
    .ec-panier .ec-facturation { order: 1; }
    .ec-panier > .ec-aside { order: 2; }
    .ec-panier .ec-langue { order: 3; }
}

.ec-specs > div { min-width: 0; padding-inline: 10px; }
.ec-specs dt { font-size: .62rem; letter-spacing: .02em; }
.ec-row > span:last-child { white-space: nowrap; }

/* Espace entre le contenu et le pied de page (espace client, panier, produits, connexion) */
main > .container { padding-bottom: 80px; }
main > .ec-auth { margin-bottom: 80px; }
@media (max-width: 700px) {
    main > .container { padding-bottom: 48px; }
    main > .ec-auth { margin-bottom: 28px; }
}

/* Parcours de commande : étape « Version » */
.ec-muted { color: var(--ec-muted); font-weight: 500; }
.ec-etapes a { color: inherit; text-decoration: none; }
.ec-etapes a:hover { color: var(--ec-ink); }
.ec-choix-version { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; border: 0; }
.ec-choix { display: grid; gap: 6px; text-align: left; width: 100%; background: var(--ec-bg-alt); color: var(--ec-ink); border: 1.5px solid var(--ec-line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; font: inherit; }
.ec-choix:hover { border-color: var(--ec-orange); transform: translateY(-1px); }
.ec-choix:disabled { cursor: progress; }
.ec-choix--actif { border-color: var(--ec-orange); background: hsl(41 97% 54% / .1); box-shadow: 0 0 0 1px var(--ec-orange) inset; }
.ec-choix-tete { display: flex; align-items: center; gap: 10px; }
.ec-choix-tete strong { font-size: .98rem; font-weight: 800; }
.ec-choix-tete em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; background: var(--ec-gray, #3d4652); color: var(--ec-muted); }
.ec-choix-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ec-line); flex-shrink: 0; display: grid; place-items: center; }
.ec-choix--actif .ec-choix-radio { border-color: var(--ec-orange); }
.ec-choix--actif .ec-choix-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ec-orange); }
.ec-choix-texte { font-size: .82rem; line-height: 1.55; color: var(--ec-muted); padding-left: 28px; }

/* Parcours de commande : étape « Paiement » */
.ec-paiement-titre { font-size: 1.1rem; font-weight: 800; margin: 0 0 18px; }
.ec-paiement-form { display: grid; gap: 16px; }
.ec-paiement-carte { min-height: 140px; }
.ec-paiement-etat { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 18px 0; }
.ec-paiement-etat h2 { font-size: 1.2rem; font-weight: 850; margin: 0; }
.ec-paiement-etat p { color: var(--ec-muted); max-width: 460px; margin: 0; line-height: 1.6; }
.ec-paiement-icone { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 1.6rem; font-weight: 900; }
.ec-paiement-icone--ok { background: hsl(142 60% 40% / .2); color: hsl(142 65% 60%); }
.ec-paiement-icone--attente { border: 4px solid var(--ec-line); border-top-color: var(--ec-orange); animation: ec-tourne 1s linear infinite; }
@keyframes ec-tourne { to { transform: rotate(360deg); } }

/* ===================================================================
   Parcours de commande unifié : Panier → Version → Récapitulatif → Paiement
   =================================================================== */
.ec-commande { padding: 40px 0 24px; }
.ec-progression { margin: 0 0 32px; }
.ec-progression ol { display: flex; list-style: none; margin: 0; padding: 0; }
.ec-progression li { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; font-size: .9rem; font-weight: 700; color: var(--ec-muted); }
.ec-progression li:last-child { flex: 0 0 auto; }
.ec-progression li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 14px; background: var(--ec-line); border-radius: 2px; }
.ec-progression li.ec-progression-fait:not(:last-child)::after { background: var(--ec-orange); }
.ec-progression a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.ec-progression a:hover .ec-progression-nom { text-decoration: underline; }
.ec-progression-pastille { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--ec-line); font-size: .85rem; font-weight: 800; }
.ec-progression-fait { color: var(--ec-ink); }
.ec-progression-fait .ec-progression-pastille { border-color: var(--ec-orange); background: hsl(41 97% 54% / .15); color: var(--ec-accent); }
.ec-progression-actuel { color: var(--ec-ink); }
.ec-progression-actuel .ec-progression-pastille { border-color: var(--ec-orange); background: var(--ec-orange); color: var(--ec-on-sun, #1d2229); box-shadow: 0 0 0 4px hsl(41 97% 54% / .2); }
.ec-progression-nom { white-space: nowrap; }

.ec-commande-tete { margin: 0 0 24px; }
.ec-commande-tete .ec-eyebrow { margin-bottom: 6px; }
.ec-commande-tete h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 850; letter-spacing: -.02em; margin: 0; color: var(--ec-ink); }
.ec-commande-tete p { margin: 8px 0 0; color: var(--ec-muted); max-width: 640px; line-height: 1.6; }

.ec-commande-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.ec-commande-principal { display: grid; gap: 16px; min-width: 0; }
.ec-carte { background: var(--ec-card); color: var(--ec-ink); border: 1px solid var(--ec-line); border-radius: var(--ec-radius, 16px); padding: 24px; }
.ec-carte > h2 { font-size: 1.05rem; font-weight: 800; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ec-carte > h2 a { font-size: .82rem; font-weight: 700; color: var(--ec-accent); }
.ec-carte p { margin: 0; line-height: 1.6; }
.ec-carte p + p { margin-top: 6px; }

.ec-commande-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.ec-commande-actions .ec-btn { min-width: 240px; }
.ec-retour { color: var(--ec-muted); font-weight: 700; text-decoration: none; font-size: .92rem; }
.ec-retour:hover { color: var(--ec-ink); }
.ec-commande-aide { font-size: .82rem; color: var(--ec-muted); text-align: right; margin: 0; flex-basis: 100%; }

/* Article du panier */
.ec-article { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.ec-article + .ec-article { border-top: 1px solid var(--ec-line); margin-top: 18px; padding-top: 18px; }
.ec-article img { width: 56px; height: 56px; border-radius: 12px; image-rendering: pixelated; background: var(--ec-bg-alt); }
.ec-article h3 { margin: 0; font-size: 1.1rem; font-weight: 850; }
.ec-article-details { margin: 4px 0 0; color: var(--ec-muted); font-size: .86rem; line-height: 1.6; }
.ec-article-prix { display: flex; flex-direction: row; align-items: center; gap: 150px; white-space: nowrap; }
.ec-article-prix-montant { display: flex; flex-direction: column; align-items: flex-end; }
.ec-article-prix strong { display: block; font-size: 1.25rem; font-weight: 900; color: var(--ec-accent); }
.ec-article-prix span { font-size: .8rem; color: var(--ec-muted); }
.ec-article-retirer { background: none; border: 0; padding: 0; color: hsl(0 85% 75%); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ec-article-retirer:hover { text-decoration: underline; }
.ec-code-promo { display: flex; gap: 10px; flex-wrap: wrap; }
.ec-code-promo input { flex: 1; min-width: 160px; background: var(--ec-bg-alt); color: var(--ec-ink); border: 1px solid var(--ec-line); border-radius: 10px; padding: 0 14px; min-height: 46px; font: inherit; }

/* Résumé « Votre commande » (identique à chaque étape) */
.ec-resume { position: sticky; top: 88px; display: grid; gap: 14px; }
.ec-resume h2 { font-size: 1rem; font-weight: 800; margin: 0; }
.ec-resume-ligne { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.ec-resume-ligne small { display: block; color: var(--ec-muted); font-size: .8rem; margin-top: 2px; }
.ec-resume-ligne small em { font-style: normal; color: var(--ec-accent); }
.ec-resume-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ec-line); padding-top: 14px; font-weight: 900; font-size: 1.15rem; }
.ec-resume-note { font-size: .8rem; color: var(--ec-muted); line-height: 1.55; margin: 0; }
.ec-resume-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .82rem; color: var(--ec-muted); }
.ec-resume-points li::before { content: "✓"; color: var(--ec-accent); font-weight: 900; margin-right: 8px; }

/* Bloc d'acceptation (récapitulatif) */
.ec-acceptation { border: 1.5px solid var(--ec-orange); background: hsl(41 97% 54% / .06); }

@media (max-width: 900px) {
    .ec-commande-grille { grid-template-columns: 1fr; }
    .ec-resume { position: static; order: -1; }
    .ec-progression-nom { display: none; }
    .ec-progression-actuel .ec-progression-nom { display: inline; }
    .ec-commande-actions { flex-direction: column-reverse; align-items: stretch; }
    .ec-commande-actions .ec-btn { width: 100%; min-width: 0; }
    .ec-commande-aide { text-align: center; }
    .ec-article { grid-template-columns: 44px minmax(0, 1fr); }
    .ec-article img { width: 44px; height: 44px; }
    .ec-article-prix { grid-column: 2; text-align: left; }
}

/* Parcours de commande : ajustements mobile */
@media (max-width: 900px) {
    .ec-resume { order: 0; }
    .ec-progression-nom, .ec-progression-actuel .ec-progression-nom { display: none; }
    .ec-progression li:not(:last-child)::after { margin: 0 8px; }
    .ec-commande-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .ec-commande-actions > .ec-btn, .ec-commande-actions > button.ec-btn { order: 1; }
    .ec-commande-actions > .ec-commande-aide { order: 2; flex-basis: auto; text-align: center; }
    .ec-commande-actions > .ec-retour, .ec-commande-actions > span { order: 3; text-align: center; }
}

/* Badge « Paiement sécurisé par Stripe » du formulaire de carte */
.ec-stripe-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ec-muted); border: 1px solid var(--ec-line); border-radius: 999px; padding: 4px 10px 4px 9px; white-space: nowrap; }
.ec-stripe-logo { display: inline-flex; align-items: center; gap: 5px; color: var(--ec-ink); font-weight: 800; letter-spacing: -.01em; font-size: .86rem; }
.ec-stripe-s { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #635bff; }
.ec-stripe-s svg { width: 11px; height: 11px; }
@media (max-width: 420px) { .ec-carte > h2:has(.ec-stripe-badge) { flex-direction: column; align-items: flex-start; gap: 8px; } }
.ec-stripe-wordmark { height: 17px; width: auto; display: block; margin-left: 2px; }

/* Logo : « ErrCity » + « Hosting » */
.ec-marque { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.ec-marque-hosting { font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ec-accent); padding: 4px 0 4px 10px; border-left: 2px solid var(--ec-line); white-space: nowrap; }
.ec-footer-brand .ec-marque-hosting { font-size: .95rem; }
@media (max-width: 400px) { .ec-marque { gap: 7px; } .ec-marque-hosting { font-size: .66rem; letter-spacing: .16em; padding-left: 7px; } }

/* Récapitulatif : résumé, conditions et validation regroupés dans la colonne de droite */
.ec-colonne-validation { position: sticky; top: 88px; display: grid; gap: 16px; align-content: start; }
.ec-colonne-validation .ec-resume { position: static; }
.ec-colonne-validation .ec-acceptation .ec-consent { font-size: .8rem; }
.ec-validation-actions { display: grid; gap: 10px; }
.ec-validation-actions .ec-btn { width: 100%; }
.ec-validation-actions .ec-commande-aide { text-align: center; }
@media (max-width: 900px) { .ec-colonne-validation { position: static; } }
.ec-retour-mobile { display: none; text-align: center; }
@media (max-width: 900px) { .ec-retour-ordinateur { display: none; } .ec-retour-mobile { display: block; } }
/* En-tête mobile : « Hosting » seulement dans le pied de page quand la place manque */
@media (max-width: 440px) { nav .ec-marque-hosting { display: none; } }

/* Page de paiement : mentions légales juste au-dessus du bouton « Payer » */
.ec-mentions-paiement { display: grid; gap: 6px; border-left: 3px solid var(--ec-orange); background: hsl(41 97% 54% / .06); border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: .8rem; line-height: 1.55; color: var(--ec-muted); }
.ec-mentions-paiement p { margin: 0; }

/* En-tête mobile : bouton « Mon compte » */
.ec-compte-mobile { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 4px; margin-right: 4px; border: 1px solid var(--ec-line); border-radius: 999px; color: var(--ec-ink); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ec-compte-mobile:hover { border-color: var(--ec-orange); }
.ec-compte-mobile img { width: 28px; height: 28px; border-radius: 50%; background: var(--ec-bg); }
@media (min-width: 1024px) { .ec-compte-mobile { display: none; } }
@media (max-width: 400px) { .ec-compte-mobile { padding: 0 4px; } .ec-compte-mobile span { display: none; } }

/* ===== En-tête mobile et tablette (< 1024 px) : logo à gauche, boutons ronds identiques à droite ===== */
@media (max-width: 1023px) {
    nav .ec-marque-hosting { display: none; }
    nav img.ec-logo { height: 24px; }
    .ec-bouton-panier { position: relative; width: 40px; height: 40px; padding: 0; margin: 0; justify-content: center; gap: 0; border-radius: 50%; }
    .ec-bouton-panier .ec-bouton-panier-texte { display: none; }
    .ec-bouton-panier b { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; font-size: .68rem; line-height: 19px; box-shadow: 0 0 0 2px var(--ec-deep, #1d2229); }
    .ec-bouton-panier:not(.ec-bouton-panier--plein) b { display: none; }
    .ec-compte-mobile { width: 40px; height: 40px; padding: 0; margin: 0 3px; justify-content: center; gap: 0; border-radius: 50%; }
    .ec-compte-mobile span { display: none; }
    .ec-compte-mobile img { width: 30px; height: 30px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    nav .ec-marque-hosting { display: inline; font-size: .7rem; }
    nav img.ec-logo { height: 26px; }
    .ec-compte-mobile { width: auto; padding: 0 14px 0 4px; gap: 8px; border-radius: 999px; }
    .ec-compte-mobile span { display: inline; }
}
@media (max-width: 1179px) { nav .ec-marque-hosting { display: none !important; } }
/* « Hosting » sous le logo quand la place manque (mobile et tablette) */
@media (max-width: 1179px) {
    nav .ec-marque { flex-direction: column; align-items: flex-start; gap: 3px; }
    nav .ec-marque-hosting { display: block !important; border-left: 0; padding: 0; font-size: .56rem; letter-spacing: .5em; line-height: 1; margin-left: 2px; }
    nav img.ec-logo { height: 22px; }
}
/* « Hosting » à droite du logo sur toutes les tailles d'écran */
@media (max-width: 1179px) {
    nav .ec-marque { flex-direction: row; align-items: center; gap: 7px; }
    nav .ec-marque-hosting { display: inline !important; margin: 0; padding: 3px 0 3px 7px; border-left: 2px solid var(--ec-line); font-size: .6rem; letter-spacing: .2em; line-height: 1; }
    nav img.ec-logo { height: 20px; }
}
@media (max-width: 420px) {
    nav > div > div.flex { gap: 0; }
    .ec-bouton-panier, .ec-compte-mobile { width: 36px; height: 36px; margin: 0; }
    .ec-compte-mobile img { width: 28px; height: 28px; }
    nav button[aria-label="Toggle Menu"] { width: 36px; height: 36px; }
    nav img.ec-logo { height: 18px; }
    nav .ec-marque { gap: 6px; }
    nav .ec-marque-hosting { font-size: .55rem; letter-spacing: .16em; padding-left: 6px; }
}
/* En-tête : la partie gauche (logo + Hosting) ne rétrécit jamais ; on libère de la place à droite */
nav > div > div.flex > div.flex:first-child { flex-shrink: 0; }
@media (max-width: 1023px) {
    nav div.items-center.hidden.md\:flex.mr-1 { display: none !important; }
    .ec-compte-mobile { width: 40px !important; padding: 0 !important; gap: 0 !important; border-radius: 50% !important; }
    .ec-compte-mobile span { display: none !important; }
}
@media (max-width: 420px) {
    nav.px-4 { padding-left: 12px; padding-right: 12px; }
    nav img.ec-logo { height: 16px; }
    .ec-compte-mobile { width: 36px !important; }
}
@media (max-width: 1023px) {
    nav.fixed img.ec-logo { height: 20px; }
    /* cloche des notifications : même gabarit que les autres boutons */
    nav div:has(> a.ec-bouton-panier) + div { margin: 0 2px !important; padding: 0 !important; }
    nav div:has(> a.ec-bouton-panier) + div > button { width: 36px; height: 36px; padding: 0 !important; margin: 0 !important; display: grid; place-items: center; }
}
@media (max-width: 420px) { nav.fixed img.ec-logo { height: 16px; } }

/* ─── Sidebar espace client ─────────────────────────────────────────── */
.ec-sidebar-nav { display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 20px 12px; }
.ec-sidebar-items { display: flex; flex-direction: column; gap: 2px; }
.ec-sidebar-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .86rem; font-weight: 600; color: rgba(255 255 255 / .5); text-decoration: none; transition: background .15s, color .15s; }
.ec-sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.ec-sidebar-link:hover { background: hsl(44 100% 63% / .08); color: rgba(255 255 255 / .9); }
.ec-sidebar-link.ec-active { color: var(--ec-accent); background: hsl(44 100% 63% / .1); }
.ec-sidebar-sep { height: 1px; background: var(--ec-line); margin: 8px 2px; }
.ec-sidebar-foot { display: none; padding-top: 14px; border-top: 1px solid var(--ec-line); flex-direction: column; gap: 8px; }
@media (min-width: 1024px) { .ec-sidebar-foot { display: flex; } }
/* ─── Dashboard vide ────────────────────────────────────────────────── */
.ec-dash-empty { background: var(--ec-card); border: 1px solid var(--ec-line); border-radius: var(--ec-radius); padding: 48px 32px; text-align: center; }
.ec-dash-empty p { font-size: .9rem; color: var(--ec-text); margin: 6px 0 20px; }
.ec-dash-empty h2 { font-size: 1.05rem; font-weight: 800; color: var(--ec-ink); margin: 0; }

.ec-discord--mobile { display: inline-flex; align-items: center; justify-content: center; width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; border-radius: 50% !important; background: #5865f2; color: #fff; flex-shrink: 0; text-decoration: none; font-size: 0; gap: 0 !important; }
.ec-discord--mobile svg { width: 22px !important; height: 22px !important; }
.ec-discord--mobile svg { width: 17px; height: 17px; }
@media (min-width: 1024px) { .ec-discord--mobile { display: none; } }
/* ── Page de service ─────────────────────────────────────────────────── */
.ec-alerte-paiement { border-left: 4px solid hsl(38 90% 55%); background: hsl(38 30% 18%); border-radius: var(--ec-radius); padding: 14px 20px; margin-bottom: 16px; }
.ec-alerte-paiement p { color: hsl(38 90% 75%); margin: 0; font-weight: 600; }
.ec-service-entete { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ec-service-entete-info { flex: 1; min-width: 0; }
.ec-service-entete-badges { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.ec-service-entete-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; padding-top: 2px; }
.ec-service-produit { font-size: .86rem; color: var(--ec-muted); margin: 2px 0 0; }
.ec-service-etat { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ec-service-etat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.ec-service-etat--actif    { background: hsl(142 50% 20%); color: hsl(142 65% 65%); }
.ec-service-etat--annule   { background: hsl(0 50% 20%);   color: hsl(0 65% 70%); }
.ec-service-etat--suspendu { background: hsl(38 50% 18%);  color: hsl(38 90% 65%); }
.ec-service-etat--annulation { background: hsl(30 50% 18%); color: hsl(30 85% 68%); }
.ec-service-grille { display: grid; grid-template-columns: 1fr minmax(220px, 280px); gap: 16px; margin-top: 16px; align-items: start; }
.ec-service-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; font-size: .9rem; }
.ec-service-dl dt { color: var(--ec-muted); white-space: nowrap; }
.ec-service-dl dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }
.ec-service-actions-liste { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ec-service-actions-liste .ec-btn { justify-content: center; }
@media (max-width: 700px) {
    .ec-service-grille { grid-template-columns: 1fr; }
    .ec-service-entete { gap: 12px; }
    .ec-service-entete-actions { width: 100%; }
    .ec-service-entete-actions .ec-btn { flex: 1; justify-content: center; }
    .ec-service-actions-liste .ec-btn { width: 100%; }
}
