:root {
  --brand: #6c1414;
  --light: #ffffff;
  --gray: #555;
  --radius: 10px;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #222;
  background: #eeeeee;
  scroll-behavior: smooth;
}

/* --- NAVIGATION --- */
.nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand);
}

.brand img {
  height: 45px;
  width: auto;
  border-radius: 8px;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #000;
}

/* Bouton hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--brand);
  cursor: pointer;
}

/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 40px auto;
  gap: 30px;
  align-items: center;
  padding: 0 20px;
}

.hero-text h2 {
  color: var(--brand);
  font-size: 2rem;
}

.hero-text p {
  color: var(--gray);
  margin-bottom: 20px;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--brand);
  color: var(--brand);
}

.btn:hover {
  opacity: 0.85;
}

/* --- SECTIONS --- */
.section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 20px auto;
  gap: 12px;
}

.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-family: inherit;
}

footer {
  text-align: center;
  padding: 20px;
  background: var(--brand);
  color: #fff;
  margin-top: 40px;
}

/* --- BOUTONS FLOTTANTS --- */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.float-btn.call { background: #1dbf73; }
.float-btn.mail { background: #0077b6; }
.float-btn:hover { transform: scale(1.1); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 10px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .menu-toggle {
    display: block;
  }

  @keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
  }

  
}

.map {
  width: 100%;
  max-width: 600px;
  height: 350px;
  margin: 20px auto 0;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lively-contact {
  background: #f9f9f9;
  padding: 60px 20px;
  border-radius: 15px;
  max-width: 1100px;
  margin: 60px auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.lively-contact:hover {
  transform: translateY(-5px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.contact-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
}

.contact-link:hover {
  color: #000;
  transform: scale(1.05);
}

.contact-map iframe {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-map iframe {
    height: 300px;
  }
}
/* --- BOUTONS FLOTTANTS --- */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.float-btn.call { background: #1dbf73; }
.float-btn.mail { background: #0077b6; }

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Responsive : réduire légèrement les boutons sur mobile */
@media (max-width: 768px) {
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
.service-card {
  background: var(--light);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.8); /* léger zoom sur le cadre entier */
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* Caption sous l'image */
.caption {
  height: 0;
  overflow: hidden;
  text-align: center;
  background: #fff;
  transition: height 0.3s ease, padding 0.3s ease;
}

.gallery-item:hover .caption {
  height: auto; /* permet à la caption de s'ouvrir */
  padding: 10px 15px;
}

.caption h4 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  color: var(--brand);
}

.caption p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray);
}



/* --- Bannière cookies --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  z-index: 999;
  font-size: 0.95rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #1dbf73;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.cookie-btn {
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.cookie-btn.accept {
  background: #1dbf73;
  color: #fff;
}

.cookie-btn.reject {
  background: #555;
  color: #fff;
}

.cookie-btn:hover {
  opacity: 0.85;
}


