:root {
  --blue: #0b2a45;
  --green: #1f6b32;
  --green-soft: #2f8546;
  --gray: #6f7782;
  --light: #f5f7f9;
  --border: #dde3e8;
  --shadow: 0 12px 30px rgba(11, 42, 69, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--blue);
  background: #fff;
  line-height: 1.55;
}

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

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

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

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #edf0f3;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  flex: 0 0 350px;
}

.brand img {
  width: 350px;
  height: auto;
  max-height: none;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  margin-left: 10px;
  margin-right: 18px;
}

.main-nav a {
  font-size: 16px;
  line-height: 1.2;
  color: #28405a;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-dark {
  background: var(--blue);
  color: #fff;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.nav-cta,
.quote-button {
  padding: 12px 18px;
  white-space: nowrap;
  margin-left: 0;
}

/* ================= HERO ================= */

.hero {
  padding: 34px 0 26px;
  background: linear-gradient(180deg, #f7fafb 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  gap: 28px;
}

.hero-copy {
  padding: 52px 0 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--green);
}

.hero h1 {
  font-size: 58px;
  line-height: 1.03;
  margin: 0 0 18px;
}

.hero p {
  font-size: 22px;
  max-width: 720px;
  color: #344960;
  margin: 0 0 28px;
}

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

.hero-media {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 470px;
  background: #e9eef2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= PÔLES ================= */

.poles {
  padding: 24px 0 16px;
}

.poles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pole-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.pole-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.pole-thumb {
  width: 126px;
  height: 126px;
  border-radius: 18px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid #e6ebef;
}

.pole-card h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: .01em;
}

.pole-card h2 span {
  color: var(--green);
}

.pole-card p {
  margin: 6px 0 0;
  font-size: 20px;
  color: #415770;
  font-weight: 600;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  list-style: none;
  padding: 8px 0 0;
  margin: 0 0 18px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #24384f;
  font-size: 17px;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-weight: 900;
}

.link-download {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

/* ================= SERVICES ================= */

.services {
  padding: 30px 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title span {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.section-title h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
}

.small-gap {
  margin-bottom: 22px;
}

.services-columns,
.services-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.service-column {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.column-title {
  padding: 14px 20px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.column-title.blue {
  background: var(--blue);
}

.column-title.green {
  background: var(--green);
}

.service-grid {
  display: grid;
  gap: 0;
}

.bet-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.build-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-item {
  padding: 30px 20px 28px;
  border-right: 1px solid #edf1f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 245px;
  overflow: visible;
}

.service-grid .service-item:last-child {
  border-right: none;
}

.service-item img {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

.service-item h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  min-height: 50px;
}

.service-item p {
  font-size: 14px;
  color: #496076;
  margin: 0;
}

/* ================= POURQUOI NOUS CHOISIR ================= */

.why-us {
  padding: 30px 0 18px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
}

.why-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 21px;
  line-height: 1.22;
  margin: 0 0 10px;
}

.why-card p {
  margin: 0;
  color: #465c73;
  font-size: 15px;
}

/* ================= RÉALISATIONS ================= */

.realisations {
  padding: 32px 0;
}

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

.real-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.real-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.real-content {
  padding: 18px 20px 22px;
}

.real-content h3 {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.28;
}

/* ================= CONTACT ================= */

.contact-strip {
  margin-top: 18px;
  background: linear-gradient(135deg, #08223a 0%, #0b2a45 65%, #133a5e 100%);
  color: #fff;
}

.contact-strip-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}

.contact-intro h2 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.08;
}

.contact-intro p {
  margin: 0;
  font-size: 19px;
  color: #d6e0ea;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
}

.contact-item img {
  width: 24px;
  height: 24px;
}

/* ================= FOOTER ================= */

.site-footer {
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 26px;
  padding: 32px 0 22px;
  border-bottom: 1px solid #edf0f3;
}

.footer-brand img {
  width: 380px;
  max-width: 100%;
  height: auto;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 8px;
  color: #4e647b;
}

.copyright {
  text-align: center;
  color: #66707b;
  padding: 14px 10px 22px;
  font-size: 14px;
}

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

@media (max-width: 1180px) {
  .brand {
    flex: 0 0 320px;
  }

  .brand img {
    width: 320px;
  }

  .main-nav {
    gap: 12px;
    margin-left: 6px;
    margin-right: 12px;
  }

  .main-nav a {
    font-size: 15px;
  }

  .nav-cta,
  .quote-button {
    padding: 11px 16px;
  }

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

  .hero p {
    font-size: 20px;
  }

  .service-item h3 {
    font-size: 17px;
  }

  .real-content h3 {
    font-size: 21px;
  }
}

@media (max-width: 1024px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand img {
    width: 300px;
  }

  .hero-grid,
  .poles-grid,
  .services-columns,
  .real-grid,
  .footer-grid,
  .contact-strip-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .hero-media {
    min-height: 320px;
  }

  .bet-grid,
  .build-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-item:nth-child(2n) {
    border-right: none;
  }

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

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 260px;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 22px;
  }

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

  .hero p {
    font-size: 18px;
  }

  .pole-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pole-thumb {
    width: 100%;
    height: 200px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .bet-grid,
  .build-grid,
  .why-grid,
  .real-grid {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid #edf1f4;
  }

  .service-grid .service-item:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* Correction du décalage quand on clique sur le menu */
section[id] {
  scroll-margin-top: 125px;
}

/* ================= AJUSTEMENTS VERSION BET ================= */
.hero-note {
  font-size: 18px !important;
  color: #496076 !important;
  max-width: 700px;
  margin-top: -12px !important;
}

.pole-main {
  border-top: 5px solid var(--blue);
}

.pole-secondary {
  border-top: 5px solid var(--green);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.card-note {
  color: #465c73;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin: 2px 0 14px !important;
}

.service-column-main {
  border-top: 0;
}

.service-column-support .service-item {
  background: #fbfdfb;
}

.real-content p {
  margin: 8px 0 0;
  color: #496076;
  font-size: 15px;
}

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