/* ============================================================
   LM THÉRAPIE – Mélanie Lavaix
   Design : naturel, doux, raffiné
   Palette : crème, sauge, terre, or doux
   ============================================================ */

:root {
  --creme:       #f5f0e8;
  --creme-dark:  #ede5d4;
  --sage:        #7a9e7e;
  --sage-light:  #b5cdb7;
  --sage-deep:   #4f7355;
  --terre:       #c4a882;
  --terre-light: #e0d0b8;
  --or:          #b89560;
  --brun:        #3d3028;
  --brun-mid:    #6b5848;
  --blanc:       #fdfaf5;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', sans-serif;
  --radius:      2px;
  --transition:  0.4s ease;
}

/* MODE NUIT */
body.dark-mode {
  --creme:       #1e1a16;
  --creme-dark:  #262019;
  --sage-deep:   #8fbf93;
  --terre-light: #3a3028;
  --or:          #c4a060;
  --brun:        #f0e8dc;
  --brun-mid:    #b8a898;
  --blanc:       #17140f;
}
body.dark-mode #header {
  background: rgba(23, 20, 15, 0.92);
}
body.dark-mode .hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(79,115,85,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(120,90,60,0.12) 0%, transparent 60%),
    #17140f;
}
body.dark-mode .section--soft { background: #1a1710; }
body.dark-mode .section--dark { background: #0e0c09; }
body.dark-mode .footer { background: #141210; }

/* ========================
   TOGGLE THÈME
======================== */
.theme-toggle {
  display: flex; align-items: center;
  gap: 0; margin-left: 1rem;
  background: var(--creme-dark);
  border: 1px solid var(--terre-light);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.theme-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none; background: transparent;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
  position: relative; z-index: 1;
}
.theme-btn.active {
  background: var(--blanc);
  box-shadow: 0 1px 6px rgba(61,48,40,0.15);
}
.theme-btn:hover { background: var(--blanc); }

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--blanc);
  color: var(--brun);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CONTAINER */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

/* ========================
   HEADER / NAV
======================== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--terre-light);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: 0 2px 20px rgba(61,48,40,0.08); }

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: 1120px; margin: 0 auto;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--brun);
}
.logo span { color: var(--sage-deep); }

.nav-links {
  display: flex; align-items: center; gap: 2.2rem;
}
.nav-links a {
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brun-mid);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--sage-deep); }

.nav-cta {
  background: var(--sage-deep) !important;
  color: var(--blanc) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--sage) !important; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 1.5px; background: var(--brun);
  transition: all 0.3s;
}

/* ========================
   HERO
======================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 8rem 2rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(122,158,126,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(196,168,130,0.15) 0%, transparent 60%),
    var(--blanc);
}
/* Texture grain subtile */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4; pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }

.hero-eyebrow {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage-deep); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--brun); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero h1 em { font-style: italic; color: var(--sage-deep); }
.hero-sub {
  font-size: 1.05rem; color: var(--brun-mid); line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll span {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--terre));
  animation: scrollPulse 2s infinite;
}

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-block;
  background: var(--sage-deep); color: var(--blanc);
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--sage); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--brun-mid); color: var(--brun);
  padding: 0.85rem 2rem; border-radius: 50px;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--sage-deep); color: var(--sage-deep); }

.btn-full { display: block; text-align: center; }

.link-arrow {
  display: inline-block; margin-top: 1rem;
  font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--sage-deep); font-weight: 500;
  transition: letter-spacing var(--transition);
}
.link-arrow:hover { letter-spacing: 0.14em; }

/* ========================
   BANDE INTRO
======================== */
.bande-intro {
  background: var(--sage-deep); padding: 2rem 0;
}
.bande-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.bande-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.bande-item:last-child { border-right: none; }
.bande-icon { color: var(--terre-light); font-size: 1rem; flex-shrink: 0; }
.bande-item p { color: var(--blanc); font-size: 0.9rem; line-height: 1.4; }

/* ========================
   SECTIONS
======================== */
.section { padding: 6rem 0; }
.section--soft { background: var(--creme); }
.section--dark {
  background: var(--brun);
  color: var(--blanc);
}
.section--dark h2 { color: var(--blanc); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-eyebrow {
  display: block; font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--brun); margin-bottom: 1rem;
}
.section-desc { color: var(--brun-mid); font-size: 1rem; }

