/* ============ TopCote France — Bleu Nuit & Or ============ */

/* Fonts (self-hosted, variable) */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-display: optional;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: optional;
  font-style: normal;
}

/* Tokens */
:root {
  --nuit: #0E1B3A;
  --nuit-deep: #0A142B;
  --nuit-panel: #14224A;
  --nuit-line: rgba(200,162,75,.16);
  --line-soft: rgba(255,255,255,.09);

  --or: #C8A24B;
  --or-light: #E4C878;
  --or-grad: linear-gradient(135deg, #E4C878 0%, #C8A24B 55%, #A9803A 100%);

  --bleu: #2C4A9A;
  --blanc: #F4F6FF;
  --rouge: #C0304A;

  --ink: #EAF0FF;
  --muted: #9FB0D0;
  --muted-2: #7186AE;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  --container: 1240px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--nuit-deep);
  background-image:
    radial-gradient(1200px 600px at 85% -5%, rgba(44, 74, 154, .22), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(200, 162, 75, .08), transparent 55%);
  background-attachment: fixed;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}
p, li { overflow-wrap: break-word; word-break: break-word; }
a { overflow-wrap: break-word; word-break: break-word; }
ul { list-style: none; }
::selection { background: rgba(200, 162, 75, .3); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* No tap/selection artefacts on interactive UI */
.btn, .burger, .nav a, .chat-toggle, .cookie__btn, .brand,
.card-cta, .card__logo, .foot-links a, .chat-send, .rg-badge {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  color: #23180A;
  background: var(--or-grad);
  box-shadow: 0 12px 30px -12px rgba(200, 162, 75, .7);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(200, 162, 75, .8); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--nuit-line);
  background: rgba(255, 255, 255, .03);
}
.btn--ghost:hover { border-color: var(--or); color: #fff; transform: translateY(-2px); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: visible;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 20, 43, .82);
  border-bottom: 1px solid var(--nuit-line);
}
.site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--bleu) 0 33.3%, var(--blanc) 33.3% 66.6%, var(--rouge) 66.6% 100%);
  opacity: .9;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 15px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand svg { width: 38px; height: 38px; color: var(--or); }
.brand b { font-family: var(--serif); font-weight: 600; }
.brand span i { color: var(--or); font-style: normal; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  padding: 9px 15px;
  border-radius: 999px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav a:not(.btn).is-active { color: var(--or-light); }
.nav .btn { margin-left: 8px; padding: 11px 22px; }

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  position: relative;
  z-index: 110;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--nuit-line);
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px;
  background: var(--or-light); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 68px));
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 28px;
    background: linear-gradient(165deg, #0C1730 0%, #16264F 100%);
    border-top: 1px solid var(--nuit-line);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .45);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear .3s;
  }
  .nav[data-open="true"] {
    transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .3s var(--ease), opacity .25s var(--ease), visibility 0s linear 0s;
  }
  .nav a:not(.btn) { width: 100%; padding: 15px 8px; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a:not(.btn)::before { display: none; }
  .nav a:not(.btn).is-active { color: var(--or-light); }
  .nav .btn { margin: 18px 0 0; justify-content: center; padding: 15px; }
  body[data-nav-open="true"] { overflow: hidden; }
  body[data-nav-open="true"] .site-header { position: fixed; top: 0; left: 0; right: 0; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--nuit-deep); }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(64px, 11vw, 120px) clamp(48px, 8vw, 88px);
  background-image: url('/assets/img/hero/hero-bg.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(10, 20, 43, .78) 0%, rgba(10, 20, 43, .9) 60%, var(--nuit-deep) 100%);
}
.hero h1 {
  font-size: clamp(1.4rem, 6.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--or-light); }
.hero h1 .l {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: heroRise .9s var(--ease) forwards;
}
.hero__lead {
  font-size: clamp(.8rem, 2vw, 1.3rem);
  color: var(--muted);
  margin-top: 22px;
  opacity: 0;
  animation: heroFade .9s var(--ease) .5s forwards;
}
@keyframes heroRise { to { opacity: 1; transform: translateY(0); } }
@keyframes heroFade { to { opacity: 1; } }

