/* Feuille de style provisoire du site Génogramme.
   Sera remplacée ou retravaillée lors de l'intégration du design Claude Design.
   Aucune dépendance, aucune police externe : tout reste local. */

:root {
  --encre: #1d2733;
  --encre-douce: #46566a;
  --papier: #ffffff;
  --papier-doux: #f4f6f9;
  --accent: #14586e;
  --accent-fonce: #0e4254;
  --filet: #dde4ec;
  --rayon: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--encre);
  background: var(--papier);
  line-height: 1.65;
}

.conteneur {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* En-tete */

.entete {
  border-bottom: 1px solid var(--filet);
  background: var(--papier);
  position: sticky;
  top: 0;
  z-index: 10;
}

.entete-int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.marque {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--encre);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.entete nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.entete nav a {
  color: var(--encre-douce);
  text-decoration: none;
  font-size: 0.95rem;
}

.entete nav a:hover { color: var(--accent); }

.entete nav a.bouton-plein { color: #ffffff; }

.entete nav a.bouton-plein:hover { color: #ffffff; }

/* Boutons */

.bouton {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--rayon);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.bouton:hover { background: var(--papier-doux); }

.bouton-plein {
  background: var(--accent);
  color: #ffffff;
}

.bouton-plein:hover {
  background: var(--accent-fonce);
  border-color: var(--accent-fonce);
}

/* Heros */

.heros {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, var(--papier-doux) 0%, var(--papier) 100%);
}

.heros h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin: 0 0 16px;
  max-width: 20em;
}

.heros-texte {
  font-size: 1.1rem;
  color: var(--encre-douce);
  max-width: 46em;
  margin: 0 0 24px;
}

.heros-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.heros-mention {
  color: var(--encre-douce);
  font-size: 0.9rem;
  margin: 0;
}

/* Sections */

.section { padding: 56px 0; }

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 24px;
}

.section-contraste {
  background: var(--papier-doux);
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}

.section p { max-width: 52em; }

/* Grilles et cartes */

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.carte {
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  padding: 20px 22px;
}

.carte h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.carte p {
  margin: 0;
  color: var(--encre-douce);
  font-size: 0.95rem;
}

/* Tarif */

.grille-tarif { max-width: 720px; }

.carte-tarif { text-align: left; }

.carte-tarif-active { border-color: var(--accent); }

.prix {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0 10px;
}

/* Pied de page */

.pied {
  border-top: 1px solid var(--filet);
  padding: 24px 0;
  font-size: 0.9rem;
  color: var(--encre-douce);
}

.pied-int {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pied a { color: var(--encre-douce); }

.pied p { margin: 0; }
