
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.5;
}

:root{
  --inotic-primary:  #0E549F;
  --inotic-secondary: #1388A3
}


/*==========================================
          MAIN SECTION 
  =========================================*/

.main{
  position: relative;
  top: 0;
  width: 100vw;
  height: 700px;
  background-image: url("../assets/images/dev.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.main-cover{
  z-index: 100;
  background: linear-gradient(to right, var(--inotic-primary) 0%, color-mix(in srgb, var(--inotic-secondary), transparent 80%) );
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.navbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar-scrolled {
    background-color: var(--inotic-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}


.navbar .container-fluid {
    padding-left: 0 !important; /* On enlève le décalage interne de Bootstrap */
    padding-right: 0 !important;
}

.navbar-brand {
    margin-left: 125px !important; /* On applique exactement la même valeur que ton titre */
    padding: 0;
}

.logo {
    width: 100px; /* Taille fixe pour plus de contrôle */
    margin-left: 0 !important; /* On laisse le navbar-brand gérer la marge */
}

.navbar-nav{
  margin-right: 125px;
}

.navbar-nav > a {
  color: white !important;
  font-size: 18px !important;
}

.main-title-container{
  width: 90%;
  height: 50%;
  margin-left: 125px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  margin-top: 100px;
  padding-top: 100px;
  color: white;
}

.main-top-text{
  font-size: 30px;
  letter-spacing: 3px;
}

.main-bottom-text{
  font-size: 65px;
  letter-spacing: 5px;
}

@keyframes sequenceZoom {
    0% { transform: scale(1); }
    10% { transform: scale(1.25); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}


.main-bottom-text span {
    display: inline-block;
    animation: sequenceZoom 2.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    white-space: pre;
    will-change: transform; 
}

.main-subtitle{
  font-size: 25px;
  letter-spacing: 3px;
}

.main-btns{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.btn-devis{
  background: linear-gradient(to right, var(--inotic-primary), var(--inotic-secondary));
  color: white !important;
  height: 50px;
}

.play-btns{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.btn-play{
  width: 35px;
  height: 35px;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
}

.btn-play > i {
  font-size: 25px;
  background: linear-gradient(to right, var(--inotic-primary), var(--inotic-secondary));  
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-left: 4px;
}

.play-link{
  color: white;
  text-decoration:underline dotted;
  text-underline-offset: 5px;
}

.btn-devis:focus, .btn-play:focus{
  outline: none !important;
  box-shadow: none !important;
  border: none !important; 
}

.play-link:hover{
  color: inherit;
}

.social-media-container{
  width: 50px;
  height: 200px;
  position: absolute;
  top: 65%;
  left: 80%;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.icons-container{
  border-radius: 50px;
  height: 50px;
  width: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.icons{
  font-size: 30px;
  color: white;
}

@keyframes socialPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.1); /* L'icône grossit légèrement */
        box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.icons-container {
    /* ... tes propriétés actuelles ... */
    animation: socialPulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* On décale l'animation pour chaque icône pour un effet plus naturel */
.icons-container:nth-child(1) { animation-delay: 0s; }
.icons-container:nth-child(2) { animation-delay: 0.5s; }
.icons-container:nth-child(3) { animation-delay: 1s; }

/* Effet au survol : on stoppe l'anim et on met en avant */
.icons-container:hover {
    animation-play-state: paused;
    transform: scale(1.2);
    background-color: var(--inotic-secondary); /* Change de couleur au survol */
}

.icons-container:hover .icons {
    color: white !important; /* L'icône devient blanche sur fond bleu */
    -webkit-text-fill-color: white;
}


/*==========================================
          SERVICES SECTION 
  =========================================*/

.services-container {
  width: inherit;
  min-height: 500px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.services-titles{
  width: inherit;
  height: 30%;
}

h2{
  font-size: 25px;
}

.services-content{
  width: inherit;
  height: auto;
}

.services-keyword{
  color: var(--inotic-primary);
}

.services-primary-card{
  background-color: var(--inotic-primary);
}

.services-light-card{
  background-color: #D5E9FF
}

h5{
  font-size: 16px !important;
}

.services-icon > i{
  font-size: 20px;
  font-weight: bold !important;
  color: var(--inotic-primary);
}

.services-btn{
  font-size: 14px !important;
}

/*==========================================
          ABOUT SECTION 
  =========================================*/

.about-container{
  min-height: 750px;
  background-color: var(--inotic-primary);
}

.about-content{
  width: 100%;
  height: auto;
}

.about-desc-container{

  width: 100%;
  height: auto;

}

.about-image{
  background-image: url("../assets/images/team.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  width: 50%;
  height: 350px;
  
}

.about-description{
  width: 50%;
  height: auto;
}

.about-description > h1, .about-description > h2 {
  color: white;
}

.about-keyword{
  color: var(--inotic-secondary);
}

.description{
  color: white;
  text-align: justify;
  font-size: 15px;
}

.inotic-values > h1 {
  color: white;
}

.icon-value{
  border-radius: 50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(to top, var(--inotic-primary), var(--inotic-secondary));
}

@keyframes neon-flicker {
  0%, 100% {
    box-shadow:
      0 0 5px #00f7ff,
      0 0 15px #00f7ff,
      0 0 30px #00f7ff;
  }
  50% {
    box-shadow:
      0 0 2px #00f7ff,
      0 0 5px #00f7ff;
  }
}

.icon-value {
  animation: neon-flicker 2s infinite alternate;
}

.icon-value > i {
  text-align: center;
  color: white;
  font-size: 30px;
}

.value-icon-title{
  font-size: 16px;
  color: white;
}

.value-desc{
  font-size: 14px;
  text-align: center;
  color: white;
  width: 180px;
}

/*==========================================
          REALISATIONS SECTION 
  =========================================*/

  /*DEV*/
.real-btn {
  height: 50px;
  padding: 0 30px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(45deg, var(--inotic-primary), var(--inotic-secondary)) border-box;

  border: 2px solid transparent;
  color: #000;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

.real-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.real-content-container{
  height: auto;
  width: 80%;
}

.real-content{
  height: auto;
}

.landing-page{
  height: 300px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(45deg, var(--inotic-primary), var(--inotic-secondary)) border-box; */

  border: 1px solid transparent;
  color: #000;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;

  overflow-y: auto;     
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
  
}

.landing-scroll {
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: autoScroll 15s linear infinite;
}

.landing-scroll img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;

}

@keyframes autoScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}


.landing-page::-webkit-scrollbar {
  display: none;
}

.landing-page {
  scrollbar-width: none; 
}

.real-project-titles > h5{
  color: var(--inotic-primary);
}

.real-project-btn{
  height: 50px;
  background-color: var(--inotic-primary) !important;
  color: white !important;
  font-size: 13px !important;
}

.real-desc-container{
  width: 50%;
  margin: auto;
}

.landing-page-img {
  width: 40%;
}

.real-description{
  text-align: justify;
}

.projects{
  display: none;
}

.projects.active{
  display: block;
}

.real-btn.active {
  background: linear-gradient(
    45deg,
    var(--inotic-primary),
    var(--inotic-secondary)
  );
  color: white;
  border: none;
}

.real-btn.active:hover{
  color: white !important;
}

/*INFRA*/

.infra-video{
  min-height: 100px !important;
}

.infra-video{
  border-radius: 10px;
}

.real-video-desc{
  width: 40%;
}

.infra-video-container{
  height: auto;
}


/*DIGITAL*/

.poster-container{
  border-radius: 10px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(45deg, var(--inotic-primary), var(--inotic-secondary)) border-box;

  border: 1px solid transparent;
  height: 450px;
  padding: 1rem;
}

/* .poster{
  background-image: url("../assets/images/poster.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: auto;
} */

.poster img {
  width: 90%;
}

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scroll-horizontal 25s linear infinite;
}

.scroll-item {
  flex: 0 0 auto;
  width: 260px;
  height: 260px;
  margin-right: 24px;
  border-radius: 18px;
  overflow: hidden;
}

.image-wrapper {
  position: relative; /* 🔑 ANCRAGE */
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-wrapper:hover .scroll-track {
  animation-play-state: paused;
}


/* Animation fluide */
@keyframes scroll-horizontal {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* carte logo */
.logo-card {
  position: absolute;
  bottom: 16px;
  left: 16px;

  width: 90px;
  height: 90px;

  background: white;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* logo dans la carte */
.logo-card img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.click2create{
  background: linear-gradient(to right, var(--inotic-primary), var(--inotic-secondary));
  color: white;
  border-radius: 10px;
}

.btn-text{
  box-shadow: none !important;
}

.click2create > button {
  background: white;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.click2create > p {
  font-size: 16px;
}

.btn-text{
  background-image: linear-gradient(
    45deg,
    var(--inotic-primary),
    var(--inotic-secondary)
  );
  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;
  text-decoration: none !important;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;

  transition: all 0.3s ease;
}

/*==========================================
          CONTACT SECTION 
  =========================================*/

.contact-section {
  position: relative;
  min-height: 100vh;
   background-image: url(../assets/images/clavier.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: auto;
}

.contact-overlay {
  position: absolute;
  inset: 0;
 background: rgba(14, 84, 159, 0.7);
}

.contact-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 10%;
}

.contact-keyword{
  color: var(--inotic-secondary);
}

.contact-title {
  color: white;
}

/* TEXTE NÉON */
.neon-text {
  /* Dégradé du texte */
  background: linear-gradient(
    90deg,
    #4fc3f7,
    #29b6f6
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  /* Glow plus présent mais propre */
  text-shadow:
    0 0 6px rgba(79, 195, 247, 0.55),
    0 0 14px rgba(41, 182, 246, 0.45),
    0 0 24px rgba(41, 182, 246, 0.25);
}


@keyframes softGlowPulse {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(79,195,247,0.55),
      0 0 14px rgba(41,182,246,0.45),
      0 0 24px rgba(41,182,246,0.25);
  }
  50% {
    text-shadow:
      0 0 8px rgba(79,195,247,0.7),
      0 0 18px rgba(41,182,246,0.55),
      0 0 30px rgba(41,182,246,0.35);
  }
}

.neon-text {
  animation: softGlowPulse 3s ease-in-out infinite;
}

.contact-icons{
  border-radius: 50px;
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
    background-image: linear-gradient(rgba(43, 85, 155, 0.2), rgba(43, 85, 155, 0.2)), 
                      linear-gradient(to bottom, #5bb3e5, #2b559b);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    
    transition: transform 0.3s ease;
}

/* -------- GAUCHE -------- */

.contact-label {
  font-size: 14px;
  opacity: 0.8;
}

.contact-info h1 {
  font-size: 40px;
  margin: 10px 0 30px;
}

.highlight {
  color: #6ec6ff;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

/* icônes simples */
.icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* -------- FORMULAIRE -------- */
.contact-form-wrapper{
  margin-top: 6rem !important;
}

.contact-form {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 14px 16px;
  color: white;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  align-self: flex-center;
  padding: 12px 36px;
  border-radius: 5px;
  border: none;
  background: linear-gradient(
    45deg,
    var(--inotic-primary),
    var(--inotic-secondary)
  );
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/*==========================================
          FOOTER SECTION 
  =========================================*/

.footer-section {
  background-color: var(--inotic-primary);
  padding: 60px 0;
  color: white;
}

/* LOGO */
.footer-logo {
  width: 100px;
}

/* SOCIAL */
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 18px;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.footer-sub {
  font-size: 13px;
  opacity: 0.85;
}

/* TITRES */
.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* LISTES */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  color: var(--inotic-secondary);
}

/*==========================================
          MODAL
  =========================================*/

/* overlay */
.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.65);
  backdrop-filter: blur(6px);

  display: flex;
  justify-content: center;
  align-items: center;

  overflow-y: auto;      
  padding: 40px 16px;    
  z-index: 9999;
}

/* modal */
.custom-modal {
  position: relative;
  max-height: 90vh;      
  overflow-y: auto;      
  width: 100%;
  max-width: 600px;

  border-radius: 20px;
  padding: 32px;
}


/* glass effect */
.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  color: white;
}

/* close */
.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* form */
.modal-form input,
.modal-form textarea {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.85);
}

/* modal devis spécifique */
.modal-devis {
  max-width: 700px;
  width: 95%;
  color: white;
}

/* titre */
.modal-title {
  text-align: left;
  margin-bottom: 20px;
}

/* inputs */
.devis-form input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
  color: white;
}

.devis-form input::placeholder {
  color: rgba(255,255,255,0.6);
}

/* budget */
.budget-title {
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  opacity: 0.9;
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.budget-btn {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 13px;
  width: 150px;
}

.budget-btn:hover,
.budget-btn.active {
  background: linear-gradient(
    45deg,
    var(--inotic-primary),
    var(--inotic-secondary)
  );
  border-color: transparent;
}

.next-btn{
  background-color: var(--inotic-secondary) !important;
  color: white !important;
}

.prev-btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}

.prev-btn:hover {
  background: rgba(255,255,255,0.1);
  color: white !important;
}


/* actions */
.modal-actions {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
}

/* steps */
.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

.service-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.service-card {
  position: relative;
  width: 220px;
  height: 160px;
  border-radius: 16px;
  padding: 20px;

  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card i {
  font-size: 34px;
  color: white;
}

.service-card span {
  text-align: center;
  font-size: 15px;
  line-height: 1.3;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--inotic-primary);
}

.service-card.active {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid var(--inotic-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-card::after {
  content: "✓";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 32px;
  height: 32px;

  background: var(--inotic-primary);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.3s ease;
}

.service-card.active::after {
  transform: translateX(-50%) scale(1);
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 30px;
}

.options-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.options-col label {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 14px;
  color: #eaf2ff;
  cursor: pointer;
}


.options-col input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--inotic-secondary);
}

h4{
  font-size: 18px !important;
  color: var(--inotic-secondary);
}

.service-panel {
  display: none;
}

.service-panel.active {
  display: block;
}

.service-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card.active {
  transform: scale(1.05);
  border-color: var(--inotic-primary);
}

.send-btn{
  background-color: var(--inotic-secondary) !important;
  color: white !important;
}

.send-btn:focus{
  border: none !important;
}

.send-btn:hover{
  color: white !important;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
}

/* INPUTS & TEXTAREA */
.devis-form input:focus,
.devis-form textarea:focus {
  outline: none;
  border-color: var(--inotic-secondary);
  box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

/* Pour Bootstrap (si form-control est utilisé ailleurs) */
.form-control:focus {
  border-color: var(--inotic-secondary);
  box-shadow: 0 0 0 0.25rem rgba(79, 195, 247, 0.35);
}

/* ===== FOCUS GLOBAL POUR LE MODAL ===== */
.custom-modal input:focus,
.custom-modal textarea:focus,
.custom-modal select:focus {
  outline: none;
  border-color: var(--inotic-secondary);
  box-shadow: 0 0 0 2px rgba(79, 195, 247, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

/* État normal */
.custom-modal input,
.custom-modal textarea,
.custom-modal select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: all 0.25s ease;
}

/* Placeholder */
.custom-modal input::placeholder,
.custom-modal textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.custom-modal input[type="checkbox"] {
  accent-color: var(--inotic-secondary);
}

.rdv-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.rdv-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rdv-label {
  font-weight: 500;
  color: #fff;
  opacity: 0.85;
}

.rdv-input,
.rdv-textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  color: #fff;
}

.rdv-types,
.rdv-slots {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.rdv-type,
.rdv-slot {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.rdv-type.active,
.rdv-slot.active {
  background: #fff;
  color: #000;
}

.rdv-slot:disabled {
  background: rgba(255,255,255,0.2);
  color: #aaa;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.2);
}

.rdv-slot.active {
  background: #fff;
  color: #000;
}

/* état normal */
.rdv-slot {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

/* hover */
.rdv-slot:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

/* actif (sélectionné) */
.rdv-slot.active {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 600 !important;
  border-color: #ffffff !important;
}

/* hover sur actif (optionnel mais clean) */
.rdv-slot.active:hover {
  background: #f1f1f1;
}

/* désactivé */
.rdv-slot:disabled {
  background: rgba(255, 255, 255, 0.15);
  color: #aaa;
  border-color: rgba(255, 255, 255, 0.15);
  cursor: not-allowed;
  transform: none;
}

/* =========================
   STEP TOAST ERROR
========================= */

.step-toast {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  min-width: 280px;
  max-width: 90%;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: #ffdada;
  background: rgba(180, 60, 60, 0.85);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 20;
}

.step-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.step-toast.hide {
  opacity: 0;
}

.btn-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.poster-container {
    max-width: 1400px;
    margin: 0 auto;
}

.design-card {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
}

.design-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.form-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #dc3545;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 9999;
  font-size: 14px;
}

.form-toast.success {
  background: #28a745;
}

.form-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}
.footer-legal-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--inotic-secondary);
}

.legal-modal-overlay[hidden] {
  display: none;
}

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  background: rgba(10, 20, 35, 0.7);
  backdrop-filter: blur(6px);
}

.legal-modal {
  position: relative;
  width: min(680px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 40px 36px;
  border: 1px solid rgba(14, 84, 159, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #17324d;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.legal-modal .modal-close {
  color: var(--inotic-primary);
}

.legal-modal h2 {
  margin: 0 36px 24px 0;
  color: var(--inotic-primary);
  font-size: 25px;
}

.legal-modal h3 {
  margin: 22px 0 8px;
  color: var(--inotic-primary);
  font-size: 17px;
}

.legal-modal p {
  margin: 0;
  line-height: 1.65;
}

.legal-modal a {
  color: var(--inotic-secondary);
}

.modal-open {
  overflow: hidden;
}