/* ============ Advantages ============ */
.avantages { position: relative; z-index: 2; margin-top: clamp(-40px, -4vw, -30px); }
.avantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.plate {
  display: flex; align-items: center; gap: 15px;
  padding: 20px 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 38, 76, .92), rgba(16, 27, 58, .92));
  border: 1px solid var(--nuit-line);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.plate__ico {
  flex-shrink: 0;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  color: #241a09;
  background: var(--or-grad);
  box-shadow: 0 8px 20px -8px rgba(200, 162, 75, .7);
}
.plate__ico svg { width: 26px; height: 26px; display: block; }
.plate b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.plate div span { display: block; font-size: 12.5px; color: var(--muted-2); margin-top: 2px; }

/* ============ Sections generic ============ */
.section { padding-block: clamp(60px, 8vw, 80px); }
.section__head { margin-bottom: 40px; }
.section h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }

/* ============ Classement ============ */
.classement__meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--muted);
  margin-bottom: 20px;
}
.classement__meta .dot { width: 9px; height: 9px; border-radius: 50%; background: #34d17a; box-shadow: 0 0 0 4px rgba(52, 209, 122, .18); animation: pulse 2.2s ease-in-out infinite; }
.classement__meta b { color: var(--or-light); font-weight: 700; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 209, 122, 0); } }

.cards { display: flex; flex-direction: column; gap: 20px; }
.classement__intro { margin-top: 30px; color: var(--muted); font-size: 1.05rem; }
.card {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1.3fr 1.5fr auto;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--nuit-panel), rgba(16, 27, 58, .96));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--nuit-line); box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .7); }
.card--top { border-color: var(--or); background: linear-gradient(150deg, #1a2c58, rgba(20, 34, 74, .96)); }
.card--top::before {
  content: 'Choix n°1';
  position: absolute; top: -12px; left: 30px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #23180A;
  padding: 5px 14px; border-radius: 999px;
  background: var(--or-grad);
  box-shadow: 0 8px 18px -8px rgba(200, 162, 75, .8);
}
.card__rank {
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: rgba(200, 162, 75, .1);
  border: 1px solid var(--nuit-line);
}
.card__rank svg { width: 36px; height: 36px; display: block; color: var(--or-light); }
.card__rank--gold svg   { color: #E9CE86; }
.card__rank--silver svg { color: #CBD4E2; }
.card__rank--bronze svg { color: #D68C4F; }
.card__rank--std svg    { color: #8FB2E6; }

.card__brand { display: flex; flex-direction: column; gap: 12px; }
.card__logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 148px; height: 60px; padding: 12px 16px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease);
}
.card__logo:hover { transform: scale(1.04); }
.card__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.rating { position: relative; display: inline-flex; width: max-content; line-height: 0; }
.rating__row { display: inline-flex; gap: 3px; width: max-content; }
.rating__row svg { width: 17px; height: 17px; display: block; flex: 0 0 auto; }
.rating__base { color: rgba(200, 162, 75, .22); }
.rating__fill {
  position: absolute; top: 0; left: 0; height: 100%;
  overflow: hidden;
  color: var(--or);
  pointer-events: none;
}
.rating--sm .rating__row svg { width: 14px; height: 14px; }
.card__label { font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }

.card__mid { min-width: 0; }
.card__bonus-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--or); font-weight: 700; }
.card__bonus { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; margin: 4px 0 14px; color: #fff; }
.card__feats { display: grid; gap: 7px; }
.card__feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--muted); }
.card__feats svg { width: 17px; height: 17px; color: var(--or); flex-shrink: 0; margin-top: 3px; }

.card__side { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.card__score { display: flex; flex-direction: column; align-items: center; }
.card__score b { font-family: var(--serif); font-size: 2.5rem; font-weight: 600; line-height: 1; color: var(--or-light); }
.card__score span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.card-cta { width: 100%; min-width: 170px; justify-content: center; }
.card__terms { font-size: 11px; color: var(--muted-2); }

/* ============ Avis ============ */
.avis { background: linear-gradient(180deg, transparent, rgba(20, 34, 74, .35), transparent); }
.avis__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.review {
  position: relative;
  padding: 28px 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(24, 38, 76, .8), rgba(14, 27, 58, .8));
  border: 1px solid var(--line-soft);
}
.review__quote { position: absolute; top: 22px; right: 24px; width: 34px; height: 34px; color: rgba(200, 162, 75, .28); }
.review__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review__avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nuit-line); }
.review__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.review__name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; gap: 8px; }
.review__badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: #34d17a;
}
.review__badge svg { width: 15px; height: 15px; }
.review__meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted-2); }
.review p { font-size: 15px; color: var(--muted); }

