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

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

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

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

/* Layout général */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 251, 253, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo span {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

.main-nav .nav-cta {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  border: 1px solid #38bdf8;
}

/* Hero */

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #334155;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #64748b;
}

/* Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #38bdf8, #22c55e);
  color: #f9fafb;
}

.btn.primary:hover {
  opacity: 0.95;
}

.btn.secondary {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.btn.secondary:hover {
  background: #dbeafe;
}

/* Illustration placeholder */

.hero-illustration {
  display: flex;
  justify-content: center;
}

.hero-placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e0f2fe, #fce7f3);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #0f172a;
  font-size: 0.9rem;
  padding: 1rem;
}

/* Sections */

.section {
  padding: 3rem 0;
}

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

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.section-intro {
  margin-bottom: 1.5rem;
  color: #475569;
}

/* Cards */

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  border: 1px solid #e2e8f0;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #475569;
}

/* Highlight */

.highlight {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.9rem;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  font-size: 0.95rem;
}

/* À propos */

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.about-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #475569;
}

/* Étapes */

.steps {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.steps li {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: #475569;
}

.steps strong {
  color: #0f172a;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

/* Infos pratiques */

.infos-grid {
  display: grid;
  gap: 1.5rem;
}

.infos-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.infos-grid p {
  font-size: 0.95rem;
  color: #475569;
}

.small {
  font-size: 0.85rem;
  color: #64748b;
}

/* Section CTA RDV */

.section-cta {
  text-align: center;
}

.section-cta p {
  margin-bottom: 1rem;
  color: #475569;
}

.widget-onedoc {
  margin-top: 2rem;
}

/* FAQ */

.faq {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

details {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

summary {
  cursor: pointer;
  font-weight: 500;
  color: #0f172a;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] {
  border-color: #38bdf8;
}

details p {
  margin-top: 0.5rem;
  color: #475569;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
  background: #f9fafb;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a[aria-disabled="true"] {
  opacity: 0.7;
  cursor: default;
}

/* Responsive */

@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1.2;
  }

  .hero-illustration {
    flex: 1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 3fr 2fr;
  }

  .infos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none; /* V1 simple : pas de menu mobile dépliable, on garde la page courte */
  }

  .site-header .container {
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
  }
}
