/* Démo NEROLI'M · Otaweb · 02/09/2026 — DA : rose #f25e7a + poudrés, Prata / Karla / Dancing Script */

:root {
  --rose: #f25e7a;
  --rose-fonce: #d94766;
  --poudre: #fdefea;
  --poudre-clair: #fff8f5;
  --encre: #413638;
  --texte: #4c4244;
  --texte-doux: #7a6d70;
  --prune: #2e2427;
  --blanc: #ffffff;
  --filet: rgba(65, 54, 56, .12);
  --ombre: 0 18px 40px -18px rgba(65, 54, 56, .25);
  --rayon: 14px;
  --rayon-s: 9px;
  --transition: .45s cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Karla', sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rose-fonce); text-decoration: none; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: 'Prata', serif; font-weight: 400; color: var(--encre); line-height: 1.18; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.kicker {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--rose);
  display: block;
  margin-bottom: .5rem;
}
.surtitre {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--rose-fonce);
}
.intro { max-width: 620px; color: var(--texte-doux); margin: .9rem 0 0; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  padding: .95em 1.9em;
  border-radius: 100px;
  border: 2px solid var(--rose);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
  text-align: center;
}
.btn-plein { background: var(--rose); color: #fff; box-shadow: 0 12px 26px -12px rgba(242, 94, 122, .65); }
.btn-plein:hover { background: var(--rose-fonce); border-color: var(--rose-fonce); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--rose-fonce); }
.btn-ghost:hover { background: var(--poudre); transform: translateY(-2px); }
.btn[disabled], .btn.est-demo { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none !important; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--filet);
}
.nav-in { display: flex; align-items: center; gap: 22px; padding: 12px 0; }
.nav-logo img { height: 46px; width: auto; }
.nav-liens { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-liens a:not(.btn) {
  color: var(--encre); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.nav-liens a:not(.btn):hover, .nav-liens a[aria-current="page"] { color: var(--rose-fonce); border-bottom-color: var(--rose); }
.nav-liens .btn { display: inline-flex; align-items: center; min-height: 44px; padding: .3em 1.4em; font-size: .8rem; }
@media (max-width: 620px) {
  .nav-logo img { height: 36px; }
  .nav-liens { gap: 12px; }
  .nav-liens a.lien-second { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(86vh, 780px);
  display: flex; align-items: center;
  background: var(--poudre-clair);
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('assets/Nerolim-Cosmetics.jpg') no-repeat right center / cover;
}
.hero-voile {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 245, .97) 0%, rgba(255, 248, 245, .88) 42%, rgba(255, 248, 245, .18) 78%, rgba(255, 248, 245, 0) 100%);
}
.hero-in { position: relative; z-index: 1; max-width: 640px; padding: 90px 0; }
.hero p.grand {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  color: var(--texte);
  margin: 1.3rem 0 2.1rem;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero-img { background-position: 78% center; }
  .hero-voile { background: linear-gradient(180deg, rgba(255,248,245,.96) 0%, rgba(255,248,245,.9) 55%, rgba(255,248,245,.55) 100%); }
  .hero-in { padding: 70px 0; }
}

/* ---------- bande de faits ---------- */
.faits { border-bottom: 1px solid var(--filet); background: var(--blanc); }
.faits-grille {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; padding: 34px 0;
}
.fait { text-align: center; padding: 10px 14px; border-left: 1px solid var(--filet); }
.fait:first-child { border-left: 0; }
.fait b { font-family: 'Prata', serif; font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--rose-fonce); display: block; }
.fait span { font-size: .78rem; color: var(--texte-doux); line-height: 1.35; display: block; margin-top: .3rem; }
@media (max-width: 900px) {
  .faits-grille { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .fait:nth-child(4) { border-left: 0; }
}
@media (max-width: 540px) {
  .faits-grille { grid-template-columns: repeat(2, 1fr); }
  .fait { border-left: 0; }
}

/* ---------- propriété (section sombre) ---------- */
.propriete { background: var(--prune); color: var(--poudre); text-align: center; }
.propriete .kicker { color: var(--rose); }
.propriete blockquote {
  font-family: 'Prata', serif;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  color: var(--poudre);
  max-width: 900px; margin: 0 auto;
}
.propriete blockquote::before { content: '« '; color: var(--rose); }
.propriete blockquote::after { content: ' »'; color: var(--rose); }
.propriete .appui { color: rgba(253, 239, 234, .75); max-width: 560px; margin: 1.6rem auto 0; }

/* ---------- process ---------- */
.process { background: var(--poudre); }
.etapes {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; margin-top: 3rem;
  counter-reset: etape;
}
.etape {
  background: var(--blanc); border-radius: var(--rayon);
  padding: 30px 26px; box-shadow: var(--ombre);
  position: relative;
}
.etape::before {
  counter-increment: etape;
  content: '0' counter(etape);
  font-family: 'Prata', serif;
  font-size: 2.1rem; color: var(--rose);
  opacity: .85; display: block; margin-bottom: .6rem;
}
.etape h3 { margin-bottom: .5rem; }
.etape p { font-size: .92rem; color: var(--texte-doux); }
.etape ul { list-style: none; font-size: .88rem; color: var(--texte-doux); margin-top: .4rem; }
.etape ul li { padding-left: 1em; position: relative; margin-bottom: .25em; }
.etape ul li::before { content: '·'; color: var(--rose); position: absolute; left: 0; font-weight: 700; }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- équipe ---------- */
.equipe-grille {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 22px; margin-top: 3rem;
}
.membre { text-align: center; }
.membre figure {
  position: relative; border-radius: var(--rayon);
  overflow: hidden; aspect-ratio: 3 / 4;
  box-shadow: var(--ombre);
}
.membre img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter .6s ease, transform .6s ease;
}
.membre figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(242, 94, 122, .06), rgba(65, 54, 56, .18));
  pointer-events: none;
}
.membre:hover img { filter: grayscale(0) contrast(1); transform: scale(1.03); }
.membre h3 { font-size: 1.02rem; margin-top: 1rem; }
.membre .role { font-size: .8rem; font-weight: 700; color: var(--rose-fonce); text-transform: uppercase; letter-spacing: .08em; margin-top: .15rem; }
.membre .bio { font-size: .82rem; color: var(--texte-doux); margin-top: .35rem; line-height: 1.45; }
@media (max-width: 980px) { .equipe-grille { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .equipe-grille { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ---------- deux colonnes (marque blanche) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.duo-img { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 3; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.duo-img:hover img { transform: scale(1.04); }
.duo-texte p { margin: 1rem 0 1.6rem; color: var(--texte-doux); }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* ---------- réglementaire ---------- */
.regle { background: var(--poudre); text-align: center; }
.regle .wrap { max-width: 760px; }
.regle p { color: var(--texte-doux); margin-top: 1rem; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-fonce) 100%);
  color: #fff; text-align: center;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, .92); max-width: 520px; margin: 1rem auto 2rem; }
.cta-final .btn-plein { background: #fff; color: var(--rose-fonce); border-color: #fff; box-shadow: 0 14px 30px -12px rgba(65, 54, 56, .4); }
.cta-final .btn-plein:hover { background: var(--poudre-clair); }
.cta-final .ligne-alt { margin-top: 1.4rem; font-size: .92rem; }
.cta-final .ligne-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* ---------- footer ---------- */
.footer { background: var(--prune); color: rgba(253, 239, 234, .8); font-size: .9rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding: 54px 0 30px; }
.footer strong { color: var(--poudre); font-family: 'Prata', serif; font-weight: 400; font-size: 1.05rem; display: block; margin-bottom: .6rem; }
.footer a { color: rgba(253, 239, 234, .85); }
.footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.footer-cloture { border-top: 1px solid rgba(253, 239, 234, .15); padding: 18px 0 26px; font-size: .8rem; color: rgba(253, 239, 234, .55); }
@media (max-width: 640px) { .footer-in { grid-template-columns: 1fr; } }

/* ---------- badge démo ---------- */
.badge-demo {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  background: rgba(46, 36, 39, .88); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; pointer-events: none;
}

/* ---------- page fiche ---------- */
.fiche-tete { background: var(--poudre-clair); padding: 46px 0 10px; }
.ariane { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--texte-doux); }
.ariane a { color: var(--rose-fonce); }
.badge-nat {
  display: inline-block; background: var(--poudre); color: var(--rose-fonce);
  border: 1px solid rgba(242, 94, 122, .35);
  font-weight: 700; font-size: .82rem; border-radius: 100px;
  padding: .45em 1.1em; margin-top: 1rem;
}
.fiche { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 4.5vw, 64px); align-items: start; }
.fiche-visuel { position: sticky; top: 90px; }
.fiche-visuel .cadre { border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 5; }
.fiche-visuel img { width: 100%; height: 100%; object-fit: cover; object-position: 86% center; }
.fiche-visuel .legende { font-size: .74rem; color: var(--texte-doux); margin-top: .6rem; text-align: center; font-style: italic; }
.fiche-bloc { margin-bottom: 2.6rem; }
.fiche-bloc h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 1rem; }
.chips li {
  list-style: none; background: var(--poudre); color: var(--encre);
  font-size: .84rem; font-weight: 700; padding: .4em 1em; border-radius: 100px;
}
.tableau { width: 100%; border-collapse: collapse; margin-top: .6rem; }
.tableau th, .tableau td { text-align: left; padding: .8em .4em; border-bottom: 1px solid var(--filet); font-size: .92rem; vertical-align: top; }
.tableau th { color: var(--encre); font-weight: 700; width: 42%; }
.tableau .exemple { display: block; font-size: .76rem; color: var(--rose-fonce); font-style: italic; }
.encart {
  background: var(--poudre); border-radius: var(--rayon);
  padding: 26px 28px; margin-top: .6rem;
}
.encart p { color: var(--texte); font-size: .95rem; }
.encart .lien-discret { display: inline-block; margin-top: .8rem; font-weight: 700; border-bottom: 2px solid var(--rose); }
.catalogue { background: var(--poudre-clair); }
.familles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 2.6rem; }
.famille { background: #fff; border-radius: var(--rayon); padding: 24px 22px; box-shadow: var(--ombre); }
.famille h3 { font-size: 1rem; color: var(--rose-fonce); margin-bottom: .8rem; }
.famille ul { list-style: none; }
.famille li { font-size: .86rem; color: var(--texte-doux); padding: .35em 0; border-bottom: 1px dashed var(--filet); }
.famille li:last-child { border-bottom: 0; }
.famille li b { color: var(--encre); font-weight: 700; }
.famille li .nat { display: block; font-size: .74rem; color: var(--rose-fonce); }
@media (max-width: 980px) { .familles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr; } .fiche-visuel { position: static; max-width: 440px; } }
@media (max-width: 540px) { .familles { grid-template-columns: 1fr; } }

