:root{
  --deep:#0b3d4f; --teal:#0e7c86; --teal-light:#e3f2f3; --sand:#f8f5ef;
  --ink:#1f2a2e; --muted:#5b6b70; --accent:#d95f3b; --card:#ffffff;
  --radius:12px; --shadow:0 2px 10px rgba(11,61,79,.08);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);background:var(--sand);line-height:1.65;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{color:var(--teal)}
h1,h2,h3{line-height:1.25;color:var(--deep)}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{background:var(--deep);position:sticky;top:0;z-index:50;box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;gap:16px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;
  font-weight:700;font-size:1.15rem}
.brand img{border-radius:50%;background:#fff}
.main-nav{margin-left:auto;display:flex;gap:4px}
.main-nav a{color:#cfe6e8;text-decoration:none;padding:8px 12px;border-radius:8px;font-size:.95rem}
.main-nav a:hover{background:rgba(255,255,255,.12);color:#fff}
.nav-toggle{display:none;margin-left:auto;background:none;border:1px solid rgba(255,255,255,.4);
  color:#fff;font-size:1.3rem;border-radius:8px;padding:4px 10px;cursor:pointer}

/* Hero */
.hero{position:relative;background:var(--deep)}
.hero-img{width:100%;max-height:420px;object-fit:cover}
.hero-text{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center}
.hero-text h1{color:#fff;font-size:clamp(1.6rem,4vw,2.6rem);max-width:640px;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero-text p{color:#eaf5f6;max-width:520px;margin-top:10px;font-size:1.05rem;text-shadow:0 1px 8px rgba(0,0,0,.35)}

/* Cards grid */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px;margin:18px 0 34px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;
  transition:transform .15s ease,box-shadow .15s ease}
.card:hover{transform:translateY(-3px);box-shadow:0 6px 18px rgba(11,61,79,.14)}
.card-link{text-decoration:none;color:inherit;display:block}
.card img{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--teal-light)}
.card-body{padding:16px 18px 20px}
.card-cat{display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.04em;color:var(--teal);background:var(--teal-light);padding:3px 9px;border-radius:20px}
.card h3{margin:8px 0 6px;font-size:1.12rem}
.card p{color:var(--muted);font-size:.93rem}
.card-meta{display:block;margin-top:10px;font-size:.8rem;color:#8aa0a5}

/* Home sections */
.home-cat{margin:34px 0}
.home-cat-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.home-cat-head h2{font-size:1.4rem}
.home-cat-head a{font-size:.9rem;text-decoration:none;font-weight:600}
.cat-desc{color:var(--muted);margin:6px 0 4px}

/* Article page */
.article{max-width:760px;padding-top:26px;padding-bottom:40px}
.breadcrumb{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover{color:var(--teal)}
.article h1{font-size:clamp(1.5rem,3.4vw,2.1rem);margin-bottom:8px}
.article-meta{color:var(--muted);font-size:.88rem;margin-bottom:18px}
.article-hero{border-radius:var(--radius);margin-bottom:18px;width:100%}
.article h2{font-size:1.35rem;margin:30px 0 12px;padding-top:6px}
.article h3{font-size:1.1rem;margin:22px 0 8px}
.article p{margin:12px 0}
.article ul,.article ol{margin:12px 0 12px 22px}
.article li{margin:6px 0}
.article strong{color:var(--deep)}
.article blockquote{border-left:4px solid var(--teal);background:var(--teal-light);
  padding:12px 16px;border-radius:0 8px 8px 0;margin:16px 0;color:#274e55}

/* Affiliate */
.affiliate-banner{background:#fff7ed;border:1px solid #f5d9b8;color:#8a5a1e;
  font-size:.85rem;padding:10px 14px;border-radius:10px;margin:16px 0}
.selection{margin:34px 0 8px;background:#fff;border:1px solid #e8e2d5;border-radius:var(--radius);padding:20px}
.selection h2{margin:0 0 6px}
.affiliate-note{font-size:.83rem;color:var(--muted);margin-bottom:14px}
.product{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:14px 0;border-top:1px dashed #e5ded0}
.product:first-of-type{border-top:none}
.product-info{flex:1;min-width:220px}
.product-info h3{font-size:1.05rem;margin-bottom:4px}
.product-info p{font-size:.9rem;color:var(--muted);margin:0}
.btn{display:inline-block;background:var(--accent);color:#fff;text-decoration:none;
  padding:10px 18px;border-radius:10px;font-weight:600;font-size:.92rem;white-space:nowrap}
.btn:hover{background:#c14e2d}
.badge-affil{display:block;font-size:.68rem;font-weight:400;opacity:.85;font-style:italic}

/* Footer */
.site-footer{background:var(--deep);color:#b9d5d9;margin-top:50px;padding:30px 0;font-size:.9rem}
.footer-disclosure{max-width:640px;margin-bottom:14px;font-size:.85rem}
.footer-nav{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:12px}
.footer-nav a{color:#dceff1;text-decoration:none}
.footer-nav a:hover{text-decoration:underline}
.footer-copy{font-size:.8rem;color:#7fa3a9}

/* Legal pages */
.article table{width:100%;border-collapse:collapse;margin:14px 0;font-size:.92rem}
.article th,.article td{border:1px solid #e0d9cb;padding:8px 10px;text-align:left;vertical-align:top}
.article th{background:var(--teal-light)}
.todo-inline{background:#fff3cd;border:1px dashed #d9b23c;padding:2px 6px;border-radius:6px;
  font-size:.85em;color:#7a5b00}

@media (max-width:760px){
  .nav-toggle{display:block}
  .main-nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--deep);
    flex-direction:column;padding:10px 16px 16px}
  .main-nav.open{display:flex}
  .main-nav a{padding:10px 8px;font-size:1rem}
  .hero-text{position:static;padding:22px 20px 28px}
  .hero-text h1,.hero-text p{text-shadow:none}
  .product{flex-direction:column;align-items:flex-start}
}
.btn-disabled{background:#9aa8ab;cursor:default}
.btn-disabled:hover{background:#9aa8ab}

/* Formulaire de contact */
.contact-form input[type="text"],.contact-form input[type="email"],.contact-form textarea{width:100%;max-width:34rem;padding:.55rem .7rem;border:1px solid #c9c2b8;border-radius:8px;font:inherit;background:#fff;color:inherit}
.contact-form textarea{resize:vertical}
.hp-field{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.form-note{font-size:.92rem;color:#5c5648}
.contact-form button[disabled]{opacity:.55;cursor:not-allowed}

.article-figure{margin:1.5rem 0}.article-figure .article-hero{margin:0;width:100%}.article-figure figcaption{font-size:.8rem;color:#53666d;line-height:1.5;margin-top:.5rem}.article-sources{font-size:.9rem;overflow-wrap:anywhere}.source-date{font-size:.85rem;color:#53666d}.related{background:#eaf1f0;border-radius:12px;padding:1rem 1.4rem;margin-top:2rem}.related h2{margin-top:0}

.article-toc{background:#eaf1f0;padding:1rem 1.3rem;border-radius:12px;margin:1.4rem 0 2rem}.article-toc h2{font-size:1.1rem;margin:0 0 .5rem}.article-toc ol{margin:.3rem 0;padding-left:1.2rem}.article-toc li{font-size:.95rem;line-height:1.5;margin:.25rem 0}.article h2[id]{scroll-margin-top:5.5rem}

.article-figure .article-hero{height:auto;max-height:600px;object-fit:contain;background:#fff}.card-credit{font-size:.7rem;line-height:1.35;color:#53666d;padding:0 1.1rem 1rem;margin:0;overflow-wrap:anywhere}.card-credit a{color:inherit}.card img{object-fit:contain;background:#fff}
