/* ============================================================
   Florence Renou — couche "rounded soft"
   Inspirée du rendu Lovable : cartes blanches arrondies,
   ombres douces, icônes en pastilles, espaces généreux.
   Charge en DERNIER pour gagner sur styles.css / pages.css.
   ============================================================ */

:root {
  --r-soft: 18px;
  --r-card: 22px;
  --r-card-lg: 28px;
  --r-input: 14px;
  --shadow-card: 0 1px 2px rgba(63, 69, 64, 0.04), 0 12px 30px -18px rgba(63, 69, 64, 0.18);
  --shadow-card-hover: 0 1px 2px rgba(63, 69, 64, 0.04), 0 30px 50px -28px rgba(63, 69, 64, 0.28);
}

/* ============================================================
   1. HERO photo — coins arrondis
   ============================================================ */
.hero-douce .hero-bg {
  border-radius: 0; /* keep full bleed */
}
.hero-ed-photo,
.hero-mo-photo-wide,
.fs-photo,
.about-photo {
  border-radius: var(--r-card-lg);
}
.hero-ed-visual,
.hero-mo-photo-row,
.about-visual,
.fs-visual {
  border-radius: var(--r-card-lg);
  overflow: hidden;
}

/* ============================================================
   2. SITUATIONS — cartes blanches arrondies + icône pastille
   ============================================================ */
.situations-grid {
  gap: 24px !important;
  border: 0 !important;
  background: transparent !important;
}
.sit-card {
  background: var(--surface) !important;
  border-radius: var(--r-card);
  padding: 32px 28px 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent);
  transition: transform .45s var(--anim-ease-out), box-shadow .45s var(--anim-ease-out), background-color .35s ease, border-color .35s ease;
}
.sit-card:hover {
  background: var(--surface) !important;
  box-shadow: var(--shadow-card-hover);
  border-color: color-mix(in oklab, var(--accent-soft) 45%, transparent);
  transform: translateY(-6px);
}
.sit-card.active {
  background: var(--amande-light) !important;
  border-color: var(--accent-soft);
}
/* Replace numeric eyebrow with a soft circular icon badge */
.sit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--amande-light);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  transition: background .4s ease, transform .4s var(--anim-ease-out);
}
.sit-card:hover .sit-num,
.sit-card.active .sit-num {
  background: var(--amande);
  transform: scale(1.05);
}
.sit-title {
  font-size: 19px !important;
  font-style: normal !important;
  font-family: var(--serif) !important;
  font-weight: 500 !important;
  line-height: 1.3;
}
.sit-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sit-arrow {
  bottom: 22px;
  right: 24px;
}

/* ============================================================
   3. BENEFITS — passe en cartes douces (au lieu de la grille
   éditoriale avec traits ink)
   ============================================================ */
body[data-direction="douce"] .benefits,
body[data-direction="moderne"] .benefits {
  background: var(--surface-2);
}
body[data-direction="douce"] .benefit,
body[data-direction="moderne"] .benefit {
  background: var(--surface);
  border-radius: var(--r-card);
  border-top: 0 !important;
  padding: 38px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent);
  transition: transform .45s var(--anim-ease-out), box-shadow .45s var(--anim-ease-out);
}
body[data-direction="douce"] .benefit:hover,
body[data-direction="moderne"] .benefit:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
body[data-direction="douce"] .benefit::after,
body[data-direction="moderne"] .benefit::after {
  display: none;
}
body[data-direction="douce"] .benefit-num,
body[data-direction="moderne"] .benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--amande-light);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
body[data-direction="douce"] .benefit-word,
body[data-direction="moderne"] .benefit-word {
  font-size: 32px;
}

/* ============================================================
   4. FORMAT SELECTOR — bloc rond avec photo intégrée
   ============================================================ */
