/* VARÉA Algues — site public.
 *
 * Aucune police distante, aucun script tiers, aucun cookie. Charger une
 * police Google ferait partir l'adresse IP de chaque visiteur vers un
 * serveur américain, et la CNIL a sanctionné cette pratique. Les
 * interlocuteurs de VARÉA sont des établissements publics : autant ne pas
 * leur offrir ce sujet.
 */

:root {
  --ocean:      #0e617b;
  --ink:        #0a3e4c;
  --alerte:     #a35407;
  --fond:       #fbfaf7;
  --surface:    #ffffff;
  --trait:      #dfe4e3;
  --texte:      #16292f;
  --texte-doux: #5a6b70;

  --titre: Georgia, 'Times New Roman', serif;
  --corps: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.65;
}

.bande { padding: 0 1.5rem; }
.dedans { max-width: 46rem; margin: 0 auto; }

/* --- En-tête ------------------------------------------------------------ */

.entete {
  border-bottom: 1px solid var(--trait);
  background: var(--surface);
  padding: 1.1rem 1.5rem;
}

.marque {
  font-family: var(--titre);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.marque span { color: var(--ocean); }

/* --- Ouverture ---------------------------------------------------------- */

.ouverture { padding: 3.5rem 1.5rem 2.5rem; }

.ouverture h1 {
  font-family: var(--titre);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1rem;
}

.chapo {
  font-size: 1.12rem;
  color: var(--texte-doux);
  margin: 0;
}

/* --- Sections ----------------------------------------------------------- */

section { padding: 2rem 1.5rem; }

section h2 {
  font-family: var(--titre);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0 0 0.8rem;
}

section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ocean);
  margin: 1.6rem 0 0.3rem;
}

p { margin: 0 0 1rem; }

.encadre {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-left: 4px solid var(--ocean);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
}

.territoires {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.territoires li {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
}

.territoires strong { color: var(--ink); }

/* --- Contact ------------------------------------------------------------ */

.contact { background: var(--surface); border-top: 1px solid var(--trait); }

a { color: var(--ocean); }
a:hover { color: var(--ink); }

/* --- Pied --------------------------------------------------------------- */

.pied {
  border-top: 1px solid var(--trait);
  padding: 1.6rem 1.5rem 2.5rem;
  font-size: 0.86rem;
  color: var(--texte-doux);
}

.pied p { margin: 0 0 0.4rem; }

/* --- Mentions légales --------------------------------------------------- */

.legal dt { font-weight: 600; color: var(--ink); margin-top: 1rem; }
.legal dd { margin: 0.2rem 0 0; }

@media (min-width: 40rem) {
  .ouverture h1 { font-size: 2.5rem; }
  .territoires { grid-template-columns: repeat(3, 1fr); }
}

/* --- Emblème ------------------------------------------------------------
 *
 * L'emblème est décoratif : le nom de l'entreprise est juste à côté, en
 * texte. Son attribut alt reste donc vide, pour qu'un lecteur d'écran ne
 * lise pas deux fois la même chose.
 *
 * Les dimensions sont écrites dans la balise : sans elles, la page saute au
 * moment où l'image arrive.
 */

.marque-ligne {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.marque-lien {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.embleme {
  width: 44px;
  height: auto;
  display: block;
}

@media (min-width: 40rem) {
  .embleme { width: 54px; }
}
