/* ============================================================
   AB1 PLUS — Informatique reconditionnée
   « Eco recommerce / circular lifecycle »
   Feuille de style unique (mobile-first)
   Typographie : Nunito (ronde) + Fraunces (serif, chiffres)
   Palette : émeraude / crème / charbon doux — jamais de fond sombre
   ============================================================ */

:root {
  --green-950: #0A3D2B;
  --green-800: #0C5A44;
  --green-700: #0E7A5F;
  --green-600: #128A6B;
  --green-500: #22A079;
  --green-400: #4AB891;
  --green-200: #B8DEC9;
  --green-100: #E0F0E8;
  --green-50:  #F0F7F3;

  --cream:    #FAF6EF;
  --cream-2:  #F4EEE2;
  --cream-3:  #EDE5D3;
  --paper:    #FFFDF8;

  --charcoal: #2B2F2A;
  --ink:      #21251F;
  --muted:    #5F665E;
  --line:     #E3DCCB;
  --line-strong: #D6CDB8;

  --amber:    #B97A2B;
  --amber-2:  #9A651F;
  --amber-bg: #F6E7CF;
  --grade-c:  #7A6F64;
  --grade-c-bg: #EFEAE4;

  --radius:    20px;
  --radius-sm: 13px;
  --radius-lg: 28px;
  --shadow:    0 2px 6px rgba(33,37,31,.05), 0 14px 34px rgba(33,37,31,.09);
  --shadow-sm: 0 1px 2px rgba(33,37,31,.05), 0 6px 16px rgba(33,37,31,.07);

  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-num:  "Fraunces", Georgia, "Times New Roman", serif;

  --leaf-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 64 64'%3E%3Cpath d='M32 58C13 47 13 19 32 6C51 19 51 47 32 58Z' fill='none' stroke='%230E7A5F' stroke-opacity='0.07' stroke-width='1.4'/%3E%3Cpath d='M32 58V20' stroke='%230E7A5F' stroke-opacity='0.07' stroke-width='1.2'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green-200); color: var(--green-950); }

img, svg { vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.16;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }

:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green-700); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Leaf & cycle decorative motifs ---------- */
.leaf-motif { color: var(--green-200); }
.leaf-motif--soft { color: var(--green-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .9);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--charcoal); }
.brand:hover { color: var(--charcoal); }
.brand-mark { flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(14,122,95,.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-body); font-weight: 800; font-size: 1.4rem; letter-spacing: -.01em; color: var(--charcoal); }
.brand-plus { color: var(--green-600); }
.brand-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 700; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 0 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 13px; cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  flex-direction: column;
  position: absolute; top: 72px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 10px 20px 20px;
  gap: 4px;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--charcoal); font-weight: 700;
}
.site-nav a:hover { background: var(--green-50); color: var(--green-800); }
.site-nav a[aria-current="page"] { color: var(--green-700); font-weight: 800; background: var(--green-50); }
.site-nav .nav-cta { color: #fff; background: var(--green-700); box-shadow: 0 6px 16px rgba(14,122,95,.24); }
.site-nav .nav-cta:hover { background: var(--green-800); color: #fff; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .8rem; font-weight: 800; letter-spacing: .04em;
  white-space: nowrap;
}
.lang-switch .lang-link {
  color: var(--muted); text-decoration: none; padding: 4px 7px; border-radius: 7px;
}
.lang-switch a.lang-link:hover { color: var(--green-700); background: var(--green-50); }
.lang-switch .lang-link.is-active { color: var(--green-700); background: var(--green-100); }
.lang-switch .lang-sep { color: var(--line-strong); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    background: transparent; border: none; padding: 0; gap: 2px; margin-left: auto;
  }
  .lang-switch { margin-left: 10px; }
  .site-nav a { padding: 8px 12px; font-size: .93rem; border-radius: 999px; }
  .site-nav a:hover { background: var(--green-100); }
  .site-nav .nav-cta { margin-left: 10px; padding: 9px 16px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .78rem 1.4rem; border-radius: 999px; text-decoration: none;
  font-weight: 800; font-size: .95rem; line-height: 1.2; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(14,122,95,.28); }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-400); }
.btn--outline:hover { background: var(--green-50); border-color: var(--green-600); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--cream-2); }
.btn--light { background: #fff; color: var(--green-800); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.btn--light:hover { background: var(--green-50); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800;
  color: var(--green-700); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green-500); border-radius: 2px; }

.section { padding: 60px 0; }
.section--alt { background: var(--green-50); background-image: var(--leaf-pattern); }
.section--cream2 { background: var(--cream-2); }

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.45rem); }
.lead { font-size: 1.13rem; color: var(--muted); }

