﻿/* ------------------------------
   BASE GLOBALE
------------------------------ */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f9f9ff;
  color: #333;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #f107a3;
}

/* ------------------------------
   HEADER
------------------------------ */
header {
  background: linear-gradient(to right, #7b2ff7, #f107a3);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

header h1 {
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

header h1 a {
  color: #fff;
  text-decoration: none;
}

header h1 a:hover {
  text-decoration: underline;
}

/* ------------------------------
   NAVIGATION
------------------------------ */
nav ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

nav a {
  color: white;
  font-weight: bold;
}

/* ------------------------------
   TITRES
------------------------------ */
h1, h2 {
  font-family: 'Segoe UI', sans-serif;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #7b2ff7;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #7b2ff7;
}

/* ------------------------------
   CONTENU PRINCIPAL
------------------------------ */
main {
  padding: 1rem;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 3rem;
}

ul {
  padding-left: 1.5rem;
}

blockquote {
  font-style: italic;
  background: #eee;
  border-left: 5px solid #7b2ff7;
  margin: 1rem 0;
  padding: 1rem;
}

/* ------------------------------
   IMAGES
------------------------------ */
.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

/* ------------------------------
   LOTS / GRILLES
------------------------------ */
.lots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding-left: 0;
  list-style: none;
}

.lots-grid li {
  background: #fff;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.grid-pixels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.grid-pixels img {
  width: 60px;
  height: auto;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer p a {
  color: #f8f8f8;
  font-weight: 500;
}

footer a {
  color: #ff66cc;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer a:focus {
  outline: 2px dashed #fff;
  outline-offset: 2px;
}

footer .sticky-disclaimer {
  background: #f3e8ff;
  color: #4a0072;
  border: 1px solid #d1a9ff;
  padding: 1em;
  margin: 1.5em auto;
  border-radius: 6px;
  max-width: 800px;
  font-size: 0.95em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}
footer .sticky-disclaimer a {
  color: #7b2ff7;
  text-decoration: underline;
}
footer .sticky-disclaimer button {
  margin-top: 1em;
  background: #7b2ff7;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}
footer .sticky-disclaimer button:hover {
  background: #5a1bb7;
}

/* ------------------------------
   ICONES SOCIALES
------------------------------ */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
}

.social-icons svg {
  width: 100%;
  height: 100%;
  fill: white;
  transition: transform 0.2s;
}

.social-icons a:hover svg {
  transform: scale(1.2);
}

footer .social-icons svg {
  fill: #f107a3;
}

/* ------------------------------
   FORMULAIRE DE CONTACT
------------------------------ */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-family: inherit;
}

.contact-form button {
  background: #7b2ff7;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background: #5a1bb7;
}

/* ------------------------------
   BOUTON DE TÉLÉCHARGEMENT
------------------------------ */
.download-button-container {
  text-align: center;
  margin: 2rem 0;
}

.download-button {
  background: linear-gradient(to right, #7b2ff7, #f107a3);
  color: white;
  padding: 1.2rem 2.2rem;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

.download-button:hover {
  background: linear-gradient(to right, #5a1bb7, #c80079);
  transform: scale(1.05);
}

/* ------------------------------
   TÉMOIGNAGES / CAROUSEL
------------------------------ */
.temoignages {
  max-width: 800px;
  margin: auto;
  text-align: center;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
  scrollbar-width: none;
  cursor: grab;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 2rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-style: italic;
  min-width: 280px; /* pas 100% pour les petits écrans */
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-controls button:hover {
  background: #5a1bb7;
}

#pagination-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
}

#pagination-dots span {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

#pagination-dots span.active {
  background: #f107a3;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  h1, header h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .grid-pixels img {
    width: 50px;
  }

  .lots-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}