@charset "UTF-8";

:root {
  --color-creme: #F7F0E6;
  --color-sable-chaud: #E8D5B8;
  --color-terre-cuite: #B85C38;
  --color-orange-brule: #D97A3A;
  --color-cobalt: #1E3A5F;
  --color-olive: #6B7A4A;
  --color-encre: #2A2118;
  --color-ombre-portee: rgba(42, 33, 24, 0.12);

  --font-heading: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --text-display-size: 3.5rem;
  --text-display-line-height: 1.1;
  --text-display-weight: 700;
  --text-h1-size: 2.5rem;
  --text-h1-line-height: 1.15;
  --text-h1-weight: 600;
  --text-h2-size: 1.75rem;
  --text-h2-line-height: 1.2;
  --text-h2-weight: 600;
  --text-h3-size: 1.25rem;
  --text-h3-line-height: 1.3;
  --text-h3-weight: 500;
  --text-body-size: 1rem;
  --text-body-line-height: 1.6;
  --text-body-weight: 400;
  --text-small-size: 0.875rem;
  --text-small-line-height: 1.5;
  --text-small-weight: 400;
  --text-micro-size: 0.75rem;
  --text-micro-line-height: 1.4;
  --text-micro-weight: 500;

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  --container-max: 1200px;
  --container-margin-mobile: 1.5rem;
  --container-margin-desktop: 2.5rem;
  --gutter-mobile: 1.5rem;
  --gutter-desktop: 2rem;

  --radius-0: 0;
  --radius-2: 2px;
  --radius-4: 4px;
  --radius-round: 50%;

  --border-hairline: 1px solid rgba(42, 33, 24, 0.15);
  --border-card: 1px solid rgba(42, 33, 24, 0.15);
  --border-active: 2px solid var(--color-terre-cuite);
  --border-form: 1px solid rgba(42, 33, 24, 0.2);
  --border-focus: 2px solid var(--color-terre-cuite);

  --shadow-offset-2: 2px 2px 0 0 var(--color-ombre-portee);
  --shadow-offset-4: 4px 4px 0 0 var(--color-ombre-portee);
  --shadow-offset-8: 8px 8px 0 0 var(--color-ombre-portee);

  --transition-fast: 150ms ease-out;
  --transition-underline: 100ms ease-out;

  --nav-height-desktop: 64px;
  --nav-height-mobile: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  color: var(--color-encre);
  background-color: var(--color-creme);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

a {
  color: var(--color-terre-cuite);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-orange-brule);
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

th,
td {
  text-align: left;
  vertical-align: top;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

hr {
  border: none;
  border-top: 1px solid rgba(42, 33, 24, 0.15);
  margin-block: var(--space-lg);
}

address {
  font-style: normal;
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

b,
strong {
  font-weight: 600;
}

small {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

sub,
sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

code,
kbd,
samp,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  padding: var(--space-md);
  background-color: var(--color-sable-chaud);
  border-radius: var(--radius-2);
}

:focus-visible {
  outline: 2px solid var(--color-terre-cuite);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background-color: var(--color-terre-cuite);
  color: var(--color-creme);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-cobalt);
  font-weight: var(--text-h1-weight);
  line-height: var(--text-h1-line-height);
  margin-block-end: var(--space-md);
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-block-end: 0;
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
}

h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
}

h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
}

h4 {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  font-weight: 600;
}

h5 {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: 600;
}

h6 {
  font-size: var(--text-micro-size);
  line-height: var(--text-micro-line-height);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  margin-block-end: var(--space-md);
}

p:last-child {
  margin-block-end: 0;
}

ul,
ol {
  margin-block-end: var(--space-md);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  color: var(--color-cobalt);
  margin-block-end: var(--space-md);
}

blockquote:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-md);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-encre);
  opacity: 0.75;
  margin-block-start: var(--space-xs);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-margin-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--container-margin-desktop);
  }
}

.content-list {
  margin-block-end: var(--space-md);
}

.content-list:last-child {
  margin-block-end: 0;
}

.content-list li {
  padding-inline-start: var(--space-lg);
  position: relative;
  margin-block-end: var(--space-xs);
}

.content-list li:last-child {
  margin-block-end: 0;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-olive);
  border-radius: var(--radius-0);
}

.content-list--ordered {
  counter-reset: list-counter;
}

.content-list--ordered li {
  counter-increment: list-counter;
  padding-inline-start: var(--space-lg);
}

