/* ============================================================
   LAYOUT — Header, Hero, Sections, Footer
   ============================================================ */

/* ── Header ───────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: 100px;
  display: flex;
  align-items: center;
  padding-inline: var(--space-8);
  transition:
    background-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    backdrop-filter var(--duration-normal) var(--ease-out),
    height var(--duration-normal) var(--ease-out);
}

.header--scrolled {
  height: var(--header-height);
  background: hsla(0, 0%, 100%, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

/* Quand le menu mobile est ouvert, l'en-tête et son menu passe au-dessus du volet d'assombrissement */
body.nav-open .header {
  z-index: calc(var(--z-modal) + 10) !important;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.header__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  transition: color var(--duration-normal) var(--ease-out), font-size var(--duration-normal) var(--ease-out);
}

.header--scrolled .header__name {
  font-size: var(--text-lg);
}

.header__subtitle {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-forest);
  transition: color var(--duration-normal) var(--ease-out), font-size var(--duration-normal) var(--ease-out);
}

.header--scrolled .header__subtitle {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition:
    color var(--duration-normal) var(--ease-out),
    background var(--duration-normal) var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-forest);
  background: hsla(160, 35%, 18%, 0.06);
}

.header__cta {
  margin-left: var(--space-4);
}

/* ── Mobile Menu Toggle ───────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: calc(var(--z-modal) + 20);
}

.nav-toggle__line {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition:
    transform var(--duration-normal) var(--ease-out),
    opacity var(--duration-normal) var(--ease-out);
}

.nav-toggle.is-active .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg,
      hsla(270, 50%, 92%, 0.6) 0%,
      hsla(40, 30%, 97%, 0.8) 25%,
      hsla(165, 40%, 92%, 0.5) 50%,
      hsla(235, 35%, 93%, 0.4) 75%,
      hsla(300, 30%, 94%, 0.3) 100%);
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: var(--space-16);
}

/* ── CSS Blobs ────────────────────────────────────────────── */
.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.7;
  will-change: transform;
}

/* Large lavender blob — top right */
.hero__blob--1 {
  width: 700px;
  height: 650px;
  background: radial-gradient(circle, hsla(270, 60%, 80%, 0.8) 0%, hsla(270, 50%, 85%, 0) 65%);
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  top: -20%;
  right: -10%;
  animation: blobMorph1 18s ease-in-out infinite, blobFloat1 12s ease-in-out infinite;
}

/* Mint blob — bottom left */
.hero__blob--2 {
  width: 600px;
  height: 550px;
  background: radial-gradient(circle, hsla(165, 55%, 75%, 0.7) 0%, hsla(165, 45%, 80%, 0) 65%);
  border-radius: 44% 56% 65% 35% / 57% 38% 62% 43%;
  bottom: -15%;
  left: -10%;
  animation: blobMorph2 20s ease-in-out infinite, blobFloat2 14s ease-in-out infinite;
}

/* Soft green blob — center right */
.hero__blob--3 {
  width: 500px;
  height: 480px;
  background: radial-gradient(circle, hsla(160, 40%, 65%, 0.45) 0%, hsla(160, 35%, 60%, 0) 65%);
  border-radius: 55% 45% 38% 62% / 46% 60% 40% 54%;
  top: 20%;
  right: 10%;
  animation: blobMorph3 22s ease-in-out infinite, blobFloat3 16s ease-in-out infinite;
}

/* Indigo accent blob — left */
.hero__blob--4 {
  width: 400px;
  height: 380px;
  background: radial-gradient(circle, hsla(235, 45%, 72%, 0.4) 0%, hsla(235, 40%, 70%, 0) 65%);
  border-radius: 40% 60% 55% 45% / 50% 36% 64% 50%;
  top: 50%;
  left: 15%;
  animation: blobMorph1 24s ease-in-out infinite reverse, blobFloat2 10s ease-in-out infinite;
}

/* Warm pink blob — top left */
.hero__blob--5 {
  width: 350px;
  height: 320px;
  background: radial-gradient(circle, hsla(300, 45%, 83%, 0.5) 0%, hsla(300, 40%, 85%, 0) 65%);
  border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%;
  top: 5%;
  left: 25%;
  animation: blobMorph2 15s ease-in-out infinite, blobFloat1 18s ease-in-out infinite;
}

/* ── Hero Wave Transition ─────────────────────────────────── */
.hero__waves {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.hero__waves svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Blob morph animations */
@keyframes blobMorph1 {
  0%, 100% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; }
  25%      { border-radius: 45% 55% 62% 38% / 50% 60% 40% 50%; }
  50%      { border-radius: 55% 45% 38% 62% / 40% 55% 45% 60%; }
  75%      { border-radius: 38% 62% 54% 46% / 58% 42% 60% 40%; }
}

@keyframes blobMorph2 {
  0%, 100% { border-radius: 44% 56% 65% 35% / 57% 38% 62% 43%; }
  25%      { border-radius: 60% 40% 45% 55% / 42% 58% 44% 56%; }
  50%      { border-radius: 38% 62% 55% 45% / 55% 45% 58% 42%; }
  75%      { border-radius: 52% 48% 40% 60% / 48% 52% 40% 60%; }
}

@keyframes blobMorph3 {
  0%, 100% { border-radius: 55% 45% 38% 62% / 46% 60% 40% 54%; }
  33%      { border-radius: 42% 58% 52% 48% / 56% 44% 52% 48%; }
  66%      { border-radius: 60% 40% 48% 52% / 40% 56% 44% 60%; }
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -20px); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-25px, 15px); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(20px, -15px); }
  66%      { transform: translate(-15px, 10px); }
}

