:root{
  --green:#1DBF73;
  --green-soft:rgba(29,191,115,.18);
  --dark:#0F172A;
  --dark-soft:#111827;
  --gray:#F8FAFC;
  --line:rgba(255,255,255,.08);
}

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

body{
  font-family:Inter,system-ui,sans-serif;
  line-height:1.8;
  color:#0F172A;

  /* === BG IMAGE GLOBAL (TRÈS TRANSPARENT) === */
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.55),
      rgba(255,255,255,.50)
    ),
    url("images/img.webp") center / cover fixed no-repeat;

  -webkit-font-smoothing:antialiased;
  padding-top:64px;
}

/* ================= HERO ================= */
.hero{
  min-height:100svh;
  background:
    radial-gradient(60% 40% at 50% 20%, rgba(29,191,115,.22), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.45)),
    url("images/img.webp") center / cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
}

.hero-content{
  text-align:center;
  color:#fff;
  max-width:720px;
}

.logo{
  width:120px;
  margin-bottom:20px;
}

.hero h1{
  font-size:1.9rem;
  line-height:1.2;
  margin-bottom:16px;
}

.hero p{
  font-size:.95rem;
  opacity:.95;
}

/* ================= SECTIONS ================= */
.section{
  position:relative;
  padding:72px 18px;

  /* voile ultra léger */
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.60),
      rgba(255,255,255,.65)
    );

  backdrop-filter: blur(1.5px);
}

/* délimiteur section */
.section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:60%;
  height:1px;
  background:
    linear-gradient(
      to right,
      transparent,
      rgba(29,191,115,.6),
      transparent
    );
  transform:translateX(-50%);
}

/* ================= PARAGRAPHES ================= */
.section p{
  max-width:720px;
  margin:0 auto 28px;
  padding-left:18px;
  position:relative;
}

.section p::before{
  content:"";
  position:absolute;
  left:0;
  top:.3em;
  width:4px;
  height:calc(100% - .6em);
  background:linear-gradient(
    to bottom,
    transparent,
    var(--green),
    transparent
  );
  opacity:.45;
}

.section h2{
  text-align:center;
  color:var(--green);
  font-size:1.55rem;
  margin-bottom:36px;
}

/* ================= PARTNERS ================= */
.partner{
  display:grid;
  grid-template-columns:1fr;
  gap:40px;
  align-items:center;
}

.partner-images{
  display:flex;
  flex-direction:column;
  gap:22px;
  align-items:center;
}

.partner-images img{
  max-width:260px;
  width:100%;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,.14);
}

/* ================= PRODUCTS ================= */
.products{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.65),
      rgba(245,247,250,.65)
    );
}

.product-row{
  display:grid;
  grid-template-columns:1fr;
  gap:36px;
  margin-bottom:80px;
}

.product-image img{
  max-width:300px;
  width:100%;
  margin:auto;
  display:block;
  border-radius:18px;
  box-shadow:0 25px 50px rgba(0,0,0,.18);
}

.product-info{
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.70),
      rgba(253,254,254,.75)
    );
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
}

.product-info h3{
  color:var(--green);
  font-size:1.3rem;
  margin-bottom:8px;
}

.tag{
  font-weight:600;
  font-size:.9rem;
  margin-bottom:18px;
}

/* ================= FOOTER ================= */
.site-footer{
  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.60),
      rgba(2,6,23,.70)
    ),
    url("images/bg-energy.jpg") center / cover no-repeat;
  color:#cbd5e1;
  text-align:center;
  padding:72px 20px;
}

.footer-logo{
  width:110px;
  margin-bottom:14px;
}

.footer-tagline{
  font-size:.95rem;
  margin-bottom:10px;
}

.footer-copy{
  font-size:.8rem;
  opacity:.7;
}

/* ================= ANIMATIONS ================= */
.reveal,
.reveal-left,
.reveal-right,
.reveal-x{
  opacity:0;
  transition:1s cubic-bezier(.19,1,.22,1);
}

.reveal{transform:translateY(28px)}
.reveal-left{transform:translateX(-28px)}
.reveal-right{transform:translateX(28px)}
.reveal-x{transform:translateX(-20px)}

.active{
  opacity:1;
  transform:none;
}

.delay{transition-delay:.2s}

/* ================= ACCESSIBILITY ================= */
@media(prefers-reduced-motion:reduce){
  *{transition:none!important}
  .reveal{opacity:1;transform:none}
}

/* ================= DESKTOP ================= */
@media(min-width:900px){

  .hero h1{
    font-size:2.8rem;
  }

  .section{
    padding:120px 8%;
  }

  .partner{
    grid-template-columns:1.2fr .8fr;
    gap:80px;
  }

  .partner.reverse .partner-images{order:2}
  .partner.reverse .partner-text{order:1}

  .product-row{
    grid-template-columns:1fr 1fr;
    gap:80px;
    margin-bottom:120px;
    align-items:center;
  }

  .product-info{
    padding:34px;
  }
}

/* ================= TOP NAV ================= */
.top-nav{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:64px;
  z-index:1000;
  background:rgba(15,23,42,.65);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.nav-inner{
  max-width:1200px;
  height:100%;
  margin:auto;
  padding:0 1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav-logo{
  height:34px;
}

.nav-links{
  display:flex;
  gap:2rem;
  list-style:none;
}

.nav-links a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
  opacity:.85;
}

.nav-links a:hover{
  opacity:1;
}

/* ===== Burger ===== */
.burger{
  display:none;
  background:none;
  border:0;
  cursor:pointer;
}

.burger span{
  display:block;
  width:24px;
  height:2px;
  background:#fff;
  margin:5px 0;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
  .nav-links{
    position:fixed;
    top:64px;
    left:0;
    width:100%;
    background:rgba(15,23,42,.85);
    flex-direction:column;
    padding:2rem;
    transform:translateY(-120%);
    transition:.3s ease;
  }

  .nav-links.active{
    transform:translateY(0);
  }

  .burger{
    display:block;
  }
}


/* ===== Lisibilité texte sur background ===== */
.section p,
.section h2{
  background:rgba(255,255,255,.45);
  backdrop-filter: blur(2px);
  border-radius:10px;
  padding:14px 16px;
}

.section h2{
  display:inline-block;
}

/* ===== Footer lisibilité renforcée ===== */
.site-footer{
  position:relative;
}

.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(2,6,23,.35),
      rgba(2,6,23,.75)
    );
  z-index:0;
}

.site-footer *{
  position:relative;
  z-index:1;
}
