/* Dixerunt — feuille de style du site.
   Charte : docs/03-design.md §0 — Fraunces, terre cuite, crème, bleu nuit en surface. */

:root {
  --terracotta: #B0563A;
  --terracotta-sombre: #8F4530;
  --creme: #F7F4EE;
  --ivoire: #F4EEE2;
  --nuit: #1B2A3D;
  --encre: #2B2622;
  --encre-douce: #5C544C;
  --filet: #E3DCCF;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--creme);
  color: var(--encre);
  line-height: 1.65;
  font-size: 1.0625rem;
}

.contenu {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

header.site {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--filet);
}

header.site .contenu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--encre);
}

.marque img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 22%;
  display: block;
}

.marque .logotype {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
}

.marque .signature {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--terracotta);
}

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

nav.site a:hover { color: var(--terracotta); }

/* ---- Typographie ---- */

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--encre);
}

h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: 0 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.75rem 0 0.85rem; }
h3 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }

p { margin: 0 0 1rem; }

a { color: var(--terracotta); }

main { padding: 3rem 0 4rem; }

ul, ol { margin: 0 0 1rem 1.4rem; }
li { margin-bottom: 0.4rem; }

em { font-style: italic; }

.discret {
  color: var(--encre-douce);
  font-size: 0.95rem;
}

/* ---- Accueil ---- */

.heros {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
}

.heros .accroche {
  font-size: 1.2rem;
  color: var(--encre-douce);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.badge-bientot {
  display: inline-block;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* Citation « prestige » : ivoire sur bleu nuit — le bleu vient en surface,
   jamais en second accent. */
.prestige {
  background: var(--nuit);
  color: var(--ivoire);
  padding: 4rem 0;
  text-align: center;
}

.prestige blockquote {
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 32rem;
  margin: 0 auto 1rem;
}

.prestige figcaption {
  font-style: italic;
  opacity: 0.75;
}

.volets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.volets li {
  border: 1px solid var(--filet);
  border-radius: 0.75rem;
  padding: 1.25rem 1.4rem;
  background: #FFFDF9;
  margin: 0;
}

.volets h3 { margin: 0 0 0.4rem; }
.volets p { margin: 0; font-size: 0.98rem; color: var(--encre-douce); }

.filet-section {
  border: none;
  border-top: 1px solid var(--filet);
  margin: 3rem 0;
}

/* ---- Pages juridiques ---- */

.maj {
  font-style: italic;
  color: var(--encre-douce);
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--filet);
  vertical-align: top;
}

th { font-weight: 600; }

/* ---- Pied de page ---- */

footer.site {
  border-top: 1px solid var(--filet);
  padding: 2rem 0 2.5rem;
  color: var(--encre-douce);
  font-size: 0.92rem;
}

footer.site .contenu {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--encre-douce);
  text-decoration: none;
  margin-right: 1.1rem;
}

footer.site a:hover { color: var(--terracotta); }

@media (max-width: 540px) {
  nav.site { width: 100%; }
  nav.site a { margin-left: 0; margin-right: 1.1rem; }
}
