/* ============================================================
   Components — header, footer, buttons, cards, forms, hero
   ============================================================ */

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  transition:
    background var(--t-base),
    color var(--t-base),
    transform var(--t-fast),
    box-shadow var(--t-base),
    border-color var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-ring);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-1);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn--ghost-light:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1rem;
}
.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--disabled,
.btn[disabled] {
  background: var(--ink-3);
  border-color: var(--ink-3);
  cursor: not-allowed;
  pointer-events: none;
}

/* ============ LINKS ============ */
.link {
  position: relative;
  color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(to right, rgba(168, 116, 58, 0.4), rgba(168, 116, 58, 0.4));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: color var(--t-base), background-image var(--t-base);
  font-family: var(--font-sans);
}

.link:hover {
  color: var(--accent-deep);
  background-image: linear-gradient(to right, var(--accent), var(--accent));
}

.link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.link--arrow::after {
  content: " →";
  display: inline-block;
  margin-left: 0.25em;
  transition: transform var(--t-base);
}

.link--arrow:hover::after {
  transform: translateX(3px);
}

.link--inline {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-base);
}
.link--inline:hover {
  text-decoration-color: var(--accent);
}

.link--on-dark {
  color: var(--paper);
  background-image: linear-gradient(to right, rgba(200, 150, 92, 0.5), rgba(200, 150, 92, 0.5));
}
.link--on-dark:hover {
  color: var(--accent-soft);
  background-image: linear-gradient(to right, var(--accent-soft), var(--accent-soft));
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: 64px;
  background: transparent;
  transition:
    background var(--t-base),
    backdrop-filter var(--t-base),
    border-color var(--t-base),
    height var(--t-base);
  border-bottom: 1px solid transparent;
}

@media (min-width: 1024px) {
  .header {
    height: 80px;
  }
}

.header--scrolled,
.header--solid {
  background: rgba(247, 244, 237, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--rule);
}

.header__logo {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .header__logo {
    font-size: 1.25rem;
  }
}

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: var(--s-7);
  }
}

.nav__item {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--t-base);
  position: relative;
  padding: var(--s-2) 0;
  cursor: pointer;
}

.nav__item:hover {
  color: var(--accent-deep);
}

.nav__item--active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.nav__lang {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--t-base);
  padding: 4px 6px;
}

.nav__lang:hover {
  color: var(--ink);
}

.nav__lang--active {
  color: var(--ink);
}

.nav__lang-sep {
  color: var(--ink-3);
  opacity: 0.5;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
}

.header__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .header__burger {
    display: none;
  }
}

.header__cta-mobile {
  display: flex;
}
@media (min-width: 1024px) {
  .header__cta-mobile {
    display: none;
  }
}
.header__cta-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .header__cta-desktop {
    display: inline-flex;
  }
}

/* Dropdown nav "Pratiques" */
.dropdown {
  position: relative;
}

.dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  padding: var(--s-2) 0;
}

.dropdown__trigger svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t-base);
}

.dropdown:hover .dropdown__trigger svg,
.dropdown:focus-within .dropdown__trigger svg {
  transform: rotate(180deg);
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -24px;
  min-width: 360px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--accent);
  padding: var(--s-6);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}

.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown__eyebrow {
  margin-bottom: var(--s-4);
  display: block;
  color: var(--accent);
}

.dropdown__item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: var(--s-3);
  align-items: baseline;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: color var(--t-base);
}

.dropdown__item:last-child {
  border-bottom: 0;
}

.dropdown__item:hover {
  color: var(--accent-deep);
}

.dropdown__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 0.8125rem;
}

.dropdown__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.dropdown__arrow {
  color: var(--accent);
  font-size: 1rem;
  line-height: 1;
}

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--paper);
  padding: var(--s-5) var(--s-5) var(--s-7);
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
  visibility: hidden;
}

.drawer--open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-7);
}

.drawer__close {
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}

.drawer__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
}

.drawer__item {
  border-bottom: 1px solid var(--rule);
  padding: var(--s-5) 0;
}

.drawer__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}

.drawer__sublist {
  list-style: none;
  padding: var(--s-3) 0 0 var(--s-5);
  margin: 0;
}

.drawer__sublink {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink-2);
  padding: var(--s-2) 0;
  text-decoration: none;
}

.drawer__footer {
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
  display: flex;
  gap: var(--s-5);
  align-items: center;
  margin-top: var(--s-5);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--carbon);
  color: var(--paper);
  padding: var(--s-9) 0 var(--s-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__brand-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  font-style: italic;
  color: var(--paper);
  margin: 0 0 var(--s-3);
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: var(--s-4);
  display: block;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer__link {
  color: var(--paper);
  opacity: 0.85;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: color var(--t-base), opacity var(--t-base);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--accent-soft);
  opacity: 1;
}

.footer__contact-line {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: rgba(247, 244, 237, 0.85);
  line-height: 1.55;
}

.footer__contact-line + .footer__contact-line {
  margin-top: var(--s-2);
}

