/* ===== Tri-Benne — feuille de style ===== */
:root {
  --anthracite: #1a2129;
  --anthracite-2: #232d38;
  --slate: #33414f;
  --ambre: #f2a516;
  --ambre-fonce: #d98e05;
  --acier: #eef1f4;
  --acier-2: #f7f9fb;
  --bordure: #dde3e9;
  --texte: #222a31;
  --texte-doux: #5a656f;
  --vert: #2a9d6f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texte);
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--anthracite); }
a:hover { color: var(--ambre-fonce); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }

/* ===== Header ===== */
.site-header {
  background: var(--anthracite);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 62px; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.5px; }
.logo span { color: var(--ambre); }
.logo:hover { color: #fff; }
.main-nav ul { list-style: none; display: flex; gap: .1rem; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: block; color: #e5e9ee; text-decoration: none; padding: 18px 13px; font-weight: 500; font-size: .95rem; }
.main-nav > ul > li > a:hover { color: var(--ambre); }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 270px; box-shadow: 0 10px 28px rgba(0,0,0,.2);
  border-radius: 0 0 10px 10px; flex-direction: column; padding: 6px 0;
  border-top: 3px solid var(--ambre);
}
.has-dropdown.open .dropdown { display: flex; }
.dropdown li a { color: var(--texte); padding: 10px 18px; font-weight: 400; }
.dropdown li a:hover { background: var(--acier); color: var(--ambre-fonce); }

/* ===== Fil d'Ariane ===== */
.breadcrumb { margin: 18px auto 0; font-size: .87rem; color: var(--texte-doux); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--bordure); }
.breadcrumb a { color: var(--texte-doux); text-decoration: none; }
.breadcrumb a:hover { color: var(--ambre-fonce); text-decoration: underline; }

/* ===== Contenu ===== */
main { padding: 26px 20px 60px; }
h1 { font-size: 2.2rem; line-height: 1.22; color: var(--anthracite); margin: 10px 0 18px; letter-spacing: -.5px; }
h2 { font-size: 1.55rem; color: var(--anthracite); margin: 42px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--bordure); }
h3 { font-size: 1.18rem; color: var(--slate); margin: 26px 0 10px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px 24px; }
li { margin-bottom: 7px; }
strong { color: var(--anthracite); }
.intro { font-size: 1.12rem; color: var(--texte-doux); }
.lead-highlight { border-left: 4px solid var(--ambre); padding-left: 16px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 400px at 80% -20%, rgba(242,165,22,.18), transparent 60%),
    linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-2) 60%, var(--slate) 100%);
  color: #fff; border-radius: 16px; padding: 56px 46px; margin: 6px 0 20px;
}
.hero h1 { color: #fff; font-size: 2.6rem; margin: 0 0 14px; max-width: 760px; }
.hero p { font-size: 1.16rem; color: #cdd6df; max-width: 660px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.badge {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; padding: 7px 14px; border-radius: 100px; font-size: .88rem; font-weight: 600;
}
.badge b { color: var(--ambre); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Boutons ===== */
.btn {
  display: inline-block; background: var(--ambre); color: var(--anthracite);
  padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 700;
  transition: transform .12s, background .15s, box-shadow .15s;
  box-shadow: 0 4px 14px rgba(242,165,22,.35);
}
.btn:hover { background: var(--ambre-fonce); color: var(--anthracite); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* ===== Sommaire / grille ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.card {
  border: 1px solid var(--bordure); border-radius: 12px; padding: 24px;
  background: #fff; transition: box-shadow .15s, transform .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: 0 10px 26px rgba(26,33,41,.12); transform: translateY(-3px); border-color: #cfd6dd; }
.card .ico { font-size: 1.7rem; margin-bottom: 8px; }
.card h3 { margin: 0 0 8px; }
.card h3 a { text-decoration: none; color: var(--anthracite); }
.card h3 a:hover { color: var(--ambre-fonce); }
.card p { font-size: .95rem; color: var(--texte-doux); margin-bottom: 0; flex: 1; }
.card .card-link { margin-top: 14px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--ambre-fonce); }
.card .card-link::after { content: " →"; }

/* ===== Encadré / CTA boutiques ===== */
.encadre {
  background: var(--acier); border-left: 4px solid var(--ambre);
  border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 26px 0;
}
.encadre p:last-child { margin-bottom: 0; }
.encadre strong { color: var(--anthracite); }

.cta-shops {
  background: linear-gradient(135deg, var(--anthracite) 0%, var(--slate) 100%);
  color: #fff; border-radius: 14px; padding: 28px 30px; margin: 34px 0;
}
.cta-shops .cta-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Tableaux ===== */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border: 1px solid var(--bordure); padding: 11px 14px; text-align: left; vertical-align: top; }
th { background: var(--anthracite); color: #fff; font-weight: 600; }
tr:nth-child(even) td { background: var(--acier-2); }
.ok { color: var(--vert); font-weight: 700; }
.no { color: #c14747; font-weight: 700; }

/* ===== Blocs "points clés" ===== */
.keypoints { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin: 24px 0; }
.keypoint { background: var(--acier-2); border: 1px solid var(--bordure); border-radius: 12px; padding: 20px; }
.keypoint .num { font-size: 1.9rem; font-weight: 800; color: var(--ambre-fonce); line-height: 1; }
.keypoint .lbl { font-weight: 700; margin: 6px 0 4px; color: var(--anthracite); }
.keypoint p { font-size: .9rem; color: var(--texte-doux); margin: 0; }

/* Liste "check" */
.checklist { list-style: none; margin-left: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--vert); font-weight: 800; }

/* ===== FAQ ===== */
.faq { margin: 20px 0; }
.faq details { border: 1px solid var(--bordure); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--anthracite); padding: 15px 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸ "; color: var(--ambre); }
.faq details[open] summary::before { content: "▾ "; }
.faq details p { padding: 0 18px 15px; margin: 0; color: var(--texte-doux); }

/* Pages liées */
.pages-liees { background: var(--acier); border-radius: 12px; padding: 26px 30px; margin-top: 46px; }
.pages-liees h2 { border: none; margin-top: 0; font-size: 1.25rem; }
.pages-liees ul { margin-bottom: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--anthracite); color: #aab4bf; margin-top: 46px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 46px 20px 30px; }
.footer-logo { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: var(--ambre); }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #aab4bf; text-decoration: none; }
.site-footer a:hover { color: var(--ambre); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; font-size: .85rem; color: #7d8894; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding-bottom: 8px; }
  .main-nav a { padding: 10px 12px; }
  .hero { padding: 38px 26px; }
  .hero h1 { font-size: 1.95rem; }
  h1 { font-size: 1.75rem; }
  .dropdown { position: static; box-shadow: none; border-radius: 0; border-top: none; border-left: 3px solid var(--ambre); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