.content-list--ordered li::before {
  content: counter(list-counter) ".";
  background: none;
  width: auto;
  height: auto;
  top: 0;
  font-weight: 600;
  color: var(--color-olive);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: 500;
  line-height: 1.2;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-2);
  border: 1px solid transparent;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  min-height: 48px;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.btn:focus-visible {
  outline: 2px solid var(--color-terre-cuite);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-terre-cuite);
  color: var(--color-creme);
  border-color: var(--color-terre-cuite);
  box-shadow: var(--shadow-offset-2);
}

.btn--primary:hover {
  background-color: var(--color-orange-brule);
  border-color: var(--color-orange-brule);
  color: var(--color-creme);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-cobalt);
  border-color: var(--color-cobalt);
}

.btn--secondary:hover {
  background-color: var(--color-cobalt);
  color: var(--color-creme);
  border-color: var(--color-cobalt);
}

.btn--full-mobile {
  width: 100%;
}

@media (min-width: 768px) {
  .btn--full-mobile {
    width: auto;
  }
}

.card {
  background-color: var(--color-creme);
  border: var(--border-card);
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-offset-4);
  padding: var(--space-lg);
}

.card > :last-child {
  margin-block-end: 0;
}

.label {
  display: inline-block;
  background-color: var(--color-olive);
  color: var(--color-creme);
  border-radius: var(--radius-2);
  padding: var(--space-2xs) var(--space-xs);
  font-size: var(--text-micro-size);
  line-height: var(--text-micro-line-height);
  font-weight: var(--text-micro-weight);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-block-end: var(--space-md);
}

.form-field:last-child {
  margin-block-end: 0;
}

.form-field label {
  font-size: var(--text-small-size);
  font-weight: 500;
  color: var(--color-encre);
}

.form-field input,
.form-field textarea,
.form-field select {
  background-color: var(--color-sable-chaud);
  border: var(--border-form);
  border-radius: var(--radius-2);
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-encre);
  transition: border-color var(--transition-fast);
  width: 100%;
  min-height: 48px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border: var(--border-focus);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-encre);
  opacity: 0.5;
}

.surface-creme {
  background-color: var(--color-creme);
}

.surface-sable {
  background-color: var(--color-sable-chaud);
}

.surface-cobalt {
  background-color: var(--color-cobalt);
  color: var(--color-creme);
}

.surface-cobalt h1,
.surface-cobalt h2,
.surface-cobalt h3,
.surface-cobalt h4,
.surface-cobalt h5,
.surface-cobalt h6 {
  color: var(--color-creme);
}

.surface-cobalt a {
  color: var(--color-sable-chaud);
}

.surface-cobalt a:hover {
  color: var(--color-orange-brule);
}

.surface-olive {
  background-color: var(--color-olive);
  color: var(--color-creme);
}

.surface-olive h1,
.surface-olive h2,
.surface-olive h3,
.surface-olive h4,
.surface-olive h5,
.surface-olive h6 {
  color: var(--color-creme);
}

.surface-olive a {
  color: var(--color-sable-chaud);
}

.surface-olive a:hover {
  color: var(--color-orange-brule);
}

.text-display {
  font-family: var(--font-heading);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line-height);
  font-weight: var(--text-display-weight);
  color: var(--color-cobalt);
  margin-block-end: var(--space-md);
}

.text-display:last-child {
  margin-block-end: 0;
}

.text-micro {
  font-size: var(--text-micro-size);
  line-height: var(--text-micro-line-height);
  font-weight: var(--text-micro-weight);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-small {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: var(--text-small-weight);
}

.text-encre {
  color: var(--color-encre);
}

.text-cobalt {
  color: var(--color-cobalt);
}

.text-terre-cuite {
  color: var(--color-terre-cuite);
}

.text-creme {
  color: var(--color-creme);
}

.text-sable {
  color: var(--color-sable-chaud);
}

.text-olive {
  color: var(--color-olive);
}

.text-orange-brule {
  color: var(--color-orange-brule);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  background-color: var(--color-cobalt);
  color: var(--color-creme);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-2);
  font-weight: 500;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  color: var(--color-creme);
}

@media (max-width: 767px) {
  :root {
    --text-display-size: 2.25rem;
    --text-display-line-height: 1.15;
    --text-h1-size: 1.75rem;
    --text-h1-line-height: 1.25;
    --text-h2-size: 1.5rem;
    --text-h2-line-height: 1.3;
    --text-h3-size: 1.125rem;
    --text-h3-line-height: 1.35;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --text-display-size: 2.75rem;
    --text-display-line-height: 1.1;
    --text-h1-size: 2rem;
    --text-h1-line-height: 1.2;
    --text-h2-size: 1.625rem;
    --text-h2-line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}