:root{
  --rc-red:#E60023;--rc-red-dark:#b9001c;--rc-black:#1A1A1A;--rc-white:#fff;--rc-light:#F5F5F5;
  --rc-soft:#fcf6f7;--rc-text:#2c2c2c;--rc-muted:#6B6B6B;--rc-border:#ece8e8;--rc-radius:22px;
  --rc-shadow:0 16px 40px rgba(0,0,0,.08);--rc-container:1240px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Open Sans',sans-serif;color:var(--rc-text);background:#fff;line-height:1.65}
img{max-width:100%;display:block;height:auto}a{text-decoration:none;color:inherit}ul{margin:0;padding:0}
.container{width:min(calc(100% - 32px),var(--rc-container));margin:0 auto}.site-main{min-height:40vh}.section{padding:76px 0}.section-light{background:var(--rc-light)}
.section-title{font-family:'Poppins',sans-serif;font-size:clamp(34px,4vw,58px);line-height:1.05;margin:0 0 14px;color:var(--rc-black)}
.section-subtitle{max-width:760px;margin:0 0 26px;color:var(--rc-muted);font-size:20px}
.pill{display:inline-flex;align-items:center;background:rgba(230,0,35,.08);color:var(--rc-red);padding:8px 14px;border-radius:999px;font-weight:700;font-size:14px}.pill-dark{background:rgba(255,255,255,.18);color:#fff}
.notice-bar{background:var(--rc-black);color:#fff;font-size:14px}.notice-bar .container{display:flex;justify-content:space-between;gap:10px;padding:10px 0;flex-wrap:wrap}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--rc-border)}
.header-main{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:14px 0}.brand-link img,.branding img{max-height:84px;width:auto}
.search-form{display:flex;align-items:center;background:var(--rc-light);border:1px solid transparent;border-radius:999px;overflow:hidden}
.search-form:focus-within{border-color:rgba(230,0,35,.28);background:#fff}.search-form input[type=search]{flex:1;border:0;background:transparent;padding:16px 18px;outline:none;font-size:16px}
.search-form button,.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:var(--rc-red);color:#fff;padding:14px 24px;font-weight:800;cursor:pointer;transition:.2s ease}
.search-form button:hover,.btn:hover{background:var(--rc-red-dark)}.btn-dark{background:var(--rc-black)}.btn-dark:hover{background:#000}
.btn-outline-light{background:transparent;border:2px solid rgba(255,255,255,.85);color:#fff}
.header-actions{display:flex;align-items:center;gap:10px}.header-icon{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;border-radius:50%;background:var(--rc-light);font-size:18px}
.cart-count{font-size:12px;font-weight:800;margin-left:4px}.menu-toggle{display:none}
.main-nav .container{display:flex;justify-content:space-between;align-items:center;gap:12px}.menu{list-style:none;display:flex;gap:24px;padding:14px 0;margin:0;font-weight:800;font-family:'Poppins',sans-serif}
.menu li{position:relative}.menu a{display:block}.menu a:hover,.menu .current-menu-item>a{color:var(--rc-red)}
.menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:240px;background:#fff;padding:12px 0;list-style:none;margin:0;border-radius:18px;box-shadow:var(--rc-shadow);z-index:50}
.menu li:hover>.sub-menu{display:block}.menu .sub-menu a{padding:12px 18px}.menu .sub-menu a:hover{background:var(--rc-red);color:#fff}.header-promo{color:var(--rc-red);font-weight:800}
.hero-slider{position:relative;overflow:hidden;background:#000}.hero-slide{display:none;position:relative;min-height:76vh;background-position:center;background-size:cover}
.hero-slide.is-active{display:block}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.38))}
.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:center;padding:84px 0 112px}
.hero-copy{color:#fff;max-width:760px}.hero-copy .eyebrow{display:inline-block;background:rgba(255,255,255,.16);padding:9px 14px;border-radius:999px;font-weight:800;margin-bottom:18px}
.hero-copy h1{font-family:'Poppins',sans-serif;font-size:clamp(40px,6vw,72px);line-height:1.02;margin:0 0 16px}
.hero-copy p{font-size:20px;color:rgba(255,255,255,.92);max-width:640px;margin:0 0 26px}
.hero-buttons{display:flex;gap:14px;flex-wrap:wrap}.hero-card{background:rgba(255,255,255,.12);backdrop-filter:blur(12px);padding:26px;border-radius:24px;color:#fff;box-shadow:var(--rc-shadow)}
.hero-card h3{font-family:'Poppins',sans-serif;font-size:32px;line-height:1.15;margin:0 0 10px}.hero-card p{margin:0 0 20px;color:rgba(255,255,255,.9)}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hero-stats div{background:rgba(255,255,255,.14);border-radius:18px;padding:18px;text-align:center}
.hero-stats strong{display:block;font-family:'Poppins',sans-serif;font-size:28px}.hero-stats span{font-size:14px;color:rgba(255,255,255,.88)}
.hero-controls{position:absolute;left:0;right:0;bottom:24px;display:flex;align-items:center;justify-content:space-between;z-index:3}
.hero-prev,.hero-next{width:48px;height:48px;border:0;border-radius:50%;background:#fff;cursor:pointer;font-size:24px;box-shadow:var(--rc-shadow)}
.hero-dots{display:flex;gap:8px}.hero-dot{width:12px;height:12px;border-radius:50%;border:0;background:rgba(255,255,255,.55);cursor:pointer}.hero-dot.is-active{background:#fff}
.service-grid,.product-grid,.testimonial-grid,.footer-grid{display:grid;gap:24px}.service-grid{grid-template-columns:repeat(4,1fr)}
.service-card,.product-card,.testimonial-card{background:#fff;border:1px solid var(--rc-border);border-radius:var(--rc-radius);padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.05)}
.service-icon{font-size:32px;display:inline-flex;width:60px;height:60px;align-items:center;justify-content:center;border-radius:18px;background:var(--rc-soft);margin-bottom:14px}
.service-card h3,.product-card h3{font-family:'Poppins',sans-serif;font-size:30px;line-height:1.1;margin:0 0 10px}.service-card p,.testimonial-card p,.product-description{color:var(--rc-muted)}.service-card a{font-weight:800;color:var(--rc-red)}
.product-grid{grid-template-columns:repeat(4,1fr)}.product-card{position:relative;text-align:left;overflow:hidden}.product-card img{border-radius:16px;margin-bottom:16px;background:var(--rc-light);width:100%;aspect-ratio:1/1;object-fit:cover}
.product-badge{position:absolute;top:18px;left:18px;background:var(--rc-red);color:#fff;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800;z-index:2}
.product-card .price{font-size:28px;font-weight:800;margin:10px 0 18px;color:var(--rc-red)}
.promo-panel,.whatsapp-strip{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:34px;border-radius:30px;box-shadow:var(--rc-shadow)}
.promo-panel{background:linear-gradient(135deg,#ff0037,#ff425a);color:#fff}.promo-panel h2{font-family:'Poppins',sans-serif;font-size:clamp(32px,4vw,56px);line-height:1.04;margin:12px 0}
.promo-list{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);padding:24px;border-radius:24px;min-width:320px}.promo-list ul{padding-left:18px;margin:0 0 18px}
.whatsapp-strip{background:linear-gradient(135deg,var(--rc-black),#2f2f2f);color:#fff}.whatsapp-strip h3{font-family:'Poppins',sans-serif;font-size:34px;margin:10px 0}
.testimonial-grid{grid-template-columns:repeat(3,1fr)}.testimonial-card cite{display:block;margin-top:12px;font-style:normal;font-weight:800}
.site-footer{background:var(--rc-black);color:#fff;padding-top:56px}.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr;padding-bottom:28px}
.footer-grid h3,.footer-grid h4{font-family:'Poppins',sans-serif;font-size:28px;margin:0 0 16px}.footer-grid ul{list-style:none;padding:0;margin:0}.footer-grid li{margin-bottom:8px;color:rgba(255,255,255,.85)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12)}.footer-bottom .container{display:flex;justify-content:space-between;gap:12px;padding:18px 0;flex-wrap:wrap}
.page-content{padding:58px 0}.entry-title{font-family:'Poppins',sans-serif;font-size:clamp(34px,4vw,52px);line-height:1.08}
.widget{margin-bottom:24px}.widget-title{font-family:'Poppins',sans-serif}
@media (max-width:1100px){.service-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.hero-inner{grid-template-columns:1fr}}
@media (max-width:780px){
  .header-main{grid-template-columns:1fr auto;grid-template-areas:'brand actions' 'search search'}.branding{grid-area:brand}.search-wrap{grid-area:search}.header-actions{grid-area:actions}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;background:var(--rc-red);color:#fff;border:0;border-radius:999px;padding:12px 16px}
  .main-nav .container{display:block}.main-nav .menu{display:none;flex-direction:column;gap:0;padding:8px 0}.main-nav.is-open .menu{display:flex}
  .menu .sub-menu{position:static;display:block;box-shadow:none;background:transparent;padding-left:16px}.header-promo{display:none}
  .hero-inner,.service-grid,.product-grid,.testimonial-grid,.footer-grid,.hero-stats{grid-template-columns:1fr}.hero-slide{min-height:88vh}.hero-controls{bottom:16px}
  .promo-panel,.whatsapp-strip,.notice-bar .container{flex-direction:column;align-items:flex-start}.section{padding:58px 0}.section-subtitle{font-size:18px}
}

/* =========================================================
   V3 PREMIUM STABLE SLIDER
   - Texte toujours visible sur le slide actif
   - Animations premium
   - Ken Burns léger
   - Carte glassmorphism
   ========================================================= */

.hero-slider{
  position:relative;
  min-height:clamp(620px,78vh,860px);
  overflow:hidden;
  background:#050505;
  isolation:isolate;
}

.hero-slide{
  display:block !important;
  position:absolute;
  inset:0;
  min-height:100%;
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:scale(1.06);
  transition:
    opacity .9s ease,
    visibility .9s ease,
    transform 7s cubic-bezier(.2,.65,.2,1);
  z-index:1;
}

.hero-slide.is-active{
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto;
  transform:scale(1);
  z-index:2;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 32%, rgba(230,0,35,.18), transparent 34%),
    linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.48) 45%, rgba(0,0,0,.28) 100%);
  z-index:1;
}

.hero-inner{
  position:relative;
  z-index:4;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.82fr);
  gap:40px;
  align-items:center;
  min-height:clamp(620px,78vh,860px);
  padding:112px 0 126px;
}

.hero-copy{
  position:relative;
  z-index:10;
  max-width:780px;
  color:#fff;
}

.hero-copy .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
  opacity:0;
  transform:translateY(18px);
}

.hero-copy h1{
  display:block !important;
  visibility:visible !important;
  opacity:0;
  margin:0 0 18px;
  max-width:8.5ch;
  color:#fff !important;
  font-family:'Poppins',sans-serif;
  font-size:clamp(40px,6vw,76px);
  line-height:.98;
  letter-spacing:-0.04em;
  font-weight:800;
  text-shadow:0 10px 32px rgba(0,0,0,.34),0 2px 8px rgba(0,0,0,.28);
  transform:translateY(26px);
  filter:blur(8px);
}

.hero-copy p{
  display:block !important;
  visibility:visible !important;
  opacity:0;
  margin:0 0 28px;
  max-width:680px;
  color:rgba(255,255,255,.95) !important;
  font-size:clamp(16px,1.55vw,22px);
  line-height:1.6;
  text-shadow:0 3px 18px rgba(0,0,0,.32);
  transform:translateY(20px);
  filter:blur(6px);
}

.hero-buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  opacity:0;
  transform:translateY(18px);
}

.hero-buttons .btn,
.hero-buttons a.btn{
  min-height:58px;
  padding:0 28px;
  border-radius:999px;
  font-size:18px;
  font-weight:800;
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}

.hero-buttons .btn:hover{
  transform:translateY(-2px);
}

.hero-buttons .btn-outline-light{
  background:rgba(255,255,255,.02);
  border:2px solid rgba(255,255,255,.82);
  color:#fff;
}

.hero-card{
  position:relative;
  z-index:10;
  padding:30px;
  border-radius:28px;
  color:#fff;
  background:linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.08));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 22px 44px rgba(0,0,0,.18);
  backdrop-filter:blur(16px);
  opacity:0;
  transform:translateY(24px) scale(.98);
  overflow:hidden;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  pointer-events:none;
}

.hero-card > *{
  position:relative;
  z-index:1;
}

.hero-card h3{
  margin:0 0 10px;
  color:#fff !important;
  font-family:'Poppins',sans-serif;
  font-size:clamp(28px,2.9vw,42px);
  line-height:1.08;
  letter-spacing:-0.03em;
}

.hero-card p{
  margin:0 0 22px;
  color:rgba(255,255,255,.92) !important;
  font-size:18px;
  line-height:1.65;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.hero-stats div{
  background:rgba(255,255,255,.12);
  border-radius:20px;
  padding:20px 16px;
  text-align:center;
}

.hero-stats strong{
  display:block;
  font-size:42px;
  line-height:1;
  margin-bottom:8px;
  color:#fff;
}

.hero-stats span{
  color:rgba(255,255,255,.92);
  font-size:16px;
}

.hero-controls{
  position:absolute;
  left:0;
  right:0;
  bottom:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:6;
}

.hero-prev,
.hero-next{
  width:58px;
  height:58px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  color:#1A1A1A;
  cursor:pointer;
  font-size:30px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.hero-prev:hover,
.hero-next:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(0,0,0,.22);
  background:#fff;
}

.hero-dots{
  display:flex;
  gap:10px;
}

.hero-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:0;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:all .25s ease;
}

.hero-dot.is-active{
  width:34px;
  border-radius:999px;
  background:#fff;
}

.hero-slide.is-active .hero-copy .eyebrow{
  animation:rcFadeUp .7s ease .15s forwards;
}
.hero-slide.is-active .hero-copy h1{
  animation:rcFadeBlur .9s cubic-bezier(.2,.7,.2,1) .22s forwards;
}
.hero-slide.is-active .hero-copy p{
  animation:rcFadeBlur .9s cubic-bezier(.2,.7,.2,1) .34s forwards;
}
.hero-slide.is-active .hero-buttons{
  animation:rcFadeUp .75s ease .46s forwards;
}
.hero-slide.is-active .hero-card{
  animation:rcFadeUpScale .85s cubic-bezier(.2,.7,.2,1) .38s forwards;
}

@keyframes rcFadeUp{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes rcFadeBlur{
  from{ opacity:0; transform:translateY(26px); filter:blur(8px); }
  to{ opacity:1; transform:translateY(0); filter:blur(0); }
}

@keyframes rcFadeUpScale{
  from{ opacity:0; transform:translateY(24px) scale(.98); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

/* sécurité : si animation ne se joue pas, le texte reste visible sur slide actif */
.hero-slide.is-active .hero-copy,
.hero-slide.is-active .hero-copy h1,
.hero-slide.is-active .hero-copy p,
.hero-slide.is-active .hero-buttons,
.hero-slide.is-active .hero-card{
  visibility:visible !important;
}

@media (max-width:1100px){
  .hero-inner{ grid-template-columns:1fr; }
}

@media (max-width:780px){
  .hero-slider{ min-height:720px; }
  .hero-inner{ min-height:720px; padding:92px 0 108px; }
  .hero-copy h1{ font-size:clamp(34px,11vw,48px); max-width:none; }
  .hero-copy p{ font-size:16px; }
  .hero-card{ padding:22px; }
  .hero-stats{ grid-template-columns:1fr; }
  .hero-prev,
  .hero-next{ width:50px; height:50px; font-size:26px; }
}


/* =========================================================
   V4 PRODUCTION STABLE OVERRIDES
   - Text always visible on active slide
   - Premium motion without depending on JS timing
   - Safer fallback for public front-end rendering
   ========================================================= */
.hero-slide .hero-copy .eyebrow,
.hero-slide .hero-copy h1,
.hero-slide .hero-copy p,
.hero-slide .hero-buttons,
.hero-slide .hero-card{
  opacity:1 !important;
  visibility:visible !important;
}

.hero-slide .hero-copy h1,
.hero-slide .hero-copy p{
  filter:none !important;
}

.hero-slide .hero-copy .eyebrow{ transform:none !important; }
.hero-slide .hero-copy h1{ transform:none !important; }
.hero-slide .hero-copy p{ transform:none !important; }
.hero-slide .hero-buttons{ transform:none !important; }
.hero-slide .hero-card{ transform:none !important; }

.hero-slide.is-active .hero-copy .eyebrow{
  animation:rcV4FadeUp .55s ease both;
}
.hero-slide.is-active .hero-copy h1{
  animation:rcV4TitleIn .7s cubic-bezier(.2,.72,.2,1) both;
}
.hero-slide.is-active .hero-copy p{
  animation:rcV4FadeUp .8s ease both;
}
.hero-slide.is-active .hero-buttons{
  animation:rcV4FadeUp .9s ease both;
}
.hero-slide.is-active .hero-card{
  animation:rcV4CardIn .75s cubic-bezier(.2,.72,.2,1) both;
}

@keyframes rcV4FadeUp{
  from{ opacity:.25; transform:translateY(12px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes rcV4TitleIn{
  from{ opacity:.18; transform:translateY(14px) scale(.985); letter-spacing:-0.03em; }
  to{ opacity:1; transform:translateY(0) scale(1); letter-spacing:-0.04em; }
}

@keyframes rcV4CardIn{
  from{ opacity:.3; transform:translateY(14px) scale(.985); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

.hero-slide.is-active{ pointer-events:auto; }
.hero-slide:not(.is-active){ pointer-events:none; }

@media (prefers-reduced-motion: reduce){
  .hero-slide,
  .hero-slide *,
  .hero-prev,
  .hero-next,
  .hero-dot{
    animation:none !important;
    transition:none !important;
  }
}
