/* ============================================================
   Corps & Âme — corps-ames.ch — design zen nature
   ============================================================ */
:root {
  --forest: #37413b;   /* gris-vert profond du logotype */
  --forest-2: #48544c;
  --sage: #8fae9b;
  --sage-light: #cfe0d6;
  --cream: #faf6ef;
  --cream-2: #f2ebdd;
  --gold: #c9a35c;
  --gold-2: #b28c42;
  /* pastels aquarelle du logo */
  --p-gold: #f0b449;
  --p-peach: #f2a58c;
  --p-rose: #dfa8bf;
  --p-yellow: #e9dc79;
  --p-sage: #cbe0a6;
  --p-sky: #aec6cb;
  --ink: #29352e;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(34, 57, 46, .18);
  --radius: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); color: var(--forest); margin-bottom: 1.2rem; }
h2 em, h1 em { font-style: italic; color: var(--gold-2); }
h3 { font-size: 1.35rem; color: var(--forest); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.lead { font-size: 1.12rem; max-width: 720px; margin: 0 auto 2.5rem; }
.eyebrow {
  font-size: .78rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: .8rem; font-weight: 500;
}
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-dark { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 100%); color: #e8efe9; }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .eyebrow { color: var(--gold); }

/* ---------- préchargeur ---------- */
#loader {
  position: fixed; inset: 0; z-index: 200; background: var(--forest);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; transition: opacity .8s ease, visibility .8s;
}
#loader.hide { opacity: 0; visibility: hidden; }
#loader p { color: var(--cream); font-family: var(--serif); font-size: 1.3rem; letter-spacing: .45em; text-transform: uppercase; padding-left: .45em; }
.loader-mark {
  width: 92px; animation: loaderPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(240, 180, 73, .45));
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(240, 180, 73, .25)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 26px rgba(240, 180, 73, .6)); }
}

