
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&display=swap');

:root{
  --blue-900:#0a4b78;
  --blue-700:#0A4D91;
  --green:#b6f135;
  --white:#ffffff;

  /* Fluid type scales */
  --fs-xs: clamp(12px, 1.8vw, 14px);
  --fs-sm: clamp(14px, 2.2vw, 16px);
  --fs-base: clamp(16px, 2.5vw, 18px);
  --fs-lg: clamp(18px, 3.2vw, 22px);
  --fs-xl: clamp(22px, 4.5vw, 32px);
  --fs-2xl: clamp(26px, 6vw, 42px);
  --fs-3xl: clamp(32px, 7.5vw, 48px);
}

/* Reset simple */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"League Spartan", sans-serif;
  color:var(--white);
  background: var(--blue-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* SECTION CONTENANT LE BACKGROUND */
.hero-wrap {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 80px;
  background: url("/assets/images/background.jpg") center/cover no-repeat fixed;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #0A4D91;
  opacity: 0.9; /* overlay visible au-dessus de l'image */
  pointer-events: none;
  z-index: 1;
}

.hero-wrap > * {
  position: relative;
  z-index: 2; /* contenu au-dessus de l'overlay */
}

/* Container */
.container{
  width:100%;
  max-width:980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Brand / logo */
.brand{
  text-align:center;
  margin: 0;
}

.logo {
  width: clamp(160px, 35vw, 420px);
  height: auto;
}

/* Header */
header .tagline{
  text-align:center;
  margin:12px 0 18px;
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.2;
}

header .title{
  text-align:center;
  color:var(--green);
  font-size: var(--fs-3xl);
  font-weight:600;
  margin: 16px auto 28px;
  max-width: 900px;
  line-height: 1.15;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  line-height: 1.5;
}
@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
}

.card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  padding:18px 18px 10px;
}
.card h3{
  margin:0 0 10px;
  color:var(--green);
  font-size: var(--fs-lg);
}
.card ul{margin:0 0 8px; padding-left:20px}
.card li{ margin:6px 0; font-size: var(--fs-base);}

/* Bloc lancement */
.launch {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  position: relative;
  overflow: hidden;
  line-height: 1.5;
}

.launch::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(180px, 35vw, 420px);
  background: url('/assets/images/rocket.png') no-repeat right center;
  background-size: contain;
  opacity: 0.18; /* plus visible mais discrète */
  pointer-events: none;
}

.launch h2{
  margin:0 0 8px;
  font-size: var(--fs-2xl);
  font-weight: 600;
  padding-top: 8px;
}
.launch p{
  margin:0 0 10px;
  color: #b6f135;
  font-size: var(--fs-base);
}
.launch ul{
  margin:0 0 14px;
  padding-left:20px;
  color: #b6f135;
  font-size: var(--fs-base);
}

.green{color:var(--green); font-weight:800}

.logo-text-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.logo-launch {
  width: clamp(120px, 20vw, 200px);
  display: inline-block;
  vertical-align: middle;
}

/* Formulaire */
.subscribe{
  display:grid;
  gap:12px;
  align-items:center;
  grid-template-columns: 1fr auto;
}
@media (max-width:560px){
  .subscribe{ grid-template-columns: 1fr; }
}
.subscribe .hint{
  font-weight:700;
  color: #ffffff;
  font-size: var(--fs-base);
}
.subscribe .hint .small-logo {
  width: 2.4em;
  height: auto;
  display: inline;
  vertical-align: middle;
}

form{
  display:flex; gap:10px; width:100%;
  flex-wrap:wrap;
}
input[type="email"]{
  flex:1 1 240px;
  min-width: 200px;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.15);
  color:var(--white);
  outline:none;
  font-size: var(--fs-base);
}
input::placeholder{color:rgba(255,255,255,.85)}
button{
  padding:12px 18px;
  border-radius:10px;
  border:none;
  font-weight:700;
  color:#fff;
  background: var(--blue-700);
  cursor:pointer;
  transition: transform .06s ease, opacity .2s ease;
  font-size: var(--fs-base);
}
button:hover{ transform: translateY(-1px); opacity:.95 }

/* Footer */
footer{
  margin: clamp(40px, 8vw, 100px) 0;
  text-align:center;
}

footer .small-logo {
  height: 1.4em;
  vertical-align: middle;
  display: inline;
}

footer p {
  color:#b6f135;
  font-weight: 700;
  font-size: var(--fs-lg);
}

/* Mobile / iOS fix: parallax */
@media (max-width: 768px){
  .hero-wrap{ background-attachment: scroll; }
}

/* Accessibility: reduce motion users */
@media (prefers-reduced-motion: reduce){
  .hero-wrap{ background-attachment: scroll; }
  button{ transition: none; }
}
