/* ========= RESET & VARIABLES ========= */
* {
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  color: color(srgb 0.7977 0.7981 0.8078);
}
:root {
  --bg: color(srgb 0.1187 0.1194 0.1409);
  --text: color(srgb 0.7977 0.7981 0.8078);
  --accent: color(srgb 0.4117 0.4167 0.4443);
  --border: color(srgb 0.4117 0.4167 0.4443 / 0.35);
}

/* ========= BASE ========= */
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
h1, h2, p, small { text-align: center; margin: 1em 0; }
button, input[type=submit], .btn {
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  padding: .75em 1.25em;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
button:hover, .btn:hover, input[type=submit]:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1000;
}
header .logo {
  height: 60px;
  display: block;
}
header .tel {
  background: var(--accent);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease;
}
header .tel:hover {
  background: color(srgb 0.4117 0.4167 0.4443 / 0.6);
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
nav a {
  padding: 8px 10px;
  border-radius: 6px;
  transition: background-color .2s, transform .2s;
}
nav a:hover {
  background: color(srgb 0.4117 0.4167 0.4443 / 0.25);
  transform: translateY(-1px);
}

/* ===== BURGER ===== */
.burger {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger span {
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
}
.burger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}

/* ===== MOBILE ===== */
@media (max-width: 820px) {
  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .burger {
    display: flex;
    order: 3;
  }

  header .tel {
    order: 2;
    flex: 1;
    text-align: center;
    margin: 8px 0;
  }

  .header-left {
    order: 1;
  }

  nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    display: none;
  }
  nav.active { display: flex; }
}


/* ========= HERO ========= */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: .5;
}
.hero h1 {
  position: absolute;
  color: #fff;
  font-size: clamp(28px,6vw,60px);
  text-shadow: 0 3px 10px #000;
}

/* ========= FORM ========= */
form {
  width: 90%;
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
form input, form textarea, form select {
  width: 100%;
  background: color(srgb 0.1187 0.1194 0.1409 / 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
form input:focus, form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color(srgb 0.4117 0.4167 0.4443 / 0.25);
}
form textarea { resize: none; min-height: 120px; }
.form-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width:700px) {
  .form-row { flex-direction: row; }
  .form-row input { flex: 1; }
}

/* ========= CONTAINERS ========= */
.container { max-width: 1100px; margin: auto; padding: 0 16px; }
.section { padding: 32px 0; }

/* ========= FOOTER ========= */
footer {
  padding: 20px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
}
footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
footer nav a { opacity: .9; }
footer nav a:hover { opacity: 1; }
small { color: var(--accent); }

/* ========= GALLERIE ========= */
.gallerie {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gallerie img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
@media (min-width:600px){.gallerie{grid-template-columns:repeat(2,1fr);}}
@media (min-width:900px){.gallerie{grid-template-columns:repeat(4,1fr);}}

/* ========= SERVICES ========= */
.services-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em;
  text-align: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 1.5em;
  margin-top: 2em;
}
.service-card {
  display: block;
  padding: 1.5em;
  background: #1e1e26;
  border-radius: 12px;
  color: #fff;
  transition: all .25s ease;
}
.service-card:hover {
  background: #2d2d39;
  transform: translateY(-4px);
}

/* ========= AVIS GOOGLE ========= */
#google-reviews {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em 1em;
}
#google-reviews h1 {
  font-size: clamp(26px,4vw,42px);
  margin-bottom: 1em;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
}
@media (min-width:768px){.reviews-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1100px){.reviews-grid{grid-template-columns:repeat(3,1fr);}}

.review-card {
  background: color(srgb 0.1187 0.1194 0.1409 / 0.6);
  border: 1px solid color(srgb 0.4117 0.4167 0.4443 / 0.25);
  border-radius: 12px;
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  animation: fadeIn .4s ease forwards;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px color(srgb 0 0 0 / 0.25);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.review-name { font-weight: 700; font-size: 1rem; }
.review-stars { color: gold; font-size: 1rem; }
.review-text { font-size: .95rem; line-height: 1.6; opacity: .9; text-align: left; }
.review-date { font-size: .85rem; color: var(--border); text-align: right; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ========= ACCESSIBILITÉ ========= */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