/* ========================
   OFFRES
======================== */
.offres-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.offre-card {
  background: var(--creme); padding: 3rem;
  border: 1px solid var(--terre-light);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.offre-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61,48,40,0.1);
}
.offre-card--accent { background: var(--sage-deep); color: var(--blanc); border-color: var(--sage-deep); }
.offre-card--accent h3, .offre-card--accent .offre-num { color: var(--blanc); }
.offre-card--accent .link-arrow { color: var(--sage-light); }
.offre-num {
  font-family: var(--font-serif); font-size: 4rem; font-weight: 300;
  color: var(--terre-light); line-height: 1; margin-bottom: 1rem;
}
.offre-card h3 {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400;
  margin-bottom: 1rem; color: var(--brun);
}
.offre-card p { font-size: 0.95rem; line-height: 1.8; }

/* ========================
   APPROCHES
======================== */
.approches-list { display: flex; flex-direction: column; gap: 3rem; }

.approche-item {
  background: var(--blanc); padding: 3rem;
  border: 1px solid var(--terre-light);
  transition: box-shadow var(--transition);
}
.approche-item:hover { box-shadow: 0 8px 30px rgba(61,48,40,0.07); }

.approche-header {
  display: flex; align-items: flex-start; gap: 1.5rem;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--creme-dark);
}
.approche-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.approche-tag {
  display: block; font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 0.3rem;
}
.approche-header h3 {
  font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400; color: var(--brun);
}
.approche-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.approche-text p { color: var(--brun-mid); margin-bottom: 1rem; font-size: 0.97rem; line-height: 1.8; }
.approche-quote {
  margin-top: 1.5rem; padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--terre); background: var(--creme);
}
.approche-quote blockquote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; color: var(--brun); line-height: 1.6;
}
.detail-block { margin-bottom: 2rem; }
.detail-block h4 {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500;
  margin-bottom: 0.8rem; color: var(--brun);
}
.detail-block p { font-size: 0.93rem; color: var(--brun-mid); line-height: 1.7; margin-bottom: 0.5rem; }
.detail-info {
  font-size: 0.85rem !important;
  color: var(--sage-deep) !important;
  font-weight: 500;
}
.tags-list {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.tags-list li {
  background: var(--creme); border: 1px solid var(--terre-light);
  padding: 0.25rem 0.75rem; font-size: 0.8rem; color: var(--brun-mid);
  border-radius: 50px;
}

/* ========================
   À PROPOS
======================== */
.apropos-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem;
  align-items: center;
}
.apropos-image-wrap { position: relative; }
.apropos-image-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--creme-dark);
  border: 1px solid var(--terre-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--brun-mid); font-size: 0.85rem;
}
.apropos-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--sage-deep); color: var(--blanc);
  padding: 1.5rem; text-align: center;
}
.badge-num {
  display: block; font-family: var(--font-serif); font-size: 3rem;
  font-weight: 300; line-height: 1;
}
.badge-txt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

.apropos-text-col { padding-bottom: 2rem; }
.apropos-text-col h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300; margin-bottom: 1.5rem; color: var(--brun);
}
.apropos-lead { font-size: 1.1rem; margin-bottom: 1rem; }
.apropos-text-col p { color: var(--brun-mid); margin-bottom: 1rem; line-height: 1.8; }
.apropos-text-col em { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--brun); }

.apropos-valeurs {
  display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem;
}
.valeur {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--sage);
  color: var(--sage-deep); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 50px;
}

