/* ===================================================================
   Cabinet d'Ophtalmologie du Parc — style.css
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --ink: #15130f;
  --ink-soft: #201d17;
  --cream: #f7f4ef;
  --white: #ffffff;
  --text: #1c1a16;
  --muted: #6f6a60;
  --muted-light: rgba(247,244,239,0.62);
  --terracotta: #b5623a;
  --terracotta-dark: #8f4b2c;
  --terracotta-soft: rgba(181,98,58,0.14);
  --line: rgba(28,26,22,0.1);
  --line-dark: rgba(247,244,239,0.14);
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Inter', sans-serif;
  --radius-xl: 2.5rem;
  --radius-lg: 1.5rem;
  --radius-md: 0.9rem;
  --radius-pill: 100px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.9rem;
}
.eyebrow.on-dark { color: var(--terracotta); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 3rem; }
@media (max-width: 900px) { .wrap { padding: 0 1.4rem; } }
section { position: relative; }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--terracotta);
  color: #fff;
  padding: 0.95rem 1.7rem 0.95rem 0.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 6px 20px rgba(181,98,58,0.28);
}
.btn-pill .dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-pill .dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(181,98,58,0.38); background: var(--terracotta-dark); }

.btn-outline-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgba(28,26,22,0.25);
  color: var(--text);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-pill:hover { border-color: var(--terracotta); background: var(--terracotta-soft); }
.btn-outline-pill.on-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline-pill.on-dark:hover { border-color: var(--terracotta); background: rgba(181,98,58,0.16); }

/* ---------- Nav ---------- */
header.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 1.5rem 3rem;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
header.site-nav.scrolled {
  background: rgba(21,19,15,0.88);
  backdrop-filter: blur(14px);
  padding: 1rem 3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
@media (max-width: 900px) { header.site-nav, header.site-nav.scrolled { padding: 1.1rem 1.4rem; } }

.logo-mark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; justify-self: start; }
.logo-icon { width: 32px; height: 32px; object-fit: contain; filter: invert(1); flex-shrink: 0; }
.logo-text { line-height: 1.15; }
.logo-text .l1 { font-family: var(--font-serif); font-size: 1.02rem; letter-spacing: 0.04em; color: #fff; display: block; }
.logo-text .l2 { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: block; margin-top: 0.15rem; }

/* Footer full logo lockup */
.footer-logo-img { width: 150px; height: auto; filter: invert(1); }

.nav-center { display: flex; gap: 2.4rem; list-style: none; justify-self: center; }
.nav-center a {
  color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 0.83rem; letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.nav-center a:hover, .nav-center a.active { color: var(--terracotta); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; justify-self: end; }
.nav-socials { display: flex; gap: 0.7rem; }
.nav-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.nav-socials a:hover { border-color: var(--terracotta); background: rgba(181,98,58,0.18); }
.nav-socials svg { width: 15px; height: 15px; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 600; justify-self: end; }
.burger span { width: 22px; height: 1.5px; background: #fff; display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-center, .nav-right { display: none; }
  .burger { display: flex; }
  header.site-nav, header.site-nav.scrolled { grid-template-columns: 1fr auto; }
}
.mobile-menu {
  position: fixed; inset: 0; background: var(--ink); z-index: 590;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu a { color: #fff; text-decoration: none; font-family: var(--font-serif); font-size: 1.6rem; }
.mobile-menu .btn-pill, .mobile-menu .btn-outline-pill {
  font-family: var(--font-sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.mobile-menu .btn-pill { margin-top: 1rem; }
.mobile-menu .btn-outline-pill { margin-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,13,10,0.92) 0%, rgba(15,13,10,0.25) 45%, rgba(15,13,10,0.15) 100%);
}
.hero-scroll {
  position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%);
  z-index: 2; color: rgba(255,255,255,0.75);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,-50%);} 50%{ transform: translate(-50%,-38%);} }
.hero-banner {
  position: relative; z-index: 2; width: 100%;
  background: var(--terracotta);
  padding: 1.4rem 3rem;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #fff;
}
.hero-banner strong { font-weight: 600; }
.hero-banner em { font-style: italic; font-weight: 400; }
@media (max-width: 900px) { .hero-banner { padding: 1.2rem 1.4rem 3rem; font-size: 1.05rem; } }

/* ---------- Section title block ---------- */
.title-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  font-weight: 500;
}
.title-block h2 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.title-block.on-dark h2 { color: #fff; }

/* ---------- Rounded overlap card (Soins intro) ---------- */
.overlap-card {
  position: relative; z-index: 3;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: -3.5rem;
  padding: 5rem 3rem 4rem;
}
@media (max-width: 900px) { .overlap-card { padding: 3.5rem 1.4rem 3rem; border-radius: 1.6rem 1.6rem 0 0; margin-top: -1.8rem; } }

.soins-intro-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center;
}
@media (max-width: 900px) { .soins-intro-grid { grid-template-columns: 1fr; gap: 2rem; } }
.xray-stack { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0.8rem; }
.xray-stack img { border-radius: var(--radius-md); filter: grayscale(1) contrast(1.1); aspect-ratio: 1/1; object-fit: cover; }
.xray-stack .tall { grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 900px) {
  .xray-stack .tall { grid-column: 1 / -1; grid-row: auto; height: auto; aspect-ratio: 16/9; }
}
.soins-intro-text p { color: var(--muted); margin: 1.1rem 0 1.6rem; max-width: 46ch; }
.soins-intro-text .fine { font-size: 0.92rem; }
.soins-intro-text .fine strong { color: var(--text); }

