/*
Theme Name: Mélanie Kanso
Theme URI: https://nailsbymdc.fr/
Author: OpenAI for Mélanie
Description: Thème élégant japonais minimal et spa organique pour Mélanie, prothésiste ongulaire.
Version: 1.5.1
Text Domain: melanie-kanso
*/

:root {
  --ink: #171614;
  --charcoal: #24211e;
  --sand: #d7c3aa;
  --warm: #b79575;
  --ivory: #f7f3ed;
  --paper: #fcfaf7;
  --taupe: #76685d;
  --line: rgba(23, 22, 20, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(252, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 48px));
  min-height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  letter-spacing: .05em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 15px;
}

.brand-name { font-family: Georgia, serif; font-size: 23px; }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--ivory);
  border-color: var(--line);
}

.nav-links .nav-cta {
  color: var(--ivory);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  padding: 10px 14px;
  color: var(--ivory);
  background: var(--ink);
  border: 0;
  border-radius: 999px;
}

.hero {
  min-height: min(820px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #cdb89c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,18,16,.82) 0%, rgba(20,18,16,.55) 35%, rgba(20,18,16,.05) 68%), url('assets/images/mains.webp') center/cover no-repeat;
  transform: scale(1.01);
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
  position: relative;
  padding: 120px 0;
}

.hero-copy { max-width: 620px; color: #fff; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .30em;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ead7c1; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(58px, 8vw, 108px);
  letter-spacing: -.04em;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); background: #000; }
.button-light { color: var(--ink); background: var(--ivory); border-color: var(--ivory); }

.section { padding: 120px 0; }
.section-inner { width: min(var(--max), calc(100% - 48px)); margin: auto; }

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: end;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(45px, 6vw, 80px);
  letter-spacing: -.035em;
}

.intro-copy { max-width: 620px; color: var(--taupe); font-size: 18px; }

.service-section {
  color: var(--ivory);
  background:
    linear-gradient(rgba(10, 9, 8, .12), rgba(10, 9, 8, .12)),
    url('assets/images/mains-background.webp') center / cover no-repeat;
}

#mains .service-content .eyebrow { color: var(--sand); }
#mains .service-content h2 { color: #fff; text-shadow: 0 3px 24px rgba(0,0,0,.35); }
#mains .service-content > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
#mains .placeholder-list li {
  background: rgba(250, 247, 242, .94);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
#mains .button {
  color: var(--ink);
  background: var(--ivory);
  border-color: var(--ivory);
}

#pieds {
  background:
    linear-gradient(rgba(250, 246, 239, .08), rgba(250, 246, 239, .08)),
    url('assets/images/pieds-background-sans-pierre.webp') center 52% / cover no-repeat;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 58px;
  align-items: stretch;
}

.service-grid.reverse { grid-template-columns: .92fr 1.08fr; }
.service-grid.reverse .service-image { order: 2; }

.service-image {
  min-height: 580px;
  overflow: hidden;
  border-radius: 2px 92px 2px 2px;
  background: #cdb89c;
}

.service-grid.reverse .service-image { border-radius: 92px 2px 2px 2px; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }

.service-content {
  padding: 65px 20px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h2 { margin-bottom: 22px; font-size: clamp(48px, 6vw, 76px); }
.service-content > p:not(.eyebrow) { max-width: 510px; color: var(--taupe); font-size: 17px; }

.placeholder-list {
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.placeholder-list li {
  min-height: 62px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
  position: relative;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--charcoal);
}

.placeholder-list li::before {
  content: "✦";
  position: absolute;
  top: 17px;
  left: 16px;
  color: var(--warm);
  font-size: 10px;
}

.service-name {
  padding-left: 19px;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.28;
}

.dark-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 243, 237, .74), rgba(247, 243, 237, .74)),
    url('assets/images/melanie-background.webp') center 48% / cover no-repeat;
}

.dark-section.section { padding: 92px 0; }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 600px);
  gap: 0;
  justify-content: center;
  align-items: center;
}

.profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 550px;
  overflow: hidden;
  border-radius: 28px;
  background: #887064;
  box-shadow: 0 24px 70px rgba(38, 29, 23, .18);
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.profile-copy {
  position: relative;
  z-index: 2;
  min-height: 490px;
  margin-left: -34px;
  padding: 50px 48px 44px;
  background: rgba(252, 250, 247, .96);
  border: 1px solid rgba(118, 104, 93, .20);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(38, 29, 23, .16);
}

.profile-copy .eyebrow { color: var(--warm); }
.profile-copy h2 { margin-bottom: 24px; font-size: clamp(48px, 6vw, 72px); }
.profile-copy p:not(.eyebrow) { max-width: 560px; color: var(--taupe); font-size: 16px; }

.values { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.values span {
  padding: 9px 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5f5147;
  font-family: Georgia, serif;
}

.profile-copy .button { margin-top: 28px; }

.contact-section { text-align: center; background: var(--sand); }
.contact-card { max-width: 820px; margin: auto; }
.contact-card .section-title { margin-bottom: 24px; }
.contact-card p:not(.eyebrow) { margin: 0 auto 34px; max-width: 590px; color: #594e45; font-size: 18px; }

.site-footer {
  padding: 34px 0;
  color: rgba(255,255,255,.62);
  background: #0e0d0c;
  font-size: 13px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: inline-flex; }
  .nav-wrap { position: relative; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: -24px;
    right: -24px;
    display: none;
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { text-align: center; }
  .intro-grid,
  .service-grid,
  .service-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .service-grid.reverse .service-image { order: 0; }
  .service-content { padding: 15px 0; }
  .service-image { min-height: 480px; }
  .dark-section.section { padding: 72px 0; }
  .profile-grid {
    max-width: 650px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .profile-photo {
    width: calc(100% - 48px);
    height: 520px;
    margin: 0 auto;
  }
  .profile-copy {
    min-height: 0;
    margin: -42px 0 0;
    padding: 48px 42px 40px;
  }
}

@media (max-width: 600px) {
  .nav-wrap,
  .hero-inner,
  .section-inner,
  .footer-inner { width: min(100% - 32px, var(--max)); }
  .brand-name { font-size: 20px; }
  .hero { min-height: 700px; }
  .hero::before { background: linear-gradient(180deg, rgba(20,18,16,.36) 0%, rgba(20,18,16,.3) 30%, rgba(20,18,16,.88) 100%), url('assets/images/mains.webp') 65% center/cover no-repeat; }
  .hero-inner { padding: 330px 0 74px; }
  h1 { font-size: 58px; }
  .section { padding: 82px 0; }
  .service-image { min-height: 390px; border-radius: 2px 64px 2px 2px; }
  .placeholder-list { grid-template-columns: 1fr; }
  .dark-section.section { padding: 58px 0; }
  .profile-photo {
    width: 100%;
    height: 430px;
    border-radius: 22px;
  }
  .profile-copy {
    margin: -30px 10px 0;
    padding: 38px 24px 34px;
    border-radius: 22px;
  }
  .profile-copy h2 { font-size: 52px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
