/* =============================================
   CABINET PSYCHOLOGIE — Feuille de style globale
   Palette : terracotta + rose pourpre
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --terracotta:       #C0614B;
  --terracotta-light: #E8D5CC;
  --terracotta-pale:  #F7F0EC;
  --pourpre:          #9B3A6E;
  --pourpre-light:    #C47AA8;
  --text-dark:        #2C1F1A;
  --text-mid:         #6B4F47;
  --text-light:       #A08070;
  --white:            #FFFFFF;
  --section-gap:      6rem;
  --radius:           2px;
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Navigation ─────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--terracotta-light);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}
.nav-logo span {
  color: var(--terracotta);
  font-style: italic;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Burger menu (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text-dark);
  transition: all 0.3s;
}

/* ── Titres de section ──────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.section-label::before {
  content: '';
  width: 2px;
  height: 1.8rem;
  background: var(--terracotta);
  display: block;
  flex-shrink: 0;
}
.section-label span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p { margin-bottom: 1.2rem; color: var(--text-mid); font-size: 0.97rem; }
p:last-child { margin-bottom: 0; }

/* ── Bouton ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover {
  background: #a8503c;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192,97,75,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--pourpre);
  border: 1px solid var(--pourpre);
}
.btn-outline:hover {
  background: var(--pourpre);
  color: var(--white);
}

/* ── Layout utilitaires ─────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: var(--section-gap) 0; }
.section-alt { background: var(--terracotta-pale); }
.section-pourpre { background: var(--pourpre); color: var(--white); }
.section-pourpre h2,
.section-pourpre h3 { color: var(--white); }
.section-pourpre p { color: rgba(255,255,255,0.82); }

/* ── Carte / bloc ──────────────────────────── */
.card {
  background: var(--white);
  border-radius: 3px;
  padding: 2rem;
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 2px 12px rgba(44,31,26,0.07);
}
.card h3 { margin-bottom: 0.6rem; }

/* ── Divider ───────────────────────────────── */
.divider {
  width: 48px; height: 1.5px;
  background: var(--terracotta);
  margin: 1.5rem 0 2rem;
}

/* ── Footer ────────────────────────────────── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
footer a { color: var(--terracotta-light); }
footer strong { color: rgba(255,255,255,0.9); }

/* ── Grille 2 colonnes ──────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ── Responsif ─────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-gap: 4rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--terracotta-light);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.9rem 2rem; width: 100%; }
  .nav-links a::after { display: none; }
  .nav-burger { display: flex; }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .grid-2.reverse-mobile .col-image { order: -1; }
}
