/* Contact : contact@charlottepeseux.com
   L’adresse est écrite telle quelle dans les textes légaux (site/textes/).
   Les liens mailto du site sont dans index.html et dans le pied de page
   recopié sur chaque page. */

:root {
  --cream: #fff4e5;
  --sand: #ffe3c2;
  --card: #fffdf9;
  --cocoa: #3b2415;
  --cocoa-soft: #6e4b38;
  --line: #f0d3b4;
  --mango: #f08a24;
  --mango-deep: #c86808;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--cocoa);
  font-family: Nunito, sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.45;
}

h1,
h2,
h3,
.play,
.mail {
  font-family: Fredoka, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

a {
  color: var(--mango-deep);
}

.wrap {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0.75rem;
}

.hero img {
  width: 10.5rem;
  height: auto;
}

.hero h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(3rem, 14vw, 4.5rem);
  line-height: 1;
}

.slogan {
  margin: 0.6rem 0 0;
  max-width: 22rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

.perks {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.perks li {
  background: var(--sand);
  border-radius: 1.25rem;
  padding: 0.9rem 1rem;
  text-align: center;
}

.actions {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.play,
.mail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  width: 100%;
  border-radius: 1.4rem;
  text-decoration: none;
  font-size: 1.35rem;
}

.play {
  background: var(--mango);
  color: var(--cocoa);
}

.mail {
  background: var(--card);
  color: var(--cocoa);
  border: 2px solid var(--line);
}

.soon {
  margin: 0;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
  text-align: center;
}

.tournament {
  margin-top: 2rem;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 1.6rem;
  padding: 1.15rem 1rem 1rem;
  text-align: center;
}

.tournament h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.tournament p {
  margin: 0.6rem 0 1rem;
}

.back {
  margin: 0 0 1rem;
}

.back a {
  font-family: Fredoka, sans-serif;
  font-weight: 600;
  text-decoration: none;
}

.article h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1.15;
}

.article .updated {
  margin: 0 0 1.2rem;
  color: var(--cocoa-soft);
}

.article h2 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.3rem;
}

.article p,
.article li {
  margin: 0.45rem 0;
}

.article ul,
.article ol {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.2rem;
}

.article a {
  font-weight: 800;
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--line);
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.9rem;
}

.footer-nav a {
  color: var(--cocoa-soft);
  text-decoration: none;
  font-weight: 800;
}

.site-footer p {
  margin: 0.9rem 0 0;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
}