/* ---------- Pathology grid ---------- */
.path-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
  padding: 3.5rem 0 2rem;
}
@media (max-width: 1100px) { .path-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
.path-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 3/4.2; text-decoration: none;
}
.path-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: transform 0.5s ease; }
.path-card:hover img { transform: scale(1.06); }
.path-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 55% 35%, var(--terracotta) 0%, transparent 55%);
  mix-blend-mode: color; opacity: 0.85; pointer-events: none;
}
.path-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.85) 0%, transparent 45%);
}
.path-label {
  position: absolute; left: 0.9rem; bottom: 0.85rem; right: 0.9rem; z-index: 2;
  color: #fff; font-size: 0.86rem; font-weight: 500; line-height: 1.25;
}
.section-divider { display: flex; justify-content: center; padding: 1.6rem 0 0; }
.divider-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); border: 1px solid var(--terracotta);
  display: flex; align-items: center; justify-content: center;
}
.divider-dot svg { width: 20px; height: 20px; }

/* ---------- Dark sections ---------- */
.dark-section { background: var(--ink); color: #fff; padding: 6rem 0; }
.dark-section .muted-on-dark { color: rgba(247,244,239,0.62); }

/* ---------- Doctors (dark) ---------- */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .docs-grid { grid-template-columns: 1fr; gap: 2.2rem; } }
.docs-copy p { color: var(--muted-light); margin: 1.2rem 0 1.8rem; max-width: 48ch; }
.docs-photos { display: flex; gap: 0.7rem; }
.doc-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; flex: 1; aspect-ratio: 3/4;
  display: block; text-decoration: none; cursor: pointer;
}
.doc-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1);
  transition: filter 0.7s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.doc-photo:hover img {
  filter: grayscale(0.35) sepia(0.3) hue-rotate(-8deg) saturate(1.7) contrast(1.08);
  transform: scale(1.07);
}
.doc-photo .name-tag {
  position: absolute; left: 0.9rem; bottom: 0.9rem; right: 0.9rem; color: #fff;
  font-family: var(--font-serif); font-size: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.8);
  transition: transform 0.4s ease;
  z-index: 2;
}
.doc-photo:hover .name-tag { transform: translateY(-4px); }
.doc-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 35%, transparent 62%);
}

