@import url('/assets/fonts/jost.css');

/*
 * Charte FDMA. Les teintes viennent des logos livres : bleu petrole
 * pour le texte, et les quatre pastilles du logo comme accents — une
 * par univers de marque.
 */
/*
 * Les quatre couleurs de la charte portent des noms : ABYSSE (le
 * marin), SOURCE (l'eau douce), ORIGINE (le vivant), EXPERT (les
 * professionnels). Chaque univers garde la sienne d'un bout a l'autre
 * du site — carte, etiquette de produit, emblème.
 */
:root{
  --abysse:#337382;--source:#76ad8a;--origine:#da8c65;--expert:#86897e;
  --ink:#173a44;--muted:#6a7a7e;--line:#dde6e5;--soft:#f3f8f7;--sable:#f8f5f0;--white:#fff;
  --green:var(--abysse);--green-dark:#173a44;
  --reef:var(--abysse);--river:var(--source);--live:var(--origine);--pro:var(--expert);
  --ombre:0 20px 50px rgba(23,58,68,.10);--ombre-douce:0 8px 26px rgba(23,58,68,.06)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font-family:Inter,Arial,sans-serif;line-height:1.5}a{color:inherit}.site-header{height:76px;display:flex;align-items:center;gap:28px;padding:0 max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);z-index:20}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:750}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--ink);color:white;font-size:.78rem}.main-nav{display:flex;gap:24px;margin-left:auto}.main-nav a,.cart-link{text-decoration:none;font-size:.94rem}.cart-link{border:1px solid var(--line);border-radius:999px;padding:10px 14px}.cart-link span{display:inline-grid;place-items:center;background:var(--green);color:white;border-radius:999px;min-width:22px;height:22px;margin-left:6px;font-size:.78rem}
