/* Louis Moret - page d'accueil de la demo.
   Blanc, gris tres clair, noir. Les images font le design : aucune couleur d'accent. */

:root {
  --fond: #FBFBFA;
  --aplat: #F1F1EF;
  --trait: #E4E4E1;
  --texte: #121314;
  --texte-2: #6B6D70;

  --gouttiere: clamp(16px, 4vw, 48px);
  --largeur: 1440px;
  --respiration: clamp(72px, 11vw, 168px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

a { color: inherit; }

h1, h2, h3, p, figure { margin: 0; }

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* En-tete */

.entete { padding-block: 28px; }

.entete__ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.entete__nom {
  font-weight: 500;
  text-decoration: none;
}

.entete__liens {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
}

.entete__liens a {
  color: var(--texte-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.entete__liens a:hover,
.entete__liens a:focus-visible { color: var(--texte); }

/* Introduction */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
  column-gap: clamp(32px, 6vw, 112px);
  row-gap: 28px;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

h1 {
  font-weight: 400;
  font-size: clamp(2.5rem, 1.35rem + 4.6vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.intro p {
  max-width: 30em;
  color: var(--texte-2);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Images */

.bloc + .bloc { margin-top: var(--respiration); }

.figure img { width: 100%; }

.legende,
.figure figcaption {
  margin-top: 20px;
  color: var(--texte-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.pleine__image { width: 100%; }

.pleine .legende { margin-top: 20px; }

/* Maquettes */

.maquettes {
  margin-top: var(--respiration);
  padding-block: var(--respiration);
  background: var(--aplat);
}

h2 {
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.maquettes__liste {
  margin-top: clamp(40px, 6vw, 80px);
}

.maquette {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
}

.maquette + .maquette { margin-top: clamp(56px, 8vw, 112px); }

.maquette__image {
  display: block;
  border: 1px solid var(--trait);
  background: var(--fond);
}

.maquette h3 {
  font-weight: 500;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.maquette p {
  margin-top: 6px;
  color: var(--texte-2);
}

.maquette sup {
  font-size: 0.7em;
  line-height: 0;
}

.bouton {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 28px;
  background: var(--texte);
  color: var(--fond);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--texte);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.bouton:hover { background: transparent; color: var(--texte); }

a:focus-visible {
  outline: 2px solid var(--texte);
  outline-offset: 3px;
}

/* Phrase de fin */

.accroche { padding-block: var(--respiration) clamp(40px, 6vw, 72px); }

.accroche p {
  max-width: 36ch;
  font-size: clamp(1.75rem, 4.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.accroche .promesse {
  margin-top: 14px;
  max-width: none;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0;
  opacity: 0.7;
}

/* Pied de page */

.pied { padding-block: clamp(40px, 6vw, 72px); }

.pied__ligne {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  color: var(--texte-2);
  font-size: 0.9375rem;
}

.pied a {
  color: var(--texte);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Petits ecrans */

@media (max-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .maquette { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 28px; }
}

@media (max-width: 720px) {
  .entete { padding-block: 20px; }
  .bouton { display: block; text-align: center; }
}
