:root {
  --bg: #f6f1eb;
  --bg-soft: #fbf8f4;
  --surface: #ffffff;
  --surface-2: #f3ece5;
  --surface-3: #ede3db;
  --text: #221b1f;
  --text-muted: #6f6469;
  --text-soft: #8f8588;
  --border: rgba(55, 33, 42, 0.12);
  --border-strong: rgba(55, 33, 42, 0.2);
  --primary: #6e2348;
  --primary-hover: #581b39;
  --primary-active: #42142a;
  --primary-soft: #f1dce6;
  --accent: #b88a4a;
  --accent-soft: #f5ead8;
  --success: #3f7751;
  --success-soft: #ddece1;
  --shadow-sm: 0 1px 2px rgba(29, 16, 22, 0.05);
  --shadow-md: 0 8px 24px rgba(35, 19, 27, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 16, 24, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1160px;
  --header-h: 76px;
  --promo-h: 56px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--promo-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(110, 35, 72, 0.07), transparent 32%),
    radial-gradient(circle at top left, rgba(184, 138, 74, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf7f2 0%, var(--bg) 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
li,
td,
th {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  margin-bottom: var(--space-3);
}

p {
  margin: 0 0 var(--space-5);
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.06rem);
}

ul,
ol {
  margin: 0 0 var(--space-5);
  padding-left: 1.2rem;
  color: var(--text-muted);
}

li + li {
  margin-top: var(--space-2);
}

main,
header > div,
footer > section,
body > div[role="region"] {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(251, 248, 244, 0.86);
  border-bottom: 1px solid rgba(55, 33, 42, 0.08);
}

header > div {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding-block: 14px;
}

header > div > a[aria-label] {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  color: var(--primary);
  white-space: nowrap;
}

header nav[aria-label="Navigation principale"] {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}

header nav[aria-label="Navigation principale"] a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 2px;
  position: relative;
}

header nav[aria-label="Navigation principale"] a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease, opacity 180ms ease;
  opacity: 0.9;
}

header nav[aria-label="Navigation principale"] a:hover::after,
header nav[aria-label="Navigation principale"] a:focus-visible::after {
  transform: scaleX(1);
}

header > div > div[aria-label="Actions principales"] {
  display: flex;
  align-items: center;
  gap: 10px;
}

header > div > div[aria-label="Actions principales"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

header > div > div[aria-label="Actions principales"] a:first-child {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(110, 35, 72, 0.2);
}

header > div > div[aria-label="Actions principales"] a:last-child {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(110, 35, 72, 0.18);
}

body > div[role="region"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--promo-h);
  padding-block: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

body > div[role="region"] p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

body > div[role="region"] a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #6a4b1c;
  font-weight: 700;
  border: 1px solid rgba(184, 138, 74, 0.16);
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

main {
  padding-block: var(--space-12) var(--space-20);
}

main > section {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(55, 33, 42, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 4vw, 48px);
}

main > section + section {
  margin-top: var(--space-8);
}

section[aria-labelledby="hero-title"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 240, 245, 0.88)),
    linear-gradient(180deg, rgba(184, 138, 74, 0.05), rgba(110, 35, 72, 0.04));
  border: 1px solid rgba(110, 35, 72, 0.09);
  box-shadow: var(--shadow-lg);
}

section[aria-labelledby="hero-title"] > div {
  max-width: 840px;
}

section[aria-labelledby="hero-title"] > div > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-4);
  padding: 8px 14px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

section[aria-labelledby="hero-title"] > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

section[aria-labelledby="hero-title"] ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

section[aria-labelledby="hero-title"] ul li {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(55, 33, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

section[id] {
  position: relative;
}

section[id] p:last-child {
  margin-bottom: 0;
}

section table {
  margin: var(--space-5) 0 var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: block;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

section table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 var(--space-4);
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

section thead,
section tbody,
section tr {
  width: 100%;
}

section thead {
  background: linear-gradient(180deg, #f6edf2, #f3e8ee);
}

section th,
section td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(55, 33, 42, 0.08);
  vertical-align: top;
  font-size: 0.97rem;
}

section th {
  color: var(--text);
  font-weight: 700;
}

section td {
  color: var(--text-muted);
}

section tbody tr:nth-child(even) {
  background: rgba(246, 241, 235, 0.45);
}

section tbody tr:last-child td {
  border-bottom: 0;
}

section > ul,
section > ol,
section > div > ul,
section > div > ol {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px 20px 42px;
}

section a[href="/go/"],
section a[href="#avis"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.96rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

section a[href="/go/"] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(110, 35, 72, 0.18);
}

section a[href="#avis"] {
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  border: 1px solid rgba(55, 33, 42, 0.12);
}

section h3 + p,
section h3 + ul,
section h3 + ol,
section h3 + table {
  margin-top: 0;
}

section#faq h3 {
  margin-bottom: 10px;
}

section#faq h3 + p {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 18px;
  margin-bottom: 14px;
}

footer {
  padding: 0 0 var(--space-16);
}

footer > section {
  background:
    linear-gradient(180deg, rgba(42, 25, 33, 0.96), rgba(32, 18, 25, 0.98)),
    linear-gradient(135deg, rgba(184, 138, 74, 0.06), rgba(110, 35, 72, 0.1));
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}

footer h2,
footer p,
footer a {
  color: inherit;
}

footer p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 72ch;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: var(--space-6) 0;
}

