/* PSYCŒURLOGIE — STYLES GLOBAUX */

:root {
  --ivory: #f7f1ea;
  --ivory-deep: #ede4d8;
  --rose: #d4a5a0;
  --rose-soft: #e8c8c4;
  --burgundy: #5c2a2f;
  --burgundy-deep: #3d1c20;
  --ink: #2a1d1f;
  --ink-soft: #5a4a4c;
  --gold: #b8956a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}
::selection { background: var(--burgundy); color: var(--ivory); }

body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.35;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.3 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* NAVIGATION */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 241, 234, 0.85);
  border-bottom: 1px solid rgba(92, 42, 47, 0.08);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--burgundy);
  text-decoration: none;
  display: flex; align-items: baseline; gap: 4px;
}
.logo em { font-style: italic; color: var(--rose); font-weight: 400; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  font-weight: 400;
}
.nav-links a:hover, .nav-links a.active { color: var(--burgundy); }
.nav-cta {
  font-size: 13px; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--burgundy) !important;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--burgundy);
  border-radius: 100px;
  transition: all 0.3s ease;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--burgundy); color: var(--ivory) !important; }

/* TYPO */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 28px;
  font-weight: 500;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--burgundy); }

.section-eyebrow {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--rose);
  margin-bottom: 20px; font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400; line-height: 1.1;
  color: var(--burgundy-deep);
  margin-bottom: 32px;
  max-width: 820px;
}
.section-title em { font-style: italic; color: var(--rose); }

/* BOUTONS */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: var(--burgundy); color: var(--ivory);
  text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: 0.03em;
  border-radius: 100px; border: none; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--burgundy-deep);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(92, 42, 47, 0.4); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow { transition: transform 0.3s ease; position: relative; z-index: 1; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}
.btn-outline::before { background: var(--burgundy); }
.btn-outline:hover { color: var(--ivory); }

/* FOOTER */
footer {
  border-top: 1px solid rgba(92, 42, 47, 0.1);
  padding: 64px 0 40px;
  background: var(--ivory-deep);
  position: relative; z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p {
  color: var(--ink-soft); font-size: 14px;
  line-height: 1.7; max-width: 320px;
}
.footer-col h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; font-weight: 600;
  color: var(--burgundy); text-transform: uppercase;
  letter-spacing: 0.15em; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--ink-soft); font-size: 14px;
  text-decoration: none; transition: color 0.3s;
}
.footer-col a:hover { color: var(--burgundy); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(92, 42, 47, 0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-soft);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SECTIONS */
section { padding: 120px 0; position: relative; }

/* HAMBURGER */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; height: 1.5px; width: 100%;
  background: var(--burgundy);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 16px 20px; position: relative; flex-wrap: wrap; }
  .container, .container-narrow { padding: 0 24px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    background: rgba(247, 241, 234, 0.97);
    border-top: 1px solid rgba(92, 42, 47, 0.08);
    padding: 16px 0 20px;
    order: 3;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    width: 100%;
    border-bottom: 1px solid rgba(92, 42, 47, 0.06);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 8px;
    padding: 12px 24px !important;
    font-size: 14px !important;
    border-radius: 100px;
    text-align: center;
    width: auto;
    align-self: flex-start;
  }
  section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
