/* ═══════════════════════════════════════════════════════
   HACER ERTEKIN — Psychologue Clinicienne · Trévoux
   style.css
   ═══════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────── */
:root {
  --c-white:  #fdfaf6;
  --c-cream:  #f6ede1;
  --c-linen:  #e9d9c8;
  --c-sand:   #d5bca0;
  --c-warm:   #c2a07c;
  --c-clay:   #a07d58;
  --c-earth:  #6b4f35;
  --c-bark:   #3c2918;

  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'DM Sans', system-ui, sans-serif;

  --max-w:     1080px;
  --pad-x:     2rem;
  --section-y: 6rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   { background: var(--c-cream); color: var(--c-bark);
         font-family: var(--f-sans); line-height: 1.75;
         -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
address{ font-style: normal; }

/* ── Shared ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-clay);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--c-bark);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-clay);
}

.section-label        { margin-bottom: 3rem; }
.section-label--center{ text-align: center; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  background: var(--c-bark);
  color: var(--c-cream);
  border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover { background: var(--c-earth); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--c-sand);
  color: var(--c-earth);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.2s var(--ease);
}
.btn-secondary:hover { border-color: var(--c-clay); color: var(--c-clay);
                       transform: translateY(-2px); }

/* ── Scroll reveal ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible      { opacity: 1; transform: translateY(0); }
.reveal--delay       { transition-delay: 0.12s; }
.reveal--delay-2     { transition-delay: 0.24s; }


/* ══════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--pad-x);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              padding 0.35s var(--ease);
}
#nav.scrolled {
  background: rgba(246, 237, 225, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--c-linen);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.nav-logo {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-bark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-logo span { font-weight: 300; font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-earth);
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--c-clay);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--c-clay); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.3rem;
  background: var(--c-bark);
  color: var(--c-cream) !important;
  border-radius: 2px;
  transition: background 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--c-earth); color: var(--c-cream) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-bark);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 199;
  background: var(--c-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--f-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-bark);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--c-clay); }
.mobile-cta {
  font-family: var(--f-sans) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: var(--c-bark);
  color: var(--c-cream) !important;
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════
   HERO  —  Photo 1 (cabinet, seated, warm)
   ══════════════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--c-cream);
}

/* Text side */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--pad-x) 5rem calc((100vw - var(--max-w)) / 2 + var(--pad-x));
  min-width: 0;
}

.hero-content .eyebrow { margin-bottom: 1.2rem; }

.hero-content h1 {
  font-family: var(--f-serif);
  font-weight: 300;
  line-height: 1.05;
  color: var(--c-bark);
  display: flex;
  flex-direction: column;
}
.name-first { font-size: clamp(2.8rem, 5.5vw, 5.5rem); }
.name-last  {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--c-clay);
}

.hero-role {
  margin-top: 1.5rem;
  font-family: var(--f-serif);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-earth);
}
.hero-public {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-clay);
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Photo side */
.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--c-linen);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;  /* keep face visible, not feet */
}


/* ══════════════════════════════════════════════════════
   QUI SUIS-JE  —  Photo 2 (arms crossed, colour)
   ══════════════════════════════════════════════════════ */
#qui-suis-je {
  padding: var(--section-y) 0;
  background: var(--c-white);
}

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

/* Photo column */
.about-photo {
  position: sticky;
  top: 6rem;
  border-radius: 3px;
  overflow: hidden;
  background: var(--c-linen);
  /* natural portrait ratio */
  aspect-ratio: 2 / 3;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;  /* slightly above centre — shows face + body */
}

/* Text column */
.about-right { display: flex; flex-direction: column; gap: 2rem; }

.about-text p {
  font-size: 0.97rem;
  color: var(--c-earth);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-text p:last-child { margin-bottom: 0; }

/* Aside cards */
.aside-cards { display: flex; flex-direction: column; gap: 1rem; }

.aside-card {
  background: var(--c-cream);
  border: 1px solid var(--c-linen);
  border-left: 3px solid var(--c-sand);
  padding: 1.5rem 1.4rem;
  border-radius: 2px;
}
.aside-card h3 {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-bark);
  margin-bottom: 0.6rem;
}
.aside-card p {
  font-size: 0.88rem;
  color: var(--c-earth);
  line-height: 1.75;
}


