/* ======= LDS RENOV - STYLE PREMIUM ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8f8f8;
  color: #222;
  overflow-x: hidden;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 80px;
  z-index: 100;
  opacity: 0;
  animation: fadeIn 1.5s forwards;
}

header .logo {
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #333;
  font-weight: 600;
}

nav a {
  text-decoration: none;
  color: #333;
  margin-left: 40px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #b3262d;
  transition: 0.3s;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* === HERO === */
.hero {
  height: 75vh;
  min-height: 480px;
  max-height: 680px;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
              url('acceuil.jpg') center/cover;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  border-radius: 40px;
  margin-top: 30px;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto 25px;
}

.btn {
  background: #b3262d;
  color: white;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #8a1f25;
}

.hero-cta {
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 0 20px 60px;
}

.hero-cta-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hero-cta-card p {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}

.hero-btn {
  font-size: 1.15rem;
  padding: 16px 46px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 35px rgba(179, 38, 45, 0.25);
}

/* === SECTIONS === */
section {
  padding: 100px 80px;
  max-width: 1200px;
  margin: auto;
}

.page-header {
  background: #b3262d;
  color: white;
  padding: 120px 20px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #1a1a1a;
  position: relative;
}

section h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #b3262d;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* === REVIEWS === */
.reviews {
  padding-top: 60px;
}

.reviews-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.review-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.07);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reviews h2 {
  text-align: left;
  margin-bottom: 0;
}

.reviews p {
  color: #555;
  line-height: 1.6;
}

.reviews-map iframe {
  width: 100%;
  border-radius: 16px;
  min-height: 360px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.85rem;
  color: #b3262d;
  margin-bottom: 8px;
}

.btn-outline {
  background: transparent;
  color: #b3262d;
  border: 1px solid #b3262d;
  border-radius: 999px;
  padding: 12px 32px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background: #b3262d;
  color: #fff;
}


/* === ABOUT === */
.about {
  display: flex;
  align-items: center;
  gap: 50px;
  opacity: 0;
  transform: translateY(50px);
  transition: 1s ease;
}

.about.visible {
  opacity: 1;
  transform: translateY(0);
}

.about img {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.about p {
  line-height: 1.8;
  color: #444;
}

/* === SERVICES === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: 1s ease;
}

.services.visible {
  opacity: 1;
  transform: translateY(0);
}

.service {
  background: white;
  padding: 45px 35px 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
  text-align: center;
  max-width: 320px;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #b3262d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #b3262d;
  letter-spacing: 0.05em;
}

.service h3 {
  color: #b3262d;
  margin-bottom: 10px;
}

/* === GALLERY (Avant/Après) === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.gallery-tip {
  grid-column: 1 / -1;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  margin: -10px 0 10px;
}



.before-after {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.before-after img {
  width: 100%;
  display: block;
  grid-area: 1 / 1;
  position: relative;
  transition: opacity 0.6s ease;
}


.before-after img:first-child {
  opacity: 1;
  z-index: 1;
}

.before-after img:last-child {
  opacity: 0;
  z-index: 0;
}

.before-after:hover img:first-child,
.before-after:focus-within img:first-child {
  opacity: 0;
}

.before-after:hover img:last-child,
.before-after:focus-within img:last-child {
  opacity: 1;
}

.image-label {
  position: absolute;
  top: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(179, 38, 45, 0.9);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.label-before {
  left: 14px;
}

.label-after {
  right: 14px;
  background: rgba(29, 133, 91, 0.9);
  opacity: 0;
  transform: translateY(-6px);
}

.before-after:hover .label-before {
  opacity: 0;
  transform: translateY(6px);
}

.before-after:hover .label-after {
  opacity: 1;
  transform: translateY(0);
}

/* === CONTACT === */
.contact {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.contact-intro {
  text-align: center;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  align-items: stretch;
}

.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-card h3 {
  margin-bottom: 20px;
  color: #b3262d;
  font-size: 1.4rem;
}

.contact-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card li span {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.contact-card li a,
.contact-card li strong {
  color: #222;
  font-size: 1.05rem;
  text-decoration: none;
}

.contact-form {
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .form-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-form .form-row input {
  flex: 1 1 220px;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b3262d;
  box-shadow: 0 0 0 3px rgba(179,38,45,0.1);
  outline: none;
}

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

.contact-form button {
  background: #b3262d;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.contact-form button:hover {
  background: #8a1f25;
  transform: translateY(-2px);
}

/* === FOOTER === */
footer {
  background: #1a1a1a;
  color: #bbb;
  text-align: center;
  padding: 50px 10px;
  font-size: 0.95rem;
  line-height: 1.7;
}

footer a {
  color: #ddd;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    padding: 12px 24px;
    gap: 10px;
  }
  .brand {
    flex-direction: column;
    text-align: center;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    width: 100%;
  }
  nav a {
    margin: 0;
  }
  section {
    padding: 70px 26px;
  }
  .hero {
    padding: 0 20px;
    height: 55vh;
    min-height: 320px;
    border-radius: 24px;
    margin-top: 100px;
  }
  .page-header {
    margin: 120px 16px 40px;
    padding: 90px 16px 45px;
    border-radius: 28px;
  }
  .about {
    flex-direction: column;
  }
  .about img {
    width: 100%;
  }
  .hero-cta {
    margin: 40px auto 0;
    padding: 0 16px;
  }
  .hero-cta-card {
    flex-direction: column;
    text-align: center;
  }
  .reviews-content,
  .services,
  .gallery,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form .form-row {
    flex-direction: column;
  }
  .btn,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  header {
    padding: 12px 16px;
  }
  .brand-name {
    letter-spacing: 0.2em;
    font-size: 0.95rem;
  }
  section {
    padding: 60px 16px;
  }
  .hero {
    width: calc(100% - 24px);
    height: 40vh;
    background-size: 80%;
    margin: 90px auto 20px;
  }
  .hero-cta-card,
  .service,
  .review-card,
  .before-after,
  .contact-card,
  .contact-form {
    padding: 22px;
  }
}