.hero__inner {
  position: relative;
  z-index: var(--z-base);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-20) var(--space-6) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__content {
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-5);
  background: hsla(160, 35%, 18%, 0.06);
  border: 1px solid hsla(160, 35%, 18%, 0.12);
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: var(--text-5xl);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-indigo-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__text {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 560px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Generic Section ──────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section--cream {
  background: var(--color-cream);
}

.section--dark {
  background: var(--gradient-hero);
  color: var(--color-text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: hsla(0, 0%, 100%, 0.7);
}

.section--dark .section-header__label {
  color: var(--color-mint);
}

.section--dark .section-header__label::before,
.section--dark .section-header__label::after {
  background: hsla(165, 45%, 80%, 0.4);
}

/* ── About Section ────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-xl);
  background: var(--gradient-accent);
  opacity: 0.5;
  z-index: -1;
}

.about__content {
  max-width: 560px;
}

.about__name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.about__role {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: var(--space-6);
}

.about__text {
  margin-bottom: var(--space-4);
}

.about__badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* ── Hypnose Content Section ──────────────────────────────── */
.hypnose-content {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.hypnose-content__block {
  margin-bottom: var(--space-12);
}

.hypnose-content__block h3 {
  margin-bottom: var(--space-4);
  color: var(--color-forest);
}

.hypnose-content__block p {
  margin-bottom: var(--space-4);
}

.hypnose-content__highlight {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin: var(--space-8) 0;
  border-left: 4px solid var(--color-mint);
}

.hypnose-content__questions {
  margin: var(--space-6) 0;
  padding-left: var(--space-6);
}

.hypnose-content__questions li {
  position: relative;
  padding: var(--space-2) 0;
  padding-left: var(--space-4);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.hypnose-content__questions li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-forest);
  font-style: normal;
  font-weight: 600;
}

/* ── Services Grid ────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Pricing Grid ─────────────────────────────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* ── Contact Section ──────────────────────────────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact__item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: hsla(160, 35%, 18%, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xl);
  color: var(--color-forest);
}

.contact__item-content h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.contact__item-content p {
  font-size: var(--text-sm);
}

.contact__item-content a {
  color: var(--color-forest);
  font-weight: 500;
}

.contact__item-content a:hover {
  text-decoration: underline;
}

.contact__map {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-md);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--color-indigo-dark);
  color: hsla(0, 0%, 100%, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__brand-sub {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-mint);
  margin-bottom: var(--space-4);
}

.footer__brand-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 360px;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: hsla(0, 0%, 100%, 0.6);
  transition: color var(--duration-normal) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-mint);
}

.footer__bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: hsla(0, 0%, 100%, 0.4);
}

.footer__legal-links {
  display: flex;
  gap: var(--space-6);
}

.footer__legal-links a {
  color: hsla(0, 0%, 100%, 0.4);
  transition: color var(--duration-normal) var(--ease-out);
}

.footer__legal-links a:hover {
  color: var(--color-mint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header {
    height: 90px;
  }

  .header__name {
    font-size: var(--text-xl);
  }

  .hero__content {
    max-width: 600px;
  }

  .hero__blob {
    opacity: 0.5;
  }

  .about__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
  }

  .about__content {
    margin-inline: auto;
  }

  .about__badges {
    justify-content: center;
  }

  .about__image-wrapper {
    max-width: 400px;
    margin-inline: auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
    padding-inline: var(--space-4);
  }

  .header__name {
    font-size: var(--text-lg);
  }

  .header__subtitle {
    font-size: var(--text-xs);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--space-10);
    gap: var(--space-2);
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    isolation: isolate;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform var(--duration-slow) var(--ease-out);
    z-index: calc(var(--z-modal) + 20);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-4);
    color: var(--color-text) !important;
    width: 100%;
  }

  .nav__link:hover {
    color: var(--color-forest) !important;
    background: hsla(160, 35%, 18%, 0.06) !important;
  }

  .header__cta {
    margin-left: 0;
    margin-top: var(--space-6);
    width: 100%;
  }

  .header__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__inner {
    padding: var(--space-16) var(--space-5) var(--space-12);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__text {
    font-size: var(--text-base);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__blob {
    opacity: 0.3;
  }

  .hero__blob--1 {
    width: 350px;
    height: 350px;
  }

  .hero__blob--2 {
    width: 300px;
    height: 300px;
  }

  .hero__blob--3 {
    width: 250px;
    height: 220px;
  }

  .hero__blob--4,
  .hero__blob--5 {
    display: none;
  }

  .about__image-accent {
    display: none;
  }

  .hypnose-content__highlight {
    padding: var(--space-5);
  }

  .contact__map {
    min-height: 280px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__inner {
    padding: var(--space-12) var(--space-4) var(--space-10);
  }

  .hero__title {
    font-size: var(--text-2xl);
  }

  .hero__label {
    font-size: 0.65rem;
  }

  .hero__blob--1 {
    width: 250px;
    height: 250px;
  }

  .hero__blob--2 {
    width: 200px;
    height: 200px;
  }

  .pricing-card {
    padding: var(--space-6) var(--space-4);
  }

  .pricing-card--featured {
    transform: scale(1);
  }

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

  .card {
    padding: var(--space-6);
  }

  .section-header__label::before,
  .section-header__label::after {
    width: 16px;
  }
}

/* ── Mobile nav overlay ───────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: var(--z-modal);
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