/* ══════════════════════════════════════════════════════
   HONORAIRES  —  Photo 3 (B&W, editorial)
   ══════════════════════════════════════════════════════ */
#honoraires {
  background: var(--c-bark);
}

.honoraires-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 600px;
}

/* Photo column */
.honoraires-photo {
  overflow: hidden;
}
.honoraires-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* slight warm tint to feel connected to palette */
  filter: sepia(15%) brightness(0.95);
}

/* Content column */
.honoraires-content {
  padding: var(--section-y) 4rem var(--section-y) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.honoraires-content .eyebrow { color: var(--c-warm); }
.honoraires-content .section-title { color: var(--c-cream); }
.honoraires-content .section-title em { color: var(--c-warm); }
.honoraires-content .section-label { margin-bottom: 1.5rem; }

/* Tarif rows */
.tarifs-list { display: flex; flex-direction: column; gap: 0; }

.tarif-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(194, 160, 124, 0.2);
}
.tarif-item:first-child { border-top: 1px solid rgba(194, 160, 124, 0.2); }

.tarif-title {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--c-linen);
  line-height: 1.3;
}
.tarif-subtitle {
  font-size: 0.78rem;
  color: var(--c-warm);
  margin-top: 0.2rem;
}
.tarif-price {
  font-family: var(--f-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--c-warm);
  white-space: nowrap;
  margin-left: 2rem;
}
.tarif-price span {
  font-size: 0.9rem;
  color: rgba(194, 160, 124, 0.55);
  font-weight: 300;
}

.tarifs-note {
  font-size: 0.82rem;
  color: rgba(233, 217, 200, 0.5);
  line-height: 1.7;
}

.honoraires-content .btn-primary {
  background: var(--c-warm);
  color: var(--c-bark);
  align-self: flex-start;
}
.honoraires-content .btn-primary:hover { background: var(--c-sand); }


/* ══════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════ */
#contact {
  padding: var(--section-y) 0;
  background: var(--c-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-block {
  background: var(--c-white);
  border: 1px solid var(--c-linen);
  border-radius: 3px;
  padding: 2rem;
}
.contact-block h3 {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--c-bark);
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--c-linen);
}

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.contact-list a {
  font-size: 0.95rem;
  color: var(--c-earth);
  text-decoration: underline;
  text-decoration-color: var(--c-sand);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.contact-list a:hover { color: var(--c-clay); text-decoration-color: var(--c-clay); }

.contact-block address {
  font-size: 0.9rem;
  color: var(--c-earth);
  line-height: 1.75;
}
.contact-days {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-clay);
}


/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
footer { background: var(--c-bark); padding: 2.5rem 0; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-identity {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  color: var(--c-linen);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.footer-identity strong { font-weight: 500; }
.footer-address,
.footer-copy { font-size: 0.77rem; color: rgba(233, 217, 200, 0.45); line-height: 1.6; }
.footer-address { text-align: center; }
.footer-copy    { text-align: right; }


/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid        { grid-template-columns: 300px 1fr; gap: 3rem; }
  .honoraires-inner  { grid-template-columns: 300px 1fr; }
  .honoraires-content{ padding: var(--section-y) 3rem; }
}

@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero stacks: photo on top, text below */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vw auto;
    min-height: unset;
  }
  .hero-photo { order: 1; height: 55vw; min-height: 260px; max-height: 420px; }
  .hero-content {
    order: 2;
    padding: 3rem var(--pad-x) 4rem;
    justify-content: flex-start;
  }


  /* About: stack photo above text — no float, no sticky */
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .about-photo {
    position: static;   /* release desktop sticky */
    float: none;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 480px;
    margin: 0;
  }
  .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
  }

  /* Honoraires */
  .honoraires-inner  { grid-template-columns: 1fr; }
  .honoraires-photo  {
    aspect-ratio: unset;   /* same — let the portrait show fully */
    height: auto;
    max-height: none;
  }
  .honoraires-photo img {
    height: auto;
    object-fit: contain;
  }
  .honoraires-content{ padding: 3rem var(--pad-x); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-address, .footer-copy { text-align: left; }
}

@media (max-width: 500px) {
  :root { --section-y: 4rem; --pad-x: 1.25rem; }
  .hero-actions { flex-direction: column; }
}
