/* ===========================================================
   La Tribu Digitale - LP Résultats (version B / A/B test)
   CSS commun aux 3 landing pages : CM, SEO, Webmarketing
   =========================================================== */

/* VARIABLES */
:root {
  --navy: #2B315B;
  --navyd: #1e2340;
  --gold: #F8B520;
  --golds: #FEF3C7;
  --warm: #FBF7F0;
  --cream: #F5F0E8;
  --white: #fff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e8e3da;
  --ok: #16a34a;
  --okbg: #dcfce7;
}

/* RAINBOW (existing site element) */
.rainbow {
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #f39c12, #2ecc71, #3498db, #9b59b6, #e74c3c);
}

/* BANDEAU URGENCE */
.urgency-strip {
  background: var(--gold);
  text-align: center;
  padding: .55rem 1rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
}

/* HERO */
.hero-result {
  background: var(--navy);
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}
.hero-result::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(248, 181, 32, .07) 0%, transparent 60%);
}
.hero-eyebrow {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-story {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-story-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: .5rem;
}
.hero-result h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4.5vw, 2.9rem);
  color: #fff;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-result h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-narrative {
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-narrative strong {
  color: #fff;
  font-weight: 600;
}
.hero-result-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.hero-btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: .9rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform .15s;
  box-shadow: 0 4px 16px rgba(248, 181, 32, .35);
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-btn-primary:hover { transform: translateY(-2px); }
.hero-btn-secondary {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: .6rem 1.5rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: border-color .15s;
}
.hero-btn-secondary:hover { border-color: rgba(255, 255, 255, .5); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-result > * { animation: fadeUp .5s ease forwards; opacity: 0; }
.hero-result > *:nth-child(1) { animation-delay: .1s; }
.hero-result > *:nth-child(2) { animation-delay: .2s; }

/* RÉSULTATS EN CHIFFRES */
.result-strip {
  background: var(--gold);
  padding: 1.5rem;
  font-family: 'DM Sans', sans-serif;
}
.result-strip-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.rs-item { text-align: center; }
.rs-val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.rs-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(43, 49, 91, .7);
  margin-top: 3px;
  line-height: 1.3;
}

/* LABELS */
.r-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--gold);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 1.1rem;
  font-family: 'DM Sans', sans-serif;
}
.r-label.green { background: var(--okbg); color: var(--ok); }
.r-label.light { background: var(--gold); color: var(--navy); }

/* MIROIR */
.r-mirror {
  background: var(--warm);
  padding: 3.5rem 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}
.r-mirror-inner { max-width: 640px; margin: 0 auto; }
.r-mirror h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.r-mlist { list-style: none; padding: 0; }
.r-mitem {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
}
.r-mitem:last-child { border: none; }
.r-mi-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.r-mcloser {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--navy);
  margin-top: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--golds);
  padding: .85rem 1rem;
  border-radius: 0 8px 8px 0;
  line-height: 1.55;
}

/* PROMESSE / CE QUE ÇA CHANGE */
.r-promise {
  padding: 3.5rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
}
.r-promise-inner { max-width: 700px; margin: 0 auto; }
.r-promise h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.r-promise-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.r-pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.r-pg {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  background: var(--white);
}
.r-pg-icon { font-size: 1.4rem; margin-bottom: .4rem; }
.r-pg-title { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.r-pg-sub { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* QUI EST NATHALIE */
.r-qui {
  background: var(--navy);
  padding: 4rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
}
.r-qui-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.r-qui-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
}
.r-qui-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: .3rem;
}
.r-qui-role {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .85rem;
}
.r-qui-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.75;
  margin-bottom: .65rem;
}
.r-qui-content strong { color: #fff; }
.r-qui-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: .85rem;
}
.r-qui-tag {
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
  padding: 3px 10px;
  border-radius: 10px;
}

