:root {
  --bg: #120609;
  --surface: #1F0A0E;
  --text: #FFF1F2;
  --muted: #FDA4AF;
  --primary: #BE123C;
  --secondary: #FACC15;
  --accent: #22C55E;
  --border: rgba(255, 241, 242, 0.14);
  --newsprint: #F2EBD9;
  --newsprint-dark: #E8DFC8;
  --ink: #1A1A1A;
  --max-w: 1200px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --sans-cond: "Arial Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

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

.disclosure-banner {
  background: var(--bg);
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.disclosure-banner__text {
  font-size: 11px;
  color: var(--text);
  line-height: 1.45;
  text-align: center;
  padding: 10px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 60px;
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__logo img {
  height: 36px;
  width: auto;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 4px 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header__nav a {
  color: var(--text);
  font-family: var(--sans-cond);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-header__nav a:hover {
  color: var(--muted);
  border-bottom-color: var(--primary);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
}

.burger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.burger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.nav-drawer__list a {
  color: var(--text);
  font-family: var(--sans-cond);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-drawer__list a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 80px;
  background: var(--bg);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.hero__kicker {
  font-family: var(--sans-cond);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.12;
  color: var(--text);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 48px;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  background-color: var(--surface);
  background-image: url("/images/offers_bg/offers_bg.svg");
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 6, 9, 0.88);
  pointer-events: none;
}

.offers-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.offers-section__title {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.offers-section__intro {
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
}

.offer-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
}

.offer-card__logo-wrap {
  width: 200px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  flex-shrink: 0;
}

.offer-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card__bonus-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-card__bonus {
  font-size: 0.875rem;
  color: #fbbf24;
  font-weight: 600;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.offer-card__terms {
  font-size: 11px;
  color: #B6C2E2;
}

.offer-card__desc {
  font-size: 12px;
  color: #B6C2E2;
  line-height: 1.5;
}

.offer-card__btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid #3B82F6;
  color: #3B82F6;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  margin-top: auto;
  font-family: inherit;
}

.offer-card__btn:hover {
  background: #3B82F6;
  color: #0f172a;
}

.info-sections {
  background: var(--newsprint);
  color: var(--ink);
  border-top: 3px solid var(--ink);
}

.info-block {
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}

.info-block:nth-child(even) {
  background: var(--newsprint-dark);
}

.info-block__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-block__kicker {
  font-family: var(--sans-cond);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 6px;
  font-weight: 700;
  border-left: 4px solid var(--primary);
  padding-left: 10px;
}

.info-block__title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--ink);
}

.info-block__text {
  font-family: var(--serif);
  color: #333;
  font-size: 0.9375rem;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.layout-split--reverse {
  direction: rtl;
}

.layout-split--reverse > * {
  direction: ltr;
}

.layout-img-wrap {
  max-width: 500px;
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border: 2px solid var(--ink);
  filter: grayscale(100%) contrast(1.1);
}

.layout-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 320px;
}

.layout-headline-bar {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 32px 0;
}

.layout-headline-bar__rule {
  width: 100%;
  height: 1px;
  background: var(--ink);
  margin: 16px 0;
}

.layout-columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  padding: 0 24px;
}

.layout-columns-2__col {
  padding: 16px 0;
}

.layout-columns-2__col + .layout-columns-2__col {
  border-left: 1px solid var(--ink);
  padding-left: 24px;
}

.layout-pullquote {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
}

.layout-pullquote__aside {
  border: 2px solid var(--primary);
  padding: 16px;
  text-align: center;
}

.layout-pullquote__aside strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}

.layout-pullquote__aside span {
  font-family: var(--sans-cond);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.layout-timeline {
  border-left: 3px solid var(--ink);
  padding-left: 28px;
  position: relative;
}

.layout-timeline::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 13px;
  height: 13px;
  background: var(--primary);
  border: 2px solid var(--ink);
}

.layout-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.layout-bento__main {
  grid-row: span 2;
  border: 2px solid var(--ink);
  padding: 28px;
}

.layout-bento__side {
  border: 1px solid var(--ink);
  padding: 20px;
}

.layout-bg-photo {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--ink);
}

.layout-bg-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(242, 235, 217, 0.95) 0%, rgba(242, 235, 217, 0.4) 100%);
}

.layout-bg-photo__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.layout-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  margin-top: 24px;
}

.layout-stats-row__item {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--ink);
}

.layout-stats-row__item:last-child {
  border-right: none;
}

