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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: yellow;
  background-color: #f5f7fa;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.5));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn-primary {
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  background-color: #10b981;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background-color: #059669;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Sections */

.section {
  padding: 3.5rem 0;
  background-color: #ffffff;
}

.section-alt {
  background-color: #e5ebf3;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

.section p {
  font-size: 1rem;
}

/* Informations pratiques */

.info-list {
  list-style: none;
}

.info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #d0d7e2;
}

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

.info-label {
  font-weight: 600;
  margin-right: 0.5rem;
}

/* FAQ */

.faq {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d0d7e2;
  background-color: #f9fafb;
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid #d0d7e2;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  color: #111827;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  margin-left: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  background-color: #ffffff;
  transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-answer p {
  padding: 0.75rem 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 0.75rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Footer */

.footer {
  padding: 1.5rem 0;
  background-color: #111827;
  color: #e5e7eb;
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive */

@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
