:root {
  --bg: #ffffff;
  --bg-soft: #f1f7fb;
  --card: #ffffff;

  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-light: #38bdf8;

  --text: #0f172a;
  --muted: #475569;
  --white: #ffffff;

  --border: #dceaf3;
  --shadow: 0 16px 35px rgba(2, 132, 199, 0.13);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.logo img,
.site-header .logo img {
  height: 54px !important;
  max-height: 54px !important;
  width: auto !important;
  max-width: 175px !important;
  object-fit: contain !important;
  display: block;
}

.logo span {
  color: var(--primary-dark);
}

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

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

nav a:hover {
  color: var(--primary);
}

/* LIENS FACEBOOK / GOOGLE */

.social-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.social-link:hover {
  color: var(--primary);
}

/* BOUTONS */

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 13px 25px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.22);
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.light {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  box-shadow: none;
}

.btn.light:hover {
  background: var(--bg-soft);
}

.btn.small {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* HERO ACCUEIL */

.hero-photo {
  position: relative;
  min-height: 520px;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 80px 7%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 105, 161, 0.58) 0%,
    rgba(2, 132, 199, 0.32) 45%,
    rgba(15, 23, 42, 0.12) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 820px;
  color: var(--white);
}

.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -1.8px;
  margin-bottom: 24px;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 720px;
}

.white {
  color: var(--white) !important;
}

.actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* HERO PAGE SERVICES */

.page-hero {
  position: relative;
  min-height: 380px;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 70px 7%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 105, 161, 0.70) 0%,
    rgba(2, 132, 199, 0.42) 55%,
    rgba(15, 23, 42, 0.18) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin-bottom: 22px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
}

/* TITRES */

.eyebrow {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.7px;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin-bottom: 24px;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--text);
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text);
}

p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* INTRO */

.intro-section {
  padding: 0 7% 80px;
  background: var(--bg-soft);
}

.intro-card {
  max-width: 1100px;
  margin: -45px auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 45px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
  text-align: center;
}

.intro-card p:last-child {
  max-width: 850px;
  margin: 0 auto;
}

/* SECTIONS */

.section {
  padding: 95px 7%;
  background: var(--bg);
}

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

.section-heading {
  max-width: 850px;
  margin: 0 auto 52px;
  text-align: center;
}

/* CARTES ACCUEIL */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-preview {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.09);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.service-link {
  color: inherit;
  text-decoration: none;
}

.card-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 22px;
}

/* PAGE SERVICES */

.services-detail-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fb 100%);
}

.service-detail {
  max-width: 1100px;
  margin: 0 auto 35px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  scroll-margin-top: 120px;
}

.service-detail-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
}

.service-detail ul {
  margin: 20px 0 25px 20px;
  color: var(--muted);
}

.service-detail li {
  margin-bottom: 8px;
}

/* PHOTOS SERVICES */

.service-with-photo .service-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
}

.service-photo {
  width: 240px;
  height: 170px;
  margin: 8px 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(2, 132, 199, 0.12);
  background: var(--bg-soft);
  cursor: zoom-in;
}

.service-photo img {
  width: 240px !important;
  height: 170px !important;
  max-width: 240px !important;
  max-height: 170px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* GALERIE ACCUEIL */

.gallery {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.12);
  border: 1px solid var(--border);
  transition: 0.25s ease;
  cursor: zoom-in;
}

.gallery img:hover {
  transform: scale(1.025);
}

/* FAQ */

.faq-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fb 100%);
}

.faq-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.09);
}

.faq-item h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.faq-item p {
  margin-bottom: 0;
}

/* AVIS GOOGLE */

.reviews-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fb 100%);
}

.reviews-summary {
  max-width: 1050px;
  margin: 0 auto 35px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 25px;
  align-items: center;
}

.google-badge {
  display: flex;
  align-items: center;
  gap: 15px;
}

.google-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
}

.google-badge strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.google-badge span {
  color: var(--muted);
  font-size: 0.95rem;
}

.rating-box p {
  margin: 5px 0 0;
}

.stars {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 2px;
  font-weight: 900;
}

.small-stars {
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.reviews-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.review-card h3 {
  margin-bottom: 2px;
}

.reviews-note {
  max-width: 850px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.95rem;
}

/* PROCESS */

.process-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fb 100%);
}

.process-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.08);
}

.process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 18px;
}

/* ABOUT */

.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 45px;
  align-items: center;
  max-width: 1260px;
  margin: 0 auto;
}

.about-text {
  background: var(--white);
}

.about-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: var(--white);
  padding: 46px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-box h3,
.about-box p {
  color: var(--white);
}

.about-box .btn {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  box-shadow: none;
}

.about-box .btn:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

/* CONTACT */

.contact-section {
  background: linear-gradient(180deg, #f1f7fb 0%, #ffffff 100%);
}

.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-info-box {
  background: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-info-box h3 {
  color: var(--primary-dark);
  margin-bottom: 22px;
}

.contact-info-item {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-info-item p {
  margin-bottom: 0;
}

.contact-info-item a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.contact-form {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  padding: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 20px;
}

label {
  color: var(--text);
  font-weight: 800;
  display: block;
  margin-bottom: 18px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 15px 17px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.privacy {
  font-size: 0.9rem;
  margin-top: 15px;
}

/* FOOTER */

footer {
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 30px 7%;
}

footer p {
  color: var(--white);
  margin-bottom: 8px;
}

footer p:last-child {
  margin-bottom: 0;
}

footer a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

footer a:hover {
  text-decoration: underline;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .services-preview {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1000px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .social-link {
    font-size: 0.9rem;
  }

  .hero-photo {
    min-height: 460px;
    padding: 65px 5%;
  }

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

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

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

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

  .about-section {
    grid-template-columns: 1fr;
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-with-photo .service-content {
    grid-template-columns: 1fr;
  }

  .service-photo {
    width: 100%;
    height: 240px;
    margin: 22px 0 0;
  }

  .service-photo img {
    width: 100% !important;
    height: 240px !important;
    max-width: 100% !important;
    max-height: 240px !important;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 13px 5%;
  }

  .logo {
    font-size: 1rem;
  }

  .logo img,
  .site-header .logo img {
    height: 42px !important;
    max-height: 42px !important;
    max-width: 135px !important;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero-photo {
    min-height: 430px;
    padding: 55px 5%;
  }

  .hero-text h1,
  .page-hero h1 {
    letter-spacing: -1px;
  }

  .intro-section,
  .section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .intro-card {
    padding: 28px;
    margin-top: -25px;
  }

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

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

  .gallery img {
    height: 245px;
  }

  .reviews-summary,
  .review-card,
  .faq-item {
    padding: 24px;
  }

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

  .contact-form,
  .contact-info-box {
    padding: 26px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .service-detail {
    padding: 28px;
  }

  .service-photo {
    height: 190px;
  }

  .service-photo img {
    height: 190px !important;
    max-height: 190px !important;
  }
}