/* Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Navbar */
.site-header {
  position: relative;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  height: 90px;
}

/* Logo centré */
.logo {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
}

.logo img {
  height: 120px;
  display: block;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-links li a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #111827;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links li a:hover {
  color: #0f766e;
}

/* Menu mobile (burger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: #111827;
  transition: 0.3s ease;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(15, 118, 110, 0.45),
    rgba(15, 23, 42, 0.75)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  max-width: 560px;
}

.hero-card h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* Boutons */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.35);
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #0d9488;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f9fafb;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Grilles */
.grid-2 {
  display: grid;
  gap: 2rem;
}

/* Cartes expertises & prix */
.cards-grid {
  display: grid;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

.expertise-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f766e;
}

/* Bloc partenaire */
.partner-block {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 1rem;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}

/* Contact (mailto) */
.contact-mail {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-mail p {
  font-size: 0.95rem;
  color: #4b5563;
}

.btn-full {
  width: 100%;
  max-width: 420px;
}

/* Footer */
.footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2rem;
}

.footer-logo-block img {
  height: 42px;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 90px;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    width: 200px;
    padding: 0.75rem 1rem;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: 0.3s ease;
  }

  .nav-links.nav-open {
    transform: translateX(0);
  }

  .grid-2,
  .pricing-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .btn-full {
    width: 85%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1.2fr 1fr;
  }

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