/* ============================================================
   MAKOTOLINE.FR — Feuille de style principale
   Palette : #FAFAF8 bg | #7A9E7E sauge | #FF6B35 orange | #1a1a1a texte
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;0,900;1,400&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* ── Variables CSS ── */
:root {
  /* Couleurs */
  --bg:              #F4F3F0;
  --green:           #869A88;
  --green-dark:      #48594C;
  --green-mid:       #A4B5A6;
  --green-light:     #D6DDD7;
  --green-subtle:    #EDEEED;
  --orange:          #FF6B35;
  --orange-light:    #fff3ee;
  --orange-dark:     #e55a26;
  --text:            #1a1a1a;
  --text-muted:      #6b7280;
  --text-light:      #9ca3af;
  --border:          #e5e5e3;
  --border-light:    #f0f0ee;
  --white:           #ffffff;
  --red-light:       #fff0f0;
  --red:             #dc2626;
  --blue:            #2563eb;
  --grey-badge:      #6b7280;

  /* Typographie */
  --font-heading:    'Merriweather', Georgia, serif;
  --font-body:       'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max-width:       1200px;
  --sidebar-width:   300px;
  --content-gap:     2.5rem;
  --section-gap:     4rem;

  /* UI */
  --radius:          8px;
  --radius-lg:       12px;
  --radius-sm:       4px;
  --shadow:          0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:       0 4px 20px rgba(0,0,0,0.10);
  --shadow-hover:    0 8px 32px rgba(0,0,0,0.14);
  --transition:      0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Typographie ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; }

p { margin-bottom: 1rem; }

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Skip link accessibilité ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--green); color: var(--white);
  padding: .5rem 1rem; border-radius: 0 0 var(--radius) var(--radius);
  font-size: .9rem; z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  background: #D6DDD7;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Logo */
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo .accent { color: var(--green-dark); }
.logo:hover { opacity: 0.8; }

/* Nav principale */
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(0,0,0,0.07);
  color: var(--text);
}

/* Bouton header CTA */
.btn-header {
  background: var(--green-dark);
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: .45rem 1.1rem !important;
}
.btn-header:hover { background: var(--green) !important; color: var(--white) !important; }

/* Burger menu mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px; height: 22px;
  background: none; border: none;
  padding: 0;
}
.burger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO — INDEX
   ============================================================ */
.hero {
  padding: var(--section-gap) 1.5rem;
}

.hero-card {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: #D6DDD7;
}

.hero-inner {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-img {
  overflow: hidden;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--green-dark);
  font-style: italic;
}

