/* --- REGLES DE BASE ET VARIABILITY --- */
:root {
  --primary-color: #1e3a8a;
  --primary-hover: #1d4ed8;
  --text-color: #334155;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

body {
  background-color: var(--bg-white);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* --- SECTION 1: HERO --- */
.hero {
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  background-color: rgba(15, 23, 42, 0.65);
  width: 100%;
  height: 100%;
  padding: 100px 0;
  display: flex;
  align-items: center;
}

.hero-content {
  color: #ffffff;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-content .slogan {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color var(--transition-speed);
}

.btn:hover {
  background-color: var(--primary-hover);
}

/* --- SECTION 2: PRÉSENTATION --- */
.text-presentation {
  font-size: 1.1rem;
}

/* --- SECTION 3: INFORMATIONS PRATIQUES --- */
.info-list {
  list-style: none;
}

.info-list li {
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
  border-bottom: none;
}

/* --- SECTION 4: FAQ --- */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-white);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed);
}

.accordion-header:hover {
  background-color: var(--bg-light);
}

.accordion-header .icon {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform var(--transition-speed);
}

.accordion-item.active .accordion-header .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease-out;
  background-color: var(--bg-light);
}

.accordion-content p {
  padding: 18px 20px;
  margin: 0;
}

/* --- SECTION 5: CONTACT --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* --- RESPONSIVE DESIGN --- */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}