/* Rampkins — site vitrine. Mêmes couleurs et polices que le jeu. */
@font-face { font-family: "Lilita One"; src: url("../fonts/LilitaOne.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #3b2f25;
  --ink-soft: #6b5a48;
  --cream: #fff8ec;
  --paper: #fffdf7;
  --grass: #6fb84a;
  --grass-dark: #3e7a26;
  --gold: #ffd23f;
  --gold-dark: #c8941a;
  --sky: #9fe2ff;
  --red: #e2574c;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--grass-dark); font-weight: 700; }
a:hover { color: var(--ink); }
h1, h2, h3, .logo { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; letter-spacing: 0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 0.6em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 0.4em; }
.wrap { width: min(1080px, 92vw); margin: 0 auto; }

/* barre du haut */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(59, 47, 37, 0.94);
  backdrop-filter: blur(6px);
}
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font-size: 1.7rem;
  text-shadow: 0 2px 0 #1e1410; }
.logo img { width: 42px; height: 42px; border-radius: 11px; }
.top nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: #fff1d0; text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.top nav a:hover { color: var(--gold); }
.lang { border: 2px solid #8c7350; border-radius: 999px; padding: 2px 12px; }

/* bandeau d'accueil */
.hero {
  position: relative; overflow: hidden;
  background: url("../img/fond.svg") center / cover no-repeat, var(--grass);
  color: #fff;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 20, 16, 0.15), rgba(30, 20, 16, 0.55)); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 70px 0 80px; }
.hero h1 { color: #fff; text-shadow: 0 4px 0 #1e1410, 0 0 30px rgba(0, 0, 0, 0.3); }
.hero p.lead { font-size: 1.25rem; font-weight: 700; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); max-width: 34ch; }
.tagline { display: inline-block; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
  background: var(--gold); color: var(--ink); padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Lilita One", sans-serif; font-size: 1.2rem; text-decoration: none;
  padding: 14px 26px; border-radius: 18px; color: var(--ink);
  background: linear-gradient(#ffe27a, #e8a317); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
}
.btn.soon { background: linear-gradient(#fffdf7, #e8dcc0); cursor: default; }
.btn small { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 0.75rem; display: block; line-height: 1.1; opacity: 0.75; }
.hero-art { position: relative; height: 420px; }
.hero-art img { position: absolute; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); }
.hero-art .a { width: 54%; left: 2%; top: 14%; transform: rotate(-8deg); }
.hero-art .b { width: 54%; right: 2%; top: 4%; transform: rotate(7deg); }
.hero-art .c { width: 36%; left: 32%; bottom: 0; }

/* sections */
section { padding: 70px 0; }
section.alt { background: var(--paper); border-top: 3px solid #eadfc8; border-bottom: 3px solid #eadfc8; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 0 6px 0 rgba(59, 47, 37, 0.85); padding: 22px;
}
.card h3 { margin-top: 0; }
.card img.ic { width: 74px; height: 74px; margin-bottom: 10px; }
.heroes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.heroes img { width: 92px; height: 92px; }
.cards-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cards-row img { width: 96px; }

/* emplacements pour les captures (remplacées à la fin du projet) */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.phone {
  aspect-ratio: 9 / 19.5; border-radius: 34px; border: 6px solid var(--ink);
  background: repeating-linear-gradient(45deg, #f4ead6, #f4ead6 14px, #efe2c8 14px, #efe2c8 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-soft); font-weight: 800; padding: 16px; box-shadow: 0 8px 0 rgba(59, 47, 37, 0.8);
}

/* pages de texte (confidentialité, conditions…) */
.doc { padding: 50px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc .card { padding: 34px 38px; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 0.3em 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.doc th, .doc td { border: 2px solid #eadfc8; padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #fbf3e2; }
.muted { color: var(--ink-soft); font-size: 0.92rem; }
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px; margin: 12px 0; }
.faq summary { font-weight: 800; cursor: pointer; }

/* pied de page */
footer { background: var(--ink); color: #e8dcc0; padding: 34px 0; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer a { color: #fff1d0; font-weight: 700; text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .copy { margin-left: auto; opacity: 0.8; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 50px 0 60px; }
  .hero-art { height: 300px; }
  .grid3 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .top nav { gap: 12px; }
  .top nav a:not(.lang) { display: none; }
  .doc .card { padding: 24px 20px; }
}
