/* VELIA Digital : le site de la société, une seule page (et les deux pages légales du pied de page).
   Sobre : blanc cassé, texte anthracite, une touche d'or. La police : Geist, celle de Photovelia
   (licence libre SIL OFL, fonts/Geist-LICENCE-OFL.txt), servie par le site lui-même (aucune donnée
   envoyée à un autre site) ; toutes les graisses dans un seul fichier. */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --fond: #f8f7f4;
  --texte: #1f1e1b;
  --gris: #77726a;
  --trait: rgba(31, 30, 27, 0.1);
  --or: #b8916b;
  --survol: #dde5ef;
  --survol-texte: #2c3b52;
  --police: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
  border-radius: 0.25em;
  transition: background 0.15s, color 0.15s;
}
a:hover {
  background: var(--survol);
  color: var(--survol-texte);
}
.cadre {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- La page d'accueil : tout au centre ---- */
.accueil {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0 4rem;
  text-align: center;
}
/* Le bandeau derrière le nom et les métiers : anthracite, sur toute la largeur */
.bandeau {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
  background: var(--texte);
  color: #fff;
}
/* Le logo : VELIA en gras (le fil rouge), Digital plus fin ; les deux serrés */
.logo {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.logo strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.metiers {
  margin: 1.4rem 0 0;
  /* (l'espacement de la dernière lettre ne décentre pas la ligne) */
  margin-right: -0.32em;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--or);
}
.presentation strong {
  font-weight: 600;
}
.presentation {
  margin: 3.5rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 300;
  line-height: 1.5;
}
/* Les solutions : une ligne fine au-dessus, puis une par solution */
.solutions {
  margin: 4rem auto 0;
  max-width: 34rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--trait);
}
.solution {
  border-bottom: 1px solid var(--trait);
}
/* (une solution : son nom, sa phrase dessous, la flèche ; centrés) */
.solution a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.75rem 0.75rem;
}
.solution .nom {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}
/* Le logo de Photovelia : le même que sur photovelia.com */
.logo-photovelia {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #111827;
}
.logo-photovelia span {
  color: #c59b76;
}
.solution .phrase {
  color: var(--gris);
}
.solution a:hover .phrase {
  color: var(--survol-texte);
}
.solution .fleche {
  font-size: 1.1rem;
  color: var(--or);
}

/* ---- Les pages légales ---- */
.haut {
  padding: 2.5rem 0 0;
}
.haut a {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}
.haut a strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.texte {
  flex: 1;
  padding: 3.5rem 0 4rem;
}
.texte .cadre {
  max-width: 44rem;
}
.texte h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}
.texte h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.texte p,
.texte li {
  color: #3d3a35;
}
.texte ul {
  padding-left: 1.2rem;
}
.texte a {
  text-decoration: underline;
  text-decoration-color: var(--trait);
  text-underline-offset: 0.2em;
}
.maj {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--gris);
}

/* ---- Le pied de page ---- */
footer {
  border-top: 1px solid var(--trait);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gris);
}
footer .cadre {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
