/* Nanas Studio : le bleu nuit et le jaune d'alexgrais.com. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #04232B;
  --surface: #0A3440;
  --line: #1D4A55;
  --ink: #E6F1F1;
  --muted: #8DB2B6;
  --yellow: #FFC61A;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
a:hover { color: var(--yellow); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

/* Accueil : une seule page, l'ananas au centre. */
.home { min-height: 100%; display: flex; flex-direction: column; }

.stage {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 48px 0 32px;
}

.pineapple {
  width: clamp(200px, 34vh, 340px);
  height: auto;
  transform-origin: 50% 92%;
  animation: sway 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(255, 198, 26, .18));
}
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .pineapple { animation: none; } }

.stage h1 {
  margin: 32px 0 0;
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 96;
}
.stage h1 span { color: var(--yellow); }

.tagline {
  margin: 20px 0 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  max-width: 28ch;
}
.tagline em { font-style: normal; color: var(--yellow); }

.intro { margin: 16px 0 0; color: var(--muted); max-width: 46ch; }

.contact {
  display: inline-block; margin-top: 32px;
  background: var(--yellow); color: var(--bg);
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.contact:hover { color: var(--bg); background: #FFD95C; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  font-size: 15px; color: var(--muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
footer.site nav { display: flex; gap: 20px; }
footer.site a { text-decoration: none; }

/* Pages légales */
header.site { padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: auto; }

.legal { max-width: 720px; padding: 24px 0 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.02em; }
.legal h2 { font-size: 22px; margin: 40px 0 8px; color: var(--yellow); }
.legal p { color: var(--ink); }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

@media (max-width: 640px) {
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 8px; }
}
