/* Pages guides de focato.fr : mêmes couleurs et polices que l'accueil */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --amber: #E8AA43;
  --amber-light: #F0C060;
  --bg: #273331;
  --bg2: #2e3d3a;
  --white: #fff;
  --white-dim: rgba(255,255,255,.78);
  --muted: rgba(255,255,255,.5);
  --line: rgba(232,170,67,.28);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--white); line-height: 1.7;
}
a { color: var(--amber-light); }

/* ── MENU ── */
.site-nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 40px;
  background: rgba(39,51,49,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-logo { height: 30px; display: block; filter: drop-shadow(0 2px 8px rgba(232,170,67,.2)); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--white-dim); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  background: var(--amber); color: #273331; padding: 9px 18px; border-radius: 10px; font-weight: 700;
}
.nav-links .nav-cta:hover { color: #273331; opacity: .88; }
@media (max-width: 640px) {
  .site-nav { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-login { display: none; }
}

/* ── ARTICLE ── */
.guide { max-width: 780px; margin: 0 auto; padding: 56px 24px 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.guide h1 {
  font-family: 'Fraunces', serif; font-weight: 300;
  font-size: clamp(34px, 6vw, 56px); line-height: 1.12; margin-bottom: 24px;
}
.guide h1 em { font-style: italic; color: var(--amber-light); }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--white-dim); font-weight: 300; margin-bottom: 36px; }
.guide h2 {
  font-family: 'Fraunces', serif; font-weight: 400; color: var(--amber-light);
  font-size: clamp(25px, 4vw, 34px); line-height: 1.25; margin: 64px 0 18px;
}
.guide h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.guide p { color: var(--white-dim); margin-bottom: 16px; }
.guide ul, .guide ol { color: var(--white-dim); margin: 0 0 20px 22px; }
.guide li { margin-bottom: 8px; }
.guide li strong, .guide p strong { color: var(--white); font-weight: 600; }

.hero-cta, .cta-btn {
  display: inline-block; background: var(--amber); color: #273331;
  padding: 16px 32px; border-radius: 14px; font-weight: 700; font-size: 16px;
  text-decoration: none; box-shadow: 0 8px 32px rgba(232,170,67,.3); transition: transform .2s, opacity .2s;
}
.hero-cta:hover, .cta-btn:hover { opacity: .92; transform: translateY(-2px); }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.step {
  background: rgba(255,255,255,.03); border-radius: 16px; padding: 22px;
  outline: 2px solid var(--line); outline-offset: -4px;
}
.step b { display: block; font-family: 'Fraunces', serif; font-weight: 300; font-size: 38px; color: rgba(232,170,67,.45); line-height: 1; margin-bottom: 10px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { font-size: 14px; margin: 0; }

/* Images */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 8px; }
.duo.trio { grid-template-columns: repeat(3, 1fr); }
.duo figure { margin: 0; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; display: block; background: var(--bg2); }
.duo figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }
@media (max-width: 520px) { .duo.trio { grid-template-columns: 1fr 1fr; } }

/* Encadré */
.note {
  background: rgba(232,170,67,.08); border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0;
}
.note p { margin: 0; }

/* Tableau */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white-dim); vertical-align: top; }
th { color: var(--white); font-weight: 600; }
td.hl, th.hl { color: var(--amber-light); }

/* Liste d'idées numérotée */
.guide { counter-reset: idee; }
.ideas { list-style: none; margin-left: 0 !important; }
.ideas li { counter-increment: idee; position: relative; padding-left: 44px; margin-bottom: 14px; }
.ideas li::before {
  content: counter(idee); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(232,170,67,.14); color: var(--amber-light);
  font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.faq { margin-top: 12px; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 16px; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 14px;
  font-size: 22px; font-weight: 300; color: var(--amber); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; margin: 0; }

/* Appel à l'action de fin */
.cta-box {
  text-align: center; margin: 72px 0 24px; padding: 44px 24px; border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,170,67,.14), transparent 70%), rgba(255,255,255,.03);
  outline: 2px solid var(--line); outline-offset: -4px;
}
.cta-box h2 { margin-top: 0; }
.cta-box p { max-width: 520px; margin: 0 auto 24px; }

/* Autres guides */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.guides a {
  display: block; padding: 18px 20px; border-radius: 14px; text-decoration: none;
  background: rgba(255,255,255,.04); color: var(--white); font-weight: 500; font-size: 15px;
  transition: background .2s;
}
.guides a span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.guides a:hover { background: rgba(232,170,67,.1); }

/* ── PIED DE PAGE ── */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06); padding: 40px 24px;
  text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px;
}
.site-footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.site-footer-links { display: flex; justify-content: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 10px; }
.site-footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.site-footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .2s, box-shadow .2s;
}
.site-footer-social a:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.site-footer-social .soc-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.site-footer-social .soc-fb { background: #1877f2; }
.site-footer-social .soc-tt { background: #000; border: 1px solid rgba(255,255,255,.18); }
.site-footer-social .soc-tt svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.site-footer-social svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 560px) {
  table { min-width: 0; font-size: 13px; }
  th, td { padding: 10px 6px; }
}
