/* ===========================================================================
   DomaineScan — feuille de style (refonte "effet")
   Thème sombre premium, aurora animée, glassmorphism, micro-interactions.
   =========================================================================== */

:root {
  --bg: #0a0e1a;
  --bg-2: #0d1322;
  --card: #121a2e;
  --card-2: #16203a;
  --line: #233152;
  --line-soft: #1b2740;
  --text: #eef2ff;
  --muted: #93a1c4;
  --muted-2: #6b7aa0;

  --indigo: #6d8bff;
  --violet: #a06bff;
  --cyan: #36d6e7;
  --green: #2ee6a6;
  --green-soft: rgba(46, 230, 166, 0.13);
  --amber: #ffc24b;
  --amber-soft: rgba(255, 194, 75, 0.13);
  --red: #ff6b6b;

  --grad: linear-gradient(120deg, var(--cyan), var(--indigo) 45%, var(--violet));
  --radius: 20px;
  --shadow: 0 24px 70px -28px rgba(0, 0, 0, 0.75);
  --ring: 0 0 0 4px rgba(109, 139, 255, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand { font-family: "Sora", "Inter", sans-serif; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Fond aurora animé ------------------------------------------------------ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(109, 139, 255, 0.08), transparent 70%),
    var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
}
.b1 { width: 540px; height: 540px; left: -120px; top: -160px; background: #2b4bff; animation: float1 18s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; right: -120px; top: -80px; background: #7d2bff; animation: float2 22s ease-in-out infinite; }
.b3 { width: 420px; height: 420px; left: 40%; top: 380px; background: #16b5c7; opacity: 0.3; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,30px) scale(1.08); } }

/* --- Nav -------------------------------------------------------------------- */
.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand-logo { font-size: 1.3rem; filter: drop-shadow(0 0 10px rgba(109,139,255,.6)); }
.nav-right { display: flex; gap: 22px; align-items: center; }
.lang-wrap { position: relative; }
#lang-select {
  appearance: none;
  background: rgba(13, 19, 34, 0.7);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 30px 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2393a1c4' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
#lang-select:hover { border-color: var(--indigo); }
#lang-select option { background: #0d1322; color: var(--text); }
.nav-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: color .15s; }
.nav-link:hover { color: var(--text); }

/* --- Hero ------------------------------------------------------------------- */
.hero { position: relative; padding-bottom: 30px; }
.hero-inner { max-width: 880px; margin: 0 auto; padding: 26px 24px 0; text-align: center; }

.hero-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cfe0ff;
  background: rgba(109, 139, 255, 0.12);
  border: 1px solid rgba(109, 139, 255, 0.35);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  animation: rise 0.6s ease both;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 800;
  animation: rise 0.6s 0.05s ease both;
}
.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 660px;
  margin: 0 auto 30px;
  animation: rise 0.6s 0.12s ease both;
}
.subtitle strong { color: var(--text); font-weight: 600; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --- Carte de recherche (glass) -------------------------------------------- */
.search-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  border-radius: var(--radius);
  animation: rise 0.6s 0.18s ease both;
}
.glass {
  background: linear-gradient(180deg, rgba(30, 41, 71, 0.72), rgba(18, 26, 46, 0.72));
  border: 1px solid rgba(120, 140, 190, 0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mode-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(13, 19, 34, 0.5);
  color: var(--muted);
  font: inherit;
  padding: 11px 13px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.mode-btn:hover { border-color: #3a4d80; color: var(--text); transform: translateY(-1px); }
.mode-btn.active {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(109, 139, 255, 0.8);
}
.mode-ico { font-size: 1.35rem; line-height: 1; }
.mode-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mode-txt b { font-size: 0.95rem; font-weight: 700; }
.mode-txt small { font-size: 0.72rem; opacity: 0.78; }

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-row:focus-within { border-color: var(--indigo); box-shadow: var(--ring); }
.search-ico { font-size: 1.1rem; opacity: 0.7; }
#search-input {
  flex: 1;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 1.06rem;
  padding: 12px 4px;
  outline: none;
  min-width: 0;
}
#search-input::placeholder { color: var(--muted-2); }
#search-btn {
  border: 0;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0 24px;
  height: 48px;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 0.12s, filter 0.12s;
  white-space: nowrap;
}
#search-btn:hover { filter: brightness(1.1); }
#search-btn:active { transform: scale(0.97); }
#search-btn:disabled { opacity: 0.6; cursor: progress; }

.mode-desc { color: var(--muted); font-size: 0.88rem; margin: 12px 4px 0; min-height: 1.2em; text-align: left; }

.examples {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.examples-label { color: var(--muted-2); font-size: 0.85rem; }
.chip {
  background: rgba(13, 19, 34, 0.6);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.12s;
}
.chip:hover { border-color: var(--indigo); color: #cfe0ff; transform: translateY(-1px); }

/* --- Bandeau de confiance --------------------------------------------------- */
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 800px;
  margin: 26px auto 0;
  padding: 0;
  animation: rise 0.6s 0.26s ease both;
}
.trust li { color: var(--muted); font-size: 0.86rem; display: flex; align-items: center; gap: 7px; }
.trust b { color: var(--text); font-weight: 600; }

/* --- Container & états ------------------------------------------------------ */
.container { max-width: 1000px; margin: 0 auto; padding: 40px 24px 70px; }

.status-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.status-bar b { color: var(--text); }
.status-bar .domain-pill { color: #cfe0ff; font-weight: 700; }

.placeholder { text-align: center; color: var(--muted); padding: 30px 0 20px; }
.placeholder-art { font-size: 3.4rem; margin-bottom: 6px; filter: drop-shadow(0 0 20px rgba(109,139,255,.35)); animation: floaty 4s ease-in-out infinite; }
.placeholder h3 { margin: 0 0 6px; color: var(--text); font-size: 1.25rem; }
.placeholder p { margin: 0; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* --- Résultats : animation d'entrée ---------------------------------------- */
.results { display: grid; gap: 12px; }
.results > * { animation: pop 0.4s ease both; }
.results > *:nth-child(2) { animation-delay: 0.04s; }
.results > *:nth-child(3) { animation-delay: 0.08s; }
.results > *:nth-child(4) { animation-delay: 0.12s; }
.results > *:nth-child(5) { animation-delay: 0.16s; }
.results > *:nth-child(6) { animation-delay: 0.2s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- Carte MEILLEUR PRIX ---------------------------------------------------- */
.best-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(46, 230, 166, 0.16), transparent 60%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1.5px solid var(--green);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px -30px rgba(46, 230, 166, 0.7);
}
.best-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #052a1d;
  background: var(--green);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.best-registrar { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.best-sub { color: var(--muted); margin-top: 6px; }
.best-sub b { color: var(--text); }
.best-trap { color: var(--amber); font-weight: 600; margin-top: 8px; font-size: 0.9rem; }
.best-right { text-align: right; }
.best-price { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-family: "Sora", sans-serif; }
.best-price .cur { font-size: 1rem; color: var(--muted); font-weight: 600; }
.best-savings { color: var(--green); font-weight: 600; font-size: 0.92rem; margin: 10px 0 12px; }

/* --- Boutons d'achat -------------------------------------------------------- */
.buy-btn {
  border: 0;
  text-decoration: none;
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  white-space: nowrap;
  transition: filter 0.12s, transform 0.12s;
  cursor: pointer;
}
.buy-btn:hover { filter: brightness(1.1); }
.buy-btn:active { transform: scale(0.97); }
.buy-btn.big { padding: 14px 26px; font-size: 1.02rem; }
.buy-btn.small { padding: 8px 14px; font-size: 0.85rem; }
.buy-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.aff-note { font-size: 0.66rem; color: var(--muted-2); text-align: center; margin-top: 5px; }
.aff-note.inline { display: inline; margin: 0 0 0 4px; }

/* --- Badges ----------------------------------------------------------------- */
.badge { font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge.live { background: var(--green-soft); color: var(--green); border: 1px solid var(--green); }
.badge.est { background: rgba(147, 161, 196, 0.13); color: var(--muted); border: 1px solid var(--line); }
.badge.best { background: var(--green); color: #052a1d; }
.badge.base { background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber); }
.badge.premium { background: linear-gradient(135deg, #ffb020, #ff7a18); color: #2a1500; border: 1px solid #ffb020; font-weight: 800; }
.trap-badge { background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber); font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

/* --- Bandeaux de précision -------------------------------------------------- */
.price-banner { border-radius: 14px; padding: 13px 16px; margin-bottom: 14px; font-size: 0.9rem; line-height: 1.5; }
.price-banner code { background: rgba(255,255,255,0.08); padding: 1px 5px; border-radius: 4px; }
.price-banner.premium { background: rgba(255, 176, 32, 0.13); border: 1px solid #ffb020; color: #ffe6bd; }
.price-banner.warn { background: var(--amber-soft); border: 1px solid var(--amber); color: #ffe6bd; }
.price-banner.ok { background: var(--green-soft); border: 1px solid var(--green); color: #c7f6e6; }

/* --- Disponibilité ---------------------------------------------------------- */
.avail-badge { font-size: 0.82rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; display: inline-block; }
.avail-badge small { font-weight: 500; opacity: 0.8; }
.avail-badge.small { font-size: 0.72rem; padding: 3px 9px; }
.avail-badge.ok { background: var(--green-soft); color: var(--green); border: 1px solid var(--green); }
.avail-badge.no { background: rgba(255, 107, 107, 0.13); color: var(--red); border: 1px solid var(--red); }
.avail-badge.unk { background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber); }

/* --- Sections & résumés ----------------------------------------------------- */
.section-head { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; margin: 28px 0 12px; }
.section-head.subtle { font-size: 0.9rem; color: var(--muted); font-weight: 600; margin-top: 22px; }
.results-inner { display: grid; gap: 12px; }
.muted-note { color: var(--muted); font-size: 0.86rem; margin-top: 10px; }
.muted-note.big { font-size: 1rem; padding: 22px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.alts-intro { color: var(--muted); font-size: 0.95rem; margin: -2px 0 12px; }
.alts-intro b { color: var(--text); }

.chips-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.mini-chip { font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.mini-chip.no { border-color: rgba(255, 107, 107, 0.5); }
.mini-chip.unk { border-color: rgba(255, 194, 75, 0.5); }

/* --- Offre (ligne registrar) ----------------------------------------------- */
.offer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px 20px;
  transition: transform 0.12s, border-color 0.12s;
}
.offer:hover { transform: translateY(-2px); border-color: #33457a; }
.offer.best { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.offer.unavailable { opacity: 0.6; }
.offer.dimmed { opacity: 0.55; }
.offer-left { display: flex; align-items: center; gap: 15px; min-width: 0; }
.rank {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line); font-weight: 700; color: var(--muted);
}
.offer.best .rank, .rank.ok-rank { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.offer-info { min-width: 0; }
.offer-name { font-weight: 700; font-size: 1.08rem; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.offer-sub { color: var(--muted); font-size: 0.84rem; margin-top: 3px; }
.offer-right { display: flex; align-items: center; gap: 20px; }
.price-block { text-align: right; }
.price-main { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; font-family: "Sora", sans-serif; }
.price-main .cur { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.price-renew { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.price-renew.trap { color: var(--amber); font-weight: 600; }
.price-na { color: var(--muted); font-size: 0.92rem; font-style: italic; }

/* --- Comparateur par mot-clé ------------------------------------------------ */
.kw-group {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 15px 17px;
}
.kw-group.is-free { border-color: var(--green); box-shadow: 0 0 0 1px rgba(46, 230, 166, 0.35); }
.kw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 11px; margin-bottom: 9px; border-bottom: 1px solid var(--line-soft); }
.kw-domain { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: "Sora", sans-serif; }
.kw-head-right { display: flex; align-items: center; gap: 10px; }
.kw-best { color: var(--green); font-weight: 600; }
.kw-best b { font-size: 1.1rem; }
.kw-providers { display: grid; gap: 6px; }
.prov-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 9px 12px; border-radius: 11px; background: var(--bg-2); border: 1px solid transparent;
}
.prov-row.best { border-color: var(--green); background: var(--green-soft); }
.prov-name { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prov-price { text-align: right; display: flex; flex-direction: column; line-height: 1.2; }
.prov-y1 { font-weight: 800; font-size: 1.05rem; font-family: "Sora", sans-serif; }
.prov-renew { color: var(--muted); font-size: 0.78rem; }
.kw-basis-note { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
.kw-domain-link { background: none; border: 0; color: inherit; font: inherit; font-weight: 800; letter-spacing: -0.02em; cursor: pointer; padding: 0; text-decoration: underline dotted rgba(255,255,255,0.25); text-underline-offset: 4px; }
.kw-domain-link:hover { color: #cfe0ff; }
.exact-link { background: none; border: 0; color: var(--indigo); font: inherit; font-size: 0.8rem; cursor: pointer; padding: 0; text-decoration: underline; }
.exact-link:hover { filter: brightness(1.25); }
.kw-providers-details summary { cursor: pointer; color: var(--muted); font-size: 0.86rem; padding: 4px 0; user-select: none; }
.kw-providers-details summary:hover { color: var(--text); }
.kw-providers-details[open] summary { margin-bottom: 8px; }
.resale-type { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); }

.more-btn {
  display: block; width: 100%; margin-top: 8px; padding: 14px; border-radius: 14px;
  border: 1px dashed var(--line); background: rgba(13, 19, 34, 0.5); color: #cfe0ff;
  font: inherit; font-weight: 700; cursor: pointer; transition: all 0.12s;
}
.more-btn:hover { border-color: var(--indigo); background: var(--card-2); }
.more-btn:disabled { opacity: 0.6; cursor: progress; }

/* --- Skeleton & erreurs ----------------------------------------------------- */
.skeleton { height: 80px; border-radius: 16px; border: 1px solid var(--line-soft); background: linear-gradient(90deg, var(--card) 25%, var(--card-2) 37%, var(--card) 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.error-box { background: rgba(255, 107, 107, 0.1); border: 1px solid var(--red); color: #ffd0d0; border-radius: 14px; padding: 16px 18px; }

/* --- Sections marketing ----------------------------------------------------- */
.section-title { font-size: clamp(1.5rem, 3.5vw, 2.1rem); text-align: center; letter-spacing: -0.02em; margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 560px; }

.features { margin-top: 60px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-soft); border-radius: 18px; padding: 22px; transition: transform 0.15s, border-color 0.15s; }
.feature-card:hover { transform: translateY(-4px); border-color: #33457a; }
.feature-ico { font-size: 1.9rem; margin-bottom: 12px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.howto { margin-top: 60px; }
.howto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.howto-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; padding: 24px; }
.howto-num { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); margin-bottom: 14px; font-family: "Sora", sans-serif; }
.howto-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.howto-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.howto-card code, .feature-card code { background: rgba(255,255,255,0.07); padding: 1px 6px; border-radius: 5px; font-size: 0.86em; }

/* --- FAQ -------------------------------------------------------------------- */
.faq { margin-top: 60px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 4px 18px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--indigo); font-weight: 800; font-size: 1.3rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }
.faq-item a { color: var(--indigo); }

/* --- Pages légales / contenu ------------------------------------------------ */
.legal { max-width: 820px; margin: 0 auto; padding: 30px 24px 60px; }
.legal h1 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal a { color: var(--indigo); }
.legal .back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
.legal .back:hover { color: var(--text); }

/* --- Bannière de consentement (cookies / RGPD) ------------------------------ */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(22,32,58,0.98), rgba(18,26,46,0.98));
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow); backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.consent p { margin: 0; flex: 1 1 280px; color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.consent p a { color: var(--indigo); }
.consent .btns { display: flex; gap: 8px; flex: 0 0 auto; }
.consent button { border: 0; font: inherit; font-weight: 700; padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.consent .accept { background: var(--grad); color: #fff; }
.consent .refuse { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* --- Footer ----------------------------------------------------------------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer { border-top: 1px solid var(--line-soft); margin-top: 50px; padding: 36px 24px; background: rgba(10, 14, 26, 0.6); }
.footer-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.footer .brand { justify-content: center; margin-bottom: 12px; }
.footer p { color: var(--muted-2); font-size: 0.84rem; margin: 0; }

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-right .nav-link { display: none; }
  .mode-switch { grid-template-columns: 1fr; }
  .mode-btn { padding: 12px 14px; }
  .howto-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; gap: 14px; }
  .offer-right { justify-content: space-between; }
  .best-card { grid-template-columns: 1fr; }
  .best-right { text-align: left; }
  .best-price { font-size: 2.1rem; }
  .search-row { flex-wrap: wrap; }
  #search-btn { width: 100%; }
  .prov-row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .prov-row .buy-btn { grid-column: 1 / -1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .blob, .placeholder-art { animation: none; }
  .results > *, .hero-pill, .hero h1, .subtitle, .search-card, .trust { animation: none; }
}
