/*
Theme Name: Pur Esthetic
Description: Thème pour l'institut de beauté bio Pur Esthetic (Annecy). Page d'accueil et modèle de page Réservation.
Version: 1.0.0
Text Domain: pur-esthetic
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --ground: #F3F6F2;
  --ink: #16302A;
  --accent: #2F6B52;
  --tint: #DCE8DF;
  --muted: #38504A;
  --card: #FFFFFF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); background: var(--ground); color: var(--ink); font-size: 17px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 44px); }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 56px; padding-right: 56px; }
@media (max-width: 700px) { .wrap { padding-left: 20px; padding-right: 20px; } }

.btn { display: inline-block; padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 17px; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--ground); }
.eyebrow { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }

/* En-tête */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.site-title { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.site-nav a { padding: 10px 0; display: inline-block; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .btn { padding: 12px 22px; color: #fff; }
.site-nav .btn:hover { text-decoration: none; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 48px; padding-bottom: 88px; align-items: stretch; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.hero p { margin: 0; font-size: 19px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { flex: 1 1 380px; min-width: 0; min-height: 440px; border-radius: 28px; background: var(--tint) center / cover no-repeat; display: flex; align-items: flex-end; padding: 28px; }
.hero-media .note { background: var(--ground); border-radius: 16px; padding: 16px 20px; font-size: 15px; max-width: 300px; }

/* Engagements */
.values { background: var(--ink); color: var(--ground); }
.values .wrap { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-top: 44px; padding-bottom: 44px; }
.value { flex: 1 1 260px; min-width: 0; }
.value h3 { font-size: 24px; margin-bottom: 8px; }
.value p { margin: 0; font-size: 16px; opacity: 0.92; }

/* Soins */
.section { padding-top: 96px; padding-bottom: 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 44px; }
.section-head h2 { flex: 1 1 420px; min-width: 0; }
.section-head p { margin: 0; flex: 1 1 360px; max-width: 480px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 25px; }
.card p { margin: 0; color: var(--muted); }
.card .price { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--accent); }

/* Réservation (accueil) */
.booking { padding-top: 72px; padding-bottom: 72px; }
.booking-box { background: var(--tint); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
@media (max-width: 700px) { .booking-box { padding: 28px 22px; } }
.booking-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.booking-text h2 { font-size: clamp(28px, 3.6vw, 40px); }
.booking-text p { margin: 0; }
.steps { flex: 1 1 380px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 20px; align-items: flex-start; background: var(--ground); border-radius: 18px; padding: 22px 24px; }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.step strong { display: block; font-size: 19px; margin-bottom: 4px; }
.step span { color: var(--muted); }

/* Bon cadeau */
.gift { padding-top: 24px; padding-bottom: 96px; }
.gift-inner { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; border-top: 2px solid var(--ink); padding-top: 56px; }
.gift-inner h2 { flex: 1 1 360px; min-width: 0; font-size: clamp(28px, 3.6vw, 40px); }
.gift-inner p { margin: 0; flex: 1 1 360px; min-width: 0; font-size: 18px; }

/* Contact */
.contact { background: var(--ink); color: var(--ground); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 40px 72px; padding-top: 72px; padding-bottom: 72px; }
.contact-col { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact h2 { font-size: clamp(28px, 3.6vw, 40px); }
.contact p { margin: 0; font-size: 18px; }
.hours { display: flex; flex-direction: column; gap: 12px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(243, 246, 242, 0.25); padding-bottom: 10px; font-size: 17px; }
.site-footer { padding-top: 20px; padding-bottom: 32px; font-size: 14px; opacity: 0.8; background: var(--ink); color: var(--ground); }

/* Pages */
.page-main { padding-top: 24px; padding-bottom: 96px; }
.page-main h1 { font-size: clamp(34px, 4.6vw, 48px); margin-bottom: 12px; letter-spacing: -0.02em; }
.page-intro { max-width: 640px; margin: 0 0 40px; }
.page-content { max-width: 900px; }
.page-content.wide { max-width: none; }
