Code du thème Base

Le thème de référence, version 1.1.0. Tout télécharger (.zip)

assets/theme.css

/* Thème Base (moteur v2). Les couleurs viennent des réglages du thème (variables posées par le cœur). */
:root {
  --accent: #1f3a5f; --background: #fff; --surface: #f5f5f2; --text: #16181d; --muted: #5d6370; --border: #e4e4df; --sale: #b42318;
  --r: 10px; --r-lg: 16px; --wrap: 1240px; --gap: clamp(16px, 2.4vw, 28px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);
}
.t-font-serif { --font-head: Georgia, "Iowan Old Style", "Times New Roman", serif; }
.t-font-rounded { --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", sans-serif; --font-head: var(--font); }
.t-radius-square { --r: 0; --r-lg: 0; }
.t-radius-round { --r: 18px; --r-lg: 26px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(21px, 2.4vw, 27px); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--background); padding: 8px 14px; z-index: 50; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: 600 15px/1 var(--font);
  padding: 13px 20px; border-radius: var(--r); cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-small { padding: 9px 14px; font-size: 14px; }
.btn-wide { width: 100%; padding: 16px; font-size: 16px; }

/* En-tête */
.announce[hidden] { display: none; }
.announce { background: var(--accent); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--background); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: var(--gap); min-height: 70px; }
.brand { font: 700 22px/1 var(--font-head); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.brand img { max-height: 44px; width: auto; }
.search { flex: 1; display: flex; max-width: 620px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); overflow: hidden; }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; padding: 11px 18px; color: inherit; }
.search input:focus { outline: none; }
.search button { border: 0; background: none; padding: 0 16px; color: var(--muted); cursor: pointer; }
.search.big { max-width: none; margin: 8px 0 28px; border-radius: var(--r); background: var(--background); padding: 4px; }
.search.big .btn { border-radius: calc(var(--r) - 2px); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.h-action { display: flex; align-items: center; gap: 8px; border: 0; background: none; font: 500 14px/1 var(--font); color: inherit; padding: 10px; border-radius: var(--r); cursor: pointer; text-decoration: none; }
.h-action:hover { background: var(--surface); }
.cart-count { min-width: 22px; height: 22px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }

/* Méga-menu */
.mega { border-top: 1px solid var(--border); }
.mega-row { list-style: none; display: flex; gap: 4px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.mega-row::-webkit-scrollbar { display: none; }
.mega-item > a { display: block; padding: 13px 14px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.mega-item > a:hover, .mega-item:focus-within > a { border-bottom-color: var(--accent); }
.mega-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--background); border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -24px #0003; }
.mega-item.has-children:hover .mega-panel, .mega-item.has-children:focus-within .mega-panel { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px 32px; padding-top: 26px; padding-bottom: 30px; }
.mega-col a { display: block; text-decoration: none; color: var(--muted); padding: 4px 0; font-size: 15px; }
.mega-col a:hover { color: var(--text); text-decoration: underline; }
.mega-col .mega-title { color: var(--text); font-weight: 700; margin-bottom: 4px; }
.mega-all { grid-column: 1 / -1; font-weight: 600; color: var(--accent); text-decoration: none; }

.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 8px; border-radius: var(--r); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--background); border-bottom: 1px solid var(--border); padding: 8px 16px 20px; max-height: 75vh; overflow: auto; box-shadow: 0 24px 40px -24px #0004; }
.mobile-panel a { display: block; padding: 11px 0; text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-panel .m-top { font-weight: 700; }
.mobile-panel .m-sub { padding-left: 16px; color: var(--muted); }
.mobile-panel .m-page { color: var(--muted); font-size: 15px; }

/* Fil d'Ariane, en-tête de catégorie */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding: 18px 0 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.cat-head { display: grid; gap: 24px; align-items: center; padding: 14px 0 22px; }
.cat-head.with-image { grid-template-columns: 1.2fr 1fr; }
.cat-head img { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.lead { color: var(--muted); font-size: 17px; margin: 10px 0 0; max-width: 62ch; }
.subcats { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; }
.subcat { flex: none; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 99px; padding: 6px 16px 6px 6px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--background); }
.subcat:not(:has(img)) { padding-left: 16px; }
.subcat img { width: 34px; height: 34px; border-radius: 99px; object-fit: cover; }
.subcat:hover { border-color: var(--accent); }

/* Liste de produits avec filtres */
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; padding-bottom: 56px; }
.filters { position: sticky; top: 140px; display: grid; gap: 16px; }
.filter-box { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.filter-title { font-weight: 700; margin: 0; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.price-range input { width: 100%; font: inherit; color: inherit; border: 1px solid var(--border); border-radius: calc(var(--r) * .7); padding: 8px 10px; background: var(--background); }
.filter-link { display: flex; justify-content: space-between; text-decoration: none; padding: 3px 0; }
.filter-link small { color: var(--muted); }
.clear { font-size: 14px; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.toolbar p { margin: 0; color: var(--muted); }
.sort { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.sort span { color: var(--muted); margin-right: 2px; }
.sort a { text-decoration: none; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border); }
.sort a.on { background: var(--text); color: var(--background); border-color: var(--text); }

.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); }
.t-cols-3 .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-cols-5 .grid-products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.listing .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-cols-5 .listing .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; font: 700 46px/1 var(--font-head); color: var(--muted); opacity: .35; text-transform: uppercase; }
.noimg.big { aspect-ratio: 1; font-size: 120px; background: var(--surface); border-radius: var(--r-lg); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--text); color: var(--background); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.badge.sale { background: var(--sale); color: #fff; }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font: 600 16px/1.35 var(--font); letter-spacing: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price b { font-size: 17px; }
.price b.now { color: var(--sale); }
.price s { color: var(--muted); font-size: 14px; }
.price.big b { font-size: 28px; }
.price.big s { font-size: 18px; }
.stock-low { margin: 0; font-size: 13px; color: var(--sale); }
.card .btn { margin-top: auto; width: 100%; padding: 11px; font-size: 14px; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 0; }
.pg-num, .pg-step, .pg-gap { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: var(--r); text-decoration: none; border: 1px solid var(--border); }
.pg-gap { border: 0; }
.pg-num.current { background: var(--text); color: var(--background); border-color: var(--text); }
.pg-num:hover, .pg-step:hover { border-color: var(--accent); }

/* Fiche produit */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); padding: 12px 0 56px; align-items: start; }
.pdp-media { position: sticky; top: 140px; }
.pdp-media img { width: 100%; border-radius: var(--r-lg); background: var(--surface); }
.pdp-info { display: grid; gap: 16px; }
.eyebrow { margin: 0; font-size: 14px; color: var(--muted); }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.availability { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.availability::before { content: ""; width: 9px; height: 9px; border-radius: 99px; background: currentColor; }
.availability.ok { color: #15803d; }
.availability.ko { color: var(--sale); }
.meta { margin: 0; color: var(--muted); }
.assurances { list-style: none; margin: 0; padding: 16px; border-radius: var(--r); background: var(--surface); display: grid; gap: 6px; font-size: 15px; }
.assurances li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.pdp-desc { border-top: 1px solid var(--border); padding-top: 18px; }
.pdp-desc h2 { font-size: 18px; margin-bottom: 8px; }
.pdp-desc p { margin: 0; color: var(--text); }
.sku { margin: 0; font-size: 13px; color: var(--muted); }

/* Accueil */
.hero { background: var(--surface); padding: clamp(48px, 9vw, 110px) 0; }
.hero.with-image { background: linear-gradient(90deg, #000a, #0003), var(--hero) center / cover; color: #fff; }
.hero.with-image .lead { color: #fffd; }
.hero-inner { display: grid; gap: 18px; justify-items: start; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); max-width: 16ch; }
.block { padding: 48px 0 0; }
.block:last-child { padding-bottom: 64px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.block-head a { color: var(--accent); font-weight: 600; text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.tile { display: grid; gap: 4px; text-decoration: none; }
.tile img, .tile-letter { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); margin-bottom: 8px; transition: transform .3s; }
.tile-letter { display: grid; place-items: center; font: 700 64px/1 var(--font-head); color: var(--accent); opacity: .8; }
.tile:hover img, .tile:hover .tile-letter { transform: translateY(-3px); }
.tile-name { font-weight: 700; font-size: 17px; }
.tile small { color: var(--muted); }

/* Pages, vide, 404 */
.page-title { margin: 6px 0 22px; }
.prose { font-size: 17px; line-height: 1.7; padding-bottom: 64px; }
.prose img { border-radius: var(--r); }
.prose a { color: var(--accent); }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--border); border-radius: var(--r-lg); display: grid; gap: 12px; justify-items: center; margin-bottom: 56px; }
.empty p { margin: 0; color: var(--muted); }
.empty .empty-title { color: var(--text); font-weight: 700; font-size: 19px; }
.empty.big { border: 0; padding-top: 72px; }
.empty .code { font: 800 92px/1 var(--font-head); color: var(--accent); opacity: .25; }
.empty .search.big { width: min(100%, 520px); margin: 10px 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips a { border: 1px solid var(--border); border-radius: 99px; padding: 7px 14px; text-decoration: none; }

/* Pied de page */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 0; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid p { margin: 0 0 8px; color: var(--muted); }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.f-brand { font: 700 20px/1.2 var(--font-head); color: var(--text) !important; }
.f-title { font-weight: 700; color: var(--text) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 18px; padding-bottom: 22px; font-size: 14px; color: var(--muted); }

/* Tablette */
@media (max-width: 1024px) {
  .grid-products, .t-cols-5 .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Téléphone */
@media (max-width: 720px) {
  .header-row { flex-wrap: wrap; gap: 6px 10px; padding-top: 8px; padding-bottom: 10px; min-height: 0; }
  .mobile-nav { display: block; order: 0; }
  .brand { order: 1; font-size: 19px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { order: 2; }
  .h-action span:not(.cart-count) { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .mega { display: none; }
  .grid-products, .t-cols-3 .grid-products, .t-cols-5 .grid-products, .listing .grid-products, .t-cols-5 .listing .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card .btn { font-size: 13px; padding: 10px 6px; }
  .cat-head.with-image, .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; }
  .filters { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

/* Galerie de la fiche produit */
.gallery-main { position: relative; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: none; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--r); overflow: hidden; background: var(--surface); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.thumb[aria-current="true"] { border-color: var(--accent); }

/* Choix des options (taille, couleur…) */
.variant-picker { display: grid; gap: 16px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt legend span { font-weight: 400; color: var(--muted); }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { position: relative; cursor: pointer; }
.opt-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-chip span { display: inline-block; min-width: 48px; text-align: center; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--r); font-weight: 500; background: var(--background); }
.opt-chip input:checked + span { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.opt-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-chip.is-out span { color: var(--muted); text-decoration: line-through; background: var(--surface); }
.price small { color: var(--muted); font-size: 14px; font-weight: 400; }
.price.big small { font-size: 16px; }
.price s[hidden] { display: none; }
.sku[hidden] { display: none; }

/* Page panier (remplie par le script davcode) */
.cart-page { padding-bottom: 24px; min-height: 160px; }
.cart-page .dc-page { font-family: var(--font); color: var(--text); }
.cart-page .dc-page-side { border-color: var(--border); border-radius: var(--r-lg); background: var(--background); }
.cart-page .dc-go { background: var(--accent); border-radius: var(--r); }
.cart-page .dc-line { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.cart-page .dc-line img, .cart-page .dc-line i { border-radius: var(--r); }
.cart-page input, .cart-page textarea { border-color: var(--border); border-radius: var(--r); }
.muted-text { color: var(--muted); }
.cart-continue { padding-bottom: 56px; }
.cart-continue a { color: var(--accent); font-weight: 600; text-decoration: none; }

/* Filtres à facettes */
.facet summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.facet[open] summary::after { content: "−"; }
.facet summary small { color: var(--muted); font-weight: 400; margin-left: 4px; margin-right: auto; }
.facet-values { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.facet-value { display: flex; align-items: center; gap: 10px; padding: 5px 0; text-decoration: none; font-size: 15px; }
.facet-value .box { width: 18px; height: 18px; border: 1.5px solid var(--border); border-radius: calc(var(--r) * .4); flex: none; display: grid; place-items: center; }
.facet-value.on .box { background: var(--accent); border-color: var(--accent); }
.facet-value.on .box::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.facet-value .facet-label { flex: 1; }
.facet-value small { color: var(--muted); }
.facet-value:hover .facet-label { text-decoration: underline; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.chip-remove { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--text); border-radius: 99px; padding: 6px 12px; font-size: 14px; text-decoration: none; }
.chip-remove:hover { background: var(--text); color: var(--background); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Caractéristiques de la fiche produit */
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

/* Suggestions de recherche */
.search { position: relative; overflow: visible; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; background: var(--background); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 24px 50px -20px #0004; padding: 8px; max-height: 70vh; overflow: auto; }
.suggest-title { margin: 8px 10px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); text-decoration: none; }
.suggest a:hover, .suggest a.on { background: var(--surface); }
.suggest-product img, .suggest-product i { width: 40px; height: 40px; border-radius: calc(var(--r) * .6); object-fit: cover; background: var(--surface); flex: none; }
.suggest-product span { flex: 1; }
.suggest-all { color: var(--accent); font-weight: 600; border-top: 1px solid var(--border); margin-top: 6px; border-radius: 0 !important; }
.suggest-empty { margin: 10px; color: var(--muted); }

/* Espace client : écran de connexion dessiné par le thème (formulaire à gauche, visuel à droite) */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 140px); }
.auth-form { display: grid; place-items: center; padding: clamp(32px, 6vw, 80px) 24px; }
.auth-inner { width: 100%; max-width: 420px; }
.auth-kicker { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.auth h1 { font-size: clamp(32px, 3.6vw, 44px); margin: 0 0 10px; }
.auth-sub { margin: 0 0 32px; color: var(--muted); font-size: 17px; }
.auth-fields .dca-auth, .auth-fields .dca-form { max-width: none; }
.auth-fields .dca-form { gap: 16px; }
.auth-fields .dca-field { gap: 7px; font-size: 14px; }
.auth-fields .dca-field span { opacity: 1; color: var(--text); font-weight: 600; }
.auth-fields .dca-field input { width: 100%; box-sizing: border-box; height: 52px; padding: 0 16px; font-size: 16px; background: var(--background); border: 1px solid var(--border); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.auth-fields .dca-field input:hover { border-color: color-mix(in srgb, var(--text) 35%, var(--border)); }
.auth-fields .dca-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.auth-fields .dca-btn { width: 100%; height: 54px; margin-top: 8px; background: var(--accent); border-radius: var(--r); font-size: 16px; transition: filter .15s, transform .15s; }
.auth-fields .dca-btn:hover { filter: brightness(1.1); }
.auth-fields .dca-btn:active { transform: translateY(1px); }
.auth-fields .dca-check { color: var(--muted); }
.auth-fields .dca-check a, .auth-fields .dca-links a { color: var(--accent); font-weight: 600; text-decoration: none; }
.auth-fields .dca-links { margin-top: 24px; color: var(--muted); font-size: 15px; text-align: center; }
.auth-fields .dca-lead { color: var(--muted); opacity: 1; }
.auth-fields .dca-msg { border-radius: var(--r); }
.auth-visual { position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-end;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 70%, #fff) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 70%, #000) 100%); }
.auth-visual.with-image { background: linear-gradient(180deg, #0000 30%, #000c), var(--hero) center / cover; }
.auth-visual::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; border: 1px solid #ffffff2e; box-shadow: 0 0 0 80px #ffffff0d, 0 0 0 160px #ffffff08; }
.auth-visual.with-image::before { display: none; }
.auth-visual-inner { position: relative; padding: clamp(32px, 5vw, 72px); max-width: 560px; }
.auth-visual-title { font: 700 clamp(30px, 3.4vw, 46px)/1.08 var(--font-head); letter-spacing: -.02em; margin: 0 0 32px; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.auth-perks li { display: grid; gap: 4px; padding-left: 38px; position: relative; }
.auth-perks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: #ffffff26 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.auth-perks b { font-size: 17px; }
.auth-perks span { opacity: .85; line-height: 1.5; }
.page-account .site-footer { margin-top: 0; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-visual-inner { padding: 36px 24px 44px; }
  .auth-visual-title { font-size: 26px; margin-bottom: 20px; }
}

/* Pages du compte connecté */
.account-page { padding-bottom: 64px; }
.account-body .dca-field input { background: var(--background); border: 1px solid var(--border); border-radius: var(--r); }
.account-body .dca-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); outline: none; }
.account-body .dca-btn { background: var(--accent); border-radius: var(--r); padding: 15px 24px; }
.account-body .dca-menu a { opacity: .65; }

.notice { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r); background: #e6f5ec; color: #16653a; }
.notice.err { background: #fde8ea; color: #a0071f; }

.fav { border: 0; background: none; padding: 4px 0; font: 600 15px var(--font); color: var(--accent); cursor: pointer; }
.fav.on { color: var(--sale); }

/* Avis et questions */
#avis { scroll-margin-top: 130px; }
.block-head h2 small { font: 500 15px var(--font); color: var(--muted); margin-left: 8px; }
.review { padding: 16px 0; border-top: 1px solid var(--border); }
.review p { margin: 0 0 6px; }
.stars, .card-rating { color: #b7791f; }
.card-rating { margin: 0; font-size: 14px; }
.card-rating small, .review-by { color: var(--muted); font-size: 14px; }
.review-reply { margin-top: 10px !important; padding: 12px 14px; border-radius: var(--r); background: var(--surface); }
.questions-title { margin: 32px 0 8px; }
.ask { margin-top: 12px; }
.ask summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.review-form { display: grid; gap: 12px; max-width: 560px; margin-top: 16px; }
.review-form label { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.review-form small { font-weight: 400; color: var(--muted); }
.review-form input, .review-form textarea, .review-form select { font: 400 16px var(--font); color: inherit; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--r); background: var(--background); }
.review-form .btn { justify-self: start; }
.review-form .hp { position: absolute; left: -9999px; }

/* Vitrine : en-tête sans recherche, bouton de rendez-vous, accès aux pages */
.header-spacer { flex: 1; }
.header-cta { white-space: nowrap; }
.page-tile { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.block-end { height: 64px; }