/* ==== Google Fonts (repli système) ==== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Nunito+Sans:opsz,wght@6..12,300;6..12,400;6..12,600;6..12,700&display=swap');

/* ==== Variables ==== */
:root {
  --cream: #F7F1E8;
  --cream-deep: #EFE5D6;
  --paper: #FFFDF9;
  --brown: #3B2F2A;
  --brown-soft: #6B5A50;
  --brown-muted: #9C8B80;
  --sage: #7C9A83;
  --sage-deep: #5E7D66;
  --sage-pale: #E3ECE5;
  --terracotta: #C4673F;
  --terracotta-deep: #A9512E;
  --terracotta-pale: #F5E3D9;
  --line: rgba(59, 47, 42, 0.12);
  --shadow: 0 10px 30px rgba(59, 47, 42, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --font-title: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1120px;
  --header-h: 76px;
}

/* ==== Base ==== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--brown);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--sage-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.lead { font-size: 1.2rem; color: var(--brown-soft); }
.muted { color: var(--brown-soft); }
.small { font-size: 0.9rem; }

/* ==== Boutons ==== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-secondary { background: transparent; color: var(--sage-deep); border-color: var(--sage); }
.btn-secondary:hover { background: var(--sage-pale); }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); }

/* ==== En-tête ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; color: var(--brown); }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-title); font-size: 1.25rem; font-weight: 600; }
.brand-title { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown-muted); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--brown-soft); font-weight: 600; font-size: 0.93rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--brown); text-decoration: none; }
.nav a.active { color: var(--brown); border-bottom-color: var(--sage); }
.nav .btn { padding: 0.65rem 1.2rem; border-bottom: 0; color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font: inherit;
  color: var(--brown);
  cursor: pointer;
}

/* ==== Sections ==== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper); }
.section-sage { background: var(--sage-pale); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.8rem; color: var(--sage-deep); }
.blocks { display: grid; gap: 1.5rem; }
.block { background: var(--paper); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.block h3 { margin-top: 0; }

/* ==== Cartes ==== */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid transparent;
  color: var(--brown);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--sage); text-decoration: none; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--brown-soft); }
.card .card-link { margin-top: auto; font-weight: 700; color: var(--sage-deep); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto;
  background: var(--sage-pale); color: var(--sage-deep);
  display: grid; place-items: center; font-family: var(--font-title); font-size: 1.4rem;
}

/* ==== Placeholders ==== */
.placeholder {
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(124,154,131,0.25), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(196,103,63,0.18), transparent 50%),
    var(--cream-deep);
  color: var(--brown-muted);
  border: 1px dashed var(--brown-muted);
  border-radius: var(--radius);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem;
}
.placeholder-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; }
.placeholder-photo.round { aspect-ratio: 1; border-radius: 50%; max-width: 320px; }
.placeholder-logo { height: 90px; width: 100%; border-radius: var(--radius-sm); }
.placeholder-thumb { aspect-ratio: 16 / 10; width: 100%; border-radius: var(--radius-sm); }
.placeholder-map { aspect-ratio: 16 / 9; width: 100%; }

/* ==== Héros ==== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 7rem) 0; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(124,154,131,0.28), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: -30% auto auto -10%;
  width: 40vw; height: 40vw; max-width: 480px; max-height: 480px;
  background: radial-gradient(circle, rgba(196,103,63,0.16), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero .container { position: relative; }
.hero-text p.lead { max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-photo { justify-self: center; width: 100%; display: flex; justify-content: center; }
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); }
.page-hero p.lead { max-width: 640px; }

/* ==== Listes ==== */
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.list-check li { position: relative; padding-left: 1.8rem; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: var(--sage-pale); border: 2px solid var(--sage);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; margin: 0; }
.tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.9rem; }

/* ==== Citation / texte chaleureux ==== */
.quote-block {
  background: var(--paper); border-left: 4px solid var(--terracotta);
  border-radius: var(--radius); padding: 2rem 2.2rem; box-shadow: var(--shadow); max-width: 760px;
}
.quote-block p { font-family: var(--font-title); font-size: 1.25rem; line-height: 1.5; }
.quote-block p:last-child { margin-bottom: 0; }
.quote-block strong { color: var(--terracotta-deep); font-weight: 600; }

/* ==== Tarifs ==== */
.table-tarifs { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-tarifs th, .table-tarifs td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.table-tarifs th { font-family: var(--font-title); font-weight: 500; font-size: 1.1rem; }
.table-tarifs td.price { font-family: var(--font-title); font-size: 1.3rem; text-align: right; white-space: nowrap; color: var(--sage-deep); }
.table-tarifs tr:last-child td, .table-tarifs tr:last-child th { border-bottom: 0; }

/* ==== Formulaire ==== */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper); color: var(--brown);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.note {
  background: var(--terracotta-pale); border: 1px dashed var(--terracotta);
  color: var(--terracotta-deep); border-radius: var(--radius-sm); padding: 0.8rem 1rem; font-size: 0.9rem;
}

/* ==== Bandeau CTA ==== */
.cta-band { background: var(--brown); color: var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: var(--cream); margin: 0; }
.cta-band p { margin: 0.3rem 0 0; color: rgba(247,241,232,0.75); }

/* ==== Infos pratiques ==== */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-strip .item { display: flex; gap: 1rem; align-items: flex-start; }
.info-strip .item strong { display: block; font-family: var(--font-title); font-size: 1.1rem; }

/* ==== Pied de page ==== */
.site-footer { background: var(--cream-deep); border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: 0.92rem; color: var(--brown-soft); }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.site-footer a { color: var(--brown-soft); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1rem; font-size: 0.82rem; color: var(--brown-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ==== Responsive ==== */
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 1.25rem 1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav a.active { border-bottom-color: var(--sage); }
  .nav .btn { margin-top: 0.8rem; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .info-strip, .form-row { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
}

/* Bouton rendez-vous actif dans l'en-tête */
.nav .btn.active { background: var(--terracotta-deep); box-shadow: 0 0 0 3px var(--terracotta-pale); }

/* En-tête : pas de retour à la ligne dans le menu */
.nav a { white-space: nowrap; }
.nav { gap: 1.3rem; }
.brand-title { max-width: 300px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .brand-title { display: none; }
  .nav { gap: 1rem; }
  .nav a { font-size: 0.88rem; }
}
.form .btn { justify-self: start; }
@media (max-width: 900px) {
  .brand-title { display: none; }
  .brand-name { font-size: 1.1rem; }
}
