 :root{
       --bg: #f9fcff;
  --bg-soft: #eef7f5;
  --card: #ffffff;
  --text: #0e2a2f;
  --muted: #6b7b7e;
  --brand: #00a896;
  --brand-2: #028090;
  --line: #dbe7e5;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
    }
    @media (prefers-color-scheme: dark){
      :root{
        --bg:#0b0c0f;
        --bg-soft:#101218;
        --card:#121420;
        --text:#f5f6fa;
        --muted:#9aa3af;
        --line:#202335;
        --shadow: 0 8px 24px rgba(0,0,0,.35);
        --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
      }
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0; background:var(--bg); color:var(--text);
      font: 16px/1.45 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
    }

    /* Header */
    .app{
      min-height:100svh;
      display:flex; flex-direction:column;
    }
    header.appbar{
      position: sticky; top:0; z-index: 10;
      background: linear-gradient(180deg, var(--bg) 70%, transparent);
      padding: 10px 16px 8px;
      backdrop-filter: blur(6px);
      border-bottom: 1px solid var(--line);
    }
    .top-row{
      display:flex; align-items:center; gap:12px; justify-content:space-between;
    }
    .logo{
      display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px;
      font-size:1.1rem; 
    }

    .logo-badge {
  width: 100px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden; /* coupe si l'image dépasse */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

   .logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ou contain selon l’effet souhaité */
}
    .actions{display:flex; gap:8px;}
    .icon-btn{
      width:36px; height:36px; border-radius:12px; border:1px solid var(--line);
      background:var(--card); display:grid; place-items:center; box-shadow:var(--shadow-sm);
      cursor:pointer; transition: transform .1s ease;
    }
    .icon-btn:active{ transform: scale(.96) }

    .searchbar{
      margin-top:10px; display:flex; align-items:center; gap:8px;
      background:var(--card); border:1px solid var(--line); border-radius:999px;
      padding:10px 12px; box-shadow: var(--shadow-sm);max-width: 70%;
    }
    .searchbar input{
      flex:1; border:none; outline:none; background:transparent; color:var(--text);
      font-size:.95rem;
    }

    /* CONTENEUR PRINCIPAL*/
    main{
      padding: 12px 16px calc(var(--nav-height) + 20px + env(safe-area-inset-bottom));
      flex:1;
      background:
        radial-gradient(1200px 200px at 50% -50px, rgba(255,106,0,.08), transparent 60%),
        var(--bg);
    }

    /* Cards, grids, etc */
    .hero{
      position:relative; overflow:hidden; border-radius: 24px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
      color:white; padding:18px; box-shadow: var(--shadow);
    }
    .hero h2{ margin:0 0 6px 0; font-size:1.25rem }
    .hero p{ margin:0; opacity:.95 }
    .hero .cta{
      margin-top:12px; display:inline-flex; align-items:center; gap:8px;
      background:rgba(255,255,255,.15); padding:10px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.25);
      backdrop-filter: blur(4px);
      cursor:pointer;
    }

    .section{
      margin-top:18px;
    }
    .section h3{
      margin:2px 0 10px; font-size:1.05rem;
    }

    .chip-row{
      display:flex; gap:8px; overflow:auto; padding-bottom:2px;
    }
    .chip{
      white-space:nowrap; padding:10px 14px; border-radius:999px;
      background:var(--card); border:1px solid var(--line); box-shadow: var(--shadow-sm); cursor:pointer;
    }

    .grid{
      display:grid; gap:12px;
      grid-template-columns: repeat(2, minmax(0,1fr));
    }
    @media (min-width: 768px){
      .grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
      .hero{ padding:22px }
      main{ padding-left: 24px; padding-right: 24px; }
    }
    @media (min-width: 1024px){
      .grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
      :root{ --nav-height: 70px; }
    }
    .card{
      background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow: var(--shadow-sm);
      display:flex; flex-direction:column; transition: transform .12s ease, box-shadow .2s ease;
      cursor:pointer;
    }
    .card:active{ transform: translateY(1px) }
    .thumb{
      aspect-ratio: 16/11; width:100%;
      background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.15)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.1) 0 2px, transparent 2px 10px);
       place-items:center;
       overflow: hidden;
      border-radius: 14px;
      display: table-column;
      align-items: center;
      justify-content: center;
    }

    /* Image et vidéo partagent le même comportement */
