:root {
  --bg: #23202b;
  --bg-deep: #18151f;
  --surface: #312d3a;
  --surface-soft: #3a3444;
  --text: #f7f2f8;
  --text-soft: #e6dce7;
  --muted: #d6c9d8;
  --primary: #9d4d88;
  --accent: #c674ae;
  --focus: #f0bfe2;
  --border: rgba(198, 116, 174, 0.3);
  --ring: rgba(198, 116, 174, 0.35);
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.24);
  --shadow-strong: 0 22px 45px rgba(0, 0, 0, 0.34);
  --radius-lg: 18px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 16% 12%, rgba(198, 116, 174, 0.16), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(157, 77, 136, 0.22), transparent 30%),
    linear-gradient(180deg, #2f2a38 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

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

main p,
main li {
  text-align: justify;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: #1c1421;
  z-index: 2000;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container {
  width: min(1320px, 94%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(250, 244, 251, 0.95), rgba(245, 236, 248, 0.9));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 77, 136, 0.28);
  box-shadow: 0 10px 22px rgba(42, 20, 37, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  width: 160px;
  display: flex;
  align-items: center;
}

.logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(118, 54, 102, 0.35));
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px 0;
  background: #6a3560;
  border-radius: 2px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 6px;
  gap: 6px;
  background: rgba(157, 77, 136, 0.09);
  border: 1px solid rgba(157, 77, 136, 0.24);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.site-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  color: #572e4f;
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  position: relative;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(124, 60, 110, 0.42);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.hero {
  padding: 92px 0 58px;
}

.hero-card {
  background: linear-gradient(155deg, #3b3345 0%, #2d2736 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 46px 42px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
  animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 0 0 12px;
  max-width: 860px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.4rem, 3.6vw, 3.2rem);
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-doctor {
  color: var(--accent);
}

.hero-small {
  font-size: 0.85em;
}

.hero p {
  color: var(--text-soft);
  font-size: 1.02rem;
  max-width: 880px;
}

.hero-intro {
  margin-right: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(198, 116, 174, 0.4);
  color: #fff;
  background: rgba(198, 116, 174, 0.15);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-badges span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-cabinet-photo {
  border-radius: 12px;
  border: 1px solid rgba(198, 116, 174, 0.45);
  background:
    linear-gradient(145deg, rgba(198, 116, 174, 0.2), rgba(198, 116, 174, 0.06)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 40%),
    #42384b;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #f8e9f5;
  font-weight: 700;
  text-align: center;
  padding: 0;
  margin-right: -6px;
  overflow: hidden;
}

.hero-cabinet-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.actions-card {
  margin-top: 18px;
  background: linear-gradient(155deg, #342d3f 0%, #2a2433 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.actions-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.carousel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(155deg, #342d3f 0%, #2a2433 100%);
  overflow: hidden;
  padding: 20px 44px;
}

.carousel:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.carousel-track {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  width: min(38%, 470px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  cursor: pointer;
  border: 1px solid rgba(198, 116, 174, 0.32);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.35s ease;
  pointer-events: none;
}

.carousel-slide.is-center {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 3;
  filter: brightness(1.02) saturate(1.05);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.36);
}

.carousel-slide.is-center::after {
  background: transparent;
}

.carousel-slide.is-left {
  opacity: 0.86;
  pointer-events: auto;
  transform: translateX(-82%) scale(0.68);
  z-index: 2;
  filter: brightness(0.72) saturate(0.7) blur(1.2px);
}

.carousel-slide.is-left::after {
  background: linear-gradient(90deg, rgba(58, 26, 63, 0.34), rgba(87, 34, 74, 0.22));
}

.carousel-slide.is-left:hover {
  filter: brightness(0.8) saturate(0.82) blur(0.6px);
}

.carousel-slide.is-right {
  opacity: 0.86;
  pointer-events: auto;
  transform: translateX(82%) scale(0.68);
  z-index: 2;
  filter: brightness(0.72) saturate(0.7) blur(1.2px);
}

.carousel-slide.is-right::after {
  background: linear-gradient(270deg, rgba(58, 26, 63, 0.34), rgba(87, 34, 74, 0.22));
}

.carousel-slide.is-right:hover {
  filter: brightness(0.8) saturate(0.82) blur(0.6px);
}

.carousel-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}

.carousel-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(30, 20, 33, 0.82);
  border: 1px solid rgba(217, 70, 239, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.section {
  padding: 26px 0 52px;
  position: relative;
}

section[id] {
  scroll-margin-top: 98px;
}

.section-title {
  position: relative;
  margin: 0 0 24px;
  padding-left: 16px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 5px;
  height: 1.2em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#apropos .container,
#temoignages .container,
#consultations .container,
#explorations .container,
#contact .container,
#legal .container {
  background: rgba(198, 116, 174, 0.05);
  border: 1px solid rgba(198, 116, 174, 0.2);
  border-radius: 20px;
  padding: 28px;
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

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

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.03rem;
}

.card p,
.card li {
  color: #e7dbe8;
}

.testimonial-card {
  position: relative;
  background: linear-gradient(180deg, rgba(70, 58, 82, 0.82) 0%, rgba(45, 36, 56, 0.86) 100%);
  border: 1px solid rgba(198, 116, 174, 0.34);
  border-radius: 12px;
  padding: 24px 20px 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  text-align: center;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: -12px;
  left: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.testimonial-card::after {
  content: "\201D";
  position: absolute;
  right: 8px;
  bottom: -34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.testimonial-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.testimonial-head strong {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.testimonial-head span {
  color: #ffd778;
  font-size: 0.8rem;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 120, 0.28);
  background: rgba(255, 215, 120, 0.08);
}

.testimonial-card p {
  margin: 0;
  color: #f0e6f1;
  line-height: 1.72;
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

.testimonials-carousel {
  position: relative;
  border: 1px solid rgba(198, 116, 174, 0.32);
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 0%, rgba(198, 116, 174, 0.18), transparent 38%),
    linear-gradient(155deg, #342d3f 0%, #2a2433 100%);
  padding: 18px;
}

.testimonials-track {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  width: min(34%, 410px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  cursor: pointer;
}

.testimonial-slide.is-center {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 3;
  filter: brightness(1.02);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.testimonial-slide.is-left {
  opacity: 0.78;
  pointer-events: auto;
  transform: translateX(-84%) scale(0.74);
  z-index: 2;
  filter: brightness(0.75) saturate(0.75) blur(1px);
}

.testimonial-slide.is-right {
  opacity: 0.78;
  pointer-events: auto;
  transform: translateX(84%) scale(0.74);
  z-index: 2;
  filter: brightness(0.75) saturate(0.75) blur(1px);
}

.testimonial-slide.is-hidden {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  z-index: 1;
}

.testimonial-slide.is-left .testimonial-card,
.testimonial-slide.is-right .testimonial-card {
  border-color: rgba(198, 116, 174, 0.18);
}

.testimonials-cta-wrap {
  display: flex;
  justify-content: flex-end;
}

.testimonials-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 8px;
  font-size: 0.7rem;
}

.testimonials-cta svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
}

.info-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e7dbe8;
  position: absolute;
  left: 6px;
  top: 18px;
}

.info-list li:last-child {
  border-bottom: none;
}

.about-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 26px;
  align-items: stretch;
}

.about-photo {
  min-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(198, 116, 174, 0.26);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  color: #f1f1f1;
  background:
    linear-gradient(145deg, rgba(198, 116, 174, 0.2), rgba(198, 116, 174, 0.06)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.2), transparent 33%),
    #413848;
  text-align: center;
  padding: 20px;
  font-weight: 700;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 10px;
}

.contact-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-embed-wrap {
  margin-top: 16px;
  border: 1px solid rgba(198, 116, 174, 0.34);
  border-radius: 12px;
  overflow: hidden;
  background: #2d2736;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.map-embed {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.06);
}

.map-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(198, 116, 174, 0.16);
  border-top: 1px solid rgba(198, 116, 174, 0.28);
}

.map-link:hover {
  background: rgba(198, 116, 174, 0.28);
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #ffffff;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(198, 116, 174, 0.38);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: #ffffff;
  background: rgba(198, 116, 174, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #e7dbe8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
  background: rgba(198, 116, 174, 0.14);
}

textarea {
  min-height: 145px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(84, 35, 72, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.06);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-whatsapp {
  background: transparent;
  border: 2px solid #25d366;
  color: #baf7d0;
  box-shadow: none;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.14);
  filter: none;
}

.contact-disclaimer {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #d8cbda;
}

.form-feedback {
  margin-top: 12px;
  font-weight: 700;
}

.form-feedback.error {
  color: #ffd4d4;
}

.form-feedback.success {
  color: #d9ffea;
}

.legal-wrap details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(198, 116, 174, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.legal-wrap summary {
  cursor: pointer;
  font-weight: 700;
}

.site-footer {
  margin-top: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(198, 116, 174, 0.2), transparent 36%),
    radial-gradient(circle at 90% 0%, rgba(124, 60, 110, 0.26), transparent 32%),
    #1a1620;
  color: #eeeeee;
  padding: 34px 0 28px;
  border-top: 1px solid rgba(198, 116, 174, 0.38);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 22px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.footer-inner > div {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(198, 116, 174, 0.26);
  border-radius: 12px;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(198, 116, 174, 0.6);
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(124, 60, 110, 0.4);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  gap: 8px;
  margin-top: 10px;
  justify-items: center;
}

.footer-links a {
  display: inline-block;
  color: #f3ebf4;
  opacity: 0.92;
}

.footer-links a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-note {
  margin: 12px 0 0;
  text-align: center;
  color: #ccb8ce;
  font-size: 0.84rem;
}

.footer-center {
  transform: translateY(-6px);
}

.footer-center-notes {
  margin-top: 14px;
  border-top: 1px solid rgba(198, 116, 174, 0.22);
  padding-top: 10px;
}

.footer-center-notes .footer-note {
  margin-top: 6px;
  font-size: 0.8rem;
}

.scroll-top-fab {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 116, 174, 0.65);
  background: rgba(41, 21, 45, 0.9);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  z-index: -1;
}

.scroll-top-fab svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  will-change: opacity, transform;
  filter: blur(2px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .header-inner {
    gap: 10px;
  }

  .site-nav a {
    padding: 9px 12px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 920px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-photo {
    min-height: 280px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-cabinet-photo {
    min-height: 190px;
  }

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

  #apropos .container,
  #temoignages .container,
  #consultations .container,
  #explorations .container,
  #contact .container,
  #legal .container {
    padding: 20px;
    border-radius: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-center {
    transform: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 72px;
  }

  .logo {
    width: 122px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: #f6eef8;
    border: 1px solid rgba(157, 77, 136, 0.24);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    display: none;
    box-shadow: 0 16px 22px rgba(42, 20, 37, 0.16);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 8px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    display: block;
    width: 100%;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-card {
    padding: 30px 20px;
    border-radius: 16px;
  }

  .hero-badges span,
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .testimonials-track {
    min-height: 230px;
  }

  .testimonial-slide {
    width: 76%;
  }

  .testimonial-slide.is-left {
    transform: translateX(-58%) scale(0.76);
  }

  .testimonial-slide.is-right {
    transform: translateX(58%) scale(0.76);
  }

  .carousel-track,
  .carousel-slide img {
    min-height: 250px;
  }

  .carousel-caption {
    font-size: 0.84rem;
  }

  .carousel-track {
    min-height: 290px;
  }

  .carousel-slide {
    width: 72%;
  }

  .carousel-slide.is-left {
    transform: translateX(-56%) scale(0.7);
  }

  .carousel-slide.is-right {
    transform: translateX(56%) scale(0.7);
  }

  .carousel {
    padding: 16px 22px;
  }

  .hero-intro {
    margin-right: 0;
  }

  .section {
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .card,
  .btn,
  .site-nav a {
    transition: none;
  }

  .hero-card {
    animation: none;
  }
}
