html {
  scroll-behavior: smooth;
}



/* Police personnalisée pour la page arabe */
@font-face {
  font-family: 'ArabicCustom';
  src: url('fonts/arabic-font.woff2') format('woff2'),
       url('fonts/arabic-font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

.page-ar {
  font-family: 'Cairo','Poppins', sans-serif !important;
  direction: rtl;
  text-align: right;
}


      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }


      body {
        font-family: 'Poppins', sans-serif;
        background-color: #0f172a;
        color: white;
        overflow-x: hidden;
      }

      .hero-glass-parallax {
        position: relative;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .css-landscape-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
        
      }

      .sky {
        background: linear-gradient(to bottom, #0f172a, #1e1e60);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
      }

      .stars-layer {
        background: radial-gradient(white 1px, transparent 1px);
        background-size: 50px 50px;
        animation: twinkle 5s infinite linear;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0.5;
      }

      @keyframes twinkle {
        0% { background-position: 0 0; }
        100% { background-position: 50px 50px; }
      }

      .sun {
        position: absolute;
        top: 15%;
        right: 10%;
        width: 160px;
        height: 160px;
        background: radial-gradient(circle, #FFA500, #FF4500);
        border-radius: 50%;
        box-shadow: 0 0 80px rgba(255, 69, 0, 0.8);
        z-index: 0;

      }

      .cloud {
        position: absolute;
        background: #fff;
        border-radius: 50%;
        opacity: 0.3;
        animation: floatClouds 30s linear infinite;
      }

      .cloud1 {
        width: 200px;
        height: 60px;
        top: 20%;
        left: -30%;
        animation-delay: 0s;
      }

      .cloud2 {
        width: 150px;
        height: 50px;
        top: 40%;
        left: -50%;
        animation-delay: 10s;
      }

      @keyframes floatClouds {
        0% { transform: translateX(0); }
        100% { transform: translateX(200vw); }
      }

      .ground {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 100px;
        background: #441c77;
        z-index: 2;
      }

      .wave {
        position: absolute;
        bottom: 100px;
        width: 300%;
        height: 180px;
        transform: translateX(-50%);
        animation: waveMove 8s ease-in-out infinite;
        z-index: 1;
      }

      .wave::before,
      .wave::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        pointer-events: none;
      }

      .wave::before {
        background: radial-gradient(circle at 50% 100%, rgba(113, 41, 196, 0.3) 10%, transparent 70%);
        z-index: 1;
        animation: fadeWave 10s ease-in-out infinite;
      }

      .wave::after {
        background: radial-gradient(circle at 50% 100%, rgba(113, 41, 196, 0.15) 10%, transparent 70%);
        transform: translateY(40px);
        z-index: 0;
        animation: fadeWaveAlt 12s ease-in-out infinite;
      }

      @keyframes waveMove {
        0% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-52%) translateY(6px); }
        100% { transform: translateX(-50%) translateY(0); }
      }

      @keyframes fadeWave {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 0.3; }
      }

      @keyframes fadeWaveAlt {
        0%, 100% { opacity: 0.25; }
        50% { opacity: 0.1; }
      }

      .grid {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 200px;
        background-image:
          linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
          linear-gradient(to top, rgba(255,255,255,0.05) 1px, transparent 1px);
        background-size: 40px 40px;
        z-index: 1;
        transform: perspective(600px) rotateX(60deg);
        opacity: 0.2;
        pointer-events: none;
      }
.tag-populaire {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #69B2F7, #F0469B);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pricing-card {
  position: relative; /* nécessaire pour le placement absolu du tag */
  display: flex;
  flex-direction: column;
}
.pricing-card .cta-btn {
  margin-top: auto;
}


      .skyline {
        position: absolute;
        bottom: 100px;
        width: 100%;
        height: 100px;
        background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 600 100" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path fill="%23441c77" d="M0 100 V40 H20 V20 H40 V60 H60 V30 H80 V50 H100 V10 H120 V70 H140 V40 H160 V60 H180 V20 H200 V80 H220 V40 H240 V60 H260 V20 H280 V90 H300 V10 H320 V70 H340 V40 H360 V60 H380 V30 H400 V90 H420 V20 H440 V60 H460 V30 H480 V80 H500 V10 H520 V60 H540 V40 H560 V90 H580 V20 H600 V100 Z"/></svg>') repeat-x bottom;
        background-size: cover;
        opacity: 0.7;
        z-index: 1;
        pointer-events: none;
      }

