:root {
  --blue: #0E57D6;
  --white: #ffffff;
  --text: #0e0e0e;
  --light: #f4f4f4;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* HEADER */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue);
}

.logo span {
  font-weight: 800;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--blue);
}

.btn-call {
  background-color: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.btn-call:hover {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14,87,214,0.8), rgba(14,87,214,0.4));
}

.hero-content {
  position: relative;
  padding: 4rem 0;
  max-width: 650px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  opacity: 0.9;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0.6rem 0 0.8rem;
}

.hero-lead {
  font-size: 1rem;
  max-width: 32rem;
}

.hero-actions {
  margin: 1.5rem 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  font-size: 0.95rem;
}

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

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

.btn-primary:hover,
.btn-outline:hover {
  text-decoration: none;
  opacity: 0.9;
}

.hero-phone {
  font-size: 0.9rem;
}

/* SECTIONS */
.section,
.section-alt {
  padding: 3rem 0;
}

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

h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--blue);
}

.page-header {
  padding: 3rem 0 2rem;
  background-color: var(--light);
}

.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: left;
  color: var(--blue);
}

.page-intro {
  max-width: 40rem;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--blue);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  margin: 1rem 1.2rem 0.4rem;
  color: var(--blue);
}

.service-card p {
  margin: 0 1.2rem 0.8rem;
}

.service-link {
  margin: 0 1.2rem 1.2rem;
  font-weight: 600;
}

/* TWO COLS */
.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* SERVICES LAYOUT */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.service-text h2 {
  text-align: left;
}

.service-text ul {
  padding-left: 1.2rem;
}

.service-image .service-img-wrapper {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* FORM */
.form {
  max-width: 480px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  font: inherit;
}

.form-group textarea {
  resize: vertical;
}

/* FOOTER */
.site-footer {
  background-color: var(--blue);
  color: var(--white);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-sub {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-contact a {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 3rem 0;
  }

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

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

  .two-cols,
  .service-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0.5rem 0;
  }

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

  .nav-toggle {
    display: block;
  }

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

  .btn-call {
    font-size: 0.8rem;
  }
}

/* PHONE BUTTON */
.btn-phone-hero {
  display: inline-block;
  margin-top: 1.2rem;
  background-color: #ffffff;
  color: #0E57D6;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: 0.2s ease;
}

.btn-phone-hero:hover {
  background-color: #f0f0f0;
  text-decoration: none;
  transform: translateY(-2px);
}

/* =============================== */
/* BARRE AVIS GOOGLE – VERSION COMPACTE */
/* =============================== */
.google-reviews-top {
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.9rem;
  display: flex; /* alignement sur une seule ligne */
  justify-content: flex-start; /* texte à gauche */
  align-items: center; /* bouton aligné verticalement */
  padding: 0.25rem 1rem; /* réduit la hauteur et ajoute un petit padding horizontal */
  gap: 0.6rem; /* espace entre texte et bouton */
}

.google-reviews-top .google-reviews-top-left {
  flex: none; /* occupe seulement ce dont il a besoin */
  color: var(--text);
  font-weight: 500;
}

.google-reviews-top .google-reviews-top-left span {
  font-weight: 600;
  margin-left: 0.3rem;
}

.google-reviews-top .google-reviews-top-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.35rem 0.9rem; /* réduit la hauteur */
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.google-reviews-top .google-reviews-top-right a:hover {
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 600px) {
  .google-reviews-top {
    flex-wrap: wrap;
    font-size: 0.85rem;
  }
}