@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f2f5;
  color: #333;
  line-height: 1.7;
}

header {
  background-color: #1a1a2e;
  color: white;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

header h1 {
  margin: 0;
  font-size: 1.8em;
  letter-spacing: 3px;
  color: #e0e0ff;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 5px;
}

nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background-color 0.2s, color 0.2s;
  font-size: 0.95em;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
}

main {
  
  max-width: 1200px;
  margin: 20px auto;
 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
  background-color: #f0f2f5;
}

h2 {
  color: #1a1a2e;
  border-left: 4px solid #4f46e5;
  padding-left: 12px;
  margin-top: 35px;
  margin-bottom: 15px;
}

h3 {
  color: #1a1a2e;
}

footer {
  background-color: #1a1a2e;
  color: #aab;
  text-align: center;
  padding: 25px 30px;
  margin-top: 0;
  font-size: 0.9em;
  border-top: 3px solid #4f46e5;
}

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

footer a:hover {
  color: white;
}

img {
  max-width: 100%;
  height: auto;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
  padding: 0;
  background: none;
  box-shadow: none;
}

.hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 40, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-overlay h2 {
  color: white;
  font-size: 2.4em;
  margin-bottom: 8px;
  border: none;
  padding: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 1.15em;
  margin: 0;
  color: #dde;
}

/* Sections */
section {
  background-color: white;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

/* Services Summary */
.services-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.services-list li {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border-top: 4px solid #4f46e5;
  transition: transform 0.3s ease;
}

.services-list li:hover {
  transform: translateY(-5px);
}

.services-list li strong {
  display: block;
  font-size: 1.1em;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.services-list li p {
  margin: 0;
  font-size: 0.9em;
  color: #64748b;
}

/* Testimonials (Comment style) */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.testimonial-grid blockquote {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin: 0;
}

/* Speech bubble arrow */
.testimonial-grid blockquote::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  border-width: 15px 15px 0 0;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
  filter: drop-shadow(0 2px 0 #e2e8f0);
}

.testimonial-grid blockquote p {
  font-style: italic;
  margin-bottom: 15px;
  color: #1e293b;
}

.testimonial-grid blockquote cite {
  display: block;
  font-weight: 700;
  color: #4f46e5;
  font-style: normal;
  margin-top: 10px;
}

/* Tableau tarif */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0f0;
}

th {
  background-color: #1a1a2e;
  color: white;
  font-weight: 600;
}

tr:nth-child(even) td {
  background-color: #f7f7ff;
}

tr:hover td {
  background-color: #eeeeff;
}

/* Galerie */
.galerie {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.galerie-item {
  width: 30%;
  margin-bottom: 15px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.galerie-item:hover {
  transform: translateY(-4px);
}

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

.galerie-item p {
  padding: 10px;
  margin: 0;
  font-size: 0.9em;
  font-weight: 600;
  color: #1a1a2e;
  text-align: center;
  background: white;
}

/* Formulaire */
form {
  max-width: 650px;
  margin: 0 auto;
}

fieldset {
  border: 1px solid #dde;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

legend {
  font-weight: 700;
  color: #1a1a2e;
  padding: 0 8px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.95em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 9px 12px;
  box-sizing: border-box;
  border: 1px solid #bbc;
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.15);
}

input[type="submit"] {
  background-color: #4f46e5;
  color: white;
  padding: 11px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.2s;
}

input[type="submit"]:hover {
  background-color: #4338ca;
}

/* Équipe */
figure {
  border: 1px solid #e0e0f0;
  padding: 15px;
  margin: 10px;
  text-align: center;
  display: inline-block;
  width: 220px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  vertical-align: top;
}

figure img {
  border-radius: 50%;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 3px solid #4f46e5;
}

figcaption {
  font-weight: 700;
  margin-top: 12px;
  color: #1a1a2e;
  font-size: 0.95em;
}

/* Details / Summary */
details {
  border: 1px solid #dde;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 10px;
  background: white;
}

details[open] {
  border-color: #4f46e5;
}

summary {
  cursor: pointer;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1.05em;
}

summary:hover {
  color: #4f46e5;
}