/* ---------- Patient journey timeline ---------- */
.journey-wrap { text-align: center; padding-top: 1rem; }
.journey-wrap .title-block { max-width: 780px; margin: 0 auto 3.5rem; }
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: left;
}
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr; } }
.tl-step { border-top: 1px solid var(--line-dark); padding-top: 1.4rem; }
.tl-num { font-family: var(--font-serif); font-style: italic; color: var(--terracotta); font-size: 1.4rem; display: block; margin-bottom: 0.6rem; }
.tl-step h4 { font-size: 1.02rem; font-weight: 500; margin-bottom: 0.5rem; }
.tl-step p { color: var(--muted-light); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testi-section { padding: 6rem 0; background: var(--white); }
.testi-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; gap: 2rem; } }
.testi-copy p { color: var(--muted); margin: 1.1rem 0 1.8rem; max-width: 42ch; }
.testi-panel { min-width: 0; }
.testi-track { display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 0.6rem; scroll-snap-type: x mandatory; min-width: 0; }
.testi-track::-webkit-scrollbar { height: 6px; }
.testi-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.testi-card {
  min-width: 300px; scroll-snap-align: start;
  background: var(--cream); border-radius: var(--radius-md);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem;
}
.testi-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
}
.testi-arrow svg { width: 18px; height: 18px; }
.testi-arrow:hover:not(:disabled) { background: var(--terracotta); transform: translateY(-2px); }
.testi-arrow:disabled { opacity: 0.28; cursor: default; }
.stars { color: var(--terracotta); letter-spacing: 0.15em; font-size: 0.9rem; }
.testi-card p.quote { font-size: 0.95rem; color: var(--text); flex: 1; }
.testi-who { display: flex; align-items: center; gap: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.testi-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; flex-shrink: 0;
}
.testi-who .wname { font-size: 0.85rem; font-weight: 500; }
.testi-who .wtag { font-size: 0.72rem; color: var(--muted); }

/* ---------- Generic light section ---------- */
.section-pad { padding: 6rem 0; }
.section-pad.tight { padding: 4rem 0; }
.bg-cream { background: var(--cream); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #fff; padding-top: 3.5rem; }
.footer-top { display: flex; flex-direction: column; align-items: center; padding-bottom: 2.5rem; }
.footer-logo .logo-ring { border-color: rgba(255,255,255,0.4); }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 2.5rem; padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr; gap: 1.8rem; } }
.footer-cols h5 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.7rem; }
.footer-cols p, .footer-cols a { color: var(--muted-light); font-size: 0.88rem; line-height: 1.6; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem; padding-bottom: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.78rem; color: rgba(247,244,239,0.45);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Inner page hero (media, shorter than home hero) ---------- */
.page-hero {
  position: relative; min-height: 64vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.9); }
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,13,10,0.94) 0%, rgba(15,13,10,0.35) 55%, rgba(15,13,10,0.18) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding-top: 10rem; padding-bottom: 3.5rem; color: #fff; }
.page-hero-content .eyebrow { color: var(--terracotta); text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.page-hero-content h1 { font-family: var(--font-serif); font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 500; max-width: 18ch; text-shadow: 0 3px 14px rgba(0,0,0,0.55); }
.page-hero-content h1 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.page-hero-content p { color: var(--muted-light); margin-top: 1.1rem; max-width: 56ch; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
@media (max-width: 900px) { .page-hero-content { padding-top: 8rem; padding-bottom: 2.5rem; } }

/* ---------- Doctor full profile blocks ---------- */
.doc-profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: center; }
.doc-profile.reverse { grid-template-columns: 1.2fr 0.8fr; }
.doc-profile.reverse .doc-profile-media { order: 2; }
@media (max-width: 900px) {
  .doc-profile, .doc-profile.reverse { grid-template-columns: 1fr; gap: 1.8rem; }
  .doc-profile.reverse .doc-profile-media { order: 0; }
}
.doc-profile-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.doc-profile-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1);
  transition: filter 0.7s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.doc-profile-media:hover img {
  filter: grayscale(0.35) sepia(0.3) hue-rotate(-8deg) saturate(1.7) contrast(1.08);
  transform: scale(1.06);
}
.doc-profile-tag { color: var(--terracotta); font-size: 0.85rem; margin: 0.9rem 0 1.2rem; }
.doc-profile-text p { color: var(--muted); max-width: 52ch; margin-bottom: 1.4rem; }
.doc-expertise { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.doc-expertise li { padding-left: 1.6rem; position: relative; font-size: 0.92rem; color: var(--text); }
.doc-expertise li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }

/* ---------- Values grid ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { background: var(--cream); border-radius: var(--radius-md); padding: 1.8rem 1.6rem; }
.value-card .vnum { font-family: var(--font-serif); font-style: italic; color: var(--terracotta); font-size: 1.3rem; display: block; margin-bottom: 0.9rem; }
.value-card h4 { font-size: 1rem; font-weight: 500; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Pathology detail blocks (soins.html) ---------- */
.detail-block { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 3.5rem; align-items: center; padding: 3.6rem 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.detail-block:first-of-type { border-top: none; }
.detail-block.reverse { grid-template-columns: 1.25fr 0.75fr; }
.detail-block.reverse .detail-media { order: 2; }
@media (max-width: 900px) {
  .detail-block, .detail-block.reverse { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.6rem 0; }
  .detail-block.reverse .detail-media { order: 0; }
}
.detail-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.detail-text h3 { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; margin-bottom: 1.1rem; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
@media (max-width: 620px) { .detail-facts { grid-template-columns: 1fr; } }
.detail-facts h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 0.5rem; }
.detail-facts p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---------- Info cards (rendez-vous.html) ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .info-cards { grid-template-columns: 1fr; } }
.info-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.7rem; }
.info-card h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 0.7rem; }
.info-card p { font-size: 0.95rem; line-height: 1.6; }
.info-card a { text-decoration: none; color: var(--text); }