.footer__bottom {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer__legal {
  font-family: var(--font-sans);
  font-size: var(--fs-legal);
  color: rgba(247, 244, 237, 0.55);
  line-height: 1.5;
}

.footer__signature {
  font-family: var(--font-sans);
  font-size: var(--fs-legal);
  color: rgba(247, 244, 237, 0.45);
}

.footer__signature a {
  color: rgba(247, 244, 237, 0.65);
  text-decoration: none;
  transition: color var(--t-base);
}

.footer__signature a:hover {
  color: var(--accent-soft);
}

.footer__rin-line {
  font-family: var(--font-sans);
  font-size: var(--fs-legal);
  color: rgba(247, 244, 237, 0.55);
  margin-top: var(--s-5);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-full);
  color: var(--paper);
  opacity: 0.7;
  transition: opacity var(--t-base), border-color var(--t-base);
}

.footer__social a:hover {
  opacity: 1;
  border-color: var(--accent-soft);
  color: var(--accent-soft);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

/* ============ CARDS ============ */
.card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: var(--s-6);
  border-radius: var(--r-0);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--accent);
}

.card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s-2);
}

.card__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.card__subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.card__body {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  line-height: var(--lh-relaxed);
  color: var(--ink-2);
  flex: 1;
  margin: 0;
}

.card__proof {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  color: var(--accent-deep);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: var(--s-3);
  margin-top: var(--s-3);
}

.card__link {
  margin-top: auto;
  padding-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--accent-deep);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: gap var(--t-base);
}

.card:hover .card__link {
  gap: 12px;
}

/* Article card */
.card--article {
  padding: 0;
  border: 0;
  background: transparent;
  gap: var(--s-4);
}

.card--article:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border-color: transparent;
}

.card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  transition: transform var(--t-slow);
  overflow: hidden;
}

.card--article:hover .card__image {
  transform: scale(1.02);
}

.card__image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--rule) 100%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-slow);
}

.card__image-placeholder::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.card__image-placeholder span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--accent-deep);
  opacity: 0.5;
}

.card--article:hover .card__image-placeholder {
  transform: scale(1.02);
}

.card__date {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Case study card */
.card--case {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  padding: var(--s-6);
}

.card--case .card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--accent-deep);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card--case h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 0 0 var(--s-4);
}

.card--case .case__field {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.card--case .case__field:last-child {
  border-bottom: 0;
}

.card--case .case__label {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}

.card--case .case__value {
  color: var(--ink);
}

/* Engagement card (associations) */
.engagement {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--rule);
}

.engagement__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
}

.engagement__role {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.engagement__body {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: var(--s-9) var(--pad-x) var(--s-9);
  overflow: hidden;
  isolation: isolate;
  background: var(--carbon);
  color: var(--paper);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--carbon);
}

.hero__media-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(168, 116, 58, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(168, 116, 58, 0.1), transparent 60%),
    linear-gradient(180deg, var(--carbon-2) 0%, var(--carbon) 70%);
}

.hero__media-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(168, 116, 58, 0.045) 79px, rgba(168, 116, 58, 0.045) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(168, 116, 58, 0.035) 79px, rgba(168, 116, 58, 0.035) 80px);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--paper);
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hero__content {
    max-width: 1080px;
  }
}

.hero__eyebrow {
  color: var(--accent-soft);
  margin-bottom: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: var(--ls-tight);
  margin: 0 0 var(--s-5);
  font-variation-settings: "opsz" 144;
  color: var(--paper);
  max-width: 18ch;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-soft);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
  font-style: italic;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 0 var(--s-7);
  opacity: 0.92;
  color: var(--paper);
}

.hero__subtitle strong {
  font-weight: 500;
  font-style: normal;
  color: var(--accent-soft);
}

.hero__actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  opacity: 0.5;
  animation: scrollHint 2.4s ease-in-out infinite;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}

.hero__scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: var(--accent-soft);
}

@keyframes scrollHint {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, 6px);
    opacity: 1;
  }
}

.hero__reassurance {
  background: var(--carbon-2);
  padding: var(--s-4) var(--pad-x);
  border-top: 1px solid var(--rule-dark);
}

.hero__reassurance-text {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  color: rgba(247, 244, 237, 0.7);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
}

/* Hero variants */
.hero--editorial {
  min-height: 60vh;
  background: var(--paper);
  align-items: center;
  color: var(--ink);
  padding-top: var(--s-10);
  padding-bottom: var(--s-9);
}

.hero--editorial .hero__media {
  background: var(--paper);
}

.hero--editorial .hero__media-bg {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(168, 116, 58, 0.06), transparent 50%);
}

.hero--editorial .hero__media-pattern {
  opacity: 0.5;
}

.hero--editorial .hero__title,
.hero--editorial .hero__subtitle {
  color: var(--ink);
}

.hero--editorial .hero__eyebrow {
  color: var(--accent);
}

.hero--editorial .hero__subtitle {
  color: var(--ink-2);
}