.hero p {
  font-size: .95rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-white {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(0,0,0,0.3);
}
.btn-outline:hover {
  background: rgba(0,0,0,0.07);
  color: var(--text);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  font-size: .9rem;
  padding: .55rem 1.2rem;
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-sm {
  padding: .4rem .9rem;
  font-size: .85rem;
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section { padding: var(--section-gap) 0; }
.section-alt { background: var(--white); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header h2 {
  position: relative;
  padding-bottom: .5rem;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 3rem; height: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.see-all {
  font-size: .9rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.see-all:hover { color: var(--green-dark); text-decoration: underline; }

/* ============================================================
   BENTO CATEGORIES
   ============================================================ */
.bento-section {
  padding: var(--section-gap) 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1rem;
  align-items: stretch;
}

.bento-main {
  background: var(--green-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem;
  min-height: 340px;
}

.bento-main-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(168,197,171,0.15);
  border: 1px solid rgba(168,197,171,0.3);
  padding: .25rem .8rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.bento-main-content {
  max-width: 360px;
}

.bento-main-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.bento-main-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.75rem;
  font-size: .92rem;
  line-height: 1.6;
}

.btn-bento {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .9rem;
  padding: .65rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-bento:hover { background: var(--green-light); color: var(--green-dark); }

.bento-main-img { display: none; }

.bento-side {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.bento-mini {
  background: var(--green-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition), transform var(--transition);
  flex: 1;
}
.bento-mini:hover {
  background: var(--green-light);
  color: inherit;
  transform: translateX(3px);
}

.bento-mini-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .35rem;
}

.bento-mini-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.bento-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--green-dark);
  box-shadow: var(--shadow);
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
  padding: 0 0 var(--section-gap);
}

.trust-card {
  background: var(--green-dark);
  border-radius: 20px;
  padding: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2.5rem;
}

.trust-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

.trust-header p {
  color: rgba(255,255,255,0.65);
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
  padding-top: .25rem;
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.trust-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  flex-shrink: 0;
}

.trust-pillar h3 {
  font-size: .95rem;
  color: var(--white);
  margin-bottom: .35rem;
}

.trust-pillar p {
  font-size: .83rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.6;
}

.trust-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.trust-stat {
  flex: 1;
  text-align: center;
}

.trust-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}

.trust-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.trust-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 768px) {
  .trust-header { grid-template-columns: 1fr; }
  .trust-pillars { grid-template-columns: 1fr; gap: 1.5rem; }
  .trust-stats { flex-wrap: wrap; gap: 1.5rem; padding: 1.25rem; }
  .trust-stat-sep { display: none; }
  .trust-stat { flex: 0 0 45%; }
}

/* ============================================================
   NEWSLETTER BANNER
   ============================================================ */
.nl-banner-section {
  padding: var(--section-gap) 0;
}

.nl-banner {
  background: linear-gradient(130deg, var(--green-subtle) 0%, var(--green-light) 50%, #a8d5b5 100%);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.nl-banner-text {
  padding: 3rem 3rem 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nl-banner-text h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.25;
}

.nl-banner-text > p {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 1.5rem;
}

.nl-banner-form {
  display: flex;
  max-width: 400px;
  margin-bottom: .6rem;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.nl-banner-form input {
  flex: 1;
  padding: .75rem 1.3rem;
  border: none;
  font-size: .9rem;
  background: var(--white);
  color: var(--text);
  outline: none;
}

.nl-banner-form button {
  padding: .75rem 1.4rem;
  background: var(--green);
  color: var(--white);
  border: none;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.nl-banner-form button:hover { background: var(--green-dark); }

.nl-legal {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
}
.nl-legal a { color: var(--text-muted); text-decoration: underline; }

.nl-banner-img {
  overflow: hidden;
}
.nl-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   CARTES ARTICLES (index)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Image carte */
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--green-light);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}
.card:hover .card-img img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-category {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .5rem;
}
.card h3 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  line-height: 1.35;
}
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--green); }
.card p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--text-light);
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border-light);
}
.card-meta a, .card-meta-link {
  color: var(--green);
  font-weight: 600;
  font-size: .85rem;
}

/* Card entièrement cliquable */
a.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
a.card-link h3 { color: var(--text); }
a.card-link:hover h3 { color: var(--green); }
a.card-link:hover { color: inherit; }

/* ============================================================
   STATS BANDEAU
   ============================================================ */
.stats-band {
  background: var(--green-dark);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #2D3D35;
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--white); font-size: 1.3rem; }
.footer-brand .logo .accent { color: #A8C0BB; }
.footer-brand p { margin-top: .75rem; font-size: .9rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .85rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
}
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   LAYOUT ARTICLE — 2 COLONNES + SIDEBAR
   ============================================================ */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--content-gap);
  align-items: start;
}

/* ── Colonne principale ── */
.article-main { min-width: 0; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { color: var(--border); font-size: .7rem; }
.breadcrumb-current { color: var(--text); }

/* ── Header article ── */
.article-header { margin-bottom: 1.75rem; }
.article-category {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: .85rem;
}
.article-header h1 { margin-bottom: 1rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.article-meta strong { color: var(--text); font-weight: 600; }
.meta-sep { color: var(--border); }
.meta-update {
  margin-left: auto;
  background: var(--green-subtle);
  color: var(--green);
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
}

/* ── Encadré "Ce qu'il faut retenir" ── */
.takeaway {
  background: var(--green-subtle);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.5rem;
  margin-bottom: 2rem;
}
.takeaway-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.takeaway ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.takeaway li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .95rem;
}
.takeaway li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Image hero article ── */
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #d8f3dc 0%, #b7e4c7 50%, #95d5b2 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  opacity: 0.7;
  position: relative;
  overflow: hidden;
}
.article-hero-img::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 30px,
    rgba(45,106,79,0.05) 30px, rgba(45,106,79,0.05) 60px
  );
}

/* ── Intro texte ── */
.article-intro { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1.75rem; }