/* ---------- Contact grid (form + media) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

.rdv-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.rdv-form label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.rdv-form input, .rdv-form select, .rdv-form textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.6rem;
  border: 1px solid var(--line); font-family: var(--font-sans); font-size: 0.92rem;
  background: var(--white); color: var(--text);
}
.rdv-form input:focus, .rdv-form select:focus, .rdv-form textarea:focus { outline: none; border-color: var(--terracotta); }
.rdv-form textarea { resize: vertical; min-height: 120px; }
.rdv-form .btn-pill { align-self: flex-start; border: none; margin-top: 0.4rem; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; filter: grayscale(0.4) contrast(1.05); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 4.5rem 0; text-align: center; }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; margin-bottom: 1.6rem; }
.cta-band h2 em { font-style: italic; color: var(--terracotta); }

/* ---------- Demo badge ---------- */
.demo-badge {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 700;
  background: rgba(21,19,15,0.88); color: #fff;
  font-size: 0.7rem; letter-spacing: 0.02em;
  padding: 0.55rem 0.9rem; border-radius: var(--radius-pill);
  text-decoration: none; border: 1px solid rgba(255,255,255,0.15);
  opacity: 0.85; transition: opacity 0.2s, background 0.2s;
  backdrop-filter: blur(6px);
}
.demo-badge:hover { opacity: 1; background: var(--terracotta-dark); }
.demo-badge .db-short { display: none; }
@media (max-width: 900px) {
  .demo-badge {
    position: static;
    display: block;
    width: fit-content;
    margin: 1.4rem auto 1.6rem;
    font-size: 0.68rem; letter-spacing: 0.02em; white-space: nowrap;
    padding: 0.5rem 0.8rem;
  }
  .demo-badge .db-full { display: none; }
  .demo-badge .db-short { display: inline; }
}

/* ---------- Loader (liquide "O.") ---------- */
#loader {
  position: fixed; inset: 0; z-index: 999999;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.loader-out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-o-wrap { position: relative; width: 132px; height: 132px; }
.loader-o-empty, .loader-o-liquid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.loader-o-empty path, .loader-o-empty circle { fill: rgba(181,98,58,0.16); }
.loader-o-liquid path, .loader-o-liquid circle { fill: var(--terracotta); }
.loader-o-fill {
  position: absolute; inset: 0;
  clip-path: polygon(0% 100%, 0% 99%, 25% 95%, 50% 99%, 75% 95%, 100% 99%, 100% 100%);
  animation: loaderWave 2.2s cubic-bezier(.4,.9,.3,1) forwards;
}
@keyframes loaderWave {
  0%   { clip-path: polygon(0% 100%, 0% 99%, 25% 95%, 50% 99%, 75% 95%, 100% 99%, 100% 100%); }
  25%  { clip-path: polygon(0% 100%, 0% 70.5%, 25% 75.5%, 50% 70.5%, 75% 75.5%, 100% 70.5%, 100% 100%); }
  50%  { clip-path: polygon(0% 100%, 0% 51%, 25% 47%, 50% 51%, 75% 47%, 100% 51%, 100% 100%); }
  75%  { clip-path: polygon(0% 100%, 0% 22.5%, 25% 27.5%, 50% 22.5%, 75% 27.5%, 100% 22.5%, 100% 100%); }
  100% { clip-path: polygon(0% 100%, 0% 3%, 25% 5%, 50% 3%, 75% 5%, 100% 3%, 100% 100%); }
}
.loader-label {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted); opacity: 0; animation: loaderLabelIn 0.6s ease 0.3s forwards;
}
@keyframes loaderLabelIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader-o-fill { animation: none; clip-path: polygon(0% 100%, 0% 3%, 25% 5%, 50% 3%, 75% 5%, 100% 3%, 100% 100%); }
}
