/* ==========================================================================
   Noémie Lozac – Médecine traditionnelle chinoise
   Palette : vert feuille & blanc
   ========================================================================== */

:root {
  --leaf-900: #1f3d24;
  --leaf-700: #2f5d34;
  --leaf-600: #3f7a43;
  --leaf-500: #4f9150;   /* vert feuille principal */
  --leaf-300: #9ccb8f;
  --leaf-100: #e3f0dd;
  --leaf-50:  #f3f9f0;
  --white:    #ffffff;
  --ink:      #26332a;
  --ink-soft: #566559;
  --line:     #dbe8d5;

  --radius: 14px;
  --shadow: 0 8px 28px rgba(47, 93, 52, .10);
  --container: 1080px;

  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--leaf-700); text-underline-offset: 3px; }
a:hover { color: var(--leaf-500); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--leaf-900);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--leaf-700); color: var(--white);
  padding: .6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--leaf-300); outline-offset: 3px; border-radius: 4px; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 1rem;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--leaf-900);
}
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.brand-sub  { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-600); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--leaf-700);
}
.nav-toggle svg { margin: auto; }

.nav ul { list-style: none; display: flex; gap: .4rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5rem 1rem; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--leaf-50); color: var(--leaf-700); }
.nav a[aria-current="page"] { background: var(--leaf-100); color: var(--leaf-700); }
.nav a.nav-cta { background: var(--leaf-500); color: var(--white); }
.nav a.nav-cta:hover { background: var(--leaf-600); color: var(--white); }

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: .8rem 1rem; }
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block; cursor: pointer;
  padding: .85rem 1.7rem; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none;
  border: 2px solid var(--leaf-500);
  background: var(--leaf-500); color: var(--white);
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { background: var(--leaf-600); border-color: var(--leaf-600); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--leaf-700); }
.btn-outline:hover { background: var(--leaf-50); color: var(--leaf-700); }
.btn-light { background: var(--white); color: var(--leaf-700); border-color: var(--white); }
.btn-light:hover { background: var(--leaf-50); color: var(--leaf-900); border-color: var(--leaf-50); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--leaf-50); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block; margin-bottom: .8rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--leaf-500);
}

.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--leaf-50) 0%, var(--white) 60%);
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero h1 em { font-style: normal; color: var(--leaf-500); }
.hero-art {
  position: relative; aspect-ratio: 1; max-width: 420px; margin-inline: auto; width: 100%;
}
.hero-art .disc {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--leaf-300), var(--leaf-500));
  box-shadow: var(--shadow);
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-leaf-bg {
  position: absolute; right: -80px; top: -60px; width: 380px; opacity: .08; color: var(--leaf-700);
  pointer-events: none;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 280px; order: -1; }
}

/* ---------- Cartes ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 1rem; font-weight: 600; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--leaf-100); color: var(--leaf-700); margin-bottom: 1.1rem;
}
.icon-badge svg { width: 28px; height: 28px; }

/* ---------- Valeurs / liste ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--leaf-500)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}

.panel {
  background: var(--leaf-700); color: var(--white);
  border-radius: calc(var(--radius) * 1.4); padding: 2.4rem 2rem; position: relative; overflow: hidden;
}
.panel h3 { color: var(--white); }
.panel p { color: #dcebd6; }
.panel .quote-mark { position: absolute; right: 1rem; bottom: -1rem; width: 150px; opacity: .12; color: var(--white); }

/* ---------- Bandeau CTA ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--leaf-700), var(--leaf-500));
  color: var(--white); text-align: center;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #e6f3e1; max-width: 560px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- En-tête de page intérieure ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--leaf-100), var(--leaf-50) 70%);
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 640px; margin-bottom: 0; }

/* ---------- Page soins ---------- */

.soin {
  display: grid; grid-template-columns: 120px 1fr; gap: 2rem;
  padding: 2.5rem 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.soin:last-of-type { border-bottom: 0; }
.soin-icon {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--leaf-100); color: var(--leaf-700);
}
.soin-icon svg { width: 46px; height: 46px; }
.soin-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.soin-meta li {
  font-size: .9rem; padding: .25rem .8rem; border-radius: 999px;
  background: var(--leaf-50); border: 1px solid var(--line); color: var(--leaf-700);
}
.soin h2 { margin-bottom: .4em; }
.soin ul.points { padding-left: 1.2rem; color: var(--ink-soft); }
.soin ul.points li { margin-bottom: .3rem; }

@media (max-width: 640px) {
  .soin { grid-template-columns: 1fr; gap: 1rem; }
  .soin-icon { width: 72px; height: 72px; }
  .soin-icon svg { width: 34px; height: 34px; }
}

.small-note { font-size: .95rem; color: var(--ink-soft); }

.subnav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.subnav a {
  padding: .45rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 500;
  background: var(--white); border: 1px solid var(--leaf-300); color: var(--leaf-700);
}
.subnav a:hover { background: var(--leaf-500); border-color: var(--leaf-500); color: var(--white); }

.notice {
  border-left: 4px solid var(--leaf-500); background: var(--leaf-50);
  padding: 1.1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft); font-size: .97rem;
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.info-list li { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.info-list .icon-badge { margin: 0; flex: none; width: 46px; height: 46px; }
.info-list .icon-badge svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--leaf-900); }
.info-list span, .info-list a { color: var(--ink-soft); }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .45rem 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.hours td:last-child { text-align: right; color: var(--ink); }

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3);
  padding: 2rem; box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--leaf-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: inherit;
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--leaf-50);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf-500); background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 1rem; margin-bottom: 0; }
.hp { position: absolute; left: -9999px; }

.map-placeholder {
  margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--leaf-50); min-height: 220px; display: grid; place-items: center; text-align: center;
  color: var(--ink-soft); padding: 1.5rem;
}

/* ---------- Pied de page ---------- */

.site-footer { background: var(--leaf-900); color: #cfe3c9; padding: 3rem 0 1.5rem; font-size: .96rem; }
.site-footer a { color: #e6f3e1; }
.site-footer a:hover { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1.05rem; font-family: var(--font-sans); letter-spacing: .06em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .4rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .88rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Animations d'apparition ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}
