/* Tabou-Raie : page « Notre histoire ». Téléphone d'abord. */

.tbs{--tbs-r:22px;background:var(--tb-fond);color:var(--tb-noir);margin:0!important;overflow:hidden}
.page-id-224 main.site-content,.page-id-224 .wp-block-post-content{padding-top:0!important;padding-bottom:0!important}
.page-id-224 .site-title-area{display:none!important}
.tbs *{box-sizing:border-box}
.tbs img{display:block;max-width:100%;height:auto}
.tbs .tbh-ico{width:18px;height:18px;flex:none}
.tbs-wrap{max-width:1120px;margin:0 auto;padding:0 16px}
.tbs-center{text-align:center}
.tbs-sec{padding:clamp(3rem,9vw,5.5rem) 0}
.tbs-eyebrow{margin:0 0 .5rem;color:var(--tb-bleu);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.tbs-h1,.tbs-h2{font-family:"Comic Neue",cursive;font-weight:700;letter-spacing:-.01em;color:inherit}
.tbs-h1{margin:0 0 .7rem;font-size:clamp(1.9rem,7vw,3.3rem);line-height:1.06}
.tbs-h2{margin:0 0 1rem;font-size:clamp(1.6rem,5.6vw,2.4rem);line-height:1.12}
.tbs-lead{margin:0 0 1.4rem;color:#444;font-size:clamp(1.02rem,2.6vw,1.2rem);line-height:1.55}
.tbs-txt p{margin:0 0 1rem;color:#3a3a3a;font-size:1rem;line-height:1.7}
.tbs-small{color:var(--tb-gris);font-size:.85rem}

/* En-tête */
.tbs-hero{display:flex;flex-direction:column}
.tbs-hero-img{aspect-ratio:4/3;overflow:hidden}
.tbs-hero-img img{width:100%;height:100%;object-fit:cover;object-position:50% 30%}
.tbs-hero-txt{padding:1.6rem 16px 2rem}
.tbs-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0;padding:0;list-style:none}
.tbs-facts li{display:flex;flex-direction:column;gap:.15rem;margin:0;padding:.8rem .7rem;border-radius:16px;background:#fff;border:1px solid var(--tb-bord)}
.tbs-facts strong{font-family:"Comic Neue",cursive;font-size:1.7rem;line-height:1;color:var(--tb-sauge-fonce,#6b6e5a)}
.tbs-facts span{color:var(--tb-gris);font-size:.78rem;line-height:1.3}
@media(min-width:900px){
  .tbs-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:3.5rem;max-width:1220px;margin:0 auto;padding:2.5rem 24px 3rem}
  .tbs-hero-img{aspect-ratio:5/4;border-radius:28px}
  .tbs-hero-txt{padding:0}
}

/* Blocs texte + image */
.tbs-split{display:grid;gap:1.75rem}
.tbs-img{margin:0;border-radius:var(--tbs-r);overflow:hidden}
.tbs-img img{width:100%;height:100%;object-fit:cover}
.tbs-img--tall{aspect-ratio:4/5}
@media(min-width:900px){
  .tbs-split{grid-template-columns:1fr 1fr;align-items:center;gap:4rem}
  .tbs-split--rev>:first-child{order:2}
  .tbs-img--tall{max-height:640px}
}
.tbs-quote{margin:1.5rem 0 0;padding:1rem 1.2rem;border-left:4px solid var(--tb-bleu);border-radius:0 16px 16px 0;background:#fff;font-family:"Comic Neue",cursive;font-size:1.25rem;font-weight:700;line-height:1.35}
.tbs-quote cite{display:block;margin-top:.35rem;font-family:inherit;font-size:.85rem;font-style:normal;font-weight:600;color:var(--tb-gris)}

/* Étapes */
.tbs-etapes{background:#fff}
.tbs-timeline{position:relative;display:grid;gap:1.4rem;max-width:760px;margin:2rem auto 0;padding:0;list-style:none}
.tbs-timeline::before{content:"";position:absolute;left:21px;top:22px;bottom:22px;width:2px;background:#e3e1da}
.tbs-timeline li{position:relative;display:flex;gap:1rem;margin:0;list-style:none}
.tbs-dot{position:relative;z-index:1;flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--tb-noir);color:#fff;font-weight:700;font-size:1.05rem}
.tbs-timeline li:last-child .tbs-dot{background:var(--tb-bleu)}
.tbs-timeline strong{display:block;margin:.55rem 0 .2rem;font-family:"Comic Neue",cursive;font-size:1.2rem}
.tbs-timeline p{margin:0;color:var(--tb-gris);line-height:1.6}
@media(min-width:900px){
  .tbs-timeline{grid-template-columns:repeat(4,1fr);max-width:none;gap:1.5rem}
  .tbs-timeline::before{left:22px;right:22px;top:21px;bottom:auto;width:auto;height:2px}
  .tbs-timeline li{flex-direction:column;gap:.4rem}
}

/* Mission */
.tbs-points{display:grid;gap:.55rem;margin:0 0 1.2rem;padding:0;list-style:none}
.tbs-points li{position:relative;margin:0;padding:.75rem 1rem .75rem 2.8rem;border-radius:14px;background:#fff;border:1px solid var(--tb-bord);line-height:1.4}
.tbs-points li::before{content:"✓";position:absolute;left:1rem;top:.72rem;width:1.3rem;height:1.3rem;border-radius:50%;display:grid;place-items:center;background:rgba(6,147,227,.12);color:var(--tb-bleu);font-size:.75rem;font-weight:700}
.tbs-anim{margin:0;padding:clamp(1.5rem,6vw,3rem);border-radius:var(--tbs-r);background:var(--tb-sauge,#abb092)}
.tbs-anim img{width:100%;max-width:420px;margin:0 auto}
.tbs-link{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;color:var(--tb-bleu)!important;font-weight:700;text-decoration:none!important}

/* Atelier */
.tbs-atelier{background:var(--tb-noir);color:#fff}
.tbs-atelier .tbs-txt p{color:rgba(255,255,255,.78)}
.tbs-video{position:relative;margin:0;border-radius:var(--tbs-r);overflow:hidden;aspect-ratio:4/5;background:#222}
.tbs-video video{display:block;width:100%;height:100%;object-fit:cover}
.tbs-video figcaption{position:absolute;left:12px;bottom:12px;padding:.35rem .8rem;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:.85rem;font-weight:700}
@media(min-width:900px){.tbs-video{aspect-ratio:9/12;max-width:440px;justify-self:center;width:100%}}
.tbs-photos{display:flex;gap:10px;overflow-x:auto;margin-top:2rem;padding:0 16px;scroll-snap-type:x proximity;scrollbar-width:none}
.tbs-photos::-webkit-scrollbar{display:none}
.tbs-photos figure{flex:0 0 58%;margin:0;aspect-ratio:4/5;border-radius:18px;overflow:hidden;scroll-snap-align:start}
.tbs-photos img{width:100%;height:100%;object-fit:cover}
@media(min-width:900px){.tbs-photos{display:grid;grid-template-columns:repeat(5,1fr);max-width:1120px;margin:2.5rem auto 0;overflow:visible}}

/* Appel final */
.tbs-models{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:760px;margin:1.6rem auto 1.6rem}
.tbs-model{display:flex;flex-direction:column;gap:.2rem;padding:8px 8px 12px;border:1px solid var(--tb-bord);border-radius:18px;background:#fff;color:var(--tb-noir)!important;text-decoration:none!important;text-align:center;transition:transform .25s,box-shadow .25s}
.tbs-model:hover{transform:translateY(-3px);box-shadow:0 18px 34px -24px rgba(0,0,0,.4)}
.tbs-model-img{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--tb-studio,#efede8);margin-bottom:.3rem}
.tbs-model-img img{width:100%;height:100%;object-fit:cover}
.tbs-model strong{font-size:.95rem}
.tbs-model>span:last-child{color:var(--tb-gris);font-weight:700}
.tbs-badge{position:absolute;left:5px;top:5px;padding:.15rem .45rem;border-radius:999px;background:var(--tb-bleu);color:#fff;font-size:.62rem;font-weight:700}
.tbs-btn{display:inline-flex;align-items:center;gap:.5rem;min-height:56px;padding:0 1.8rem;border-radius:999px;background:var(--tb-bleu);color:#fff!important;font-weight:700;font-size:1.05rem;text-decoration:none!important;box-shadow:0 12px 26px -14px rgba(6,147,227,.85);transition:background .2s,transform .2s}
.tbs-btn:hover{background:var(--tb-bleu-fonce);transform:translateY(-2px)}
.tbs-btn:focus-visible,.tbs-model:focus-visible,.tbs-link:focus-visible{outline:3px solid var(--tb-noir);outline-offset:3px}

/* Apparition au défilement */
.tbs.tbs-js .tbs-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
.tbs.tbs-js .tbs-reveal.is-in{opacity:1;transform:none}
.tbs-hero-txt>*{animation:tbsUp .6s cubic-bezier(.2,.7,.2,1) backwards}
.tbs-hero-txt>:nth-child(2){animation-delay:.06s}.tbs-hero-txt>:nth-child(3){animation-delay:.12s}.tbs-hero-txt>:nth-child(4){animation-delay:.18s}
@keyframes tbsUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.tbs *,.tbs.tbs-js .tbs-reveal{animation:none!important;transition:none!important;opacity:1!important;transform:none!important}}

/* Pleine largeur (la page est dans une colonne contrainte) et couleurs des sur-titres */
.page-id-224 .wp-block-post-content{padding-left:0!important;padding-right:0!important;max-width:none!important}
.page-id-224 .wp-block-post-content>.tbs,.tbs{max-width:none!important;margin-left:0!important;margin-right:0!important;width:100%}
.tbs .tbs-eyebrow,.tbs .tbs-txt .tbs-eyebrow{margin:0 0 .5rem;color:var(--tb-bleu)!important;font-size:12px!important;line-height:1.4!important}
.tbs-atelier .tbs-eyebrow{color:var(--tb-sauge,#abb092)!important}
.tbs-anim{display:grid;place-items:center;min-height:260px}
@media(min-width:900px){.tbs-anim{min-height:420px}}
