/* Formules : fond blanc, 4 colonnes en accordéon (variante 4a + mise en avant P1 validées le 2026-11-26).
   Ordinateur avec JS : la colonne survolée ou cliquée s'élargit et montre son détail, Pro est ouverte au départ.
   Sans JS ou sur mobile : les 4 formules sont affichées en entier. */
main > section#formules.fo { background: #FFFFFF; }
#formules .fo-head { display: grid; gap: 18px; margin-bottom: 56px; }
@media (min-width: 901px) { #formules .fo-head { grid-template-columns: 1.2fr .8fr; gap: 5vw; align-items: end; } }
#formules .fo-head h2 { margin: 0; }
#formules .fo-head .section-intro { margin: 0; }

#formules .fo-g { display: grid; gap: 12px; }
#formules .fo-k { position: relative; border-radius: 26px; background: #FBF5F2; padding: 30px 28px; color: #3A2621; }
#formules .fo-k.pro { background: rgba(243, 217, 220, .45); box-shadow: inset 0 0 0 1.5px rgba(122, 15, 37, .55), 0 30px 70px -30px rgba(122, 15, 37, .45); }
#formules .fo-top { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
#formules .fo-n { font-size: .68rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: #7A0F25; }
#formules .fo-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: rgba(233, 169, 178, .35); color: #7A0F25; font-size: .6rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
#formules .fo-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7A0F25; }
#formules .fo-pr { margin: 18px 0 6px; font-family: "Gloock", Georgia, serif; font-weight: 400; line-height: 1; white-space: nowrap; display: flex; align-items: baseline; font-size: clamp(2.6rem, 4.4vw, 4.4rem); letter-spacing: -.01em; color: #3A2621; }
#formules .fo-k.pro .fo-pr { color: #7A0F25; }
#formules .fo-pr small { font-family: "Hanken Grotesk", sans-serif; font-size: .3em; letter-spacing: .04em; margin-right: .5em; opacity: .7; color: inherit; }
#formules .fo-num .dg { display: inline-block; height: 1.04em; overflow: hidden; vertical-align: bottom; }
#formules .fo-num .st { display: block; } #formules .fo-num .st span { display: block; height: 1.04em; line-height: 1.04; }
#formules .fo-num .sp { display: inline-block; width: .14em; }
#formules .fo-dl { margin: 0; font-size: .88rem; color: #7A4E4E; }
#formules .fo-short { display: none; }
#formules .fo-more { margin-top: 20px; display: grid; gap: 14px; }
#formules .fo-who { margin: 0; color: #7A4E4E; font-size: .96rem; line-height: 1.55; }
#formules .fo-more ul { margin: 0; padding: 0; list-style: none; }
#formules .fo-more li { padding: 7px 0; border-top: 1px solid rgba(122, 78, 78, .2); font-size: .9rem; line-height: 1.5; font-weight: 400; color: #3A2621; }
#formules .fo-more li:first-child { border-top: 0; }
#formules .fo-more li.x { font-weight: 300; color: #7A4E4E; }
#formules .fo-more li::before { display: none; }
#formules .fo-cta { justify-self: start; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: #3A2621; text-decoration: none; font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
#formules .fo-cta i { font-style: normal; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
#formules .fo-cta:hover { color: #7A0F25; } #formules .fo-cta:hover i { transform: translateX(5px); }
#formules .fo-plus { display: none; }

/* Accordéon (ordinateur, JS actif) */
@media (min-width: 901px) {
  #formules.fo-acc .fo-g { display: flex; gap: 10px; height: 660px; }
  #formules.fo-acc .fo-k { flex: 1; min-width: 0; overflow: hidden; cursor: pointer; transition: flex .8s cubic-bezier(.2, .7, .2, 1), background-color .6s, box-shadow .6s; }
  #formules.fo-acc .fo-k.on { flex: 2.6; }
  #formules.fo-acc .fo-k.on:not(.pro) { background: rgba(233, 169, 178, .2); box-shadow: inset 0 0 0 1px rgba(122, 15, 37, .25); }
  #formules.fo-acc .fo-pr { font-size: clamp(1.6rem, 2.1vw, 2.3rem); transition: font-size .6s; }
  #formules.fo-acc .fo-k.on .fo-pr { font-size: clamp(2.9rem, 4.6vw, 4.6rem); }
  #formules.fo-acc .fo-short { display: block; margin: 22px 0 0; font-size: .92rem; line-height: 1.5; color: #7A4E4E; transition: opacity .3s; }
  #formules.fo-acc .fo-k.on .fo-short { opacity: 0; }
  #formules.fo-acc .fo-more { position: absolute; left: 28px; bottom: 30px; margin: 0; width: min(560px, calc(100% - 56px)); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .4s; }
  #formules.fo-acc .fo-k.on .fo-more { opacity: 1; visibility: visible; transform: none; transition-delay: .25s, .25s, 0s; }
  #formules.fo-acc .fo-plus { display: grid; place-items: center; position: absolute; right: 24px; bottom: 24px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(122, 15, 37, .35); color: #7A0F25; font-size: 1rem; transition: opacity .3s; }
  #formules.fo-acc .fo-k.on .fo-plus { opacity: 0; }
}
/* Sans accordéon (sans JS, tablette) : grille */
@media (min-width: 700px) { #formules:not(.fo-acc) .fo-g { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { #formules:not(.fo-acc) .fo-g { grid-template-columns: repeat(4, 1fr); } }

/* Bloc « Vous hésitez » */
#formules .fo-ask { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 24px 30px; flex-wrap: wrap; padding: clamp(26px, 3vw, 44px) clamp(24px, 3vw, 48px); border-radius: 26px; background: rgba(243, 217, 220, .4); box-shadow: inset 0 0 0 1px rgba(122, 15, 37, .14); }
#formules .fo-ask h3 { margin: 0; font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -.03em; line-height: 1.15; text-transform: none; color: #3A2621; font-family: inherit; }
#formules .fo-ask p { margin: 8px 0 0; color: #7A4E4E; }
#formules .fo-bt { display: flex; gap: 14px; flex-wrap: wrap; }
#formules .fo-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 99px; background: #7A0F25; color: #F7F1EA; text-decoration: none; font-size: .76rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; transition: background-color .4s; }
#formules .fo-btn:hover { background: #9B1B30; }
#formules .fo-btn i { font-style: normal; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
#formules .fo-btn:hover i { transform: translateX(4px); }
#formules .fo-btn.ghost { background: transparent; color: #7A0F25; box-shadow: inset 0 0 0 1px rgba(122, 15, 37, .4); }
#formules .fo-btn.ghost:hover { background: rgba(122, 15, 37, .06); }

@media (prefers-reduced-motion: reduce) { #formules .fo-k, #formules .fo-more, #formules .fo-pr { transition: none !important; } }
