/* ==========================================================
   Cabinet de kinésiologie Adeline Paladino
   Palette : vert profond + rose papillon, fond blanc chaud
   Rayons : boutons pilule, cartes 16px, champs 10px
   ========================================================== */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #26332b;
  --muted: #5c6b60;
  --green: #3e6b4f;
  --green-dark: #2c5039;
  --green-soft: #e9f0ea;
  --rose: #c98a97;
  --rose-soft: #f7edef;
  --line: #e4e2db;
  --radius-card: 16px;
  --radius-input: 10px;
  --shadow-soft: 0 12px 32px rgba(62, 107, 79, 0.10);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { color: var(--muted); }

a { color: var(--green); }

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.25em;
}

.pictail .icon { width: 1.7rem; height: 1.7rem; }

.infos-list .ico .icon, .socials .icon { width: 1.15rem; height: 1.15rem; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { height: 42px; width: auto; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.2;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--green); }

.main-nav a.active { color: var(--green); font-weight: 700; }

.main-nav .btn { margin-left: 4px; }

.main-nav a.btn-primary { color: #fff; }

.main-nav a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(62, 107, 79, 0.28);
}

.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-ghost:hover { background: var(--green-soft); }

/* ---------- Hero ---------- */

.hero { padding: 64px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 18px; }

.hero h1 em {
  font-style: italic;
  color: var(--green);
  line-height: 1.15;
  padding-bottom: 4px;
}

.hero p.lead {
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media { position: relative; }

.hero-media img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--rose);
  border-radius: var(--radius-card);
  z-index: -1;
  opacity: 0.55;
}

/* ---------- About ---------- */

.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-text h2 { margin-bottom: 18px; }

.about-text p { margin-bottom: 14px; }

.signature {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  margin-top: 8px;
}

/* ---------- Services ---------- */

.services h2 { text-align: left; margin-bottom: 12px; }

.services .intro { max-width: 40rem; margin-bottom: 44px; }

.services-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 34px;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

a.service-card { text-decoration: none; color: inherit; }

a.service-card h3 { color: var(--ink); }

a.service-card.with-photo h3 { color: #fff; }

.service-card.tall {
  grid-row: 1 / 3;
  background: linear-gradient(160deg, var(--green-soft) 0%, var(--surface) 70%);
  min-height: 420px;
  background-size: cover;
}

.service-card.tall.with-photo {
  background: linear-gradient(to top, rgba(38, 51, 43, 0.82) 18%, rgba(38, 51, 43, 0.05) 60%), url("../assets/cabinet-2.jpg") center / cover no-repeat;
}

.service-card.tall.with-photo h3,
.service-card.tall.with-photo p { color: #fff; }

.service-card .pictail {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--green);
}

.service-card h3 { margin-bottom: 8px; }

.service-card p { font-size: 0.97rem; }

.services-more { margin-top: 36px; }

/* ---------- Definition band ---------- */

.definition {
  background: linear-gradient(150deg, var(--green-dark), var(--green));
  color: #fff;
}

.definition h2 { color: #fff; margin-bottom: 20px; }

.definition p { color: rgba(255, 255, 255, 0.88); max-width: 46rem; margin-bottom: 14px; }

.definition-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

.definition-box {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  padding: 26px 28px;
}

.definition-box h3 { color: #fff; margin-bottom: 10px; font-size: 1.05rem; }

.definition-box p { font-size: 0.96rem; margin: 0; }

/* ---------- Steps (déroulement) ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 { font-size: 1.02rem; margin-bottom: 8px; }

.step p { font-size: 0.92rem; }

/* ---------- Tarifs ---------- */

.tarifs { background: var(--rose-soft); }

.tarifs h2 { margin-bottom: 10px; }

.tarifs .intro { margin-bottom: 40px; max-width: 38rem; }

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tarif-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tarif-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.tarif-card h3 { font-size: 1.05rem; margin-bottom: 4px; }

.tarif-card .duree { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }

.tarif-card .prix {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
}

.tarifs-note { margin-top: 28px; font-size: 0.92rem; }

/* ---------- Infos pratiques ---------- */

.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.infos-photo img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.infos-list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }

.infos-list li { display: flex; gap: 14px; align-items: flex-start; }

.infos-list .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.infos-list strong { display: block; font-family: var(--font-display); font-weight: 600; }

.infos-list span, .infos-list a.plain { color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 { margin-bottom: 14px; }

.cta-band p { max-width: 34rem; margin: 0 auto 30px; }

.cta-band .hero-ctas { justify-content: center; }

/* ---------- Page hero (sous-pages) ---------- */

.page-hero {
  padding: 72px 0 56px;
  background: linear-gradient(150deg, var(--green-soft), var(--bg) 65%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: 12px; }

.page-hero p { max-width: 42rem; font-size: 1.05rem; }

/* ---------- Services détaillés ---------- */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-detail h2 { font-size: 1.6rem; margin-bottom: 14px; }

.service-detail .tag {
  display: inline-block;
  background: var(--rose-soft);
  color: var(--rose);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.service-detail ul { margin: 14px 0 0 18px; color: var(--muted); }

.service-detail li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */

.faq { background: var(--surface); border-top: 1px solid var(--line); }

.faq h2 { margin-bottom: 36px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 4px;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); transition: transform 0.25s; }

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { margin-top: 12px; max-width: 48rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 34px;
}

.contact-card h2 { font-size: 1.4rem; margin-bottom: 22px; }

form .field { margin-bottom: 18px; }

form label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink);
}

form input, form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 107, 79, 0.15);
}

