/* ========================= */
/* ----- 1. CSS GLOBAL ----- */
/* ========================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
  font-family: 'Montserrat', sans-serif;
  background-color: #222222;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body.loading {
    overflow: hidden;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
}
*, *::before, *::after {
  box-sizing: border-box;
}


/* ================================== */
/* ----- 2. ÉCRAN DE CHARGEMENT ----- */
/* ================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #222222;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}
#preloader-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.preloader-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1001;
  min-height: 250px;
}
#preloader-logo {
  width: 150px;
  height: auto;
}
#preloader-text {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 150px;
  text-align: center;
  margin-top: 50px;
  height: 25px;
  line-height: 25px;
}
#preloader-text .dots {
  display: inline-block;
  margin-left: 5px;
}
#enter-site-btn {
  font-size: 1.1rem;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.4s ease;
  animation: button-pulse-glow 2.5s infinite ease-in-out;
}
#enter-site-btn:hover {
  animation: none;
  background-color: transparent;
  color: #F08024;
  box-shadow: 0 0 20px #F08024;
}
@keyframes button-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(240, 128, 36, 0.6), inset 0 0 5px rgba(240, 128, 36, 0.3);
  }
  50% {
    box-shadow: 0 0 15px #F08024, inset 0 0 10px #F08024;
  }
}


/* ================================== */
/* ----- 3. BARRE DE NAVIGATION ----- */
/* ================================== */

#navbar {
  position: fixed;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: center;
  padding: 20px 20px;
  background-color: #2a2a2a;
  z-index: 1000;
  box-shadow:
    0 0.5px 0 rgba(255, 255, 255, 0.5),
    0 0 8px rgba(0, 0, 0, 0.3);
}
#logo {
  height: 40px; 
  width: auto;
}
#menus {
  list-style: none;
  margin: 0;
  padding: 0; 
  display: flex;
  gap: 20px;
}
#menus a {
  position: relative;
  text-decoration: none; 
  color: white;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s ease;
}
#menus a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: #F08024;
  transition: width 0.3s ease;
  bottom: -21px;
}
#menus a:hover {
  color: #F08024;
}
#menus a:hover::after {
  width: 100%;
}
#menus a.active-link {
  color: #F08024;
}
#menus a.active-link::after {
  width: 100%;
}
.burger-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #F08024;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1000;
}

/* =========================== */
/* ----- 4. HERO SECTION ----- */
/* =========================== */

#hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 150px 20px 100px 20px;
  background-color: #222;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-left {
  flex: 1;
  max-width: 50%;
  margin-left: 100px;
}
.hero-left h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #F08024;
  -webkit-text-stroke: 0px transparent;
  transition: all 0.4s ease;
  margin: 0;
}
.hero-left h1:hover {
  color: #222;
  -webkit-text-stroke: 2px #F08024;
  cursor: default;
  paint-order: stroke fill;
}
.hero-left h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 80px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}
.hero-right {
  flex: 1;
  position: relative;
  height: 400px;
  margin-right: 100px;
}
#hero-canvas {
  position: relative;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  width: 100%;
  height: 100%;
  display: block;
}
.floating-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 300;
  color: #F08024;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
.hero-right::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20px 20px #222;
  pointer-events: none;
  z-index: 10;
}
#hero-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20px 20px #222;
}
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #F08024;
  color: #222222;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border: 2px solid #F08024;
}
.cta-button:hover {
  background-color: transparent;
  border-color: #F08024;
  color: #F08024;
}


/* ======================== */
/* ----- 5. PARALLAXS ----- */
/* ======================== */

.parallax{
  min-height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
#parallax-section {
  background-image: url('../images/design.png');
}
#parallax-section2 {
  background-image: url('../images/bureau.jpg');
}
#parallax-section3 {
  background-image: url('../images/code.png');
}
.parallax-content {
  color: #F08024;
  text-shadow: 5px 5px 10px black;
  max-width: 800px;
}
.parallax-content h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}
.parallax-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}


/* ======================= */
/* ----- 6. SERVICES ----- */
/* ======================= */