footer nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

footer a[href="/go/"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

header > div > div[aria-label="Actions principales"] a:first-child:hover,
header > div > div[aria-label="Actions principales"] a:first-child:focus-visible {
  background: rgba(110, 35, 72, 0.06);
  border-color: rgba(110, 35, 72, 0.3);
  transform: translateY(-1px);
}

header > div > div[aria-label="Actions principales"] a:last-child:hover,
header > div > div[aria-label="Actions principales"] a:last-child:focus-visible,
section a[href="/go/"]:hover,
section a[href="/go/"]:focus-visible {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(110, 35, 72, 0.22);
}

body > div[role="region"] a:hover,
body > div[role="region"] a:focus-visible,
footer a[href="/go/"]:hover,
footer a[href="/go/"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(35, 19, 27, 0.12);
}

section a[href="#avis"]:hover,
section a[href="#avis"]:focus-visible {
  background: #fff;
  border-color: rgba(55, 33, 42, 0.18);
  transform: translateY(-1px);
}

header nav a:hover,
header nav a:focus-visible,
footer nav a:hover,
footer nav a:focus-visible {
  color: var(--primary);
}

footer nav a:hover,
footer nav a:focus-visible {
  color: #fff;
}

main > section:hover {
  box-shadow: var(--shadow-md);
  transition: box-shadow 180ms ease, border-color 180ms ease;
  border-color: rgba(55, 33, 42, 0.12);
}

@media (max-width: 980px) {
  :root {
    --header-h: 72px;
    --promo-h: auto;
  }

  header > div {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    row-gap: 10px;
  }

  header > div > a[aria-label] {
    grid-area: brand;
  }

  header nav[aria-label="Navigation principale"] {
    grid-area: nav;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  header nav[aria-label="Navigation principale"]::-webkit-scrollbar {
    display: none;
  }

  header > div > div[aria-label="Actions principales"] {
    grid-area: actions;
  }

  body > div[role="region"] {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 12px;
  }

  body > div[role="region"] a {
    align-self: flex-start;
  }

  section[aria-labelledby="hero-title"] ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  main,
  header > div,
  footer > section,
  body > div[role="region"] {
    width: min(100% - 24px, var(--container));
  }

  main {
    padding-block: var(--space-8) var(--space-16);
  }

  main > section {
    border-radius: 22px;
    padding: 22px 18px;
  }

  h1 {
    max-width: 100%;
  }

  header > div > div[aria-label="Actions principales"] a {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  section > ul,
  section > ol,
  section > div > ul,
  section > div > ol {
    padding: 16px 16px 16px 34px;
  }

  section table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  section table caption {
    padding-right: 8px;
  }

  section th,
  section td {
    min-width: 180px;
    font-size: 0.95rem;
  }

  footer nav {
    gap: 10px 14px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 68px;
  }

  body {
    line-height: 1.58;
  }

  header > div {
    padding-block: 12px;
    gap: 8px;
  }

  header > div > a[aria-label] {
    font-size: 0.98rem;
  }

  header > div > div[aria-label="Actions principales"] {
    gap: 8px;
  }

  header > div > div[aria-label="Actions principales"] a {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  body > div[role="region"] {
    gap: 10px;
  }

  body > div[role="region"] p {
    font-size: 0.92rem;
  }

  section[aria-labelledby="hero-title"] > div > div {
    flex-direction: column;
    align-items: stretch;
  }

  section a[href="/go/"],
  section a[href="#avis"],
  footer a[href="/go/"] {
    width: 100%;
  }

  section table {
    border-radius: 16px;
  }

  section th,
  section td {
    padding: 12px 14px;
    min-width: 150px;
  }

  section#faq h3 + p {
    padding: 16px 14px;
  }
}

@media (max-width: 360px) {
  main,
  header > div,
  footer > section,
  body > div[role="region"] {
    width: min(100% - 20px, var(--container));
  }

  main > section {
    padding: 20px 14px;
  }

  header > div > div[aria-label="Actions principales"] a {
    padding: 0 10px;
    font-size: 0.82rem;
  }

  section > ul,
  section > ol,
  section > div > ul,
  section > div > ol {
    padding-left: 30px;
    padding-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}