/* =========================================================
   amme — hypnothérapie · Base design system
   Brand: terracotta #954f4a · orange #e96228 · red #ce3a1f
   Type: Newsreader (display) + Mulish (texte)
   ========================================================= */

:root{
  /* Brand */
  --brick:    #954f4a;
  --brick-2:  #7e4744;
  --orange:   #e96228;
  --red:      #ce3a1f;

  /* Warm neutrals */
  --cream:    #faf4ef;   /* page bg */
  --mist:     #f4e9e1;   /* alt section */
  --sand:     #efe1d6;
  --ink:      #2b2320;   /* warm near-black */
  --ink-soft: #6f5d55;   /* body text */
  --ink-mute: #9a877e;   /* captions */
  --line:     rgba(43,35,32,.12);
  --line-2:   rgba(43,35,32,.07);
  --white:    #fffaf6;

  /* Type */
  --display: "Newsreader", Georgia, serif;
  --sans: "Mulish", -apple-system, system-ui, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 100px;
  --shadow-sm: 0 2px 14px rgba(120,60,50,.06);
  --shadow-md: 0 18px 50px -22px rgba(110,55,45,.40);
  --shadow-lg: 0 40px 90px -40px rgba(110,50,40,.55);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--sans);
  background:var(--cream);
  color:var(--ink);
  font-size:17px;
  line-height:1.7;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
::selection{ background:var(--orange); color:#fff; }

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--display); font-weight:500; line-height:1.08; letter-spacing:-.01em; color:var(--ink); }
h1{ font-size:clamp(2.7rem,6vw,4.9rem); font-weight:400; }
h2{ font-size:clamp(2rem,4vw,3.2rem); font-weight:400; }
h3{ font-size:1.45rem; }
h4{ font-size:1.1rem; }
p{ text-wrap:pretty; }
em,.it{ font-style:italic; }

.display-em{ font-style:italic; color:var(--brick); }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:28px; }
.section{ padding:clamp(72px,11vw,140px) 0; position:relative; }
.section--mist{ background:var(--mist); }
.section--sand{ background:var(--sand); }

.section-head{ max-width:680px; margin:0 auto clamp(40px,6vw,72px); text-align:center; }
.section-head p{ color:var(--ink-soft); font-size:1.08rem; margin-top:18px; }

/* Eyebrow label */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:.74rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  color:var(--brick);
}
.eyebrow::before{
  content:""; width:22px; height:1.5px; background:var(--orange); display:inline-block;
}
.eyebrow--center{ }
.eyebrow--light{ color:#fff; }
.eyebrow--light::before{ background:rgba(255,255,255,.7); }

/* small divider */
.divider{ width:54px; height:2px; background:linear-gradient(90deg,var(--brick),var(--orange)); border-radius:2px; margin:22px 0; }
.divider--center{ margin-inline:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--sans); font-weight:700; font-size:.97rem; letter-spacing:.01em;
  padding:15px 30px; border-radius:var(--r-pill);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; }