.hero{max-width:1240px;margin:0 auto;padding:64px 24px 30px;text-align:center}.eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;color:var(--green);font-weight:800}.hero h1{font-size:clamp(2.6rem,6vw,5.4rem);line-height:.98;letter-spacing:-.06em;margin:18px auto 24px;max-width:1000px}.hero p{font-size:1.12rem;color:var(--muted);max-width:720px;margin:0 auto 30px}.hero-image{max-width:1240px;margin:20px auto 80px;padding:0 24px}.hero-image img{width:100%;height:min(56vw,650px);object-fit:cover;border-radius:28px;display:block}
.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:12px 18px;background:var(--ink);color:white;text-decoration:none;font-weight:750;cursor:pointer}.button.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.section{max-width:1240px;margin:0 auto;padding:80px 24px}.section-heading{max-width:700px;margin-bottom:34px}.section h2{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.04em;margin:0 0 12px}.section p{color:var(--muted)}
.brand-grid,.proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.brand-card,.proof-card,.product-card,.checkout-card{border:1px solid var(--line);border-radius:22px;background:white}.brand-card{padding:28px;min-height:250px;display:flex;flex-direction:column}.brand-card::before{content:"";height:5px;border-radius:99px;background:var(--accent);margin-bottom:54px}.brand-card h3{font-size:1.6rem;margin:0 0 8px}.brand-card a{margin-top:auto;text-decoration:none;font-weight:750}.proof-card{padding:24px}.proof-card strong{display:block;margin-bottom:8px}
.shop-shell{max-width:1240px;margin:0 auto;padding:52px 24px 90px}.shop-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.shop-head h1,.checkout-title{font-size:clamp(2.4rem,5vw,4.7rem);letter-spacing:-.05em;margin:0}.select{border:1px solid var(--line);border-radius:999px;padding:12px 16px;background:white}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-image-placeholder{height:250px;background:var(--soft);border-radius:22px 22px 0 0;display:grid;place-items:center;overflow:hidden;position:relative}.product-image-placeholder img{width:100%;height:100%;object-fit:contain;padding:24px}.product-image-placeholder span{position:absolute;color:#93a09a;font-weight:800}.product-card-body{padding:22px}.brand-label{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--green);margin:0}.product-card h2{font-size:1.45rem;margin:6px 0}.muted{color:var(--muted)}.product-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.product-card-footer strong{font-size:1.18rem}
.checkout-shell{max-width:1180px;margin:0 auto;padding:52px 24px 90px}.checkout-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:24px;align-items:start}.checkout-card{padding:26px;margin-bottom:18px}.checkout-card h2{margin:0 0 18px;font-size:1.35rem}.cart-line{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-line span{display:block;color:var(--muted);font-size:.9rem}.quantity-control{display:flex;align-items:center;gap:8px}.quantity-control button{border:1px solid var(--line);background:white;border-radius:999px;min-width:32px;height:32px;cursor:pointer}.quantity-control .remove{width:auto;padding:0 10px;color:#8e3b33}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field.full{grid-column:1/-1}.field label{display:block;font-size:.84rem;font-weight:700;margin-bottom:6px}.field input,.field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 14px;font:inherit}.choice{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:14px;margin-bottom:10px}.service-point{display:flex;gap:10px;padding:13px;border:1px solid var(--line);border-radius:12px;margin-top:8px}.summary{position:sticky;top:96px}.summary-row{display:flex;justify-content:space-between;padding:10px 0}.summary-row.total{border-top:1px solid var(--line);font-size:1.25rem;font-weight:800;margin-top:8px;padding-top:18px}.payment-message{min-height:24px;color:#9b392f;margin-top:12px}.thank-you{max-width:720px;margin:100px auto;padding:40px 24px;text-align:center}.thank-you h1{font-size:clamp(2.4rem,6vw,4.5rem);letter-spacing:-.05em}
.site-footer{border-top:1px solid var(--line);padding:48px max(24px,calc((100vw - 1240px)/2));display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;background:var(--soft)}.site-footer a{display:block;text-decoration:none;margin-bottom:8px}
@media(max-width:900px){.main-nav{display:none}.brand-grid,.proof-grid,.product-grid{grid-template-columns:1fr 1fr}.checkout-layout{grid-template-columns:1fr}.summary{position:static}}@media(max-width:620px){.brand-grid,.proof-grid,.product-grid,.field-grid{grid-template-columns:1fr}.site-header{padding:0 16px}.brand span:last-child{display:none}.hero{padding-top:44px}.cart-line{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr}.shop-head{align-items:start;flex-direction:column}}

.address-autocomplete{position:relative}.address-suggestions{position:absolute;z-index:40;top:100%;left:0;right:0;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(23,35,31,.14);overflow:hidden;margin-top:6px}.address-suggestions button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:white;padding:12px 14px;cursor:pointer}.address-suggestions button:hover{background:var(--soft)}.address-suggestions button:last-child{border-bottom:0}.address-suggestions strong,.address-suggestions span{display:block}.address-suggestions span{font-size:.84rem;color:var(--muted);margin-top:2px}


/* Points relais — affichage compact */
.service-point-card {
  position: relative;
  align-items: flex-start;
  padding: 14px 15px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.service-point-card:has(input:checked) {
  border-color: var(--green);
  background: #f4faf7;
}

.service-point-card input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.service-point-content {
  display: block;
  width: 100%;
  min-width: 0;
}

.service-point-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.service-point-heading strong {
  line-height: 1.35;
}

.service-point-distance {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--green);
  white-space: nowrap;
}

.service-point-address {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-point-hours {
  display: block;
  margin-top: 6px;
  color: #87918c;
  font-size: 0.76rem;
  line-height: 1.35;
}

.service-points-toggle {
  display: block;
  margin: 13px auto 2px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}

.service-points-toggle:hover {
  background: var(--soft);
}


/* Statuts des marques et des produits */
.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.status-available {
  color: #17613f;
  background: #e8f5ed;
}

.status-development {
  color: #785812;
  background: #fff4d3;
}

.status-out_of_stock {
  color: #8b342c;
  background: #fbe9e7;
}

.brand-card-disabled {
  cursor: default;
  opacity: 0.78;
}

.brand-card-action-muted {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card-meta .brand-label {
  margin: 0;
}

.product-card button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.product-status-development .product-image-placeholder {
  opacity: 0.82;
}

.price-hidden-development {
  max-width: 160px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--muted);
}


/* Correctif affichage V4.1 */
.brand-card-disabled {
  opacity: 0.68;
}

.brand-card-action-muted {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.variant-label {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.variant-select {
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.product-status-row {
  min-height: 29px;
  margin-top: 13px;
}

.product-development-note {
  color: #78611b;
  font-size: 0.88rem;
  font-weight: 800;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: var(--muted);
}


/* ================================================================
   BOUTIQUE — une carte par référence / format
   ================================================================ */

.shop-intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.catalog-status {
  min-height: 24px;
  color: #9b392f;
}

.product-grid {
  align-items: stretch;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.product-image-placeholder {
  height: auto;
  min-height: 0;
  display: block;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--soft);
}

.product-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 45%,
      #fff 0,
      #f6f9f7 72%
    );
}

.product-gallery-main > img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 22px;
  object-fit: contain;
  object-position: center;
}

.product-image-empty {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  color: #93a09a;
  font-weight: 800;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(23, 35, 31, 0.14);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 20px rgba(23,35,31,.08);
  font-size: 1.5rem;
  z-index: 2;
}

.gallery-arrow-prev {
  left: 10px;
}

.gallery-arrow-next {
  right: 10px;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 8px;
  min-height: 68px;
  padding: 9px 12px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: white;
}

.gallery-thumbnail {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}

.gallery-thumbnail.active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-format {
  display: inline-flex;
  width: fit-content;
  margin: 10px 0 0;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #edf7f1;
  font-size: .78rem;
  font-weight: 800;
}

.product-target {
  margin: 13px 0 0;
}

.product-description {
  display: -webkit-box;
  margin: 14px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 22px;
}

.product-price {
  font-size: 1.18rem;
}

.product-card-meta .status-badge:empty {
  display: none;
}

/* ================================================================
   HOMEPAGE — illustrations de marques administrables
   ================================================================ */

.brands-loading {
  grid-column: 1 / -1;
}

.brand-card-visual {
  min-height: 360px;
  padding: 0;
  overflow: hidden;
}

.brand-card-visual::before {
  display: none;
}

.brand-card-image {
  height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
}

.brand-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-card-image span {
  color: #89958f;
  font-weight: 850;
}

.brand-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.brand-card-content h3 {
  font-size: 1.55rem;
}

.brand-card-content a,
.brand-card-content .brand-card-action-muted {
  margin-top: auto;
}

/* ================================================================
   PAGES JURIDIQUES
   ================================================================ */

.legal-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.legal-shell-compact {
  max-width: 1100px;
}

.legal-hero {
  max-width: 850px;
  margin-bottom: 46px;
}

.legal-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.legal-hero > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.legal-meta span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: .78rem;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.legal-toc strong {
  margin-bottom: 7px;
}

.legal-toc a {
  padding: 5px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
}

.legal-toc a:hover {
  color: var(--green);
}

.legal-document {
  min-width: 0;
}

.legal-document section {
  position: relative;
  padding: 0 0 36px 58px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  scroll-margin-top: 105px;
}

.legal-document section:last-child {
  border-bottom: 0;
}

.legal-number {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.legal-document h2 {
  margin: 0 0 15px;
  font-size: 1.55rem;
  letter-spacing: -.025em;
}

.legal-document p {
  margin: 0 0 13px;
  color: #48544f;
  line-height: 1.72;
}

.legal-document a,
.legal-card a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.legal-fact-grid p {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.legal-note,
.legal-alert {
  margin: 18px 0;
  padding: 15px 17px;
  border-radius: 13px;
  font-size: .9rem;
  line-height: 1.55;
}

.legal-note {
  border-left: 3px solid var(--green);
  background: #f0f8f4;
}

.legal-alert {
  border: 1px solid #ead9a8;
  color: #68561c;
  background: #fff9e8;
}

.legal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.legal-card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-kicker {
  color: var(--green);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-card h2 {
  margin: 8px 0 14px;
  font-size: 1.35rem;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-definition-list {
  margin: 0;
}

.legal-definition-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.legal-definition-list div:last-child {
  border-bottom: 0;
}

.legal-definition-list dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.legal-definition-list dd {
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }

  .legal-cards {
    grid-template-columns: 1fr;
  }

  .legal-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .product-gallery-main > img {
    padding: 14px;
  }

  .legal-shell {
    padding: 44px 18px 70px;
  }

  .legal-toc {
    grid-template-columns: 1fr 1fr;
  }

  .legal-document section {
    padding-left: 36px;
  }

  .legal-fact-grid {
    grid-template-columns: 1fr;
  }

  .legal-definition-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}


.homepage-hero-media {
  min-height: min(56vw, 650px);
}

.homepage-hero-media > img {
  width: 100%;
  height: min(56vw, 650px);
  display: block;
  border-radius: 28px;
  object-fit: cover;
}

.homepage-hero-fallback {
  width: 100%;
  height: min(56vw, 650px);
  min-height: 340px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 28px;
  color: var(--muted);
  background:
    radial-gradient(
      circle at 50% 40%,
      #f8fbf9 0,
      #eef4f1 100%
    );
  text-align: center;
}

.homepage-hero-fallback span {
  max-width: 340px;
  padding: 24px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .homepage-hero-media,
  .homepage-hero-media > img,
  .homepage-hero-fallback {
    height: 68vw;
    min-height: 260px;
  }
}




/* ==========================================================
   CONSENTEMENT ANALYTICS — VERSION DISCRÈTE
   ========================================================== */

.fdm-consent{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:9999;

  width:min(
    430px,
    calc(100vw - 28px)
  );

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  padding:10px 12px;

  border:1px solid
    rgba(19,37,31,.14);

  border-radius:14px;

  color:var(--ink);

  background:
    rgba(255,255,255,.97);

  box-shadow:
    0 10px 32px
    rgba(19,37,31,.12);

  backdrop-filter:blur(10px);
}

.fdm-consent p{
  margin:0;

  color:var(--muted);

  font-size:.76rem;
  line-height:1.35;
}

.fdm-consent-actions{
  display:flex;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}

.fdm-consent-actions button{
  min-height:auto;

  padding:7px 10px;

  border:1px solid
    var(--line);

  border-radius:999px;

  color:var(--ink) !important;

  background:#fff !important;

  font:inherit;
  font-size:.72rem;
  font-weight:750;

  cursor:pointer;
}

.fdm-consent-actions
.fdm-consent-accept,
.fdm-consent-actions
button[data-consent="true"]{
  color:#fff !important;

  border-color:
    var(--ink) !important;

  background:
    var(--ink) !important;
}

.fdm-consent-actions
button:hover{
  transform:translateY(-1px);
}

@media(max-width:620px){
  .fdm-consent{
    right:8px;
    bottom:8px;

    width:
      calc(100vw - 16px);

    gap:10px;

    padding:9px 10px;
  }

  .fdm-consent p{
    font-size:.7rem;
  }

  .fdm-consent-actions
  button{
    padding:6px 9px;
  }
}

.product-buy-actions {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
}
.product-buy-now {
  border:1px solid var(--ink);
  border-radius:999px;
  padding:11px 15px;
  background:#fff;
  color:var(--ink);
  font-weight:800;
  cursor:pointer;
}
.product-buy-now:hover {
  background:var(--ink);
  color:#fff;
}
@media(max-width:520px) {
  .product-buy-actions {
    width:100%;
  }
  .product-buy-actions button {
    flex:1;
  }
}


.product-buy-actions {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.product-buy-actions .button {
  min-width:100px;
}

.product-buy-now {
  background:#fff !important;
  color:var(--ink) !important;
  border:1px solid var(--ink) !important;
}

.product-buy-now:hover {
  background:var(--ink) !important;
  color:#fff !important;
}


/* =========================================================
   FDM V8 — vitrine éditoriale et SEO
   ========================================================= */

.hero-v8 {
  max-width:1440px;
  margin:0 auto;
  padding:clamp(48px,7vw,104px) clamp(22px,5vw,72px) 44px;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
  gap:clamp(32px,5vw,80px);
  align-items:center;
  text-align:left;
}

.hero-v8 h1 {
  max-width:850px;
  margin:14px 0 22px;
  font-size:clamp(3rem,6vw,6.8rem);
  line-height:.93;
  letter-spacing:-.065em;
}

.hero-v8 .hero-intro {
  max-width:720px;
  margin:0;
  font-size:clamp(1.08rem,1.5vw,1.35rem);
}

.hero-v8 .actions {
  justify-content:flex-start;
  margin-top:30px;
}

.hero-signals {
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  padding:0;
  margin:28px 0 0;
  list-style:none;
  color:var(--muted);
  font-size:.9rem;
}

.hero-signals li::before {
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:8px;
  border-radius:50%;
  background:var(--green);
}

.hero-v8 .homepage-hero-media {
  min-height:520px;
  border-radius:30px;
  overflow:hidden;
  background:#e9f1ed;
}

.hero-v8 .homepage-hero-media img {
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
}

.hero-v8 .homepage-hero-fallback {
  min-height:520px;
}

.section-soft {
  background:#f3f7f5;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-heading-split {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr);
  gap:48px;
  align-items:end;
}

.section-heading-split > p,
.section-heading-split > div > p:not(.eyebrow) {
  color:var(--muted);
  font-size:1.08rem;
}

.brand-grid-visual .brand-card {
  min-height:420px;
  overflow:hidden;
  background:#fff;
}

.brand-grid-visual .brand-card img {
  aspect-ratio:4/3;
  width:100%;
  object-fit:cover;
}

.expertise-layout {
  display:grid;
  grid-template-columns:minmax(300px,.8fr) minmax(520px,1.2fr);
  gap:64px;
  align-items:start;
}

.proof-grid-v8 {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.proof-card-v8 {
  min-height:210px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  padding:26px;
  border-radius:24px;
  background:#f5f8f6;
}

.proof-icon {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin-bottom:auto;
  border-radius:14px;
  background:#dff0e7;
  color:var(--green);
  font-weight:800;
}

.editorial-section {
  border-top:1px solid var(--line);
}

.article-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.article-grid-full {
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.article-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
}

.article-image {
  display:grid;
  place-items:center;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#e7f0eb;
  color:var(--green);
  font-weight:800;
  text-decoration:none;
}

.article-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.article-card:hover .article-image img {
  transform:scale(1.025);
}

.article-card-body {
  padding:24px;
}

.article-card-body h2,
.article-card-body h3 {
  margin:8px 0 12px;
  font-size:clamp(1.35rem,2vw,2rem);
}

.article-card-body h2 a,
.article-card-body h3 a {
  color:inherit;
  text-decoration:none;
}

.article-card-body > p:not(.eyebrow) {
  color:var(--muted);
}

.article-empty {
  grid-column:1/-1;
  padding:36px;
  border:1px dashed var(--line);
  border-radius:24px;
  text-align:center;
}

.text-link {
  color:var(--ink);
  font-weight:750;
  text-decoration:none;
}

.professional-banner {
  margin-bottom:72px;
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:40px;
  border-radius:30px;
  background:#10271f;
  color:#fff;
}

.professional-banner .eyebrow,
.professional-banner p {
  color:#d6e5de;
}

.professional-banner h2 {
  max-width:900px;
  color:#fff;
}

.button-light {
  flex:none;
  background:#fff !important;
  color:#10271f !important;
}

.content-page,
.article-page {
  min-height:70vh;
}

.page-hero {
  max-width:1180px;
  margin:0 auto;
  padding:90px 28px 42px;
}

.compact-hero h1 {
  max-width:1000px;
  font-size:clamp(2.8rem,5vw,5.5rem);
  line-height:.98;
  letter-spacing:-.05em;
}

.article-detail {
  max-width:920px;
  margin:0 auto;
  padding:80px 28px;
}

.article-detail-header h1 {
  margin:14px 0 22px;
  font-size:clamp(2.8rem,5vw,5.4rem);
  line-height:1;
  letter-spacing:-.05em;
}

.article-lead {
  max-width:760px;
  font-size:1.25rem;
  color:var(--muted);
}

.article-detail-image {
  width:100%;
  max-height:600px;
  margin:40px 0;
  object-fit:cover;
  border-radius:26px;
}

.article-content {
  font-size:1.08rem;
  line-height:1.75;
}

.article-content h2 {
  margin-top:2.4em;
}

.article-content img {
  max-width:100%;
  border-radius:18px;
}

@media(max-width:1000px) {
  .hero-v8,
  .expertise-layout,
  .section-heading-split {
    grid-template-columns:1fr;
  }

  .hero-v8 .homepage-hero-media,
  .hero-v8 .homepage-hero-media img,
  .hero-v8 .homepage-hero-fallback {
    min-height:420px;
  }

  .article-grid,
  .article-grid-full {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:680px) {
  .hero-v8 {
    padding-top:48px;
  }

  .hero-v8 h1 {
    font-size:clamp(2.7rem,14vw,4.2rem);
  }

  .hero-v8 .homepage-hero-media,
  .hero-v8 .homepage-hero-media img,
  .hero-v8 .homepage-hero-fallback {
    min-height:300px;
  }

  .proof-grid-v8,
  .article-grid,
  .article-grid-full {
    grid-template-columns:1fr;
  }

  .professional-banner {
    align-items:flex-start;
    flex-direction:column;
  }
}


/* Fallbacks publics : aucun libellé interne ou technique n'est affiché */
.homepage-hero-fallback {
  position:relative;
  min-height:520px;
  display:flex;
  align-items:flex-end;
  padding:clamp(28px,5vw,54px);
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(73,139,104,.22), transparent 34%),
    radial-gradient(circle at 78% 28%, rgba(150,196,170,.28), transparent 30%),
    linear-gradient(145deg, #e8f2ed 0%, #dbe9e2 48%, #edf5f1 100%);
}

.homepage-hero-fallback::before,
.homepage-hero-fallback::after {
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.42);
  backdrop-filter:blur(8px);
}

.homepage-hero-fallback::before {
  width:280px;
  height:280px;
  top:-70px;
  right:-50px;
}

.homepage-hero-fallback::after {
  width:180px;
  height:180px;
  left:-40px;
  bottom:-40px;
}

.hero-placeholder-copy {
  position:relative;
  z-index:1;
  max-width:520px;
  padding:26px 28px;
  border:1px solid rgba(255,255,255,.58);
  border-radius:22px;
  background:rgba(255,255,255,.68);
  box-shadow:0 18px 60px rgba(17,42,32,.10);
  backdrop-filter:blur(12px);
}

.hero-placeholder-copy span {
  display:block;
  margin-bottom:8px;
  color:var(--green);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hero-placeholder-copy strong {
  display:block;
  color:var(--ink);
  font-size:clamp(1.6rem,3vw,2.7rem);
  line-height:1.02;
  letter-spacing:-.04em;
}

.hero-placeholder-copy p {
  margin:14px 0 0;
  color:var(--muted);
  font-size:1rem;
}

.article-empty {
  background:linear-gradient(145deg,#f5f8f6,#edf4f0);
  border-style:solid;
}

@media(max-width:680px) {
  .homepage-hero-fallback {
    min-height:300px;
    padding:20px;
  }

  .hero-placeholder-copy {
    padding:20px;
  }
}


/* Option 1 : image principale + chiffres clés, sans double vignette */
.homepage-hero-fallback {
  min-height:240px;
  padding:0;
  background:transparent;
  overflow:visible;
}

.homepage-hero-fallback::before,
.homepage-hero-fallback::after,
.hero-placeholder-copy {
  display:none !important;
}

.hero-proof-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  padding-top:16px;
}

.hero-proof-list article {
  min-height:118px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#f6f9f7;
}

.hero-proof-list strong {
  display:block;
  margin-bottom:8px;
  color:var(--ink);
  font-size:1rem;
  letter-spacing:-.02em;
}

.hero-proof-list span {
  display:block;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.45;
}

@media(max-width:680px) {
  .hero-proof-list {
    grid-template-columns:1fr;
  }

  .hero-proof-list article {
    min-height:auto;
  }
}


/* Hero plein écran avec image en fond et texte en fondu */
.hero-overlay {
  position:relative;
  min-height:min(82vh,820px);
  max-width:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  text-align:left;
  background:#10271f;
}

.hero-overlay-media,
.hero-overlay-media img,
.hero-overlay-media .homepage-hero-fallback {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.hero-overlay-media img {
  object-fit:cover;
  object-position:center;
}

.hero-overlay-media .homepage-hero-fallback {
  min-height:0;
  padding:0;
  background:
    linear-gradient(135deg,rgba(16,39,31,.15),rgba(16,39,31,.45)),
    radial-gradient(circle at 75% 25%,rgba(148,196,170,.3),transparent 30%),
    linear-gradient(145deg,#dfeae4,#b9cec3);
}

.hero-overlay-media .homepage-hero-fallback::before,
.hero-overlay-media .homepage-hero-fallback::after,
.hero-proof-list {
  display:none !important;
}

.hero-overlay-shade {
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(7,20,15,.88) 0%,rgba(7,20,15,.72) 38%,rgba(7,20,15,.22) 72%,rgba(7,20,15,.08) 100%),
    linear-gradient(0deg,rgba(7,20,15,.52) 0%,rgba(7,20,15,0) 55%);
}

.hero-overlay-copy {
  position:relative;
  z-index:2;
  width:min(760px,calc(100% - 44px));
  margin:0 0 clamp(44px,7vw,90px) clamp(22px,6vw,88px);
  padding:0;
  color:#fff;
}

.hero-overlay-copy .eyebrow {
  color:rgba(255,255,255,.78);
}

.hero-overlay-copy h1 {
  max-width:760px;
  margin:14px 0 22px;
  color:#fff;
  font-size:clamp(3.2rem,7vw,7.4rem);
  line-height:.92;
  letter-spacing:-.065em;
  text-wrap:balance;
}

.hero-overlay-copy .hero-intro {
  max-width:650px;
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:clamp(1.05rem,1.5vw,1.3rem);
}

.hero-overlay-copy .actions {
  justify-content:flex-start;
  margin-top:30px;
}

.button-ghost-light {
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.38) !important;
  backdrop-filter:blur(8px);
}

.button-ghost-light:hover {
  background:rgba(255,255,255,.16) !important;
}

@media(max-width:900px) {
  .hero-overlay {
    min-height:74vh;
  }

  .hero-overlay-shade {
    background:
      linear-gradient(0deg,rgba(7,20,15,.9) 0%,rgba(7,20,15,.58) 55%,rgba(7,20,15,.12) 100%);
  }

  .hero-overlay-copy {
    width:calc(100% - 36px);
    margin:0 18px 38px;
  }

  .hero-overlay-copy h1 {
    font-size:clamp(2.9rem,13vw,5.1rem);
  }
}

@media(max-width:580px) {
  .hero-overlay {
    min-height:78vh;
  }

  .hero-overlay-copy .actions {
    flex-direction:column;
    align-items:stretch;
  }

  .hero-overlay-copy .button {
    width:100%;
    justify-content:center;
  }
}


/* =========================================================
   FDM V9 — page d'accueil premium, concise et visuelle
   ========================================================= */

.hero-premium {
  position: relative;
  min-height: min(78vh, 780px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #10231c;
}

.hero-premium-media,
.hero-premium-media img,
.hero-premium-fallback,
.hero-premium-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-premium-media img {
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.01);
}

.hero-premium-fallback {
  background:
    radial-gradient(circle at 72% 25%, rgba(130, 185, 153, .34), transparent 26%),
    radial-gradient(circle at 24% 76%, rgba(38, 92, 66, .38), transparent 34%),
    linear-gradient(135deg, #5f8574 0%, #19372c 72%);
}

.hero-premium-overlay {
  background:
    linear-gradient(90deg, rgba(6, 20, 14, .90) 0%, rgba(6, 20, 14, .70) 39%, rgba(6, 20, 14, .20) 72%, rgba(6, 20, 14, .08) 100%),
    linear-gradient(0deg, rgba(6, 20, 14, .56) 0%, transparent 50%);
}

.hero-premium-content {
  position: relative;
  z-index: 2;
  width: min(840px, calc(100% - 48px));
  margin: 0 0 clamp(52px, 8vw, 96px) clamp(24px, 7vw, 112px);
  color: #fff;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .74);
}

.hero-premium h1 {
  max-width: 820px;
  margin: 16px 0 24px;
  font-size: clamp(3.2rem, 6.8vw, 7.2rem);
  line-height: .93;
  letter-spacing: -.065em;
  color: #fff;
  text-wrap: balance;
}

.hero-premium-intro {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .83);
}

.hero-premium-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button-glass {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .34) !important;
  background: rgba(255, 255, 255, .07) !important;
  backdrop-filter: blur(12px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, .14) !important;
}

.hero-scroll-indicator {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 72px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-scroll-indicator i {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, .55);
}

.univers-section {
  padding-top: clamp(92px, 11vw, 150px);
  padding-bottom: clamp(92px, 11vw, 150px);
  background: #f4f7f5;
}

.section-heading-premium {
  max-width: 1180px;
  margin-bottom: 54px;
  align-items: end;
}

.section-heading-premium h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.brand-grid-premium {
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.brand-grid-premium .brand-card {
  min-height: 460px;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
  transition: transform .24s ease, box-shadow .24s ease;
}

.brand-grid-premium .brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(18, 45, 34, .11);
}

.brand-card-placeholder {
  grid-column: 1 / -1;
  min-height: 280px !important;
  display: grid;
  place-items: center;
  border: 1px solid var(--line) !important;
  background: linear-gradient(145deg, #eef4f1, #f8faf9);
}

.brand-card-placeholder-image {
  display: none;
}

.brand-card-placeholder-copy {
  color: var(--muted);
}

.value-section {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(480px, 1.05fr);
  gap: clamp(54px, 8vw, 110px);
  align-items: center;
  padding-top: clamp(100px, 12vw, 170px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.value-visual {
  min-height: 640px;
  border-radius: 28px;
  padding: 24px;
  background:
    radial-gradient(circle at 28% 28%, rgba(125, 180, 149, .28), transparent 30%),
    linear-gradient(150deg, #dce9e2, #8eac9d);
}

.value-visual-frame {
  width: 100%;
  height: 100%;
  min-height: 592px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .50);
  border-radius: 20px;
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  background:
    linear-gradient(0deg, rgba(10, 31, 22, .34), transparent 45%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, .09) 0,
      rgba(255, 255, 255, .09) 1px,
      transparent 1px,
      transparent 72px
    );
}

.value-copy h2 {
  margin: 16px 0 26px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.value-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.proof-list {
  margin: 40px 0 32px;
  border-top: 1px solid var(--line);
}

.proof-list-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.proof-list-index {
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.proof-list-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.proof-list-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.text-link-large {
  font-size: 1.02rem;
}

.editorial-section {
  padding-top: clamp(96px, 11vw, 150px);
  padding-bottom: clamp(96px, 11vw, 150px);
  background: #f7f8f7;
}

.article-grid-premium {
  max-width: 1180px;
  margin: 0 auto;
}

.article-grid-premium .article-card {
  border: 0;
  border-radius: 22px;
  background: #fff;
}

.article-grid-premium .article-card-body {
  padding: 26px;
}

.professional-section {
  max-width: 1280px;
  margin-top: clamp(70px, 8vw, 110px);
  margin-bottom: clamp(70px, 8vw, 110px);
  padding: clamp(42px, 6vw, 76px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(126, 185, 151, .27), transparent 28%),
    linear-gradient(135deg, #16382b, #0b2018);
}

.professional-section h2 {
  max-width: 880px;
  margin: 14px 0 20px;
  color: #fff;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.professional-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 1.05rem;
  line-height: 1.65;
}

.professional-section .button {
  flex: none;
}

@media (max-width: 1100px) {
  .brand-grid-premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-section {
    grid-template-columns: 1fr;
  }

  .value-visual {
    min-height: 460px;
  }

  .value-visual-frame {
    min-height: 412px;
  }
}

@media (max-width: 820px) {
  .hero-premium {
    min-height: 74vh;
  }

  .hero-premium-overlay {
    background:
      linear-gradient(0deg, rgba(6, 20, 14, .92) 0%, rgba(6, 20, 14, .58) 56%, rgba(6, 20, 14, .14) 100%);
  }

  .hero-premium-content {
    width: calc(100% - 36px);
    margin: 0 18px 42px;
  }

  .hero-premium h1 {
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

  .hero-scroll-indicator {
    display: none;
  }

  .section-heading-premium {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .professional-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .hero-premium-actions {
    flex-direction: column;
  }

  .hero-premium-actions .button {
    width: 100%;
    justify-content: center;
  }

  .brand-grid-premium {
    grid-template-columns: 1fr;
  }

  .value-visual {
    min-height: 340px;
  }

  .value-visual-frame {
    min-height: 292px;
  }
}


/* =========================================================
   V9.1 — univers réparés, boutique plus vivante
   ========================================================= */
html { scroll-behavior:smooth; }

.brand-card,
.product-card {
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity .5s ease var(--reveal-delay,0ms),
    transform .5s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms),
    box-shadow .28s ease,
    border-color .28s ease;
}

.brand-card.is-visible,
.product-card.is-visible {
  opacity:1;
  transform:translateY(0);
}

.brand-grid-premium .brand-card {
  position:relative;
  isolation:isolate;
}

.brand-grid-premium .brand-card::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:inherit;
  box-shadow:0 18px 48px rgba(18,45,34,.14);
  opacity:0;
  transition:opacity .28s ease;
}

.brand-grid-premium .brand-card:hover::after { opacity:1; }
.brand-grid-premium .brand-card:hover { transform:translateY(-8px); }
.brand-grid-premium .brand-card:hover .brand-card-image img { transform:scale(1.045); }
.brand-card-image { overflow:hidden; }
.brand-card-image img { transition:transform .55s cubic-bezier(.2,.7,.2,1); }

.shop-shell { padding-top:clamp(70px,8vw,120px); padding-bottom:clamp(90px,10vw,150px); }
.shop-head { align-items:end; margin-bottom:clamp(42px,6vw,74px); }
.shop-head h1 { font-size:clamp(3.4rem,6vw,6.5rem); letter-spacing:-.06em; line-height:.95; }
.shop-intro { max-width:680px; font-size:1.05rem; line-height:1.65; }

.product-grid { gap:24px; }
.product-card {
  position:relative;
  overflow:hidden;
  border-color:rgba(18,45,34,.10);
  box-shadow:0 10px 30px rgba(18,45,34,.045);
  background:#fff;
}

.product-card:hover {
  transform:translateY(-9px);
  border-color:rgba(31,128,90,.24);
  box-shadow:0 24px 60px rgba(18,45,34,.13);
}

.product-gallery-main { overflow:hidden; background:#edf4f0; }
.product-gallery-main img {
  transition:transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease;
}
.product-card:hover .product-gallery-main img { transform:scale(1.045); }

.product-card-body { padding:28px; }
.product-card h2 { transition:color .25s ease; }
.product-card:hover h2 { color:var(--green); }

.product-buy-actions { display:flex; gap:10px; }
.product-buy-actions .button { min-width:106px; transition:transform .2s ease, box-shadow .2s ease, background .2s ease; }
.product-buy-actions .button:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(18,45,34,.13); }
.product-buy-now { background:#fff !important; color:var(--ink) !important; border:1px solid var(--line) !important; }
.product-buy-now:hover { border-color:var(--green) !important; }

.gallery-arrow { opacity:0; transform:translateY(4px); transition:opacity .22s ease, transform .22s ease, background .22s ease; }
.product-card:hover .gallery-arrow { opacity:1; transform:translateY(0); }
.gallery-thumbnail { transition:transform .2s ease, border-color .2s ease; }
.gallery-thumbnail:hover { transform:translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .brand-card,.product-card,.brand-card-image img,.product-gallery-main img,.gallery-arrow { transition:none !important; }
  .brand-card,.product-card { opacity:1; transform:none; }
}

@media (max-width:760px) {
  .shop-head { align-items:stretch; }
  .product-buy-actions { flex-direction:column; width:100%; }
  .product-buy-actions .button { width:100%; }
  .gallery-arrow { opacity:1; }
}


/* Code promo — panier V10.6 */
.promo-box {
  margin:14px 0 6px;
  padding:15px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.promo-box label {
  display:block;
  margin-bottom:8px;
  font-size:.82rem;
  font-weight:750;
}

.promo-entry {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}

.promo-entry input {
  min-width:0;
  width:100%;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  font:inherit;
  text-transform:uppercase;
}

.promo-entry .button {
  padding:10px 14px;
  white-space:nowrap;
}

.promo-message {
  min-height:20px;
  margin:7px 0 0;
  font-size:.78rem;
  line-height:1.4;
}

.promo-message.success {
  color:#14704a;
}

.promo-message.error {
  color:#9b392f;
}

.summary-row.discount {
  color:#14704a;
}

.summary-row.discount small {
  margin-left:4px;
  font-size:.67rem;
  font-weight:700;
}

@media(max-width:420px) {
  .promo-entry {
    grid-template-columns:1fr;
  }
}


/* Correctif code promo V10.7 */
.promo-entry {
  grid-template-columns:minmax(0,1fr) auto auto;
}

.promo-remove {
  border:0;
  background:transparent;
  color:#9b392f;
  font-size:.76rem;
  font-weight:700;
  cursor:pointer;
}

.summary-row.savings {
  margin-top:3px;
  color:#14704a;
  font-weight:800;
}

@media(max-width:520px) {
  .promo-entry {
    grid-template-columns:1fr auto;
  }

  .promo-entry input {
    grid-column:1 / -1;
  }
}


/* ------------------------------------------------------------------
 * Identite FDMA
 *
 * Le logo remplace le monogramme, la typographie reprend le dessin
 * geometrique de la marque, et les quatre accents du logo servent de
 * code couleur. Aucun identifiant ni attribut de donnees n'est touche :
 * le catalogue, le panier et le paiement continuent de fonctionner a
 * l'identique.
 * ------------------------------------------------------------------ */

body{font-family:'Jost',Inter,Arial,sans-serif;font-weight:400;letter-spacing:.01em}

h1,h2,h3,.brand,.button,.eyebrow,.brand-label{font-family:'Jost',Inter,Arial,sans-serif}
h1,h2,h3{font-weight:500;letter-spacing:-.02em}
.hero h1,.shop-head h1,.checkout-title,.thank-you h1{font-weight:300;letter-spacing:-.03em}

/* En-tete : le logo, et rien qui le concurrence. */
.site-header{height:88px;background:rgba(255,255,255,.94)}
.brand{gap:14px;font-weight:500}
.brand-mark{width:40px;height:40px;background:transparent;background-image:url('/assets/brand/pastille.svg');background-size:contain;background-repeat:no-repeat;background-position:center;font-size:0}
.brand span:last-child{font-size:0}
.brand span:last-child::after{content:'';display:block;width:230px;height:26px;background-image:url('/assets/brand/logo-couleur.svg');background-size:contain;background-repeat:no-repeat;background-position:left center}
.main-nav a{font-weight:400;letter-spacing:.02em;position:relative;padding-bottom:3px}
.main-nav a::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1.5px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform 180ms ease}
.main-nav a:hover::after{transform:scaleX(1)}
.cart-link{border-color:var(--line);font-weight:500}
.cart-link span{background:var(--green)}

/* Accroche : du souffle, et le motif d'algues en filigrane. */
.hero{position:relative;padding-top:80px}
.hero::before{content:'';position:absolute;inset:-40px 0 auto;height:420px;background-image:url('/assets/brand/motif.svg');background-size:520px;background-position:center -80px;opacity:.05;pointer-events:none;z-index:-1}
.eyebrow{color:var(--green);letter-spacing:.2em;font-weight:500}
/* Sur une photo, le sur-titre et l'accroche restent clairs : la couleur
 * de marque n'y tiendrait pas la lisibilite. */
.eyebrow-light,.hero-premium .eyebrow{color:rgba(255,255,255,.94)}
.hero-premium-intro{color:rgba(255,255,255,.94)}
/* Une ombre discrete garde le texte lisible quelle que soit la photo
 * choisie depuis l'intranet — on ne maitrise pas ce qui sera mis. */
.hero-premium-content h1,.hero-premium-intro,.hero-premium .eyebrow{text-shadow:0 1px 18px rgba(12,32,38,.5)}

.hero-premium-overlay{background:linear-gradient(180deg,rgba(19,48,57,.62),rgba(19,48,57,.5) 45%,rgba(19,48,57,.74))}
.hero-premium .button{background:var(--white);color:var(--ink)}
.hero-premium .button:hover{background:var(--soft)}
.hero-premium .button.secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.hero-premium .button.secondary:hover{background:rgba(255,255,255,.12)}
.hero-image img{border-radius:32px}

/* Boutons : plein pour l'action principale, contour pour le reste. */
.button{background:var(--green);font-weight:500;letter-spacing:.02em;padding:14px 24px;transition:background-color 160ms ease}
.button:hover{background:var(--green-dark)}
.button.secondary{background:var(--white);color:var(--ink);border:1px solid var(--line)}
.button.secondary:hover{background:var(--soft)}

/* Cartes : un liseré de couleur par univers, comme les pastilles. */
.brand-card,.proof-card,.product-card,.checkout-card{border-radius:24px}
.brand-card::before{height:4px}
.brand-card h3{font-weight:500}
.product-card{overflow:hidden;transition:box-shadow 180ms ease,transform 180ms ease}
.product-card:hover{box-shadow:0 18px 44px rgba(23,58,68,.10);transform:translateY(-2px)}
.product-image-placeholder{background:var(--sable)}
.brand-label{color:var(--green);letter-spacing:.16em;font-weight:500}
.product-card h2{font-weight:500}

/* Sections claires alternees, pour respirer entre les blocs. */
.section:nth-of-type(even){background:linear-gradient(180deg,transparent,var(--soft) 12%,var(--soft) 88%,transparent);border-radius:36px}

/* Pied de page : fond profond, logo blanc. */
.site-footer{background:var(--ink);color:#e8efee;border-top:0;padding-top:56px;padding-bottom:40px}
.site-footer a{color:#cfdedd}
.site-footer a:hover{color:var(--white)}
.site-footer strong{font-size:0}
.site-footer strong::after{content:'';display:block;width:250px;max-width:100%;height:28px;background-image:url('/assets/brand/logo-blanc.svg');background-size:contain;background-repeat:no-repeat;background-position:left center;margin-bottom:12px}
.site-footer p{color:#a9bfbe}

/* Formulaires : champs sobres, focus dans la couleur de la marque. */
.field input,.field select,.select{border-radius:14px}
.field input:focus,.field select:focus{outline:2px solid var(--green);outline-offset:1px;border-color:transparent}
.service-point-card:has(input:checked){border-color:var(--green);background:#f1f7f8}

@media(max-width:620px){
  .brand span:last-child::after{width:170px;height:20px}
  .site-header{height:72px}
}


/* ------------------------------------------------------------------
 * Les quatre univers
 *
 * Le graphiste a decline chaque univers : une couleur, une pastille,
 * un cartouche qui porte son nom, un motif. On s'en sert partout ou
 * une marque est nommee, pour qu'un client reconnaisse l'univers avant
 * meme d'avoir lu.
 * ------------------------------------------------------------------ */

[data-brand="ABYSSE"],[data-brand="OceaBloom"]{--univers:var(--abysse)}
[data-brand="SOURCE"],[data-brand="RiverBloom"]{--univers:var(--source)}
[data-brand="ORIGINE"],[data-brand="LiveBloom"]{--univers:var(--origine)}
[data-brand="EXPERT"],[data-brand="BloomLab Pro"]{--univers:var(--expert)}

/* Cartes des univers : liseré de couleur, et la pastille en filigrane
 * qui se revele au survol. */
.brand-card,.brand-grid-premium .brand-card{position:relative;overflow:hidden;border-color:var(--line);border-top:5px solid var(--univers,var(--abysse))}
/* Le filet de couleur est desormais la bordure haute de la carte :
 * l'ancien trait interieur restait cache derriere la photo. */
.brand-card::before{display:none}
.brand-card:hover{box-shadow:var(--ombre)}
.brand-card h3{color:var(--ink)}
.brand-card a{color:var(--univers,var(--abysse))}
.brand-card-action-muted{color:var(--muted)}

/* Etiquette de marque sur une fiche produit. */
.brand-label{color:var(--univers,var(--abysse))}
.product-card::after{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--univers,var(--abysse));opacity:0;transition:opacity 200ms ease}
.product-card{position:relative}
.product-card:hover::after{opacity:1}

/* Pas de bande nommee a cote des titres : une section qui presente les
 * quatre univers ne peut pas porter le nom d'un seul, et l'emblème y
 * devenait un mot vertical sans rapport avec le texte. Les bandes
 * restent disponibles dans assets/brand/univers pour une page dediee a
 * un univers. */

/* Filet des quatre couleurs : il ouvre le pied de page et ferme les
 * pages, comme les quatre pastilles du logo. */
.site-footer{position:relative}
.site-footer::before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,var(--abysse) 0 25%,var(--source) 25% 50%,var(--origine) 50% 75%,var(--expert) 75% 100%)}

/* ------------------------------------------------------------------
 * Respiration generale
 * ------------------------------------------------------------------ */

.section{padding-block:96px}
.section-heading{margin-bottom:44px}
.section h2{line-height:1.05}
.section-heading p{font-size:1.06rem;max-width:62ch}

.brand-grid,.proof-grid,.product-grid{gap:22px}
.proof-card{padding:28px;border-radius:22px;background:var(--white);transition:box-shadow 200ms ease}
.proof-card:hover{box-shadow:var(--ombre-douce)}
.proof-card strong{color:var(--ink);font-weight:500;font-size:1.05rem}

.product-card-footer strong{font-size:1.3rem;font-weight:500}
.product-image-placeholder{background:var(--sable)}

.button{box-shadow:none}
.button:focus-visible,.main-nav a:focus-visible,.cart-link:focus-visible{outline:2px solid var(--abysse);outline-offset:3px}

/* Le fond des sections alternees, plus discret que la bordure. */
.section:nth-of-type(even){background:var(--soft);border-radius:0}

@media(max-width:900px){
  .section{padding-block:64px}
  .section[data-univers] .section-heading{padding-left:0}
  .section[data-univers] .section-heading::before{display:none}
}


/* Le point de couleur des quatre pastilles du logo, repris devant le
 * nom de chaque univers. */
.brand-card h3{display:flex;align-items:center;gap:10px}
.brand-card h3::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--univers,var(--abysse));flex:0 0 auto}
.brand-grid-premium .brand-card{border-top-width:5px}

/* Un filet des quatre couleurs sous l'en-tete : la signature de la
 * maison, presente sur toutes les pages. */
.site-header{position:sticky;border-bottom:0;box-shadow:0 1px 0 var(--line)}
.site-header::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--abysse) 0 25%,var(--source) 25% 50%,var(--origine) 50% 75%,var(--expert) 75% 100%);opacity:.9}

/* Titres de page interieurs : meme respiration que l'accueil. */
.shop-head,.checkout-shell>h1{margin-bottom:38px}
.shop-head h1,.checkout-title{line-height:1.02}

/* ------------------------------------------------------------------
 * Fiches produit : la galerie
 *
 * Les vignettes n'avaient aucune regle de taille : l'image s'affichait
 * en taille reelle et le bouton n'en montrait qu'un coin blanc.
 * ------------------------------------------------------------------ */

.gallery-thumbnail img{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}
.gallery-thumbnail{overflow:hidden;cursor:pointer;transition:border-color 160ms ease}
.gallery-thumbnail:hover{border-color:var(--univers,var(--abysse))}
.gallery-thumbnail.active{border-color:var(--univers,var(--abysse));box-shadow:0 0 0 1px var(--univers,var(--abysse))}

/* Un visuel moins haut : trois produits tiennent dans l'ecran plutot
 * qu'un seul et demi. */
.product-gallery-main{aspect-ratio:1/1;max-height:300px}
.product-gallery-main>img{width:100%;height:100%;object-fit:cover}
.product-image-placeholder{height:auto}
.product-gallery-thumbnails{min-height:0;padding:8px 12px}

/* Les fleches de galerie prennent la couleur de l'univers au survol. */
.gallery-arrow:hover{color:var(--univers,var(--abysse));border-color:var(--univers,var(--abysse))}

/* Le visuel remplit sa zone : une regle plus ancienne le laissait
 * flotter au milieu de bandes vides. */
.product-card .product-gallery-main{height:300px;max-height:none;aspect-ratio:auto;width:100%}
.product-card .product-gallery-main>img{width:100%;height:100%;object-fit:cover;display:block}

/* ------------------------------------------------------------------
 * Corrections
 * ------------------------------------------------------------------ */

/* L'en-tete ne garde que le logo : la pastille faisait doublon avec
 * les quatre points du logo juste a cote. */
.brand-mark{display:none}
.brand{gap:0}

/* Les vignettes montrent le produit entier, pas un carre pris au
 * centre — sur ces photos, le centre tombe sur l'etiquette blanche et
 * la vignette semblait vide. */
.gallery-thumbnail img{object-fit:contain;background:var(--sable)}

/* Le cadre « de la culture a l'usage » etait un rectangle vide : il
 * accueille desormais le motif d'algues du graphiste. */
.value-visual-frame{position:relative;overflow:hidden}
.value-visual-frame::before{content:'';position:absolute;inset:0;background-image:url('/assets/brand/univers/source-motif.svg');background-size:420px;background-position:center;opacity:.5;mix-blend-mode:multiply}
.value-visual-frame>span{position:relative;z-index:1}

/* ------------------------------------------------------------------
 * Acheter en moins de clics
 * ------------------------------------------------------------------ */

/* Les produits en vente, des l'accueil. */
.achat-grille{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.achat-carte{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-top:4px solid var(--univers,var(--abysse));border-radius:24px;background:var(--white);transition:box-shadow 180ms ease,transform 180ms ease}
.achat-carte:hover{box-shadow:var(--ombre);transform:translateY(-2px)}
.achat-carte-image{height:210px;background:var(--sable)}
.achat-carte-image img{width:100%;height:100%;object-fit:cover;display:block}
.achat-carte-corps{display:flex;flex-direction:column;gap:4px;padding:20px;flex:1}
.achat-carte h3{margin:0;font-size:1.3rem;font-weight:500}
.achat-carte-format{margin:0;color:var(--muted);font-size:.95rem}
.achat-carte-pied{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;flex-wrap:wrap}
.achat-carte-pied>strong{font-size:1.3rem;font-weight:500}
.achat-carte-actions{display:flex;gap:8px}
.achat-carte-actions .button{padding:10px 16px;font-size:.95rem}
.achat-rapide-lien{margin-top:28px;text-align:center}

/* La barre de panier : elle suit le visiteur, un seul bouton pour
 * commander. Elle ne s'affiche que s'il y a quelque chose dedans. */
.barre-panier{position:fixed;right:24px;bottom:24px;z-index:60;display:flex;align-items:center;gap:18px;padding:12px 12px 12px 22px;border-radius:999px;background:var(--ink);color:#fff;box-shadow:0 18px 44px rgba(12,32,38,.28);opacity:0;transform:translateY(14px);transition:opacity 220ms ease,transform 220ms ease}
.barre-panier.is-visible{opacity:1;transform:none}
.barre-panier-info{display:flex;flex-direction:column;line-height:1.2}
.barre-panier-info strong{font-weight:500}
.barre-panier-info span{font-size:.9rem;opacity:.8}
.barre-panier .button{background:var(--white);color:var(--ink)}
.barre-panier .button:hover{background:var(--soft)}

/* Les coordonnees rappelees. */
.memoire-client{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:12px 16px;border-radius:14px;background:var(--soft);color:var(--ink);font-size:.94rem}
.memoire-client-effacer{border:0;background:none;padding:0;color:var(--abysse);font:inherit;text-decoration:underline;cursor:pointer}

@media(max-width:900px){
  .achat-grille{grid-template-columns:1fr 1fr}
}

@media(max-width:620px){
  .achat-grille{grid-template-columns:1fr}
  .barre-panier{right:12px;left:12px;bottom:12px;justify-content:space-between}
}

/* ------------------------------------------------------------------
 * Le travail du graphiste, mis a profit
 *
 * Chaque univers a son motif d'algues et son emblème. Ils servent de
 * fond, de texture et de reperes, plutot que de rester dans un dossier.
 * ------------------------------------------------------------------ */

/* En-tete de la boutique : quand on filtre sur une gamme, son motif
 * et sa couleur habillent le titre. */
.shop-head{position:relative;border-radius:28px;padding:28px 32px;transition:background-color 260ms ease}
.shop-head[data-univers]{background:var(--soft)}
.shop-head[data-univers]::after{content:'';position:absolute;inset:0;border-radius:inherit;background-repeat:no-repeat;background-position:right -40px center;background-size:360px;opacity:.14;pointer-events:none}
.shop-head[data-univers="abysse"]::after{background-image:url('/assets/brand/univers/abysse-motif.svg')}
.shop-head[data-univers="source"]::after{background-image:url('/assets/brand/univers/source-motif.svg')}
.shop-head[data-univers="origine"]::after{background-image:url('/assets/brand/univers/origine-motif.svg')}
.shop-head[data-univers="expert"]::after{background-image:url('/assets/brand/univers/expert-motif.svg')}
.shop-head>*{position:relative;z-index:1}

/* Fiches produit : le motif de la gamme en fond du visuel. Les photos
 * detourees ne flottent plus sur du vide. */
.product-card .product-gallery-main,.achat-carte-image{position:relative}
.product-card .product-gallery-main::before,.achat-carte-image::before{content:'';position:absolute;inset:0;background-repeat:repeat;background-size:200px;opacity:.08;pointer-events:none}
[data-brand="ABYSSE"] .product-gallery-main::before,[data-brand="ABYSSE"] .achat-carte-image::before{background-image:url('/assets/brand/univers/abysse-motif.svg')}
[data-brand="SOURCE"] .product-gallery-main::before,[data-brand="SOURCE"] .achat-carte-image::before{background-image:url('/assets/brand/univers/source-motif.svg')}
[data-brand="ORIGINE"] .product-gallery-main::before,[data-brand="ORIGINE"] .achat-carte-image::before{background-image:url('/assets/brand/univers/origine-motif.svg')}
[data-brand="EXPERT"] .product-gallery-main::before,[data-brand="EXPERT"] .achat-carte-image::before{background-image:url('/assets/brand/univers/expert-motif.svg')}
.product-card .product-gallery-main>img,.achat-carte-image img{position:relative;z-index:1}

/* Cartes d'univers : le motif de la gamme se devoile au survol,
 * derriere la photo. */
.brand-card-image{position:relative}
.brand-card-image::before{content:'';position:absolute;inset:0;background-repeat:repeat;background-size:180px;opacity:0;transition:opacity 320ms ease}
.brand-card:hover .brand-card-image::before{opacity:.10}
[data-brand="ABYSSE"] .brand-card-image::before{background-image:url('/assets/brand/univers/abysse-motif.svg')}
[data-brand="SOURCE"] .brand-card-image::before{background-image:url('/assets/brand/univers/source-motif.svg')}
[data-brand="ORIGINE"] .brand-card-image::before{background-image:url('/assets/brand/univers/origine-motif.svg')}
[data-brand="EXPERT"] .brand-card-image::before{background-image:url('/assets/brand/univers/expert-motif.svg')}
.brand-card-image img{position:relative;z-index:1}

/* Pied de page : la pastille en filigrane, assez discrete pour ne pas
 * gener la lecture. */
.site-footer::after{content:'';position:absolute;right:-60px;bottom:-70px;width:320px;height:320px;background:#ffffff;-webkit-mask:url('/assets/brand/pastille.svg') center/contain no-repeat;mask:url('/assets/brand/pastille.svg') center/contain no-repeat;opacity:.05;pointer-events:none}
.site-footer>*{position:relative;z-index:1}

/* Page de remerciement : la pastille celebre la commande. */
.thank-you{position:relative}
.thank-you::before{content:'';display:block;width:96px;height:96px;margin:0 auto 26px;background:var(--abysse);-webkit-mask:url('/assets/brand/pastille.svg') center/contain no-repeat;mask:url('/assets/brand/pastille.svg') center/contain no-repeat}

/* Accroche d'accueil : le motif, un peu plus present. */
.hero::before{opacity:.07}

@media(max-width:620px){
  .shop-head{padding:20px}
  .site-footer::after{display:none}
}
