/* =========================================================
   Kouacou Ali — Site auteur
   Direction : moderne & épuré, ancré dans la mémoire ouest-africaine
   ========================================================= */

:root {
  /* Palette : encre, papier, latérite, indigo */
  --ink:        #1a1714;   /* texte principal, presque noir chaud */
  --paper:      #f7f4ee;   /* fond papier */
  --paper-2:    #efe9df;   /* fond alterné */
  --laterite:   #b5512f;   /* accent terre / latérite */
  --indigo:     #2b3a5b;   /* accent profond, indigo bògòlan */
  --gold:       #c89b3c;   /* filet doré, rare */
  --muted:      #6f675d;   /* texte secondaire */
  --line:       #ddd5c8;   /* filets */
  --white:      #ffffff;

  --serif: "Fraunces", "Hoefler Text", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --r: 4px;
  --shadow: 0 18px 50px -28px rgba(26,23,20,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--laterite);
  font-weight: 600;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: .25s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--laterite); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--laterite); color: #fff; }
.btn-gold:hover { background: var(--indigo); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; }
.brand b { color: var(--laterite); font-weight: 600; }
.brand-tag { display:block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.lang-switch { display:inline-flex; align-items:center; gap:6px; margin-left:6px; }
.lang-switch button { background:none; border:0; cursor:pointer; font-family:var(--sans); font-size:13px; font-weight:600; color:var(--muted); padding:2px 2px; transition:color .2s; }
.lang-switch button.active { color:var(--laterite); }
.lang-switch button:hover { color:var(--ink); }
.lang-switch span { color:var(--line); font-size:12px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { font-size: 14px !important; padding: 9px 18px; }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(1100px 460px at 78% -10%, rgba(43,58,91,.10), transparent 60%),
    radial-gradient(800px 420px at 0% 110%, rgba(181,81,47,.10), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--laterite); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 38ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  position: relative; aspect-ratio: 3/4; border-radius: 8px;
  background:
    linear-gradient(135deg, var(--indigo), #16223b);
  box-shadow: var(--shadow);
  display: flex; align-items: flex-end; padding: 30px; color: #efe7d8;
  overflow: hidden;
}
.hero-art::before {
  content:""; position:absolute; inset:0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(200,155,60,.06) 0 2px, transparent 2px 22px);
}
.hero-art .ha-meta { position: relative; }
.hero-art .ha-meta span { font-size: 12px; letter-spacing:.2em; text-transform: uppercase; opacity:.7; }
.hero-art .ha-meta h3 { font-size: 27px; margin-top: 6px; color: #fff; font-style: italic; }
.hero-cover { aspect-ratio: 1055/1491; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); max-width: 380px; margin-left: auto; transition: transform .4s ease; }
.hero-cover:hover { transform: translateY(-6px) rotate(-1deg); }
.hero-cover img { width:100%; height:100%; object-fit: cover; display:block; }

/* ---------- Sections ---------- */
section.block { padding: 86px 0; }
section.alt { background: var(--paper-2); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Cartes livres ---------- */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.book-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 24px; transition: .3s; align-items: start;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cover {
  aspect-ratio: 3/4; border-radius: 4px; padding: 18px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #f4ece0; position: relative; overflow: hidden;
}
.cover.c1 { background: linear-gradient(160deg,#6b3b22,#b5512f); }
.cover.c2 { background: linear-gradient(160deg,#1f2c47,#39507c); }
.cover::after{ content:""; position:absolute; inset:0; background:repeating-linear-gradient(0deg,rgba(0,0,0,.05) 0 1px,transparent 1px 7px);}
.cover small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; position: relative; }
.cover h4 { font-size: 19px; font-style: italic; position: relative; }
.cover .sig { font-size: 11px; opacity: .75; position: relative; }

/* Couverture image (remplace le dégradé) */
.cover-img { aspect-ratio: 1055/1491; border-radius: 4px; overflow: hidden; box-shadow: 0 8px 24px -12px rgba(26,23,20,.5); }
.cover-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-card .cover-img { align-self: start; }
.book-card .meta { font-size: 13px; color: var(--laterite); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.book-card h3 { font-size: 24px; margin: 8px 0 10px; }
.book-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.book-card .price { font-family: var(--serif); font-size: 22px; }
.book-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

/* Mode vitrine : badge « à paraître » et encart d'inscription */
.badge-paraitre {
  display:inline-flex; align-items:center; gap:7px;
  font-family: var(--sans); font-weight:600; font-size:13px; letter-spacing:.04em;
  color: var(--laterite); background:#fbf1ec; border:1px solid #e7c9bd;
  padding:8px 16px; border-radius:100px;
}
.badge-paraitre::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--laterite); }
.vitrine-note {
  background: var(--white); border:1px solid var(--line); border-left:4px solid var(--laterite);
  border-radius:6px; padding:20px 22px; margin-top:8px;
}
.vitrine-note h4 { font-family:var(--serif); font-size:19px; margin-bottom:6px; }
.vitrine-note p { color:var(--muted); font-size:14.5px; margin-bottom:14px; }
.vitrine-note .subscribe-form { max-width:none; }

/* ---------- Auteur ---------- */
.author { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.author-photo {
  aspect-ratio: 4/5; border-radius: 8px; background: linear-gradient(135deg,#c89b3c,#b5512f);
  display:flex;align-items:center;justify-content:center; color:#fff; box-shadow: var(--shadow);
  overflow: hidden;
}
.author-photo img { width:100%; height:100%; object-fit: cover; object-position: center top; display:block; }
.author-photo span { font-family: var(--serif); font-size: 88px; opacity:.9; }
.author h2 { font-size: clamp(28px,4vw,42px); margin-bottom: 18px; }
.author p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.author .facts { display: flex; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.author .facts div b { font-family: var(--serif); font-size: 28px; display:block; color: var(--ink); }
.author .facts div span { font-size: 13px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; }
.newsletter .section-head { margin: 0 auto 30px; text-align: center; }
.subscribe-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: 100px; font-family: var(--sans); font-size: 15px; background: var(--white);
}
.subscribe-form input:focus { outline: 2px solid var(--laterite); outline-offset: 1px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Blog list ---------- */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg,var(--indigo),var(--laterite)); }
.post-thumb.t2 { background: linear-gradient(135deg,#7a4a2a,#c89b3c); }
.post-thumb.t3 { background: linear-gradient(135deg,#2b3a5b,#6f675d); }
.post-body { padding: 22px; }
.post-body .date { font-size: 12px; letter-spacing:.12em; text-transform: uppercase; color: var(--laterite); font-weight:600; }
.post-body h3 { font-size: 21px; margin: 8px 0 10px; }
.post-body p { color: var(--muted); font-size: 15px; }
.post-body a.more { color: var(--ink); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--laterite); padding-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7ba; padding: 60px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer h5 { font-family: var(--sans); font-size: 13px; letter-spacing:.14em; text-transform: uppercase; color:#fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cfc7ba; font-size: 15px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: 13px; display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px; color:#9a9183; }

/* ---------- Pages internes ---------- */
.page-hero { padding: 70px 0 40px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px,5vw,56px); margin: 12px 0; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 60ch; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--laterite); }

/* Fiche livre */
.product { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 70px 0; }
.product .cover-lg { aspect-ratio: 3/4; border-radius: 8px; box-shadow: var(--shadow); padding: 30px; color:#f4ece0; display:flex;flex-direction:column;justify-content:space-between; position:relative; overflow:hidden;}
.product .cover-lg-img { aspect-ratio: 3/4; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.product .cover-lg-img img { width:100%; height:100%; object-fit: cover; display:block; }
.product .cover-lg small{font-size:11px;letter-spacing:.2em;text-transform:uppercase;opacity:.8;position:relative;}
.product .cover-lg h2{font-size:30px;font-style:italic;position:relative;color:#fff;}
.product .cover-lg .sig{font-size:13px;opacity:.8;position:relative;}
.product .meta { color: var(--laterite); font-weight:600; text-transform: uppercase; letter-spacing:.06em; font-size:13px;}
.product h1 { font-size: clamp(30px,4vw,46px); margin: 10px 0 18px; }
.product .price-lg { font-family: var(--serif); font-size: 34px; margin: 18px 0; }
.product .desc p { color: var(--muted); margin-bottom: 14px; }
.product .quatrieme { margin: 6px 0 8px; }
.product .quatrieme-label { display:block; font-family:var(--sans); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--laterite); font-weight:600; margin-bottom:14px; }
.product .quatrieme p { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--ink); margin-bottom: 14px; }
.product .quatrieme p:first-of-type { font-size: 21px; font-style: italic; }
.product .specs { list-style:none; margin: 22px 0; border-top: 1px solid var(--line); }
.product .specs li { display:flex; justify-content:space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.product .specs li span:first-child { color: var(--muted); }
.buy-row { display:flex; gap:12px; flex-wrap: wrap; margin-top: 8px; }
.qty { display:flex; align-items:center; border:1px solid var(--ink); border-radius:100px; overflow:hidden; }
.qty button { background:none;border:0;width:42px;height:46px;font-size:20px;cursor:pointer; }
.qty input { width:44px;text-align:center;border:0;font-size:16px;font-family:var(--sans); -moz-appearance:textfield;}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;}

.excerpt { background: var(--white); border:1px solid var(--line); border-left: 4px solid var(--laterite); padding: 28px 32px; border-radius: 6px; margin-top: 28px; }
.excerpt p { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.8; }

/* Cart / checkout */
.cart-table { width:100%; border-collapse: collapse; margin-bottom: 28px; }
.cart-table th { text-align:left; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); padding: 12px 8px; border-bottom: 2px solid var(--line);}
.cart-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-cover { width: 54px; aspect-ratio:3/4; border-radius:3px; object-fit:cover; display:block; }
img.cart-cover { background:#1f2c47; }
.cart-empty { text-align:center; padding: 60px 0; color: var(--muted); }
.checkout-grid { display:grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size: 13px; font-weight:600; margin-bottom: 6px; }
.field input, .field select { width:100%; padding: 12px 14px; border:1px solid var(--line); border-radius: 6px; font-family: var(--sans); font-size:15px; background:#fff;}
.field input:focus { outline: 2px solid var(--laterite); outline-offset:1px; }
.row-2 { display:grid; grid-template-columns:1fr 1fr; gap: 14px; }
.summary { background: var(--white); border:1px solid var(--line); border-radius: 8px; padding: 26px; position: sticky; top: 90px; }
.summary h3 { font-size: 20px; margin-bottom: 16px; }
.summary .line { display:flex; justify-content:space-between; padding: 8px 0; font-size:15px; color:var(--muted); }
.summary .total { display:flex; justify-content:space-between; padding-top: 14px; margin-top: 8px; border-top: 2px solid var(--line); font-family: var(--serif); font-size: 22px; color: var(--ink); }
.pay-methods { display:flex; gap: 10px; margin: 18px 0; }
.pay-methods .pm { flex:1; border:1px solid var(--line); border-radius:6px; padding: 12px; text-align:center; cursor:pointer; font-weight:600; font-size:14px; transition:.2s; background:#fff;}
.pay-methods .pm.active { border-color: var(--laterite); background: #fbf1ec; color: var(--laterite); }

/* Espace membre */
.auth-card { max-width: 420px; margin: 70px auto; background:#fff; border:1px solid var(--line); border-radius:10px; padding: 38px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; font-size:15px; }
.auth-tabs { display:flex; gap: 6px; margin-bottom: 24px; background: var(--paper-2); padding: 5px; border-radius: 100px; }
.auth-tabs button { flex:1; border:0; padding: 10px; border-radius: 100px; cursor:pointer; font-weight:600; font-size:14px; background:transparent; color: var(--muted); }
.auth-tabs button.active { background:#fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.dashboard { padding: 50px 0; }
.dash-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 34px; flex-wrap:wrap; gap:14px;}
.dash-cards { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 38px; }
.dash-card { background:#fff; border:1px solid var(--line); border-radius:8px; padding: 24px; }
.dash-card .k { font-family: var(--serif); font-size: 30px; }
.dash-card .l { font-size: 13px; color: var(--muted); }
.library { display:grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.lib-item { display:flex; gap:18px; background:#fff; border:1px solid var(--line); border-radius:8px; padding:18px; align-items:center;}
.lib-item .cover-sm { width:64px; aspect-ratio:3/4; border-radius:3px; object-fit:cover; display:block; }

/* Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: var(--paper); padding: 14px 24px; border-radius: 100px;
  font-size: 15px; font-weight:500; box-shadow: var(--shadow); z-index: 200; transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }

.cart-count { background: var(--laterite); color:#fff; font-size:11px; font-weight:700; border-radius:100px; padding: 1px 7px; margin-left: 4px; }

/* Reveal animation */
.reveal { opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity:1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none;} html{scroll-behavior:auto;} }

/* Responsive */
@media (max-width: 900px){
  .nav-links { position: fixed; inset: 70px 0 auto 0; background: var(--paper); flex-direction: column; padding: 24px; gap: 18px; border-bottom:1px solid var(--line); transform: translateY(-130%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .burger { display:block; }
  .hero-grid, .author, .product, .checkout-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; }
  .books, .posts, .dash-cards, .library, .footer-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 110px 1fr; }
  .summary { position: static; }
}

/* ---------- Page Coaching & conférences ---------- */
.services { display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:10px; }
.service-card { background:var(--white); border:1px solid var(--line); border-radius:10px; padding:34px; transition:.3s; }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.service-card .eyebrow { display:block; margin-bottom:10px; }
.service-card h2 { font-size:30px; margin-bottom:14px; }
.service-card p { color:var(--muted); font-size:16px; margin-bottom:18px; }
.service-card ul { list-style:none; margin:0 0 24px; }
.service-card ul li { padding:8px 0 8px 26px; position:relative; font-size:15.5px; border-bottom:1px solid var(--line); }
.service-card ul li:last-child { border-bottom:0; }
.service-card ul li::before { content:""; position:absolute; left:4px; top:15px; width:7px; height:7px; border-radius:50%; background:var(--laterite); }
.contact-wrap { max-width:680px; margin:0 auto; }
.contact-form .row-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.contact-form .field { margin-bottom:16px; }
.contact-form label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:6px;
  font-family:var(--sans); font-size:15px; background:#fff;
}
.contact-form textarea { min-height:140px; resize:vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline:2px solid var(--laterite); outline-offset:1px; }
@media (max-width:900px){ .services { grid-template-columns:1fr; } .contact-form .row-2 { grid-template-columns:1fr; } }

/* ---------- Article ---------- */
.article { max-width: 720px; margin: 0 auto; padding: 20px 0 40px; }
.article .kicker { font-family:var(--sans); font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--laterite); font-weight:600; margin-bottom:14px; }
.article h1 { font-size:38px; line-height:1.15; margin-bottom:14px; }
.article .byline { color:var(--muted); font-size:14px; margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.article p { font-size:18px; line-height:1.8; margin-bottom:20px; color:var(--ink); }
.article .article-sub { font-family:var(--serif); font-size:24px; color:var(--indigo); margin:34px 0 14px; line-height:1.3; }
.article .article-foot { margin-top:36px; padding-top:24px; border-top:1px solid var(--line); }

/* ---------- Bandeau cookies ---------- */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 640px; margin: 0 auto;
  background: var(--ink); color: #f3efe7;
  border-radius: 12px; padding: 18px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
  display: flex; flex-direction: column; gap: 14px;
  animation: cookieUp .35s ease;
}
@keyframes cookieUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
#cookie-banner p { font-size: 14px; line-height: 1.55; margin: 0; color: #e9e3d8; }
#cookie-banner .cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
#cookie-banner .btn { padding: 9px 20px; font-size: 14px; }
#cookie-banner .btn-ghost { color: #e9e3d8; border-color: rgba(255,255,255,.3); }
#cookie-banner .btn-ghost:hover { background: rgba(255,255,255,.1); }
@media (min-width:560px){ #cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; } #cookie-banner .cookie-actions { flex-shrink: 0; } }

/* ---------- Coaching : sections enrichies ---------- */
.themes-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:8px; }
.theme-item { background:var(--white); border:1px solid var(--line); border-radius:9px; padding:24px; }
.theme-item h3 { font-family:var(--serif); font-size:20px; color:var(--indigo); margin-bottom:8px; }
.theme-item p { color:var(--muted); font-size:15px; line-height:1.6; }
.about-coach { display:grid; grid-template-columns:1.3fr 1fr; gap:36px; align-items:center; }
.about-coach .creds { list-style:none; margin:18px 0 0; }
.about-coach .creds li { padding:10px 0 10px 28px; position:relative; font-size:15.5px; border-bottom:1px solid var(--line); }
.about-coach .creds li:last-child { border-bottom:0; }
.about-coach .creds li::before { content:"✓"; position:absolute; left:2px; color:var(--laterite); font-weight:700; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:8px; }
.step-item { padding:24px; background:var(--white); border:1px solid var(--line); border-radius:9px; border-top:3px solid var(--laterite); }
.step-item h3 { font-family:var(--serif); font-size:18px; margin-bottom:8px; }
.step-item p { color:var(--muted); font-size:14.5px; line-height:1.6; }
.how-note { text-align:center; color:var(--muted); font-size:14.5px; margin-top:24px; font-style:italic; }
@media (max-width:860px){ .themes-grid, .steps { grid-template-columns:1fr; } .about-coach { grid-template-columns:1fr; gap:22px; } }

/* ---------- Coaching : publics & formats ---------- */
.publics-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:8px; }
.public-card { background:var(--white); border:1px solid var(--line); border-radius:9px; padding:22px 24px; border-top:3px solid var(--gold); }
.public-card h3 { font-family:var(--serif); font-size:18px; color:var(--indigo); margin-bottom:12px; }
.public-card ul { list-style:none; margin:0; }
.public-card ul li { font-size:14.5px; color:#3a342d; padding:8px 0 8px 22px; position:relative; line-height:1.5; border-bottom:1px solid var(--line); }
.public-card ul li:last-child { border-bottom:0; }
.public-card ul li::before { content:"›"; position:absolute; left:4px; color:var(--laterite); font-weight:700; }
@media (max-width:860px){ .publics-grid { grid-template-columns:1fr; } }

/* ---------- 4e de couverture : image en complément ---------- */
.dos-couv { margin-top: 22px; }
.dos-couv-label { display:block; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--laterite); font-weight:600; margin-bottom:10px; }
.dos-couv img { width:100%; max-width:300px; border-radius:6px; box-shadow:0 8px 24px -12px rgba(26,23,20,.5); cursor:zoom-in; transition:transform .3s ease; display:block; }
.dos-couv img:hover { transform:translateY(-3px); }
/* Lightbox */
.lightbox { position:fixed; inset:0; background:rgba(26,23,20,.9); display:none; align-items:center; justify-content:center; z-index:9999; padding:24px; cursor:zoom-out; }
.lightbox.open { display:flex; }
.lightbox img { max-width:92vw; max-height:92vh; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.5); }

/* ---------- Logo ---------- */
.brand-logo { display:flex; align-items:center; line-height:0; }
.brand-logo img { height:46px; width:auto; display:block; }
.brand-logo-footer img { height:40px; filter:brightness(0) invert(1) opacity(.92); }
@media (max-width:820px){ .brand-logo img { height:38px; } }
@media (max-width:480px){ .brand-logo img { height:32px; } }

/* ---------- KA English : la collection ---------- */
.ka-coll { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:8px; }
.ka-vol { background:var(--white); border:1px solid var(--line); border-radius:9px; padding:18px 14px; text-align:center; }
.ka-vol.live { border-color:var(--laterite); border-width:2px; background:#fdf8ec; }
.ka-vol .lvl { font-family:var(--serif); font-size:24px; color:var(--indigo); font-weight:600; line-height:1; margin-bottom:6px; }
.ka-vol.live .lvl { color:var(--laterite); }
.ka-vol .nm { font-size:12.5px; color:var(--muted); line-height:1.4; margin-bottom:10px; }
.ka-vol .st { font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-weight:700; color:var(--muted); }
.ka-vol.live .st { color:var(--laterite); }
.ka-vol a.st { color:var(--laterite); text-decoration:none; }
@media (max-width:780px){ .ka-coll { grid-template-columns:repeat(2,1fr); } }

/* ---------- Article : blocs de correction ✗/✓ ---------- */
.article .corr { background:var(--paper-2); border-radius:8px; padding:14px 18px; margin:14px 0; font-size:16px; line-height:1.7; }
.article .corr .bad { color:#a3402a; }
.article .corr .good { color:#2e7d32; }
.article .corr .en { font-style:italic; }
.article .corr .note { display:block; margin-top:6px; color:var(--muted); font-size:15px; }

/* ---------- Article : visuel illustratif ---------- */
.article .art-visual { margin:28px 0; text-align:center; }
.article .art-visual img { max-width:100%; width:420px; border-radius:10px; box-shadow:0 10px 30px -14px rgba(26,23,20,.55); display:inline-block; transition:transform .3s ease; }
.article .art-visual a:hover img { transform:translateY(-3px); }
.article .art-visual .cap { display:block; margin-top:10px; font-size:13.5px; color:var(--muted); font-style:italic; }

/* ---------- Article : bloc "Écrivez-moi" ---------- */
.article .react-box { background:var(--paper-2); border-left:4px solid var(--laterite); border-radius:0 10px 10px 0;
  padding:24px 28px; margin:38px 0 8px; }
.article .react-box h3 { font-family:var(--serif); font-size:21px; color:var(--indigo); margin-bottom:8px; }
.article .react-box p { font-size:15.5px; color:var(--muted); line-height:1.7; margin-bottom:16px; }
.article .react-box .react-actions { display:flex; flex-wrap:wrap; gap:10px; }
@media (max-width:560px){ .article .react-box { padding:20px; } .article .react-box .react-actions .btn { width:100%; text-align:center; } }
