/* ===================================================================
   Nails by Lessl — feuille de style
   Conçu d'abord pour mobile, puis adapté aux grands écrans.
   Palette : crème #e7dbcd · brun #4c3a2c
   =================================================================== */

:root {
  --cream:       #e7dbcd;
  --cream-soft:  #f5efe7;
  --cream-pale:  #fbf8f4;
  --brown:       #4c3a2c;
  --brown-soft:  #6f5944;
  --brown-mid:   #8a6f57;
  --line:        rgba(76, 58, 44, 0.14);
  --white:       #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --shadow: 0 18px 40px -24px rgba(76, 58, 44, 0.45);
  --maxw: 1100px;
  --dock-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--brown);
  background: var(--cream-pale);
  line-height: 1.6;
  overflow-x: hidden;
  /* place pour la barre d'actions mobile + zone sûre iPhone */
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn--solid {
  background: var(--brown);
  color: var(--cream-soft);
  box-shadow: var(--shadow);
}
.btn--solid:hover { background: #3b2c20; transform: translateY(-2px); }
.btn--solid:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--brown);
}
.btn--ghost:hover { background: var(--brown); color: var(--cream-soft); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(251, 248, 244, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--brown);
}

.nav { display: none; }

/* groupe de droite : sélecteur de langue + menu */
.header__right { display: flex; align-items: center; gap: 8px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lang-switch button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brown-soft);
  padding: 7px 12px;
  transition: background .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-switch button.is-active { background: var(--brown); color: var(--cream-soft); }

.nav__cta {
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--brown);
  color: var(--cream-soft) !important;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .12em;
}

/* bouton hamburger */
.nav-toggle {
  width: 42px; height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héro ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 24px 90px;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--cream) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream-soft) 0%, var(--cream-pale) 100%);
  overflow: hidden;
}
.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(138,111,87,.18), transparent) -60px -40px / 320px 320px no-repeat,
    radial-gradient(closest-side, rgba(138,111,87,.12), transparent) calc(100% + 70px) 30% / 360px 360px no-repeat;
}
.hero__inner { position: relative; max-width: 640px; }
.hero__note {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--brown-soft);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero__eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 22px;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--brown-soft); }
.hero__sub {
  font-size: 1.02rem;
  color: var(--brown-soft);
  max-width: 30em;
  margin: 0 auto 34px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--brown-mid);
  border-radius: 100px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--brown-mid);
  border-radius: 2px;
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- Sections ---------- */
.section { padding: 78px 24px; max-width: var(--maxw); margin: 0 auto; }
.section--alt { background: var(--cream-soft); max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.overline {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 14px;
}
.section__head h2 { font-size: clamp(2rem, 7vw, 3rem); color: var(--brown); }
.lead { margin-top: 14px; color: var(--brown-soft); font-size: 1.02rem; }

/* ---------- Cartes services ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: grid;
  place-items: center;
}
.card__icon svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: var(--brown);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--brown); }
.card p { color: var(--brown-soft); font-size: .96rem; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery__item {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cta { text-align: center; margin-top: 34px; }

/* ---------- À propos ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.about__media {
  justify-self: center;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.about__media img { width: 150px; height: 150px; }
.about__text h2 { font-size: clamp(2rem, 7vw, 2.7rem); margin-bottom: 16px; }
.about__text p { color: var(--brown-soft); margin-bottom: 14px; }
.about__text .btn { margin-top: 8px; }

/* ---------- Carte / localisation ---------- */
.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  filter: grayscale(18%) sepia(8%);
}
.map__cta { text-align: center; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
  transition: box-shadow .25s ease;
}
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--brown);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--brown-mid);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  padding: 0 0 18px;
  color: var(--brown-soft);
  font-size: .98rem;
}
.faq__item a { color: var(--brown); text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__hours {
  margin-top: 26px;
  color: var(--brown-soft);
  font-size: .94rem;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}
.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact__ic {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.contact__ic svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--brown);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__label {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown-mid);
}
.contact__value { font-size: 1.02rem; color: var(--brown); font-weight: 400; }

/* ---------- Pied de page ---------- */
.footer {
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 54px 24px 40px;
}
.footer__mark { width: 64px; height: 64px; margin: 0 auto 14px; }
.footer__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.footer__line { font-size: .9rem; color: rgba(245,239,231,.7); margin-top: 6px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin: 22px 0 18px;
}
.footer__links a {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  opacity: .85;
  transition: opacity .2s ease;
}
.footer__links a:hover { opacity: 1; }
.footer__copy { font-size: .76rem; color: rgba(245,239,231,.55); }

/* ---------- Barre d'actions (mobile) ---------- */
.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.dock__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--brown);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.dock__btn svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dock__btn--primary {
  background: var(--brown);
  color: var(--cream-soft);
}

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   ADAPTATION TABLETTE / ORDINATEUR
   =================================================================== */
@media (min-width: 760px) {
  body { padding-bottom: 0; }          /* la barre mobile disparaît */
  .dock { display: none; }

  .nav-toggle { display: none; }
  .nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .nav a {
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brown-soft);
    transition: color .2s ease;
  }
  .nav a:hover { color: var(--brown); }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .contact__grid { grid-template-columns: repeat(3, 1fr); max-width: none; }

  .about {
    grid-template-columns: 280px 1fr;
    gap: 56px;
    text-align: left;
  }
  .about__text { text-align: left; }
  .map iframe { height: 420px; }
}

/* menu mobile déroulant ouvert */
@media (max-width: 759px) {
  .nav {
    position: fixed;
    inset: 64px 12px auto 12px;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--cream-pale);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(.6);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.is-open { display: flex; transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav a {
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--brown);
    font-size: .9rem;
    letter-spacing: .06em;
  }
  .nav a:hover { background: var(--cream-soft); }
  .nav__cta { text-align: center; }
}
