:root {
  --green: #5e8b73;
  --green-dark: #345746;
  --green-light: #e8f0ea;
  --cream: #faf8f3;
  --sand: #efe7da;
  --text: #2f3a34;
  --muted: #6b7a71;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(52, 87, 70, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito Sans", system-ui, sans-serif; color: var(--text); background: var(--cream); line-height: 1.65; }
h1, h2, h3 { font-family: "Lora", Georgia, serif; color: var(--green-dark); line-height: 1.25; font-weight: 600; }
h2 { font-size: 2rem; margin: 0 0 .5rem; }
a { color: var(--green-dark); }
img { max-width: 100%; display: block; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 80px 0; }
.section.alt { background: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; color: var(--green); font-weight: 700; }
.lead { color: var(--muted); max-width: 680px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(250, 248, 243, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); }
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { text-decoration: none; display: flex; align-items: center; gap: .6rem; }
.brand strong { font-family: "Lora", serif; font-size: 1.15rem; color: var(--green-dark); display: block; }
.brand small { color: var(--muted); font-size: .8rem; }
nav a { text-decoration: none; margin-left: 1.4rem; font-weight: 600; font-size: .95rem; }
nav a:not(.btn):hover { color: var(--green); }
@media (max-width: 760px) { nav a:not(.btn) { display: none; } }

.btn { display: inline-block; background: var(--green); color: #fff !important; padding: .8rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; cursor: pointer; font-size: 1rem; transition: background .2s, transform .2s; font-family: inherit; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green-dark) !important; border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--green-light); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden;
  background: linear-gradient(120deg, rgba(232, 240, 234, .94), rgba(250, 248, 243, .88)), url("images/fond.svg") center/cover; }
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .4rem 0 1rem; }
.hero .photo { border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; aspect-ratio: 1; max-width: 380px; margin-left: auto; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
@media (max-width: 820px) { .hero .container { grid-template-columns: 1fr; } .hero .photo { margin: 0 auto; max-width: 260px; } }

.quote { background: var(--green-dark); color: #fff; text-align: center; padding: 56px 0; }
.quote blockquote { font-family: "Lora", serif; font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0 auto; max-width: 820px; }
.quote cite { display: block; margin-top: .8rem; font-size: .9rem; opacity: .8; font-style: normal; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--green-light); }
.timeline li { padding: 0 0 1.2rem 1.4rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.timeline b { color: var(--green-dark); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.section.alt .card { background: var(--cream); }
.card .icon { font-size: 1.8rem; }
.card h3 { margin: .6rem 0 .4rem; }
.card ul { padding-left: 1.1rem; margin: .5rem 0 0; color: var(--muted); }
.tag { display: inline-block; background: var(--green-light); color: var(--green-dark); border-radius: 999px; padding: .2rem .8rem; font-size: .8rem; font-weight: 700; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.steps div { counter-increment: s; }
.steps div::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); font-weight: 800; margin-bottom: .6rem; }

.cta { text-align: center; background: var(--green-light); border-radius: var(--radius); padding: 3rem 1.5rem; }

/* Footer */
footer.site { background: var(--green-dark); color: #dfe9e2; padding: 48px 0 24px; font-size: .92rem; }
footer.site a { color: #fff; }
footer.site .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
footer.site h3 { color: #fff; font-size: 1.05rem; }
footer.site .legal { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2rem; padding-top: 1rem; font-size: .8rem; opacity: .8; }
.urgence { background: #fff6e8; border-left: 4px solid #d9a441; padding: .9rem 1.2rem; border-radius: 8px; font-size: .9rem; }

/* Rendez-vous */
.page-title { background: var(--green-light); padding: 56px 0 40px; }
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-head h3 { margin: 0; text-transform: capitalize; }
.cal-head button { background: var(--green-light); border: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--green-dark); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: .78rem; font-weight: 700; color: var(--muted); padding: .3rem 0; }
.cal-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: #b9c2bc; font: inherit; cursor: default; }
.cal-grid button.avail { background: var(--green-light); color: var(--green-dark); font-weight: 700; cursor: pointer; }
.cal-grid button.avail:hover { background: #d3e3d8; }
.cal-grid button.selected { background: var(--green); color: #fff; }
.cal-grid button.today { outline: 2px solid var(--sand); }
.slots { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.slots button { border: 2px solid var(--green); background: #fff; color: var(--green-dark); padding: .5rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 700; font-family: inherit; }
.slots button.selected, .slots button:hover { background: var(--green); color: #fff; }
.legend { font-size: .82rem; color: var(--muted); margin-top: .8rem; }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin: .8rem 0 .3rem; }
input, textarea, select { width: 100%; padding: .7rem .9rem; border: 1.5px solid #d8ded9; border-radius: 10px; font: inherit; background: #fff; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); }
.consent input { width: auto; margin-top: .3rem; }
.notice { padding: .9rem 1.1rem; border-radius: 10px; margin-top: 1rem; display: none; }
.notice.ok { display: block; background: var(--green-light); color: var(--green-dark); }
.notice.err { display: block; background: #fbeaea; color: #8a2b2b; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: .7rem 0; border-bottom: 1px solid var(--green-light); display: flex; gap: .8rem; }
.hidden { display: none !important; }
