/* ÉlodIA Compagnon — styles premium, mobile d'abord, aucun CDN, polices système seulement */
* { box-sizing: border-box; }

:root {
  --nuit: #060f22;
  --nuit-2: #0a1a33;
  --nuit-3: #10294f;
  --nuit-4: #16355f;
  --or: #d9a441;
  --or-clair: #f0c96a;
  --or-champagne: #e8c97a;
  --or-fonce: #b9822e;
  --texte: #f6f2e9;
  --texte-doux: #b7c3d6;
  --rouge: #e5484d;
  --carte: #0d1f3d;
  --bordure: rgba(217, 164, 65, 0.32);
  --serif: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 480px at 50% -8%, rgba(217, 164, 65, 0.13), transparent 62%),
    radial-gradient(900px 620px at 88% 108%, rgba(22, 53, 95, 0.5), transparent 62%),
    linear-gradient(180deg, #081426 0%, #060f22 55%, #040b19 100%);
  background-attachment: fixed;
  color: var(--texte);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--or-clair); }

/* En-tête */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 20px 16px;
  max-width: 560px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(217, 164, 65, 0.18);
}

.brand { line-height: 1; }

.signature {
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 42px;
  color: var(--texte);
  text-shadow: 0 2px 18px rgba(217, 164, 65, 0.25);
}

.signature .ia { color: var(--rouge); }

.sub-signature {
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
  font-size: 17px;
  color: #9db8dc;
  opacity: 0.9;
  margin-top: 3px;
  letter-spacing: 1.5px;
}

.domain {
  color: var(--or);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 14px;
  text-align: right;
  white-space: nowrap;
}

/* Contenu */
main {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 20px 36px;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.22;
  letter-spacing: 0.005em;
  margin: 26px 0 12px;
  text-align: center;
  text-wrap: balance;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  margin: 6px 0 10px;
  letter-spacing: 0.01em;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  margin: 4px 0 6px;
}

.intro {
  color: var(--texte-doux);
  margin: 0 0 4px;
  text-align: center;
  font-size: 16.5px;
}

/* Image héros plein cadre */
.hero-img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--bordure);
  margin: 18px 0 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* L'image d'accueil sort du conteneur, bord à bord, avec voile */
#hero-start {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: none;
  border-radius: 0;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}

#hero-start img {
  height: clamp(230px, 62vw, 440px);
  object-fit: cover;
  object-position: center 35%;
}

#hero-start::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 15, 34, 0.22) 0%,
    transparent 32%,
    transparent 58%,
    rgba(6, 15, 34, 0.82) 100%);
  pointer-events: none;
}

.hero-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1;
  background: rgba(8, 20, 38, 0.78);
  color: var(--or-champagne);
  border: 1px solid rgba(232, 201, 122, 0.55);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  animation: hintPulse 3.2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(232, 201, 122, 0.35); }
  50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 7px rgba(232, 201, 122, 0); }
}

#hero-start { cursor: pointer; }

.counter {
  text-align: center;
  margin: 16px 0 2px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.counter span {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--or);
  text-shadow: 0 0 22px rgba(217, 164, 65, 0.4);
  margin-right: 2px;
}

.age-note {
  text-align: center;
  color: var(--texte-doux);
  font-size: 14px;
  margin: 2px 0 0;
}

/* Étapes */
.step {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #12294f 0%, #0d1f3d 100%);
  border: 1px solid var(--bordure);
  border-radius: 20px;
  padding: 24px 20px;
  margin-top: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or) 50%, transparent);
}

.step[hidden] { display: none; }

.step:not([hidden]) { animation: stepIn 0.45s ease both; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.step > p { color: var(--texte-doux); margin-top: 0; }

label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  padding: 14px 15px;
  font-size: 17px;
  border-radius: 13px;
  border: 1px solid var(--bordure);
  background: rgba(6, 15, 34, 0.72);
  color: var(--texte);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input::placeholder { color: #6f7f97; }

input:focus {
  outline: none;
  border-color: var(--or);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(217, 164, 65, 0.22);
}

.check18 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  margin-top: 18px;
  cursor: pointer;
}

.check18 input {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--or);
}

.error {
  color: #ffb3b6;
  font-size: 15px;
  margin: 10px 0 0;
}

