/* Page d'attente de floraherbier.fr.
   Polices hébergées ici (licence SIL OFL 1.1, fonts/OFL-*.txt) : aucune requête vers un autre site. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/mulish-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/mulish-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --papier: #fcfbf7;
  --planche: #f4f0e6;
  --encre: #1c1b18;
  --encre-2: #4a473f;
  --discret: #6e6a61;
  --sauge: #5e6a55;
  --filet: #e4dfd3;
  --filet-doux: #ede9de;
  --souligne: #c9c2b4;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Mulish", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--encre);
}
a:hover {
  color: var(--encre-2);
}
a:focus-visible {
  outline: 2px solid var(--sauge);
  outline-offset: 3px;
}

/* Téléphone d'abord : la signature, la planche, le texte, puis le lien vers les mentions. */
.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "entete"
    "planche"
    "texte"
    "pied";
}

.entete {
  grid-area: entete;
  padding: 24px 24px 20px;
}

.signature {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.embleme {
  display: block;
  height: 32px;
  width: auto;
  aspect-ratio: 122 / 88;
}
.nom {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.36em;
  margin-right: -0.36em;
}

.planche {
  grid-area: planche;
  background: var(--planche);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 32px;
}
.planche figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.planche img {
  display: block;
  width: 270px;
  height: auto;
  aspect-ratio: 1 / 1;
}
.planche figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.latin {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.3;
}
.commun {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sauge);
}

.texte {
  grid-area: texte;
  padding: 40px 24px 0;
}
.texte h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.12;
}
.accroche {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--encre-2);
  text-wrap: balance;
}
.surtitre {
  margin: 36px 0 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sauge);
}
.liens {
  margin: 0;
  border-top: 1px solid var(--filet);
}
.liens div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid var(--filet-doux);
  font-size: 15px;
  line-height: 1.55;
}
.liens dt {
  color: var(--discret);
}
.liens dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.liens a {
  display: inline-block;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--souligne);
}

.pied {
  grid-area: pied;
  padding: 36px 24px 20px;
}
.pied a {
  display: inline-block;
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--discret);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--filet);
}
.pied a:hover {
  color: var(--encre);
}

/* Ordinateur : la planche à gauche sur toute la hauteur, la signature, le texte et le lien à droite. */
@media (min-width: 900px) {
  .page {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "planche entete"
      "planche texte"
      "planche pied";
  }
  .entete,
  .texte,
  .pied {
    padding-left: clamp(24px, 6vw, 96px);
    padding-right: clamp(24px, 6vw, 96px);
  }
  .entete {
    padding-top: 48px;
    padding-bottom: 0;
  }
  .signature {
    gap: 12px;
  }
  .embleme {
    height: 36px;
  }
  .nom {
    font-size: 30px;
  }
  .planche {
    padding: 64px 40px;
  }
  .planche figure {
    gap: 28px;
  }
  .planche img {
    width: min(460px, 52vh);
  }
  .latin {
    font-size: 22px;
  }
  .texte {
    align-self: center;
    max-width: calc(460px + 2 * clamp(24px, 6vw, 96px));
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .texte h1 {
    font-size: 52px;
    line-height: 1.1;
  }
  .accroche {
    margin-top: 20px;
    font-size: 17px;
  }
  .surtitre {
    margin: 48px 0 12px;
  }
  .liens div {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 6px 0;
  }
  .liens a {
    padding: 6px 0;
  }
  .pied {
    padding-top: 0;
    padding-bottom: 28px;
  }
  .pied a {
    padding: 8px 0;
  }
}

/* Mentions légales : une colonne de texte, la même signature en tête. */
.legal {
  max-width: 640px;
  padding: 24px 24px 48px;
}
.legal h1 {
  margin: 24px 0 8px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.12;
}
.legal .maj {
  margin: 0 0 32px;
  font-size: 13px;
  color: var(--discret);
}
.legal h2 {
  margin: 32px 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sauge);
}
.legal p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--encre-2);
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--souligne);
}
/* La signature, lien vers l'accueil : sans soulignement (plus précis que « .legal a »). */
.legal .retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--encre);
  text-decoration: none;
}
.legal .retour:hover {
  color: var(--encre);
}
/* Le lien discret vers les mentions, en bas de la page 404 : comme sur la page d'attente. */
.legal .discret {
  margin-top: 32px;
}
.legal .discret a {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--discret);
  text-decoration-color: var(--filet);
}
.legal .discret a:hover {
  color: var(--encre);
}
@media (min-width: 900px) {
  .legal {
    padding: 48px clamp(24px, 6vw, 96px) 64px;
  }
  .legal h1 {
    font-size: 44px;
  }
}