/* ========================
   TÉMOIGNAGES
======================== */
.temoignages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 2rem;
}
.temoignage-card {
  background: var(--blanc); padding: 2rem;
  border: 1px solid var(--terre-light);
}
.stars { color: var(--or); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.temoignage-card p {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; line-height: 1.7; color: var(--brun); margin-bottom: 1rem;
}
.temoignage-author { font-size: 0.8rem; color: var(--brun-mid); text-transform: uppercase; letter-spacing: 0.1em; }
.temoignages-note {
  text-align: center; font-size: 0.8rem; color: var(--brun-mid);
  font-style: italic; margin-top: 1rem;
}

/* ========================
   CONTACT
======================== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.contact-text h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300; color: var(--blanc); margin-bottom: 1rem;
}
.contact-text p { color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 1.5rem; }
.contact-infos { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-line {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--sage-light); font-size: 0.95rem;
  transition: color var(--transition);
}
.contact-line:hover { color: var(--blanc); }
.contact-ico { font-size: 1rem; }

.rdv-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 2.5rem;
}
.rdv-title {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--blanc); margin-bottom: 0.75rem;
}
.rdv-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 1.5rem; }
.rdv-note { color: rgba(255,255,255,0.45) !important; font-size: 0.8rem !important; margin-top: 1rem !important; text-align: center; }

/* ========================
   FOOTER
======================== */
.footer {
  background: var(--creme-dark); padding: 3rem 0;
  border-top: 1px solid var(--terre-light);
}
.footer-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center;
}
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 0.3rem; }
.footer-brand p:last-child { font-size: 0.8rem; color: var(--brun-mid); }
.footer-links {
  display: flex; flex-direction: column; gap: 0.4rem; text-align: center;
}
.footer-links a { font-size: 0.8rem; color: var(--brun-mid); transition: color var(--transition); }
.footer-links a:hover { color: var(--sage-deep); }
.footer-legal { text-align: right; }
.footer-legal p { font-size: 0.75rem; color: var(--brun-mid); line-height: 1.7; }

/* ========================
   ANIMATIONS
======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%     { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .offres-grid { grid-template-columns: 1fr; }
  .apropos-layout { grid-template-columns: 1fr; gap: 3rem; }
  .apropos-badge { bottom: -1rem; right: -1rem; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { text-align: center; }
  .bande-grid { grid-template-columns: 1fr; }
  .bande-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .bande-item:last-child { border-bottom: none; }
  .approche-body { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blanc); border-top: 1px solid var(--terre-light);
    padding: 1.5rem 2rem; }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .offre-card { padding: 2rem; }
  .approche-item { padding: 2rem; }
  .hero h1 { font-size: 2.8rem; }
  .section { padding: 4rem 0; }
}


/* ========================
   CARROUSEL AVIS GOOGLE
======================== */
.carousel-container {
  position: relative; display: flex; align-items: center; gap: 1rem;
}
.carousel-track-wrap {
  overflow: hidden; flex: 1;
}
.carousel-track {
  display: flex; gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.gr-card {
  background: var(--blanc); padding: 1.8rem;
  border: 1px solid var(--terre-light);
  border-radius: 4px;
  flex-shrink: 0;
  transition: box-shadow var(--transition);
  box-sizing: border-box;
}
.gr-card:hover { box-shadow: 0 6px 24px rgba(61,48,40,0.09); }
.gr-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.gr-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1.1rem;
}
.gr-name { font-weight: 500; font-size: 0.9rem; color: var(--brun); }
.gr-date { font-size: 0.75rem; color: var(--brun-mid); margin-top: 0.1rem; }
.gr-google { color: #4285F4; font-weight: 600; }
.gr-stars { color: #fbbc04; font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.gr-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.97rem; color: var(--brun-mid); line-height: 1.7;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--terre-light); background: var(--blanc);
  cursor: pointer; font-size: 1.1rem; color: var(--brun-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.carousel-btn:hover {
  background: var(--sage-deep); color: var(--blanc);
  border-color: var(--sage-deep);
}
.carousel-dots {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terre-light); border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: var(--sage-deep); transform: scale(1.3);
}
.google-reviews-footer { text-align: center; margin-top: 2rem; }
.btn-google-reviews {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border: 1px solid var(--terre-light);
  background: var(--blanc); color: var(--brun);
  font-size: 0.85rem; font-weight: 500; border-radius: 50px;
  transition: all var(--transition);
}
.btn-google-reviews:hover {
  border-color: var(--sage); color: var(--sage-deep);
  box-shadow: 0 4px 16px rgba(61,48,40,0.08);
}

@media (max-width: 900px) {
  .gr-card { min-width: calc(50% - 0.75rem); }
}
@media (max-width: 580px) {
  .gr-card { min-width: 100%; }
  .carousel-btn { display: none; }
}