/* ---------- page démarrer (stepper) ---------- */
.demarrer-fond { background: var(--poudre-clair); min-height: 100vh; }
.stepper-cadre { max-width: 680px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) 22px 90px; }
.progres { height: 6px; background: rgba(242, 94, 122, .18); border-radius: 100px; overflow: hidden; margin: 1.6rem 0 2.4rem; }
.progres i { display: block; height: 100%; background: linear-gradient(90deg, var(--rose), var(--rose-fonce)); border-radius: 100px; transition: width .5s cubic-bezier(.22, .8, .3, 1); }
.etape-form { background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); padding: clamp(26px, 4vw, 44px); }
.etape-form legend, .etape-form .question { font-family: 'Prata', serif; font-size: clamp(1.2rem, 2.4vw, 1.55rem); color: var(--encre); margin-bottom: .4rem; }
.etape-form legend { float: left; width: 100%; }
.etape-form .aide { clear: both; font-size: .88rem; color: var(--texte-doux); margin-bottom: 1.5rem; }
fieldset { border: 0; }
.options { display: grid; gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.option label {
  display: block; border: 2px solid var(--filet); border-radius: var(--rayon-s);
  padding: 15px 18px; font-weight: 700; color: var(--encre);
  cursor: pointer; transition: border-color .25s ease, background .25s ease, transform .25s ease;
  min-height: 44px;
}
.option label small { display: block; font-weight: 400; font-size: .82rem; color: var(--texte-doux); margin-top: .15rem; }
.option input:checked + label { border-color: var(--rose); background: var(--poudre); }
.option input:focus-visible + label { outline: 3px solid var(--rose); outline-offset: 2px; }
.option label:hover { border-color: rgba(242, 94, 122, .5); transform: translateY(-1px); }
.champs { display: grid; gap: 16px; }
.champs label { font-weight: 700; font-size: .88rem; color: var(--encre); display: block; margin-bottom: .35rem; }
.champs input, .champs textarea {
  width: 100%; border: 2px solid var(--filet); border-radius: var(--rayon-s);
  padding: 13px 15px; font: inherit; color: var(--texte);
  transition: border-color .25s ease; min-height: 44px;
}
.champs textarea { resize: vertical; }
.champs input:focus, .champs textarea:focus { border-color: var(--rose); outline: none; }
.champs .optionnel { font-weight: 400; color: var(--texte-doux); }
.stepper-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 14px; }
.btn-retour { background: none; border: none; font: inherit; font-weight: 700; color: var(--texte-doux); cursor: pointer; padding: .8em 1em; border-radius: 8px; min-height: 44px; }
.btn-retour:hover { color: var(--encre); background: var(--poudre); }
.erreur-douce { color: var(--rose-fonce); font-size: .85rem; margin-top: 1rem; display: none; }
.erreur-douce.visible { display: block; }

/* récap : la fiche projet */
.recap-carte {
  background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre);
  overflow: hidden;
}
.recap-tete { background: var(--prune); color: var(--poudre); padding: 26px 32px; }
.recap-tete .kicker { margin-bottom: .2rem; }
.recap-tete h2 { color: #fff; font-size: 1.5rem; }
.recap-corps { padding: 30px 32px; }
.recap-corps dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.4rem; }
.recap-corps dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--texte-doux); padding-top: .15rem; }
.recap-corps dd { color: var(--encre); font-weight: 700; }
.recap-note { background: var(--poudre); border-radius: var(--rayon-s); padding: 16px 20px; font-size: .88rem; color: var(--texte); margin-top: 1.6rem; }
.recap-actions { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.recap-actions .mention { font-size: .78rem; color: var(--texte-doux); font-style: italic; }

/* ---------- révélations au scroll ---------- */
.rev { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .3, 1); }
.rev.vu { opacity: 1; transform: none; }
.rev-d1 { transition-delay: .08s; } .rev-d2 { transition-delay: .16s; }
.rev-d3 { transition-delay: .24s; } .rev-d4 { transition-delay: .32s; }
.rev-d5 { transition-delay: .4s; }

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