.thumb img,
.thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


    .thumb svg{ opacity:.9 }
    .card .meta{ padding:10px 12px }
    .title{ font-weight:600; font-size:.95rem; margin:0 0 4px }
    .price{ font-weight:700 }
    .old{ color:var(--muted); text-decoration: line-through; font-weight:500; margin-left:6px; font-size:.9rem }
    .row{ display:flex; align-items:center; justify-content:space-between; gap:8px }

    /* Tabs content containers */
    .tab-panel{ display:none; animation: fade .18s ease-in }
    .tab-panel.active{ display:block }
    @keyframes fade{ from{ opacity:0; transform: translateY(4px)} to{ opacity:1; transform:none }}

   /* Bottom Navigation Moderne */
nav.tabbar {
  position: fixed;
  bottom: 16px; /* Légèrement au-dessus du bord */
  left: 50%;
  transform: translateX(-50%);
  height: 64px;
  width: min(90%, 480px);
  padding: 8px 12px;
  
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);

  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 20;
  transition: background 0.3s ease;
}
@media (prefers-color-scheme: dark) {
  nav.tabbar {
    background: rgba(24, 26, 32, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
}


/* ===============================
   ANIMATION CARROUSEL GOSHEN
================================ */

/* =====================================================
   CARROUSEL GOSHEN — RESPONSIVE RÉEL (SANS HAUTEUR FIXE)
===================================================== */

/* ===== CARROUSEL ===== */
.carousel {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}

.slides {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 5s infinite;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.slide img {
  width: 35%;
  height: 250px;
  object-fit: cover;
}

.slide h2 {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  z-index: 2;
  text-shadow: 0 3px 10px rgba(0,0,0,0.7);
}

/* OVERLAY GRADIENT (lisibilité texte) */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: dots 12s infinite;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 4s; }
.dots span:nth-child(3) { animation-delay: 8s; }

/* ANIMATION SLIDE */
@keyframes slide {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(0); }

  35%  { transform: translateX(-100%); }
  65%  { transform: translateX(-100%); }

  70%  { transform: translateX(-200%); }
  95%  { transform: translateX(-200%); }

  100% { transform: translateX(0); }
}

/* ANIMATION DOTS */
@keyframes dots {
  0%, 33%, 100% { background: rgba(255,255,255,.5); }
  10%, 25% { background: white; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .carousel {
    height: 220px;
  }

  .slide h2 {
    font-size: 1.4rem;
    left: 15px;
    bottom: 15px;
  }
}
/* ================================================================
                FIN CARROUSEL 
===================================================================*/

/* Boutons navigation */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 80% 80%;
  filter: drop-shadow(0 0 4px rgba(0,0,0,.6));
}

/* Indicateurs (si ajoutés plus tard) */
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.6);
}

.carousel-indicators .active {
  background-color: #00bbf0;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-item img {
    height: 200px;
  }
}


/* Onglets */
.tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.tab {
  flex: 1;
  display: flex;
  background:none;
  border:none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.tab svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  transition: transform 0.25s ease, stroke 0.3s ease;
}

.tab.active {
  color: var(--brand);
  font-weight: 600;
}
.tab.active svg {
  transform: scale(1.25);
  stroke: var(--brand);
}

/* Effet highlight (remplace .ink) */
.tab::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.tab.active::after {
  opacity: 0.25;
  transform: scaleX(1);
}

/* Badge notification */
.badge {
  position: absolute;
  top: 4px;
  right: 22%;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 5px;
  box-shadow: var(--shadow-sm);
}
    /* Utility icons */
    .i{ width:22px; height:22px; display:block }
    .i-lg{ width:24px; height:24px }
    .muted{ color:var(--muted) }

    /* Floating CTA (optional) */
    .fab{
      position: fixed; right:16px; bottom: calc(var(--nav-height) + 16px + env(safe-area-inset-bottom));
      width:56px; height:56px; border-radius:18px; background: linear-gradient(135deg, var(--brand), var(--brand-2));
      box-shadow: 0 12px 28px rgba(255,106,0,.28);
      display:grid; place-items:center; border:none; color:white; cursor:pointer;
    }
    .fab:active{ transform: translateY(1px) }
    .toast{
      position: fixed; left:50%; bottom: calc(var(--nav-height) + 90px + env(safe-area-inset-bottom));
      transform: translateX(-50%); background: var(--card); color:var(--text);
      border:1px solid var(--line); border-radius: 12px; padding:10px 14px; box-shadow: var(--shadow-sm);
      display:none;
    }
    .toast.show{ display:block; animation:fade .18s ease-in }