.pricing-card ul {
  padding-left: 0;
  text-align: left;
}

.pricing-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px; /* optionnel pour un peu d'indentation */
}

      .scanlines {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: repeating-linear-gradient(
          to bottom,
          rgba(0, 0, 0, 0.05),
          rgba(0, 0, 0, 0.05) 1px,
          transparent 1px,
          transparent 3px
        );
        pointer-events: none;
        z-index: 99;
        animation: flicker 1s infinite linear;
        mix-blend-mode: overlay;
      }

      @keyframes flicker {
        0%, 100% { opacity: 0.05; }
        50% { opacity: 0.15; }
      }

      .hero-content {
        position: relative;
        z-index: 10;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(12px);
        border-radius: 16px;
        padding: 2rem 3rem;
        text-align: center;
        max-width: 700px;
        margin: auto;
      }
@keyframes pulseSun {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 80px rgba(255, 69, 0, 0.8);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 100px rgba(255, 69, 0, 1);
  }
}


      h1 {
        font-size: 2.8rem;
        font-weight: 700;
        background: linear-gradient(to right, #69B2F7, #F0469B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      p {
        font-size: 1.1rem;
        margin: 1rem 0 2rem;
        color: #cbd5e1;
      }

      .cta-button {
        background: linear-gradient(to right, #69B2F7, #F0469B);
        color: white;
        padding: 0.8rem 2rem;
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }

      .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(240, 70, 155, 0.4);
      }
@media (max-width: 480px) {
  .pricing-card {
    padding: 20px 16px;
  }

  .pricing-card h2 {
    font-size: 1.1em;
  }

  .price {
    font-size: 1.3em;
  }

  .pricing-card ul li {
    font-size: 0.85em;
  }

  .card-subtitle {
    font-size: 0.75rem;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .hero-content {
    padding: 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }
}

a {
  text-decoration: none;
}

@media (max-width: 600px) {
  .mockup-box.desktop {
    width: 100%;
  }
}


      @media (max-width: 768px) {
        .hero-content {
          padding: 1.5rem;
        }

        h1 {
          font-size: 2rem;
        }
      }
        .features-section {
        background-color: #0f172a;
        padding: 4rem 2rem;
        text-align: center;
        margin-top : -100px;
      }

      .features-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        background: linear-gradient(to right, #69B2F7, #F0469B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 700;
      }

      .features-section p.subtext {
        max-width: 700px;
        margin: 0 auto 3rem;
        font-size: 1rem;
        color: #cbd5e1;
        line-height: 1.6;
      }

      .features-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
      }
.sky {
  will-change: transform;
}

      .feature {
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(8px);
        border-radius: 50%;
        padding: 2rem;
        height: 260px;
        width: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease;
      }

      .feature i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        background: linear-gradient(to right, #69B2F7, #F0469B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .feature p {
        font-size: 0.95rem;
        color: #e2e8f0;
        text-align: center;
      }

      .feature p small {
        display: block;
        margin-top: 0.5rem;
        font-size: 0.85rem;
      }

      /* Pricing Section */
/* Section globale */
.pricing-glass {
  background: #1f103f;
  padding: 60px 15px; /* réduit */
  display: flex;
  justify-content: center;
}

/* Container */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* légèrement réduit */
  gap: 24px; /* réduit */
  max-width: 1000px; /* réduit */
  width: 100%;
}

/* Cartes */
.pricing-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px; /* légèrement réduit */
  padding: 30px 24px; /* réduit */
  color: white;
  text-align: center;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25); /* plus discret */
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