/* ============ Guide (SEO) ============ */
.guide__grid { display: grid; gap: 30px; }
.guide article {
  padding: 30px 32px;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(20, 34, 74, .5), rgba(12, 22, 47, .5));
  border: 1px solid var(--line-soft);
}
.guide__num {
  display: block;
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600;
  line-height: 1; color: rgba(200, 162, 75, .34);
}
.guide h3 { font-size: 1.5rem; margin: 10px 0 12px; }
.guide p { color: var(--muted); }
.guide p + p { margin-top: 12px; }

/* ============ Footer ============ */
.pied {
  margin-top: clamp(40px, 6vw, 80px);
  background: var(--nuit-deep);
  border-top: 1px solid var(--nuit-line);
  padding-block: 54px 30px;
}
.pied__badges {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 34px;
  padding-bottom: 34px; margin-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}
.rg-badge { display: inline-flex; align-items: center; justify-content: center; }
.rg-badge img {
  max-height: 34px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .68;
  transition: opacity .25s var(--ease);
}
.rg-badge:hover img { opacity: 1; }
.rg-badge--18 img { max-height: 44px; }
.rg-badge--jis img { max-height: 26px; }

.pied__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 36px;
}
.pied__brand .brand { margin-bottom: 16px; }
.pied__brand p { color: var(--muted); font-size: 14.5px; }
.pied__col h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 14px; color: #fff; display: flex; align-items: center; gap: 9px; }
.pied__col h4 svg { width: 18px; height: 18px; color: var(--or); }
.pied__col p { color: var(--muted); font-size: 13.5px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links a { color: var(--muted); font-size: 14px; transition: color .25s var(--ease); width: fit-content; }
.foot-links a:hover { color: var(--or-light); }

.disclaimer {
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: rgba(192, 48, 74, .08);
  margin-bottom: 28px;
}
.disclaimer p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.pied__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding-top: 24px; border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--muted-2);
}
.pied__legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pied__legal a { color: var(--muted); }
.pied__legal a:hover { color: var(--or-light); }

/* ============ Legal pages ============ */
.legal-hero { padding-block: clamp(48px, 8vw, 90px) 30px; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal-hero p { color: var(--muted); margin-top: 12px; }
.legal-content { padding-block: 20px clamp(50px, 7vw, 80px); }
.legal-content h2 { font-size: 1.5rem; margin: 34px 0 12px; color: #fff; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 22px 0 8px; color: var(--or-light); }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 12px; }
.legal-content ul { padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--or-light); }

/* ============ Chat widget ============ */
.chat-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #23180A;
  background: var(--or-grad);
  box-shadow: 0 16px 34px -10px rgba(200, 162, 75, .8);
  transition: transform .3s var(--ease);
}
.chat-toggle svg { width: 28px; height: 28px; }
.chat-toggle:hover { transform: scale(1.07); }
.chat-toggle::after {
  content: ''; position: absolute; top: 4px; right: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #34d17a; border: 2px solid var(--nuit-deep);
}
.chat-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 91;
  width: 360px; max-width: calc(100vw - 32px);
  height: 460px; max-height: calc(100dvh - 130px);
  display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden;
  background: var(--nuit-panel);
  border: 1px solid var(--nuit-line);
  box-shadow: var(--shadow);
  transform: translateY(24px) scale(.96);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s linear .35s;
}
.chat-panel[data-open="true"] { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .35s var(--ease), opacity .3s var(--ease), visibility 0s linear 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg, #16264F, #0E1B3A); border-bottom: 1px solid var(--nuit-line); }
.chat-head img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--or); }
.chat-head b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; display: block; }
.chat-head span { font-size: 12px; color: #34d17a; display: flex; align-items: center; gap: 6px; }
.chat-head span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34d17a; }
.chat-close { margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); transition: background .25s, color .25s; }
.chat-close:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.chat-close svg { width: 18px; height: 18px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .06); border-bottom-left-radius: 5px; }
.msg--user { align-self: flex-end; color: #23180A; background: var(--or-grad); border-bottom-right-radius: 5px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 10px; }
.chat-quick button { font-size: 12.5px; color: var(--or-light); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--nuit-line); background: rgba(200, 162, 75, .06); transition: background .25s; }
.chat-quick button:hover { background: rgba(200, 162, 75, .16); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--nuit-line); background: var(--nuit-deep); }
.chat-input input { flex: 1; min-width: 0; padding: 11px 15px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--nuit-line); color: var(--ink); font-size: 14px; }
.chat-input input:focus { outline: none; border-color: var(--or); }
.chat-send { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #23180A; background: var(--or-grad); }
.chat-send svg { width: 20px; height: 20px; }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 16px; background: rgba(255, 255, 255, .06); border-radius: 16px; border-bottom-left-radius: 5px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.3s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }

