@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&display=swap');

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

:root {
  --navy:        #1a1464;
  --red:         #e8001c;
  --red-dark:    #b5001a;
  --white:       #ffffff;
  --white-soft:  rgba(255, 255, 255, 0.07);
  --white-muted: rgba(255, 255, 255, 0.4);
  --border:      rgba(255, 255, 255, 0.1);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  background-color: var(--navy);
  padding: 2rem;
  gap: 1rem;
}

/* ---- Carte (trial_login & trial_confirm partagent le même conteneur) ---- */
.card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.8rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.card::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* ---- Titre ---- */
h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ---- Description ---- */
p {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--white-muted);
  line-height: 1.6;
}

p strong {
  color: var(--white);
  font-weight: 600;
}

p a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 0, 28, 0.5);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

p a:hover {
  color: var(--red);
  border-color: var(--red);
}

/* ---- Formulaire ---- */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--white-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder {
  color: var(--white-muted);
}

input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 0, 28, 0.15);
}

button[type="submit"] {
  margin-top: 0.3rem;
  padding: 0.9rem 1.1rem;
  background: var(--red);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

button[type="submit"]:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* ---- Confirmation : bloc lien de séance ---- */
.seance-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.3rem;
  background: rgba(232, 0, 28, 0.1);
  border: 1px solid rgba(232, 0, 28, 0.25);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  transition: background 0.2s, border-color 0.2s;
}

.seance-link:hover {
  background: rgba(232, 0, 28, 0.18);
  border-color: rgba(232, 0, 28, 0.45);
}

@media (max-width: 480px) {
  .card { padding: 2rem 1.5rem; }
}

/* ---- Layout global ---- */
#placement {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
  width: 100%;
  max-width: 900px;
}

/* ---- Bloc de présentation ---- */
#pres {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

/* Titre (bloc présentation) */
#pres h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  position: relative;
  padding-bottom: 0.7rem;
}

#pres h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* Accroche */
.pres_intro {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  margin-top: 0.3rem;
}

.pres_intro strong {
  font-weight: 700;
}

/* Date */
.pres_date {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(232, 0, 28, 0.1);
  border: 1px solid rgba(232, 0, 28, 0.3);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  align-self: flex-start;
}

/* Corps */
.pres_body {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.7;
}

/* Liste */
.pres_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pres_list li {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white);
  padding-left: 1.1rem;
  position: relative;
}

.pres_list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

/* CTA final */
.pres_cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 0.3rem;
}

/* ---- Responsive : colonne sur mobile ---- */
@media (max-width: 720px) {
  #placement {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  #pres {
    max-width: 420px;
    width: 100%;
  }

  #pres h2 { font-size: 1.6rem; }
}