#services {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
#services h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 5px 5px 10px black;
}
#services .subtitle {
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 20px;
  margin-top: 0px;
}
#services .underline {
  width: 120px;
  height: 3px;
  background-color: #F08024;
  margin: 0 auto 60px;
  border-radius: 2px;
}
.services-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
}
.services-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}
.services-column.gauche .service div {
  text-align: right;
}
.service {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}
.service i {
  font-size: 1.2rem;
  color: #F08024;
  border: 2px solid #F08024;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.service i:hover {
  background-color: #F08024;
  color: #222;
}
.service h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}
.service p {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 5px;
  line-height: 1.4;
}
.services-center img {
  max-width: 180px;
  height: auto;
  transform: translateY(20px);
}
#smartphone{
  margin-top: 20px;
  filter: drop-shadow(0 0 20px black);
}


/* ============================== */
/* ----- 7. BANDEAU LATÉRAL ----- */
/* ============================== */

#text-scroll-section {
  background-color: #F08024;
  color: #222;
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1;
}
.marquee-content {
  display: inline-block;
}
.marquee-content span {
  margin-right: 0px;
  text-transform: uppercase;
}


/* ===================== */
/* ----- 8. TARIFS ----- */
/* ===================== */

#pricing h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 5px 5px 10px black;
}
#pricing .subtitle {
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 20px;
  margin-top: 0px;
}
#pricing .underline {
  width: 120px;
  height: 3px;
  background-color: #F08024;
  margin: 0 auto 60px;
  border-radius: 2px;
}
#pricing {
  background-color: #222222;
  color: white;
  padding: 20px 20px;
  text-align: center;
  margin-bottom: 30px;
}
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.pricing-card {
  background-color: #2a2a2a;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 30px 20px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pricing-card.visible, .pricing-sidebar.visible {
  opacity: 1;
  transform: translateY(0);
}
.pricing-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 280px;
  max-width: 350px;
  flex: 1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pricing-card h3, .audit-card h3, .specific-dev-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #F08024;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(240, 128, 36, 0.3);
  margin-bottom: 20px;
}
.audit-card h3{
  margin-bottom: 34px;
}
.price-start, .taux-jour-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 0;
}
.price-value, .price-value-day {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: white;
  margin-top: 5px;
  margin-bottom: 30px;
  text-shadow: 5px 5px 10px black;
}
.price-value .currency, .currency-day {
  font-size: 1.5rem;
  font-weight: 500;
  vertical-align: super;
}
.audit-card .features-list {
  margin-top: 42px;
}
.features-list {
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1;
}
.feature-intro {
  font-size: 0.9rem;
  font-weight: 600;
  color: #eee;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
}
.features-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.features-list li i {
  color: #F08024;
  margin-right: 10px;
  font-size: 0.8rem;
  width: 15px;
  text-align: center;
}
.cta-pricing-btn, .cta-sidebar-btn {
  display: block;
  padding: 12px 20px;
  background-color: #F08024;
  border: 2px solid #F08024;
  color: #222222;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: auto;
}
.cta-pricing-btn:hover, .cta-sidebar-btn:hover {
  background-color: transparent;
  border-color: #F08024;
  color: #F08024;
}
.audit-card, .specific-dev-card {
  background-color: #2a2a2a;
  padding: 30px 20px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.specific-dev-card {
  margin-top: auto;
}


/* ======================= */
/* ----- 9. À PROPOS ----- */
/* ======================= */

#about {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
#about .container {
  max-width: 1200px;
  margin: 0 auto;
}
#about h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 5px 5px 10px black;
}
#about .subtitle {
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 20px;
  margin-top: 0px;
}
#about .underline {
  width: 120px;
  height: 3px;
  background-color: #F08024;
  margin: 0 auto 60px;
  border-radius: 2px;
}
.about-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}
.about-item {
  flex: 1;
  max-width: 50%;
}
.about-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F08024;
}
.about-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}
.about-item.text-right {
  text-align: justify;
}
.about-item.text-left {
  text-align: justify;
}
.stats-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 80px 0;
}
.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 10px 0;
}
.stat-item i {
  font-size: 3rem;
  color: #F08024;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}
.reveal-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-target.visible {
  opacity: 1;
  transform: translateY(0);
}
.highlight-word {
  display: inline;
  position: relative;
  line-height: 1.2;
  padding: 2px 0 1px 0;
  overflow: hidden;
  color: #FFFFFF;
  background: linear-gradient(to right, #444444, #444444) no-repeat 0 100%; 
  background-size: 0% 20px;
  transition: background-size 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#about .about-item.is-visible .highlight-word,
#about .about-item.is-visible .highlight-word::before {
  background-size: 100% 20px; 
}


/* ======================= */
/* ----- 10. CONTACT ----- */
/* ======================= */

#contact {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 120px;
}
#contact .container {
  max-width: 1200px;
  margin: 0 auto;
}
#contact h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 5px 5px 10px black;
}
#contact .subtitle {
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 20px;
  margin-top: 0px;
}
#contact .underline {
  width: 120px;
  height: 3px;
  background-color: #F08024;
  margin: 0 auto 60px;
  border-radius: 2px;
}
.contact-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
hr {
  width: 100%; 
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  background-color: #F08024;
  height: 1px;
  border: none;
}
.contact-info {
  flex: 0 0 35%;
  max-width: 400px;
  text-align: left;
}
.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}
.info-item i {
  font-size: 1.5rem;
  color: #F08024;
  margin-right: 15px;
  width: 25px;
  text-align: center;
  padding-top: 4px;
}
.info-item .label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #F08024;
  margin-bottom: 2px;
}
.info-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-form {
  flex: 1;
  text-align: left;
}
.form-style input, .form-style textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #2a2a2a;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-style input:focus, .form-style textarea:focus {
  border-color: #F08024;
  outline: none;
  box-shadow: 0 0 0 1px rgba(240, 128, 36, 0.5);
}
.form-style textarea {
  resize: vertical;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  font-size: 0.8rem;
  color: #aaaaaa;
  line-height: 1.4;
}
.form-consent input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 3px 10px 0 0;
  padding: 0;
  border: 2px solid #F08024;
  background-color: #2a2a2a;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  outline: none;
  transition: background-color 0.2s;
}
.form-consent input[type="checkbox"]:checked {
  background-color: #F08024;
  border-color: #F08024;
}
.form-consent input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #222222;
  font-size: 14px;
  font-weight: bold;
}
.form-consent label {
  cursor: pointer;
}
.cta-form-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #F08024;
  border: 2px solid #F08024;
  color: #222222;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-transform: uppercase;
}
.cta-form-btn:hover {
  background-color: transparent;
  border-color: #F08024;
  color: #F08024;
}
.input-error {
  border: 1px solid #F02424 !important;
  background-color: #fff5e6; 
}
#contact-error {
  text-align: center;
  color: #F02424;
  font-style: italic;
  margin-bottom: 20px;
  display: none;
  font-weight: bold;
}
.reveal-target {
  opacity: 0;
  transform: translateY(30px); 
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.info-item {
  position: relative;
  overflow: hidden; 
}
.info-item.is-visible::after {
  width: 100%;
}


/* ====================== */
/* ----- 11. FOOTER ----- */
/* ====================== */

#bottom-footer {
  background-color: #2a2a2a;
  color: #999;
  padding: 20px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.bottom-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bottom-links a {
  color: #999;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.3s ease;
}
.bottom-links a:hover {
  color: #F08024;
}
.copyright p {
  margin: 0;
}


/* ======================================= */
/* ----- 12. BOUTON "RETOUR EN HAUT" ----- */
/* ======================================= */

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #F08024;
  border: 2px solid #F08024;
  color: #222222;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 900;
  display: none;
  transition: all 0.3s ease;
}
#back-to-top:hover {
  background-color: transparent;
  border-color: #F08024;
  color: #F08024;
}