/* ---------- Hero (trust-first) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 52px 0 60px;
  background:
    radial-gradient(62% 62% at 88% 8%, rgba(34,160,121,.16), transparent 70%),
    radial-gradient(42% 46% at 4% 92%, rgba(14,122,95,.14), transparent 70%),
    var(--cream);
  background-image: var(--leaf-pattern), radial-gradient(62% 62% at 88% 8%, rgba(34,160,121,.14), transparent 70%), radial-gradient(42% 46% at 4% 92%, rgba(14,122,95,.12), transparent 70%);
  background-size: auto, auto, auto;
}
.hero-inner { display: grid; gap: 36px; align-items: center; }
.hero-title { font-size: clamp(2.1rem, 5.4vw, 3.4rem); letter-spacing: -.02em; }
.hero-title .accent { color: var(--green-700); }
.hero-sub { font-size: 1.13rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-size: .84rem; font-weight: 800; color: var(--charcoal); box-shadow: var(--shadow-sm);
}
.hero-badge svg { color: var(--green-600); }

.hero-stage { display: grid; grid-template-columns: 1fr; gap: 18px; }

.device-panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(165deg, var(--green-100), var(--green-50));
  border: 1px solid var(--green-200);
  padding: 30px 24px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.device-panel .device-svg { width: min(100%, 330px); height: auto; display: block; }
.device-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-700); color: #fff; border-radius: 999px;
  padding: 9px 18px; font-weight: 800; font-size: .88rem;
  box-shadow: 0 8px 18px rgba(14,122,95,.25);
}

/* ---------- Product visual panel (produit.html) ---------- */
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(165deg, var(--green-100), var(--green-50));
  border: 1px solid var(--green-200); padding: 26px; text-align: center;
}
.hero-visual .device-svg { width: min(100%, 340px); height: auto; }
.hero-visual .hero-visual-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: var(--green-700); color: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .88rem;
}

/* ---------- Grade legend (signature) ---------- */
.grade-legend {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px 22px 20px;
  display: flex; flex-direction: column; height: 100%;
}
.grade-legend-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.grade-legend-head svg { color: var(--green-600); flex: 0 0 auto; }
.grade-legend-title { font-size: 1.02rem; font-weight: 800; color: var(--charcoal); margin: 0; }
.grade-legend-sub { font-size: .82rem; color: var(--muted); margin: 0 0 14px; }
.grade-legend-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.grade-legend-item { display: flex; align-items: center; gap: 14px; }
.grade-legend-item .grade-txt strong { display: block; color: var(--charcoal); font-size: .98rem; }
.grade-legend-item .grade-txt span { color: var(--muted); font-size: .85rem; }
.grade-legend-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: 10px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 14px; padding: 12px 14px;
}
.grade-legend-foot svg { color: var(--green-700); flex: 0 0 auto; }
.grade-legend-foot span { font-weight: 800; color: var(--green-800); font-size: .92rem; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.02fr .98fr; }
  .hero-stage { grid-template-columns: 1fr 1fr; }
}

/* ---------- Trust bar ---------- */
.trustbar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 800; color: var(--charcoal);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}
.trust-item svg { color: var(--green-600); flex: 0 0 auto; }

/* ---------- Lifecycle timeline (signature) ---------- */
.lifecycle { position: relative; margin-top: 18px; }
.lifecycle-line {
  display: none;
  position: absolute; top: 27px; left: 8.3333%; right: 8.3333%; height: 2px;
  background: linear-gradient(90deg, var(--green-200), var(--green-500) 50%, var(--green-200));
}
.lifecycle-track { display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; }
.lifecycle-step { position: relative; text-align: left; display: flex; gap: 14px; align-items: flex-start; }
.lifecycle-step:nth-child(n+2) { }
.lifecycle-step:not(:last-child)::after {
  content: ""; position: absolute; left: 27px; top: 54px; width: 2px;
  height: calc(100% - 54px); background: var(--green-200);
}
.lifecycle-node {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: #fff; border: 2px solid var(--green-500); color: var(--green-700);
  font-family: var(--font-num); font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px var(--green-50);
}
.lifecycle-step h3 { margin: 6px 0 2px; font-size: 1.02rem; }
.lifecycle-step p { margin: 0; color: var(--muted); font-size: .88rem; }