.layout-stats-row__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.layout-stats-row__item span {
  font-family: var(--sans-cond);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.layout-mosaic {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.layout-mosaic__sidebar {
  border-top: 4px solid var(--primary);
  border-bottom: 1px solid var(--ink);
  padding: 16px 0;
}

.layout-mosaic__sidebar h3 {
  font-family: var(--sans-cond);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  color: var(--primary);
}

.layout-mosaic__sidebar ul {
  list-style: none;
  font-family: var(--serif);
  font-size: 0.875rem;
}

.layout-mosaic__sidebar li {
  padding: 8px 0;
  border-bottom: 1px dotted var(--ink);
}

.layout-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.layout-centered .info-block__text {
  text-align: justify;
}

.layout-centered .layout-img-wrap {
  margin: 24px auto 0;
}

.layout-glow-prose {
  border: 3px double var(--ink);
  padding: 40px 36px;
  position: relative;
}

.layout-glow-prose::before {
  content: "Édito";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--newsprint);
  padding: 0 12px;
  font-family: var(--sans-cond);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 700;
}

.layout-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.layout-checklist__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--serif);
  font-size: 0.875rem;
  padding: 12px;
  border: 1px solid var(--ink);
}

.layout-checklist__mark {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.site-footer__brand p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 12px;
  max-width: 360px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-content: flex-start;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer__links a:hover {
  color: var(--text);
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.site-footer__badge img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-footer__badge:hover img {
  opacity: 1;
}

.site-footer__disclosure {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: var(--muted);
}

.site-footer__cookie-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 440px;
  width: 100%;
}

.modal__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.modal__text {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: var(--text);
}

.btn--primary:hover {
  background: #9f1239;
}

.btn--secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 900;
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  min-width: 240px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.subpage-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}

.subpage-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.subpage-header__logo img {
  height: 36px;
  width: auto;
}

.content-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 64px;
  background: var(--newsprint);
  color: var(--ink);
  flex: 1;
}

.content-page h1 {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
}

.content-page h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.content-page h3 {
  font-size: 1.0625rem;
  margin: 20px 0 8px;
}

.content-page p {
  font-family: var(--serif);
  color: #333;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  text-align: justify;
  hyphens: auto;
}

.content-page ul {
  color: #333;
  margin: 0 0 14px 20px;
  font-family: var(--serif);
  font-size: 0.9375rem;
}

.content-page li {
  margin-bottom: 8px;
}

.content-page a {
  color: var(--primary);
}

.contact-form {
  margin-top: 24px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-family: var(--sans-cond);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.9375rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--primary);
  display: none;
}

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

.contact-success {
  margin-top: 24px;
  padding: 20px;
  background: rgba(34, 197, 94, 0.12);
  border: 2px solid var(--accent);
  color: #166534;
  font-family: var(--serif);
  font-size: 0.9375rem;
}

.contact-success[hidden] {
  display: none;
}

.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding: 48px 24px;
}

.page-404__code {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.page-404__text {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 28px;
}

.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.redirect-page__box {
  text-align: center;
  max-width: 440px;
}

.redirect-page__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.redirect-page h1 {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.redirect-page__text {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.redirect-page__ad {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.5;
}

@media (min-width: 901px) {
  .site-header__nav {
    display: flex;
  }

  .burger-btn {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 32px 24px 48px;
    min-height: 260px;
  }

  .hero__wave svg {
    height: 32px;
  }

  .layout-split,
  .layout-columns-2,
  .layout-pullquote,
  .layout-bento,
  .layout-mosaic,
  .layout-checklist,
  .layout-stats-row {
    grid-template-columns: 1fr;
  }

  .layout-split--reverse {
    direction: ltr;
  }

  .layout-columns-2__col + .layout-columns-2__col {
    border-left: none;
    border-top: 1px solid var(--ink);
    padding-left: 0;
    padding-top: 16px;
  }

  .layout-bento__main {
    grid-row: span 1;
  }

  .layout-pullquote {
    grid-template-columns: 1fr;
  }

  .layout-img-wrap {
    max-width: 100%;
  }

  .info-block {
    overflow-x: hidden;
  }

  .layout-bg-photo {
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    padding: 0 16px;
  }

  .offer-card__logo-wrap {
    width: 200px;
    height: 64px;
  }

  .offer-card__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

@media (max-width: 375px) {
  .layout-img-wrap {
    max-height: 220px;
  }

  .layout-img-wrap img {
    max-width: 100%;
    max-height: 220px;
  }

  .layout-bg-photo {
    min-height: 200px;
  }
}
