:root {
  --bg: #f5efe6;
  --bg-strong: #f0e4d5;
  --surface: rgba(255, 251, 246, 0.88);
  --surface-strong: #fffaf4;
  --panel: #171717;
  --panel-soft: #272727;
  --text: #171412;
  --text-soft: #645d56;
  --line: rgba(23, 20, 18, 0.12);
  --line-strong: rgba(23, 20, 18, 0.22);
  --accent: #e86143;
  --accent-dark: #a63a23;
  --accent-soft: #ffe1d7;
  --white: #fffdf9;
  --success: #d6e5d2;
  --shadow: 0 18px 60px rgba(39, 23, 16, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(232, 97, 67, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 225, 215, 0.9), transparent 28%),
    linear-gradient(180deg, #fcf8f2 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(232, 97, 67, 0.35);
  outline-offset: 3px;
}

.page-shell {
  overflow: hidden;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav {
  justify-content: center;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-soft);
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  transform: translateY(-1px);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.age-badge {
  width: 40px;
  height: 40px;
}

.header-note,
.offer-tag,
.panel-kicker,
.label,
.footer-title,
.cookie-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-note {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text-soft);
}

.hero {
  position: relative;
  padding: 28px 0 36px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -120px;
  top: -100px;
  background: rgba(232, 97, 67, 0.12);
}

.hero::after {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -100px;
  background: rgba(255, 225, 215, 0.9);
}

.hero-home {
  padding-top: 26px;
  padding-bottom: 60px;
}

.hero-compact {
  padding-bottom: 28px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 244, 0.92));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.legal-shell h1,
