/* ==========================================================
   sur-les-moulins.ch : tout le style se règle ici
   ========================================================== */

:root {
  /* Couleurs */
  --page-bg:     #ffffff;   /* fond de la page */
  --text-color:  #2b2b2b;   /* nom du site */
  --tld-color:   #8d9199;   /* ".ch" (mets la même couleur que --text-color pour l'unifier) */

  /* Police */
  --font-family: "Nunito", "Varela Round", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-weight: 800;
  --letter-spacing: 0.01em;

  /* Tailles (s'adaptent à la largeur de l'écran) */
  --font-size:   clamp(1.6rem, 6vw, 3.6rem);
  --logo-height: clamp(80px, 24vw, 150px);

  /* Espace entre le logo et le texte */
  --gap:         clamp(0.5rem, 2vw, 1.5rem);
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  background: var(--page-bg);
  color: var(--text-color);
  font-family: var(--font-family);
  font-weight: var(--font-weight);

  /* Centre le bloc logo + texte au milieu de la page */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bloc : logo à gauche, texte à droite */
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--gap);
  padding: 1rem;
}

.brand__logo {
  display: block;
  height: var(--logo-height);
  width: auto;
}

.brand__name {
  margin: 0;
  font-size: var(--font-size);
  font-weight: var(--font-weight);
  letter-spacing: var(--letter-spacing);
  line-height: 1;
  white-space: nowrap;
}

.brand__tld { color: var(--tld-color); }