/* ====================== */
/* ----- 13. MODALE ----- */
/* ====================== */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding-top: 50px;
  
}
.modal-content {
  background-color: #2a2a2a;
  margin: 0% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 1100px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: white;
}
.close-btn {
  color: #F08024;
  float: right;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 20px;
}
.close-btn:hover, .close-btn:focus {
  color: white;
  text-decoration: none;
}
.modal-title {
  text-align: center;
  margin: auto;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #F08024;
}
.modal-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 25px;
  margin-top: 0px;
}
.form-grid {
  display: flex;
  gap: 40px;
}
.form-column {
  flex: 1;
}
.form-column h4 {
  font-size: 1.2rem;
  color: white;
  border-bottom: 2px solid #F08024;
  padding-bottom: 5px;
  margin-bottom: 25px;
}
.modal-form input[type="text"], .modal-form input[type="number"], .modal-form input[type="email"], .modal-form input[type="tel"], .modal-form select, .modal-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #333;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  border-color: #F08024;
  outline: none;
  box-shadow: 0 0 0 2px rgba(240, 128, 36, 0.5);
}
.radio-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.radio-group label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #ccc;
  gap: 5px;
}
.radio-group input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #555;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  background-color: transparent;
}
.radio-group input[type="radio"]:checked {
  border-color: #F08024;
}
.radio-group input[type="radio"]:checked::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #F08024;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal-submit-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: #F08024;
  border: 1px solid #F08024;
  color: #222222;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-transform: uppercase;
}
.modal-submit-btn:hover {
  background-color: transparent;
  color: #F08024;
}
.modal-submit-btn i {
  margin-right: 8px;
}
.modal-form .form-consent {
  margin-bottom: 25px;
}
.modal-info-box {
  background-color: rgba(240, 128, 36, 0.1);
  border: 1px solid rgba(240, 128, 36, 0.3);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.modal-info-box i {
  color: #F08024;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.modal-info-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}
.devis-error {
  text-align: center;
  color: #F02424;
  font-style: italic;
  margin-bottom: 20px;
  font-weight: bold;
  display: none;
}


/* ======================================== */
/* ----- 14. POP-UP SUCCÈS FORMULAIRE ----- */
/* ======================================== */

.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.success-popup-content {
  background-color: #222222;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  color: #FFF;
  font-size: 18px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.success-popup .close-popup-btn {
  margin-top: 20px;
  background-color: #F08024;
  border: 2px solid #F08024;
  color: #222222;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}
.success-popup .close-popup-btn:hover {
  background-color: transparent;
  color: #F08024;
  border-color: #F08024;
}


/* ============================================== */
/* ----- 15. RESPONSIVE (LARGEUR MAX 992PX) ----- */
/* ============================================== */

@media (max-width: 992px) {
  
  /* --- 1. BARRE DE PROGRESSION --- */
  #progress-bar {
    position: fixed;
    top: 69.832px;
    left: 0;
    height: 4px;
    background-color: #F08024;
    width: 0%; 
    z-index: 979;
    transition: width 0.1s ease-out;
  }


  /* --- 2. ÉCRAN DE CHARGEMENT --- */
  #preloader-logo {
    width: 110px; 
    height: auto; 
  }
  #preloader-text {
    font-size: 0.8rem;
  }


  /* --- 3. BARRE DE NAVIGATION --- */
  #navbar {
    padding: 15px 60px 10px 20px;
    justify-content: flex-start;
  }
  .burger-menu-btn {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
  }
  .burger-menu-btn.is-active {
    position: fixed;
    z-index: 999 !important; 
    color: #F08024; 
    font-size: 1.8rem;
  }
  #menus {
    position: fixed;
    top: 0; 
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #222222;
    z-index: 980;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    padding-bottom: 50px;
  }
  #menus.active {
    transform: translateX(0);
  }
  #menus li {
    margin: 30px 0;
    list-style: none;
  }
  #menus li a {
    font-size: 1.5rem;
    border-bottom: 2px solid transparent; 
    transition: all 0.3s ease;
    padding-bottom: 0px;
  }
  #menus li a:hover {
    border-bottom-color: #F08024;
  }
  #menus.active {
    transform: translateX(0);
  }


  /* --- 4. HERO SECTION --- */
  #hero-section {
    flex-direction: column; 
    padding: 100px 20px 0px 20px; 
    align-items: center; 
    text-align: center; 
  }
  .hero-left{
    max-width: 100%;
    margin-left: 0; 
    margin-right: 0;
    margin-bottom: 30px;
  }
  .hero-left h1 {
    font-size: 2.5rem; 
  }
  .hero-left h2 {
    font-size: 1.2rem; 
  }
  .hero-left h3 {
    margin-top: 5px;
    font-size: 1rem; 
  }
  .hero-right {
    display: none;
  }


  /* --- 5. PARALLAX 1 --- */
  #parallax-section {
    background-attachment: scroll;
    min-height: 350px !important;
  }
  #parallax-section h3 {
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
  }
  #parallax-section p {
    font-size: 0.9rem; 
    padding: 0 10px;
  }
  .cta-btn, .open-modal-btn { 
    font-size: 0.9rem;
    padding: 10px 15px;
  }


  /* --- 6. SERVICES --- */
  #services .services-center {
    display: none;
  }
  #services .services-container {
    flex-direction: column; 
    gap: 30px;
    padding: 0 20px; 
    width: 100%;
  }
  #services .services-column {
    width: 100%;
    max-width: 100%;
  }
  #services .subtitle {
    font-size: 1.3rem;
  }
  .services-column.gauche .service {
    display: flex; 
    flex-direction: row-reverse; 
    justify-content: flex-start; 
    align-items: flex-start;    
    gap: 15px; 
    text-align: left;
  }
  .services-column.gauche .service div {
    text-align: left; 
  }


  /* --- 7. BANDEAU LATÉRAL --- */
  #text-scroll-section {
    background-color: #F08024;
    color: #222;
    overflow: hidden;
    white-space: nowrap;
    padding: 5px 5px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-size: 1.7rem;
    line-height: 1;
  }
  #text-scroll-section .marquee-content span {
    font-size: 1rem;
    padding: 0
  }
  #text-scroll-section .marquee-content {
    animation-duration: 5s;
    animation-name: scroll-left;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }


  /* --- 8. TARIFS --- */
  .pricing-card, .pricing-sidebar {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
  }


  /* --- 9. PARALLAX 2 --- */
  #parallax-section2 .parallax-content2 h3 {
    font-size: 1.5rem;
  }
  #parallax-section2 {
    background-attachment: scroll !important;
    background-position: center !important; 
    background-size: cover !important;
    min-height: 200px !important;
  }


  /* --- 10. À PROPOS --- */
  .about-grid {
    display: block;
    gap: 0; 
    margin-bottom: 20px;
  }
  .about-item {
    flex: none; 
    max-width: 100%;
    margin-bottom: 40px; 
  }
  .about-item h3 {
    text-align: center;
  }
  .stats-container {
    flex-wrap: wrap; 
    gap: 30px; 
  }
  .stat-item {
    min-width: 40%; 
  }


  /* --- 11. PARALLAX 3 --- */
  #parallax-section3 .parallax-content3 h3 {
    font-size: 1.5rem;
  }
  #parallax-section3 {
    background-attachment: scroll !important;
    background-position: center !important; 
    background-size: cover !important;
    min-height: 200px !important;
  }


  /* --- 12. CONTACT --- */
  .contact-grid {
    flex-direction: column; 
    width: 100%; 
    max-width: 100%;
  }
  .contact-form {
    order: 1; 
    width: 100%; 
    max-width: 100%;
    margin-bottom: 30px;
  }
  .contact-info {
    order: 2; 
    width: 100%; 
    max-width: 100%;
  }


  /* --- 13. MODALE DE DEVIS --- */
  .modal-content {
    margin: 0 !important; 
    width: 100% !important; 
    height: 100% !important;
    max-width: 100%; 
    max-height: 100vh;
    overflow-y: auto;
    padding: 20px;
  }
  .form-grid {
    flex-direction: column; 
    gap: 0; 
  }
  .form-column {
    flex: none; 
    width: 100%;
    margin-bottom: 20px;
  }
  .modal-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 10px;
  }
  .form-style-1 input[type="text"], .form-style-1 input[type="number"], .form-style-1 input[type="email"], .form-style-1 input[type="tel"], .form-style-1 select, .form-style-1 textarea {
    width: 100%; 
    box-sizing: border-box; 
  }
  .radio-group label {
    display: block;
    margin-bottom: 10px;
  }
}