form textarea { min-height: 140px; resize: vertical; }

.map-embed {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 32px;
}

.map-embed iframe { display: block; width: 100%; height: 320px; border: none; }

/* ---------- Réservation ---------- */

.resa-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.resa-card .big-tel {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  margin: 18px 0 8px;
}

.resa-card .horaires { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 28px;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}

.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }

.site-footer a:hover { color: #fff; }

.site-footer ul { list-style: none; display: grid; gap: 8px; }

.footer-brand img { height: 46px; margin-bottom: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.socials { display: flex; gap: 12px; margin-top: 16px; }

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s;
}

.socials a:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Skip link (accessibilité) ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus { left: 0; }

/* ---------- Animations d'entrée du hero ---------- */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero .hero-eyebrow { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero h1 { animation: fadeUp 0.7s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero p.lead { animation: fadeUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero .hero-ctas { animation: fadeUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-media { animation: fadeUp 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .page-hero h1 { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .page-hero p { animation: fadeUp 0.6s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both; }
}

/* Papillon flottant décoratif */

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.hero-media img.hero-butterfly {
  position: absolute;
  top: -34px;
  right: -20px;
  width: 84px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(201, 138, 151, 0.35));
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img.hero-butterfly { animation: floaty 5s ease-in-out infinite; }
}

/* ---------- Bandeau de repères ---------- */

.trust-strip {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 0;
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.trust-item .icon { color: var(--green); width: 1.4rem; height: 1.4rem; }

/* ---------- Calendrier des disponibilités ---------- */

.calendar-section { padding-top: 0; }

.calendar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.calendar-card iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: none;
}

@media (max-width: 767px) {
  .calendar-card iframe { height: 480px; }
}

.calendar-placeholder {
  text-align: center;
  padding: 56px 28px;
}

.calendar-placeholder .icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--rose);
  margin-bottom: 14px;
}

.calendar-placeholder h3 { margin-bottom: 8px; }

.calendar-placeholder p { max-width: 34rem; margin: 0 auto; }

.calendar-section .intro { margin-bottom: 28px; max-width: 40rem; }

.calendar-note {
  margin-top: 18px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Icônes réseaux dans l'en-tête ---------- */

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.nav-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-socials a:hover { transform: translateY(-2px); }

.nav-socials a:nth-child(1):hover { color: #166fe5; background: rgba(22, 111, 229, 0.1); }

.nav-socials a:nth-child(2):hover { color: #c62368; background: rgba(198, 35, 104, 0.1); }

.nav-socials .icon { width: 1.25rem; height: 1.25rem; }

/* ---------- Pages légales ---------- */

.legal .wrap { max-width: 820px; }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px;
  background: var(--green-soft);
  border-radius: var(--radius-card);
  margin-bottom: 48px;
}

.legal-toc a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-dark);
  transition: background 0.2s, transform 0.2s;
}

.legal-toc a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.legal-block { margin-bottom: 52px; scroll-margin-top: 96px; }

.legal-block:last-child { margin-bottom: 0; }

.legal-block h2 { font-size: 1.5rem; }

.legal-block h3 {
  font-size: 1.05rem;
  margin: 28px 0 8px;
  color: var(--green-dark);
}

.legal-block p { margin-bottom: 12px; }

.legal-list {
  list-style: none;
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.legal-list li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.legal-list strong { color: var(--ink); }

/* ---------- Barre de progression de lecture ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--green), var(--rose));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 70;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* ---------- Titres de section avec trait animé ---------- */

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--rose));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-title.visible::after,
.reveal.visible .section-title::after { transform: scaleX(1); }

.definition .section-title::after { background: linear-gradient(90deg, #fff, var(--rose)); }

@media (prefers-reduced-motion: reduce) {
  .section-title::after { transform: scaleX(1); transition: none; }
}

/* ---------- Avis Google ---------- */

.reviews { background: var(--surface); border-top: 1px solid var(--line); }

.reviews-head { text-align: center; margin-bottom: 36px; }

.reviews-head p { max-width: 34rem; margin: 0 auto; }

.reviews-widget { min-height: 220px; }

/* Le widget Elfsight affiche son propre titre ("Témoignage"), qui ferait
   doublon avec le titre de section ci-dessus. On le masque ici ; il peut
   aussi être désactivé depuis le tableau de bord Elfsight. Si Elfsight
   change ses noms de classes, le titre réapparaît simplement. */
.reviews-widget [class*="WidgetTitle__Header"] { display: none; }

.reviews-fallback {
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 36px 24px;
}

.reviews-fallback[hidden] { display: none; }

.reviews-note { margin-bottom: 18px; }

/* ---------- Galerie du cabinet ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: none;
  padding: 0;
  cursor: zoom-in;
  background: var(--green-soft);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }

.gallery-item:nth-child(4) { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 51, 43, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(23, 32, 26, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-card);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Bouton retour en haut ---------- */

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 10px 24px rgba(62, 107, 79, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.totop.show { opacity: 1; transform: none; pointer-events: auto; }

.totop:hover { background: var(--green-dark); }

/* ---------- Barre d'appel mobile ---------- */

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

.mobile-cta-bar .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 0.9rem; }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }

  body { padding-bottom: 68px; }

  .totop { bottom: 84px; }

  .hero-media img.hero-butterfly { width: 60px; top: -24px; right: 0; }
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .service-card, .tarif-card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  section { padding: 64px 0; }

  .hero-grid, .about-grid, .infos-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .hero-media { order: -1; max-width: 420px; }

  .services-grid { grid-template-columns: 1fr; }

  .service-card.tall { grid-row: auto; min-height: 320px; }

  .steps-grid, .tarifs-grid { grid-template-columns: 1fr 1fr; }

  .definition-cols { grid-template-columns: 1fr; }

  .service-detail { grid-template-columns: 1fr; gap: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .trust-strip .wrap { grid-template-columns: 1fr; gap: 12px; }

  .trust-item { justify-content: flex-start; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }

  .gallery-item:nth-child(1) { grid-column: span 2; }

  .gallery-item:nth-child(4) { grid-column: span 2; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 26px;
    gap: 18px;
    align-items: flex-start;
  }

  .main-nav.open { display: flex; }

  .nav-toggle { display: block; }

  /* Les icônes réseaux restent côte à côte dans le menu déroulant */
  .nav-socials { margin: 8px 0 0; gap: 12px; }

  .nav-socials a { width: 42px; height: 42px; border: 1px solid var(--line); }
}

/* ---------- Affinage mobile ---------- */

@media (max-width: 640px) {
  body { font-size: 16px; }

  .wrap { padding: 0 18px; }

  section { padding: 48px 0; }

  h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); }

  h2 { font-size: clamp(1.4rem, 6vw, 1.75rem); }

  /* En-tête plus compact pour laisser voir le contenu */
  .site-header .wrap { height: 62px; }

  .brand img { height: 34px; }

  .brand-name { font-size: 0.92rem; }

  .brand-name small { font-size: 0.68rem; }

  .main-nav { top: 62px; padding: 16px 18px 22px; gap: 4px; }

  /* Zones tactiles confortables dans le menu */
  .main-nav a { padding: 12px 0; width: 100%; font-size: 1.02rem; }

  .nav-socials a { padding: 0; width: 42px; }

  .main-nav a.btn { width: 100%; justify-content: center; margin-top: 10px; padding: 14px 20px; }

  /* Hero : photo moins haute, texte visible tout de suite */
  .hero { padding: 26px 0 44px; }

  .page-hero { padding: 40px 0 34px; }

  .page-hero p { font-size: 1rem; }

  .hero-grid { gap: 24px; }

  .hero-media { max-width: 100%; }

  .hero-media img { aspect-ratio: 4 / 3; }

  .hero-media::after { inset: 12px -12px -12px 12px; }

  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; padding: 5px 12px; margin-bottom: 14px; }

  .hero p.lead { font-size: 1rem; margin-bottom: 24px; }

  /* Boutons pleine largeur, plus faciles à toucher */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }

  .hero-ctas .btn { justify-content: center; padding: 14px 24px; }

  .cta-band .hero-ctas { align-items: stretch; }

  /* Repères en ligne compacte */
  .trust-strip { padding: 18px 0; }

  .trust-item { font-size: 0.9rem; gap: 10px; }

  /* Grilles : deux colonnes plutôt qu'une seule colonne interminable */
  .tarifs-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .tarif-card { padding: 20px 12px; }

  .tarif-card h3 { font-size: 0.95rem; }

  .tarif-card .duree { font-size: 0.8rem; margin-bottom: 10px; }

  .tarif-card .prix { font-size: 1.7rem; }

  .steps-grid { grid-template-columns: 1fr; gap: 12px; }

  .step { padding: 20px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; }

  .step-num { font-size: 1.6rem; margin-bottom: 0; grid-row: span 2; }

  .step h3 { margin-bottom: 4px; }

  .service-card { padding: 24px 22px; }

  .service-card.tall { min-height: 260px; }

  .definition-box { padding: 22px 20px; }

  .gallery-grid { grid-auto-rows: 128px; gap: 10px; }

  .about-photo img { aspect-ratio: 4 / 3; }

  .infos-list .ico { width: 38px; height: 38px; }

  /* Formulaires : champs assez hauts, pas de zoom iOS (16px mini) */
  .contact-card { padding: 24px 20px; }

  form input, form textarea { font-size: 16px; padding: 13px 14px; }

  form .field { margin-bottom: 16px; }

  form button.btn { width: 100%; justify-content: center; }

  /* Réservation */
  .resa-card { padding: 30px 22px; }

  .resa-card .big-tel { font-size: 1.8rem; }

  .map-embed iframe { height: 240px; }

  /* Légal */
  .legal-toc { padding: 16px; gap: 8px; }

  .legal-toc a { font-size: 0.84rem; padding: 7px 13px; }

  .legal-block { margin-bottom: 40px; }

  /* Pied de page */
  .site-footer { padding: 44px 0 24px; }

  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Le bouton "haut de page" ne doit pas gêner la barre d'appel */
  .totop { width: 42px; height: 42px; right: 16px; bottom: 78px; }
}

@media (max-width: 340px) {
  .tarifs-grid { grid-template-columns: 1fr; }

  .mobile-cta-bar .btn { font-size: 0.85rem; padding: 12px 8px; }
}