.manifesto-card h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-heading h2,
.legal-shell h1,
.manifesto-card h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.hero-lead,
.section-heading p,
.offer-copy p,
.metric-card span,
.bullet-list,
.score-card,
.note-card p,
.insight-card p,
.process-step p,
.faq-card p,
.footer-copy,
.footer-meta p,
.chapter-card p,
.warning-card,
.manifesto-card p,
.timeline-item p,
.contact-card p,
.field-group span,
.form-status,
.legal-card p,
.cookie-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(232, 97, 67, 0.24);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel,
.featured-offer,
.score-card,
.note-card,
.insight-card,
.chapter-card,
.checklist-card,
.warning-card,
.manifesto-card,
.contact-card,
.contact-form-card,
.legal-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-panel {
  padding: 26px;
  background: linear-gradient(180deg, #1f1f1f 0%, #171717 100%);
  color: var(--white);
}

.hero-panel .panel-kicker,
.score-card .panel-kicker,
.note-card .panel-kicker,
.manifesto-card-dark .panel-kicker,
.warning-card .panel-kicker {
  color: rgba(255, 255, 255, 0.64);
}

.metric-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.metric-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.metric-card strong,
.offer-grid strong,
.score-row strong,
.chapter-card h3,
.insight-card h3,
.process-step h3,
.timeline-item h3,
.legal-card h2 {
  display: block;
  margin-bottom: 8px;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1.2;
}

.metric-card span {
  color: rgba(255, 253, 249, 0.72);
}

.section {
  padding: 44px 0;
}

.section-dark {
  margin: 18px 0;
  padding: 60px 0;
  background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
  color: var(--white);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.section-heading-light p,
.section-dark .process-step p,
.section-dark .insight-card p,
.section-dark .chapter-card p {
  color: rgba(255, 253, 249, 0.72);
}

.comparison-layout,
.editorial-layout,
.contact-layout,
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 24px;
  align-items: start;
}

.featured-offer,
.contact-form-card {
  padding: 24px;
}

.offer-topline,
.score-row,
.footer-safety,
.timeline-item,
.process-step {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.offer-topline {
  align-items: center;
}

.offer-tag {
  color: var(--accent-dark);
}

.offer-rating {
  font-size: 1.1rem;
  font-weight: 800;
}

.offer-branding {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 22px 0;
}

.offer-logo {
  display: grid;
  place-items: center;
  min-height: 126px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: transform 0.22s ease;
}

.offer-logo:hover,
.footer-logo-link:hover {
  transform: translateY(-2px);
}

.offer-logo img {
  width: min(170px, 100%);
}

.offer-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
}

.bullet-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.score-stack,
.process-list {
  display: grid;
  gap: 18px;
}

.score-card,
.note-card,
.checklist-card,
.warning-card,
.contact-card {
  padding: 22px;
}

.score-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.score-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.score-row span {
  color: var(--text-soft);
}

.score-row strong {
  margin: 0;
  font-size: 1.4rem;
}

.insight-grid,
.chapter-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.insight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-card,
.chapter-card,
.legal-card {
  padding: 22px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.process-step {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.process-step span,
.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
}

.process-step h3,
.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-card {
  padding: 20px 22px;
}

.faq-card summary {
  position: relative;
  padding-right: 28px;
  list-style: none;
  cursor: pointer;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--accent-dark);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card p {
  margin-top: 14px;
}

.manifesto-card {
  padding: 26px;
}

.manifesto-card-dark,
.insight-card-dark,
.warning-card,
.contact-card {
  background: linear-gradient(180deg, #1f1f1f 0%, #171717 100%);
  color: var(--white);
}

.manifesto-card-dark p,
.insight-card-dark p,
.warning-card .bullet-list,
.contact-card p,
.contact-card .label,
.contact-card a {
  color: rgba(255, 253, 249, 0.76);
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-item div,
.process-step div {
  flex: 1;
}

.checklist-card {
  align-self: stretch;
}

.contact-points,
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-points {
  margin-top: 22px;
}

.contact-form-card {
  display: grid;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.field {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.field-textarea {
  min-height: 160px;
  padding-top: 14px;
  resize: vertical;
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(94, 145, 87, 0.25);
  border-radius: var(--radius-sm);
  background: var(--success);
  color: #2d5730;
}

.form-status.is-visible {
  display: block;
}

.legal-shell {
  padding-top: 24px;
}

.legal-grid {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px auto 34px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 244, 0.95));
  box-shadow: var(--shadow);
}

.footer-safety {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.footer-safety p,
.footer-safety a {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
}

.footer-safety a {
  color: var(--accent-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 0.85fr));
  gap: 22px;
}

.brand-footer {
  margin-bottom: 12px;
}

.footer-brand {
  max-width: 420px;
}

.footer-title {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.footer-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-soft);
  transition: color 0.22s ease;
}

.footer-nav a:hover {
  color: var(--accent-dark);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.footer-logo-link:hover {
  opacity: 0.84;
}

.footer-logos img:nth-child(1),
.footer-logo-link img[src$="gordon-moody.svg"] {
  width: 110px;
}

.footer-logo-link img[src$="joueurs-info.png"] {
  width: 138px;
}

.footer-logo-link img[src$="gamble-aware.webp"] {
  width: 118px;
}

.footer-logo-link img[src$="anj.svg"] {
  width: 47px;
}

.footer-logo-link img[src$="mediateur-des-juux.jpg"] {
  width: 82px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.cookie-box {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(440px, calc(100vw - 24px));
}

.cookie-panel {
  padding: 22px;
  border: 1px solid rgba(23, 20, 18, 0.12);
  border-radius: 26px;
  background: rgba(255, 251, 246, 0.94);
  box-shadow: 0 20px 44px rgba(39, 23, 16, 0.16);
  backdrop-filter: blur(14px);
}

.cookie-label {
  margin: 0 0 8px;
  color: var(--accent-dark);
}

.cookie-copy {
  margin-bottom: 18px;
}

.cookie-box.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .comparison-layout,
  .editorial-layout,
  .contact-layout,
  .manifesto-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100vw - 32px, 1180px);
  }

  .offer-branding,
  .offer-grid,
  .insight-grid,
  .chapter-grid,
  .legal-grid,
  .field-grid,
  .contact-points {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .featured-offer,
  .score-card,
  .note-card,
  .insight-card,
  .chapter-card,
  .checklist-card,
  .warning-card,
  .manifesto-card,
  .contact-card,
  .contact-form-card,
  .legal-card,
  .faq-card,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .button {
    width: 100%;
  }

  .footer-safety,
  .footer-meta {
    flex-direction: column;
  }

  .footer-nav {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-nav {
    justify-content: flex-start;
  }

  .header-meta {
    flex-direction: column;
  }

  .hero-copy h1,
  .section-heading h2,
  .legal-shell h1,
  .manifesto-card h2,
  .contact-card h2 {
    font-size: 2.2rem;
  }

  .faq-card summary {
    font-size: 1.04rem;
  }

  .cookie-box {
    right: 12px;
    left: 12px;
    width: auto;
  }
}
