/* ==========================================================================
   CathiaSophroSanté — feuille de style principale
   ========================================================================== */

:root {
  --bordeaux: #810044;
  --bordeaux-dark: #5e0332;
  --orange: #ff914d;
  --orange-dark: #e57638;
  --beige: #ede5d6;
  --beige-light: #f7f3ea;
  --white: #ffffff;
  --text: #3a2a30;
  --text-light: #6e5c62;

  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(129, 0, 68, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border-radius: var(--radius); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--bordeaux);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.5rem); font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--orange-dark);
  margin-bottom: 0.75em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section--beige { background: var(--beige-light); }
.section--bordeaux { background: var(--bordeaux); color: var(--beige-light); }
.section--bordeaux h2, .section--bordeaux h3 { color: var(--white); }
.section--tight { padding: 2.5rem 0; }

.text-center { text-align: center; }
.max-w { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--orange); color: var(--bordeaux-dark); }
.btn--primary:hover { background: var(--orange-dark); }

.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: var(--bordeaux); color: var(--white); border-color: var(--bordeaux); }

.section--bordeaux .btn--outline { border-color: var(--white); }
.section--bordeaux .btn--outline:hover { background: var(--white); color: var(--bordeaux); }

.btn--ghost { background: transparent; color: var(--bordeaux); padding: 0.85em 0.4em; }
.btn--ghost:hover { color: var(--orange-dark); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(129, 0, 68, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { height: 78px; width: auto; border-radius: 0; }
.brand__name {
  font-family: var(--font-title);
  color: var(--bordeaux);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
}
.brand__name span { display: block; font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-dark); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav__links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.3em 0;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--bordeaux); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bordeaux);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--beige-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav-toggle { display: block; }
  .nav .btn--primary { display: none; }
  .nav__links .btn--primary { display: inline-flex; margin-top: 0.5rem; }
}

/* ---- Hero ---- */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--beige-light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }
.leaf-decor { position: absolute; pointer-events: none; z-index: 0; opacity: 0.1; }
.leaf-decor--1 { top: -60px; right: -40px; width: 320px; height: 320px; color: var(--bordeaux); transform: rotate(20deg); }
.leaf-decor--2 { bottom: -70px; left: -50px; width: 260px; height: 260px; color: var(--orange); transform: rotate(-15deg); }
.section--leaves { position: relative; overflow: hidden; }
.section--leaves > .container { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; }
}
.hero__image img { box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.hero blockquote, .hero h1.hero-quote, .pull-quote {
  margin: 0 0 1.5rem;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.85rem);
  color: var(--bordeaux);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---- Cards ---- */
.cards { display: grid; gap: 1.75rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(129,0,68,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card__icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-light); flex-grow: 1; }
.card .btn { margin-top: 1rem; align-self: flex-start; }

.card--media { padding: 0; overflow: hidden; }
.card--media .card__media { height: 175px; width: 100%; position: relative; }
.card--media .card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card--media .card__media--graphic { background: linear-gradient(135deg, var(--bordeaux) 0%, var(--orange) 100%); display: flex; align-items: center; justify-content: center; }
.card--media .card__media--graphic svg { width: 54px; height: 54px; color: var(--white); opacity: 0.95; }
.card--media .card__body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; flex-grow: 1; }

/* ---- Article / Ressources ---- */
.article-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.95rem; }
.article-table th, .article-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid rgba(129,0,68,0.1); }
.article-table th { font-family: var(--font-title); color: var(--bordeaux); font-weight: 600; background: var(--beige-light); }
.article-table td:first-child, .article-table th:first-child { font-weight: 600; }
.article-table tr:last-child td { border-bottom: none; background: rgba(255,145,77,0.08); }
.res-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid rgba(129,0,68,0.06); display: flex; flex-direction: column; height: 100%; }
.res-card .tag { margin-bottom: 0.8rem; }
.res-card h3 { margin-bottom: 0.6rem; }
.res-card p { color: var(--text-light); flex-grow: 1; }
.res-card .btn { margin-top: 1.2rem; align-self: flex-start; }
.res-card--soon { opacity: 0.6; }