/* //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Conteneur des tabs */
.tabs-container {
  overflow-x: auto;
  border-bottom: 2px solid #eee;
  margin-bottom: 15px;
}
.tabs-scroll {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  min-width: max-content;
}
.tab-button {
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  background: #f2f2f2;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tab-button.active {
  background: #007bff;
  color: white;
  font-weight: 600;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

/* Contenu onglets */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.tab-content.active {
  display: block;
}
.tab-title {
  margin-bottom: 12px;
  font-size: 18px;
  color: #222;
}

/*=======================================
                   CHATBOT
==========================================*/
#faq .card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}
#faq .card:hover {
  transform: translateY(-3px);
}
#faq .card-title {
  font-size: 1rem;
  color: #2c3e50;
}
#faq .muted {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 0.3rem;
}

/* Zone question utilisateur (style chat) */
.faq-question-box {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 0.4rem 0.8rem;
  margin-top: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}


.faq-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  padding: 0.6rem;
  font-size: 0.95rem;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.send-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-left: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.send-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1c5d8a);
}
/*//////////////////////////////////////////////////////////////////////////////////////////////////////*/
a{
text-decoration-line: none;
text-decoration: none;}

/* client section end */
.info_section {
  background-color: #113;
  color: #ffffff;
  padding: 45px 0 15px 0;
}

.info_section h4 {
  font-weight: 600;
  margin-bottom: 20px;
}

.info_section .info_col {
  margin-bottom: 30px;
}

.info_section .info_contact .contact_link_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.info_section .info_contact .contact_link_box a {
  margin: 5px 0;
  color: #ffffff;
}

.info_section .info_contact .contact_link_box a i {
  margin-right: 5px;
}

.info_section .info_contact .contact_link_box a:hover {
  color: #00bbf0;
}

.info_section .info_social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 20px;
  margin-bottom: 10px;
}

.info_section .info_social a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #ffffff;
  border-radius: 100%;
  margin-right: 10px;
  font-size: 24px;
}

.info_section .info_social a:hover {
  color: #003;
}

.info_section .info_links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.info_section .info_links a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
  color: #ffffff;
}

.info_section .info_links a:hover {
  color: #0c5;
}

.info_section form input {
  border: none;
  border-bottom: 1px solid #ffffff;
  background-color: transparent;
  width: 100%;
  height: 45px;
  color: #ffffff;
  outline: none;
}

.info_section form input::-webkit-input-placeholder {
  color: #777
}

.info_section form input:-ms-input-placeholder {
  color: #777
}

.info_section form input::-ms-input-placeholder {
  color: #777
}

.info_section form input::placeholder {
  color: #777;
}

.info_section form button {
  width: 100%;
  text-align: center;
  display: inline-block;
  padding: 10px 55px;
  background-color: #eee;
  color: #113;
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: none;
  margin-top: 15px;
}

.info_section form button:hover {
  background-color: #113 !important;
}

/* footer section*/
.footer_section {
  position: relative;
  background-color: #113;
  text-align: center;
}

.footer_section p {
  color: #abc;
  padding: 25px 0;
  margin: 0;
}

.footer_section p a {
  color: inherit;
}


/*Bouton pour ouvrir le formlulaire de demande*/

.btn-open-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #00bbf0, #0066ff);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.35);
  transition: all 0.3s ease;
}

.btn-open-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.45);
}

.btn-open-form:active {
  transform: scale(0.96);
}

/* Icône */
.btn-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/*============================================
                section services
==============================================*/
.services {
  display: flex;
  flex-direction: column;   /* une seule colonne */
  gap: 16px;                /* espace léger entre les slides */
  padding: 16px;
}

.scrolling-text{
        overflow: hidden;
        white-space: nowrap;
        font-size: 20px;
    }

    .scrolling-text span{
        justify-content: center;
        display: inline-block;
        padding-left: 100%;
        color: black;
        animation: scroll-text 10s linear infinite;
    }

    @keyframes scroll-text {
        0% {transform: translateX(0);}
        100% {transform: translateX(-100%);}
    }


/* Chaque slide */
.services .slide {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Effet léger au survol */
.services .slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* Image responsive */
.services .slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Titre */
.services .slide h2 {
  margin: 0;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  background: #f9fafb;
  text-align: center;
}




