/* Appmat : feuille de style des pages publiques (accueil, confidentialite).
   Meme charte que le simulateur CMG : creme #FDF6EC, terracotta #C75B39,
   cacao #4A3B32. Mobile-first, ZERO dependance externe (aucune police
   distante, aucun script tiers, aucun cookie). */

:root {
  --creme: #FDF6EC;
  --surface: #FFFCF7;
  --terracotta: #C75B39;
  --terracotta-fonce: #A84A2D;
  --cacao: #4A3B32;
  --cacao-doux: #6E5A4E;
  --ligne: #EAD9C2;
  --mimosa: #F6D48E;
  --sauge: #A8C3A0;
  --info-fond: #F6EEDF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--cacao);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}

.enveloppe { max-width: 720px; margin: 0 auto; padding: 20px 18px 56px; }

header.bandeau {
  background: var(--surface);
  border-bottom: 1px solid var(--ligne);
  padding: 14px 18px;
}
header.bandeau .dedans {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
header.bandeau img { width: 42px; height: 42px; border-radius: 12px; }
header.bandeau .marque { font-size: 1.25rem; font-weight: 700; }
header.bandeau .marque small { display: block; font-size: 0.8rem; font-weight: 400; color: var(--cacao-doux); }

h1 { font-size: 1.7rem; line-height: 1.25; margin: 0.6em 0 0.3em; }
h2 { font-size: 1.25rem; margin: 1.6em 0 0.4em; }
h3 { font-size: 1.05rem; margin: 1.2em 0 0.3em; }
p, li { margin: 0.5em 0; }
a { color: var(--terracotta-fonce); }
small, .discret { color: var(--cacao-doux); font-size: 0.9rem; }

.carte {
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 14px 0;
}
.carte-info { background: var(--info-fond); }
.carte h2:first-child, .carte h3:first-child { margin-top: 0; }

.btn {
  display: inline-block;
  min-height: 52px; line-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--terracotta);
  color: #fff; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer;
  margin: 8px 8px 8px 0;
}
.btn:active { background: var(--terracotta-fonce); }
.btn-secondaire { background: var(--surface); color: var(--cacao); border: 1.5px solid var(--ligne); }

ul.propre { padding-left: 1.1em; }
ul.propre li { margin: 0.45em 0; }

.pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.pastille {
  background: var(--surface); border: 1px solid var(--ligne);
  border-radius: 20px; padding: 6px 14px; font-size: 0.95rem;
}
.pastille-mimosa { background: var(--mimosa); border-color: var(--mimosa); }
.pastille-sauge { background: var(--sauge); border-color: var(--sauge); }

table.tableau { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.97rem; }
table.tableau th, table.tableau td {
  text-align: left; vertical-align: top;
  padding: 9px 10px; border-bottom: 1px solid var(--ligne);
}
table.tableau th { background: var(--info-fond); }

footer.pied {
  border-top: 1px solid var(--ligne);
  margin-top: 34px; padding-top: 16px;
  color: var(--cacao-doux); font-size: 0.9rem;
}
footer.pied a { margin-right: 14px; }

.a-completer {
  background: var(--mimosa);
  border-radius: 6px; padding: 1px 6px; font-weight: 700;
}

@media (min-width: 700px) {
  h1 { font-size: 2rem; }
}
