/**
 * ============================================================
 *  THÈME DU SITE — modifiez ce fichier pour changer les couleurs et polices
 * ============================================================
 */

/* --- Polices Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* --- Variables de couleur --- */
:root {
  --cream:            #F7F3EE;
  --sand:             #E8DDD0;
  --terracotta:       #B5633A;
  --terracotta-light: #D4845E;
  --terracotta-dark:  #8A4526;
  --brown-warm:       #5C3D2E;
  --text-main:        #2C1F17;
  --text-muted:       #7A6355;
  --text-light:       #A89080;
  --white:            #FDFAF7;
}

/* ============================================================
   BASE
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-main);
  font-size: 18px;
  line-height: 1.78;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--brown-warm);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-rdv {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  transition: background 0.2s !important;
}

.nav-rdv:hover {
  background: var(--terracotta-dark) !important;
  color: var(--white) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--brown-warm);
  transition: all 0.25s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 99;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-mobile .nav-rdv {
  text-align: center;
  padding: 0.7rem 1rem;
  margin-top: 0.5rem;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding-top: 60px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5rem 5rem 6rem;
  background: var(--white);
}

.hero-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 6.5rem;
  height: 6.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-heading-text { min-width: 0; }

.hero-tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--terracotta);
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--brown-warm);
  margin-bottom: 0.4rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta-light);
  margin-bottom: 2rem;
}

.hero-divider {
  width: 48px;
  height: 1.5px;
  background: var(--sand);
  margin-bottom: 2rem;
}

.hero-intro {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 620px;
  margin-bottom: 1.45rem;
}

.hero-publics { margin-bottom: 2.5rem; }
.hero-intro strong { color: var(--brown-warm); font-weight: 500; }

.hero-right {
  background: var(--sand);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-shape {
  display: none;
}

.hero-photo-wrapper {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 8%;
  width: 84%;
  height: 84%;
  max-width: none;
  margin: 0;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(170deg, var(--sand) 0%, #D4C4B5 100%);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.photo-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
  padding: 0 1.5rem;
}

/* ============================================================
   BOUTON PRINCIPAL
   ============================================================ */

.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  padding: 0.95rem 2.25rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  width: fit-content;
}

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */

section { padding: 6rem 5rem; }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--brown-warm);
  line-height: 1.2;
  margin-bottom: 3rem;
}

/* ============================================================
   SECTION APPROCHE
   ============================================================ */

.approche { background: var(--white); }

.approche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.approche-text {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.95;
}

.approche-text p { margin-bottom: 1.4rem; }

.approche-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-methode {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 10px 10px 0;
  overflow: hidden;
}

