:root {
  --navy: #071e63;
  --deep: #061347;
  --blue: #2980b9;
  --blue-dark: #216894;
  --blue-soft: #e8f3f9;
  --cta: #e85d2c;
  --cta-hover: #cf4f22;
  --paper: #f4f8fb;
  --white: #fff;
  --slate: #334155;
  --muted: #64748b;
  --border: #d4e6f1;
  --soft: #e8f3f9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(7, 30, 99, 0.06);
}

.nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo img {
  height: 64px;
  width: auto;
}

.navlinks {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.navlinks a:hover { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: 0.2s transform, 0.2s background, 0.2s box-shadow;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(7, 30, 99, 0.18);
}

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

.btn-primary:hover { background: var(--blue-dark); }

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

.btn-cta:hover { background: var(--cta-hover); }

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

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

.btn-ghost {
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  padding: 12px 24px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 12px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 19, 71, 0.88) 0%, rgba(6, 19, 71, 0.55) 55%, rgba(6, 19, 71, 0.25) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 90px 0 80px;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: #d6eaf5;
  margin: 0 0 28px;
  max-width: 560px;
}

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

/* About */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--paper);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

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

.split-images {
  position: relative;
  min-height: 380px;
}

.split-images img:first-child {
  width: 58%;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(7, 30, 99, 0.15);
}

.split-images img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 6px solid var(--white);
  box-shadow: 0 20px 50px rgba(7, 30, 99, 0.2);
}

.split-image-single img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(7, 30, 99, 0.18);
}

.split-content .section-title {
  text-align: left;
  margin-bottom: 18px;
}

.split-content p {
  color: var(--muted);
  margin: 0 0 16px;
}

.split-content .btn { margin-top: 10px; }

/* CTA band */
.cta-band {
  background: var(--deep);
  color: var(--white);
  padding: 28px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* Section problèmes — titre sur deux lignes */
.section-head--problems {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--problems .section-title {
  text-wrap: balance;
  line-height: 1.2;
}

.section-head--problems .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* Problèmes — 5 cartes : 3 en ligne 1, 2 centrées en ligne 2 */
#problemes .grid-3 {
  grid-template-columns: repeat(6, 1fr);
}

#problemes .grid-3 > .service-card {
  grid-column: span 2;
}

#problemes .grid-3 > .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

#problemes .grid-3 > .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Garanties — liste numérotée, distincte des cartes */
.garanties-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-soft) 100%);
}

.garanties-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
  gap: 56px;
  align-items: start;
}

.garanties-intro .section-title {
  text-align: left;
}

.garanties-intro .section-intro {
  margin-bottom: 28px;
}

.garanties-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(7, 30, 99, 0.08);
}

.garantie-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}

.garantie-item:last-child {
  border-bottom: 0;
}

.garantie-num {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-soft);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.garantie-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.garantie-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Service cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

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

.service-card .body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.service-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

/* Why us */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--muted);
}

.checklist .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

/* Testimonials */
.testimonials {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0;
}

.testimonials .section-title {
  color: var(--white);
  text-align: center;
}

.testimonials .section-intro {
  color: #d6eaf5;
  text-align: center;
  margin: 0 auto 40px;
}

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

.review-card {
  background: var(--white);
  color: var(--slate);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.review-card .stars {
  color: #f8c14a;
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.review-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.review-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Lead magnet box */
.leadbox {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.06);
}

.leadbox img {
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(7, 30, 99, 0.12);
}

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 12px 0;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
}

.faq details p {
  color: var(--muted);
  margin: 12px 0 0;
}

/* Contact */
.contact-section {
  background: var(--paper);
}

.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form .btn-primary {
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  font-size: 14px;
}

.form small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-feedback {
  border-radius: 8px;
  padding: 13px;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
}

.form-feedback--success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-feedback--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.promesse-card {
  background: var(--blue-soft);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

.promesse-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.promesse-card p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
footer {
  background: var(--deep);
  color: #cbd5e1;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a,
.footer-col p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #cbd5e1;
}

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

.footer-sep { color: #94a3b8; }

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Floating call */
.fab-call {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.45);
  text-decoration: none;
}

.fab-call:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(34, 197, 94, 0.5);
}

@media (max-width: 900px) {
  .navlinks { display: none; }

  .split,
  .grid-3,
  .leadbox,
  .footer-grid,
  .garanties-layout {
    grid-template-columns: 1fr;
  }

  .garanties-intro .section-title {
    text-align: center;
  }

  .section-head--problems .section-title br {
    display: none;
  }

  #problemes .grid-3 {
    grid-template-columns: 1fr;
  }

  #problemes .grid-3 > .service-card,
  #problemes .grid-3 > .service-card:nth-child(4),
  #problemes .grid-3 > .service-card:nth-child(5) {
    grid-column: 1;
  }

  .split-images {
    min-height: 280px;
    order: -1;
  }

  .section { padding: 56px 0; }

  .hero .container { padding: 64px 0 56px; }

  .form .two { grid-template-columns: 1fr; }

  .cta-band .container { justify-content: center; text-align: center; }

  .reviews-grid { grid-template-columns: 1fr; }
}
