/* Site vitrine statique pour cabinet de chiropraxie */
:root {
  --ink: #18302b;
  --ink-soft: #49625c;
  --brand: #174c42;
  --brand-dark: #0e342d;
  --accent: #a9632f;
  --accent-dark: #8a4c20;
  --cream: #f6f3ec;
  --paper: #ffffff;
  --line: #dfe7e3;
  --success: #1f6d59;
  --shadow: 0 18px 50px rgba(23, 76, 66, .10);
  --radius: 22px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(201,121,61,.5); outline-offset: 3px; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 32px), 820px); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); background: var(--brand); color: #fff; padding: 10px 14px; z-index: 9999; border-radius: 10px; }
.skip-link:focus { transform: none; }

.topbar { background: var(--brand-dark); color: #fff; font-size: .9rem; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(223,231,227,.9); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand), #2a7667); box-shadow: 0 10px 24px rgba(23,76,66,.24); font-weight: 800; letter-spacing: -.04em; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1rem; }
.brand-text span { display: block; color: var(--ink-soft); font-size: .78rem; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 650; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px; width: 46px; height: 46px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s ease; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; line-height: 1.1; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 12px 28px rgba(201,121,61,.25); }
.btn-primary:hover { color: #fff; background: var(--accent-dark); }
.btn-secondary { color: #fff; background: var(--brand); box-shadow: 0 12px 28px rgba(23,76,66,.2); }
.btn-secondary:hover { color: #fff; background: var(--brand-dark); }
.btn-ghost { color: var(--brand); background: #fff; border-color: var(--line); }
.btn-ghost:hover { background: var(--cream); }
.btn-small { min-height: 42px; padding: 10px 16px; font-size: .9rem; }
.arrow::after { content: "→"; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 88% 15%, rgba(201,121,61,.22), transparent 30%), linear-gradient(145deg, var(--cream), #eef5f2); padding: 92px 0 78px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(23,76,66,.1); }
.hero::before { width: 460px; height: 460px; right: -220px; bottom: -230px; }
.hero::after { width: 260px; height: 260px; right: 80px; bottom: -180px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); background: rgba(255,255,255,.82); border: 1px solid rgba(23,76,66,.12); padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.55rem, 6vw, 5.1rem); max-width: 900px; margin: 22px 0 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 10px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 750px; }
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-card { position: relative; z-index: 1; padding: 28px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); border-radius: 30px; box-shadow: var(--shadow); }
.hero-visual { min-height: 240px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg, var(--brand), #2f786a); color: #fff; overflow: hidden; position: relative; }
.hero-visual svg { width: 70%; max-width: 260px; opacity: .94; }
.hero-visual::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.hero-card ul { list-style: none; padding: 0; margin: 20px 0 0; }
.hero-card li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before { content: "✓"; color: var(--success); font-weight: 900; }

.section { padding: 88px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--brand-dark); color: #fff; }
.section-dark p, .section-dark .muted { color: rgba(255,255,255,.78); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 34px; }
.section-head > div { max-width: 760px; }
.kicker { display: block; color: var(--accent-dark); font-size: .83rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section-dark .kicker { color: #f0ae79; }
.muted { color: var(--ink-soft); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { height: 100%; padding: 27px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(23,76,66,.055); }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; margin-bottom: 18px; background: #e7f0ed; color: var(--brand); font-size: 1.35rem; font-weight: 850; }
.link-card { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.link-card:hover { color: inherit; transform: translateY(-5px); box-shadow: var(--shadow); }
.link-card .read-more { color: var(--brand); font-weight: 800; }
.article-meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { position: relative; padding: 8px 0 8px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 900; }

.page-hero { padding: 76px 0 54px; background: linear-gradient(145deg, var(--cream), #eef5f2); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); max-width: 900px; }
.breadcrumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 24px; }
.breadcrumbs a { color: inherit; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 52px; align-items: start; }
.article-content h2 { margin-top: 48px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-content h3 { margin-top: 34px; }
.article-content p, .article-content li { max-width: 780px; }
.article-content blockquote { margin: 32px 0; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--cream); border-radius: 0 18px 18px 0; }
.sidebar { position: sticky; top: 112px; }
.sidebar .card + .card { margin-top: 18px; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li + li { border-top: 1px solid var(--line); }
.sidebar-nav a { display: block; padding: 10px 0; text-decoration: none; font-weight: 650; }
.notice { padding: 18px 20px; border: 1px solid #f0d7c4; background: #fff8f1; border-radius: 16px; }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step { position: relative; padding: 25px 25px 25px 82px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 24px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 850; }

.faq-list { display: grid; gap: 13px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 20px 22px; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.faq-question::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-size: 1.3rem; }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--ink-soft); }
.faq-answer.is-open { display: block; }

.cta-band { padding: 40px; border-radius: 30px; background: linear-gradient(135deg, var(--brand), #286e60); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); }
.cta-band .btn { flex: 0 0 auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--cream); font-size: .92rem; }
tr:last-child td { border-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.map-placeholder { min-height: 340px; display: grid; place-items: center; text-align: center; padding: 30px; border-radius: var(--radius); background: linear-gradient(145deg, #e6efec, #f7f4ed); border: 1px dashed #9bb2ab; }

.site-footer { background: #0b2924; color: #fff; padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 35px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2, .site-footer h3 { font-size: 1.05rem; letter-spacing: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 9px 0; }
.footer-note { color: rgba(255,255,255,.62); font-size: .86rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 42px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.62); font-size: .84rem; }
.mobile-book { display: none; }

@media (max-width: 1020px) {
  .nav { position: fixed; inset: 121px 16px auto 16px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 12px; border-radius: 10px; }
  .nav a:hover { background: var(--cream); }
  .menu-toggle { display: block; }
  .header-inner > .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 650px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .hide-mobile { display: none; }
  .header-inner { min-height: 72px; }
  .brand-text span { display: none; }
  .nav { inset-block-start: 111px; }
  .hero { padding: 64px 0 54px; }
  .section, .page-hero { padding: 62px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .grid-2, .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; align-items: stretch; flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-book { position: fixed; z-index: 1200; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 850; box-shadow: 0 12px 35px rgba(0,0,0,.22); }
  .mobile-book:hover { color: #fff; background: var(--accent-dark); }
}

@media print {
  .topbar, .site-header, .mobile-book, .cta-band, .hero-actions, .section-actions, .site-footer { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .section, .page-hero { padding: 20px 0; }
  .card { box-shadow: none; }
}
