/* ============================================================
   [NOM] — Psychopraticienne · Feuille de styles
   Palette humaniste : crème, vert sauge, terracotta
   ============================================================ */

:root {
  --cream:        #e7d8c2;
  --cream-deep:   #dbc8ab;
  --sage:         #7a8b7f;
  --sage-deep:    #5c6b60;
  --terracotta:   #c58b6f;
  --terracotta-d: #a96f54;
  --ink:          #3a3a38;
  --ink-soft:     #6a6862;
  --white:        #ffffff;
  --radius:       18px;
  --radius-sm:    12px;
  --shadow:       0 14px 40px -18px rgba(60, 58, 56, 0.35);
  --maxw:         1120px;
  --serif:        "Cormorant Garamond", Georgia, serif;
  --sans:         "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--sage-deep);
  margin: 0 0 0.4em;
}

a { color: var(--terracotta-d); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}
.container.narrow { max-width: 760px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(92, 107, 96, 0.8);
}
.btn-primary:hover { background: var(--sage); }
.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border-color: var(--sage);
}
.btn-ghost:hover { background: rgba(122, 139, 127, 0.1); }

/* ============================================================
   EN-TÊTE / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(231, 216, 194, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-deep);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--terracotta); }

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-menu a:hover { color: var(--sage-deep); text-decoration: none; }
.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--terracotta-d); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: 0.25s;
}

/* ============================================================
   HÉRO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(197, 139, 111, 0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-media {
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: clamp(360px, 52vh, 500px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta-d);
  margin: 0 0 1.2rem;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 1.3rem;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-decor {
  position: absolute;
  top: -120px; right: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 139, 127, 0.22), transparent 70%);
  z-index: 1;
}

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream-deep); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--terracotta-d);
  margin: 0 0 0.6rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 1.4rem;
}
.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 68ch;
}
.lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
.note { color: var(--ink-soft); font-size: 0.95rem; margin-top: 1.5rem; }

/* ---------- Cartes formations ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(92, 107, 96, 0.08);
  transition: transform 0.2s ease;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  font-size: 1.6rem;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.card h3 { font-size: 1.4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Accompagnement ---------- */
.accomp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2.2rem;
}
.feature-list li {
  padding: 0.7rem 0 0.7rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--cream-deep);
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--terracotta);
}
.feature-list strong { color: var(--ink); }

.accomp-media {
  margin: 2.2rem 0 0;
}
.accomp-media img {
  width: 100%;
  height: clamp(280px, 38vh, 380px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.accomp-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(92, 107, 96, 0.08);
}
.accomp-info h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.accomp-info dl { margin: 0; }
.accomp-info dt {
  font-weight: 700;
  color: var(--sage-deep);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.1rem;
}
.accomp-info dd { margin: 0.2rem 0 0; color: var(--ink-soft); }
.map-link { display: inline-block; margin-top: 1.4rem; font-weight: 600; }

/* ---------- Calendly ---------- */
.calendly-inline-widget {
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 3.5rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 0.3rem;
  color: var(--white);
}
.footer-small { color: rgba(250, 247, 242, 0.8); font-size: 0.95rem; margin: 0.2rem 0; }
.site-footer a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(250,247,242,0.4); }
.site-footer a:hover { text-decoration-color: var(--cream); }
.footer-copy {
  text-align: center;
  margin: 2.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .accomp-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-deep);
    padding: 0.5rem 1.2rem 1.2rem;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--cream-deep); }
  .nav-menu a { display: block; padding: 0.9rem 0.3rem; }
  .nav-cta { text-align: center; margin-top: 0.6rem; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