@media (min-width: 760px) {
  .lifecycle-line { display: block; }
  .lifecycle-track { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .lifecycle-step { display: block; text-align: center; gap: 0; }
  .lifecycle-node { margin: 0 auto 12px; }
  .lifecycle-step:not(:last-child)::after { display: none; }
  .lifecycle-step h3 { margin: 0 0 4px; }
  .lifecycle-step p { padding: 0 4px; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.13rem; }

.feature-card { display: flex; flex-direction: column; gap: 10px; position: relative; padding: 24px; }
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--green-200));
  border-radius: var(--radius) var(--radius) 0 0;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-100); color: var(--green-700);
  border: 1px solid var(--green-200);
}
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Product list (condition transparency) ---------- */
.prod-list { display: flex; flex-direction: column; gap: 14px; }
.prod-row {
  display: grid; grid-template-columns: 1fr; gap: 6px;
  align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.prod-row:hover { border-color: var(--green-200); box-shadow: var(--shadow); }
.prod-row[hidden] { display: none; }

.prod-grade { display: flex; align-items: center; gap: 12px; }
.prod-grade .grade-badge { flex: 0 0 auto; }
.prod-grade-label { display: flex; flex-direction: column; line-height: 1.2; }
.prod-grade-label strong { font-size: .92rem; color: var(--charcoal); }
.prod-grade-label span { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }

.prod-row .device-svg { width: 72px; height: auto; }

.prod-main { display: flex; gap: 16px; align-items: center; }
.prod-info { min-width: 0; }
.prod-info .product-cat { margin-bottom: 2px; }

.product-etat {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 700; color: var(--green-800);
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: 999px; padding: 5px 12px; margin-top: 8px;
}
.product-etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); flex: 0 0 auto; }

.prod-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-price { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--font-num); font-weight: 700; font-size: 1.5rem; color: var(--charcoal); line-height: 1; }
.price--old { font-size: .95rem; color: var(--muted); text-decoration: line-through; }
.price--eco { font-size: .78rem; color: var(--green-700); font-weight: 800; }

.prod-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

.product-cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.product-name { font-size: 1.1rem; margin: 0 0 2px; }
.product-spec { font-size: .86rem; color: var(--muted); margin: 0; }

@media (min-width: 860px) {
  .prod-row { grid-template-columns: auto 96px 1fr auto; gap: 22px; }
  .prod-grade { flex-direction: column; align-items: center; text-align: center; gap: 8px; width: 74px; }
  .prod-grade-label { align-items: center; }
  .prod-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; justify-content: center; }
  .prod-actions { flex-direction: row; align-items: center; }
}

/* ---------- Product-card (legacy, kept for safety) ---------- */
.product-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-media {
  position: relative; background: linear-gradient(180deg, var(--green-50), #fff);
  padding: 22px 22px 16px; text-align: center; border-bottom: 1px solid var(--line);
}
.product-media .device-svg { width: min(100%, 190px); height: auto; }
.product-grade { position: absolute; top: 14px; left: 14px; }
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1 1 auto; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 5px 12px; font-size: .75rem; font-weight: 800; letter-spacing: .01em;
}
.grade-badge {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 1.2rem; color: #fff;
  box-shadow: 0 2px 8px rgba(33,37,31,.16); border: 2px solid #fff;
}
.grade-a { background: var(--green-700); }
.grade-b { background: var(--amber); }
.grade-c { background: var(--grade-c); }
.badge--warranty { background: var(--green-100); color: var(--green-800); }
.badge--stock { background: var(--amber-bg); color: #7A531D; }
.badge--cert { background: #fff; color: var(--green-800); border: 1px solid var(--green-200); }

.grade-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.grade-pill {
  display: inline-flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
  font-weight: 800; font-size: .86rem; color: var(--charcoal);
}
.grade-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 64px; height: 64px;
  border-radius: 50%; background: var(--green-100);
}
.stat-value { font-family: var(--font-num); font-size: 1.95rem; font-weight: 700; color: var(--green-700); line-height: 1; }
.stat-label { font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-700); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 700; font-size: 1.08rem;
  box-shadow: 0 0 0 4px var(--green-100);
}
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Quote / reviews ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: "“"; position: absolute; top: 6px; left: 16px;
  font-family: var(--font-num); font-size: 3.4rem; line-height: 1; color: var(--green-200);
}
.quote-stars { color: var(--amber); letter-spacing: 2px; font-size: .95rem; }
.quote-text { font-size: 1rem; color: var(--charcoal); font-style: italic; margin: 12px 0 12px; }
.quote-author { font-size: .85rem; color: var(--muted); font-weight: 800; }

