/*
Theme Name: Un Temps Pour Soi
Theme URI: https://untempspoursoi-wavre.be
Author: Anne-Françoise Bodart
Author URI: https://untempspoursoi-wavre.be
Description: Thème WordPress sur mesure pour Un Temps Pour Soi — cabinet de kinésithérapie et bien-être à Wavre, Belgique.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: untempspoursoi
Tags: wellness, spa, one-page, custom-colors, custom-menu
*/

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --background: #FCFAF8;
  --foreground: #29322C;
  --card: #F7F5F3;
  --card-foreground: #29322C;
  --primary: #29322C;
  --primary-foreground: #FCFAF8;
  --secondary: #F0EEEA;
  --secondary-foreground: #29322C;
  --muted: #F0EEEA;
  --muted-foreground: #5E6E63;
  --accent: #DDD3C5;
  --accent-foreground: #29322C;
  --border: #E6E2DB;
  --input: #E6E2DB;
  --ring: #29322C;
  --chart-1: #62846D;
  --chart-2: #CABAA5;
  --chart-3: #AB9D87;
  --chart-4: #DDD2BB;
  --chart-5: #839589;

  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-padding: 6rem 2rem;
  --container-max: 1280px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--foreground);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 500; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.italic { font-style: italic; }
.text-muted { color: var(--muted-foreground); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #3a4a3f;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.btn-ghost:hover {
  border-bottom-color: var(--foreground);
}

.link-arrow {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.link-arrow:hover { color: var(--foreground); }
.link-arrow::after { content: ' \2192'; }

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(252, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--foreground);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--foreground);
  transition: color 0.3s;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--muted-foreground);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--foreground);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--foreground);
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--foreground);
  color: var(--primary-foreground);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  margin: 5px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

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

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(252, 250, 248, 0.1) 0%,
    rgba(252, 250, 248, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--foreground);
  margin-bottom: 2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
}

.hero-scroll span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: var(--muted-foreground);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* =============================================
   PHILOSOPHY SECTION
   ============================================= */
.philosophy {
  padding: var(--section-padding);
  text-align: center;
}

.philosophy-content {
  max-width: 700px;
  margin: 0 auto;
}

.philosophy h2 {
  margin-bottom: 1.5rem;
}

.philosophy p {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.9;
}

/* =============================================
   SOINS (TREATMENTS) SECTION
   ============================================= */
.soins {
  padding: var(--section-padding);
  background-color: var(--background);
}

.soins-header {
  margin-bottom: 3rem;
}

.soins-header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.soins h2 {
  margin-bottom: 0.5rem;
}

/* Filter pills */
.soins-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-pill:hover {
  background-color: var(--secondary);
}

.filter-pill.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Filters row: pills + detail link on same line */
.soins-filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.soins-filters-row .soins-filters {
  margin-bottom: 0;
}

.soins-detail-link {
  white-space: nowrap;
  font-weight: 500;
}

@media (max-width: 768px) {
  .soins-filters-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Soins grid */
.soins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .soins-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .soins-grid { grid-template-columns: 1fr; }
}

/* Soin card */
.soin-card {
  background: var(--background);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s;
}

.soin-card:hover {
  transform: translateY(-4px);
}

.soin-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
}

.soin-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.soin-card:hover .soin-card-image img {
  transform: scale(1.05);
}

.soin-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(252, 250, 248, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground);
}

.soin-card-body {
  padding: 1.2rem 0;
}

.soin-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.soin-card-body p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.soin-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.soin-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.soin-meta .separator {
  width: 30px;
  height: 1px;
  background: var(--border);
}

.soin-price {
  font-weight: 600;
  color: var(--foreground);
}

/* WhatsApp contact line */
.whatsapp-line {
  margin-top: 0.5rem;
}

.whatsapp-line a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.whatsapp-line a:hover {
  color: var(--foreground);
}

.whatsapp-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.whatsapp-label {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Light variant for dark backgrounds (CTA banner) */
.whatsapp-line-light a {
  color: rgba(252, 250, 248, 0.7);
}

.whatsapp-line-light a:hover {
  color: var(--primary-foreground);
}

/* =============================================
   FAQ / MICRO-KINÉ SECTION
   ============================================= */
.faq {
  padding: var(--section-padding);
  background-color: var(--card);
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--foreground);
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--muted-foreground);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

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

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  padding: var(--section-padding);
  background: var(--background);
}

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

@media (max-width: 992px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--card);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.testimonial-card cite {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted-foreground);
}

