/* ===== Groupe TERRA — Coming Soon ===== */
:root {
  --green-dark: #0f6b2f;
  --green: #1a8a3c;
  --green-light: #76bf3f;
  --green-soft: #e9f6ec;
  --ink: #12281a;
  --muted: #5b6f61;
  --white: #ffffff;
  --ring: rgba(26, 138, 60, 0.18);
  --shadow: 0 30px 60px -20px rgba(15, 107, 47, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 80% -10%, #f2fbf3 0%, #eaf6ee 45%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
}

/* Decorative floating orbs */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.orb-1 { width: 340px; height: 340px; background: var(--green-light); top: -80px; left: -60px; animation: float 12s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: var(--green); bottom: -90px; right: -50px; animation: float 14s ease-in-out infinite reverse; }
.orb-3 { width: 200px; height: 200px; background: #34c759; top: 40%; right: 12%; opacity: 0.22; animation: float 16s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(20px); }
}

/* Stage / layout */
.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.card {
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Brand */
.brand { display: flex; justify-content: center; margin-bottom: 8px; }
.logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 20px;
  animation: pop 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
@keyframes pop { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 6px 0 18px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--ring);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26,138,60,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(26,138,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,138,60,0); }
}

.title {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.title span {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin: 16px auto 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.65;
}
.subtitle strong { color: var(--green-dark); font-weight: 600; }

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px 0;
  flex-wrap: wrap;
}
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 74px;
  padding: 16px 10px;
  background: linear-gradient(180deg, #ffffff 0%, var(--green-soft) 160%);
  border: 1px solid #e2efe4;
  border-radius: 16px;
  box-shadow: 0 10px 24px -16px rgba(15,107,47,0.5);
}
.unit .num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--green-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.unit .lbl {
  margin-top: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
}
.sep { font-size: 1.6rem; font-weight: 600; color: var(--green-light); }

/* Notify form */
.notify { margin-top: 6px; }
.notify-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.notify-row {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.notify-row input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #dcebe0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notify-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--ring);
}
.btn {
  padding: 14px 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 12px 24px -12px rgba(15,107,47,0.7);
}
.btn:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.form-msg {
  min-height: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}
.form-msg.ok { color: var(--green-dark); }
.form-msg.err { color: #c0392b; }

/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}
.social {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2efe4;
  color: var(--green-dark);
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 16px -12px rgba(15,107,47,0.6);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px -12px rgba(15,107,47,0.8);
}

/* Footer */
.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
}
.foot a { color: var(--green-dark); text-decoration: none; font-weight: 500; }
.foot a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 560px) {
  .card { padding: 40px 24px; border-radius: 22px; }
  .logo { width: 108px; height: 108px; }
  .unit { min-width: 62px; padding: 12px 8px; }
  .unit .num { font-size: 1.5rem; }
  .sep { display: none; }
  .notify-row { flex-direction: column; }
  .btn { width: 100%; }
}
