:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #0097b2;
  --cream: #fdf2e2;
  --coral: #f0926a;

  --blue-dark: #007f96;
  --coral-dark: #dc7d54;
  --text: #0d1d53;
  --text-color: #0d1d53;
  --muted: #5f5f5f;
  --border: rgba(0, 0, 0, 0.1);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.1);

  --image-manager: url("/img/menu/manager.webp");
  --image-owner: url("/img/menu/owner.webp");
  --image-tenant: url("/img/menu/tenant.webp");
  --image-artisan: url("/img/menu/artisan.webp");
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Raleway", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

h1,
h2,
h3,
.logo,
.btn {
  font-family: "League Spartan", Arial, sans-serif;
}

header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

[id] {
  scroll-margin-top: 60px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.5px;
}

.logo .logo-text {
  line-height: 1;
  padding-top: 5px;
}

.logo .logo-text-final {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a:hover:not(.btn) {
  color: var(--blue);
}

/* ------- Texte en dégradé au survol --------- */

.nav-links a:not(.btn) {
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.nav-links a:hover:not(.btn) {
  background: linear-gradient(90deg, #f0926a, #0097b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

a.btn-primary:hover {
  background: linear-gradient(90deg, #f0926a, #0097b2);
}

.nav-links a.btn:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* -------- Un soulignement dégradé -------- */

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f0926a, #0097b2);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* -------------------- */

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
  text-align: center;
  cursor: pointer;
  border: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--coral);
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
}

.div-btn-back {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.btn-back {
  white-space: normal;
  box-sizing: content-box;
  margin: 2px 2px 20px 2px;
  color: #fff !important;
  background-color: #616161 !important;
  vertical-align: middle;
}

.btn-back:hover {
  color: #000 !important;
  background-color: #ccc !important;
  box-shadow:
    0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.hero {
  background:
    radial-gradient(
      circle at top left,
      rgba(240, 146, 106, 0.35),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0, 151, 178, 0.3),
      transparent 35%
    ),
    var(--cream);
  padding: 88px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(0, 151, 178, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  font-size: 58px;
  line-height: 0.98;
  margin-bottom: 24px;
  color: var(--black);
  letter-spacing: -1px;
}

.hero p {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px;
}

.hero-card {
  background: var(--white);
  border: 1px solid rgba(0, 151, 178, 0.18);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background: var(--coral);
  border-radius: 50%;
  right: -70px;
  top: -70px;
  opacity: 0.28;
}

.hero-card h3 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.05;
  position: relative;
}

.hero-card ul {
  list-style: none;
  position: relative;
}

.hero-card li {
  margin-bottom: 13px;
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-weight: 600;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 800;
}

section {
  padding: 74px 0;
}

.section-cream {
  background: var(--cream);
}

.website-section-title {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}

.website-section-title h2 {
  font-size: 44px;
  margin-bottom: 16px;
  color: var(--black);
  line-height: 1.04;
  letter-spacing: -0.4px;
}

.website-section-title p {
  color: var(--muted);
  font-size: 18px;
}

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

.trust-card,
.card {
  /* text-align: center; */
  padding: 26px;
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.step,
.problem-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.benefit-box {
  background:
    radial-gradient(
      circle at top left,
      rgba(240, 146, 106, 0.35),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0, 151, 178, 0.3),
      transparent 35%
    ),
    var(--cream);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.card {
  min-height: 235px;
}

.card h3,
.trust-card h3,
.problem-box h3,
.benefit-box h3,
.step h3 {
  color: var(--blue);
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.05;
}

.card p,
.trust-card p,
.problem-box p,
.benefit-box p,
.step p {
  color: var(--muted);
  font-size: 15px;
}

.benefit-grid,
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.problem-box,
.benefit-box {
  border-left: 7px solid var(--coral);
}

.title-benefit {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.mini-cta {
  padding: 38px 0;
  background: var(--white);
}

.mini-cta.section-cream {
  background: var(--cream);
}

.mini-cta-box {
  background:
    radial-gradient(
      circle at top right,
      rgba(240, 146, 106, 0.55),
      transparent 28%
    ),
    var(--blue);
  color: var(--white);
  border-radius: 30px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  box-shadow: var(--shadow);
}

.mini-cta-box h2 {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1.05;
}

.mini-cta-box p {
  opacity: 0.94;
  max-width: 720px;
}

.mini-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 285px;
}

.video-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--black);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
  border: 8px solid var(--cream);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.quote {
  margin-top: 34px;
  background: var(--cream);
  border: 1px solid rgba(240, 146, 106, 0.35);
  border-radius: 28px;
  padding: 30px;
  text-align: center;
  color: var(--black);
}

.quote p {
  font-size: 19px;
  font-style: italic;
  margin-bottom: 10px;
  color: var(--text);
}

.quote span {
  color: var(--muted);
  font-size: 14px;
}

.cta {
  background:
    radial-gradient(
      circle at top left,
      rgba(240, 146, 106, 0.55),
      transparent 30%
    ),
    var(--blue);
  color: var(--white);
  text-align: center;
  padding: 78px 0;
}

.cta h2 {
  font-size: 46px;
  margin-bottom: 18px;
  line-height: 1.05;
}

.cta p {
  max-width: 740px;
  margin: 0 auto 32px;
  font-size: 18px;
  opacity: 0.94;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

footer {
  background: var(--black);
  color: var(--white);
  padding: 34px 0;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--white);
}

footer .social-icons {
  font-size: 36px;
  gap: 15px;
}

.social-icons a:not(:hover) i {
  color: var(--white);
}

.social-icons a:hover .fa-instagram {
  background: linear-gradient(
    45deg,
    #f58529,
    #feda77,
    #dd2a7b,
    #8134af,
    #515bd4
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.box {
  margin: 5px auto;
  padding: 2em;
  position: relative;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 1em;
  box-shadow: 5px 5px 5px rgba(0, 0, 0);
  background: rgb(61 104 117);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

/* Hamburger caché par défaut */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: currentColor; /* adapte à ta couleur */
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Animation ☰ → ✕ */
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 950px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; /* colle sous le header */
    left: 0;
    right: 0;
    background: white; /* adapte à ta couleur de header */
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .benefit-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 44px;
  }

  .mini-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-cta-actions {
    justify-content: flex-start;
    min-width: auto;
  }
}

@media (max-width: 600px) {
  .cards,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0;
  }

  section {
    padding: 54px 0;
  }

  .mini-cta {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .website-section-title h2,
  .cta h2 {
    font-size: 34px;
  }

  .hero-actions,
  .cta-actions,
  .mini-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .mini-cta-box {
    padding: 28px;
  }
}
