:root {
  --bg: #ececec;
  --blue: #163b73;
  --orange: #e56d2d;
  --text: #163b73;
  --shadow: rgba(22, 59, 115, 0.18);
  --glow: rgba(229, 109, 45, 0.16);
}

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

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.content {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-box {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.logo-glow {
  position: absolute;
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

.logo {
  position: relative;
  z-index: 1;
  width: clamp(220px, 42vw, 520px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 25px var(--shadow));
  transition: transform 0.18s ease, filter 0.18s ease;
  transform-style: preserve-3d;
  animation: floatLogo 4s ease-in-out infinite;
}

.tagline {
  margin-top: 24px;
  font-size: clamp(1.3rem, 2.8vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: 0.4px;
  opacity: 0;
  transform: translateY(20px);
  animation: revealText 1.2s ease forwards;
  animation-delay: 0.4s;
}

.tagline::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue), var(--orange));
  animation: lineGrow 1.3s ease forwards;
  animation-delay: 1s;
}

.accent {
  color: var(--orange);
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  to {
    width: min(75%, 320px);
  }
}

/* Tablettes */
@media (max-width: 768px) {
  .hero {
    padding: 20px;
  }

  .tagline {
    margin-top: 20px;
  }
}

/* Mobiles */
@media (max-width: 480px) {
  .hero {
    padding: 16px;
  }

  .logo {
    width: clamp(180px, 60vw, 300px);
  }

  .logo-glow {
    width: min(60vw, 240px);
    height: min(60vw, 240px);
    filter: blur(14px);
  }

  .tagline {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
    margin-top: 18px;
  }
}

/* Grands écrans */
@media (min-width: 1400px) {
  .content {
    max-width: 1300px;
  }

  .logo {
    width: 560px;
  }

  .tagline {
    font-size: 2.7rem;
  }
}