/* Legacy single testimonial (kept for compatibility) */
.testimonial {
  padding: var(--section-padding);
  text-align: center;
  background: var(--background);
}

.testimonial-content {
  max-width: 650px;
  margin: 0 auto;
}

.testimonial blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.testimonial cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted-foreground);
}

/* =============================================
   SANCTUAIRE
   ============================================= */
.sanctuaire {
  padding: var(--section-padding);
  background: var(--background);
}

.sanctuaire-header {
  margin-bottom: 3rem;
}

.sanctuaire h2 {
  margin-bottom: 1rem;
}

.sanctuaire-intro {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 600px;
  line-height: 1.8;
}

.sanctuaire-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.sanctuaire-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .sanctuaire-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   LOCATIONS
   ============================================= */
.locations {
  padding: var(--section-padding);
  background: var(--card);
}

.locations h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .locations-grid { grid-template-columns: 1fr; }
}

.location-card {
  background: var(--background);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.location-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.location-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chart-1);
  margin-bottom: 1.2rem;
}

.location-card address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.location-card .phone {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(41, 50, 44, 0.55);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-foreground);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  color: rgba(252, 250, 248, 0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-banner .btn-outline {
  border-color: rgba(252, 250, 248, 0.5);
  color: var(--primary-foreground);
}

.cta-banner .btn-outline:hover {
  background: rgba(252, 250, 248, 0.15);
  border-color: var(--primary-foreground);
}

/* =============================================
   CONTACT FORM (in CTA banner)
   ============================================= */
.cta-banner-top {
  margin-bottom: 0;
}

.contact-separator {
  margin: 2.5rem auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 500px;
}

.contact-separator::before,
.contact-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(252, 250, 248, 0.3);
}

.contact-separator span {
  color: rgba(252, 250, 248, 0.7);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  white-space: nowrap;
}

.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group-full {
  margin-bottom: 1.5rem;
}

.contact-form label {
  color: rgba(252, 250, 248, 0.85);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.contact-form label .required {
  color: #e8c4a0;
}

.contact-form label .optional {
  color: rgba(252, 250, 248, 0.5);
  font-weight: 400;
  font-size: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(252, 250, 248, 0.1);
  border: 1px solid rgba(252, 250, 248, 0.25);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--primary-foreground);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(252, 250, 248, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(252, 250, 248, 0.6);
  background: rgba(252, 250, 248, 0.15);
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #e8a0a0;
  background: rgba(232, 160, 160, 0.15);
  box-shadow: 0 0 0 2px rgba(232, 160, 160, 0.3);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-error {
  color: #e8a0a0;
  font-size: 0.85rem;
  margin-top: 0.8rem;
  text-align: center;
}

.contact-success {
  text-align: center;
  padding: 2rem 0;
}

.contact-success svg {
  color: #a0d8b0;
  margin-bottom: 1rem;
}

.contact-success h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.contact-success p {
  color: rgba(252, 250, 248, 0.8);
  font-size: 1rem;
  margin-bottom: 0;
}

.contact-success em {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .site-logo {
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 1.2rem;
}

.footer-nav a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  padding: 0.3rem 0;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--foreground); }

.footer-contact p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.footer-contact .phone {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 0.5rem;
}

.footer-ambiance {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   UTILITY
   ============================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   SOINS DETAIL PAGE
   ============================================= */
.soins-detail-hero {
  padding: 10rem 2rem 4rem;
  background: var(--background);
}

.soins-detail-hero h1 {
  margin-bottom: 1.5rem;
}

.soins-detail-intro {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 650px;
  line-height: 1.8;
}

.soin-detail-section {
  padding: var(--section-padding);
  background: var(--background);
}

.soin-detail-section.alt-bg {
  background: var(--card);
}

.soin-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.soin-detail-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
  direction: rtl;
}

.soin-detail-grid.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .soin-detail-grid,
  .soin-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
}

.soin-detail-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chart-1);
  margin-bottom: 0.8rem;
}

.soin-detail-content h2 {
  margin-bottom: 0.5rem;
}

.soin-detail-tagline {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 2rem;
}

.soin-detail-text h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 2rem 0 0.8rem;
  color: var(--foreground);
}

.soin-detail-text p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.soin-detail-meta {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.meta-value {
  font-size: 0.95rem;
  color: var(--foreground);
  font-weight: 500;
}

.soin-detail-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3/4;
  position: sticky;
  top: 6rem;
}