/* Boutons */
.btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 15px 20px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: #1a1206;
  background: linear-gradient(135deg, var(--or-clair) 0%, var(--or) 55%, var(--or-fonce) 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(217, 164, 65, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(217, 164, 65, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(6, 15, 34, 0.55);
  color: var(--or-champagne);
  border: 1px solid var(--bordure);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(22, 53, 95, 0.7);
  border-color: var(--or);
  filter: none;
}

/* Zones de genre sur l'image (deux moitiés) */
.genre-img { margin-bottom: 14px; }

.zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.zone span {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  background: rgba(8, 20, 38, 0.82);
  color: var(--texte);
  border: 1px solid rgba(232, 201, 122, 0.55);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transition: background 0.18s ease, color 0.18s ease;
}

.zone:hover span,
.zone:focus-visible span {
  background: var(--or);
  color: #1a1206;
}

.zone-femme { left: 0; }
.zone-homme { left: 50%; }

.genre-extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.genre-extra .btn { margin-top: 0; }

/* Questions */
.chip {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 10px;
  padding: 14px 15px;
  font-size: 16px;
  color: var(--texte);
  background: rgba(6, 15, 34, 0.6);
  border: 1px solid var(--bordure);
  border-radius: 13px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.chip:hover {
  border-color: var(--or);
  background: var(--nuit-4);
  transform: translateY(-1px);
}

.chip-passer {
  background: transparent;
  color: var(--texte-doux);
}

.question-text {
  width: 100%;
  padding: 14px 15px;
  font-size: 17px;
  border-radius: 13px;
  border: 1px solid var(--bordure);
  background: rgba(6, 15, 34, 0.72);
  color: var(--texte);
  margin-top: 10px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress {
  color: var(--texte-doux);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 16px 0 0;
}

/* Conversation test */
.tag-test {
  font-size: 12px;
  vertical-align: middle;
  background: var(--nuit-4);
  color: var(--or-clair);
  border: 1px solid var(--bordure);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.test-note {
  color: var(--texte-doux);
  font-size: 14px;
}

.chat {
  background: rgba(6, 15, 34, 0.72);
  border: 1px solid var(--bordure);
  border-radius: 16px;
  padding: 14px;
  min-height: 220px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.msg.them {
  align-self: flex-start;
  background: var(--nuit-4);
  border-bottom-left-radius: 5px;
}

.msg.me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--or-clair), var(--or));
  color: #1a1206;
  border-bottom-right-radius: 5px;
}

#chat-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

#chat-form input { flex: 1; }

.btn-send {
  width: auto;
  margin-top: 0;
  padding: 14px 18px;
}

.chat-done { font-size: 15px; color: var(--texte-doux); }

/* Prix */
.pricing {
  margin-top: 30px;
  padding: 22px 20px;
  border: 1px solid var(--bordure);
  border-radius: 20px;
  font-size: 15.5px;
  background: linear-gradient(180deg, rgba(18, 41, 79, 0.55), rgba(13, 31, 61, 0.55));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.pricing h2 { font-size: 19px; text-align: center; }

.pricing > p { color: var(--texte-doux); text-align: center; }

.pricing .not-live {
  font-weight: 400;
  color: var(--texte-doux);
  font-size: 14px;
}

.pricing ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.pricing li {
  position: relative;
  margin: 0;
  padding: 12px 12px 12px 26px;
  border-top: 1px solid rgba(217, 164, 65, 0.16);
}

.pricing li:first-child { border-top: none; }

.pricing li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.05em;
  width: 7px;
  height: 7px;
  background: var(--or);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(217, 164, 65, 0.6);
}

.pricing li:last-child {
  background: rgba(217, 164, 65, 0.1);
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-radius: 12px;
  margin-top: 10px;
  padding: 13px 13px 13px 27px;
}

.pricing li:last-child::before { left: 6px; }

/* Pied de page */
.site-footer {
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 20px 44px;
  text-align: center;
  border-top: 1px solid rgba(217, 164, 65, 0.18);
}

.btn-tiktok {
  background: #0d0d0d;
  color: #fff;
  border: 1px solid var(--bordure);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn-tiktok:hover { background: #1c1c1c; filter: none; }

.site-footer p { margin: 16px 0 0; }

.site-footer .domain { text-align: center; padding-top: 0; }

.fineprint {
  color: var(--texte-doux);
  font-size: 13px;
}

.noscript-note {
  max-width: 560px;
  margin: 0 auto 30px;
  padding: 0 20px;
  color: #ffb3b6;
}

@media (min-width: 640px) {
  h1 { font-size: 36px; }
  .signature { font-size: 48px; }
  .genre-extra { flex-direction: row; }
  .genre-extra .btn { flex: 1; }
}

/* Débuts de phrase en gras doré (comme sur la page d'origine) */
.lead {
  color: var(--or-champagne);
  font-weight: 700;
}

/* Ce qui s'en vient */
.avenir { margin-top: 30px; }

.avenir h2 { text-align: center; }

.avenir-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #12294f 0%, #0d1f3d 100%);
  border: 1px solid var(--bordure);
  border-radius: 20px;
  padding: 20px;
  margin-top: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.avenir-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or) 50%, transparent);
}

.avenir-card h3 { color: var(--or-champagne); }

.avenir-card p {
  color: var(--texte-doux);
  margin: 0;
}

/* La sécurité d'abord */
.securite {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: 22px 20px;
  border: 1px solid var(--bordure);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 41, 79, 0.55), rgba(13, 31, 61, 0.55));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.securite::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or) 50%, transparent);
}

.securite h2 { text-align: center; }

.securite-ouverture {
  font-size: 18px;
  line-height: 1.55;
  margin: 6px 0 0;
}

.securite ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.securite li {
  position: relative;
  margin: 0;
  padding: 12px 12px 12px 26px;
  border-top: 1px solid rgba(217, 164, 65, 0.16);
  color: var(--texte-doux);
}

.securite li:first-child { border-top: none; }

.securite li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.05em;
  width: 7px;
  height: 7px;
  background: var(--or);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(217, 164, 65, 0.6);
}

.securite-note {
  color: var(--texte-doux);
  font-size: 15px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 164, 65, 0.16);
}

/* Pied de page — nouvelles lignes */
.bientot {
  font-family: var(--serif);
  color: var(--or);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.projet-quebec,
.journal-soir {
  color: var(--texte-doux);
  font-size: 14.5px;
}
