/* =========================================================
   CORE RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050a14;
  color: #f8fafc;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   GLOBAL LAYOUT
========================================================= */

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.page {
  padding-bottom: 88px;
}

.page-hero {
  padding-top: 10px;
  padding-bottom: 22px;
}

.page-content {
  margin-top: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.page-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   HEADER / MENU.JS
========================================================= */

#site-header {
  width: 100%;
  padding: 14px 0 10px;
  margin: 0;
}

#site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#site-header .logo {
  display: flex;
  align-items: center;
}

#site-header .logo-img {
  height: 34px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

#site-header .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

#site-header .nav-links a {
  color: #3b82f6;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#site-header .nav-links a.active {
  color: #ffffff;
}

#site-header .nav-links a:hover {
  color: #ffffff;
}

#site-header .nav-links a.btn-primary {
  color: #ffffff;
  background: #1d6eea;
  padding: 12px 20px;
  border-radius: 9px;
}

#site-header .nav-links a.btn-primary:hover {
  background: #2f7df0;
  transform: translateY(-1px);
}

/* =========================================================
   PAGE TITLES
========================================================= */

.page-title {
  margin-bottom: 42px;
}

.page-title h1 {
  max-width: 960px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 38px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.page-lead {
  max-width: 680px;
  margin: 0;
  text-align: left;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
  color: #cbd5e1;
}

/* =========================================================
   BUTTONS
========================================================= */

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 800;
}

.btn-primary {
  color: #ffffff;
  background: #1d6eea;
}

.btn-secondary {
  color: #60a5fa;
  background: #101827;
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.btn-primary:hover {
  background: #2f7df0;
}

.btn-secondary:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: #93c5fd;
}

/* =========================================================
   CARDS
========================================================= */

.hero-card,
.offer-item {
  background: #101827;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 16px;
  padding: 30px;
}

.hero-card h3,
.offer-item h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 800;
  color: #ffffff;
}

.hero-card p,
.offer-item p {
  font-size: 18px;
  line-height: 1.65;
  color: #d3d9e5;
}

.card-link,
.section-link {
  display: inline-block;
  margin-top: 18px;
  color: #3b82f6;
  font-size: 15px;
  font-weight: 700;
}

.card-link:hover,
.section-link:hover {
  color: #93c5fd;
}

/* =========================================================
   OFFERS
========================================================= */

.offer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}

.offer-badge,
.offer-tag {
  display: inline-block;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  color: #60a5fa;
}

.offer-tag em {
  margin-left: 6px;
  font-style: normal;
  color: #ffffff;
}

.offer-price {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
  color: #93c5fd;
}

.offer-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.offer-action strong {
  color: #60a5fa;
  font-size: 15px;
  font-weight: 800;
}

.offer-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  color: #ffffff;
  background: #3b82f6;
  font-weight: 800;
}

.offer-order:hover {
  background: #60a5fa;
}

/* =========================================================
   SECONDARY SECTIONS
========================================================= */

.home-section {
  margin-top: 78px;
}

.home-section h2 {
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.page-intro {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: #cbd5e1;
}

/* =========================================================
   FOOTER / FOOTER.JS
========================================================= */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 28px 0;
  color: #94a3b8;
  font-size: 13px;
}

.footer-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer a {
  color: #60a5fa;
  font-weight: 700;
}

.site-footer a:hover {
  color: #93c5fd;
}

/* =========================================================
   BRANDIFY
========================================================= */

.brand {
  font-weight: 800;
  color: #ffffff;
}

.brand .blue {
  color: #3b82f6;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .container,
  .footer-container {
    width: min(100% - 32px, 1120px);
  }

  #site-header .nav {
    flex-direction: column;
    gap: 18px;
  }

  #site-header .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-title h1 {
    font-size: 34px;
  }

  .page-lead {
    font-size: 18px;
  }

  .hero-card h3,
  .offer-item h3 {
    font-size: 21px;
  }

  .hero-card p,
  .offer-item p {
    font-size: 16px;
  }

  .offer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
/* HERO PLUS PROCHE DU MENU */
.page-hero {
  padding-top: 4px;
}
.page-hero {
  margin-top: -10px;
}
.page-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.page-right img {
  transform: translateY(40px); /* ajuste ici */
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #c8d1df;
}

/* IMPORTANT : corrige ton bug actuel */
.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 10px;
  background: #07111f;
  color: #ffffff;
  padding: 14px 16px;
  font-size: 15px;
}

/* focus propre */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
}
.page-layout {
  align-items: flex-start;
}

.page-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.page-right img {
  margin-top: -20px; /* ajuste finement */
/* IMAGE HERO ALIGNÉE AVEC LE TEXTE INTRO */
.page-right {
  align-items: flex-start;
}

.page-right img {
  margin-top: -120px;
}}
/* IMAGE HERO ALIGNÉE AVEC LE TEXTE INTRO */
.page-right {
  align-items: flex-start;
}

.page-right img {
  margin-top: -120px;
}

/* HERO GLOBAL */
.page-hero {
  padding-top: 20px;
  text-align: center;
}

/* TITRE */
.page-hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto 24px;
}

/* IMAGE CENTRÉE */
.hero-image {
  display: flex;
  justify-content: center;
  margin: 20px 0 30px;
}

.hero-image img {
  max-width: 520px;
  width: 100%;
  border-radius: 16px;
}

/* TEXTE INTRO */
.page-lead {
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  color: #c8d1df;
}

/* CTA */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
/* MOSAÏQUE 2 COLONNES */
.card-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 55px;
  align-items: stretch;
}

/* cards uniformes */
.card-mosaic .hero-card {
  height: 100%;
}

/* mobile */
@media (max-width: 900px) {
  .card-mosaic {
    grid-template-columns: 1fr;
  }
}
.hero-card {
  transition: all 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 120, 255, 0.15);
}
/* MOSAÏQUE */
.card-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* IMAGE DANS GRID */
.hero-image-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .card-mosaic {
    grid-template-columns: 1fr;
  }
}
.hero-image-grid {
  align-self: stretch;
}
/* OPTIMISATION 15" — faire apparaître 2e ligne */
@media (max-height: 900px) {

  /* HERO un peu plus compact */
  .page-hero {
    padding-bottom: 10px;
  }

  .page-title h1 {
    font-size: 34px;
    margin-bottom: 16px;
  }

  .page-lead {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

  /* MOSAÏQUE plus compacte */
  .card-mosaic {
    gap: 18px;
  }

  /* Cards légèrement réduites */
  .hero-card {
    padding: 20px 24px;
    min-height: 240px;
  }

  /* IMAGE = LE GROS GAIN */
  .hero-image-grid {
    min-height: 240px;
    max-height: 240px;
  }

  .hero-image-grid img {
    height: 240px;
    object-fit: cover;
  }

}
.hero-image-grid {
  background: #07111f;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* IMAGE MOSAÏQUE SANS FOND VISIBLE */
.hero-image-grid {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.hero-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  border-radius: 16px;
}
