:root {
  --ink: #102d27;
  --green: #0d352d;
  --green-soft: #dcebe5;
  --cream: #f5f2e9;
  --paper: #fffdf8;
  --gold: #c9953a;
  --gold-soft: #f3e4c5;
  --line: rgba(16, 45, 39, 0.16);
  --muted: #536d67;
  --shadow: 0 24px 64px rgba(13, 53, 45, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 6%, rgba(201, 149, 58, 0.12), transparent 27rem),
    var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  min-height: 108px;
  padding: 18px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: 190px;
  height: 70px;
  overflow: hidden;
  border-radius: 14px;
  background: #090a0b;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-link {
  font-weight: 750;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.country-link {
  color: var(--muted);
  font-weight: 720;
  text-decoration: none;
}

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

.hero {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 138px) 0 96px;
}

.eyebrow,
.card-type {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.3rem, 7.4vw, 6.8rem);
  line-height: 0.98;
}

.hero-copy {
  max-width: 760px;
  margin: 34px 0 62px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 700px;
  padding: clamp(34px, 4vw, 54px);
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.patrimoine-card {
  color: #fffdf8;
  background: var(--green);
}

.confiance-card {
  background: var(--paper);
}

.card-number {
  position: absolute;
  top: 24px;
  right: 32px;
  color: rgba(201, 149, 58, 0.32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 1;
}

.choice-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.card-lead {
  max-width: 520px;
  margin: 30px 0 22px;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.45;
}

.choice-card ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 28px;
  padding: 0;
  list-style: none;
}

.choice-card li {
  position: relative;
  padding-left: 28px;
}

.choice-card li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--gold);
  font-weight: 900;
}

.definition {
  margin: auto 0 28px;
  padding-top: 28px;
  border-top: 1px solid currentColor;
  border-color: rgba(255, 255, 255, 0.22);
}

.confiance-card .definition {
  border-color: var(--line);
}

.primary-button {
  display: flex;
  min-height: 62px;
  padding: 16px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 14px;
  background: var(--gold);
  color: #102d27;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.confiance-card .primary-button {
  background: var(--green);
  color: #fffdf8;
}

.primary-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.primary-button:focus-visible,
.contact-link:focus-visible,
.country-link:focus-visible,
.brand:focus-visible {
  outline: 4px solid var(--gold-soft);
  outline-offset: 4px;
}

.link-section {
  padding: clamp(70px, 9vw, 120px) max(24px, calc((100vw - 1220px) / 2));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
  color: #fffdf8;
  background: var(--green);
}

.link-section h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 1;
}

.link-section > p {
  margin: 0;
  color: #d6e4df;
  font-size: 1.12rem;
}

footer {
  padding: 34px clamp(24px, 5vw, 80px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  background: var(--paper);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 840px) {
  body {
    font-size: 17px;
  }

  .choice-grid,
  .link-section {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: auto;
  }

  .definition {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 82px;
    padding: 12px 18px;
  }

  .brand {
    width: 130px;
    height: 48px;
    border-radius: 10px;
  }

  .contact-link {
    font-size: 0.88rem;
  }

  .country-link {
    display: none;
  }

  .hero {
    width: min(100% - 32px, 1220px);
    padding: 64px 0 70px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
  }

  .hero-copy {
    margin: 28px 0 42px;
  }

  .choice-card {
    padding: 32px 24px;
    border-radius: 22px;
  }

  .card-number {
    top: 18px;
    right: 22px;
    font-size: 3.4rem;
  }

  .choice-card h2 {
    font-size: 2.85rem;
  }

  .link-section {
    padding: 68px 24px;
  }

  footer {
    padding: 28px 20px;
    flex-direction: column;
    gap: 4px;
  }
}

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

  .primary-button {
    transition: none;
  }
}
