/* style.css */

/* ----------------------------------------
   RESET & BASE
---------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px */
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #f5f5f5;
  line-height: 1.5;
}

/* Conteneur central */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Bouton générique */
.btn {
  display: inline-block;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover {
  background: #222;
}

/* ----------------------------------------
   HEADER & NAV
---------------------------------------- */
.site-header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo img {
  height: 50px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
.site-nav a:hover {
  color: #000;
}

/* ----------------------------------------
   HERO
---------------------------------------- */
.hero {
  background: url('Logo.png') no-repeat center center;
  background-size: 150px auto;
  padding: 8rem 0 4rem;
  text-align: center;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* ----------------------------------------
   SERVICES
---------------------------------------- */
.services {
  padding: 4rem 0;
}
.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 2rem;
  width: 280px;
  text-align: center;
}
.card img {
  height: 60px;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.95rem;
  color: #555;
}

/* ----------------------------------------
   POURQUOI
---------------------------------------- */
.why {
  background: #fff;
  padding: 4rem 0;
}
.why .container {
  text-align: center;
}
.why h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.why ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.why li {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}
.why strong {
  color: #333;
}

/* ----------------------------------------
   TÉMOIGNAGES
---------------------------------------- */
.testimonials {
  padding: 4rem 0;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.testimonials blockquote {
  max-width: 700px;
  margin: 1rem auto;
  font-style: italic;
  color: #444;
  position: relative;
  padding-left: 1rem;
}
.testimonials blockquote::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  left: -10px;
  top: -10px;
  color: #ccc;
}
.testimonials footer {
  text-align: right;
  margin-top: 0.5rem;
  font-style: normal;
  color: #666;
}

/* ----------------------------------------
   CONTACT
---------------------------------------- */
.contact {
  background: #fff;
  padding: 4rem 0;
}
.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.contact form {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.contact label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #333;
}
.contact input,
.contact textarea {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
.contact textarea {
  resize: vertical;
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.site-footer {
  background: #f0f0f0;
  padding: 1rem 0;
  text-align: center;
}
.site-footer p {
  font-size: 0.875rem;
  color: #666;
}

/* ----------------------------------------
   RÉPONSIVE
---------------------------------------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .site-nav.active {
    transform: translateX(0);
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav li + li {
    border-top: 1px solid #eee;
  }
  .site-nav a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}