/* ---- Testimonials ---- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.testimonial p { font-style: italic; color: var(--text); }
.testimonial cite { display: block; margin-top: 0.9rem; font-style: normal; font-weight: 600; color: var(--bordeaux); font-size: 0.9rem; }

/* ---- Pricing table (QVCT) ---- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.pricing__tier {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--orange);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.pricing__tier--highlight { border-top-color: var(--bordeaux); transform: translateY(-8px); }
.pricing__tier .price { font-family: var(--font-title); font-size: 2.1rem; color: var(--bordeaux); margin: 0.3em 0; }
.pricing__tier .price span { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-light); }
.pricing__tier ul { padding-left: 1.1em; margin: 1rem 0; color: var(--text-light); font-size: 0.92rem; flex: 1 1 auto; }
.pricing__tier .btn { margin-top: auto; }
.pricing__tier .tag { margin-bottom: 1.4rem; }
.pricing__tier li { margin-bottom: 0.5em; }
.pricing__tier .tagline { font-style: italic; color: var(--text-light); font-size: 0.92rem; margin-bottom: 1rem; }

/* ---- Value / feature list ---- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.value-grid__item { text-align: center; padding: 1rem; }
.value-grid__item h3 { color: var(--bordeaux); margin-bottom: 0.3rem; }
.value-grid__item p { color: var(--text-light); font-size: 0.92rem; }

/* ---- Two-column content ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--reverse .split__image { order: -1; }
@media (min-width: 861px) { .split--reverse .split__image { order: 2; } }
.split__image img { box-shadow: var(--shadow); }

/* ---- Comparison block (hypnose/méditation) ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
.compare__col { background: var(--beige-light); border-radius: var(--radius); padding: 1.6rem; }
.compare__col--accent { background: var(--bordeaux); color: var(--white); }
.compare__col--accent h3 { color: var(--white); }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--bordeaux);
  color: var(--beige-light);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner .btn--outline { border-color: var(--white); color: var(--white); }
.cta-banner .btn--outline:hover { background: var(--white); color: var(--bordeaux); }

/* ---- Association block ---- */
.assoc-box {
  background: var(--beige-light);
  border: 1px solid rgba(129,0,68,0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}
.assoc-box__icon { font-size: 1.6rem; }
.duo-avatar { display: flex; flex-shrink: 0; }
.duo-avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 0 0 1px rgba(129,0,68,0.15); }
.duo-avatar img + img { margin-left: -16px; }

/* ---- Forms ---- */
.form-grid { display: grid; gap: 1.2rem; max-width: 640px; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-weight: 600; font-size: 0.9rem; color: var(--bordeaux-dark); }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75em 1em;
  border: 1.5px solid rgba(129,0,68,0.2);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-light); }
/* honeypot field, hidden from real users, only bots fill it */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { padding: 0.9em 1.2em; border-radius: 10px; font-size: 0.92rem; display: none; }
.form-status.is-success { display: block; background: #e8f3e6; color: #2f5c2a; }
.form-status.is-error { display: block; background: #fbe8e8; color: #7a2323; }

/* ---- Contact info list ---- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: center; }
.info-list .ico { font-size: 1.2rem; line-height: 1; display: inline-flex; align-items: center; }

/* ---- Footer ---- */
.site-footer { background: var(--bordeaux-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--orange); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--orange); }
.footer-brand img { height: 110px; margin-bottom: 0.8rem; background: var(--white); padding: 0.6rem 1rem; border-radius: 14px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.social-row { display: flex; gap: 0.9rem; margin-top: 1rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.social-row a:hover { border-color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ---- Sticky mobile RDV bar ---- */
.mobile-rdv {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 0.8rem 1rem;
  background: var(--white);
  border-top: 1px solid rgba(129,0,68,0.12);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
}
.mobile-rdv .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) { .mobile-rdv { display: block; } body { padding-bottom: 4.5rem; } }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--bordeaux); }

/* ---- Utility ---- */
.tag {
  display: inline-block;
  background: var(--beige);
  color: var(--bordeaux-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin: 0.2em 0.3em 0.2em 0;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
hr.soft { border: none; border-top: 1px solid rgba(129,0,68,0.12); margin: 2.5rem 0; }