.format-selector .fs-toggle {
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.format-selector .fs-slider {
  border-radius: 999px;
}
.fs-content {
  border-radius: var(--r-card-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent);
  align-items: stretch !important;
  gap: 0 !important;
  grid-template-columns: 1fr 1.05fr !important;
  min-height: 580px;
}
.fs-content .fs-visual {
  border-radius: 0;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.fs-content .fs-visual img {
  border-radius: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.fs-content .fs-text {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 860px) {
  .fs-content { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .fs-content .fs-visual { aspect-ratio: 16/10; min-height: 0; }
  .fs-content .fs-text { padding: 36px 28px; }
}
.fs-list li {
  border-radius: 0;
}

/* ============================================================
   5. TARIFS — cartes rondes sage (home + page Accompagnements)
   ============================================================ */
.tarifs-grid {
  gap: 24px !important;
  background: transparent !important;
  border: 0 !important;
}
.ti-card,
.tarif-card {
  background: var(--surface) !important;
  border-radius: var(--r-card-lg) !important;
  border: 1px solid color-mix(in oklab, var(--accent-soft) 30%, transparent) !important;
  box-shadow: var(--shadow-card);
  padding: 40px 32px !important;
  transition: transform .45s var(--anim-ease-out), box-shadow .45s var(--anim-ease-out), border-color .35s ease !important;
}
.ti-card:hover,
.tarif-card:hover {
  border-color: var(--accent-soft) !important;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
}
.ti-card.featured,
.tarif-card.featured {
  background: var(--amande-light) !important;
  border-color: var(--accent-soft) !important;
}
.ti-card h3,
.tarif-card h3 {
  font-style: normal !important;
  font-family: var(--serif) !important;
  font-weight: 500;
}
.ti-price,
.tarif-price {
  font-family: var(--serif) !important;
  font-style: italic;
}

/* ============================================================
   6. FAQ — items en cartes douces
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--r-soft) !important;
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent) !important;
  padding: 0 24px;
  box-shadow: var(--shadow-card);
  transition: border-color .35s ease, box-shadow .35s ease;
}
.faq-item:first-child {
  border-top: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent) !important;
}
.faq-item:hover {
  border-color: var(--accent-soft) !important;
}
.faq-item.open {
  border-color: var(--accent-soft) !important;
}
.faq-q {
  padding: 22px 0;
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amande-light);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

/* ============================================================
   7. ABOUT TEASER — photo arrondie
   ============================================================ */
.about-photo {
  border-radius: var(--r-card-lg) !important;
}
.about-visual {
  border-radius: var(--r-card-lg);
  overflow: hidden;
}

/* ============================================================
   8. WHO CARDS (page Accompagnements) — rondes
   + neutralize the legacy gap-line trick that boxed the whole grid
   ============================================================ */
.who-grid {
  gap: 24px !important;
  background: transparent !important;
  border: 0 !important;
}
.approach-grid {
  gap: 24px !important;
  background: transparent !important;
  border: 0 !important;
}
.who-card,
.approach-card {
  border-radius: var(--r-card) !important;
  background: var(--surface) !important;
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent) !important;
  box-shadow: var(--shadow-card);
  padding: 32px 28px !important;
  transition: transform .45s var(--anim-ease-out), box-shadow .45s var(--anim-ease-out), border-color .35s ease !important;
}
.who-card:hover,
.approach-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent-soft) !important;
  transform: translateY(-4px);
}

/* ============================================================
   9. FORM INPUTS (page Contact) — pills + soft
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
  border-radius: var(--r-input) !important;
}
.tweak-row select,
.tweak-row input[type="text"] {
  border-radius: 8px !important;
}
.tweak-toggles button {
  border-radius: 999px !important;
}

/* ============================================================
   10. BUTTONS — généralisé soft
   ============================================================ */
.btn,
.btn-pill,
.btn-pill-dark,
.btn-primary,
.btn-ghost,
.nav-cta {
  border-radius: 999px !important;
}
.btn-primary {
  padding: 14px 28px;
}
.btn-ghost {
  padding: 14px 28px;
  border-color: color-mix(in oklab, var(--ink) 50%, transparent) !important;
}

/* ============================================================
   11. CITATIONS — bloc plus rond
   ============================================================ */
.citations {
  border-radius: 0;
}
.citations-stage {
  border-radius: var(--r-card-lg);
}

/* ============================================================
   12. CONTACT inline — soft surfaces
   ============================================================ */
.ci-info {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in oklab, var(--accent-soft) 25%, transparent);
}
.ci-list li {
  border-radius: 0;
}

/* ============================================================
   13. LEGAL MODAL — plus rond
   ============================================================ */
.legal-modal {
  border-radius: var(--r-card-lg);
}
.legal-close {
  border-radius: 50%;
}

/* ============================================================
   14. FOOTER pills — déjà ronds, juste un peu d'air
   ============================================================ */
.btn-pill-dark {
  padding: 13px 26px;
}

/* ============================================================
   15. NAV CTA — un peu plus de présence
   ============================================================ */
.nav-cta {
  padding: 12px 26px;
}

/* ============================================================
   16. EYEBROW — palette adoucie
   ============================================================ */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* ============================================================
   17. Section-link buttons — center alignment
   ============================================================ */
.section-link {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   18. Hero CTAs — alignement plus généreux
   ============================================================ */
.hero-douce-ctas .btn-pill {
  padding: 15px 30px;
}

/* ============================================================
   19. Tweaks panel — soft also
   ============================================================ */
.tweaks {
  border-radius: var(--r-card);
}
.tweaks input,
.tweaks select {
  border-radius: 10px !important;
}
