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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f7f7f7;
  color: #222;
  line-height: 1.6;
}
/* Grand logo en filigrane sur toute la page */
body::before {
  content: "";
  position: fixed;
  inset: 10% 15%;                 /* marge par rapport aux bords */
  background-image: url("images/logo.png"); /* chemin vers ton logo PNG */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.7;                  /* ajuste la transparence (0.03 à 0.1) */
  pointer-events: none;           /* ne bloque pas les clics */
  z-index: -1;                    /* derrière tout le contenu */
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
;

.logo-main {
  font-weight: 600;
  font-size: 1.2rem;
}

.logo-sub {
  font-weight: 300;
  font-size: 0.85rem;
  color: #666;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 56px;          /* Hauteur équivalente à une ligne de texte */
  width: auto;
  object-fit: contain;
  opacity: 1;
}


/* NAVIGATION */
.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: #2b2b2b;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #e9efef;                 /* rectangle plus visible */
  font-size: 0.92rem;
  border: 1px solid #cfd9d9;           /* contour léger pour bien distinguer */
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

.nav a:hover {
  background: #2b7a78;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}


.nav a:hover {
  background: #2b7a78;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* HERO */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 6%;
  text-align: center;
  overflow: hidden;
}


.hero-content {
  max-width: 650px;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
.hero-midline {
  font-size: 1.35rem; /* taille entre le titre et le sous-titre */
  font-weight: 700;
  color: #c62828; /* rouge professionnel */
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

/* BOUTON PRINCIPAL */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  background: #2b7a78;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}

.btn-primary:hover {
  background: #205f5d;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* HERO IMAGES */
.hero-images {
  margin-top: 2rem;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Photo neige en grand (adapter le nom du fichier) */
.hero-image-main {
  width: min(340px, 80vw);
  aspect-ratio: 3 / 4;
  background-image: url("images/neige.jpg");
}

/* SECTIONS GENERALES */
.section {
  padding: 4rem 6%;
  max-width: 1000px;
  margin: 0 auto;
}

.section-alt {
  background: #ffffff;
  border-radius: 24px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #444;
}
/* GALERIE MEDIA */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.media-item {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.media-item figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.9rem;
  color: #444;
}

/* Effet au survol */
.media-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.12);
}

/* METHODE DE TRAVAIL */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
/* Mise en page texte + photo */
.methode-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.methode-texte p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.methode-photo img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  object-fit: cover;
}

.method-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.method-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.method-card p {
  font-size: 0.95rem;
  color: #555;
}

/* CONTACT */
.contact-form {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font: inherit;
  background: #fdfdfd;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2b7a78;
  box-shadow: 0 0 0 2px rgba(43, 122, 120, 0.15);
}

.form-message {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  color: #1b8a4a;            /* vert */
}

.form-message.error {
  color: #c62828;            /* rouge */
}

/* LOCALISATION */
.loc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.loc-info h3,
.loc-map h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.loc-info ul {
  margin: 0.75rem 0 1rem 1.2rem;
  list-style: disc;
}

.loc-info ul li {
  margin-bottom: 0.25rem;
}

.map-container {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.10);
  background: #ddd;
  aspect-ratio: 4 / 3;
}

.map-container iframe {
  width: 100%;
  height: 100%;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  color: #777;
}

/* ========================= */
/*        RESPONSIVE         */
/* ========================= */

/* TABLETTES (≤ 1024px) */
@media (max-width: 1024px) {
  .section {
    padding: 3.5rem 4%;
  }

  .hero {
    padding: 3.5rem 4%;
  }

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

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILES (≤ 768px) */
@media (max-width: 900px) {
  .methode-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .methode-photo img {
    margin: 0 auto;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-midline {
  font-size: 1.35rem; /* taille entre le titre et le sous-titre */
  font-weight: 700;
  color: #c62828; /* rouge professionnel */
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
  }

  .section {
    padding: 3rem 1.5rem;
  }

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

  .contact-form {
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  /* Logo en fond : plus centré sur mobile */
  body::before {
    inset: 18% 5%;
    opacity: 0.7;
  }
}

/* PETITS MOBILES (≤ 480px) */
@media (max-width: 480px) {
  .logo-main {
    font-size: 1.05rem;
  }

  .logo-sub {
    font-size: 0.8rem;
  }

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-midline {
  font-size: 1.35rem; /* taille entre le titre et le sous-titre */
  font-weight: 700;
  color: #c62828; /* rouge professionnel */
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
 }

  .hero-image-main {
    width: 85vw;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .section-intro {
    font-size: 0.95rem;
  }
}
/* AVIS CLIENTS */
.avis-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.avis-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.avis-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stars {
  color: #f2b600; /* jaune doré */
  font-size: 1rem;
}

.avis-comment {
  font-size: 0.95rem;
  color: #444;
}

/* Formulaire avis */
.avis-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

.avis-form select {
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font: inherit;
}

.avis-form select:focus {
  outline: none;
  border-color: #2b7a78;
  box-shadow: 0 0 0 2px rgba(43, 122, 120, 0.15);
}
