/*
 * Ose Tirage — Tarot Saint-Germain v1.1
 * Tirage gratuit + interprétation de chaque carte dans sa matrice.
 */

#sg-page #sg-paid-offer,
#sg-page #sg-customer-form,
#sg-page #sg-result {
  display: none !important;
}

#sg-page .sg-slot-face {
  padding: 0 !important;
  overflow: hidden;
  background: #FDF9F3;
}

#sg-page .sg-slot-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#sg-page #sg-start:disabled {
  cursor: wait;
  opacity: .72;
  transform: none !important;
}

#sg-page .sg-slot-name {
  min-height: 1.5em;
}

/* ---------- V1.1 : lecture gratuite par matrice ---------- */
#sg-page .sg-free-reading {
  max-width: 1060px;
  margin: 4rem auto 0;
  padding: clamp(2rem, 5vw, 3.6rem);
  background: rgba(253,249,243,.88);
  border: 1px solid rgba(59,15,82,.12);
  box-shadow: 0 24px 70px -34px rgba(59,15,82,.32);
}

#sg-page .sg-free-reading-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

#sg-page .sg-free-reading-kicker {
  display: block;
  margin-bottom: .7rem;
  font-family: var(--sg-display, Georgia, serif);
  font-style: italic;
  color: var(--sg-rose, #C81E6B);
}

#sg-page .sg-free-reading-title {
  margin: 0 0 .8rem !important;
  font-family: var(--sg-display, Georgia, serif) !important;
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  font-weight: 300 !important;
  line-height: 1.15 !important;
  color: var(--sg-ink, #3B0F52) !important;
}

#sg-page .sg-free-reading-intro {
  margin: 0 !important;
  color: var(--sg-ink-soft, rgba(59,15,82,.74)) !important;
}

#sg-page .sg-free-reading-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

#sg-page .sg-free-reading-card {
  position: relative;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid rgba(59,15,82,.12);
  border-top: 3px solid var(--sg-gold, #B8863C);
}

#sg-page .sg-free-reading-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(59,15,82,.10);
}

#sg-page .sg-free-matrix-badge {
  flex: 0 0 auto;
  font-family: var(--sg-display, Georgia, serif);
  font-style: italic;
  color: var(--sg-gold, #B8863C);
}

#sg-page .sg-free-card-name {
  margin: 0 !important;
  text-align: right;
  font-family: var(--sg-display, Georgia, serif) !important;
  font-size: 1.28rem !important;
  font-weight: 400 !important;
  color: var(--sg-ink, #3B0F52) !important;
}

#sg-page .sg-free-matrix-title {
  margin: 1.15rem 0 .8rem !important;
  font-family: var(--sg-display, Georgia, serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--sg-rose, #C81E6B) !important;
}

#sg-page .sg-free-interpretation {
  margin-bottom: 1.35rem !important;
  line-height: 1.7;
}

#sg-page .sg-free-question {
  padding: 1rem 1.05rem;
  background: var(--sg-paper, #F3E9F0);
  border-left: 2px solid var(--sg-rose, #C81E6B);
}

#sg-page .sg-free-question-label {
  display: block;
  margin-bottom: .3rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sg-ink, #3B0F52);
}

#sg-page .sg-free-question p {
  margin: 0 !important;
  font-family: var(--sg-display, Georgia, serif);
  font-style: italic;
  color: var(--sg-ink, #3B0F52) !important;
}

#sg-page .sg-free-reading-note {
  max-width: 740px;
  margin: 2rem auto 0 !important;
  text-align: center;
  font-size: .85rem;
  color: var(--sg-ink-mute, rgba(59,15,82,.56)) !important;
}

@media (max-width: 760px) {
  #sg-page .sg-free-reading-grid {
    grid-template-columns: 1fr;
  }
  #sg-page .sg-free-reading {
    padding: 1.5rem;
  }
  #sg-page .sg-free-reading-card {
    padding: 1.35rem;
  }
}


/* ---------- V1.2 : trajectoire croisée ---------- */
#sg-page .sg-cross-reading {
  margin-top: 2.8rem;
  padding: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(520px 260px at 92% 0%, rgba(243,204,119,.18), transparent 65%),
    linear-gradient(135deg, #3B0F52, #4A1566 68%, #6A1769);
  color: #FDF9F3;
  border: 1px solid rgba(217,164,65,.38);
}

#sg-page .sg-cross-head {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

#sg-page .sg-cross-kicker {
  display: block;
  margin-bottom: .65rem;
  font-family: var(--sg-display, Georgia, serif);
  font-style: italic;
  color: #F3CC77;
}