.btn-primary{ background:var(--brick); color:#fff; box-shadow:0 12px 26px -12px rgba(149,79,74,.7); }
.btn-primary:hover{ background:var(--ink); transform:translateY(-2px); box-shadow:0 18px 34px -14px rgba(43,35,32,.6); }
.btn-secondary{ background:transparent; color:var(--ink); border:1.5px solid var(--line); }
.btn-secondary:hover{ border-color:var(--brick); color:var(--brick); transform:translateY(-2px); }
.btn-white{ background:#fff; color:var(--brick); box-shadow:0 14px 30px -12px rgba(0,0,0,.3); }
.btn-white:hover{ transform:translateY(-2px); box-shadow:0 20px 40px -14px rgba(0,0,0,.4); background:var(--cream); }
.btn-ghost-light{ color:#fff; border:1.5px solid rgba(255,255,255,.45); }
.btn-ghost-light:hover{ background:rgba(255,255,255,.12); border-color:#fff; }

/* =========================================================
   SIGNATURE WARM GRADIENT
   ========================================================= */
.warm-grad{ position:relative; isolation:isolate; color:#fff; }
.warm-grad::before{
  content:""; position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(120% 90% at 88% 12%, #fbe7d8 0%, rgba(251,231,216,0) 42%),
    radial-gradient(120% 120% at 95% 88%, #f4843e 0%, rgba(244,132,62,0) 46%),
    radial-gradient(120% 120% at 8% 92%, #8c4a44 0%, rgba(140,74,68,0) 55%),
    linear-gradient(122deg, #cf3b1f 0%, #ad4631 32%, #954f4a 58%, #e96228 100%);
}
/* film grain overlay */
.warm-grad::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  opacity:.42; mix-blend-mode:soft-light;
  background-image:url("assets/grain.svg");
  background-size:260px 260px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:80;
  background:rgba(250,244,239,.82);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s, background .3s, box-shadow .3s;
}
.site-header.is-scrolled{ border-color:var(--line); box-shadow:0 4px 24px -18px rgba(80,40,35,.5); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:78px; gap:24px; }
.logo-link{ display:flex; align-items:center; gap:11px; }
.logo-mark{ width:40px; height:40px; }
.logo-lockup{ display:flex; flex-direction:column; line-height:1; }
.logo-word{ font-family:var(--display); font-size:1.62rem; line-height:.92; letter-spacing:.05em; color:var(--ink); }
.logo-tag{ font-family:var(--sans); font-size:.56rem; font-weight:700; letter-spacing:.32em; text-transform:uppercase; color:var(--brick); margin-top:3px; }

.nav-desktop ul{ display:flex; align-items:center; gap:34px; list-style:none; }
.nav-link{ font-size:.95rem; font-weight:600; color:var(--ink-soft); position:relative; padding:6px 0; transition:color .25s; white-space:nowrap; }
.nav-link::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:1.5px; background:var(--brick); transition:width .3s var(--ease); }
.nav-link:hover,.nav-link.is-active{ color:var(--ink); }
.nav-link:hover::after,.nav-link.is-active::after{ width:100%; }
.header-cta{ padding:11px 22px; font-size:.9rem; }

.burger{ display:none; flex-direction:column; gap:5px; width:42px; height:42px; align-items:center; justify-content:center; border-radius:50%; }
.burger span{ width:22px; height:2px; background:var(--ink); border-radius:2px; transition:.3s var(--ease); }
.burger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.nav-mobile{
  position:fixed; inset:78px 0 auto 0; z-index:70;
  background:var(--cream); border-bottom:1px solid var(--line);
  transform:translateY(-120%); transition:transform .4s var(--ease);
  padding:18px 28px 30px;
}
.nav-mobile.is-open{ transform:translateY(0); }
.nav-mobile ul{ list-style:none; display:flex; flex-direction:column; gap:4px; }
.nav-mobile a{ display:block; padding:14px 4px; font-size:1.1rem; font-weight:600; border-bottom:1px solid var(--line-2); color:var(--ink); }
.nav-mobile .nav-mobile-cta{ border:none; margin-top:18px; }
.nav-mobile .btn{ width:100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--ink); color:rgba(255,250,246,.72); padding:80px 0 34px; }
.footer-inner{ display:grid; grid-template-columns:1.6fr 1fr 1.2fr; gap:50px; }
.footer-logo{ width:120px; filter:brightness(0) invert(1); margin-bottom:20px; }
.footer-brand p{ font-size:.97rem; max-width:300px; line-height:1.7; }
.footer-col h4{ color:#fff; font-family:var(--sans); font-size:.78rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; margin-bottom:20px; }
.footer-col ul{ list-style:none; display:flex; flex-direction:column; gap:13px; }
.footer-col a, .footer-col li{ font-size:.96rem; color:rgba(255,250,246,.72); transition:color .25s; }
.footer-col a:hover{ color:var(--orange); }
.footer-contact-item{ display:flex; gap:11px; align-items:flex-start; }
.footer-contact-item svg{ width:17px; height:17px; stroke:var(--orange); flex-shrink:0; margin-top:3px; }
.footer-bottom{ margin-top:60px; padding-top:26px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; font-size:.85rem; color:rgba(255,250,246,.5); }
.footer-legal{ display:flex; gap:20px; }
.footer-legal a:hover{ color:var(--orange); }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

@media (max-width:920px){
  .footer-inner{ grid-template-columns:1fr 1fr; gap:40px; }
  .footer-brand{ grid-column:1 / -1; }
}
@media (max-width:780px){
  .nav-desktop, .header-cta{ display:none; }
  .burger{ display:flex; }
}
@media (max-width:560px){
  .footer-inner{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition-duration:.01ms !important; }
  html{ scroll-behavior:auto; }
}
