/* ── Inès Trocchia — Psychopraticienne ── */
/* Palette: crème #F4EFE6, brun cacao #3A2C28, ambre doré #C9A46A, brun profond #2B2B2B, beige sable #E6DDCF */

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

:root {
  --cream: #F4EFE6;
  --sand: #E6DDCF;
  --gold: #C9A46A;
  --gold-light: #d4b78a;
  --brown: #3A2C28;
  --brown-deep: #2B2B2B;
  --brown-soft: #5a4a42;
  --text: #2B2B2B;
  --text-light: #6b5e56;
  --white: #FFFCF7;
  --border: rgba(201,164,106,0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 300;
}

/* ── Typography ── */
.script {
  font-family: 'Great Vibes', cursive;
  color: var(--gold);
  font-weight: 400;
}

.amp { color: var(--gold); font-weight: 300; }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.25;
}

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 750px; }

.section {
  padding: 100px 0;
  position: relative;
}

.section-cream { background: var(--cream); }
.section-sand { background: var(--sand); }
.section-dark {
  background: var(--brown-deep);
  color: var(--cream);
}

.section-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-eyebrow.gold { color: var(--gold-light); }

.section-title {
  font-size: clamp(28px, 4.5vw, 48px);
  margin-bottom: 28px;
  color: var(--brown);
}

.section-title .script { font-size: 1.15em; }

.section-title.light, .section-text.light { color: var(--cream); }
.section-title.light .script { color: var(--gold-light); }

.section-text {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 20px;
  max-width: 600px;
}

.section-text.light { color: rgba(244,239,230,0.8); }

/* ── Nav ── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 70px;
  background: rgba(244,239,230,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s;
}

#main-nav.scrolled {
  height: 60px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo-img {
  height: 62px; width: auto;
  object-fit: contain;
  transition: height 0.3s;
}

#main-nav.scrolled .nav-logo-img { height: 52px; }

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 13px; font-weight: 400;
  color: var(--brown-soft); text-decoration: none;
  letter-spacing: 0.5px; transition: color 0.3s;
  position: relative;
}

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

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 1px;
  background: var(--gold); transition: all 0.3s; transform: translateX(-50%);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 10px 24px !important; border-radius: 50px !important;
  font-weight: 400 !important; letter-spacing: 1px !important;
  transition: all 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--brown) !important; }

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

.nav-hamburger span {
  width: 24px; height: 1.5px; background: var(--brown);
  transition: all 0.3s;
}

/* ── Hero ── */
#hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,44,40,0.4) 0%, rgba(43,43,43,0.7) 100%);
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0 24px;
}

.hero-logo {
  width: 300px; height: auto;
  object-fit: contain; margin-bottom: 24px;
  filter: drop-shadow(0 0 40px rgba(201,164,106,0.25));
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px); color: rgba(255,252,247,0.9);
  letter-spacing: 2px;
}

.hero-tagline .script { font-size: 1.3em; color: var(--gold-light); }

.hero-title {
  font-size: clamp(18px, 2.5vw, 26px);
  color: rgba(255,252,247,0.7); font-weight: 300;
  font-family: 'Lato', sans-serif; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 20px;
}

.hero-title .script {
  font-family: 'Great Vibes', cursive;
  text-transform: none; letter-spacing: 0;
  font-size: 1.6em; color: var(--gold-light);
}

.scroll-hint {
  margin-top: 40px; opacity: 0.5;
  animation: bounce 2s ease infinite;
  color: var(--cream);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block; padding: 15px 42px;
  background: var(--gold); color: var(--white);
  border: none; border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase;
  transition: all 0.4s; cursor: pointer;
}

.btn-primary:hover {
  background: var(--brown); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-secondary {
  display: inline-block; padding: 15px 42px;
  background: transparent; color: var(--cream);
  border: 1px solid rgba(201,164,106,0.4); border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 2px;
  text-decoration: none; text-transform: uppercase;
  transition: all 0.4s;
}

.btn-secondary:hover {
  border-color: var(--gold); color: var(--gold);
}

.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ── Pillars ── */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 48px;
}

.pillar {
  text-align: center; padding: 40px 24px;
  background: var(--white); border-radius: 20px;
  border: 1px solid var(--border);
  transition: all 0.4s;
}

.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.pillar-icon { margin-bottom: 20px; color: var(--gold); }
.pillar-title { font-size: 22px; margin-bottom: 12px; color: var(--brown); }
.pillar-text { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

.service-card {
  background: var(--white); border-radius: 20px;
  padding: 36px 28px; border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: all 0.4s;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.service-name { font-size: 20px; margin-bottom: 14px; color: var(--brown); }
.service-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 20px; }

.service-details {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 16px; border-top: 1px solid var(--border);
  gap: 12px;
}

.service-duration { font-size: 13px; color: var(--text-light); flex: 1; min-width: 0; }
.service-price { font-size: 18px; font-weight: 700; color: var(--gold); font-family: 'Playfair Display', serif; white-space: nowrap; text-align: right; flex-shrink: 0; }
.services-cta { text-align: center; margin-top: 48px; }

/* ── Events ── */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

.event-card {
  background: var(--white); border-radius: 20px;
  padding: 32px 24px; border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: all 0.4s;
}

.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }

