/* ============================================================
   THÈME CLAIR / SOMBRE
   Ce fichier complète style.css sans modifier la structure du site.
   ============================================================ */

:root.theme-dark {
  --cream:            #171210;
  --sand:             #2A211D;
  --terracotta:       #D4845E;
  --terracotta-light: #E3A07F;
  --terracotta-dark:  #B5633A;
  --brown-warm:       #F2E7DD;
  --text-main:        #F7F3EE;
  --text-muted:       #D0BEB1;
  --text-light:       #BFA99B;
  --white:            #211916;
}

body {
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-links {
  align-items: center;
}

.hero-intro {
  max-width: min(920px, 100%);
}

.hero-photo-wrapper {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-photo-placeholder {
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-placeholder img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.theme-toggle {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--sand);
  background: var(--white);
  color: var(--brown-warm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--terracotta-light);
  transform: translateY(-1px);
}

:root.theme-dark nav {
  background: rgba(23, 18, 16, 0.92);
}

:root.theme-dark .nav-mobile {
  background: var(--white);
}

:root.theme-dark .hero-left,
:root.theme-dark .approche,
:root.theme-dark .consultations-pratiques {
  background: var(--white);
}

:root.theme-dark .consultations-deroulement,
:root.theme-dark .hero-right,
:root.theme-dark .rdv-box,
:root.theme-dark .card-methode {
  background: var(--sand);
}

:root.theme-dark .hero-photo-placeholder {
  background: transparent;
}

:root.theme-dark .hero-logo {
  filter: invert(1) brightness(1.15);
}

:root.theme-dark .parcours,
:root.theme-dark footer {
  background: #100C0A;
}

:root.theme-dark .parcours-card {
  background: rgba(247, 243, 238, 0.09);
  border-color: rgba(247, 243, 238, 0.18);
}

:root.theme-dark .parcours-card p {
  color: #E8DDD0;
}

:root.theme-dark .footer-name,
:root.theme-dark .parcours .section-title,
:root.theme-dark .parcours-card h3 {
  color: #F7F3EE;
}

:root.theme-dark footer {
  border-top: 1px solid rgba(247, 243, 238, 0.08);
}

:root.theme-dark .btn-primary,
:root.theme-dark .nav-rdv {
  color: #171210 !important;
}

/* ============================================================
   PAGES SÉPARÉES
   ============================================================ */

.urgence-page,
.pratique-page {
  min-height: 100vh;
  background: var(--cream);
  padding-top: 60px;
}

.urgence-section,
.pratique-section {
  background: var(--white);
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.urgence-intro,
.pratique-intro {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 620px;
}

.urgence-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.urgence-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 12px 12px 0;
  padding: 1.45rem 1.65rem;
}

.urgence-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--brown-warm);
  margin-bottom: 0.35rem;
}

.urgence-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.urgence-card a {
  color: var(--terracotta);
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 500;
}

.urgence-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:root.theme-dark .urgence-section,
:root.theme-dark .pratique-section {
  background: var(--white);
}

:root.theme-dark .urgence-card {
  background: var(--sand);
}

@media (max-width: 900px) {
  .theme-toggle {
    margin-left: auto;
    margin-right: 1rem;
  }

  .hero-photo-wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-photo-placeholder {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
  }

  .urgence-section,
  .pratique-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    width: 2.15rem;
    height: 2.15rem;
  }

  .urgence-intro,
  .pratique-intro,
  .urgence-card p {
    font-size: 1.05rem;
  }
}