/* ---------- CTA band (vibrant emerald, never dark) ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #fff; padding: 40px 28px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band::before { width: 320px; height: 320px; background: rgba(255,255,255,.10); top: -130px; right: -90px; }
.cta-band::after { width: 260px; height: 260px; background: rgba(255,255,255,.08); bottom: -120px; left: -80px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cta-band p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 20px; }
.cta-band .btn { margin: 4px 6px; }
.cta-band a { color: #fff; }

/* ---------- B2B split (distinct section) ---------- */
.b2b-grid { align-items: center; }
.b2b-cards { display: grid; gap: 12px; }
.b2b-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm); color: var(--charcoal);
}
.b2b-card:hover { border-color: var(--green-400); color: var(--charcoal); }
.b2b-card svg { color: var(--green-600); flex: 0 0 auto; }
.b2b-card .b2b-main { flex: 1 1 auto; }
.b2b-card .b2b-title { font-weight: 800; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.b2b-card .b2b-sub { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.b2b-card .b2b-arrow { color: var(--green-700); }

/* ---------- Tables ---------- */
.spec-table {
  width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; font-size: .92rem;
}
.spec-table caption {
  text-align: left; padding: 14px 16px; font-weight: 800; color: var(--charcoal);
  font-family: var(--font-body); font-size: 1.05rem;
}
.spec-table th, .spec-table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 32%; background: var(--green-50); color: var(--charcoal); font-weight: 800; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: .82rem; color: var(--muted); margin: 18px 0 4px;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-700); }
.breadcrumbs .sep { color: var(--green-500); }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; font-size: .88rem; color: var(--charcoal); }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; padding: .72rem .9rem; font-size: .95rem; font-family: var(--font-body);
  color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 13px;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); background: #fff; }
.textarea { min-height: 130px; resize: vertical; }

.check-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green-700); }

.form-success { background: var(--green-100); border: 1px solid var(--green-200); color: var(--green-950); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; }
.form-success h3 { margin: 0 0 6px; color: var(--green-950); display: flex; align-items: center; gap: 8px; }
.form-success p { margin: 0; font-size: .92rem; }

/* ---------- FAQ / accordion ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: none; cursor: pointer;
  padding: 16px 18px; font-size: .98rem; font-weight: 800; color: var(--charcoal);
  font-family: var(--font-body); display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq-q::after { content: "+"; font-size: 1.3rem; color: var(--green-700); font-weight: 600; line-height: 1; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); font-size: .93rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Article cards ---------- */
.article-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.article-cover {
  position: relative; height: 150px; background: linear-gradient(140deg, var(--green-100), var(--green-50));
  border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--green-700);
}
.article-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.article-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); font-weight: 800; }
.article-card h3 { font-size: 1.08rem; margin: 0; }
.article-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.article-date { font-size: .78rem; color: var(--muted); margin-top: auto; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal-body h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal-body h3 { font-size: 1.1rem; margin-top: 1.3em; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--green-50); }
.placeholder {
  font-family: var(--font-body); font-weight: 700; color: #8A7A5A;
  background: var(--cream-2); border: 1px dashed var(--green-200); border-radius: 6px; padding: 0 6px; white-space: nowrap;
}
.notice {
  background: var(--amber-bg); border: 1px solid #E4CBA0; border-radius: 14px;
  padding: 14px 18px; color: #6B4A17; font-size: .92rem; margin: 1.4em 0;
}

/* ---------- Footer (light, identity preserved) ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--cream-2); background-image: var(--leaf-pattern);
  color: var(--ink); padding: 56px 0 28px; margin-top: 56px;
  border-top: 6px solid var(--green-500);
}
.site-footer::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(34,160,121,.12), transparent 70%);
}
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; position: relative; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-brand .brand-name { color: var(--charcoal); }
.footer-brand .brand-plus { color: var(--green-600); }
.footer-desc { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.footer-title {
  color: var(--green-800); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-body); font-weight: 800; margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-title::before { content: ""; width: 14px; height: 2px; background: var(--green-500); border-radius: 2px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--charcoal); text-decoration: none; font-size: .9rem; }
.footer-col a:hover { color: var(--green-700); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px;
  font-size: .8rem; color: var(--muted); display: grid; gap: 6px; position: relative;
}
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--green-700); }
.footer-legal a:hover { color: var(--green-800); }

/* ---------- Cookie banner (light, compliance preserved) ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  background: #fff; color: var(--charcoal); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 -4px 30px rgba(33,37,31,.18);
  transform: translateY(120%); transition: transform .3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--muted); }
.cookie-banner a { color: var(--green-700); font-weight: 800; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 720px) {
  .cookie-banner { left: auto; right: 24px; bottom: 24px; max-width: 640px; flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner-actions { flex: 0 0 auto; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: var(--green-700); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 800; box-shadow: var(--shadow); z-index: 400;
  opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.inline-icon { width: 1em; height: 1em; flex: 0 0 auto; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-btn {
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 800; font-size: .88rem; cursor: pointer; color: var(--charcoal); font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--green-500); }
.filter-btn.is-active { background: var(--green-700); color: #fff; border-color: var(--green-700); }

.device-svg { display: block; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