/* ── Section H2 dans article ── */
.article-main h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--border-light);
  color: var(--green-dark);
}
.article-main h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 .75rem;
}

/* ── Sélection rapide ── */
.quick-selection {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.quick-selection-header {
  background: var(--green-dark);
  color: var(--white);
  padding: .8rem 1.25rem;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.quick-table {
  width: 100%;
  border-collapse: collapse;
}
.quick-table tr:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}
.quick-table td {
  padding: .9rem 1.25rem;
  vertical-align: middle;
  font-size: .92rem;
}
.quick-table tr:hover { background: var(--bg); }
.q-badge { width: 2.2rem; }
.q-name { font-weight: 700; color: var(--text); }
.q-desc { color: var(--text-muted); font-size: .88rem; }
.q-action { width: 8rem; text-align: right; }

/* Badge numéro */
.badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  font-weight: 900;
  font-size: .82rem;
  flex-shrink: 0;
}
.badge-1 { background: #C9A84C; color: #fff; }
.badge-2 { background: #8A9399; color: #fff; }
.badge-3 { background: #A0714F; color: #fff; }
.badge-4 { background: var(--green-mid); color: #fff; }
.badge-5 { background: var(--green-mid); color: #fff; }

/* ── Fiche produit complète ── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.product-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.product-img-placeholder {
  width: 140px; height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-light) 0%, #b7e4c7 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img-placeholder::after {
  content: attr(data-name);
  font-size: .7rem;
  font-weight: 600;
  color: var(--green);
  text-align: center;
  padding: .5rem;
  line-height: 1.3;
}
.product-img-placeholder.badge-1-bg { background: linear-gradient(135deg, #fff0e8 0%, #ffd4c0 100%); }
.product-img-placeholder.badge-1-bg::after { color: var(--orange); }
.product-img-placeholder.badge-3-bg { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); }
.product-img-placeholder.badge-3-bg::after { color: var(--blue); }

.product-info { flex: 1; }
.product-rank {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}
.product-rank-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-info h3 {
  font-size: 1.3rem;
  margin: 0 0 .5rem;
  line-height: 1.25;
}

/* Étoiles SVG */
.stars {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-bottom: .5rem;
}
.star {
  width: 1.1rem; height: 1.1rem;
}
.star-full path { fill: #f59e0b; }
.star-half .star-bg { fill: #e5e7eb; }
.star-half .star-fg { fill: #f59e0b; }
.star-empty path { fill: #e5e7eb; }
.stars-label {
  font-size: .85rem;
  color: var(--text-muted);
  margin-left: .25rem;
}

.product-tagline {
  font-size: .92rem;
  color: var(--text-muted);
}
.product-tagline strong { color: var(--green); }

/* Makoto Score */
.makoto-score {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  text-align: center;
  min-width: 110px;
  flex-shrink: 0;
  align-self: center;
}
.makoto-score-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .2rem;
}
.makoto-score-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: .15rem;
}
.makoto-score-text {
  font-size: .75rem;
  opacity: .85;
  font-weight: 600;
}

/* Corps de la fiche produit */
.product-card-body { padding: 1.5rem; }

/* Grille caractéristiques */
.product-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.spec-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: .6rem .85rem;
}
.spec-label {
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: .15rem;
}
.spec-value {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}
.spec-value.good { color: var(--green); }
.spec-value.neutral { color: var(--text-muted); }

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pros, .cons {
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.pros { background: var(--green-subtle); border: 1px solid var(--green-light); }
.cons { background: var(--red-light); border: 1px solid #fecaca; }
.pros-cons-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.pros .pros-cons-title { color: var(--green-dark); }
.cons .pros-cons-title { color: var(--red); }
.pros-cons-list { display: flex; flex-direction: column; gap: .4rem; }
.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
}
.pros-cons-list li::before { flex-shrink: 0; margin-top: .05rem; }
.pros .pros-cons-list li::before { content: '+'; color: var(--green); font-weight: 900; }
.cons .pros-cons-list li::before { content: '−'; color: var(--red); font-weight: 900; }

/* CTA produit */
.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}
.product-price span {
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 400;
}
.btn-cta {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-size: .95rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn-cta:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
}
.btn-cta-note {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: .35rem;
  text-align: center;
}

/* ── Comment on a testé ── */
.tested-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.tested-box h2 {
  border-bottom: none;
  font-size: 1.2rem;
  color: var(--green-dark);
  margin: 0 0 .85rem;
}
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
.criterion {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .92rem;
}
.criterion-icon {
  width: 2rem; height: 2rem;
  background: var(--green-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── FAQ Accordéon ── */
.faq-section { margin: 2rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .6rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-question[aria-expanded="true"] { background: var(--green-subtle); color: var(--green-dark); }
.faq-icon {
  width: 1.5rem; height: 1.5rem;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  transition: all var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 1.25rem 1.1rem;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  background: var(--white);
}
.faq-answer.open { display: block; }

/* ── Conclusion ── */
.conclusion-box {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
}
.conclusion-box h2 {
  color: var(--white);
  border: none;
  margin: 0 0 .75rem;
  font-size: 1.35rem;
}
.conclusion-box p {
  color: rgba(255,255,255,0.85);
  font-size: .97rem;
  margin-bottom: .85rem;
}
.conclusion-box p:last-child { margin-bottom: 0; }

/* ============================================================
   SIDEBAR STICKY
   ============================================================ */
.sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-block-title {
  background: var(--green-dark);
  color: var(--white);
  padding: .75rem 1.1rem;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Tableau récap sidebar */
.sidebar-recap { padding: .75rem; }
.recap-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.recap-row:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.recap-row:hover { background: var(--bg); }
.recap-info { flex: 1; min-width: 0; }
.recap-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: .15rem;
}
.recap-note {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.recap-stars {
  display: flex;
  gap: .1rem;
}
.recap-stars .s {
  width: .7rem; height: .7rem;
  background: #f59e0b;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.recap-score-num {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
}
.recap-action { flex-shrink: 0; }
.recap-btn {
  font-size: .78rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: .3rem .6rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background var(--transition);
}
.recap-btn:hover { background: var(--green-dark); color: var(--white); }

/* Newsletter sidebar */
.sidebar-newsletter { padding: 1.1rem; }
.sidebar-newsletter p {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: .85rem;
}
.newsletter-form { display: flex; flex-direction: column; gap: .6rem; }
.newsletter-form input[type="email"] {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.newsletter-form button {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: .65rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--orange-dark); }
.newsletter-note {
  font-size: .75rem;
  color: var(--text-light);
  text-align: center;
}

/* Sidebar avis récents */
.sidebar-recent { padding: .85rem; }
.recent-item {
  display: flex;
  gap: .75rem;
  padding: .6rem 0;
}
.recent-item:not(:last-child) { border-bottom: 1px solid var(--border-light); }
.recent-thumb {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green-light), #b7e4c7);
  flex-shrink: 0;
}
.recent-content { flex: 1; min-width: 0; }
.recent-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .15rem;
}
.recent-title a { color: var(--text); }
.recent-title a:hover { color: var(--green); }
.recent-date { font-size: .77rem; color: var(--text-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablette */
@media (max-width: 1024px) {
  :root { --sidebar-width: 260px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-specs { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-main { min-height: 300px; }
  .bento-side { flex-direction: row; }
  .bento-mini { flex: 1; }
  .nl-banner { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Nav */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--green-dark);
    border-bottom: 2px solid var(--green);
    flex-direction: column;
    align-items: stretch;
    padding: .75rem;
    gap: .15rem;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .65rem 1rem; border-radius: var(--radius-sm); color: rgba(255,255,255,0.85); }
  .burger { display: flex; }
  .site-header { position: sticky; }

  /* Layout article */
  .article-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
  }
  .sidebar { position: static; }

  /* Grilles */
  .cards-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-img { max-height: 260px; }
  .bento-side { flex-direction: column; }
  .nl-banner { grid-template-columns: 1fr; }
  .nl-banner-img { max-height: 240px; }
  .nl-banner-text { padding: 2rem 1.5rem; }
  .pros-cons { grid-template-columns: 1fr; }
  .product-specs { grid-template-columns: repeat(2, 1fr); }
  .criteria-grid { grid-template-columns: 1fr; }

  /* Header produit */
  .product-card-header { flex-direction: column; align-items: flex-start; }
  .makoto-score { align-self: flex-start; }

  /* Quick table */
  .q-desc { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .product-specs { grid-template-columns: 1fr 1fr; }
}
