/* ==========================================================================
   Hector — feuille de style principale
   ========================================================================== */

/* Police hébergée localement (Plus Jakarta Sans, licence OFL) : pas d'appel à Google = plus rapide et conforme RGPD */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Couleurs de marque Hector */
  --blue: #1E90FF;
  --blue-600: #0F78E0;
  --blue-50: #EAF4FF;
  --navy: #1B2A4E;
  --navy-700: #14203D;
  --navy-500: #3A4A70;
  --orange: #F7521E;
  --orange-50: #FFEEE7;

  /* Neutres (légèrement chauds) */
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --line: #E7E4DC;
  --text: #1B2A4E;
  --muted: #5C6781;
  --green: #2E9E5B;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(27, 42, 78, .06), 0 2px 8px rgba(27, 42, 78, .05);
  --shadow: 0 10px 30px -10px rgba(27, 42, 78, .18), 0 2px 6px rgba(27, 42, 78, .06);
  --shadow-lg: 0 30px 60px -20px rgba(27, 42, 78, .30);

  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--white { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

.hl { color: var(--orange); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(30, 144, 255, .7); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 12px 24px -8px rgba(30, 144, 255, .8); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue-50); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }
.btn--lg { padding: 18px 32px; font-size: 18px; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stores a { display: block; transition: transform .15s ease, opacity .15s; }
.stores a:hover { transform: translateY(-2px); }
.stores img { height: 48px; width: auto; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(27,42,78,.2); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy-500); transition: color .15s; white-space: nowrap; }
.nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--navy-500);
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.lang__btn svg { width: 16px; height: 16px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px; display: none;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu a {
  display: flex; width: 100%; justify-content: space-between; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none;
  padding: 10px 12px; border-radius: 8px;
}
.lang__menu a:hover { background: var(--blue-50); }
.lang__menu a[aria-current="true"] { color: var(--blue); }

/* Suggestion de langue (selon la langue du navigateur) */
.lang-hint { background: var(--navy); color: #fff; font-size: 14px; }
.lang-hint .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.lang-hint a { color: #fff; font-weight: 700; }
.lang-hint button { background: none; border: 0; color: #B9C3DA; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.lang__menu small { color: var(--muted); font-weight: 600; }

/* Bouton « Menu » écrit (remplace l'icône seule à trois traits) */
.menu-btn {
  display: none; align-items: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 800; color: #fff;
  background: var(--navy); border: 2px solid var(--navy); border-radius: 999px;
  padding: 9px 16px 9px 13px; cursor: pointer; transition: background .15s, border-color .15s;
}
.menu-btn:hover { background: var(--navy-500); border-color: var(--navy-500); }
.menu-btn svg { width: 18px; height: 18px; flex: none; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] { background: #fff; color: var(--navy); }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: block; }

/* Menu plein écran (téléphone, tablette, petit portable) */
.mobile-menu {
  display: none; position: fixed; inset: 76px 0 0 0; z-index: 49;
  background: var(--bg); padding: 12px 20px 32px; overflow-y: auto;
}
.mobile-menu.is-open { display: block; animation: menu-in .2s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu__nav { display: grid; max-width: 560px; margin: 0 auto 24px; }
.mobile-menu__nav a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  font-size: 19px; font-weight: 700; color: var(--navy); padding: 13px 4px; border-bottom: 1px solid var(--line);
}
.mobile-menu__nav a:active { background: var(--blue-50); }
.mobile-menu__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.mobile-menu__icon svg { width: 21px; height: 21px; }
.mobile-menu__chev { width: 20px; height: 20px; margin-left: auto; color: #A7B0C3; flex: none; }
.mobile-menu__actions { display: grid; gap: 12px; max-width: 560px; margin: 0 auto; }
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu__langs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; max-width: 560px; margin: 26px auto 0; font-size: 15px; font-weight: 700; }
.mobile-menu__langs svg { width: 18px; height: 18px; color: var(--muted); }
.mobile-menu__langs a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.mobile-menu__langs a[aria-current="true"] { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.hero::before {
  /* Sillons de champ, très discrets */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(30,144,255,.13), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(247,82,30,.07), transparent 60%),
    repeating-linear-gradient(-28deg, transparent 0 34px, rgba(27,42,78,.025) 34px 36px);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-50); color: var(--orange);
  font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(247,82,30,.18); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 22px; letter-spacing: -0.035em; }
.hero h1 span { color: var(--blue); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__lead strong { display: block; color: var(--navy); font-weight: 800; margin-bottom: 6px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; color: var(--muted); font-weight: 600; }
.hero__reassure li { display: inline-flex; align-items: center; gap: 6px; }
.hero__reassure svg { width: 18px; height: 18px; color: var(--green); }
/* Preuve de confiance sous le bouton principal */
.hero__proof { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; font-size: 14px; line-height: 1.35; color: var(--navy); transition: border-color .15s; }
.hero__proof:hover { border-color: var(--blue); }
.hero__proof img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.hero__proof strong, .hero__proof [data-i18n="proof.by"] { font-weight: 800; }
.hero__proof small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* Grand bouton après « Comment ça marche » */
.steps-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; text-align: center; }
.steps-cta p { font-size: 14px; font-weight: 600; color: var(--muted); }

.hero__stores { margin-top: 34px; padding-top: 26px; border-top: 1px dashed var(--line); }
.hero__stores p { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }

/* ---------- Téléphone + démo ---------- */
.demo { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 340px; height: 680px;
  background: #0E1528; border-radius: 52px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3656;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 41px; overflow: hidden;
  background: #F4F6FA; display: flex; flex-direction: column;
}
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; background: #0E1528; border-radius: 20px; z-index: 3; }
.app-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 52px 18px 14px; background: #fff; border-bottom: 1px solid #E8ECF3;
}
.app-bar__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px;
}
.app-bar strong { display: block; font-size: 15px; line-height: 1.2; }
.app-bar small { color: var(--green); font-size: 12px; font-weight: 600; }
.chat { flex: 1; min-height: 0; padding: 18px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg { flex-shrink: 0; max-width: 86%; font-size: 14px; line-height: 1.45; padding: 11px 14px; border-radius: 18px; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.msg.is-in { opacity: 1; transform: none; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }

.voice { display: flex; align-items: center; gap: 10px; }
.voice__play { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; flex: none; }
.voice__play svg { width: 12px; height: 12px; }
.voice__wave { display: flex; align-items: center; gap: 3px; height: 24px; }
.voice__wave i { width: 3px; border-radius: 2px; background: rgba(255,255,255,.9); animation: wave 1s ease-in-out infinite; }
.voice__time { font-size: 12px; opacity: .85; font-weight: 600; }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.voice-label { display: block; font-size: 11px; opacity: .8; margin-top: 6px; font-weight: 600; }

.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #B5BDCC; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.record { width: 100%; max-width: 100%; padding: 0; overflow: hidden; }
.record__head { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #E9F7EF; color: var(--green); font-weight: 700; font-size: 13px; }
.record__head svg { width: 16px; height: 16px; }
.record dl { margin: 0; padding: 6px 14px 10px; }
.record dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid #EEF1F6; font-size: 13px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.record dl div:last-child { border-bottom: 0; }
.record dl div.is-in { opacity: 1; transform: none; }
.record dt { color: var(--muted); }
.record dd { margin: 0; font-weight: 700; text-align: right; }

.composer { display: flex; align-items: center; gap: 8px; padding: 12px 14px 26px; background: #fff; border-top: 1px solid #E8ECF3; }
.composer__field { flex: 1; background: #F1F4F9; border-radius: 999px; padding: 10px 14px; font-size: 13px; color: #8A93A8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer__mic { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; position: relative; }
.composer__mic svg { width: 18px; height: 18px; }
.composer__mic.is-rec { background: var(--orange); }
.composer__mic.is-rec::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); animation: pulse 1.2s ease-out infinite; }
@keyframes pulse { from { opacity: .8; transform: scale(.85); } to { opacity: 0; transform: scale(1.25); } }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 700; z-index: 4;
  animation: float 6s ease-in-out infinite;
}
.float-chip__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-chip__icon svg { width: 18px; height: 18px; }
.float-chip small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.float-chip--1 { top: 110px; left: -10px; }
.float-chip--1 .float-chip__icon { background: #E9F7EF; color: var(--green); }
.float-chip--2 { bottom: 120px; right: -14px; animation-delay: -3s; }
.float-chip--2 .float-chip__icon { background: var(--orange-50); color: var(--orange); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Chiffres clés ---------- */
.stats { background: var(--navy); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-28deg, transparent 0 34px, rgba(255,255,255,.025) 34px 36px); pointer-events: none; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stat { padding-left: 20px; border-left: 2px solid rgba(255,255,255,.12); }
.stat__num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat:first-child .stat__num { color: var(--orange); }
.stat__label { color: #B9C3DA; font-weight: 600; margin-top: 10px; font-size: 15px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step__num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 18px; margin-bottom: 22px;
}
.step__icon { position: absolute; top: 30px; right: 28px; color: #C9D3E6; }
.step__icon svg { width: 34px; height: 34px; }
.step h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ---------- Fonctionnalités ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature--rev .feature__visual { order: -1; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); }
.tag svg { width: 16px; height: 16px; }
.feature h3 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin: 18px 0 16px; }
.feature__text > p { color: var(--muted); font-size: 18px; }
.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 2px; }
.example {
  margin-top: 28px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px dashed #C9D3E6; font-size: 15px;
}
.example small { display: block; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-bottom: 6px; }
.example q { font-style: italic; color: var(--navy); }

.feature__visual { position: relative; }
.panel {
  position: relative; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.panel__title { font-weight: 800; font-size: 18px; }
.panel__sub { color: var(--muted); font-size: 14px; font-weight: 600; }
.panel__body { padding: 8px 24px 24px; }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid #F0EEE8; align-items: center; }
.timeline li:last-child { border-bottom: 0; }
.timeline__date { font-size: 13px; font-weight: 700; color: var(--muted); text-align: center; background: #F6F4EF; border-radius: 10px; padding: 6px 4px; line-height: 1.25; }
.timeline__date b { display: block; font-size: 18px; color: var(--navy); }
.timeline strong { display: block; font-size: 15px; }
.timeline span { color: var(--muted); font-size: 14px; }
.timeline li.is-new strong::after { content: attr(data-new); margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--orange); background: var(--orange-50); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.pill svg { width: 14px; height: 14px; }
.pill--orange { color: var(--orange); background: var(--orange-50); }
.pill--green { color: var(--green); background: #E9F7EF; }

/* Visuel photo + fiche superposée (Élevage) */
.feature__visual--photo { padding-bottom: 150px; }
.feature__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 50%; border-radius: 22px; box-shadow: var(--shadow); }
.panel--overlay { position: absolute; right: -24px; bottom: 0; width: 64%; box-shadow: var(--shadow-lg); }
.panel--overlay .panel__head { padding: 16px 20px; }
.panel--overlay .panel__body { padding: 4px 20px 12px; }
.panel--overlay .timeline li { padding: 12px 0; }
.panel--overlay .timeline li:nth-child(n+3) { display: none; }

.visual-bubble {
  position: absolute; max-width: 280px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600;
  padding: 12px 16px; border-radius: 18px 18px 6px 18px; box-shadow: var(--shadow); z-index: 2;
}
.visual-bubble--tr { top: -26px; right: -18px; }
.visual-bubble--tl { top: -26px; left: -18px; border-radius: 18px 18px 18px 6px; }

.invoice { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 24px; }
.invoice__photo {
  aspect-ratio: 3 / 4; border-radius: 12px; background: #F6F4EF; border: 1px solid var(--line);
  padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; position: relative; overflow: hidden;
  transform: rotate(-3deg);
}
.invoice__photo i { display: block; height: 6px; border-radius: 3px; background: #DCD8CE; }
.invoice__photo i:nth-child(1) { width: 60%; height: 9px; background: #C7C2B6; }
.invoice__photo i:nth-child(4) { width: 80%; }
.invoice__photo i:nth-child(6) { width: 50%; }
.invoice__photo .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--blue); box-shadow: 0 0 12px 2px rgba(30,144,255,.6); animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 90%; } }
.invoice dl { margin: 0; display: grid; gap: 4px; align-content: start; }
.invoice dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F0EEE8; font-size: 14px; }
.invoice dt { color: var(--muted); }
.invoice dd { margin: 0; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 80px; padding: 0 24px 24px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--blue-50); }
.bars span:nth-child(5) { background: var(--blue); }

/* ---------- Agents experts ---------- */
.agents { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.agents__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.agent { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.agent:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.agent__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: var(--navy); color: #fff; }
.agent__icon svg { width: 26px; height: 26px; }
.agent h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.agent p { color: var(--muted); }
.agent q { display: block; margin-top: auto; padding-top: 20px; font-style: italic; font-size: 15px; color: var(--navy-500); }
.agent q::before, .agent q::after { content: none; }
.agent__q { margin-top: 20px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: 14px; font-style: italic; color: var(--navy-500); }
.agents__note { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Avant / Avec ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.compare__col { border-radius: var(--radius); padding: 34px 32px; }
.compare__col h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.compare__col li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-weight: 600; }
.compare__col li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.compare__before { background: #F2F0EA; color: var(--navy-500); }
.compare__before li svg { color: #A9A496; }
.compare__before li { text-decoration: line-through; text-decoration-color: rgba(92,103,129,.35); }
.compare__after { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.compare__after li svg { color: var(--orange); }

/* ---------- Communauté ---------- */
.community { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; background: var(--blue-50); border-radius: 28px; padding: 56px; }
.community h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 14px 0 14px; }
.community p { color: var(--muted); font-size: 18px; }
.feed { display: grid; gap: 12px; }
.feed__item { display: flex; gap: 14px; align-items: center; background: #fff; padding: 14px 16px; border-radius: 14px; box-shadow: var(--shadow-sm); font-size: 14px; }
.feed__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.feed__item strong { display: block; }
.feed__item span { color: var(--muted); }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.testimonial__quote-icon { color: var(--orange); width: 34px; height: 34px; margin-bottom: 16px; }
.testimonial blockquote { margin: 0 0 26px; font-size: 17px; font-weight: 500; line-height: 1.55; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: #EDEAE2; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.testimonial__name { font-weight: 800; }
.testimonial__meta { color: var(--muted); font-size: 14px; }
/* Emplacement provisoire — à retirer quand les vrais témoignages sont prêts */
.testimonial.is-placeholder { border-style: dashed; border-color: #C9D3E6; background: rgba(255,255,255,.6); }
.testimonial.is-placeholder blockquote, .testimonial.is-placeholder .testimonial__name, .testimonial.is-placeholder .testimonial__meta { color: #8E97AC; }
.testimonial.is-placeholder .testimonial__photo { display: grid; place-items: center; border: 2px dashed #C9D3E6; color: #A7B0C3; }
.testimonial.is-placeholder .testimonial__photo svg { width: 22px; height: 22px; }
.placeholder-flag { position: absolute; top: -11px; left: 24px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--orange); color: #fff; padding: 4px 10px; border-radius: 999px; }

/* ---------- Bandeau photo ---------- */
.photo-band { margin: 0 0 56px; border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
/* Cadrage haut : la tête de l'agriculteur (≈12 % du haut de la photo) reste visible, on rogne surtout la terre au premier plan */
.photo-band__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.photo-slot {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(160deg, #DCE9F7 0%, #E9E4D3 55%, #CFD9B8 100%);
  border: 2px dashed #B7C3D8; border-radius: 28px; color: var(--navy-500); font-weight: 700;
}
.photo-slot small { font-weight: 600; color: var(--muted); }

/* ---------- Confiance ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust__item { display: flex; gap: 18px; align-items: flex-start; }
.trust__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue); flex: none; }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.trust__item p { color: var(--muted); font-size: 15px; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan__ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan__name { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.plan__price b { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price span { color: var(--muted); font-weight: 600; }
.plan__desc { color: var(--muted); font-size: 15px; min-height: 48px; }
.plan ul { display: grid; gap: 12px; margin: 26px 0 30px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; font-weight: 500; }
.plan li svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.plan li.plan__group { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.plan .btn { width: 100%; }

/* Choix Annuel / Mensuel (n'agit que sur le prix Pro) */
.billing { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 40px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.billing button { font: inherit; font-size: 15px; font-weight: 700; color: var(--navy-500); background: none; border: 0; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.pricing[data-billing="annual"] .only-monthly, .pricing[data-billing="monthly"] .only-annual { display: none; }
.plan__billing { font-size: 13px; font-weight: 600; color: var(--muted); margin: -2px 0 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 500; color: var(--blue); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta { background: var(--navy); color: #fff; border-radius: 32px; padding: 72px 56px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(30,144,255,.35), transparent 70%), repeating-linear-gradient(-28deg, transparent 0 34px, rgba(255,255,255,.03) 34px 36px); }
.cta > * { position: relative; }
/* Variante avec la photo terrain en fond (page d'accueil) : voile bleu foncé pour garder le texte lisible */
.cta--photo { background: var(--navy) url("../img/photos/terrain.jpg") 62% 30% / cover no-repeat; padding-top: 96px; padding-bottom: 96px; }
.cta--photo::before { background: linear-gradient(180deg, rgba(27,42,78,.78) 0%, rgba(27,42,78,.88) 100%); }
.cta--photo p { color: #D5DCEA; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.cta p { color: #B9C3DA; font-size: 19px; max-width: 600px; margin: 18px auto 34px; }
.cta .stores { justify-content: center; margin-top: 28px; }
.cta__or { display: block; margin-top: 30px; color: #8F9BB8; font-size: 14px; font-weight: 600; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-700); color: #B9C3DA; padding: 72px 0 32px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer__tagline { margin-top: 16px; font-size: 15px; max-width: 260px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { text-decoration: none; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer .stores img { height: 40px; }
.footer .stores { flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 26px; font-size: 14px; }
.footer__bottom a { color: #fff; font-weight: 700; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Barre CTA mobile ---------- */
.sticky-cta {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 12px 30px -8px rgba(27,42,78,.45); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Nouveautés ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.news__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.news__icon svg { width: 22px; height: 22px; }
.news h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.news p { color: var(--muted); font-size: 15px; }
.tag-pro { display: inline-block; vertical-align: 2px; margin-left: 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 3px 8px; border-radius: 999px; }
.news-more { display: flex; justify-content: center; margin-top: 36px; }
.news-more .btn { white-space: normal; text-align: center; }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
.founder__photo { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 20px; }
.founder__photo--empty { display: grid; place-content: center; justify-items: center; gap: 10px; background: #F2F0EA; border: 2px dashed #C9D3E6; color: #8E97AC; font-weight: 700; font-size: 14px; text-align: center; padding: 16px; }
.founder__photo--empty svg { width: 48px; height: 48px; }
.founder__quote { margin: 18px 0 20px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--navy); }
.founder__name { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.founder__name strong { font-size: 17px; }
.founder__name span { color: var(--muted); font-size: 15px; }
.founder__story { color: var(--muted); }
.press { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.press__label { font-size: 14px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.press__item { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); transition: border-color .15s, color .15s; }
.press__item:hover { border-color: var(--blue); color: var(--blue); }
.press__item svg { width: 18px; height: 18px; color: var(--orange); }

/* ---------- Blog : liste ---------- */
.nav a[aria-current="page"] { color: var(--blue); }
.blog-hero { padding: 64px 0 28px; }
.blog-hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; margin: 14px 0 14px; letter-spacing: -0.03em; max-width: 820px; }
.blog-hero p { color: var(--muted); font-size: 19px; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.chips button { font: inherit; font-size: 14px; font-weight: 700; color: var(--navy-500); background: var(--surface); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.chips button:hover { border-color: var(--blue); }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card[hidden] { display: none; }
.post-card__img { aspect-ratio: 16 / 9; background: var(--blue-50); overflow: hidden; position: relative; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, #2A4A8C 100%); }
.post-card__ph svg { width: 44px; height: 44px; opacity: .9; }
.post-card__ph[data-cat="Nouveautés"] { background: linear-gradient(135deg, #1B2A4E 0%, #1E90FF 130%); }
.post-card__ph[data-cat="Presse"] { background: linear-gradient(135deg, #1B2A4E 0%, #F7521E 140%); }
.post-card__ph[data-cat="Guides"] { background: linear-gradient(135deg, #1F5E3B 0%, #2E9E5B 120%); }
.post-card__ph b { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.post-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.post-card__play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--orange); display: grid; place-items: center; box-shadow: var(--shadow); }
.post-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post-cat { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.post-cat[data-cat="Presse"] { color: var(--orange); }
.post-cat[data-cat="Guides"] { color: var(--green); }
.post-card h2, .post-card h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 10px 0 10px; }
.post-card p { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 15px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.post-card__more svg { width: 16px; height: 16px; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--featured .post-card__img { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-card__body { padding: 40px; justify-content: center; }
.post-card--featured h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post-card--featured p { -webkit-line-clamp: 4; font-size: 17px; }

/* ---------- Blog : article ---------- */
.article-head { padding: 48px 0 8px; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.article-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 18px; }
.article-lead { font-size: 20px; color: var(--muted); line-height: 1.6; }
.article-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; }
.share__label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.share a, .share button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--navy-500); cursor: pointer; position: relative; transition: border-color .15s, color .15s; }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.share svg { width: 17px; height: 17px; }
.share button::after { content: attr(data-done); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 4px 8px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share button.is-done::after { opacity: 1; }

.prose { font-size: 18px; line-height: 1.75; color: #2B3754; padding: 36px 0 8px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin-top: 1.8em; line-height: 1.25; }
.prose h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 1.6em; line-height: 1.3; }
.prose h4 { font-size: 18px; font-weight: 800; color: var(--navy); margin-top: 1.4em; }
.prose a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose img { border-radius: 16px; box-shadow: var(--shadow-sm); margin-left: auto; margin-right: auto; height: auto; }
.prose img.is-portrait { max-width: 340px; width: 100%; }
.prose .shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.prose .shots img { max-width: 260px; width: calc(50% - 10px); margin: 0; border-radius: 22px; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 22px 26px; background: var(--blue-50); border-left: 4px solid var(--blue); border-radius: 0 16px 16px 0; font-size: 19px; font-weight: 600; color: var(--navy); }
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; font-style: normal; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose .tag-pro { font-size: 12px; vertical-align: 4px; }

.article-cta { margin: 48px 0 0; background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.article-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 100% 0%, rgba(30,144,255,.35), transparent 70%); }
.article-cta > * { position: relative; }
.article-cta h2 { font-size: 28px; font-weight: 800; }
.article-cta p { color: #B9C3DA; margin: 10px 0 24px; max-width: 520px; }
.article-cta .stores { margin-top: 20px; }
.article-cta .stores img { height: 42px; }

.related { padding-top: 72px; }
.related h2 { font-size: 28px; font-weight: 800; margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header__actions .btn--outline, .header__actions .btn--primary { display: none; }
  .menu-btn { display: inline-flex; }
  .header__inner { justify-content: space-between; }
  .header__actions .btn-login-compact { display: inline-flex; }
  .header__actions { gap: 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
.btn-login-compact { display: none; }

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 40px; }
  .hero__grid, .feature, .community { grid-template-columns: 1fr; gap: 48px; }
  .feature--rev .feature__visual { order: 0; }
  .panel--overlay { right: 16px; }
  .feature + .feature { margin-top: 88px; }
  .demo { margin-top: 8px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps, .agents__grid, .testimonials, .trust, .pricing { grid-template-columns: 1fr; }
  .news-grid, .posts { grid-template-columns: 1fr 1fr; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__img { min-height: 0; aspect-ratio: 16 / 9; }
  .post-card--featured .post-card__body { padding: 26px 24px 28px; }
  .founder { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .founder__photo { max-width: 260px; }
  .pricing { max-width: 480px; margin: 0 auto; }
  .compare { grid-template-columns: 1fr; }
  .community { padding: 40px 28px; }
  .cta { padding: 56px 24px; border-radius: 24px; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero__ctas .btn { width: 100%; }
  .hero__grid > *, .pricing > * { min-width: 0; }
  .plan .btn, .cta .btn, .article-cta .btn { white-space: normal; text-align: center; }
  .btn--lg { white-space: normal; text-align: center; padding: 16px 22px; font-size: 17px; }
  .phone { width: 300px; height: 600px; }
  .float-chip { display: none; }
  .photo-band { aspect-ratio: 4 / 3; }
  .feature__visual--photo { padding-bottom: 0; }
  .panel--overlay { position: relative; right: auto; width: auto; margin: -64px 12px 0; }
  .photo-band__img { object-position: 74% 50%; }
  .visual-bubble { position: static; margin-bottom: 14px; max-width: none; }
  .feature__visual--photo { display: flex; flex-direction: column; }
  .feature__visual--photo .visual-bubble { order: -1; }
  .invoice { grid-template-columns: 1fr; }
  .invoice__photo { max-width: 120px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__logo img { height: 26px; }
  /* sur téléphone : la langue se choisit dans le menu, pour garder « Se connecter » et « Menu » bien visibles */
  .header__actions .lang { display: none; }
  .header__actions .btn-login-compact { padding: 9px 14px; font-size: 14px; }
  .menu-btn { padding: 9px 14px 9px 11px; font-size: 14px; }
  .news-grid, .posts { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .prose .shots img { width: 100%; max-width: 280px; }
  .article-cta { padding: 30px 22px; }
  .stores img { height: 44px; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
