/* Pages du tunnel d'abonnement HoratIA (offre, bienvenue) — mêmes codes que la landing */
:root {
  --pink: #D9059E; --pink-dark: #BF048A; --pink-soft: #FDEBF6; --pink-mist: #FFF6FB;
  --ink: #111111; --text: #4F4F4F; --muted: #828282; --line: #ECE4EA; --bg: #FFFFFF; --bg-alt: #FAF7F9;
  --green: #27AE60; --red: #EB5757;
  --grad: linear-gradient(55deg, #D9059E 0%, #E8478F 55%, #F28C6B 100%);
  --shadow: 0 5px 15px rgba(108, 3, 79, .15);
  --shadow-lg: 0 18px 50px rgba(108, 3, 79, .18);
  --r: 30px;
  --font: "Din", "Segoe UI", Roboto, Arial, sans-serif;
  --font-alt: "CenturyGothic", "Din", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--pink); }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
h1 em, h2 em { font-style: normal; color: var(--pink); }
p { margin: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.section { padding-block: clamp(48px, 7vw, 90px); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 760px; margin: 0 auto 40px; display: grid; gap: 12px; text-align: center; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 10px; border: 2px solid var(--pink); background: var(--pink); color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--pink); }
.btn--ghost:hover { background: var(--pink-soft); color: var(--pink-dark); }
.btn[aria-disabled="true"] { background: #CDCFD1; border-color: #CDCFD1; color: #fff; cursor: default; transform: none; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(217, 5, 158, .35); outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-alt); font-size: 24px; letter-spacing: .05em; color: #3C3636; text-decoration: none; white-space: nowrap; }
.logo img { width: 30px; height: 30px; }
.logo b { font-weight: 400; color: var(--pink); }
.top__by { font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .logo { font-size: 19px; } .top__by { display: none; } }

.hero { padding-block: clamp(44px, 6vw, 80px) 10px; text-align: center; background: radial-gradient(1000px 420px at 50% 0%, #FDE3F2 0%, rgba(253, 227, 242, 0) 70%); }
.hero .wrap { display: grid; gap: 16px; justify-items: center; }
.hero .lead { max-width: 720px; }
.hello { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--pink-soft); color: #8a0563; font-size: 15px; font-weight: 700; }

/* Formules */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border: 2px solid transparent; }
.plan--best { border-color: var(--pink); box-shadow: var(--shadow-lg); }
.plan__ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: var(--font-alt); font-size: 24px; letter-spacing: .04em; color: #3C3636; }
.plan__name b { font-weight: 400; color: var(--pink); }
.plan__tag { font-size: 15px; color: var(--muted); margin-top: 2px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.plan__price strong { font-size: 54px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: 16px; color: var(--text); }
.plan__ttc { font-size: 14px; color: var(--muted); margin-top: -10px; }
.plan__save { font-size: 14px; font-weight: 700; color: var(--green); margin-top: -8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; line-height: 1.4; }
.plan li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9059E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { width: 100%; }
.plan__soon { font-size: 13px; color: var(--muted); text-align: center; margin-top: -8px; }

.included { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .included { grid-template-columns: minmax(0, 1fr); } }
.inc { padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.inc b { color: var(--ink); font-size: 17px; }
.inc span { font-size: 15px; }
.inc i { font-style: normal; font-size: 26px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { padding: 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; counter-increment: s; }
.step::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step b { color: var(--ink); }
.step span { font-size: 15px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; font-size: 16px; }

.secure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.secure span::before { content: "🔒 "; }

/* Formulaires */
.card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #D9CFD6; border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.form textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--pink); border-radius: 10px; font-weight: 400; cursor: pointer; }
.chips input { width: auto; min-height: 0; accent-color: var(--pink); }
.msg { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
.msg--ok { background: #E8F8EF; color: #145a32; }
.msg--ko { background: #FDECEC; color: #8a1f1f; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #1b1b1f; box-shadow: var(--shadow-lg); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--empty { display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; background: var(--grad); }
.video--empty b { display: block; font-size: 22px; margin-bottom: 6px; }

footer { padding-block: 36px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }


/* Le Duo associe le rose SkinAnalysIA et le violet HairAnalysIA */
.plan[data-offre="hair"] { --pink: #6A2BC2; --pink-dark: #5A22A8; --pink-soft: #F1EAFB; }
.plan[data-offre="duo"] .plan__name b { background: linear-gradient(90deg, #D9059E, #6A2BC2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan[data-offre="duo"] .btn:not(.btn--ghost) { background: linear-gradient(100deg, #D9059E, #6A2BC2); border-color: transparent; }
.plan--best[data-offre="duo"] { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #D9059E, #6A2BC2) border-box; }
.logo { font-size: 24px; letter-spacing: .01em; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
@media (max-width: 760px) { .plans--2 { grid-template-columns: 1fr; } }
.pay-msg { font-size: 14px; color: #B33030; text-align: center; margin-top: 8px; }