.event-badge {
  display: inline-block; width: fit-content;
  padding: 4px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(201,164,106,0.12); color: var(--gold);
  margin-bottom: 16px;
}

.event-badge.formation { background: rgba(58,44,40,0.08); color: var(--brown); }
.event-badge.asso { background: rgba(139,120,100,0.1); color: var(--brown-soft); }
.event-title { font-size: 19px; margin-bottom: 10px; color: var(--brown); }
.event-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.event-meta { font-size: 13px; color: var(--text-light); padding-top: 14px; border-top: 1px solid var(--border); }
.event-link { color: var(--gold); text-decoration: none; font-weight: 400; transition: color 0.3s; }
.event-link:hover { color: var(--brown); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }

.blog-card {
  background: var(--white); border-radius: 20px;
  padding: 32px 24px; border: 1px solid var(--border);
  transition: all 0.4s; cursor: pointer;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }

.blog-category {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}

.blog-title { font-size: 19px; margin-bottom: 12px; color: var(--brown); line-height: 1.35; }
.blog-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.blog-date { font-size: 12px; color: var(--text-light); opacity: 0.5; }

@media (max-width: 900px) {
  .events-grid, .blog-grid { grid-template-columns: 1fr; }
}

/* ── Quote ── */
.section-quote {
  padding: 80px 0;
  background: var(--brown-deep);
  text-align: center;
}

.quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: clamp(22px, 3vw, 32px);
  color: var(--cream); line-height: 1.6;
  max-width: 700px; margin: 0 auto;
}

/* ── About ── */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.about-img {
  width: 100%; border-radius: 20px;
  aspect-ratio: 4/5; object-fit: cover;
}

.about-img-placeholder {
  width: 100%; aspect-ratio: 4/5; border-radius: 20px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--gold) 50%, var(--brown) 100%);
  opacity: 0.4;
  display: flex; align-items: center; justify-content: center;
}

.placeholder-text {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 20px; color: var(--brown); text-align: center; opacity: 0.7;
}

.about-subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 24px; color: var(--gold); margin-bottom: 20px;
}

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }

.testimonial {
  background: var(--white); border-radius: 20px;
  padding: 36px 28px; border: 1px solid var(--border);
  transition: all 0.4s;
}

.testimonial:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 17px;
  color: var(--brown-soft); line-height: 1.7; margin-bottom: 20px;
}

.testimonial-author { font-size: 13px; color: var(--gold); letter-spacing: 1px; }

/* ── FAQ ── */
.faq-list { margin-top: 32px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; background: none; border: none;
  font-family: 'Playfair Display', serif; font-size: 17px;
  color: var(--brown); cursor: pointer; text-align: left;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--gold); }

.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0; stroke: var(--gold);
  transition: transform 0.3s;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 200px; padding-bottom: 22px; }

.faq-answer p {
  font-size: 15px; color: var(--text-light); line-height: 1.7;
}

/* ── Social ── */
.social-links { margin-top: 32px; display: flex; justify-content: center; gap: 16px; }
.social-links a {
  color: rgba(244,239,230,0.5); transition: color 0.3s;
}
.social-links a:hover { color: var(--gold); }

/* ── Footer ── */
footer {
  padding: 48px 0; background: var(--cream);
  border-top: 1px solid var(--border); text-align: center;
}

.footer-content { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo { height: 80px; width: auto; object-fit: contain; }
.footer-text { font-size: 14px; color: var(--text-light); }
.footer-copy { font-size: 12px; color: var(--text-light); opacity: 0.5; margin-top: 8px; }

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered delays */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pillars-grid, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-image { order: -1; }
  .about-img { aspect-ratio: 16/10; }
}

@media (max-width: 768px) {
  #main-nav { padding: 0 20px; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(244,239,230,0.98); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; z-index: 99;
  }

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

  .nav-links a { font-size: 18px; }
  .nav-hamburger { display: flex; z-index: 101; }

  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .section { padding: 64px 0; }

  .hero-logo { width: 180px; }
  .hero-tagline { font-size: 22px; }

  .container { padding: 0 20px; }

  .btn-primary, .btn-secondary { padding: 13px 32px; font-size: 13px; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Logo Slider (infinite scroll) ── */
.logo-slider-section {
  padding: 40px 0;
  overflow: hidden;
}
.logo-slider-section .section-title {
  text-align: center;
  margin-bottom: 32px;
}
.logo-slider-section .container {
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-slider-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  will-change: transform;
}
@keyframes logoSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(var(--slide-distance)); }
}
.logo-slider-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.6;
  filter: grayscale(30%);
  transition: opacity 0.3s, filter 0.3s;
}
.logo-slider-img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .logo-slider-track { gap: 40px; }
  .logo-slider-img { height: 36px; }
  .logo-slider-section { padding: 28px 0; }
}
