/* ============================================
   Benjamin Debusschere — Pédicure-Podologue
   Feuille de style principale
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  /* Couleurs */
  --paper: #F0EBE1;
  --panel: #FBF9F4;
  --ink: #241F1A;
  --ink-soft: #55504A;
  --moss: #3E5641;
  --moss-dark: #2B3E2E;
  --clay: #B4703A;
  --clay-dark: #935A2C;
  --stone: #D9D0BF;
  --white: #FFFFFF;

  /* Typographie */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rythme */
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { max-width: 62ch; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--moss);
  color: var(--white);
}
.btn-primary:hover { background: var(--moss-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-clay {
  background: var(--clay);
  color: var(--white);
}
.btn-clay:hover { background: var(--clay-dark); }

/* ============ Header ============ */
.site-header {
  border-bottom: 1px solid var(--stone);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.2rem 0;
}
.main-nav a.active { color: var(--moss); }
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--moss);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ============ Hero (Accueil) ============ */
.hero-split {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  min-height: 78vh;
}

.hero-menu {
  background: var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-right: 1px solid var(--stone);
}

.hero-menu .eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

.hero-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-menu nav li {
  border-bottom: 1px solid var(--stone);
}
.hero-menu nav li:first-child { border-top: 1px solid var(--stone); }

.hero-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.05rem 0.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  transition: padding-left 0.25s ease, color 0.25s ease;
}
.hero-menu nav a:hover {
  padding-left: 0.5rem;
  color: var(--moss);
}
.hero-menu nav a .arrow {
  font-family: var(--font-body);
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hero-menu nav a:hover .arrow { opacity: 1; }

.hero-photo {
  position: relative;
}

/* ============ Placeholder photo ============ */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    repeating-linear-gradient(135deg, rgba(62,86,65,0.06) 0 14px, rgba(62,86,65,0.02) 14px 28px),
    var(--panel);
  border: 1px dashed var(--stone);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  color: var(--ink-soft);
  padding: 1.5rem;
}
.photo-placeholder svg { width: 34px; height: 34px; opacity: 0.5; }
.photo-placeholder .label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  max-width: 26ch;
}
.photo-placeholder .tag {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  background: var(--stone);
  color: var(--ink);
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-1-1 { aspect-ratio: 1 / 1; }

/* ============ Page hero (sous-pages) ============ */
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-bottom: 1px solid var(--stone);
}
.page-hero-text {
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-text .kicker {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 0.9rem;
}

/* ============ Sections ============ */
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.divider {
  border: none;
  border-top: 1px solid var(--stone);
  margin: 0;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
  padding-top: 1rem;
}
.stat-row .stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--moss);
  font-weight: 600;
  line-height: 1;
}
.stat-row .stat-label {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  max-width: 20ch;
}

.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
}
.care-list li {
  background: var(--paper);
  padding: 1.4rem clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 1.5rem;
  align-items: baseline;
}
.care-list h3 { margin: 0; }
.care-list p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.profile-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
}
.profile-list article {
  background: var(--paper);
  padding: 1.8rem;
}
.profile-list h3 { color: var(--moss); font-size: 1.05rem; margin-bottom: 0.6rem; }
.profile-list p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

.callout {
  background: var(--panel);
  border: 1px solid var(--stone);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 1rem;
}
.callout.reimbursement {
  border-left: 3px solid var(--moss);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.info-grid dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clay-dark);
  margin-bottom: 0.4rem;
}
.info-grid dd { margin: 0; color: var(--ink-soft); }

table.hours-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 480px;
}
table.hours-table td, table.hours-table th {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--stone);
  text-align: left;
  font-size: 0.97rem;
}
table.hours-table th { font-weight: 600; color: var(--ink-soft); font-size: 0.85rem; }
table.hours-table tr:last-child td { border-bottom: none; }

.map-frame {
  border: 1px solid var(--stone);
  width: 100%;
  height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.cta-band {
  background: var(--moss);
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.82); }

.placeholder-note {
  font-size: 0.85rem;
  color: var(--clay-dark);
  background: rgba(180,112,58,0.08);
  border: 1px solid rgba(180,112,58,0.3);
  padding: 0.7rem 1rem;
  margin-top: 0.6rem;
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--stone);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid h4 { font-size: 0.9rem; margin-bottom: 0.8rem; }
.footer-grid p, .footer-grid a { color: var(--ink-soft); font-size: 0.93rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--stone);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--stone);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.7rem 0; width: 100%; }
  .main-nav .btn { margin-top: 0.6rem; }

  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { order: -1; }
  .hero-photo .photo-placeholder { min-height: 260px; }

  .page-hero { grid-template-columns: 1fr; }
  .page-hero-text { order: 2; }

  .two-col { grid-template-columns: 1fr; }
  .care-list li { grid-template-columns: 1fr; gap: 0.4rem; }
  .profile-list { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

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