/*
Theme Name: HNF Hello Child
Theme URI: https://hypnoneuroflow.com/
Description: Lightweight visual foundation for Hypno Neuro Flow. Child theme of Hello Elementor.
Author: Liateo Wellness
Template: hello-elementor
Version: 0.2.2
Text Domain: hnf-hello-child
*/

:root {
  --hnf-indigo: #22274B;
  --hnf-indigo-2: #303568;
  --hnf-violet: #7554A7;
  --hnf-lavender: #B29BC4;
  --hnf-lavender-soft: #EDE7F2;
  --hnf-ivory: #FBF9F7;
  --hnf-paper: #FFFFFF;
  --hnf-champagne: #D7B26D;
  --hnf-ink: #272A38;
  --hnf-muted: #666978;
  --hnf-line: rgba(34, 39, 75, 0.14);
  --hnf-shadow: 0 18px 50px rgba(34, 39, 75, 0.10);
  --hnf-radius: 22px;
  --hnf-radius-sm: 14px;
  --hnf-max: 1240px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hnf-ink);
  background: var(--hnf-ivory);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.hnf-shell { width: min(calc(100% - 40px), var(--hnf-max)); margin-inline: auto; }
.hnf-serif, .hnf-title, .hnf-section-title { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; }

.hnf-topbar {
  background: var(--hnf-indigo);
  color: #fff;
  font-size: 13px;
}
.hnf-topbar .hnf-shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hnf-topbar__benefits { display: flex; align-items: center; gap: 22px; }
.hnf-topbar__benefits span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.38);
  margin-right: 22px;
  vertical-align: middle;
}
.hnf-topbar__account { opacity: .95; white-space: nowrap; }

