/* style.css */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #f59e0b;
  --bg: #f8fafc;
  --dark: #020617;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
}

.topbar {
  position: relative;
  z-index: 3;
  background: white;
  margin: 30px auto;
  padding: 20px 40px;
  max-width: 1200px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}


.hero {
  background: radial-gradient(circle at top right, #3b82f6, var(--primary-dark));
  color: white;
  padding-bottom: 120px;
  position: relative;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
}

nav img { height: 60px; }

.hero-photo {
  min-height: 90vh;
  background-image: url("banniere-fond.png"); /* tu pourras changer l’ */
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55); /* filtre sombre élégant */
}

.logo {
  height: 130px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: #020617;
  font-weight: 600;
}

.topbar .btn-primary {
  background: #f59e0b;
  color: #020617;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
}

.area {
  background: #f1f5f9;
  border-radius: 30px;
}

.area-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.area-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.area-text p {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.area-highlight {
  font-size: 1.15rem;
  font-weight: 600;
}

.area-map iframe {
  width: 100%;
  height: 260px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about {
  background: white;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-intro {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #020617;
}

.about-list li::before {
  content: "✔";
  color: #22c55e; /* vert validation */
  font-weight: bold;
  font-size: 1.2rem;
}
.about-image img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.area {
  position: relative; /* indispensable */
}

.logo-overlap {
  position: absolute;
  left: 50%;
  bottom: -90px;              /* 👈 déborde vers la section suivante */
  transform: translateX(-50%);
  z-index: 5;
}

.logo-overlap img {
  height: 170px;
  filter: drop-shadow(0 25px 45px rgba(0,0,0,0.25));
}


.hero-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-40%);
  /*inset: 0;*/
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.hero-center h1 {
  color: white;
  font-size: 4rem;
  line-height: 1.1;
  max-width: 900px;
}

.hero-center h2 {
  margin-top: 20px;
  font-size: 1.6rem;
  font-weight: 500;
  color: #e5e7eb;
}

.hero-btn {
  margin: 35px 0 25px;
  padding: 18px 42px;
  font-size: 1.05rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: #cbd5f5;
  max-width: 600px;
  margin: auto;
}


.hero-content {
  max-width: 600px;
  padding: 80px 60px;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: .9;
}

.hero-visual {
  position: absolute;
  right: 80px;
  top: 140px;
}

.hero-visual img {
  width: 420px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.4));
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 20px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.section {
  padding: 120px 60px;
  text-align: center;
}

.section-subtitle {
  color: #64748b;
  margin-bottom: 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 40px;
}

.card {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,.08);
  transition: transform .3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 300px;
  margin-bottom: 35px;
}

.dark {
  background: var(--dark);
  color: white;
}

.features {
  display: grid;
  gap: 20px;
  max-width: 600px;
  margin: auto;
  font-size: 1.2rem;
}

.contact {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding-top: 140px;
}

.footer-legal {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: underline;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
}


footer {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 40px;
}


@media (max-width: 900px) {

  .menu {
    display: none;
  }

  .logo {
    height: 100px;
  }

  .hero-center h1 {
    font-size: 2.6rem;
    padding: 0 20px;
  }

  .hero-center h2 {
    font-size: 1.2rem;
  }

  .hero-btn {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .hero-visual {
    display: none;
  }

  .card img {
    width: 140px;
  }

  .about-container,
  .area-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-list li {
    justify-content: center;
  }

  .area-map iframe {
    height: 220px;
  }

  .logo-overlap img {
    height: 120px;
  }

  .logo-overlap {
    bottom: -60px;
  }

  .contact {
    padding-top: 110px;
  }
 }

}
