:root {
  --av-navy: #10233f;
  --av-navy-2: #0b1a31;
  --av-coral: #ff6558;
  --av-coral-dark: #ee5145;
  --av-mint: #35bea0;
  --av-blue: #3366e8;
  --av-bg: #f6f8fc;
  --av-card: #ffffff;
  --av-text: #10233f;
  --av-muted: #718096;
  --av-border: #e2e8f2;
  --av-shadow: 0 12px 36px rgba(31, 51, 84, .08);
  --av-radius: 15px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.assovox-brand-mark { border: 0 !important; border-radius: 50% !important; background: var(--av-coral) !important; box-shadow: none !important; transform: none !important; }
.assovox-brand-mark i, .av-logo-mark i { width: 2px; border-radius: 4px; background: currentColor; }
.assovox-brand-mark i:nth-child(1), .av-logo-mark i:nth-child(1) { height: 8px; }
.assovox-brand-mark i:nth-child(2), .av-logo-mark i:nth-child(2) { height: 15px; }
.assovox-brand-mark i:nth-child(3), .av-logo-mark i:nth-child(3) { height: 6px; }
.brand-tagline { text-transform: none; letter-spacing: 0; }

.assovox-app { margin: 0; background: var(--av-bg); color: var(--av-text); font-family: var(--sans); }
.assovox-app a { text-decoration: none; }
.av-app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0, 1fr); }
.av-sidebar { position: sticky; z-index: 50; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto; padding: 27px 16px 20px; background: linear-gradient(180deg, var(--av-navy-2), var(--av-navy)); color: #fff; }
.av-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 29px; }
.av-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.045em; }
.av-logo-mark { position: relative; width: 39px; height: 39px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 3px solid var(--av-coral); border-radius: 50%; color: var(--av-coral); }
.av-logo-mark::after { content: ""; position: absolute; left: 1px; bottom: -5px; width: 8px; height: 8px; border-left: 3px solid var(--av-coral); transform: rotate(28deg); }
.av-sidebar-close { display: none; border: 0; background: none; color: #fff; font-size: 28px; }
.av-nav { display: grid; gap: 6px; }
.av-nav a { min-height: 52px; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 10px; color: #d9e2f0; font-size: 14px; font-weight: 650; transition: background .18s ease, color .18s ease, transform .18s ease; }
.av-nav a:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(2px); }
.av-nav a.is-active { background: rgba(92, 128, 180, .28); color: #fff; }
.av-nav a.is-active svg { color: var(--av-coral); }
.av-nav svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.av-sidebar-account { margin-top: auto; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 16px 10px 4px; border-top: 1px solid rgba(255,255,255,.12); }
.av-sidebar-account > span:nth-child(2) { min-width: 0; display: grid; }
.av-sidebar-account small { color: #96a7bf; font-size: 10px; }
.av-sidebar-account strong { overflow: hidden; color: #fff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.av-sidebar-account em { color: var(--av-mint); font-size: 10px; font-style: normal; }
.av-association-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--av-mint); color: #fff; font-size: 12px; font-weight: 800; }
.av-app-main { min-width: 0; }
.av-topbar { height: 88px; display: flex; align-items: center; gap: 18px; padding: 0 clamp(22px, 3vw, 46px); border-bottom: 1px solid var(--av-border); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); }
.av-greeting { display: grid; min-width: 235px; }
.av-greeting strong { font-size: 18px; }
.av-greeting > span { color: var(--av-muted); font-size: 12px; }
.av-search { width: min(335px, 30vw); display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 0 14px; border: 1px solid var(--av-border); border-radius: 10px; background: #fff; color: var(--av-muted); }
.av-search input { min-height: 44px; padding: 0; border: 0; outline: 0; background: transparent; }
.av-search input:focus { outline: 0; }
.av-icon-button { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--av-navy); font-size: 23px; cursor: pointer; }
.av-icon-button b { position: absolute; top: 2px; right: 0; width: 19px; height: 19px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--av-coral); color: #fff; font-size: 9px; }
.av-user-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ffe1d8, #ffc3a8); color: #85412e; font-weight: 800; }
.av-mobile-menu { display: none; border: 0; background: transparent; color: var(--av-navy); font-size: 23px; cursor: pointer; }

.av-dashboard { width: min(100%, 1500px); margin: 0 auto; padding: 34px clamp(22px, 3vw, 46px) 65px; }
.av-dashboard .flash { max-width: none; margin: 0 0 22px; border-radius: 10px; }
.av-demo-banner { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; padding: 12px 16px; border: 1px solid #cfdcf1; border-radius: 10px; background: #edf4ff; color: #294d7b; font-size: 12px; }
.av-demo-banner strong { font-size: 12px; }
.av-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.av-page-heading p, .av-kicker { margin: 0 0 4px; color: var(--av-muted); font-size: 12px; font-weight: 650; }
.av-page-heading h1 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.av-primary-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 9px; background: var(--av-coral); color: #fff; font-size: 13px; font-weight: 750; box-shadow: 0 10px 22px rgba(255,101,88,.2); transition: background .18s ease, transform .18s ease; }
.av-primary-button:hover { background: var(--av-coral-dark); transform: translateY(-1px); }

.av-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-bottom: 22px; }
.av-stat-grid article { min-width: 0; min-height: 128px; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-card); box-shadow: 0 5px 18px rgba(31,51,84,.035); }
.av-stat-grid article > div { min-width: 0; display: grid; }
.av-stat-grid small { color: var(--av-muted); font-size: 12px; }
.av-stat-grid strong { margin-top: 2px; font-size: clamp(24px, 2vw, 31px); line-height: 1.1; }
.av-stat-grid em { margin-top: 8px; font-size: 10px; font-style: normal; }
.av-stat-grid em span { color: #8b98aa; }
.is-up { color: #11a980; }
.av-stat-icon { width: 53px; height: 53px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: 23px; font-weight: 700; }
.av-stat-icon.av-coral { background: #fff0ed; color: var(--av-coral); }
.av-stat-icon.av-blue { background: #edf2ff; color: var(--av-blue); }
.av-stat-icon.av-mint { background: #e9f8f4; color: var(--av-mint); }

.av-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, .85fr); gap: 22px; }
.av-panel { border: 1px solid var(--av-border); border-radius: var(--av-radius); background: var(--av-card); box-shadow: 0 6px 20px rgba(31,51,84,.04); overflow: hidden; }
.av-panel > header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--av-border); }
.av-panel h2 { margin: 0; font-size: 14px; }
.av-panel header a, .av-panel header button { color: var(--av-blue); font-size: 11px; font-weight: 700; }
.av-period-tabs { display: flex; align-items: center; gap: 17px; }
.av-period-tabs button { padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--av-muted); cursor: pointer; }
.av-period-tabs button.is-active { border-color: var(--av-coral); color: var(--av-navy); }
.av-chart { padding: 18px 20px 6px; }
.av-chart svg { width: 100%; height: 230px; overflow: visible; }
.av-chart .grid path { fill: none; stroke: #edf0f6; stroke-width: 1; }
.av-chart .area { fill: url(#avChartFill); }
.av-chart .line { fill: none; stroke: var(--av-coral); stroke-width: 3; stroke-linecap: round; }
.av-chart circle { fill: var(--av-coral); stroke: #fff; stroke-width: 3; }
.av-chart-labels { display: flex; justify-content: space-between; padding: 0 12px 0 42px; color: #8b98aa; font-size: 9px; }
.av-audience-panel footer { display: flex; justify-content: space-between; gap: 20px; padding: 4px 20px 17px; color: var(--av-muted); font-size: 10px; }
.av-audience-panel footer i { width: 8px; height: 8px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--av-coral); }
.av-audience-panel footer strong { color: var(--av-navy); }
.av-event-list { display: grid; padding: 2px 20px 8px; }
.av-event-list a { min-height: 93px; display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--av-border); color: var(--av-navy); }
.av-event-list a:last-child { border-bottom: 0; }
.av-event-list time { width: 50px; height: 55px; display: grid; place-content: center; border-radius: 9px; text-align: center; }
.av-date-1 { background: #fff0ed; color: var(--av-coral); }
.av-date-2 { background: #e9f8f4; color: #159878; }
.av-date-3 { background: #edf2ff; color: var(--av-blue); }
.av-event-list time b { font-size: 19px; line-height: 1; }
.av-event-list time span { font-size: 9px; font-weight: 800; }
.av-event-list a > span { min-width: 0; display: grid; }
.av-event-list strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.av-event-list small, .av-event-list em { overflow: hidden; color: var(--av-muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.av-event-list em { margin-top: 4px; }
.av-event-list a > i { color: #9aa7b7; font-size: 20px; font-style: normal; }
.av-posts-panel { min-height: 250px; }
.av-recent-posts { padding: 5px 20px 10px; }
.av-recent-posts a { min-height: 57px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto 92px 15px; align-items: center; gap: 12px; border-bottom: 1px solid var(--av-border); color: var(--av-navy); }
.av-recent-posts a:last-child { border: 0; }
.av-recent-posts strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.av-post-thumb { width: 48px; height: 36px; border-radius: 6px; background-color: #d9eadf; background-image: radial-gradient(circle at 20% 60%, #4f8b62 0 7%, transparent 8%), radial-gradient(circle at 60% 30%, #77aa7f 0 12%, transparent 13%), linear-gradient(135deg, #c9dfc9, #769f76); }
.av-thumb-2 { background-image: radial-gradient(circle at 70% 40%, #ebaa5d 0 10%, transparent 11%), linear-gradient(135deg, #d7e7d8, #9fc69e); }
.av-thumb-3 { background-image: linear-gradient(135deg, #f6d69a, #6a9f78); }
.av-status { padding: 5px 8px; border-radius: 6px; background: #eef1f5; color: #667386; font-size: 9px; }
.av-status.is-published { background: #e6f7f1; color: #159878; }
.av-recent-posts time { color: var(--av-muted); font-size: 9px; text-align: right; }
.av-recent-posts i { color: var(--av-navy); font-style: normal; }
.av-progress-panel { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 7px; padding: 28px 25px; }
.av-progress-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #e6f7f1; color: var(--av-mint); font-size: 26px; }
.av-progress-panel h2 { font-size: 14px; }
.av-progress-panel h2 strong { color: var(--av-mint); }
.av-progress-panel p { margin: 6px 0 14px; color: var(--av-muted); font-size: 11px; }
.av-progress { height: 8px; display: block; overflow: hidden; border-radius: 99px; background: #edf0f5; }
.av-progress i { height: 100%; display: block; border-radius: inherit; background: var(--av-mint); }
.av-progress-panel a { display: inline-block; margin-top: 12px; color: var(--av-blue); font-size: 10px; font-weight: 700; }

.av-empty-dashboard { min-height: 70vh; display: grid; place-content: center; justify-items: center; text-align: center; }
.av-empty-dashboard h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 6vw, 74px); letter-spacing: -.05em; line-height: .97; }
.av-empty-dashboard > p:not(.av-kicker) { max-width: 570px; margin: 20px auto 28px; color: var(--av-muted); }
.av-empty-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 20px; background: #fff0ed; color: var(--av-coral); font-size: 28px; }
.av-sidebar-backdrop { display: none; }

@media (max-width: 1180px) {
  .av-app-shell { grid-template-columns: 235px minmax(0, 1fr); }
  .av-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .av-dashboard-grid { grid-template-columns: 1fr; }
  .av-progress-panel { min-height: 180px; }
}

@media (max-width: 780px) {
  .av-app-shell { display: block; }
  .av-sidebar { position: fixed; left: 0; transform: translateX(-105%); width: min(290px, 88vw); transition: transform .22s ease; box-shadow: 18px 0 50px rgba(5,18,38,.24); }
  .av-sidebar-visible .av-sidebar { transform: translateX(0); }
  .av-sidebar-close, .av-mobile-menu { display: block; }
  .av-sidebar-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(5,18,38,.5); }
  .av-sidebar-visible .av-sidebar-backdrop { display: block; }
  .av-topbar { height: 74px; padding-inline: 18px; }
  .av-greeting { min-width: 0; }
  .av-greeting > span, .av-search, .av-icon-button { display: none; }
  .av-dashboard { padding-inline: 16px; }
  .av-page-heading { align-items: stretch; flex-direction: column; gap: 16px; }
  .av-primary-button { align-self: flex-start; }
  .av-stat-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .av-stat-grid article { min-height: 112px; padding: 15px; }
  .av-stat-icon { width: 42px; height: 42px; }
  .av-stat-grid em span { display: none; }
  .av-recent-posts a { grid-template-columns: 42px minmax(0,1fr) auto; }
  .av-recent-posts time, .av-recent-posts i { display: none; }
}

@media (max-width: 500px) {
  .av-demo-banner { align-items: flex-start; flex-direction: column; gap: 2px; }
  .av-stat-grid { grid-template-columns: 1fr; }
  .av-stat-grid article { min-height: 100px; }
  .av-chart svg { height: 170px; }
  .av-audience-panel footer { flex-direction: column; gap: 5px; }
  .av-event-list a { grid-template-columns: 50px minmax(0,1fr); }
  .av-event-list a > i { display: none; }
  .av-progress-panel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .av-sidebar, .av-nav a, .av-primary-button { transition: none; }
}

/* Publications et agenda */
.av-section-topbar { position: sticky; z-index: 30; top: 0; }
.av-section-title { min-width: 225px; display: grid; }
.av-section-title strong { font-size: 17px; }
.av-section-title span { color: var(--av-muted); font-size: 10px; }
.av-preview-link { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--av-border); border-radius: 9px; color: var(--av-navy); font-size: 11px; font-weight: 700; }
.av-content-page { max-width: 1530px; }
.av-editorial-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .8fr); gap: 22px; }
.av-calendar-actions { display: flex; gap: 7px; }
.av-calendar-actions button { min-width: 37px; min-height: 33px; padding: 6px 11px; border: 1px solid var(--av-border); border-radius: 7px; background: #fff; color: var(--av-navy) !important; cursor: pointer; }
.av-calendar { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); padding: 0 12px 13px; }
.av-calendar > b { padding: 12px 8px 8px; color: var(--av-muted); font-size: 8px; text-align: center; }
.av-calendar-day { min-height: 79px; padding: 8px; border-top: 1px solid var(--av-border); border-left: 1px solid var(--av-border); font-size: 10px; }
.av-calendar-day:nth-of-type(7n) { border-right: 1px solid var(--av-border); }
.av-calendar-day:nth-last-child(-n+7) { border-bottom: 1px solid var(--av-border); }
.av-calendar-day > span { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; }
.av-calendar-day.is-today > span { background: var(--av-coral); color: #fff; font-weight: 800; }
.av-calendar-day.is-outside { color: #b3bdca; background: #fbfcfe; }
.av-calendar-day em { display: block; margin-top: 5px; padding: 5px 6px; border-radius: 5px; font-size: 7px; font-style: normal; line-height: 1.25; }
.av-chip-mint { background: #dbf5ed; color: #148467; }
.av-chip-coral { background: #ffebe8; color: #d94a3f; }
.av-chip-blue { background: #e8efff; color: #2859ca; }
.av-publish-queue > header h2 span { margin-left: 4px; padding: 3px 7px; border-radius: 99px; background: #ffebe8; color: var(--av-coral); font-size: 9px; }
.av-publish-queue > div { padding: 0 18px; }
.av-publish-queue > div > a { min-height: 108px; display: grid; grid-template-columns: 78px minmax(0,1fr) 12px; align-items: center; gap: 12px; border-bottom: 1px solid var(--av-border); color: var(--av-navy); }
.av-publish-queue > div > a:last-child { border: 0; }
.av-queue-thumb { width: 78px; height: 72px; border-radius: 8px; background: linear-gradient(145deg,#b8d6bf,#5f9771); }
.av-queue-2 { background: linear-gradient(145deg,#f5dcc0,#bd8261); }
.av-queue-3 { background: linear-gradient(145deg,#e1d5e9,#976f9d); }
.av-publish-queue a > span:nth-child(2) { min-width: 0; display: grid; }
.av-publish-queue strong { font-size: 11px; line-height: 1.3; }
.av-publish-queue small { margin-top: 8px; color: var(--av-muted); font-size: 8px; }
.av-publish-queue em { margin-top: 5px; color: var(--av-coral); font-size: 8px; font-style: normal; }
.av-publish-queue i { font-style: normal; }
.av-content-table-panel { min-height: 330px; }
.av-content-table-header { align-items: flex-end !important; }
.av-content-table-header > div { display: grid; gap: 10px; }
.av-filter-tabs { display: flex; gap: 7px; }
.av-filter-tabs button { padding: 6px 12px; border: 1px solid var(--av-border); border-radius: 6px; background: #fff; color: var(--av-navy) !important; cursor: pointer; }
.av-filter-tabs button.is-active { border-color: var(--av-blue); color: var(--av-blue) !important; }
.av-content-table-header > label { width: min(250px, 32%); display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--av-border); border-radius: 7px; }
.av-content-table-header input { min-height: 36px; padding: 0; border: 0; outline: 0; font-size: 10px; }
.av-modern-table { padding: 0 18px 12px; }
.av-modern-row { min-height: 53px; display: grid; grid-template-columns: minmax(210px,1.5fr) .7fr .75fr .5fr .7fr 12px; align-items: center; gap: 12px; border-bottom: 1px solid var(--av-border); color: var(--av-navy); font-size: 9px; }
.av-modern-row[hidden] { display: none; }
.av-modern-head { min-height: 37px; color: var(--av-muted); font-size: 8px; font-weight: 750; }
.av-modern-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-modern-row > span { display: flex; align-items: center; gap: 5px; }
.av-modern-row > i { font-style: normal; }
.av-type-icon { color: var(--av-coral); font-style: normal; }
.av-mini-avatar { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e8efff; color: var(--av-blue); font-size: 7px; font-weight: 800; }
.av-table-empty { display: grid; justify-items: start; padding: 38px; }
.av-table-empty h3 { margin: 0; }
.av-table-empty p { color: var(--av-muted); }
.av-content-ideas > header { justify-content: flex-start; }
.av-content-ideas > a { min-height: 88px; display: grid; grid-template-columns: 37px minmax(0,1fr) auto; align-items: center; gap: 11px; margin: 0 18px; border-bottom: 1px solid var(--av-border); color: var(--av-navy); }
.av-content-ideas > a:last-child { border: 0; }
.av-content-ideas > a > span { color: var(--av-blue); font-size: 23px; }
.av-content-ideas a:nth-of-type(2) > span { color: var(--av-mint); }
.av-content-ideas a:nth-of-type(3) > span { color: var(--av-coral); }
.av-content-ideas div { display: grid; }
.av-content-ideas strong { font-size: 10px; }
.av-content-ideas small { margin-top: 4px; color: var(--av-muted); font-size: 8px; line-height: 1.4; }
.av-content-ideas i { color: var(--av-muted); font-style: normal; }

/* Éditeur visuel du site */
.av-site-editor-page { overflow: hidden; }
.av-editor-topbar { position: relative; z-index: 30; height: 76px; padding-inline: 24px; }
.av-editor-topbar .av-section-title { margin-right: auto; }
.av-device-switcher { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--av-border); border-radius: 9px; background: #fff; }
.av-device-switcher button { min-height: 39px; padding: 8px 13px; border: 0; border-right: 1px solid var(--av-border); background: #fff; color: var(--av-muted); font-size: 10px; cursor: pointer; }
.av-device-switcher button:last-child { border: 0; }
.av-device-switcher button.is-active { background: #edf2ff; color: var(--av-blue); }
.av-site-editor { height: calc(100vh - 76px); display: grid; grid-template-columns: 210px minmax(420px,1fr) 300px; background: #f3f5f9; }
.av-pages-panel, .av-inspector-panel { overflow-y: auto; background: #fff; }
.av-pages-panel { border-right: 1px solid var(--av-border); }
.av-pages-panel > header, .av-inspector-panel > header { min-height: 67px; display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; border-bottom: 1px solid var(--av-border); }
.av-pages-panel header strong, .av-inspector-panel header strong { font-size: 12px; }
.av-pages-panel header button, .av-pages-panel header > a { border: 0; background: transparent; color: var(--av-navy); font-size: 18px; cursor: pointer; }
.av-pages-panel nav { display: grid; gap: 3px; padding: 12px; }
.av-pages-panel nav button, .av-pages-panel nav a { min-height: 47px; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; padding-inline: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--av-navy); font-size: 10px; text-align: left; cursor: pointer; }
.av-pages-panel nav button.is-active, .av-pages-panel nav a.is-active { background: #fff0ed; color: var(--av-coral); font-weight: 750; }
.av-pages-panel nav i { color: var(--av-muted); font-style: normal; }
.av-page-help { margin: 15px; padding: 15px; border-radius: 10px; background: #edf4ff; }
.av-page-help strong { font-size: 10px; }
.av-page-help p { margin: 5px 0 0; color: var(--av-muted); font-size: 8px; }
.av-preview-workspace { overflow: auto; padding: 27px; }
.av-preview-workspace .flash, .av-preview-workspace .form-errors { max-width: 1040px; margin: 0 auto 16px; }
.av-site-preview { width: min(100%, 1040px); min-width: 630px; min-height: auto; margin: 0 auto; border: 1px solid #d6dce7; border-radius: 7px; background: #fff; box-shadow: 0 12px 35px rgba(31,51,84,.11); overflow: hidden; transition: width .25s ease; }
.av-preview-workspace .av-site-preview.association-site { margin: 0 auto; }
.av-site-preview .site-shell { min-height: auto; }
.av-site-preview .site-header { min-height: 66px; padding-inline: 24px; gap: 15px; }
.av-site-preview .site-brand strong { font-size: 17px; }
.av-site-preview .site-navigation { gap: 15px; }
.av-site-preview .site-navigation a { font-size: 8px; }
.av-site-preview .site-header-cta { padding: 9px 11px; font-size: 8px; }
.av-site-preview .site-main { padding: 18px; }
.av-site-preview .site-hero { min-height: 430px; grid-template-columns: minmax(0,1.05fr) minmax(250px,.75fr); border-radius: 15px; }
.av-site-preview .site-hero-copy { padding: 48px; }
.av-site-preview .site-hero h1 { font-size: clamp(44px,5.7vw,69px); }
.av-site-preview .site-hero-copy > p { font-size: 11px; }
.av-site-preview .site-button { min-height: 38px; padding: 9px 12px; font-size: 8px; }
.av-site-preview .site-hero-visual { padding: 22px; }
.av-site-preview .site-hero-monogram, .av-site-preview .site-hero-visual > img { min-height: 350px; }
.av-site-preview .site-hero-monogram span { font-size: 210px; }
.av-site-preview .site-page-cards { gap: 10px; padding-top: 12px; }
.av-site-preview .site-page-cards > a { min-height: 185px; padding: 20px; border-radius: 10px; }
.av-site-preview .site-page-cards h2 { margin-top: 23px; font-size: 21px; }
.av-site-preview .site-page-cards p { font-size: 8px; }
.av-site-preview .site-page-cards strong { font-size: 8px; }
.av-site-preview .site-mission-section { gap: 35px; margin-top: 45px; padding: 45px; border-radius: 14px; }
.av-site-preview .site-mission-section h2 { font-size: 38px; }
.av-site-preview .site-rich-text { font-size: 12px; }
.av-site-preview .site-news-section { margin-top: 45px; }
.av-site-preview .site-news-section h2 { font-size: 38px; }
.av-site-preview .site-news-grid article { min-height: 210px; padding: 24px 18px; }
.av-site-preview .site-news-grid h3 { font-size: 22px; }
.av-site-preview .site-news-grid article > span { font-size: 8px; }
.av-site-preview .site-footer { min-height: 150px; padding: 30px; }
.av-site-preview[data-device="tablet"] { width: 760px; }
.av-site-preview[data-device="mobile"] { width: 390px; min-width: 390px; }
.av-site-preview[data-device="mobile"] .site-header { grid-template-columns: 1fr auto; padding-inline: 14px; }
.av-site-preview[data-device="mobile"] .site-navigation, .av-site-preview[data-device="mobile"] .site-header-cta { display: none; }
.av-site-preview[data-device="mobile"] .site-menu-button { display: block; width: 34px; height: 34px; font-size: 15px; }
.av-site-preview[data-device="mobile"] .site-main { padding: 9px; }
.av-site-preview[data-device="mobile"] .site-hero { min-height: auto; grid-template-columns: 1fr; border-radius: 11px; }
.av-site-preview[data-device="mobile"] .site-hero-copy { padding: 31px 22px; }
.av-site-preview[data-device="mobile"] .site-hero h1 { font-size: 44px; }
.av-site-preview[data-device="mobile"] .site-hero-visual { min-height: 245px; padding: 10px; }
.av-site-preview[data-device="mobile"] .site-hero-monogram, .av-site-preview[data-device="mobile"] .site-hero-visual > img { min-height: 225px; }
.av-site-preview[data-device="mobile"] .site-hero-monogram span { font-size: 155px; }
.av-site-preview[data-device="mobile"] .site-page-cards, .av-site-preview[data-device="mobile"] .site-news-grid { grid-template-columns: 1fr; }
.av-site-preview[data-device="mobile"] .site-mission-section { grid-template-columns: 1fr; padding: 28px 20px; }
.av-site-preview[data-device="mobile"] .site-news-grid article { border-right: 0; }
.av-site-preview[data-device="mobile"] .site-footer { grid-template-columns: 1fr; gap: 18px; padding: 25px 20px; }
.av-site-preview[data-device="mobile"] .site-footer nav { justify-content: flex-start; }
.av-site-preview[data-device="mobile"] .site-powered-by { justify-self: start; }
.av-site-preview > header { min-height: 68px; display: grid; grid-template-columns: minmax(120px,1fr) auto auto; align-items: center; gap: 20px; padding: 0 28px; }
.av-site-preview > header strong { color: var(--preview-primary); font-family: Georgia,serif; font-size: 18px; }
.av-site-preview > header nav { display: flex; gap: 18px; font-size: 8px; }
.av-site-preview > header nav span { padding: 24px 0 7px; border-bottom: 2px solid transparent; }
.av-site-preview > header nav span.is-current { border-color: var(--preview-primary); }
.av-site-preview > header button { padding: 9px 13px; border: 0; border-radius: 7px; background: var(--preview-primary); color: #fff; font-size: 8px; }
.av-preview-hero { min-height: 430px; position: relative; display: grid; align-items: center; padding: 58px 55px; overflow: hidden; background: linear-gradient(115deg, var(--preview-primary), #173f35); color: #fff; isolation: isolate; }
.av-preview-hero > div:last-child { position: relative; z-index: 2; max-width: 490px; }
.av-preview-kicker { color: #d6f2e8; font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.av-preview-hero h1 { margin: 12px 0 18px; font-family: Georgia,serif; font-size: clamp(40px,5vw,64px); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.av-preview-hero p { max-width: 440px; color: #dfe9e4; font-size: 11px; line-height: 1.6; }
.av-preview-hero button { margin-top: 12px; padding: 12px 15px; border: 1px solid var(--preview-accent); border-radius: 6px; background: var(--preview-accent); color: #fff; font-size: 8px; font-weight: 750; }
.av-preview-hero button.is-secondary { margin-left: 7px; border-color: rgba(255,255,255,.7); background: transparent; }
.av-preview-hero-art { position: absolute !important; z-index: 0 !important; right: -35px; bottom: -40px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.16), transparent 32%), linear-gradient(145deg, #49765e, #1c4535); opacity: .9; }
.av-preview-hero-art i { position: absolute; right: 140px; bottom: -20px; width: 65px; height: 350px; border-radius: 50%; background: #b27348; transform: rotate(18deg); }
.av-leaf { position: absolute; width: 105px; height: 48px; border-radius: 100% 0 100% 0; background: #77a977; transform: rotate(-18deg); }
.av-leaf-1 { left: 50px; bottom: 140px; }
.av-leaf-2 { left: 160px; bottom: 220px; transform: rotate(30deg) scale(.8); }
.av-leaf-3 { right: 40px; bottom: 90px; transform: rotate(-55deg) scale(1.2); }
.av-preview-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; padding: 24px 28px 32px; }
.av-preview-cards article { padding: 18px; border: 1px solid var(--av-border); border-radius: 7px; }
.av-preview-cards article > span { color: var(--preview-primary); font-size: 23px; }
.av-preview-cards h2 { margin: 12px 0 7px; font-family: Georgia,serif; font-size: 15px; }
.av-preview-cards p { margin: 0; color: var(--av-muted); font-size: 8px; line-height: 1.55; }
.av-site-preview[data-device="mobile"] > header nav { display: none; }
.av-site-preview[data-device="mobile"] .av-preview-hero { padding: 38px 28px; }
.av-site-preview[data-device="mobile"] .av-preview-cards { grid-template-columns: 1fr; }
.av-inspector-panel { border-left: 1px solid var(--av-border); }
.av-inspector-panel > header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
.av-inspector-panel > header span { color: var(--av-muted); font-size: 8px; }
.av-settings-form { display: grid; gap: 16px; padding: 18px; }
.av-settings-form > label:not(.av-switch-field), .av-color-fields label { display: grid; gap: 6px; color: #526075; font-size: 9px; font-weight: 700; }
.av-settings-form input:not([type="checkbox"]), .av-settings-form textarea, .av-settings-form select { min-height: 40px; padding: 9px 10px; border: 1px solid var(--av-border); border-radius: 7px; font-size: 10px; }
.av-settings-form textarea { min-height: 80px; }
.av-color-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.av-color-fields input[type="color"] { height: 43px; padding: 4px; }
.av-switch-field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.av-switch-field > input { position: absolute; opacity: 0; }
.av-switch-field > span { width: 39px; height: 22px; padding: 3px; border-radius: 99px; background: #c9d0da; }
.av-switch-field > span i { width: 16px; height: 16px; display: block; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.av-switch-field > input:checked + span { background: var(--av-mint); }
.av-switch-field > input:checked + span i { transform: translateX(17px); }
.av-switch-field strong { display: grid; font-size: 9px; }
.av-switch-field small { color: var(--av-muted); font-size: 7px; font-weight: 500; }
.av-save-mobile { width: 100%; }
.av-inspector-links { display: grid; padding: 5px 18px 25px; }
.av-inspector-links a { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--av-border); color: var(--av-navy); font-size: 9px; font-weight: 700; }

/* Gestion des pages */
.av-pages-list-panel > header { align-items: center; }
.av-pages-list-panel > header > div { display: grid; gap: 4px; }
.av-pages-list-panel > header p { margin: 0; color: var(--av-muted); font-size: 9px; }
.av-pages-list-panel > header > strong { color: var(--av-coral); font-size: 11px; }
.av-pages-list { padding: 0 20px 14px; }
.av-pages-list > a { min-height: 72px; display: grid; grid-template-columns: 42px minmax(180px,1fr) 90px 90px 120px 15px; align-items: center; gap: 14px; border-bottom: 1px solid var(--av-border); color: var(--av-navy); font-size: 9px; }
.av-pages-list > a:last-child { border-bottom: 0; }
.av-pages-list > a:hover strong { color: var(--av-blue); }
.av-page-list-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: #edf2ff; color: var(--av-blue); font-size: 16px; }
.av-pages-list > a > span:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.av-pages-list strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.av-pages-list small, .av-page-menu-state, .av-pages-list time { color: var(--av-muted); font-size: 8px; }
.av-pages-list em { justify-self: start; }
.av-pages-list > a > i { color: var(--av-muted); font-size: 16px; font-style: normal; }

.av-page-editor-shell { min-height: calc(100vh - 70px); padding: 24px; background: #f3f5f9; }
.av-page-editor-shell > .form-errors { max-width: 1260px; margin: 0 auto 16px; }
.av-page-editor { max-width: 1260px; min-height: calc(100vh - 118px); display: grid; grid-template-columns: minmax(0,1fr) 300px; margin: 0 auto; border: 1px solid var(--av-border); border-radius: 12px; background: #fff; box-shadow: 0 12px 35px rgba(31,51,84,.08); overflow: hidden; }
.av-page-editor-content { display: grid; align-content: start; gap: 22px; padding: clamp(30px,5vw,70px); }
.av-page-editor-content > label, .av-page-editor-settings > label:not(.av-switch-field) { display: grid; gap: 7px; color: #526075; font-size: 9px; font-weight: 750; }
.av-page-editor-content input, .av-page-editor-content textarea, .av-page-editor-settings input, .av-page-editor-settings select { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid var(--av-border); border-radius: 8px; color: var(--av-navy); font: inherit; }
.av-page-editor-content textarea[name="summary"] { min-height: 92px; resize: vertical; }
.av-page-title-input { min-height: auto !important; padding: 0 0 14px !important; border: 0 !important; border-bottom: 1px solid var(--av-border) !important; border-radius: 0 !important; font-family: Georgia,serif !important; font-size: clamp(39px,5vw,64px) !important; font-weight: 500 !important; letter-spacing: -.045em; line-height: 1.02; }
.av-page-title-input:focus, .av-page-body-input:focus { outline: 0; }
.assovox-app .av-page-toolbar { gap: 3px; padding: 5px; border: 1px solid var(--av-border); border-radius: 8px; background: #f8faff; box-shadow: none; }
.assovox-app .av-page-toolbar button { min-height: 34px; padding: 6px 9px; border: 0; border-radius: 6px; background: transparent; color: var(--av-navy); font-family: var(--sans); font-size: 9px; text-shadow: none; }
.assovox-app .av-page-toolbar button:hover, .assovox-app .av-page-toolbar button:focus-visible, .assovox-app .av-page-toolbar button[aria-pressed="true"] { background: #e8efff; color: var(--av-blue); box-shadow: none; }
.av-page-body-input { min-height: 480px !important; padding: 20px 0 !important; border: 0 !important; border-radius: 0 !important; font-family: Georgia,serif !important; font-size: 18px !important; line-height: 1.72; resize: vertical; }
.av-page-markdown-preview { min-height: 480px; padding: 25px 0; background: #fff; }
.av-page-editor-settings { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; border-left: 1px solid var(--av-border); background: #fbfcfe; }
.av-page-editor-settings h2 { margin: 0 0 3px; font-size: 17px; }
.av-page-editor-settings small { color: var(--av-muted); font-size: 7px; font-weight: 500; line-height: 1.45; }
.av-home-page-notice { padding: 14px; border-radius: 9px; background: #e8f7f1; color: #176f59; }
.av-home-page-notice strong { font-size: 10px; }
.av-home-page-notice p { margin: 5px 0 0; font-size: 8px; line-height: 1.5; }
.av-page-editor-settings .word-count { margin: 0; color: var(--av-muted); font-size: 8px; text-align: center; }
.av-danger-link { margin-top: auto; padding: 10px; border: 0; background: transparent; color: #c6453c; font-size: 9px; font-weight: 750; cursor: pointer; }

@media (max-width: 1200px) {
  .av-editorial-grid { grid-template-columns: 1fr; }
  .av-site-editor { grid-template-columns: 180px minmax(420px,1fr) 270px; }
  .av-device-switcher span { display: none; }
}

@media (max-width: 980px) {
  .av-section-topbar .av-search { display: none; }
  .av-editorial-grid { grid-template-columns: 1fr; }
  .av-site-editor { grid-template-columns: 1fr 280px; }
  .av-pages-panel { display: none; }
  .av-page-editor { grid-template-columns: 1fr; }
  .av-page-editor-settings { grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; border-left: 0; border-bottom: 1px solid var(--av-border); }
  .av-page-editor-settings h2, .av-home-page-notice, .av-page-editor-settings .av-primary-button, .av-page-editor-settings .word-count, .av-danger-link { grid-column: 1 / -1; }
  .av-preview-workspace { padding: 18px; }
}

@media (max-width: 780px) {
  .av-section-title { min-width: 0; margin-right: auto; }
  .av-section-title span, .av-section-topbar .av-preview-link, .av-editor-topbar .av-preview-link { display: none; }
  .av-editorial-grid { display: block; }
  .av-editorial-grid > * { margin-bottom: 15px; }
  .av-calendar-panel { overflow-x: auto; }
  .av-calendar { min-width: 680px; }
  .av-content-table-header { align-items: stretch !important; flex-direction: column; }
  .av-content-table-header > label { width: 100%; }
  .av-modern-table { overflow-x: auto; }
  .av-modern-row { min-width: 760px; }
  .av-site-editor-page { overflow: auto; }
  .av-site-editor { height: auto; display: flex; flex-direction: column; }
  .av-preview-workspace { order: 1; overflow: auto; }
  .av-inspector-panel { order: 0; max-height: none; border-left: 0; border-bottom: 1px solid var(--av-border); }
  .av-site-preview { min-width: 650px; }
  .av-device-switcher { display: none; }
  .av-editor-topbar .av-primary-button { display: none; }
  .av-pages-list { overflow-x: auto; }
  .av-pages-list > a { min-width: 760px; }
  .av-page-editor-shell { padding: 10px; }
  .av-page-editor-settings { grid-template-columns: 1fr; }
  .av-page-editor-settings h2, .av-home-page-notice, .av-page-editor-settings .av-primary-button, .av-page-editor-settings .word-count, .av-danger-link { grid-column: 1; }
  .av-page-editor-content { padding: 30px 20px; }
}

/* Site de présentation */
.av-marketing-page { margin: 0; background: #fff; color: var(--av-navy); font-family: var(--sans); }
.av-marketing-page a { text-decoration: none; }
.av-marketing-shell { overflow: hidden; }
.av-marketing-header { width: min(100% - 40px, 1220px); height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 0 auto; }
.av-logo-dark { color: var(--av-navy); }
.av-marketing-header nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 650; }
.av-marketing-header nav > a:not(.av-primary-button) { color: #536279; }
.av-marketing-header nav > a:not(.av-primary-button):hover { color: var(--av-coral); }
.av-marketing-header .av-primary-button { min-height: 42px; padding-inline: 16px; }
.av-marketing-hero { width: min(100% - 40px, 1280px); min-height: 700px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px,6vw,90px); margin: 0 auto; padding: 70px 0 105px; }
.av-marketing-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid #dce5f1; border-radius: 99px; background: #f7faff; color: #536279; font-size: 10px; font-weight: 700; }
.av-marketing-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--av-mint); box-shadow: 0 0 0 4px rgba(53,190,160,.13); }
.av-marketing-copy h1 { max-width: 660px; margin: 24px 0 22px; font-size: clamp(57px,6.5vw,92px); letter-spacing: -.07em; line-height: .9; }
.av-marketing-copy > p { max-width: 570px; margin: 0 0 30px; color: #5f6f85; font-size: clamp(16px,1.5vw,19px); line-height: 1.65; }
.av-marketing-copy > div { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.av-hero-button { min-height: 54px; padding: 14px 21px; }
.av-demo-link { color: var(--av-navy); font-size: 12px; font-weight: 750; }
.av-demo-link span { color: var(--av-coral); }
.av-marketing-copy > small { display: block; margin-top: 17px; color: #8996a7; font-size: 9px; }
.av-product-preview { position: relative; padding: 9px; border: 1px solid #cad5e4; border-radius: 18px; background: #eaf0f8; box-shadow: 0 35px 80px rgba(23,45,78,.18); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.av-product-preview::before { content: ""; position: absolute; z-index: -1; inset: 8% -8% -9% 10%; border-radius: 40%; background: rgba(255,101,88,.16); filter: blur(45px); }
.av-preview-browser { height: 32px; display: flex; align-items: center; gap: 5px; padding: 0 11px; border-radius: 11px 11px 0 0; background: #fff; }
.av-preview-browser > span { width: 6px; height: 6px; border-radius: 50%; background: #ff8c81; }
.av-preview-browser > span:nth-child(2) { background: #f6ca45; }
.av-preview-browser > span:nth-child(3) { background: var(--av-mint); }
.av-preview-browser em { margin: 0 auto; color: #98a5b5; font-size: 7px; font-style: normal; }
.av-preview-app { min-height: 390px; display: grid; grid-template-columns: 150px 1fr; overflow: hidden; border-radius: 0 0 11px 11px; background: var(--av-bg); }
.av-preview-app > aside { display: flex; flex-direction: column; gap: 6px; padding: 18px 11px; background: var(--av-navy); color: #dbe5f1; }
.av-preview-app aside strong { display: flex; align-items: center; gap: 6px; margin-bottom: 15px; color: #fff; font-size: 11px; }
.av-preview-app aside .av-logo-mark { width: 22px; height: 22px; border-width: 2px; }
.av-preview-app aside span { padding: 8px 9px; border-radius: 5px; font-size: 7px; }
.av-preview-app aside span.is-active { background: rgba(255,255,255,.12); color: #fff; }
.av-preview-app > section > header { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--av-border); background: #fff; }
.av-preview-app header div { display: grid; }
.av-preview-app header b { font-size: 10px; }
.av-preview-app header small { color: var(--av-muted); font-size: 6px; }
.av-preview-app header > i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #ffddcf; color: #8c4c36; font-size: 8px; font-style: normal; font-weight: 800; }
.av-preview-app main { padding: 18px; }
.av-mini-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.av-mini-title span { font-size: 15px; font-weight: 800; }
.av-mini-title b { padding: 7px 9px; border-radius: 5px; background: var(--av-coral); color: #fff; font-size: 6px; }
.av-mini-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.av-mini-stats article { display: grid; padding: 12px; border: 1px solid var(--av-border); border-radius: 7px; background: #fff; }
.av-mini-stats small { color: var(--av-muted); font-size: 6px; }
.av-mini-stats strong { margin-top: 3px; font-size: 14px; }
.av-mini-stats em { margin-top: 5px; color: var(--av-mint); font-size: 6px; font-style: normal; }
.av-mini-chart { margin-top: 10px; padding: 13px; border: 1px solid var(--av-border); border-radius: 7px; background: #fff; }
.av-mini-chart > strong { font-size: 7px; }
.av-mini-chart svg { width: 100%; height: 115px; }
.av-mini-chart path { fill: none; stroke: var(--av-coral); stroke-width: 2; }
.av-proof-strip { min-height: 80px; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 20px; background: var(--av-navy); color: #dce5ef; font-size: 11px; font-weight: 650; }
.av-proof-strip i { color: var(--av-coral); font-style: normal; }
.av-feature-section { width: min(100% - 40px, 1180px); margin: 0 auto; padding: 130px 0; }
.av-section-intro { max-width: 720px; margin-bottom: 55px; }
.av-section-intro > span, .av-free-section > div > span { color: var(--av-coral); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.av-section-intro h2, .av-free-section h2 { margin: 17px 0; font-size: clamp(42px,5vw,67px); letter-spacing: -.055em; line-height: .98; }
.av-section-intro p, .av-free-section p { max-width: 600px; color: #66768b; line-height: 1.7; }
.av-feature-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.av-feature-cards article { min-height: 290px; display: flex; align-items: flex-start; flex-direction: column; padding: 32px; border: 1px solid var(--av-border); border-radius: 18px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.av-feature-cards article:hover { transform: translateY(-3px); box-shadow: var(--av-shadow); }
.av-feature-cards article > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: #fff0ed; color: var(--av-coral); font-size: 22px; }
.av-feature-cards article:nth-child(2) > span { background: #e9f8f4; color: var(--av-mint); }
.av-feature-cards article:nth-child(3) > span { background: #edf2ff; color: var(--av-blue); }
.av-feature-cards article:nth-child(4) > span { background: #fff7d8; color: #b88d0d; }
.av-feature-cards h3 { margin: 23px 0 9px; font-size: 22px; }
.av-feature-cards p { margin: 0; color: #66768b; font-size: 13px; line-height: 1.7; }
.av-feature-cards a { margin-top: auto; padding-top: 25px; color: var(--av-blue); font-size: 11px; font-weight: 750; }
.av-how-section { width: min(100% - 40px, 1180px); display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 0 auto 130px; overflow: hidden; border: 1px solid var(--av-border); border-radius: 18px; background: var(--av-border); }
.av-how-section div { min-height: 210px; display: grid; align-content: start; padding: 34px; background: #f8fafe; }
.av-how-section span { color: var(--av-coral); font-size: 11px; font-weight: 800; }
.av-how-section strong { margin-top: 33px; font-size: 17px; }
.av-how-section p { margin: 8px 0 0; color: #6a788c; font-size: 12px; line-height: 1.6; }
.av-free-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(45px,8vw,120px); align-items: center; padding: 115px max(20px,calc((100vw - 1180px)/2)); background: #f6f8fc; }
.av-free-section aside { padding: 35px; border-radius: 20px; background: var(--av-navy); color: #fff; box-shadow: 0 22px 55px rgba(16,35,63,.18); }
.av-free-section aside > strong { font-size: 19px; }
.av-free-section ul { display: grid; gap: 13px; margin: 25px 0 30px; padding: 0; list-style: none; color: #dce5ef; font-size: 12px; }
.av-free-section li::before { content: "✓"; margin-right: 9px; color: var(--av-mint); font-weight: 900; }
.av-final-cta { min-height: 500px; display: grid; place-content: center; justify-items: center; padding: 80px 20px; background: var(--av-navy); color: #fff; text-align: center; }
.av-final-cta > .av-logo-mark { margin-bottom: 25px; }
.av-final-cta h2 { max-width: 900px; margin: 0; font-size: clamp(45px,6vw,78px); letter-spacing: -.06em; line-height: .95; }
.av-final-cta p { margin: 20px 0 30px; color: #b9c5d4; }
.av-final-cta > div { display: flex; align-items: center; gap: 20px; }
.av-final-cta > div > a:not(.av-primary-button) { color: #fff; font-size: 12px; font-weight: 750; }
.av-marketing-page .site-footer { width: min(100% - 40px,1180px); margin: 0 auto; }

@media (max-width: 900px) {
  .av-marketing-header nav > a:not(.av-primary-button) { display: none; }
  .av-marketing-hero { grid-template-columns: 1fr; padding-top: 60px; }
  .av-marketing-copy { text-align: center; }
  .av-marketing-copy > p { margin-inline: auto; }
  .av-marketing-copy > div { justify-content: center; }
  .av-product-preview { max-width: 720px; margin-inline: auto; transform: none; }
  .av-proof-strip { flex-wrap: wrap; }
  .av-feature-cards, .av-free-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .av-marketing-header { height: 74px; }
  .av-marketing-header nav .av-primary-button { min-height: 38px; padding: 8px 11px; font-size: 10px; }
  .av-marketing-hero { width: min(100% - 28px,1280px); min-height: 0; padding: 55px 0 80px; }
  .av-marketing-copy h1 { font-size: 54px; }
  .av-marketing-copy > div { flex-direction: column; }
  .av-product-preview { padding: 5px; }
  .av-preview-app { grid-template-columns: 85px 1fr; min-height: 300px; }
  .av-preview-app > aside { padding-inline: 6px; }
  .av-preview-app aside strong { font-size: 7px; }
  .av-preview-app aside .av-logo-mark { display: none; }
  .av-mini-stats article:nth-child(3) { display: none; }
  .av-mini-stats { grid-template-columns: repeat(2,1fr); }
  .av-mini-chart svg { height: 75px; }
  .av-proof-strip { justify-content: flex-start; gap: 12px; font-size: 9px; }
  .av-feature-section { width: min(100% - 28px,1180px); padding: 90px 0; }
  .av-feature-cards { grid-template-columns: 1fr; }
  .av-how-section { width: min(100% - 28px,1180px); grid-template-columns: 1fr; }
  .av-how-section div { min-height: 170px; }
  .av-free-section { padding-block: 85px; }
  .av-final-cta > div { flex-direction: column; }
}

/* Domaines */
.av-domain-page { max-width: 1250px; }
.av-domain-default { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 14px; margin-bottom: 22px; padding: 17px 20px; border: 1px solid #bce6da; border-radius: 13px; background: #f0fbf7; }
.av-domain-default > div { display: grid; }
.av-domain-default small { color: #668078; font-size: 9px; }
.av-domain-default strong { font-size: 14px; }
.av-domain-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #dff6ef; color: #159878; font-size: 20px; }
.av-domain-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: stretch; }
.av-domain-form > header { align-items: flex-start; }
.av-domain-form header h2 { font-size: 17px; }
.av-domain-form header p { margin: 5px 0 0; color: var(--av-muted); font-size: 10px; }
.av-domain-form form { display: grid; gap: 16px; padding: 23px; }
.av-domain-form label { display: grid; gap: 7px; color: #526075; font-size: 10px; font-weight: 700; }
.av-domain-form input { min-height: 47px; padding: 10px 12px; border: 1px solid var(--av-border); border-radius: 8px; }
.av-domain-form .av-primary-button { justify-self: start; }
.av-domain-help { padding: 27px; border-radius: var(--av-radius); background: var(--av-navy); color: #fff; }
.av-domain-help > span { color: var(--av-coral); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.av-domain-help h2 { margin: 11px 0 22px; font-size: 23px; letter-spacing: -.04em; }
.av-domain-help ol { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.av-domain-help li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.av-domain-help li > i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--av-mint); font-size: 9px; font-style: normal; font-weight: 800; }
.av-domain-help li > span { display: grid; }
.av-domain-help li strong { font-size: 10px; }
.av-domain-help li small { margin-top: 3px; color: #aebdce; font-size: 8px; }
.av-domain-list { margin-top: 35px; }
.av-domain-list > header h2 { font-size: 19px; }
.av-domain-card { margin-top: 14px; padding: 23px; }
.av-domain-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.av-domain-card-heading > div { display: flex; align-items: center; gap: 12px; }
.av-domain-card-heading > div > span:last-child { display: grid; }
.av-domain-card h3 { margin: 0; font-size: 15px; }
.av-domain-card-heading small { color: var(--av-muted); font-size: 8px; }
.av-domain-card > p { color: var(--av-muted); font-size: 10px; }
.av-dns-row { display: grid; grid-template-columns: 70px minmax(180px,.8fr) minmax(240px,1.2fr); gap: 8px; margin-top: 8px; }
.av-dns-row > * { min-height: 40px; display: flex; align-items: center; padding: 8px 10px; border: 1px solid var(--av-border); border-radius: 6px; background: #f8fafe; font-size: 8px; overflow-wrap: anywhere; }
.av-dns-row > span { justify-content: center; color: var(--av-blue); font-weight: 800; }
.av-domain-message { color: var(--av-muted); font-size: 10px; }
.av-domain-message.is-success { color: #158766; }
.av-secondary-button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--av-border); border-radius: 8px; background: #fff; color: var(--av-navy); font-size: 10px; font-weight: 750; cursor: pointer; }

@media (max-width: 850px) {
  .av-domain-layout { grid-template-columns: 1fr; }
  .av-dns-row { grid-template-columns: 58px 1fr; }
  .av-dns-row code:last-child { grid-column: 2; }
}

/* Éditeur de publication et formulaires classiques */
.editor-page { background: var(--av-bg); color: var(--av-navy); font-family: var(--sans); }
.editor-page .editor-header { height: 72px; border-bottom: 1px solid var(--av-border); background: #fff; }
.editor-page .brand { color: var(--av-navy); font-family: var(--sans); font-weight: 800; }
.editor-page .editor-blog-name { color: var(--av-muted); font-family: var(--sans); }
.editor-page .back-link { color: var(--av-blue); }
.editor-page .editor-form { grid-template-columns: minmax(0,1fr) 315px; background: var(--av-bg); }
.editor-page .editor-content { padding-top: 58px; }
.editor-page .title-input { color: var(--av-navy); font-family: var(--sans); font-size: clamp(42px,5vw,68px); font-weight: 760; }
.editor-page .excerpt-input { color: var(--av-muted); font-family: var(--sans); font-size: 17px; }
.editor-page .body-input { color: #243853; font-family: Georgia,"Times New Roman",serif; font-size: 18px; }
.editor-page .markdown-editor-tools { top: 8px; }
.editor-page .markdown-toolbar { padding: 6px; border: 1px solid var(--av-border); border-radius: 10px; background: rgba(255,255,255,.96); box-shadow: 0 9px 28px rgba(31,51,84,.1); }
.editor-page .toolbar-group { border-color: var(--av-border); }
.editor-page .markdown-toolbar button { border-radius: 6px; color: #526075; font-family: var(--sans); text-shadow: none; }
.editor-page .markdown-toolbar button:hover, .editor-page .markdown-toolbar button:focus-visible { border-color: #cbd8ee; background: #edf2ff; box-shadow: none; color: var(--av-blue); }
.editor-page .editor-settings { gap: 20px; padding: 30px 24px; border-left: 1px solid var(--av-border); background: #fff; }
.editor-page .editor-settings h2 { color: var(--av-navy); font-family: var(--sans); font-size: 20px; }
.editor-page .editor-settings label { color: #526075; font-size: 10px; }
.editor-page .editor-settings input, .editor-page .editor-settings select { border: 1px solid var(--av-border); border-radius: 7px; }
.editor-page .editor-settings .button { border: 0; border-radius: 8px; background: var(--av-coral); color: #fff; box-shadow: 0 10px 22px rgba(255,101,88,.18); text-transform: none; }
.editor-page .markdown-preview { border: 1px solid var(--av-border); border-radius: 10px; box-shadow: none; }
.soft-page, .app-page { background: var(--av-bg); }
.soft-page .page-shell, .app-page .page-shell { background: transparent; }
.soft-page .site-header, .app-page > .page-shell > .site-header { border-color: var(--av-border); background: #fff; }
.soft-page .form-card, .app-page .form-card { border: 1px solid var(--av-border); border-radius: 14px; background: #fff; box-shadow: var(--av-shadow); }
.soft-page .button, .app-page .button { border: 0; border-radius: 8px; background: var(--av-coral); color: #fff; box-shadow: none; text-transform: none; }
.soft-page .button:hover, .app-page .button:hover { background: var(--av-coral-dark); color: #fff; transform: translateY(-1px); }
.soft-page .button-secondary, .app-page .button-secondary { border: 1px solid var(--av-border); background: #fff; color: var(--av-navy); }
.soft-page .auth-copy h1, .app-page .narrow-main h1 { color: var(--av-navy); font-family: var(--sans); font-weight: 760; }

@media (max-width: 900px) {
  .editor-page .editor-form { grid-template-columns: 1fr; }
  .editor-page .editor-settings { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--av-border); }
}