/* Titre */
.pricing-card h2 {
  font-size: 1.3em; /* réduit */
  margin-bottom: 8px;
  background: linear-gradient(90deg, #ffffff, #d3cfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Prix */
.price {
  font-size: 1.6em; /* réduit */
  margin-bottom: 16px;
  font-weight: bold;
  color: #69B2F7;
}

/* Liste */
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0; /* réduit */
}

.pricing-card ul li {
  margin: 8px 0;
  font-size: 0.9em; /* réduit */
  color: rgba(255, 255, 255, 0.85);
}

/* Sous-titre */
.card-subtitle {
  display: block;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem; /* réduit */
  color: rgba(255, 255, 255, 0.7);
}

/* Bouton (inchangé comme demandé) */
.cta-btn {
  background: linear-gradient(to right, #69B2F7, #F0469B);
  color: white;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(240, 70, 155, 0.4);
}


      .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(240, 70, 155, 0.6);
      }
       .contact-section {
        background: #0f172a;
        color: white;
        padding: 60px 20px;
      }

      .contact-container {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
      }

      .contact-form {
        flex: 1 1 60%;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 2rem;
      }

      .contact-form h2 {
        margin-bottom: 1rem;
        font-size: 1.5rem;
        background: linear-gradient(to right, #69B2F7, #F0469B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }

      .contact-form input,
      .contact-form textarea {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.75rem;
        border: none;
        border-radius: 8px;
        font-family: inherit;
      }

      .contact-form button {
        background: linear-gradient(to right, #69B2F7, #F0469B);
        color: white;
        border: none;
        padding: 0.8rem 1.6rem;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
      }

      .contact-info-wrapper {
        flex: 1 1 35%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .info-block {
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
      }

      .info-block i {
        margin-bottom: 0.5rem;
        font-size: 1.2rem;
      }

      .whatsapp-button {
        margin-top: 1rem;
        border: 2px solid #25D366;
        color: #25D366;
        background: transparent;
        padding: 0.5rem 1rem;
        border-radius: 30px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        width: fit-content;
      }

      .whatsapp-button:hover {
        background: #25D36610;
      }

      @media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info-wrapper {
    flex-direction: column;  /* au lieu de row */
  }

  .info-block {
    flex: unset;
    width: 100%;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
  }
}
        .info-block {
          flex: 1;
        }
      }
   /* Animation for features */
      .feature {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
      }

      .feature.animate {
        opacity: 1;
        transform: translateY(0);
      }
      .pricing-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pricing-card.animate {
  opacity: 1;
  transform: translateY(0);
}
.hero-separator {
  position: relative;
  z-index: 3; /* plus grand que le soleil */
  background: #0f172a; /* #0f172a même couleur que le fond suivant, apres: #441c77 */
  height: 200px;
  width: 100%;


}



.gallery-section {
  padding: 100px 20px;
  background: #0f172a;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.gallery-section h2 {
  font-size: 2.4em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #bdbdfd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-section h2 {
  font-size: 2.4em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #bdbdfd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
text-align : center;
}

.gallery-section .lead {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 60px;
  font-size: 1.2em;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Box for each mockup */
.mockup-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.mockup-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.mockup-box:hover img {
  transform: scale(1.03);
}

/* Size control */
.mockup-box.desktop {
  width: 600px;
}

.mockup-box.mobile {
  width: 300px;
}
.gallery-note {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 20px;
}

.faq-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #111;
}

.gallery-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.faq-item {
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-item h3 {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

.site-footer {
  background: #0f0f0f;
  padding: 2rem 1rem;
  text-align: center;
  color: #ccc;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* si ton logo est noir, ça le rend blanc */
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.7;
}


/* HEADER */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 0px 0; /* Réduction encore plus fine */
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;

}

/* Container */
.main-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo (encore un peu plus grand) */
.header-logo {
  height: 50px; /* ← agrandi légèrement */
  filter: none;
}

.main-nav a {
  margin-left: 18px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 1 rem; /* ← réduit un peu */
  position: relative;
}

/* Hover dégradé */
.main-nav a:hover {
  background: linear-gradient(to right, #69B2F7, #F0469B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Effet scroll */
.main-header.scrolled {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.main-header.scrolled .main-nav a {
  color: white;
}



.hide-header {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Language switcher */

.lang-switcher {
  display: flex;
  gap: 8px;
  z-index: 9999;
}

.lang-btn {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.lang-btn:hover {
  background: linear-gradient(to right, #69B2F7, #F0469B);
  color: white;
  border: none;
}



/* Position bas droite */
.lang-bottom-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
}


