:root {
  --sage-50:  #f4f8f4;
  --sage-100: #e6f0e6;
  --sage-200: #c8dfc8;
  --sage-300: #a0c8a0;
  --sage-500: #4d8b4d;
  --sage-600: #3a6e3a;
  --sage-700: #2a522a;
  --stone-200: #e5d9c8;
  --stone-400: #b8a585;
  --stone-500: #9a7e5c;
  --lavender:  #b8a8c8;
  --cream:     #fdfbf7;
  --ink:       #2c3328;
  --charcoal:  #4a4035;
  --pebble:    #8a8070;
  --ok-bg:     #d4ead4;
  --ok-fg:     #2a522a;
  --err-bg:    #fde8e4;
  --err-fg:    #8a2a1a;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ---- Background aura ---- */
.bg-aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-aura svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 1400px;
  opacity: 0.5;
}
.ring {
  fill: none;
  stroke-width: 1;
  animation: breathe 9s ease-in-out infinite;
  transform-origin: center;
}
.ring1 { stroke: var(--sage-300); animation-delay: 0s; }
.ring2 { stroke: var(--sage-200); animation-delay: 1.5s; }
.ring3 { stroke: var(--stone-400); animation-delay: 3s; }
.ring4 { stroke: var(--lavender);  animation-delay: 4.5s; opacity: 0.4; }

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: 0.35; }
  50%       { transform: scale(1.04); opacity: 0.65; }
}

/* ---- Layout ---- */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 100vh;
}

.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.right { width: 100%; }

/* ---- Logo ---- */
.logo-tile {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7ca86a, #4d8b4d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(58, 110, 58, 0.25);
}

.wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 6px;
}
.wordmark .lean { color: var(--sage-500); }

.tagline-small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 32px;
}

/* ---- Headline ---- */
h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 460px;
}
h1 .accent { color: var(--sage-600); }

.story {
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--charcoal);
  max-width: 440px;
  margin-bottom: 10px;
}
.story strong { color: var(--sage-700); font-weight: 700; }

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-100);
  color: var(--sage-700);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-top: 22px;
  letter-spacing: 0.02em;
}
.badge-soon .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* ---- Card ---- */
.card {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(44, 51, 40, 0.06);
  padding: 32px;
  width: 100%;
  text-align: left;
}
.card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.card .sub {
  font-size: 13px;
  color: var(--pebble);
  font-weight: 600;
  margin-bottom: 22px;
}

/* ---- Honeypot (invisible) ---- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---- Form fields ---- */
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  margin-top: 14px;
}
.row2 label { margin-top: 0; }

.required-star { color: var(--err-fg); margin-left: 2px; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1.5px solid var(--stone-200);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}
input::placeholder,
textarea::placeholder {
  color: var(--pebble);
  font-weight: 500;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--sage-300);
  box-shadow: 0 0 0 3px rgba(114, 170, 114, 0.15);
}
textarea {
  resize: vertical;
  min-height: 70px;
  font-family: 'Nunito', sans-serif;
}

/* ---- Pilot toggle ---- */
.pilot-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--sage-50);
  border: 1.5px solid var(--sage-200);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 22px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 150ms;
  /* reset label defaults */
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}
.pilot-toggle:hover { background: #eef5ee; }

.pilot-toggle input[type="checkbox"] {
  width: 19px;
  height: 19px;
  min-width: 19px;
  margin-top: 1px;
  accent-color: var(--sage-500);
  cursor: pointer;
}
.pilot-toggle .txt strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--sage-700);
  margin-bottom: 2px;
}
.pilot-toggle .txt span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
}

/* ---- Pilot fields (collapsible) ---- */
.pilot-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, opacity 300ms ease;
  opacity: 0;
}
.pilot-fields.open {
  max-height: 640px;
  opacity: 1;
}
.pilot-fields-inner {
  border-left: 2px solid var(--sage-200);
  margin-left: 9px;
  padding-left: 18px;
  padding-top: 4px;
  margin-top: 4px;
}
.pilot-fields-inner label:first-child { margin-top: 8px; }

/* ---- RGPD ---- */
.rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}
.rgpd input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 2px;
  accent-color: var(--sage-500);
  cursor: pointer;
  flex-shrink: 0;
}
.rgpd label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--pebble);
  line-height: 1.5;
  cursor: pointer;
}
.rgpd-link {
  margin-left: 3px;
  color: var(--sage-600);
  font-size: 11px;
  text-underline-offset: 2px;
}
.rgpd-link:hover { color: var(--sage-700); }

/* ---- Inline error ---- */
.form-error {
  display: none;
  background: var(--err-bg);
  color: var(--err-fg);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  margin-top: 16px;
  border: 1px solid rgba(138, 42, 26, 0.15);
}

/* ---- Submit button ---- */
.btn-submit {
  width: 100%;
  background: var(--sage-500);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(77, 139, 77, 0.25);
  margin-top: 24px;
  transition: transform 150ms, background 150ms, opacity 150ms;
}
.btn-submit:hover:not(:disabled)  { background: var(--sage-600); transform: translateY(-1px); }
.btn-submit:active:not(:disabled) { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

/* ---- Confirmation ---- */
.confirm { display: none; text-align: center; padding: 12px 0 4px; }
.confirm.show { display: block; }
.confirm .check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: var(--ok-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.confirm h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--sage-700);
  margin-bottom: 6px;
}
.confirm p {
  font-size: 13.5px;
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.5;
}

/* ---- Footer ---- */
.footer-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--pebble);
  font-weight: 600;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px;
    min-height: unset;
  }
  .left {
    align-items: center;
    text-align: center;
  }
  h1, .story { max-width: 100%; }
}

@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; }
  h1 { font-size: 25px; }
  .card { padding: 24px 20px; }
}
