:root {
  --abyss1: #1b4965;
  --abyss2: #142a4a;
  --abyss-deep: #0d1b30;
  --coral: #ff8c42;
  --gold: #ffd447;
  --lagoon: #3ddc97;
  --ink: #e8eef6;
  --muted: #9fb6ce;
}

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

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--abyss1) 0%, var(--abyss2) 55%, var(--abyss-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
}

h1, h2, h3, .tagline, .badge, .foot-logo {
  font-family: 'Fredoka', sans-serif;
}

/* Bulles d'ambiance qui montent */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bubbles span {
  position: absolute;
  bottom: -40px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  animation: rise linear infinite;
}
.bubbles span:nth-child(1) { left: 12%; width: 14px; height: 14px; animation-duration: 14s; }
.bubbles span:nth-child(2) { left: 28%; width: 26px; height: 26px; animation-duration: 19s; animation-delay: 3s; }
.bubbles span:nth-child(3) { left: 48%; width: 10px; height: 10px; animation-duration: 11s; animation-delay: 1s; }
.bubbles span:nth-child(4) { left: 66%; width: 22px; height: 22px; animation-duration: 17s; animation-delay: 5s; }
.bubbles span:nth-child(5) { left: 80%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: 2s; }
.bubbles span:nth-child(6) { left: 92%; width: 28px; height: 28px; animation-duration: 21s; animation-delay: 6s; }
@keyframes rise {
  to { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

main, .hero, footer { position: relative; z-index: 1; }

/* Hero */
.hero { padding: 64px 24px 40px; }
.hero-fish {
  width: clamp(160px, 38vw, 240px); height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.logo {
  font-size: clamp(64px, 16vw, 110px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 0.9;
  margin-top: 8px;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
}
.tagline {
  font-size: clamp(15px, 3vw, 20px);
  letter-spacing: 6px;
  color: var(--ink);
  opacity: 0.85;
  margin-top: 4px;
}
.pitch {
  font-size: clamp(17px, 3.4vw, 22px);
  line-height: 1.5;
  color: var(--muted);
  margin: 26px auto 0;
  max-width: 30ch;
}

.badges {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px;
}
.badge {
  background: rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 212, 71, 0.5);
  color: var(--gold);
  padding: 13px 22px;
  border-radius: 30px;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.5px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 40px auto;
  padding: 0 24px;
}
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px 22px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(61, 220, 151, 0.4); }
.card .ico { font-size: 34px; margin-bottom: 12px; }
.card h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* CTA */
.cta { padding: 50px 24px 60px; }
.cta h2 {
  font-size: clamp(26px, 6vw, 40px);
  color: var(--lagoon);
}
.cta p { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 24px 48px;
}
.foot-logo { font-size: 26px; font-weight: 700; color: var(--gold); }
footer nav { margin: 14px 0; display: flex; gap: 24px; justify-content: center; }
footer nav a {
  color: var(--ink); opacity: 0.8; text-decoration: none; font-size: 15px;
}
footer nav a:hover { opacity: 1; color: var(--lagoon); }
.copyright { color: var(--muted); font-size: 13px; opacity: 0.7; }

/* Bouton de bascule de langue (coin haut droit) */
.lang-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 212, 71, 0.5);
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--gold); }
