/* Modulaires UpSchool pour le thème La Farandole — portés depuis quark/css/upschool-modulars.css.
   Couleur d'accent : orange de La Farandole. Modèles : split-content, steps-carousel, faq, cta. */
:root{--us-accent:#e4924e;--us-accent-dark:#dd7722;--us-panel-bg:#fdf3ea}
.us-section{padding:5rem 0}.us-section__header{max-width:820px;margin:0 auto 3rem;text-align:center}.us-section__header h2{margin-bottom:1rem}.us-section__header p{font-size:1.05rem;opacity:.8}.us-eyebrow{display:inline-block;margin-bottom:1rem;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.7}.us-card,.us-product-card{height:calc(100% - 2rem);margin-bottom:2rem;padding:2rem;border-radius:12px;background:#fff;box-shadow:0 6px 25px rgba(0,0,0,.07);transition:transform .3s ease,box-shadow .3s ease}.us-card{padding-left:1rem}.us-card:hover,.us-product-card:hover{transform:translateY(-5px);box-shadow:0 12px 35px rgba(0,0,0,.1)}.us-card__icon{width:52px;height:52px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;border-radius:50%;font-size:1.35rem;background:rgba(0,0,0,.06)}.us-card h3,.us-product-card h3,.us-step h3{margin-top:0}.us-link{font-weight:600;text-decoration:none}.us-split{overflow:hidden}.us-split__grid{align-items:center}.us-split__content{padding:2rem 4rem 2rem 1rem}.us-split--left .us-split__content{order:2;padding-left:4rem;padding-right:1rem}.us-split--left .us-split__media{order:1}.us-split__media img{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;border-radius:12px;box-shadow:0 15px 45px rgba(0,0,0,.12)}.us-split__media--flat img{box-shadow:none}.us-split__media--phone{text-align:center}.us-split__media--phone img{width:auto;max-width:100%;max-height:640px;margin:0 auto;object-fit:contain;box-sizing:border-box;border:10px solid #15131c;border-radius:46px;background:#15131c;box-shadow:0 0 0 2px #4a4658,0 25px 60px rgba(0,0,0,.28)}.us-web-mobile .columns{align-items:stretch}.us-product-card{display:flex;flex-direction:column;overflow:hidden;padding:0}.us-product-card__content{padding:2rem}.us-product-card__image{margin-top:auto;padding:0}.us-product-card__image img{display:block;width:100%;height:auto}.us-steps__list{position:relative;max-width:900px;margin:auto}.us-step{position:relative;display:flex;gap:2rem;padding:1.5rem 0}.us-step:not(:last-child)::after{content:"";position:absolute;left:25px;top:75px;bottom:-10px;width:2px;background:rgba(0,0,0,.1)}.us-step__number{position:relative;z-index:1;flex:0 0 52px;width:52px;height:52px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--us-accent,#5755d9);color:#fff;font-weight:700}.us-screenshot__figure{margin:0 auto;max-width:1100px;text-align:center}.us-screenshot__figure img{max-width:100%;height:auto;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.16)}.us-screenshot__figure figcaption{margin-top:1rem;opacity:.65}.us-quote__content{max-width:900px;margin:auto;padding:3rem;text-align:center;border:0}.us-quote__content p{font-size:clamp(1.8rem,4vw,3rem);font-weight:600;line-height:1.2}.us-quote__content footer{font-size:1rem;opacity:.7}.us-quote__content footer span{display:block;font-size:.9rem;margin-top:.25rem}.us-cta__box{padding:4rem 2rem;text-align:center;border-radius:16px;background:rgba(0,0,0,.04)}.us-cta__box p{max-width:700px;margin:0 auto 2rem}.us-cta__actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.us-reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}.us-reveal--right{transform:translateX(35px)}.us-reveal--scale{transform:scale(.96)}.us-reveal.is-visible{opacity:1;transform:none}.us-reveal--delay-1{transition-delay:.12s}.us-reveal--delay-2{transition-delay:.24s}.us-reveal--delay-3{transition-delay:.36s}@media(max-width:768px){.us-section{padding:3.5rem 0}.us-section .container{padding-left:1.25rem;padding-right:1.25rem}.us-split__content,.us-split--left .us-split__content{order:1;padding:1rem 0 2rem}.us-split__media,.us-split--left .us-split__media{order:2}.us-split__media img{max-height:320px}.us-split__media--phone img{max-height:560px}.us-card{margin-bottom:1rem}.us-step{gap:1rem}.us-step:not(:last-child)::after{left:25px}.us-quote__content{padding:2rem 1rem}}
@media(prefers-reduced-motion:reduce){.us-reveal{opacity:1;transform:none;transition:none}.us-card,.us-product-card{transition:none}}

/* .us-faq — used by modular/faq.html.twig */
.us-faq__list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:.75rem}
.us-faq__item{padding:1.1rem 1.5rem;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff}
.us-faq__item summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.us-faq__item summary::-webkit-details-marker{display:none}
.us-faq__item summary::after{content:"+";font-size:1.3rem;font-weight:400;color:var(--us-accent);flex:0 0 auto}
.us-faq__item[open] summary::after{content:"–"}
.us-faq__answer{margin-top:.75rem;opacity:.8;line-height:1.55}

/* .us-steps-carousel — screenshot carousel, one slide per step, used by modular/steps-carousel.html.twig */
.us-steps-carousel__widget{max-width:900px;margin:0 auto}
.us-steps-carousel__pills{display:flex;gap:.6rem;overflow-x:auto;padding:.25rem .25rem 1rem;margin-bottom:1.5rem;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.us-steps-carousel__pill{flex:0 0 auto;display:flex;align-items:center;gap:.6rem;padding:.55rem 1rem .55rem .45rem;border:1px solid rgba(0,0,0,.1);border-radius:999px;background:#fff;font:inherit;font-size:.9rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:border-color .2s ease,background .2s ease}
.us-steps-carousel__pill-number{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:rgba(0,0,0,.06);font-size:.8rem;font-weight:700;transition:background .2s ease,color .2s ease}
.us-steps-carousel__pill.is-active{border-color:var(--us-accent);background:rgba(228,146,78,.12)}
.us-steps-carousel__pill.is-active .us-steps-carousel__pill-number{background:var(--us-accent);color:#fff}
.us-steps-carousel__viewport{position:relative}
.us-steps-carousel__slide{margin:0 0 3rem}
.us-steps-carousel__image img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.16)}
.us-steps-carousel__image--phone img{box-sizing:border-box;border:10px solid #15131c;border-radius:46px;background:#15131c;box-shadow:0 0 0 2px #4a4658,0 25px 60px rgba(0,0,0,.28)}
.us-steps-carousel__slide figcaption{max-width:560px;margin:1.5rem auto 0;text-align:center}
.us-steps-carousel__caption-number{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin-bottom:.5rem;border-radius:50%;background:var(--us-accent);color:#fff;font-size:.75rem;font-weight:700}
.us-steps-carousel__slide figcaption h3{margin:.35rem 0 .5rem}
.us-steps-carousel__slide figcaption p{margin:0;opacity:.8}
.us-steps-carousel__nav{display:none;position:absolute;top:35%;z-index:2;width:44px;height:44px;align-items:center;justify-content:center;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.15);font-size:1.5rem;line-height:1;cursor:pointer;color:var(--us-accent)}
.us-steps-carousel__nav:hover{background:var(--us-accent);color:#fff}
.us-steps-carousel__nav--prev{left:-1.5rem}
.us-steps-carousel__nav--next{right:-1.5rem}
.us-steps-carousel__widget.is-ready .us-steps-carousel__slide{display:none;margin:0}
.us-steps-carousel__widget.is-ready .us-steps-carousel__slide.is-active{display:block}
.us-steps-carousel__widget.is-ready .us-steps-carousel__nav{display:flex}
@media(max-width:768px){.us-steps-carousel__nav{display:none !important}.us-steps-carousel__pill-title{max-width:140px;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.us-steps-carousel__pill,.us-steps-carousel__pill-number,.us-steps-carousel__nav{transition:none}}

/* Boutons du CTA aux couleurs du thème */
.us-cta .btn-primary{background:var(--us-accent);border-color:var(--us-accent-dark);color:#fff}.us-cta .btn-primary:hover,.us-cta .btn-primary:focus{background:var(--us-accent-dark);border-color:var(--us-accent-dark);color:#fff}
