/* =====================================================================
   RITOOLS — feuille de style principale
   Charte : Dark cyan #005068 · Ocean cyan #008A99 · Crème #F6F1E7
            Anthracite #23292A · Typographie Manrope
   ===================================================================== */
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #FBF9F5;
  --cream: #F6F1E7;
  --surface: #FFFFFF;
  --ink: #1F2A2C;
  --muted: #5B6A6D;
  --line: #E6E1D8;
  --primary: #005068;
  --primary-dark: #003A4C;
  --primary-soft: #E3F0F2;
  --accent: #007886;          /* Ocean cyan lisible pour les textes et boutons */
  --accent-brand: #008A99;    /* Ocean cyan du logo */
  --accent-light: #7FD0D8;
  --accent-soft: #DDF1F3;
  --gold: #E9A23B;
  --danger: #B4443A; --danger-soft: #F8E4E1;
  --ok: #2E7D4F; --ok-soft: #E3F3E8;
  --warn: #8A5A00; --warn-soft: #FFF3D6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15,40,48,.05);
  --shadow: 0 1px 2px rgba(15,40,48,.04), 0 12px 32px rgba(15,40,48,.08);
  --shadow-lg: 0 24px 60px rgba(0,58,76,.16);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 1.4rem; }
.only-mobile { display: none; }
.icon-btn.nav-close { display: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .97rem; text-decoration: none; cursor: pointer;
  background: var(--primary); color: #fff; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s; white-space: nowrap; }
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,58,76,.18); }
.btn:active { transform: none; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(0,0,0,.05); color: var(--ink); box-shadow: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #00636F; color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--cream); color: var(--primary-dark); }
.btn-wa { background: #1F8A4C; color: #fff; }
.btn-wa:hover { background: #17703D; color: #fff; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #963830; }
.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.announce { background: var(--primary); color: #fff; text-align: center; font-size: .88rem; font-weight: 600; padding: .55rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251,249,245,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15,40,48,.05); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand img { height: 40px; width: auto; }
.brand-symbol { width: 40px; height: 40px; flex: none; }
.brand-name { font-weight: 800; letter-spacing: .08em; font-size: 1.15rem; text-transform: uppercase; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.nav { display: flex; gap: .2rem; margin: 0 auto; align-items: center; }
.nav > a { position: relative; padding: .55rem .9rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 999px; }
.nav > a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; background: var(--accent-brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"] { color: var(--primary); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: .3rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); text-decoration: none; background: transparent; border: 0; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgba(0,80,104,.07); color: var(--primary); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.account-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; margin-left: .3rem; }
.account-pill:hover { border-color: var(--primary); color: var(--primary); }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; }
  .account-pill { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--bg); padding: 84px 24px 24px; box-shadow: -20px 0 60px rgba(0,0,0,.18); clip-path: inset(0 0 0 100%); transition: clip-path .35s var(--ease), visibility .35s; z-index: 60; overflow-y: auto; visibility: hidden; }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav > a { padding: 1rem .4rem; font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a::after { display: none; }
  .nav-extra { display: flex; flex-direction: column; gap: 1rem; margin-top: auto; padding-top: 1.6rem; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(15,30,35,.35); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
  .icon-btn.nav-close { display: inline-grid; position: absolute; top: 18px; right: 18px; }
}
.socials { display: flex; gap: .5rem; align-items: center; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; text-decoration: none; transition: transform .2s var(--ease), opacity .2s; }
.social:hover { transform: translateY(-2px); color: #fff; opacity: .92; }
.social svg { width: 22px; height: 22px; }
.social.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social.wa { background: #25D366; }
.social.mail { background: var(--primary); }

/* ---------- Sections ---------- */
section.block { padding: clamp(4rem, 9vw, 7rem) 0; }
section.block.tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
section.block.alt { background: var(--surface); }
section.block.cream { background: var(--cream); }
.section-head { max-width: 700px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before, .section-head.center .eyebrow::before { display: none; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 6.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(127,208,216,.35), rgba(127,208,216,0) 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 560px; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.trust { display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; margin-top: 2rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.trust span { display: inline-flex; gap: .45rem; align-items: center; }
.trust span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23007886' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-visual { position: relative; aspect-ratio: 1 / .92; }
.hero-visual .hv { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero-visual .hv img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .hv-1 { width: 82%; left: 0; top: 4%; aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.hero-visual .hv-2 { width: 54%; right: 0; bottom: 0; aspect-ratio: 4 / 3; transform: rotate(3deg); }
.hero-visual .hv-badge { position: absolute; left: 6%; bottom: 8%; background: #fff; border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; font-weight: 700; font-size: .9rem; }
.hero-visual .hv-badge svg { width: 36px; height: 36px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; } .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; } }

/* Bande de valeur */
.value-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.value-band .points { display: grid; gap: 1rem; }
.value-band .point { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.value-band .point b { display: block; }
.value-band .point span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .value-band { grid-template-columns: 1fr; gap: 2rem; } }
.ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; flex: none; font-size: 1.25rem; }
.ico svg { width: 22px; height: 22px; }

/* Grilles */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1060px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } .grid-5.cats { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card h3 { margin-bottom: .4rem; }
.feature { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico { margin-bottom: 1rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Univers */
.cat-card { display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.cat-card:hover { border-color: var(--accent-light); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card .ico { margin-bottom: .6rem; font-size: 1.4rem; }
.cat-card strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.cat-card span { font-size: .9rem; color: var(--muted); }

/* Étapes */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 3.6rem; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-size: 2.2rem; font-weight: 800; color: var(--accent-light); letter-spacing: -.03em; line-height: 1; }
.step p { color: var(--muted); }

/* Produits */
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-card .media { display: block; position: relative; overflow: hidden; }
.product-card .media .visual { transition: transform .5s var(--ease); }
.product-card:hover .media .visual { transform: scale(1.035); }
.product-card .body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card .kicker { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { font-size: 1.25rem; margin: 0; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--primary); }
.product-card .desc { color: var(--muted); font-size: .94rem; flex: 1; margin: 0; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .9rem; flex-wrap: wrap; }
.product-card .btns { display: flex; gap: .4rem; }
.visual { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--c1, #E3F0F2), var(--c2, #F6F1E7)); display: grid; place-items: center; overflow: hidden; }
.visual img { width: 100%; height: 100%; object-fit: cover; }
.visual .v-ico { font-size: 3.2rem; }
.visual .v-name { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; font-weight: 800; font-size: 1.05rem; color: rgba(31,42,44,.7); text-align: center; }
.tags { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .35rem; flex-wrap: wrap; z-index: 2; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; padding: .25rem .65rem; border-radius: 999px; background: var(--surface); color: var(--ink); letter-spacing: .02em; }
.tag.new { background: var(--primary); color: #fff; }
.tag.promo { background: var(--gold); color: #2B1A00; }
.tag.type { background: var(--accent-soft); color: var(--primary); }
.price { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.price s { color: var(--muted); font-weight: 500; font-size: .9rem; margin-left: .35rem; }

/* Boutique : filtres */
.shop-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.shop-tools { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; }
.search { position: relative; flex: 1 1 280px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 42px !important; border-radius: 999px !important; }
.shop-tools select { width: auto; border-radius: 999px; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .5rem 1.05rem; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip[aria-pressed="true"], .chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty { text-align: center; padding: 3.5rem 1.4rem; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty .big { font-size: 2.6rem; margin-bottom: .4rem; }
.empty h2, .empty h3 { color: var(--ink); }

/* Fiche produit */
.product-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; padding: 1.5rem 0 3.5rem; }
.product-top .visual { border-radius: 22px; }
.product-gallery { position: sticky; top: 100px; }
.product-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: .3rem 0 .2rem; }
.product-info .tagline { font-size: 1.25rem; font-weight: 700; color: var(--accent); margin-bottom: .8rem; }
.product-info .price { font-size: 1.9rem; }
.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-top: 1.4rem; box-shadow: var(--shadow-sm); }
.buy-box .btn + .btn { margin-top: .6rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23005068' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.pain { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.pain li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem .9rem 3rem; position: relative; }
.pain li::before { content: "?"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--warn-soft); color: var(--warn); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.thumbs button { width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); padding: 0; cursor: pointer; background: none; transition: border-color .2s; }
.thumbs button.on { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-section { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.pd-section h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.audience { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.audience h2, .audience h3 { color: #fff; }
.audience p { margin: 0; opacity: .92; }
@media (max-width: 860px) { .product-top { grid-template-columns: 1fr; gap: 1.6rem; } .product-gallery { position: static; } }
.breadcrumb { font-size: .86rem; color: var(--muted); padding-top: 1.6rem; }
.breadcrumb a { color: var(--muted); }

/* FAQ */
details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; transition: border-color .2s, box-shadow .2s; }
details.faq + details.faq { margin-top: .7rem; }
details.faq[open] { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
details.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23005068' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .answer { padding-bottom: 1.1rem; color: var(--muted); }
details.faq .answer p:last-child { margin: 0; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
.faq-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: .3rem; }
.faq-nav a { padding: .65rem 1rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.faq-nav a:hover { background: var(--accent-soft); color: var(--primary); }
.faq-group { scroll-margin-top: 100px; }
.faq-group + .faq-group { margin-top: 2.6rem; }
.faq-group h2 { font-size: 1.4rem; display: flex; gap: .7rem; align-items: center; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 1rem; } .faq-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .4rem; } .faq-nav a { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); } }

/* Formulaires */
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field { margin-bottom: 1.1rem; }
.field .hint { font-size: .83rem; color: var(--muted); margin-top: .35rem; font-weight: 500; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=url], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--primary); flex: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }

.alert { padding: 1rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid transparent; }
.alert-error { background: var(--danger-soft); color: #7d2a22; border-color: #efc6c0; }
.alert-ok { background: var(--ok-soft); color: #1d5a37; border-color: #bfe3cb; }
.alert-info { background: var(--primary-soft); color: var(--primary-dark); border-color: #C8E0E5; }
.alert-warn { background: var(--warn-soft); color: #6d4b06; border-color: #f0dca7; }

/* Authentification */
.auth-wrap { max-width: 480px; margin: 0 auto; padding: 3.5rem 24px 5rem; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2rem; }
.auth-foot { text-align: center; margin-top: 1.3rem; font-size: .95rem; }

/* Statuts */
.status { display: inline-block; font-size: .76rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.st-pending { background: var(--warn-soft); color: #6d4b06; }
.st-verifying { background: #E1ECF8; color: #284a8a; }
.st-paid { background: var(--ok-soft); color: #1d5a37; }
.st-refused, .st-cancelled { background: var(--danger-soft); color: #7d2a22; }
.st-refunded { background: #ECE7F5; color: #4b3a78; }

/* Panier / commande */
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line .visual { width: 84px; border-radius: 12px; aspect-ratio: 4 / 3; }
.cart-line .visual .v-ico { font-size: 1.5rem; }
.cart-line .visual .v-name { display: none; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.summary .line { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.summary .total { font-size: 1.3rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .9rem; }
.two-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.4rem; align-items: start; }
@media (max-width: 860px) { .two-cols { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-line .visual { width: 64px; } .cart-line > strong, .cart-line > button { grid-column: 2; justify-self: start; } }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 1.2rem; }
.pay-method { border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; background: var(--surface); cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, background .2s; }
.pay-method strong { display: block; }
.pay-method[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.ref-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; background: var(--accent-soft); color: var(--primary); padding: .5rem .9rem; border-radius: 10px; display: inline-flex; vertical-align: middle; }
.instructions { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-bottom: 1.3rem; }
.instructions ol { margin: .4rem 0 0; padding-left: 1.2rem; }
.instructions li { margin-bottom: .4rem; }

/* Espace client */
.account { display: grid; grid-template-columns: 250px 1fr; gap: 2.4rem; padding: 2.5rem 24px 5rem; align-items: start; }
.account > * { min-width: 0; }
.side-nav { display: flex; flex-direction: column; gap: .25rem; position: sticky; top: 100px; }
.side-nav a { padding: .75rem 1rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.side-nav a:hover { background: rgba(0,80,104,.06); color: var(--primary); }
.side-nav a.on { background: var(--primary); color: #fff; }
@media (max-width: 860px) {
  .account { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.2rem; }
  .side-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: .4rem; }
  .side-nav a { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); }
}
.owned { display: grid; grid-template-columns: 112px 1fr auto; gap: 1.1rem; align-items: center; }
.owned .visual { width: 112px; border-radius: 12px; }
.owned .visual .v-ico { font-size: 1.8rem; }
.owned .visual .v-name { display: none; }
@media (max-width: 560px) { .owned { grid-template-columns: 80px 1fr; } .owned .visual { width: 80px; } .owned .actions { grid-column: 1 / -1; } }
.list > * + * { margin-top: .8rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.kpi b { display: block; font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.kpi span { color: var(--muted); font-size: .9rem; }

/* Tableaux */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #FAF8F4; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* Contenu éditorial */
.prose { max-width: 720px; font-size: 1.04rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { margin: 1.2rem 0; padding: .9rem 1.2rem; background: var(--accent-soft); border-left: 4px solid var(--accent-brand); border-radius: 0 12px 12px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 14px; margin: 1rem 0; }
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 1.6rem; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.article-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.article-card:hover { box-shadow: var(--shadow); color: var(--ink); transform: translateY(-3px); }
.article-card .cover { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--accent-soft), var(--cream)); display: grid; place-items: center; font-size: 2.4rem; }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card .body { padding: 1.2rem 1.3rem 1.4rem; }

/* Fondatrice */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, var(--accent-soft), var(--cream)); display: grid; place-items: center; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .placeholder { text-align: center; color: var(--primary); padding: 2rem; }
.founder-photo .placeholder svg { width: 120px; height: 120px; margin: 0 auto 1rem; opacity: .9; }
.founder .sign { font-weight: 800; font-size: 1.1rem; margin-top: 1.2rem; }
.founder .sign span { display: block; font-weight: 600; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; gap: 2rem; } .founder-photo { max-width: 420px; } }

/* Témoignages */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.quote-card blockquote { margin: 0; font-size: 1.05rem; }
.quote-card blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--accent-light); font-weight: 800; margin-bottom: .4rem; }
.quote-card .who { font-weight: 800; }
.quote-card .who span { display: block; font-weight: 600; font-size: .88rem; color: var(--muted); }

/* Bandeau final */
.cta-band { position: relative; overflow: hidden; background: var(--primary); color: #fff; border-radius: 32px; padding: clamp(2.4rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; border: 60px solid rgba(127,208,216,.18); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; position: relative; }
.cta-band .actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; position: relative; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Ebooks */
.ebook-hero { background: var(--cream); }
.ebook-card { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; align-items: center; transition: box-shadow .25s, transform .25s; }
.ebook-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ebook-cover { aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px; overflow: hidden; box-shadow: 0 18px 36px rgba(0,58,76,.2); background: linear-gradient(160deg, var(--primary), var(--accent-brand)); display: grid; place-items: center; color: #fff; font-weight: 800; text-align: center; padding: 1rem; }
.ebook-cover img { width: 100%; height: 100%; object-fit: cover; }
.themes { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .8rem; }
.themes span { font-size: .78rem; font-weight: 700; background: var(--accent-soft); color: var(--primary); padding: .2rem .65rem; border-radius: 999px; }
@media (max-width: 640px) { .ebook-card { grid-template-columns: 1fr; } .ebook-cover { max-width: 220px; } }

/* Contact */
.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contact-card h3 { display: flex; gap: .6rem; align-items: center; }

/* Newsletter */
.newsletter-mini input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; min-height: 46px; }
.newsletter-mini input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-mini .check { color: rgba(255,255,255,.75); font-size: .82rem; margin-top: .6rem; }
.newsletter-mini .alert { margin: .6rem 0 0; }

/* Pied de page */
.site-footer { background: #0F2A33; color: #C9D6D9; padding: 4.5rem 0 1.8rem; margin-top: 5rem; }
.site-footer a { color: #C9D6D9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.4rem; }
.footer-grid h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-light); margin-bottom: 1rem; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .6rem; }
.footer-brand { display: flex; gap: .6rem; align-items: center; color: #fff; font-weight: 800; letter-spacing: .08em; font-size: 1.15rem; margin-bottom: .8rem; }
.footer-brand svg { width: 38px; height: 38px; }
.site-footer .socials { margin-top: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: #8FA6AC; }
.pay-logos { display: flex; gap: .5rem; flex-wrap: wrap; }
.pay-logos span { border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: .15rem .6rem; font-size: .8rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Notifications */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: .5rem; width: min(92vw, 440px); }
.toast { background: var(--ink); color: #fff; padding: .9rem 1.15rem; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .95rem; animation: up .25s var(--ease); }
.toast.error { background: var(--danger); }
.toast a { color: #fff; font-weight: 800; }
@keyframes up { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

.loader { display: grid; place-items: center; padding: 3rem; color: var(--muted); }
.loader::before { content: ""; width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.setup-warning { max-width: 720px; margin: 3rem auto; }

/* Apparition douce au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
@media print { .site-header, .site-footer, .wa-float { display: none; } }

/* Espace client : conseil d'installation des applications */
.install-tip{margin-top:1rem;padding:1.1rem 1.25rem}
.install-tip p,.install-tip ul{margin:.5rem 0 0}
.install-tip ul{padding-left:1.1rem}
.install-tip li{margin:.25rem 0}