.hero--editorial .hero__title em {
  color: var(--accent-deep);
}

.hero--domain {
  min-height: 70vh;
  background: var(--paper);
  align-items: center;
  color: var(--ink);
  padding-top: var(--s-10);
}

.hero--domain .hero__media-bg {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(168, 116, 58, 0.1), transparent 50%);
}

.hero--domain .hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero--domain .hero__layout {
    grid-template-columns: 1fr 2fr;
    gap: var(--s-10);
  }
}

.hero--domain .hero__number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 14vw, 11rem);
  color: var(--accent);
  line-height: 0.85;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.04em;
}

.hero--domain .hero__title,
.hero--domain .hero__subtitle,
.hero--domain .hero__eyebrow {
  color: var(--ink);
}

.hero--domain .hero__title em {
  color: var(--accent-deep);
}

.hero--domain .hero__eyebrow {
  color: var(--accent);
}

.hero--domain .hero__subtitle {
  color: var(--ink-2);
}

/* ============ QUOTE ============ */
.quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-style: italic;
  color: var(--accent-soft);
  line-height: 0.5;
  margin-bottom: var(--s-4);
  opacity: 0.6;
}

.quote__text {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 2.25rem);
  font-style: italic;
  line-height: 1.35;
  margin: 0 0 var(--s-6);
}

.quote__rule {
  width: 40px;
  height: 1px;
  background: var(--accent-soft);
  margin: 0 auto var(--s-5);
  border: 0;
}

.quote__source {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--accent-soft);
}

/* ============ TIMELINE ============ */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.timeline__item:last-child {
  border-bottom: 0;
}

.timeline__date {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--accent-deep);
  line-height: 1;
}

.timeline__content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 var(--s-2);
}

.timeline__content p {
  font-family: var(--font-serif);
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin: 0;
}

@media (min-width: 768px) {
  .timeline__item {
    grid-template-columns: 120px 1fr;
  }
}

/* Timeline horizontale 4 étapes */
.timeline--horizontal {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 1024px) {
  .timeline--horizontal {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-6);
    position: relative;
  }

  .timeline--horizontal::before {
    content: "";
    position: absolute;
    top: 56px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: var(--rule);
    z-index: 0;
  }
}

.timeline__step {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
}

.timeline__step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s-3);
  font-variation-settings: "opsz" 144;
}

.timeline__step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0;
}

.timeline__step p {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.timeline__step-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--accent-deep);
  margin-top: auto;
  padding-top: var(--s-3);
}

/* ============ FORMS ============ */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.field__label {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field__label .field__required {
  color: var(--accent);
}

.field__input,
.field__textarea,
.field__select {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--ink-3);
}

.field__input:hover,
.field__textarea:hover,
.field__select:hover {
  border-color: var(--ink-3);
}

.field__input:focus,
.field__textarea:focus,
.field__select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(168, 116, 58, 0.15);
}

.field__textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A8743A' stroke-width='1.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.field--error .field__input,
.field--error .field__textarea,
.field--error .field__select {
  border-color: var(--red);
  background: rgba(139, 46, 46, 0.04);
}

.field__error {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  color: var(--red);
  margin-top: var(--s-1);
}

.field__help {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  color: var(--ink-3);
  margin-top: var(--s-1);
  line-height: 1.45;
}

.field__counter {
  font-family: var(--font-mono);
  font-size: var(--fs-caption);
  color: var(--ink-3);
  text-align: right;
}

/* Radio group */
.radio-group {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.radio {
  position: relative;
  cursor: pointer;
}

.radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio__label {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--bone);
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--ink-2);
  transition: all var(--t-base);
}

.radio input:checked + .radio__label {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.radio input:focus-visible + .radio__label {
  box-shadow: var(--shadow-ring);
}

.radio:hover .radio__label {
  border-color: var(--ink-3);
}

/* Checkbox RGPD */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  cursor: pointer;
}

.checkbox__input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--bone);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 3px;
  transition: all var(--t-base);
}

.checkbox__input:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.checkbox__input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--paper);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.checkbox__input:focus-visible {
  box-shadow: var(--shadow-ring);
}

.checkbox__label {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  color: var(--ink-2);
  line-height: 1.55;
}

.checkbox__label a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 2px;
}

.checkbox__label a:hover {
  text-decoration-color: var(--accent);
}

/* Cookies banner */
.cookies {
  position: fixed;
  left: var(--s-5);
  right: var(--s-5);
  bottom: var(--s-5);
  z-index: var(--z-toast);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--accent);
  padding: var(--s-5);
  box-shadow: var(--shadow-3);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
  max-width: 560px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform var(--t-slow), opacity var(--t-slow);
  pointer-events: none;
}

.cookies.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .cookies {
    left: auto;
    right: var(--s-7);
    bottom: var(--s-7);
    padding: var(--s-6);
  }
}

.cookies__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 var(--s-2);
}

.cookies__body {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

.cookies__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.cookies__link {
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 2px;
  display: inline-block;
  margin-top: var(--s-2);
}