/* ============ Cookie banner ============ */
.cookie {
  position: fixed; left: 22px; bottom: 22px; z-index: 88;
  width: min(400px, calc(100vw - 44px));
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--nuit-panel);
  border: 1px solid var(--nuit-line);
  box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie[data-show="true"] { transform: translateY(0); opacity: 1; }
.cookie h4 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; }
.cookie p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.cookie p a { color: var(--or-light); }
.cookie__row { display: flex; gap: 10px; }
.cookie__btn { flex: 1; justify-content: center; padding: 12px; font-size: 14px; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__year, .hero__lead, .hero__cta, .hero h1 .l { opacity: 1; transform: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .card { grid-template-columns: 56px 1fr auto; grid-template-areas: "rank brand side" "mid mid mid"; row-gap: 22px; }
  .card__rank { grid-area: rank; }
  .card__brand { grid-area: brand; }
  .card__mid { grid-area: mid; }
  .card__side { grid-area: side; }
  .pied__cols { grid-template-columns: 1fr 1fr; }
  .avantages__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .avis__grid { grid-template-columns: 1fr; }
  .card { grid-template-columns: 52px 1fr; grid-template-areas: "rank brand" "mid mid" "side side"; padding: 24px; }
  .card__side { flex-direction: row; justify-content: space-between; align-items: center; }
  .card-cta { min-width: 0; width: auto; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero { padding-block: 48px; }
  .section { padding-block: 44px; }
  .avantages__grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }
  .plate { padding: 4px 7px; gap: 6px; border-radius: 10px; border: none; }
  .plate__ico { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
  .plate__ico svg { width: 12px; height: 12px; }
  .plate b { font-family: var(--sans); font-weight: 700; font-size: clamp(9px, 2.5vw, 10.5px); line-height: 1.08; letter-spacing: -.02em; }
  .plate div { min-width: 0; }
  .plate div span { display: none; }
  .pied__cols { grid-template-columns: 1fr; gap: 26px; }

  .cards { gap: 14px; }
  .card { padding: 14px; grid-template-columns: 40px 1fr; gap: 10px 12px; }
  .card__rank { width: 40px; height: 40px; }
  .card__rank svg { width: 24px; height: 24px; }
  .card__brand { gap: 7px; }
  .card__logo { width: 104px; height: 42px; padding: 7px 10px; }
  .card__bonus-label { font-size: 11px; }
  .card__bonus { font-size: 1.05rem; margin: 2px 0 8px; }
  .card__feats { gap: 5px; }
  .card__feats li { font-size: 10.5px; gap: 7px; }
  .card__feats svg { width: 15px; height: 15px; margin-top: 2px; }
  .card__side { flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; }
  .card__score { flex-direction: row; align-items: baseline; gap: 6px; }
  .card__score b { font-size: 1.7rem; }
  .card__score span { display: none; }
  .card-cta { width: auto; min-width: 0; }
  .card__terms { display: none; }

  .pied__legal { flex-direction: column; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 88px; }
  .cookie { left: 12px; right: 12px; width: auto; }
}
@media (max-width: 380px) {
  .brand span { font-size: 17px; }
  .brand svg { width: 32px; height: 32px; }
  .plate { padding: 4px 6px; gap: 5px; }
  .plate__ico { width: 19px; height: 19px; border-radius: 6px; }
  .plate__ico svg { width: 11px; height: 11px; }
  .plate b { font-size: 8.5px; line-height: 1.05; }
}
