/* RESET DE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bleu-nuit: #001b33;
  --bleu-clair: #0055a5;
  --or: #f4c430;
  --blanc-casse: #f9f9f9;
  --gris-fonce: #444;
  --gris-clair: #ddd;
  --transition: 0.3s ease;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bleu-nuit);
  color: var(--blanc-casse);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #001930, #003366);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo-container {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 80px;
}

#language-selector {
  padding: 5px;
  border-radius: 5px;
  border: none;
  background: var(--or);
  color: #000;
  font-weight: bold;
}

#burger-menu {
  font-size: 26px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 15px;
}

/* SIDEBAR */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: var(--bleu-clair);
  color: white;
  transition: left var(--transition);
  padding: 20px;
  z-index: 9999;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-logo {
  width: 80px;
  height: auto;
}

#close-sidebar {
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
}

.sidebar-nav a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 15px 0;
  font-weight: bold;
  transition: color var(--transition);
}

.sidebar-nav a:hover {
  color: var(--or);
  text-decoration: underline;
}

/* SECTIONS */
section {
  padding: 40px 20px;
}

.hero {
  text-align: center;
  background: linear-gradient(to bottom, #002d5c, #004c9a);
  padding: 60px 20px;
  color: white;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.hero-button {
  background-color: var(--or);
  color: black;
  padding: 12px 25px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition);
}

.hero-button:hover {
  background-color: #e0b800;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

input, button, select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--gris-clair);
}

button {
  background-color: var(--bleu-clair);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background var(--transition);
}

button:hover {
  background-color: #003f7a;
}

/* MODULES */
.testimonials-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-item {
  background-color: var(--blanc-casse);
  color: #222;
  border-left: 4px solid var(--or);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-style: normal;
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-5px);
}


.why-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.why-item {
  background: white;
  color: var(--gris-fonce);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* RATINGS */
#ratings {
  background: var(--blanc-casse);
  color: var(--gris-fonce);
  border-top: 4px solid var(--or);
  border-bottom: 4px solid var(--or);
  text-align: center;
}

/* FAQ */
.faq-item {
  background: var(--blanc-casse);
  color: var(--gris-fonce);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 15px;
  cursor: pointer;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-question {
  font-weight: bold;
}

.faq-answer {
  display: none;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: var(--or);
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SECTION OFFRES */
.offers-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding-top: 20px;
}

.offer-card {
  background: white;
  color: var(--gris-fonce);
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.offer-icon {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.offer-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.offer-text {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

/* SECTION COMMENT ÇA MARCHE */
.how-section {
  background: #fff;
  color: #001b33;
  text-align: center;
  padding: 60px 20px;
}

.how-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #001b33;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.step-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  width: 220px;
  padding: 25px 15px;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-number {
  background: var(--or);
  color: #fff;
  font-weight: bold;
  font-size: 1.3rem;
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #001b33;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #333;
}