/* ---------- barre de progression ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 120;
}

/* ---------- navigation ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4vw; transition: background .4s, box-shadow .4s, padding .4s;
}
#nav.scrolled {
  background: rgba(250, 246, 239, .88); backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(34, 57, 46, .12); padding: 8px 4vw;
}
#nav .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 44px; transition: height .4s; display: block; filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .3)); }
#nav.scrolled .brand-mark { height: 36px; filter: none; }
.brand-txt {
  font-family: var(--serif); font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); transition: color .3s, text-shadow .3s;
  white-space: nowrap;
}
.brand-txt .amp { color: var(--p-gold); }
#nav.scrolled .brand-txt { color: var(--forest); text-shadow: none; }
#nav nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
#nav nav a:not(.btn) {
  text-decoration: none; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); position: relative; padding: 4px 0; font-weight: 400;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,.4); transition: color .3s, text-shadow .3s;
}
#nav.scrolled nav a:not(.btn) { color: var(--forest); text-shadow: none; }
#nav nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .35s ease;
}
#nav nav a:not(.btn):hover::after, #nav nav a.current::after { width: 100%; }
#burger { display: none; background: none; border: 0; cursor: pointer; z-index: 110; }
#burger span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; transition: .35s; }
#nav.scrolled #burger span, #nav.open #burger span { background: var(--forest); }
#nav.open #burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#nav.open #burger span:nth-child(2) { opacity: 0; }
#nav.open #burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- boutons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .08em;
  padding: 13px 30px; border-radius: 40px; transition: transform .3s, box-shadow .3s, background .3s;
  will-change: transform;
}
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff;
  box-shadow: 0 8px 25px rgba(178, 140, 66, .35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(178, 140, 66, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .25); transform: translateY(-3px); }
.btn-ghost2 { background: transparent; color: var(--forest); border: 1px solid var(--sage); }
.btn-ghost2:hover { background: var(--sage-light); }
.btn-outline {
  background: transparent; color: var(--forest-2); border: 1.5px solid var(--sage);
  padding: 10px 22px; font-size: .88rem;
}
.btn-outline:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; transform: translateY(-2px); }
.btn-nav { padding: 10px 24px; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---------- héro ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden; color: #fff;
}
.hero-slides, .hero-slides .slide { position: absolute; inset: 0; }
.hero-slides .slide {
  background-size: cover; background-position: center; opacity: 0;
  transition: opacity 3s ease;
}
.hero-slides .slide.active { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42, 49, 44, .55) 0%, rgba(42, 49, 44, .35) 45%, rgba(55, 65, 59, .75) 100%);
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .92; } }
#energie { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-inner { position: relative; z-index: 3; padding: 110px 24px 60px; max-width: 900px; }
.hero-mark {
  width: clamp(110px, 16vw, 170px); margin-bottom: .8rem;
  filter: drop-shadow(0 0 22px rgba(250, 246, 239, .55)) drop-shadow(0 4px 14px rgba(0, 0, 0, .25));
  animation: markFloat 6s ease-in-out infinite;
}
@keyframes markFloat {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 16px rgba(250, 246, 239, .4)) drop-shadow(0 4px 14px rgba(0, 0, 0, .25)); }
  50% { transform: translateY(-10px); filter: drop-shadow(0 0 30px rgba(250, 246, 239, .7)) drop-shadow(0 4px 14px rgba(0, 0, 0, .25)); }
}
.hero-kicker { font-size: .82rem; letter-spacing: .42em; text-transform: uppercase; color: var(--sage-light); margin-bottom: 1.6rem; }
.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem); color: var(--cream); margin-bottom: .8rem;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 500;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35); padding-left: .22em;
}
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); }
.hero-title.played .ch { animation: chIn .9s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes chIn { to { opacity: 1; transform: none; } }
.hero-sub { font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-style: italic; color: #e9f0ea; margin-bottom: 2.4rem; }
.hero-sub em { color: var(--gold); font-style: normal; font-size: .85em; }
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- révélations au scroll ---------- */
.reveal, .stagger > * {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.reveal.in, .stagger > *.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .15s; } .delay-2 { transition-delay: .3s; } .delay-3 { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *, .hero-title .ch { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero-slides .slide.active { animation: none; }
}

/* ---------- philosophie ---------- */
.two-cols { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.two-cols p { margin-bottom: 1rem; }
.section-philo {
  background: linear-gradient(180deg, var(--cream) 0%, #f4ecdd 100%);
  overflow: hidden; position: relative;
}
.philo-watermark {
  position: absolute; top: -60px; right: -90px; width: clamp(280px, 30vw, 460px);
  opacity: .1; transform: rotate(12deg); pointer-events: none;
}
.drop::first-letter {
  font-family: var(--serif); font-size: 3.4em; float: left; line-height: .78;
  padding: .06em .12em 0 0; color: var(--gold-2);
}
.quote-card {
  position: relative; margin: 1.8rem 0 1.6rem; padding: 1.9rem 2rem 1.4rem 3.4rem;
  background: linear-gradient(135deg, #fffdf8, #fbf4e7);
  border-radius: 4px 28px 28px 28px; box-shadow: 0 14px 40px rgba(34, 57, 46, .1);
}
.quote-card::before {
  content: '«'; position: absolute; top: .4rem; left: 1rem;
  font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--gold);
}
.quote-card p {
  font-family: var(--serif); font-size: 1.18rem; font-style: italic;
  color: var(--forest); margin-bottom: .7rem;
}
.quote-card cite {
  display: block; text-align: right; font-style: normal; font-size: .85rem;
  letter-spacing: .08em; color: var(--gold-2);
}
.badges {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 1.2rem;
  background: #fffdf8; border: 1px solid #ece3d0; border-radius: 60px;
  padding: 10px 22px 10px 12px; box-shadow: 0 8px 26px rgba(34, 57, 46, .07);
}
.badge-rme img { display: block; }
.badge-note { font-size: .84rem; color: var(--forest-2); max-width: 340px; }
.media-organic { position: relative; min-height: 500px; }
.blob {
  position: absolute; background-size: cover; background-position: center;
  box-shadow: 0 24px 60px rgba(34, 57, 46, .22);
  animation: morph 14s ease-in-out infinite alternate;
}
.blob-a {
  width: 68%; height: 350px; top: 0; right: 0;
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
}
.blob-b {
  width: 52%; height: 270px; top: 250px; left: 2%;
  border-radius: 45% 55% 48% 52% / 55% 45% 58% 42%;
  border: 7px solid #f8f2e6; animation-delay: -7s;
}
.blob-a::after {
  content: ''; position: absolute; inset: -26px; z-index: -1;
  background: radial-gradient(circle at 30% 70%, rgba(242, 165, 140, .35), transparent 60%),
              radial-gradient(circle at 75% 25%, rgba(203, 224, 166, .35), transparent 60%);
  border-radius: inherit; filter: blur(24px);
}
@keyframes morph {
  0%   { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
  50%  { border-radius: 48% 52% 42% 58% / 55% 46% 54% 45%; }
  100% { border-radius: 55% 45% 58% 42% / 45% 58% 42% 55%; }
}
.floating-quote {
  position: absolute; bottom: -6px; right: 0; max-width: 300px;
  background: linear-gradient(150deg, var(--forest-2), var(--forest)); color: var(--cream);
  padding: 1.2rem 1.5rem; border-radius: 26px 26px 6px 26px;
  font-family: var(--serif); font-style: italic; font-size: 1rem;
  box-shadow: 0 20px 50px rgba(34, 57, 46, .3); animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* transitions ondulées entre sections */
.has-flow { padding-top: clamp(90px, 12vw, 150px); }
.flow { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; }
.flow svg { display: block; width: 100%; height: clamp(40px, 6vw, 70px); }
.section { position: relative; }

/* ---------- bienfaits ---------- */
.section-bienfaits { background: linear-gradient(180deg, #f6efe1 0%, #fbf7ee 30%, var(--cream) 100%); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); /* 3 × 3, pas de carte orpheline */
  gap: 22px; margin: 3rem 0 4.5rem;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--white); border: 1px solid #ece4d1;
  border-radius: 14px; padding: 1.7rem 1.6rem 1.5rem;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
  box-shadow: 0 6px 26px rgba(55, 65, 59, .05);
}
.benefit:hover { box-shadow: 0 18px 46px rgba(55, 65, 59, .12); border-color: #e0d5ba; }
.benefit-icon {
  width: 54px; height: 54px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--gold-2); background: #fffdf8;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--forest); }
.benefit p { font-size: .92rem; color: #626b60; }
.breuss {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 5vw, 60px);
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 100%);
  border-radius: 30px; padding: clamp(26px, 4vw, 54px); align-items: center;
  box-shadow: 0 26px 60px rgba(55, 65, 59, .25);
}
.breuss .eyebrow { color: var(--gold); }
.breuss h3 { color: var(--cream); font-size: 1.7rem; margin-bottom: 1rem; }
.breuss h3 em { color: var(--gold); }
.breuss-txt p { margin-bottom: 1rem; color: #d8ded6; }
.breuss-txt .btn { margin-top: .6rem; }
.breuss-img {
  position: relative; height: 330px; background-size: cover; background-position: center;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.breuss-img::after {
  content: ''; position: absolute; inset: 0; transform: translate(14px, 14px);
  border: 1px solid var(--gold); border-radius: 18px; pointer-events: none;
}

/* ---------- tarifs ---------- */
.offer-line {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center;
  margin: 0 auto 2.8rem; max-width: 860px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--forest-2);
  position: relative; padding: 14px 0;
}
.offer-line::before, .offer-line::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: min(340px, 60%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.offer-line::before { top: 0; }
.offer-line::after { bottom: 0; }
.offer-dot { color: var(--gold); font-style: normal; }
.tabs {
  display: flex; gap: clamp(16px, 3.5vw, 46px); flex-wrap: wrap; justify-content: center;
  margin-bottom: 2.8rem; border-bottom: 1px solid #e7dfca;
}
.tab {
  border: 0; background: none; cursor: pointer; position: relative;
  padding: 10px 4px 16px; font-family: var(--sans); font-size: .8rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: #98a09a; transition: color .3s;
}
.tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .35s ease;
}
.tab:hover { color: var(--forest); }
.tab.active { color: var(--forest); }
.tab.active::after { transform: scaleX(1); }
.tab-panel { display: none; animation: panelIn .6s ease; }
.tab-panel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.price-card {
  background: var(--white); border-radius: 14px; padding: 1.7rem 1.7rem 1.2rem;
  box-shadow: 0 6px 26px rgba(55, 65, 59, .06); border: 1px solid #ece4d1;
  display: flex; flex-direction: column; gap: .45rem;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.price-card:hover { box-shadow: 0 18px 46px rgba(55, 65, 59, .13); border-color: #e0d5ba; }
.price-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.price-head h3 { font-size: 1.22rem; font-weight: 500; }
.price-tag { text-align: right; white-space: nowrap; }
.price-tag s { display: block; color: #bcae93; font-size: .8rem; }
.price-tag strong { color: var(--gold-2); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.price-meta {
  font-size: .72rem; color: #a3ab9f; letter-spacing: .22em; text-transform: uppercase;
}
.price-desc { font-size: .92rem; color: #626b60; flex: 1; margin-top: .3rem; }
.price-book {
  background: none; border: 0; border-top: 1px solid #f1e9d8; cursor: pointer;
  margin-top: 1rem; padding: .95rem 0 0; width: 100%; text-align: left;
  font-family: var(--sans); font-size: .78rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2);
  transition: color .3s;
}
.price-book::after { content: '→'; margin-left: 10px; display: inline-block; transition: transform .3s; }
.price-book:hover { color: var(--forest); }
.price-book:hover::after { transform: translateX(6px); }

/* ---------- réservation ---------- */
.section-booking {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 163, 92, .14), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(143, 174, 155, .2), transparent 60%),
    var(--cream-2);
}
.booking {
  background: var(--white); border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow); padding: clamp(24px, 4vw, 46px); overflow: hidden;
}
.steps { display: flex; justify-content: center; gap: clamp(14px, 4vw, 44px); list-style: none; margin-bottom: 2.2rem; }
.step-dot { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: #9aa89f; transition: color .3s; }
.step-dot span {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid #d8d2c2; font-weight: 500; transition: all .4s;
}
.step-dot.active { color: var(--forest); }
.step-dot.active span { background: var(--forest-2); border-color: var(--forest-2); color: #fff; box-shadow: 0 0 0 5px rgba(47, 79, 62, .12); }
.step-dot.done span { background: var(--gold); border-color: var(--gold); color: #fff; }
.bstep { display: none; border: 0; animation: panelIn .5s ease; }
.bstep.active { display: block; }
label { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-2); margin: 1rem 0 .4rem; font-weight: 500; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid #ded7c6; border-radius: 12px;
  font-family: var(--sans); font-size: 1rem; background: #fffdf9; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 163, 92, .15);
}
.hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hours-hint { font-size: .82rem; color: #8b9a90; margin-top: .5rem; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; min-height: 44px; }
.slot {
  border: 1.5px solid var(--sage); background: #fff; color: var(--forest-2);
  padding: 9px 16px; border-radius: 30px; cursor: pointer; font-family: var(--sans);
  font-size: .92rem; transition: all .25s; animation: panelIn .4s ease both;
}
.slot:hover { border-color: var(--gold); transform: translateY(-2px); }
.slot.sel { background: var(--forest-2); color: #fff; border-color: var(--forest-2); box-shadow: 0 6px 18px rgba(47, 79, 62, .3); }
.slots-msg { font-size: .95rem; color: #7c6f57; padding: 8px 2px; }
.bnav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; gap: 12px; }
.book-summary {
  margin-top: 1.4rem; padding: 1rem 1.3rem; border-radius: 12px;
  background: var(--cream); border: 1px solid #e8e0cd; font-size: .95rem;
}
.book-summary strong { color: var(--gold-2); }
.form-error { display: none; color: #b23b3b; margin-top: 1rem; font-size: .92rem; }
.form-error.show { display: block; animation: shake .4s; }
.form-ok { display: none; color: var(--forest-2); margin-top: 1rem; font-weight: 500; }
.form-ok.show { display: block; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.bdone { text-align: center; padding: 2rem 0; }
.bdone h3 { font-size: 1.8rem; margin: 1rem 0 .5rem; }
.done-anim svg { width: 90px; height: 90px; }
.done-anim circle {
  fill: none; stroke: var(--gold); stroke-width: 2.5;
  stroke-dasharray: 166; stroke-dashoffset: 166; animation: drawCircle 1s ease forwards;
}
.done-anim path {
  fill: none; stroke: var(--forest-2); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawCircle .6s .7s ease forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }

/* ---------- bons cadeaux ---------- */
.section-cadeau {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(201, 163, 92, .12), transparent 60%),
    radial-gradient(700px 420px at 5% 100%, rgba(223, 168, 191, .12), transparent 60%),
    #f6efe2;
}
.gift {
  background: var(--white); border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow); padding: clamp(24px, 4vw, 46px);
}
.gift-type { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: .6rem; }
.gtype {
  flex: 1; min-width: 180px; border: 1.5px solid #ded7c6; background: #fffdf9;
  padding: 14px 18px; border-radius: 14px; cursor: pointer; font-family: var(--sans);
  font-size: .98rem; color: var(--forest-2); transition: all .3s;
}
.gtype:hover { border-color: var(--gold); }
.gtype.active {
  border-color: var(--gold); background: linear-gradient(135deg, #fffdf8, #fbf2e0);
  color: var(--forest); box-shadow: 0 8px 22px rgba(201, 163, 92, .18); font-weight: 500;
}
.gamounts { display: flex; gap: 10px; flex-wrap: wrap; }
.gamount {
  border: 1.5px solid #ded7c6; background: #fffdf9; color: var(--forest-2);
  padding: 12px 20px; border-radius: 30px; cursor: pointer; font-family: var(--sans);
  font-size: .95rem; transition: all .25s;
}
.gamount:hover { border-color: var(--gold); transform: translateY(-2px); }
.gamount.sel { background: var(--forest); border-color: var(--forest); color: #fff; }
.gamounts input { width: 170px; flex: 0 1 auto; }
#giftDone { text-align: center; padding: 1.5rem 0 .5rem; }
#giftDone h3 { font-size: 1.7rem; margin: 1rem 0 .8rem; }
#giftCode { color: var(--gold-2); letter-spacing: .1em; }
#giftDoneText { font-size: 1.05rem; margin-bottom: .8rem; }
#giftDoneText strong { color: var(--gold-2); }
.gift-note { font-size: .9rem; color: #77806f; max-width: 480px; margin: 0 auto; }

/* ---------- contact ---------- */
.section-contact { background: linear-gradient(180deg, #f6efe2 0%, var(--cream) 40%); }
.section-contact .col h2 { margin-bottom: 1.8rem; }
.contact-list { list-style: none; display: grid; gap: 1.2rem; margin-bottom: 2.2rem; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.c-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-2); background: #fffdf8;
}
.c-icon svg { width: 22px; height: 22px; }
.contact-list a { color: var(--gold-2); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 6px solid #fff; box-shadow: 0 16px 44px rgba(55, 65, 59, .16);
}
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }
.contact-form {
  background: var(--white); border: 1px solid #ece4d1;
  border-radius: calc(var(--radius) * 1.4); padding: clamp(22px, 3.5vw, 40px);
  box-shadow: 0 14px 44px rgba(55, 65, 59, .09);
}
.contact-form h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.contact-form .btn { margin-top: 1.4rem; width: 100%; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--cream); color: var(--forest-2); padding: 54px 0 40px; text-align: center; font-size: .9rem; border-top: 1px solid #e8e0cd; }
.foot { display: grid; gap: 10px; justify-items: center; }
.foot-logo { width: min(320px, 70vw); display: block; }
.foot a { color: var(--gold-2); text-decoration: none; }
.foot-small { font-size: .8rem; opacity: .75; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) and (min-width: 761px) {
  .brand-txt { display: none; }
  #nav nav { gap: clamp(10px, 1.8vw, 22px); }
  #nav nav a:not(.btn) { font-size: .78rem; letter-spacing: .06em; }
  .btn-nav { padding: 9px 18px; font-size: .78rem; }
}
@media (max-width: 900px) {
  .two-cols { grid-template-columns: 1fr; }
  .media-organic { min-height: 460px; margin-top: 10px; }
  .breuss { grid-template-columns: 1fr; }
  .breuss-img { height: 220px; order: -1; }
  .breuss-img::after { transform: translate(8px, 8px); }
}
@media (max-width: 760px) {
  #burger { display: block; }
  /* Le backdrop-filter ferait du header le containing block du menu fixed → menu cassé */
  #nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 246, 239, .97); }
  .brand-txt { font-size: .85rem; letter-spacing: .16em; }
  .hero-title { font-size: clamp(1.5rem, 7vw, 2.4rem); letter-spacing: .18em; white-space: nowrap; }
  #nav nav {
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  }
  #nav.open nav { transform: none; }
  #nav.open nav a:not(.btn) { color: var(--forest); text-shadow: none; font-size: 1.05rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { gap: 8px; }
  .step-dot { font-size: 0; gap: 0; }
  .step-dot span { font-size: .85rem; }
  .bnav { flex-wrap: wrap; }
  .price-head { flex-direction: column; gap: 4px; }
  .price-tag { text-align: left; }
  .price-tag s { display: inline; margin-right: 8px; }
  .floating-quote { position: static; max-width: none; margin-top: 14px; animation: none; border-radius: 22px 22px 6px 22px; }
  .media-organic { display: flex; flex-direction: column; gap: 16px; min-height: 0; }
  .media-organic .blob { position: static; width: 100%; height: 220px; border: 0; }
  .badges { border-radius: 24px; flex-wrap: wrap; }
  .philo-watermark { width: 200px; top: -30px; right: -60px; }
}
