* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #0E0C10;
  color: white;
}

/* ================================= */
/* HERO — untouched base             */
/* ================================= */

.hero{
  position: relative;
  min-height: 100vh;
  height: 100svh;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.45) 40%,
      rgba(0, 0, 0, 0) 50%
    ),
    url("../img/background-industrie.webp") center center / cover no-repeat;
  display: flex;
  z-index: 1;
  align-items: stretch;
}

.block{
  background: #6E23BA;
  width: 20px;
  height: 100%;
}

.hero_container{
  padding-top: 80px;
  padding-left: 215px;
  display: flex;
  font-family: 'Nunito', sans-serif;
  height: 100%;
}

.hero_container ul{
  list-style: none;
  display: flex;
  flex-direction: column;
}

.hero_container ul li:last-child{
  margin-top: auto;
  margin-bottom: 100px;
}

.hero_container h1{
  margin-left: -20px;
  margin-top: 200px;
  font-size: 48px;
  font-weight: 800;
}

.hero_container p{
  font-size: 24px;
  font-weight: 100;
  margin-top: 30px;
  margin-left: 30px;
}

.hero_container h2{
  margin-left: 30px;
  font-weight: 700;
  white-space: nowrap;
}

.typing{
  display: inline-block;
  border-right: 3px solid #a259ff;
  padding-right: 6px;
  white-space: nowrap;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink{
  50%{ border-right-color: transparent; }
}

.cursor{
  animation: blink 1s infinite;
}

.hero_container a{
  text-decoration: none;
  color: white;
}

.hero_container a:hover h2{
  text-shadow:
    0 0 10px rgba(162,89,255,0.7),
    0 0 30px rgba(162,89,255,0.4);
}

/* ================================= */
/* CONTENT BASE                      */
/* ================================= */

.service-section{
  padding: 80px 0 40px;
}

.service-container{
  margin: 0;
  padding-left: 215px;
  padding-right: 120px;
  width: auto;
}

.service-block{
  margin-bottom: 70px;
}

.service-block h2{
  font-size: 44px;
  margin-bottom: 26px;
}

.cards-4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cards-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cards-2x2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card{
  background: rgba(20,20,30,0.85);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid #6E23BA;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset;
}

.card h3{
  color: #6E23BA;
  margin: 0 0 10px 0;
  font-size: 22px;
}

.card p{
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-size: 16px;
}

.stack-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.stack-col{
  background: rgba(20,20,30,0.65);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #6E23BA;
}

.stack-col h3{
  color: #6E23BA;
  margin: 0 0 12px 0;
  font-size: 20px;
}

.stack-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack-list li{
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 16px;
}

.stack-list li:last-child{
  border-bottom: none;
}

.process{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.process-step{
  background: rgba(20,20,30,0.65);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #6E23BA;
  transition: box-shadow .35s ease, border-color .35s ease;
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 0 1px rgba(155,92,255,.35), 0 0 12px rgba(155,92,255,.25), 0 0 24px rgba(110,35,186,.18); }
  50%  { box-shadow: 0 0 0 1px rgba(155,92,255,.65), 0 0 20px rgba(155,92,255,.45), 0 0 40px rgba(110,35,186,.28); }
  100% { box-shadow: 0 0 0 1px rgba(155,92,255,.35), 0 0 12px rgba(155,92,255,.25), 0 0 24px rgba(110,35,186,.18); }
}

.process-step.glow{
  border-color: #9b5cff;
  animation: glowPulse 1.2s ease-in-out infinite;
}

.process-step h3{
  margin: 0 0 10px 0;
  color: #6E23BA;
  font-size: 18px;
}

.process-step p{
  margin: 0;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  font-size: 14px;
}

.cta-block{
  background: rgba(36,31,55,0.85);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #6E23BA;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.cta-block h2{
  margin: 0 0 8px 0;
  font-size: 34px;
}

.cta-block p{
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* ================================= */
/* HERO RESPONSIVE — untouched logic */
/* ================================= */

@media (max-width: 1820px){
  .hero_container{ padding-left: 195px; }
  .hero_container h1{ font-size: 46px; margin-top: 190px; }
  .hero_container p{ font-size: 23px; }
}

@media (max-width: 1740px){
  .hero_container{ padding-left: 180px; }
  .hero_container h1{ font-size: 44px; margin-top: 185px; }
  .hero_container p{ font-size: 22px; }
}

@media (max-width: 1680px){
  .hero_container{ padding-left: 165px; }
  .hero_container h1{ font-size: 42px; margin-top: 180px; }
  .hero_container p{ font-size: 21px; }
}

@media (max-width: 1600px){
  .hero{ height: 900px; }
  .hero_container{ padding-left: 150px; }
  .hero_container h1{ font-size: 40px; margin-top: 170px; }
  .hero_container p{ font-size: 20px; }
}

@media (max-width: 1530px){
  .hero{ height: 880px; }
  .hero_container{ padding-left: 140px; }
  .hero_container h1{ font-size: 39px; margin-top: 165px; }
  .hero_container p{ font-size: 19px; }
}

@media (max-width: 1440px){
  .hero{ height: 860px; }
  .hero_container{ padding-left: 125px; }
  .hero_container h1{ font-size: 38px; margin-top: 155px; }
  .hero_container p{ font-size: 18px; }
}

@media (max-width: 1360px){
  .hero{ height: 830px; }
  .hero_container{ padding-left: 110px; }
  .hero_container h1{ font-size: 36px; margin-top: 145px; }
  .hero_container p{ font-size: 17px; }
}

@media (max-width: 1280px){
  .hero{ height: 800px; }
  .hero_container{ padding-left: 95px; }
  .hero_container h1{ font-size: 34px; margin-top: 135px; }
  .hero_container p{ font-size: 16px; }
}

@media (max-width: 1200px){
  .hero{ height: 770px; }
  .hero_container{ padding-left: 75px; }
  .hero_container h1{ font-size: 33px; margin-top: 125px; }
  .hero_container p{ font-size: 15.5px; }
}

@media (max-width: 1120px){
  .hero{ height: 740px; }
  .hero_container{ padding-left: 55px; }
  .hero_container h1{ font-size: 32px; margin-top: 115px; }
  .hero_container p{ font-size: 15px; }
}

@media (max-width: 1040px){
  .hero{ height: 720px; }
  .hero_container{ padding-left: 40px; }
  .hero_container h1{ font-size: 30px; margin-top: 105px; }
  .hero_container p{ font-size: 14.5px; }
}

@media (max-width: 1024px){
  .hero{ height: 680px; }
  .hero_container{
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero_container h1{
    font-size: 30px;
    margin-top: 95px;
  }
  .hero_container p{ font-size: 14px; }
  .hero_container ul li:last-child{ margin-bottom: 60px; }
}

/* ================================= */
/* CONTENT RESPONSIVE                */
/* hero NOT touched                  */
/* ================================= */

@media (max-width: 1440px){
  .service-container{
    padding-left: 120px;
    padding-right: 56px;
  }

  .service-section{
    padding: 72px 0 36px;
  }

  .service-block{
    margin-bottom: 60px;
  }

  .service-block h2{
    font-size: 38px;
    margin-bottom: 22px;
  }

  .cards-4,
  .cards-3,
  .cards-2x2{
    gap: 16px;
  }

  .card{
    padding: 20px;
    border-radius: 16px;
  }

  .card h3{
    font-size: 20px;
    margin-bottom: 8px;
  }

  .card p{
    font-size: 15px;
    line-height: 1.55;
  }

  .stack-grid{
    gap: 16px;
  }

  .stack-col{
    padding: 18px;
    border-radius: 16px;
  }

  .stack-col h3{
    font-size: 18px;
    margin-bottom: 10px;
  }

  .stack-list li{
    font-size: 15px;
    padding: 7px 0;
  }

  .process{
    gap: 12px;
  }

  .process-step{
    padding: 14px;
    border-radius: 14px;
  }

  .process-step h3{
    font-size: 17px;
    margin-bottom: 8px;
  }

  .process-step p{
    font-size: 13px;
    line-height: 1.45;
  }

  .cta-block{
    padding: 24px;
    border-radius: 20px;
  }

  .cta-block h2{
    font-size: 30px;
  }

  .cta-block p{
    font-size: 15px;
  }
}

@media (max-width: 1200px){
  .service-container{
    padding-left: 72px;
    padding-right: 32px;
  }

  .service-section{
    padding: 64px 0 34px;
  }

  .service-block{
    margin-bottom: 52px;
  }

  .service-block h2{
    font-size: 32px;
    margin-bottom: 20px;
  }

  .cards-4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-2x2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card{
    padding: 18px;
  }

  .card h3{
    font-size: 19px;
  }

  .card p{
    font-size: 14px;
  }

  .stack-col{
    padding: 16px;
  }

  .stack-col h3{
    font-size: 17px;
  }

  .stack-list li{
    font-size: 14px;
  }

  .process-step h3{
    font-size: 16px;
  }

  .process-step p{
    font-size: 12.5px;
  }

  .cta-block h2{
    font-size: 28px;
  }
}

@media (max-width: 1024px){
  .service-container{
    padding-left: 28px;
    padding-right: 28px;
  }

  .service-section{
    padding: 56px 0 30px;
  }

  .service-block{
    margin-bottom: 44px;
  }

  .service-block h2{
    font-size: 28px;
    margin-bottom: 18px;
  }

  .cards-4,
  .cards-3,
  .cards-2x2,
  .stack-grid,
  .process{
    gap: 14px;
  }

  .stack-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card{
    padding: 16px;
    border-radius: 14px;
  }

  .card h3{
    font-size: 17px;
    margin-bottom: 8px;
  }

  .card p{
    font-size: 13.5px;
    line-height: 1.5;
  }

  .stack-col{
    padding: 15px;
    border-radius: 14px;
  }

  .stack-col h3{
    font-size: 16px;
    margin-bottom: 8px;
  }

  .stack-list li{
    font-size: 13.5px;
    padding: 6px 0;
  }

  .process-step{
    padding: 13px;
    border-radius: 13px;
  }

  .process-step h3{
    font-size: 15.5px;
    margin-bottom: 7px;
  }

  .process-step p{
    font-size: 13px;
    line-height: 1.45;
  }

  .cta-block{
    padding: 22px;
    border-radius: 18px;
    gap: 16px;
  }

  .cta-block h2{
    font-size: 26px;
  }

  .cta-block p{
    font-size: 14px;
  }
}

@media (max-width: 768px){

  .hero{
    position: relative;
    height: 100vh;
    min-height: 620px;
  }

  .block{
    display: block !important;
    width: 10px;
    height: 100%;
    background: #6E23BA;
    flex: 0 0 10px;
  }

  .hero_container{
    height: 100%;
    padding-top: 72px;
    padding-left: 28px;
    padding-right: 16px;
  }

  .hero_container ul{
    height: 100%;
  }

  .hero_container h1{
    margin-left: -10px;
    margin-top: 150px;
    font-size: 34px;
    line-height: 1.08;
  }

  .hero_container p{
    margin-left: 20px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
  }

  .hero_container h2{
    margin-left: 20px;
    font-size: 22px;
    line-height: 1.2;
  }

  .hero_container ul li:last-child{
    margin-top: auto;
    margin-bottom: 90px;
  }

  .service-container{
    padding-left: 22px;
    padding-right: 22px;
  }

  .service-section{
    padding: 48px 0 26px;
  }

  .service-block{
    margin-bottom: 36px;
  }

  .service-block h2{
    font-size: 24px;
    margin-bottom: 16px;
  }

  .cards-4,
  .cards-3,
  .cards-2x2{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stack-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card{
    padding: 15px;
    border-radius: 14px;
  }

  .card h3{
    font-size: 17px;
  }

  .card p{
    font-size: 13px;
    line-height: 1.5;
  }

  .stack-col{
    padding: 14px;
    border-radius: 14px;
  }

  .stack-col h3{
    font-size: 16px;
  }

  .stack-list li{
    font-size: 13px;
  }

  .process-step{
    padding: 14px;
    border-radius: 14px;
  }

  .process-step h3{
    font-size: 15px;
  }

  .process-step p{
    font-size: 12.5px;
  }

  .cta-block{
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 18px;
  }

  .cta-block h2{
    font-size: 24px;
  }

  .cta-block p{
    font-size: 13.5px;
  }
}

@media (max-width: 560px){
  .hero{
    position: relative;
    height: 100vh;
    min-height: 560px;
  }

  .block{
    display: block !important;
    width: 6px;
    height: 100%;
    background: #6E23BA;
    flex: 0 0 6px;
  }

  .hero_container{
    height: 100%;
    padding-top: 64px;
    padding-left: 16px;
    padding-right: 12px;
  }

  .hero_container ul{
    height: 100%;
  }

  .hero_container h1{
    margin-left: -5px;
    margin-top: 60px;
    font-size: 28px;
    line-height: 1.08;
  }

  .hero_container p{
    margin-left: 12px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.62;
    max-width: 100%;
  }

  .hero_container h2{
    position: relative;
    top: -80px;
    margin-left: 12px;
    font-size: 20px;
    line-height: 1.2;
  }


  .hero_container ul li:last-child{
    margin-top: auto;
    margin-bottom: 72px;
  }

  .service-container{
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-section{
    padding: 40px 0 22px;
  }

  .service-block{
    margin-bottom: 30px;
  }

  .service-block h2{
    font-size: 21px;
    margin-bottom: 14px;
  }

  .card{
    padding: 14px;
    border-radius: 12px;
  }

  .card h3{
    font-size: 16px;
    margin-bottom: 7px;
  }

  .card p{
    font-size: 12.5px;
    line-height: 1.48;
  }

  .stack-col{
    padding: 13px;
    border-radius: 12px;
  }

  .stack-col h3{
    font-size: 15px;
    margin-bottom: 7px;
  }

  .stack-list li{
    font-size: 12.5px;
    padding: 5px 0;
  }

  .process-step{
    padding: 13px;
    border-radius: 12px;
  }

  .process-step h3{
    font-size: 14px;
    margin-bottom: 6px;
  }

  .process-step p{
    font-size: 12px;
    line-height: 1.42;
  }

  .cta-block{
    padding: 18px;
    border-radius: 16px;
    gap: 12px;
  }

  .cta-block h2{
    font-size: 21px;
  }

  .cta-block p{
    font-size: 12.5px;
  }
}

@media (max-width: 390px){
  .hero{
    min-height: 520px;
    background-position: center center;
    background-size: cover;
  }

  .hero_container{
    padding-top: 58px;
    padding-left: 12px;
    padding-right: 10px;
  }

  .hero_container h1{
    margin-top: 128px;
    font-size: 24px;
  }

  .hero_container p{
    margin-left: 10px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero_container h2{
    margin-left: 10px;
    font-size: 17px;
  }

  .hero_container ul li:last-child{
    margin-bottom: 58px;
  }

  .service-container{
    padding-left: 12px;
    padding-right: 12px;
  }

  .service-section{
    padding: 34px 0 20px;
  }

  .service-block{
    margin-bottom: 26px;
  }

  .service-block h2{
    font-size: 19px;
    margin-bottom: 12px;
  }

  .card{
    padding: 12px;
    border-radius: 10px;
  }

  .card h3{
    font-size: 15px;
  }

  .card p{
    font-size: 11.5px;
    line-height: 1.44;
  }

  .stack-col{
    padding: 12px;
    border-radius: 10px;
  }

  .stack-col h3{
    font-size: 14px;
  }

  .stack-list li{
    font-size: 11.5px;
  }

  .process-step{
    padding: 12px;
    border-radius: 10px;
  }

  .process-step h3{
    font-size: 13.5px;
  }

  .process-step p{
    font-size: 11.5px;
  }

  .cta-block{
    padding: 16px;
    border-radius: 14px;
  }

  .cta-block h2{
    font-size: 19px;
  }

  .cta-block p{
    font-size: 11.5px;
  }
}