.card-methode-toggle {
  width: 100%;
  padding: 1.35rem 1.55rem;
  background: transparent;
  border: none;
  color: var(--brown-warm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.card-methode-symbol {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.35rem;
  color: var(--terracotta);
  transition: transform 0.2s;
}

.card-methode p {
  display: none;
  padding: 0 1.55rem 1.45rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.card-methode.open p {
  display: block;
}

.card-methode.open .card-methode-symbol {
  transform: rotate(45deg);
}

/* ============================================================
   SECTION PARCOURS
   ============================================================ */

.parcours {
  background: var(--brown-warm);
  padding: 5rem;
}

.parcours .section-label { color: var(--terracotta-light); }

.parcours .section-title {
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.parcours-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  max-width: 980px;
}

.parcours-card {
  background: rgba(253, 250, 247, 0.08);
  border: 1px solid rgba(247, 243, 238, 0.18);
  border-radius: 16px;
  padding: 1.7rem 1.9rem;
}

.parcours-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.45rem;
}

.parcours-card p {
  font-size: 1.1rem;
  color: var(--sand);
  line-height: 1.8;
}

/* ============================================================
   SECTION CONSULTATIONS
   ============================================================ */

.consultations {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.consultations-deroulement { background: var(--cream); }
.consultations-pratiques { background: var(--white); }

.consult-list {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.consult-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.consult-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.consult-item-text h4 {
  font-weight: 500;
  color: var(--brown-warm);
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.consult-item-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.rdv-box {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 2.35rem;
  text-align: center;
}

.rdv-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--brown-warm);
  margin-bottom: 0.8rem;
}

.rdv-box p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.rdv-box .btn-primary { width: 100%; text-align: center; }

.rdv-or {
  font-size: 0.88rem !important;
  color: var(--text-light) !important;
  margin: 1rem 0 !important;
}

.rdv-contact { font-size: 1.1rem !important; color: var(--text-muted); }
.rdv-contact a { color: var(--terracotta); text-decoration: none; }
.contact-icon { color: var(--terracotta); font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--text-main);
  padding: 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-identity {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--cream);
  opacity: 0.7;
}

.footer-emergency {
  display: block;
  font-size: 0.8rem;
  color: var(--sand);
  text-align: center;
  line-height: 1.75;
}

.footer-emergency a,
.footer-emergency a:visited,
.footer-emergency a:active {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.footer-emergency a:hover {
  color: inherit !important;
  opacity: 0.78;
}

.footer-info {
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: right;
  line-height: 1.8;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-heading { animation: fadeUp 0.6s ease both 0.1s; }
.hero-title   { animation: fadeUp 0.6s ease both 0.3s; }
.hero-divider { animation: fadeUp 0.6s ease both 0.35s; }
.hero-intro   { animation: fadeUp 0.6s ease both 0.4s; }
.btn-primary  { animation: fadeUp 0.6s ease both 0.5s; }

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 900px)
   ============================================================ */

@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding: 4rem 2.5rem; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 4rem 2.5rem 3rem;
    order: 2;
  }

  .hero-right {
    order: 1;
    min-height: 280px;
    align-items: center;
  }

  .hero-photo-wrapper {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
    width: 55%;
    max-width: 220px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-photo-placeholder {
    aspect-ratio: 3/4;
    height: auto;
    border-radius: 48% 52% 30% 70% / 60% 40% 60% 40%;
  }

  .hero-photo-placeholder img {
    width: 100%;
    height: 100%;
  }

  .hero-logo { width: 5.5rem; height: 5.5rem; }

  .hero-name,
  .hero-tag { font-size: 3rem; }

  .approche-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .parcours { padding: 4rem 2.5rem; }
  .parcours-cards { grid-template-columns: 1fr; max-width: none; }

  .consultations { grid-template-columns: 1fr; gap: 2.5rem; }

  footer {
    grid-template-columns: 1fr;
    padding: 2rem 2.5rem;
    text-align: left;
    gap: 1rem;
  }

  .footer-emergency {
    order: 3;
    width: 100%;
    text-align: left;
    color: var(--sand);
    border-top: 1px solid rgba(247, 243, 238, 0.16);
    padding-top: 1rem;
    margin-top: 0.25rem;
  }

  .footer-info { text-align: left; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  section { padding: 3.5rem 1.5rem; }

  nav { padding: 0 1.5rem; }

  .hero-left { padding: 3rem 1.5rem 2.5rem; }

  .hero-heading {
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-logo { width: 4rem; height: 4rem; }

  .hero-name,
  .hero-tag { font-size: 2.45rem; }
  .hero-title { font-size: 1.25rem; }
  .section-title { font-size: 2.1rem; }

  .hero-intro,
  .approche-text,
  .consult-item-text p,
  .rdv-box p,
  .rdv-contact { font-size: 1.05rem !important; }

  .card-methode-toggle { font-size: 1.3rem; }
  .card-methode p,
  .parcours-card p { font-size: 1.05rem; }

  .hero-right { min-height: 240px; }
  .hero-photo-wrapper { width: 60%; max-width: 180px; }

  .parcours { padding: 3.5rem 1.5rem; }
  .parcours-cards { grid-template-columns: 1fr; }

  .consult-icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.95rem;
  }

  footer {
    padding: 2rem 1.5rem;
    gap: 0.75rem;
  }

  .footer-emergency {
    display: block;
    font-size: 0.78rem;
    line-height: 1.75;
  }
}