#sg-page .sg-cross-title {
  margin: 0 0 .75rem !important;
  font-family: var(--sg-display, Georgia, serif) !important;
  font-weight: 300 !important;
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  line-height: 1.15 !important;
  color: #FDF9F3 !important;
  -webkit-text-fill-color: #FDF9F3 !important;
}

#sg-page .sg-cross-intro {
  margin: 0 !important;
  color: rgba(253,249,243,.80) !important;
}

#sg-page .sg-cross-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .7rem 1rem;
  margin: 2rem auto;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(243,204,119,.34);
  border-bottom: 1px solid rgba(243,204,119,.34);
  font-family: var(--sg-display, Georgia, serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.35;
  text-align: center;
}

#sg-page .sg-cross-step {
  color: #FDF9F3;
}

#sg-page .sg-cross-arrow {
  color: #F3CC77;
  font-size: 1.25em;
}

#sg-page .sg-cross-synthesis {
  max-width: 800px;
  margin: 0 auto;
}

#sg-page .sg-cross-synthesis-text {
  margin: 0 !important;
  font-family: var(--sg-display, Georgia, serif);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  color: rgba(253,249,243,.92) !important;
}

#sg-page .sg-cross-pivot {
  margin: 1.5rem 0 0 !important;
  padding: 1.1rem 1.3rem;
  border-left: 2px solid #F3CC77;
  background: rgba(255,255,255,.06);
  font-family: var(--sg-display, Georgia, serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #FDF9F3 !important;
}

@media (max-width: 760px) {
  #sg-page .sg-cross-reading {
    padding: 1.6rem 1.35rem;
  }

  #sg-page .sg-cross-flow {
    flex-direction: column;
    gap: .5rem;
  }

  #sg-page .sg-cross-arrow {
    transform: rotate(90deg);
  }
}


/* ---------- V1.3 : lecture croisée plus éditoriale ---------- */
#sg-page .sg-cross-synthesis-text {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(1.08rem, 1.7vw, 1.22rem);
  line-height: 1.8;
}

#sg-page .sg-cross-pivot {
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* V1.4 — offre premium */
#sg-page .sg-premium-offer-v14{margin-top:2.8rem;background:#FDF9F3;border:1px solid rgba(59,15,82,.14);box-shadow:0 24px 70px -34px rgba(59,15,82,.32);position:relative;overflow:hidden}
#sg-page .sg-premium-offer-v14::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#C81E6B,#3B0F52,#B8863C)}
#sg-page .sg-premium-offer-inner{display:grid;grid-template-columns:1.35fr .75fr;gap:clamp(2rem,5vw,4rem);padding:clamp(2rem,5vw,3.5rem)}
#sg-page .sg-premium-kicker{display:block;margin-bottom:.7rem;font-family:var(--sg-display,Georgia,serif);font-style:italic;color:var(--sg-rose,#C81E6B)}
#sg-page .sg-premium-title{margin:0 0 1rem!important;font-family:var(--sg-display,Georgia,serif)!important;font-weight:300!important;font-size:clamp(1.7rem,3vw,2.45rem)!important;line-height:1.18!important;color:var(--sg-ink,#3B0F52)!important}
#sg-page .sg-premium-intro{margin-bottom:1.4rem!important;line-height:1.75}
#sg-page .sg-premium-list{margin:0!important;padding:0!important;list-style:none!important}
#sg-page .sg-premium-list li{position:relative;padding:.85rem 0 .85rem 1.6rem;border-top:1px solid rgba(59,15,82,.10);color:var(--sg-ink,#3B0F52);line-height:1.55}
#sg-page .sg-premium-list li::before{content:"";position:absolute;left:0;top:1.45rem;width:6px;height:6px;border-radius:50%;background:var(--sg-rose,#C81E6B)}
#sg-page .sg-premium-offer-side{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:1.8rem;background:linear-gradient(160deg,#F3E9F0,#FDF9F3);border:1px solid rgba(59,15,82,.10)}
#sg-page .sg-premium-price{margin-bottom:1.4rem}
#sg-page .sg-premium-price span{display:block;font-family:var(--sg-display,Georgia,serif);font-size:3rem;line-height:1;color:var(--sg-ink,#3B0F52)}
#sg-page .sg-premium-price small{display:block;margin-top:.5rem;font-size:.88rem;color:var(--sg-ink-mute,rgba(59,15,82,.56))}
#sg-page .sg-premium-btn{width:100%;justify-content:center}
#sg-page .sg-premium-note{margin:1rem 0 0!important;font-size:.84rem;color:var(--sg-ink-mute,rgba(59,15,82,.56))!important}
#sg-page .sg-premium-status{display:none;margin:1rem 0 0!important;padding:.8rem 1rem;width:100%;background:rgba(200,30,107,.08);border-left:2px solid var(--sg-rose,#C81E6B);font-size:.86rem;color:var(--sg-ink,#3B0F52)!important}
#sg-page .sg-premium-status.sg-visible{display:block}
@media(max-width:820px){#sg-page .sg-premium-offer-inner{grid-template-columns:1fr}}


/* V1.5 — séparation stricte gratuit / premium */
#sg-page .sg-free-reading.sg-offer-only{
  margin-top:3rem;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
#sg-page .sg-free-reading.sg-offer-only .sg-premium-offer-v14{margin-top:0}
#sg-page .sg-free-reading.sg-offer-only > .sg-free-reading-head,
#sg-page .sg-free-reading.sg-offer-only > .sg-free-reading-grid,
#sg-page .sg-free-reading.sg-offer-only > .sg-cross-reading,
#sg-page .sg-free-reading.sg-offer-only > .sg-free-reading-note{
  display:none!important;
}


