:root {
  --navy: #001a70;
  --hero-bg: #0d1b33;
  --hero-shape: #152747;
  --blue: #0061e2;
  --blue-hover: #0052c0;
  --white: #ffffff;
  --text-light: #dbe2f0;
  --text-grey: #6b7690;
  --dark-text: #0a1428;
  --border: #e3e8f0;
  --side-padding: 36px;
  --max-width: 1120px;
  --radius-btn: 10px;
  --radius-card: 16px;
}

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

html { scroll-behavior: smooth; background: #1e2a56; color-scheme: light; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark-text);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============ HEADER ============ */
.header {
  background: var(--white);
  padding: 12px var(--side-padding);
  border-bottom: 1px solid #e3e8f0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.logo svg {
  height: 52px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-text);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover { color: #217ed3; }

/* Burger + tel (mobile uniquement) */
.burger,
.header-phone {
  display: none;
}

.burger {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.burger svg { width: 24px; height: 24px; }

.header-phone {
  width: 44px;
  height: 40px;
  background: var(--blue);
  border-radius: var(--radius-btn);
  align-items: center;
  justify-content: center;
}

.header-phone svg { width: 18px; height: 18px; }

/* ============ HERO ============ */
.hero {
  background: #fafbfd;
  color: #3c4043;
  padding: 60px var(--side-padding) 60px;
  text-align: left;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-text { max-width: 580px; }

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f6f8fb;
  border: 1px solid #e3e8f0;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12.5px;
  margin-bottom: 18px;
}

.hero-rating .stars { color: #FBBC04; display: inline-flex; align-items: center; gap: 1px; }
.hero-rating .score { font-weight: 700; color: #202124; }
.hero-rating .count { color: #5f6368; }
.hero-rating .g-logo { width: 15px; height: 15px; flex-shrink: 0; }

.hero h1 {
  font-size: 54px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0.005em;
  color: #202124;
  margin-bottom: 18px;
}

.hero h1 .urgence {
  color: #217ed3;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: #3c4043;
  margin-bottom: 26px;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 600;
  color: #3c4043;
}

.hero-checks svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #217ed3;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 18px 34px;
  transition: background 0.2s;
}

.btn-call:hover { background: #1b6cb8; }
.btn-call svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Média (photo à droite) --- */
.hero-media { position: relative; }

.hero-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  :root { --side-padding: 5%; }

  .nav { display: none; }
  .header-phone { display: none; }
  .burger { display: flex; order: 2; }
  .logo { order: 1; }

  .header { padding: 10px var(--side-padding); }

  .logo img { height: 40px; }
  .logo svg { height: 40px; }

  .hero {
    padding: 44px var(--side-padding) 40px;
    background: #fafbfd;
    text-align: left;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text { max-width: none; }

  .hero h1 { font-size: 34px; margin-bottom: 14px; }

  .hero h1 .urgence { color: #217ed3; }

  .hero-sub { font-size: 16px; margin-bottom: 20px; }

  .hero-checks {
    gap: 13px;
    margin-bottom: 26px;
  }

  .hero-checks li { font-size: 15px; }

  .btn-call {
    width: 100%;
    padding: 17px 20px;
    font-size: 14.5px;
  }

  .hero-photo { height: 320px; }
}

/* ============ REALISATIONS ============ */
.realisations {
  padding: 40px var(--side-padding) 40px;
  background: var(--white);
}

.realisations-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.realisations-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #16233d;
  margin-bottom: 40px;
}

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

.real-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(20,40,80,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.real-photo {
  width: 100%;
  height: 250px;
  background: #e8edf4 center / cover no-repeat;
  object-fit: cover; /* utile quand .real-photo est une balise <img> */
  display: block;
}

.real-body {
  padding: 22px 22px 26px;
}

.real-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2b4a;
  line-height: 1.3;
  margin-bottom: 12px;
}

.real-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-grey);
  line-height: 1.5;
  margin-bottom: 9px;
}

.real-checks li:last-child { margin-bottom: 0; }

.real-checks svg { width: 17px; height: 17px; flex-shrink: 0; }

/* En-tête de carte : accordéon neutre sur desktop (flèche cachée, checks visibles) */
.real-chevron { display: none; }

@media (max-width: 900px) {
  .realisations { padding: 40px var(--side-padding) 40px; }
  .realisations-title { font-size: 26px; margin-bottom: 28px; }
  .real-grid { grid-template-columns: 1fr; gap: 18px; }
  .real-photo { height: 220px; }

  /* Accordéon mobile : seuls les checks se replient, photo + titre restent visibles */
  .real-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
  }

  .real-body h3 { margin-bottom: 0; }

  .real-chevron {
    display: block;
    width: 22px;
    height: 22px;
    stroke: #8893a8;
    flex-shrink: 0;
    transition: transform 0.25s;
  }

  .real-card.open .real-chevron { transform: rotate(180deg); }

  .real-checks {
    display: none;
    margin-top: 14px;
  }

  .real-card.open .real-checks { display: block; }
}

/* Bannière CTA */
.cta-banner {
  margin-top: 40px;
  background: #1e2a56;
  border-radius: 18px;
  padding: 26px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cb-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cb-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cb-icon svg { width: 26px; height: 26px; stroke: #ffffff; }

.cb-title {
  font-size: 23px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.cb-sub {
  font-size: 14.5px;
  color: #aab3d4;
}

.cb-checks {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: auto;
}

.cb-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
}

.cb-checks svg { width: 16px; height: 16px; flex-shrink: 0; stroke: #217ed3; }

.cb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #217ed3;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s;
}

.cb-btn:hover { background: #1b6cb8; }

.cb-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 900px) {
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
    gap: 20px;
  }
  .cb-checks { margin-left: 0; }
  .cb-btn { width: 100%; justify-content: center; }
}

/* ============ AVIS CLIENTS ============ */
.reviews {
  padding: 64px var(--side-padding) 64px;
  background: var(--white);
}

.reviews-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.reviews-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #16233d;
  margin-bottom: 28px;
}

.google-badge {
  width: fit-content;
  margin: 0 auto 44px;
  background: #eef4ff;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(20,40,80,0.06);
  padding: 18px 30px;
  text-align: center;
}

.gb-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gb-logo { width: 64px; height: auto; flex-shrink: 0; }

.gb-stars { color: #FBBC04; font-size: 24px; display: inline-flex; align-items: center; gap: 2px; }

.gb-score {
  font-size: 40px;
  font-weight: 800;
  color: #217ed3;
  line-height: 1;
}

.gb-of { font-size: 17px; color: var(--text-grey); }

.gb-sub {
  font-size: 14px;
  color: var(--text-grey);
  margin-top: 6px;
}

.gb-sub strong { color: #1a2b4a; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
}

.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 26px 26px 28px;
}

.rv-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.rv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
}

.rv-name {
  font-size: 16px;
  font-weight: 700;
  color: #1a2b4a;
}

.rv-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rv-stars { color: #FBBC04; font-size: 13px; display: inline-flex; align-items: center; gap: 1px; }

.rv-time { font-size: 13px; color: var(--text-grey); }
.rv-time strong { color: #1a2b4a; }

.rv-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #3d4a63;
  margin-bottom: 18px;
}

.rv-photo {
  margin-top: auto;
  width: 300px;
  height: 300px;
  border-radius: 10px;
  background: #e8edf4 center / cover no-repeat;
  object-fit: cover; /* utile quand .rv-photo est une balise <img> */
  display: block;
}

@media (max-width: 900px) {
  .reviews { padding: 48px var(--side-padding) 48px; }
  .reviews-title { font-size: 26px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; }
  .google-badge { padding: 16px 20px; }
  .gb-top { flex-wrap: wrap; gap: 10px; }
  .rv-photo { width: 100%; height: 190px; }
}

/* ============ FAQ ============ */
.faq {
  padding: 64px var(--side-padding) 64px;
  background: var(--white);
}

.faq-panel {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #f4f5f7;
  border-radius: 24px;
  padding: 48px 56px 52px;
}

.faq-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.faq-icon svg { width: 42px; height: 42px; stroke: #16233d; }

.faq-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: #16233d;
  margin-bottom: 34px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(20,40,80,0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: #1a2b4a;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #8893a8;
  transition: transform 0.25s;
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-grey);
}

@media (max-width: 900px) {
  .faq { padding: 44px var(--side-padding) 48px; }
  .faq-panel { padding: 32px 20px 36px; border-radius: 18px; }
  .faq-title { font-size: 23px; margin-bottom: 26px; }
  .faq-item summary { font-size: 14.5px; padding: 17px 18px; }
  .faq-answer { padding: 0 18px 18px; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: #1e2a56;
  color: #cfd6e2;
  padding: 56px var(--side-padding) 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 22px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  color: #c3cad6;
  margin-bottom: 18px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.footer-info svg { width: 18px; height: 18px; stroke: #217ed3; flex-shrink: 0; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-links svg { width: 16px; height: 16px; stroke: #217ed3; flex-shrink: 0; }

.footer-links a { font-size: 14px; color: #cfd6e2; transition: color 0.2s; }
.footer-links a:hover { color: #ffffff; }

.footer-cta-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #217ed3;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 999px;
  transition: background 0.2s;
}

.footer-call-btn:hover { background: #1b6cb8; }

.footer-call-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 18px var(--side-padding);
  font-size: 13px;
  color: #8a93a5;
}

.footer-bottom a { color: #8a93a5; transition: color 0.2s; }
.footer-bottom a:hover { color: #cfd6e2; }

@media (max-width: 900px) {
  .site-footer { padding: 44px var(--side-padding) 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 36px;
  }
  .footer-cta-col { justify-content: flex-start; }
  .footer-call-btn { width: 100%; justify-content: center; }
}
/* ============ MENU MOBILE ============ */
.mobile-menu { display: none; }
.mobile-backdrop { display: none; }

@media (max-width: 900px) {
  .mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 28, 0.5);
    z-index: 290;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .mobile-backdrop.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 80%;
    max-width: 360px;
    background: var(--white);
    z-index: 300;
    padding: 22px 24px 30px;
    box-shadow: -12px 0 40px rgba(8, 14, 28, 0.22);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .mobile-menu.open { transform: translateX(0); }

  .mobile-menu-close {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
  }

  .mobile-menu-close svg { width: 26px; height: 26px; }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
  }

  .mobile-menu-nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    padding: 18px 4px;
    border-bottom: 1px solid var(--border);
  }

  .mobile-menu-call {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #217ed3;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 16px;
    border-radius: 999px;
  }

  .mobile-menu-call svg { width: 18px; height: 18px; }
}

/* ============ CTA FLOTTANT (mobile) ============ */
.floating-call { display: none; }

@media (max-width: 900px) {
  .footer-bottom { padding-bottom: 112px; }

  .floating-call {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #e3e8f0;
    box-shadow: 0 -6px 22px rgba(16,32,60,0.10);
    padding: 14px 14px calc(22px + env(safe-area-inset-bottom));
    z-index: 200;
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }

  .floating-call.show { transform: translateY(0); }

  .floating-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: #217ed3;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
  }

  .floating-call-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
}

/* ============ CONTENU LEGAL ============ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px var(--side-padding) 72px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  color: #16233d;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 34px;
}

.legal-sub-title {
  font-size: 25px;
  font-weight: 800;
  color: #16233d;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 44px 0 10px;
  padding-top: 30px;
  border-top: 1.5px solid var(--border);
}

.legal-block { margin-bottom: 30px; }

.legal-block h2 {
  font-size: 19px;
  font-weight: 700;
  color: #1a2b4a;
  margin-bottom: 12px;
}

.legal-block p {
  font-size: 15px;
  line-height: 1.7;
  color: #3c4043;
  margin-bottom: 12px;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-info { margin-top: 4px; }

.legal-info li {
  font-size: 15px;
  line-height: 1.75;
  color: #3c4043;
}

.legal-block a { color: #217ed3; }
.legal-block a:hover { text-decoration: underline; }

/* Étoiles SVG (avis) — taille calée sur le texte, couleur Google */
.stars svg, .gb-stars svg, .rv-stars svg { width: 1em; height: 1em; flex-shrink: 0; }