.hnf-header {
  background: rgba(251,249,247,.96);
  border-bottom: 1px solid var(--hnf-line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.hnf-header .hnf-shell {
  min-height: 92px;
  display: grid;
  grid-template-columns: 285px 1fr auto;
  align-items: center;
  gap: 30px;
}
.hnf-brand { display: flex; align-items: center; gap: 12px; }
.hnf-brand-mark {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  background: var(--hnf-media-logo-hnf-client) center/contain no-repeat;
}
.hnf-brand-mark-image { width: 70px; height: 70px; flex: 0 0 70px; border-radius: 50%; object-fit: contain; }
.hnf-brand-name {
  color: var(--hnf-indigo);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: .9;
  font-weight: 700;
}
.hnf-brand-tagline {
  display: block;
  margin-top: 8px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hnf-nav { display: flex; justify-content: center; align-items: center; gap: 29px; }
.hnf-nav a { position: relative; font-size: 15px; font-weight: 600; color: #171a2b; }
.hnf-nav a:hover, .hnf-nav a[aria-current="page"] { color: var(--hnf-violet); }
.hnf-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -12px;
  height: 2px;
  background: var(--hnf-violet);
}
.hnf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hnf-btn:hover { transform: translateY(-1px); }
.hnf-btn--primary { background: var(--hnf-indigo); color: #fff; box-shadow: 0 10px 24px rgba(34,39,75,.15); }
.hnf-btn--primary:hover { background: var(--hnf-indigo-2); }
.hnf-btn--secondary { border-color: var(--hnf-violet); color: var(--hnf-violet); background: transparent; }
.hnf-btn--secondary:hover { background: rgba(117,84,167,.07); }
.hnf-btn--violet { background: linear-gradient(135deg, var(--hnf-indigo), var(--hnf-violet)); color: #fff; }
.hnf-btn--gold { background: var(--hnf-champagne); color: #fff; }

.hnf-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(178,155,196,.34), transparent 30%),
    linear-gradient(120deg, #fffaf7 0%, #fbf8fb 46%, #eee6f4 100%);
}
.hnf-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(215,178,109,.20), rgba(117,84,167,.08) 38%, transparent 70%);
}
.hnf-hero__inner {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
  padding-block: 54px 68px;
}
.hnf-title {
  margin: 0;
  max-width: 650px;
  color: var(--hnf-indigo);
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: .94;
  letter-spacing: -.035em;
}
.hnf-title em { color: #9B7CB5; font-style: normal; }
.hnf-lead { max-width: 610px; margin: 24px 0 0; color: #555866; font-size: 19px; }
.hnf-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hnf-hero-art {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: var(--hnf-media-homepage-hero) center/cover no-repeat;
}
.hnf-hero-art::before {
  content: "";
  width: min(410px, 82%);
  aspect-ratio: 1;
  background: var(--hnf-media-logo-hnf-client) center/contain no-repeat;
  filter: drop-shadow(0 30px 42px rgba(34,39,75,.12));
  opacity: .98;
}
.hnf-hero-art::after {
  content: "";
  position: absolute;
  width: 106%;
  height: 65%;
  right: -16%;
  top: 18%;
  background:
    repeating-radial-gradient(ellipse at 12% 50%, transparent 0 12px, rgba(178,155,196,.18) 13px 15px, transparent 16px 28px);
  opacity: .65;
  transform: rotate(-5deg);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 75%, transparent);
  pointer-events: none;
}

.hnf-optin-wrap { margin-top: -30px; position: relative; z-index: 10; }
.hnf-optin {
  background: linear-gradient(120deg, var(--hnf-indigo), #42357c);
  color: #fff;
  border-radius: var(--hnf-radius);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.55fr;
  align-items: center;
  gap: 28px;
  box-shadow: var(--hnf-shadow);
}
.hnf-optin__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 600;
}
.hnf-optin__title strong { color: #E6C77D; font-weight: 600; }
.hnf-optin__copy { margin: 0; font-size: 14px; opacity: .92; }
.hnf-form-inline { display: grid; grid-template-columns: 1fr 1fr auto; align-items: stretch; }
.hnf-field {
  min-height: 48px;
  border: 1px solid rgba(34,39,75,.12);
  background: #fff;
  padding: 0 16px;
  color: var(--hnf-ink);
  outline: none;
}
.hnf-field:first-child { border-radius: 10px 0 0 10px; }
.hnf-form-inline .hnf-field + .hnf-field { border-left: 0; }
.hnf-form-inline .hnf-btn { border-radius: 0 10px 10px 0; }
.hnf-form-note { margin-top: 8px; font-size: 11px; opacity: .82; }

.hnf-section { padding: 76px 0; }
.hnf-section--tight { padding: 54px 0; }
.hnf-section--lavender { background: linear-gradient(180deg, rgba(237,231,242,.62), rgba(251,249,247,.10)); }
.hnf-section-title {
  margin: 0 0 12px;
  color: var(--hnf-indigo);
  font-size: clamp(36px, 4.1vw, 50px);
  line-height: 1;
  text-align: center;
  letter-spacing: -.02em;
}
.hnf-section-intro { max-width: 700px; margin: 0 auto 36px; text-align: center; color: var(--hnf-muted); }

.hnf-categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.hnf-card {
  overflow: hidden;
  border: 1px solid var(--hnf-line);
  border-radius: var(--hnf-radius-sm);
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 30px rgba(34,39,75,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hnf-card:hover { transform: translateY(-4px); box-shadow: var(--hnf-shadow); border-color: rgba(117,84,167,.28); }
.hnf-card__visual {
  height: 112px;
  position: relative;
  display: grid;
  place-items: end center;
  background: var(--hnf-media-category-sommeil) center/cover no-repeat;
}
.hnf-card:nth-child(2) .hnf-card__visual { background-image: var(--hnf-media-category-stress-apaisement); }
.hnf-card:nth-child(3) .hnf-card__visual { background-image: var(--hnf-media-category-confiance); }
.hnf-card:nth-child(4) .hnf-card__visual { background-image: var(--hnf-media-category-habitudes); }
.hnf-card:nth-child(5) .hnf-card__visual { background-image: var(--hnf-media-category-peurs-blocages); }
.hnf-card:nth-child(6) .hnf-card__visual { background-image: var(--hnf-media-category-energie-motivation); }
.hnf-card__icon {
  width: 58px;
  height: 58px;
  margin-bottom: -28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  background: rgba(117,84,167,.88);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(34,39,75,.13);
}
.hnf-card__body { padding: 42px 18px 20px; text-align: center; }
.hnf-card__title {
  margin: 0 0 4px;
  color: var(--hnf-indigo);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1.05;
}
.hnf-card__text { margin: 0; min-height: 46px; color: #555866; font-size: 13px; line-height: 1.45; }
.hnf-center { text-align: center; }
.hnf-more { margin-top: 30px; }

.hnf-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.hnf-step {
  position: relative;
  padding: 30px;
  border-radius: var(--hnf-radius);
  border: 1px solid var(--hnf-line);
  background: #fff;
}
.hnf-step__num {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--hnf-violet);
  color: #fff;
  font-weight: 800;
}
.hnf-step h3 { margin: 18px 0 8px; color: var(--hnf-indigo); font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; }
.hnf-step p { margin: 0; color: var(--hnf-muted); }

.hnf-personal {
  border-radius: 30px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 10%, rgba(215,178,109,.25), transparent 28%),
    linear-gradient(120deg, var(--hnf-indigo), #493985);
  box-shadow: var(--hnf-shadow);
}
.hnf-personal h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 44px; line-height: 1; }
.hnf-personal p { max-width: 700px; margin: 15px 0 0; opacity: .9; }

.hnf-trust { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hnf-line); border-radius: var(--hnf-radius); background: #fff; }
.hnf-trust__item { padding: 22px 24px; text-align: center; }
.hnf-trust__item + .hnf-trust__item { border-left: 1px solid var(--hnf-line); }
.hnf-trust strong { display: block; color: var(--hnf-indigo); font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; }
.hnf-trust span { color: var(--hnf-muted); font-size: 13px; }

.hnf-footer {
  background: var(--hnf-indigo);
  color: #fff;
  padding: 48px 0 22px;
}
.hnf-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .7fr .9fr 1fr;
  gap: 50px;
}
.hnf-footer .hnf-brand-name { color: #fff; }
.hnf-footer p, .hnf-footer a { color: rgba(255,255,255,.76); font-size: 13px; }
.hnf-footer h4 { margin: 0 0 15px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; }
.hnf-footer nav { display: grid; gap: 8px; }
.hnf-footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

/* Elementor reset for HNF templates */
.hnf-site .elementor-widget-html, .hnf-site .elementor-widget-container { width: 100%; }
.hnf-site * { box-sizing: border-box; }

@media (max-width: 1024px) {
  .hnf-header .hnf-shell { grid-template-columns: 235px 1fr auto; gap: 16px; }
  .hnf-brand-mark { width: 58px; height: 58px; flex-basis: 58px; }
  .hnf-brand-mark-image { width: 58px; height: 58px; flex-basis: 58px; }
  .hnf-brand-name { font-size: 24px; }
  .hnf-nav { gap: 17px; }
  .hnf-nav a { font-size: 14px; }
  .hnf-hero__inner { min-height: 470px; }
  .hnf-categories { grid-template-columns: repeat(3, 1fr); }
  .hnf-optin { grid-template-columns: 1fr 1.55fr; }
  .hnf-optin__copy { display: none; }
  .hnf-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .hnf-footer__grid > :last-child { grid-column: span 3; }
}

@media (max-width: 767px) {
  .hnf-shell { width: min(calc(100% - 28px), var(--hnf-max)); }
  .hnf-topbar__benefits { gap: 0; }
  .hnf-topbar__benefits span:not(:first-child), .hnf-topbar__account { display: none; }
  .hnf-header .hnf-shell { min-height: 76px; grid-template-columns: 1fr auto; }
  .hnf-brand-mark { width: 52px; height: 52px; flex-basis: 52px; }
  .hnf-brand-mark-image { width: 52px; height: 52px; flex-basis: 52px; }
  .hnf-brand-name { font-size: 22px; }
  .hnf-brand-tagline { display: none; }
  .hnf-nav { display: none; }
  .hnf-header .hnf-btn { min-height: 42px; padding-inline: 16px; font-size: 13px; }
  .hnf-hero__inner { grid-template-columns: 1fr; padding-block: 42px 54px; min-height: 0; }
  .hnf-hero-art { min-height: 275px; grid-row: 1; }
  .hnf-hero-art::before { width: min(275px, 80%); }
  .hnf-title { font-size: clamp(44px, 14vw, 62px); }
  .hnf-lead { font-size: 17px; }
  .hnf-hero__actions { display: grid; grid-template-columns: 1fr; }
  .hnf-optin-wrap { margin-top: 0; padding-top: 18px; }
  .hnf-optin { grid-template-columns: 1fr; padding: 26px 22px; }
  .hnf-form-inline { grid-template-columns: 1fr; gap: 9px; }
  .hnf-field, .hnf-field:first-child, .hnf-form-inline .hnf-btn { border-radius: 10px; border: 1px solid rgba(34,39,75,.12); }
  .hnf-section { padding: 58px 0; }
  .hnf-categories { grid-template-columns: repeat(2, 1fr); }
  .hnf-steps { grid-template-columns: 1fr; }
  .hnf-personal { grid-template-columns: 1fr; padding: 34px 24px; }
  .hnf-personal h2 { font-size: 38px; }
  .hnf-trust { grid-template-columns: 1fr 1fr; }
  .hnf-trust__item + .hnf-trust__item { border-left: 0; }
  .hnf-trust__item:nth-child(even) { border-left: 1px solid var(--hnf-line); }
  .hnf-trust__item:nth-child(n+3) { border-top: 1px solid var(--hnf-line); }
  .hnf-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hnf-footer__grid > :first-child, .hnf-footer__grid > :last-child { grid-column: span 2; }
  .hnf-footer__bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .hnf-header .hnf-btn { display: none; }
  .hnf-categories { grid-template-columns: 1fr; }
  .hnf-card__visual { height: 105px; }
}