/* ---------- V1.6 : phrase teaser gratuite sous chaque carte ---------- */
#sg-page .sg-card-teaser {
  margin: .7rem auto 0 !important;
  max-width: 240px;
  font-family: var(--sg-display, Georgia, serif);
  font-size: .92rem;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  color: rgba(59,15,82,.74) !important;
}

@media (max-width: 760px) {
  #sg-page .sg-card-teaser {
    max-width: 280px;
    font-size: .95rem;
  }
}


/* ---------- V1.7 : CTA premium + formulaire ---------- */
#sg-page .sg-premium-btn{
  width:100%;
  min-width:210px;
  padding:1rem 1.35rem;
  border-radius:999px;
  white-space:normal;
  line-height:1.15;
  font-size:1rem;
  text-align:center;
}

#sg-page .sg-customer-form-v17{
  margin:0 clamp(2rem,5vw,3.5rem) clamp(2rem,5vw,3.5rem);
  padding:clamp(1.6rem,4vw,2.4rem);
  background:#F7EEF4;
  border:1px solid rgba(59,15,82,.12);
}

#sg-page .sg-customer-form-v17[hidden]{
  display:none!important;
}

#sg-page .sg-form-kicker{
  display:block;
  margin-bottom:.5rem;
  font-family:var(--sg-display,Georgia,serif);
  font-style:italic;
  color:#C81E6B;
}

#sg-page .sg-form-title{
  margin:0 0 .75rem!important;
  font-family:var(--sg-display,Georgia,serif)!important;
  font-size:clamp(1.4rem,2.5vw,1.9rem)!important;
  font-weight:400!important;
  color:#3B0F52!important;
}

#sg-page .sg-form-intro{
  margin:0 0 1.4rem!important;
  max-width:720px;
}

#sg-page .sg-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}

#sg-page .sg-form-field{
  display:flex;
  flex-direction:column;
  gap:.45rem;
  margin-bottom:1rem;
  color:#3B0F52;
  font-weight:600;
}

#sg-page .sg-form-field input{
  width:100%;
  min-height:48px;
  padding:.8rem .9rem;
  border:1px solid rgba(59,15,82,.22);
  border-radius:8px;
  background:#fff;
  color:#3B0F52;
  font:inherit;
  outline:none;
}

#sg-page .sg-form-field input:focus{
  border-color:#C81E6B;
  box-shadow:0 0 0 3px rgba(200,30,107,.10);
}

#sg-page .sg-form-consent{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  margin: .4rem 0 1.2rem;
  font-size:.9rem;
  line-height:1.45;
  color:rgba(59,15,82,.82);
}

#sg-page .sg-form-consent input{
  margin-top:.2rem;
}

#sg-page .sg-form-submit{
  width:auto;
  min-width:260px;
  justify-content:center;
}

#sg-page .sg-form-helper{
  margin:.8rem 0 0!important;
  font-size:.82rem;
  color:rgba(59,15,82,.58)!important;
}

#sg-page .sg-form-status{
  display:none;
  margin:1rem 0 0!important;
  padding:.9rem 1rem;
  background:#fff;
  border-left:2px solid #C81E6B;
  color:#3B0F52!important;
}

#sg-page .sg-form-status.sg-visible{
  display:block;
}

@media(max-width:820px){
  #sg-page .sg-form-row{grid-template-columns:1fr}
  #sg-page .sg-premium-btn{min-width:0}
  #sg-page .sg-customer-form-v17{margin:0 1rem 1.5rem}
  #sg-page .sg-form-submit{width:100%;min-width:0}
}


/* ---------- V1.8 : état checkout ---------- */
#sg-page .sg-form-submit:disabled{
  opacity:.68;
  cursor:wait;
}

#sg-page .sg-form-status.sg-error{
  border-left-color:#9b1c31;
  background:#fff3f5;
  color:#7c1728!important;
}
