:root{
  --bg:#0f1724;
  --primary:#ef6c00;
  --card:#0b1220;
  --max-width:1200px;
  --accent:#ef6c00; /* couleur au survol */
  --text:#ffffff;    /* couleur par defaut */
  --muted: rgba(255,255,255,0.85);
  --glass: rgba(255,255,255,0.04);
  --shadow: 0 6px 18px rgba(0,0,0,0.25);
  --radius: 12px;
  --gap: 1.1rem;
}

*{
  box-sizing:border-box;
}

html,body{
  height:100%;
  margin:0;
  scroll-behavior: smooth;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}

/* ==== HEADER STICKY ==== */
nav.navbar{
  position:fixed;
  top:0;left:0;right:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap);
  padding:0.05rem 2.6rem;
  background: transparent; /* menu transparent */
  backdrop-filter: blur(6px) saturate(120%);
  box-shadow:none;
  transition: all 0.3s ease;
  z-index:1000;
}

.navbar.hide {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: all 0.3s ease;
}

.site-logo {
  display: inline-block;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 700;
  font-size: 1.4rem; /* taille du logo */
  text-decoration: none;
  line-height: 1;
}

.logo-white {
    color: #ffffff;
}

.logo-orange {
  color: var(--primary);
}

/* optionnel : effet hover */
.site-logo:hover {
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.menu{
  display:flex;
  gap:1rem;
  align-items:center;
  list-style:none;
}

.menu > li{position:relative}

.menu a{
  display:inline-block;
  padding:0.5rem 0.9rem;
  color:var(--muted);
  text-decoration:none;
  border-radius:6px;
  transition:color 180ms ease;
  font-weight:600;
  font-size:0.95rem;
}

/* couleur change au survol */
.menu a:hover, .menu a:focus{
  color: var(--accent);
  background: transparent;
  outline:none;
}

/* sous-menu opaque */
.submenu{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  background:rgba(0, 0, 0, 0.7);
  border-radius:10px;
  padding:0.5rem;
  min-width:220px;
  box-shadow:var(--shadow);
  list-style:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:all 200ms ease;
  z-index:50;
}

.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu,
.menu > li.expanded > .submenu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.submenu li{
  margin:0.2rem 0;
}

.submenu a{
  padding:0.5rem 0.7rem;
  display:block;
  color:var(--muted);
  border-radius:6px;
}

.submenu a:hover, .submenu a:focus{
  color: var(--accent);
  background: transparent;
}

.hamburger{
  display:none;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:10px;
  background:transparent;
  border:1px solid rgba(255,255,255,0.1);
  cursor:pointer;color:var(--muted);
}

@media (max-width:800px){
 .menu{
    position:absolute;
    right:1rem;
    top:64px;
    flex-direction:column;
    background:#1e293b; /* opaque en mobile */
    padding:0.6rem;
    border-radius:10px;
    box-shadow:var(--shadow);
    display:none
  }
  .menu.open{
   display:flex;
  }

 .hamburger{
   display:inline-flex;
  }
}

/* ==== Marquage de page active ==== */
nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

nav a.active {
  color: var(--primary);
  font-weight: bold;
}

/* Hero */
.hero{
  background:linear-gradient(135deg,#071026 0%, #0d2436 60%);
  color:#fff;
  padding:70px 0 60px;
}

.hero-inner{
  display:flex;
  gap:40px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.hero-copy{
  flex:1;
  min-width:280px;
  max-width:640px;
}

.hero h1{
  font-size:36px;
  margin:0 0 16px;
  line-height:1.05;
}

.hero h1 span{
  color:var(--primary);
}

.lead{
  color:var(--muted);
  margin:0 0 20px;
  font-size:17px;
}

.hero-ctas{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.btn-primary{
  background:linear-gradient(90deg,var(--primary),#ff8a3c);
  color:#fff;
  padding:12px 18px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
}

.btn-ghost{
  border:1px solid rgba(255,255,255,0.12);
  color:#fff;
  padding:11px 16px;
  border-radius:8px;
  text-decoration:none;}

.btn-primary:hover, .btn-ghost:hover{
  transform:translateY(-2px);
  transition:transform .16s ease;
}

/* Trust list */
.trust-list{
  list-style:none;
  padding:0;
  margin:10px 0 0;
  color:var(--muted);
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  font-size:14px;
}

.trust-list li{
  display:flex;
  align-items:center;
  gap:8px;
}

/* Visual */
.hero-visual{
  flex:0 0 360px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-visual img{
  max-width:100%;
  height:auto;
  border-radius:8px;
  filter:drop-shadow(0 8px 20px rgba(0,0,0,.6));
}

/* Features */
.features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  padding:40px 0;
}

.feature{
  background:var(--card);
  padding:20px;
  border-radius:10px;
  color:#e6eef8;
}

.feature h3{
  margin:0 0 8px;
}

.feature p{
  margin:0;color:var(--muted);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 3rem 3rem 1rem;
  margin-top: 4rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-about h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  text-align: left;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.4rem;
  opacity: 0.7;
  text-align: left;
}

.footer-links h3,
.footer-map h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--primary);
  text-align: left;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
  text-align: left;
  opacity: 0.7;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 1rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.3s ease-in-out;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-map iframe {
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #ddd;
  opacity: 0.7;
}

/* Responsive */
@media (max-width:900px){
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1{
    font-size:30px;
  }

  .hero-visual{
    flex:0 0 260px;
  }

  .features{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-map iframe {
    width: 100%;
    height: 200px;
  }
  .header-inner{
    height:60px;
  }

  .nav{
    display:none;
  }

  .hero-inner{
    padding-top:6px;
  }

  .hero-visual{order:2;
    width:100%;
    margin-top:20px;
  }

  .hero-copy{
    order:1;
  }

  .features{
    grid-template-columns:1fr;
  }

  .trust-list{
    flex-direction:column;
    gap:8px;
  }
}