/* FORMULAIRE */
.r-fsection {
  padding: 3.5rem 1.5rem;
  background: var(--warm);
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}
.r-fsection-inner { max-width: 520px; margin: 0 auto; }
.r-fsection h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin: .85rem 0 .45rem;
  line-height: 1.2;
}
.r-fsection-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.r-fcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(43, 49, 91, .07);
}
.r-ipill {
  display: none;
  align-items: center;
  gap: 7px;
  background: var(--golds);
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: .5rem .85rem;
  margin-bottom: 1rem;
  font-size: 12px;
  color: #92400e;
  font-weight: 500;
}
.r-ipill.on { display: flex; }
.r-financement-pill {
  background: var(--golds);
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: .75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 12px;
  color: #92400e;
  line-height: 1.6;
}
.r-financement-pill strong {
  display: block;
  font-size: 13px;
  margin-bottom: .25rem;
  color: #7c2d12;
}
.r-financement-pill .fi-row {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-top: .3rem;
}
.r-financement-pill .fi-icon {
  flex-shrink: 0;
  margin-top: 1px;
}
.r-fcard label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.r-fcard input,
.r-fcard select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: .75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  outline: none;
  margin-bottom: 1rem;
}
.r-fcard input:focus,
.r-fcard select:focus { border-color: var(--navy); }
.r-fcard input::placeholder { color: #bbb; }
.r-fcard .potdemiel {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.r-dcta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: .75rem;
}
.r-cmain {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.r-cmain:hover { background: var(--navyd); }
.r-csoft {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.r-csoft:hover { border-color: var(--navy); }
.r-fbody { display: none; }
.r-fbody.on { display: block; }
.r-bsub {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.r-bsub:hover {
  background: var(--navyd);
  transform: translateY(-1px);
}
.r-freass {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 1rem;
}
.r-ri {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.r-ri-c {
  color: var(--ok);
  font-size: 12px;
}
.r-freass a {
  color: var(--navy);
  text-decoration: underline;
}

/* AUTRES PARCOURS */
.r-more-stories {
  padding: 3.5rem 1.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
}
.r-ms-inner { max-width: 700px; margin: 0 auto; }
.r-ms-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.r-story-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: .85rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.r-sm-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.r-sm-main {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.r-sm-after .r-sm-main { color: var(--ok); }
.r-sm-sub {
  font-size: 11px;
  color: var(--muted);
}
.r-sarr {
  font-size: 1.2rem;
  color: var(--border);
  text-align: center;
}
.r-sm-source {
  font-size: 10px;
  color: var(--muted);
  margin-top: .75rem;
  font-style: italic;
  grid-column: 1 / -1;
}

/* OBJECTIONS */
.r-objections {
  padding: 3rem 1.5rem;
  max-width: 680px;
  margin: 0 auto;
  font-family: 'DM Sans', sans-serif;
}
.r-objections h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 1rem 0 1.5rem;
}
.r-oi {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  margin-bottom: .6rem;
  overflow: hidden;
}
.r-oq {
  padding: .9rem 1.1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 1rem;
}
.r-oicon {
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s;
}
.r-oi.open .r-oicon { transform: rotate(45deg); }
.r-oa {
  display: none;
  padding: 0 1.1rem .9rem;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.r-oi.open .r-oa { display: block; }

/* CTA FINAL */
.r-cfinal {
  background: linear-gradient(135deg, var(--navy) 0%, #3d4470 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}
.r-cfinal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #EF7D18, var(--gold));
}
.r-cfinal h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: .75rem;
}
.r-cfinal p {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1.5rem;
}

/* STICKY MOBILE */
.r-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1rem 1.5rem;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .2);
  font-family: 'DM Sans', sans-serif;
}
.r-sticky button {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: .9rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 800px) {
  .r-sticky { display: block; }
  body { padding-bottom: 80px; }
}
@media (max-width: 600px) {
  .r-qui-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .r-pgrid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .r-story-mini { grid-template-columns: 1fr; gap: .4rem; }
  .r-sarr { display: none; }
}
