/* ============================================================
   CABINET DENTAIRE LUMIÈRE — Stylesheet
   Sections :
   1.  Tokens / variables
   2.  Base & reset
   3.  Layout helpers
   4.  Buttons & shared UI
   5.  Navbar
   6.  Hero
   7.  Sections génériques
   8.  Soins
   9.  Cabinet moderne
   10. Parcours (1ère consultation)
   11. Technologies / Confort
   12. Avis
   13. FAQ
   14. Contact
   15. Footer
   16. Animations & scroll reveal
   17. Responsive
============================================================ */


/* ----- 1. Tokens ----- */
:root {
  --c-white: #ffffff;
  --c-bg: #ffffff;

  --c-blue-50: #f3f8fc;
  --c-blue-100: #e6f0f8;
  --c-blue-200: #cfe1f0;
  --c-blue-600: #3b7bb0;

  --c-mint-50: #effaf3;
  --c-mint-100: #dcf2e5;
  --c-mint-200: #bce4cd;
  --c-mint-500: #6fc391;

  --c-anthracite: #1d2734;
  --c-anthracite-2: #2a3441;
  --c-gray: #5a6573;
  --c-gray-soft: #8b95a3;
  --c-line: #ecf0f4;

  --c-coral: #ff8a72;
  --c-coral-soft: #ffe3dc;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 999px;

  --shadow-xs: 0 2px 6px rgba(29, 39, 52, 0.04);
  --shadow-sm: 0 4px 14px rgba(29, 39, 52, 0.05);
  --shadow-md: 0 10px 30px rgba(29, 39, 52, 0.07);
  --shadow-lg: 0 24px 60px rgba(29, 39, 52, 0.09);
  --shadow-xl: 0 40px 90px rgba(29, 39, 52, 0.12);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-fast: 0.25s ease;
  --t-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1240px;
  --container-narrow: 1080px;
}


/* ----- 2. Base & reset ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-anthracite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-anthracite);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--c-gray); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; }

::selection { background: var(--c-mint-200); color: var(--c-anthracite); }


/* ----- 3. Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 120px 0; position: relative; }


/* ----- 4. Buttons & UI ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base), color var(--t-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--c-anthracite);
  color: var(--c-white);
  box-shadow: 0 8px 22px rgba(29, 39, 52, 0.18);
}
.btn-primary:hover {
  background: var(--c-anthracite-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(29, 39, 52, 0.24);
}

.btn-ghost {
  background: transparent;
  color: var(--c-anthracite);
  border: 1.5px solid var(--c-line);
}
.btn-ghost:hover {
  background: var(--c-blue-50);
  border-color: var(--c-blue-200);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }


.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-blue-50);
  color: var(--c-blue-600);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.eyebrow-center { display: inline-flex; }
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-mint-500);
  box-shadow: 0 0 0 4px var(--c-mint-100);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--c-mint-100); }
  50% { box-shadow: 0 0 0 7px rgba(111, 195, 145, 0.15); }
}


/* ----- 5. Navbar ----- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--c-line);
  box-shadow: 0 6px 20px rgba(29, 39, 52, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-anthracite);
  letter-spacing: -0.01em;
}
.logo-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue-100), var(--c-mint-100));
  color: var(--c-anthracite);
}
.logo-text { font-family: var(--font-display); font-weight: 600; }
.logo-dot { color: var(--c-coral); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--c-gray);
  position: relative;
  padding: 6px 2px;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base);
}
.nav-links a:hover { color: var(--c-anthracite); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--c-blue-50);
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--c-anthracite);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-fast), top var(--t-base);
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 20px; }
.nav-burger span:nth-child(3) { top: 26px; }
.nav-burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 24px 28px 32px;
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
}
.nav-mobile a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-anthracite);
  padding: 6px 0;
}
.nav-mobile.open { display: flex; animation: slideDown 0.35s ease both; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ----- 6. Hero ----- */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.organic-shapes {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  transition: transform 0.1s linear;
}
.blob-1 {
  width: 480px; height: 480px;
  background: var(--c-blue-100);
  top: -120px; left: -120px;
}
.blob-2 {
  width: 380px; height: 380px;
  background: var(--c-mint-100);
  top: 30%; right: -100px;
}
.blob-3 {
  width: 260px; height: 260px;
  background: var(--c-coral-soft);
  bottom: -60px; left: 30%;
  opacity: 0.35;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.title-accent {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--c-anthracite);
}
.title-underline {
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  width: 100%;
  height: 14px;
  color: var(--c-coral);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--c-gray);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 38px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}
.hero-trust li {
  display: flex;
  flex-direction: column;
}
.hero-trust strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-anthracite);
  letter-spacing: -0.01em;
}
.hero-trust span {
  font-size: 0.85rem;
  color: var(--c-gray-soft);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 620px;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(29, 39, 52, 0.08));
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.float-card-1 {
  top: 8%;
  left: -40px;
  animation-delay: 0s;
}
.float-card-2 {
  top: 42%;
  right: -50px;
  animation-delay: 1.5s;
}
.float-card-3 {
  bottom: 6%;
  left: 8%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fc-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fc-icon-mint { background: var(--c-mint-100); color: var(--c-mint-500); }
.fc-icon-coral { background: var(--c-coral-soft); color: var(--c-coral); }

.fc-body { display: flex; flex-direction: column; line-height: 1.2; }
.fc-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-anthracite);
  margin: 0;
}
.fc-sub {
  font-size: 0.78rem;
  color: var(--c-gray-soft);
  margin: 2px 0 0;
}

.fc-avatars {
  display: flex;
  align-items: center;
}
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  margin-left: -8px;
  background-size: cover;
  background-position: center;
}
.avatar:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg, #ffd4cb, #ff8a72); }
.a2 { background: linear-gradient(135deg, #cfe1f0, #3b7bb0); }
.a3 { background: linear-gradient(135deg, #dcf2e5, #6fc391); }

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--c-line);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-cue span {
  width: 3px;
  height: 7px;
  background: var(--c-gray-soft);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}


/* ----- 7. Sections génériques ----- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.section-title {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--c-gray);
  margin: 0;
}


/* ----- 8. Soins ----- */
.soins {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-blue-50) 100%);
}

.soins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.soin-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
}
.soin-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.soin-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--t-base);
}
.soin-card:hover .soin-icon { transform: rotate(-6deg) scale(1.05); }
.soin-icon-blue { background: var(--c-blue-100); color: var(--c-blue-600); }
.soin-icon-mint { background: var(--c-mint-100); color: var(--c-mint-500); }
.soin-icon-coral { background: var(--c-coral-soft); color: var(--c-coral); }

.soin-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.soin-card p {
  font-size: 0.97rem;
  margin-bottom: 22px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-anthracite);
  transition: gap var(--t-base), color var(--t-fast);
}
.card-link:hover { gap: 10px; color: var(--c-coral); }


/* ----- 9. Cabinet moderne ----- */
.cabinet { background: var(--c-white); }

.cabinet-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}

.cabinet-visual {
  position: relative;
  aspect-ratio: 1/1.05;
}
.cabinet-image {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cabinet-image img { width: 100%; height: 100%; object-fit: cover; }
.cabinet-image.main {
  top: 0; left: 0;
  width: 78%; height: 78%;
  z-index: 1;
}
.cabinet-image.small {
  bottom: 0; right: 0;
  width: 52%; height: 48%;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 8px solid var(--c-white);
}

.cabinet-badge {
  position: absolute;
  top: 10%;
  right: 0;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 200px;
  z-index: 3;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--c-coral);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.cabinet-badge p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--c-gray);
  line-height: 1.4;
}

.cabinet-text .lead {
  font-size: 1.1rem;
  color: var(--c-gray);
  margin-bottom: 28px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 18px;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.check-list .check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-mint-100);
  color: var(--c-mint-500);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.check-list strong {
  display: block;
  color: var(--c-anthracite);
  font-weight: 600;
  margin-bottom: 2px;
}
.check-list p {
  margin: 0;
  font-size: 0.95rem;
}


/* ----- 10. Parcours ----- */
.parcours {
  background: linear-gradient(180deg, var(--c-blue-50) 0%, var(--c-white) 100%);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-blue-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  z-index: 1;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--c-anthracite);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.step-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step-body p {
  font-size: 0.95rem;
  margin: 0;
}


/* ----- 11. Technologies ----- */
.technologies { background: var(--c-white); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(220, 242, 229, 0.5), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature:hover::before { opacity: 1; }

.feature-highlight {
  background: linear-gradient(160deg, var(--c-mint-50), var(--c-white));
  border-color: var(--c-mint-100);
}

.feature-visual {
  width: 76px; height: 76px;
  border-radius: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.feature-blue { background: var(--c-blue-100); color: var(--c-blue-600); }
.feature-mint { background: var(--c-mint-100); color: var(--c-mint-500); }
.feature-coral { background: var(--c-coral-soft); color: var(--c-coral); }

.feature h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.feature p {
  font-size: 0.97rem;
  margin-bottom: 20px;
}

.mini-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 8px;
}
.mini-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--c-anthracite-2);
}
.mini-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--c-coral);
  border-radius: 2px;
}


/* ----- 12. Avis ----- */
.avis {
  background: linear-gradient(180deg, var(--c-white) 0%, var(--c-mint-50) 100%);
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.avis-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--c-line);
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.avis-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.avis-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.avis-stars svg {
  width: 18px; height: 18px;
  fill: var(--c-coral);
}

.avis-card blockquote {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  color: var(--c-anthracite-2);
  line-height: 1.5;
  flex: 1;
}

.avis-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.avis-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue-100), var(--c-mint-100));
  flex-shrink: 0;
}
.avis-card figcaption strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-anthracite);
}
.avis-card figcaption span {
  font-size: 0.82rem;
  color: var(--c-gray-soft);
}


/* ----- 13. FAQ ----- */
.faq { background: var(--c-white); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.faq-intro .section-title { text-align: left; }
.faq-intro .section-sub { text-align: left; margin-bottom: 24px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--c-blue-50);
  border-radius: var(--radius-md);
  padding: 4px 0;
  border: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base);
}
.faq-item[open] {
  background: var(--c-white);
  border-color: var(--c-line);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-anthracite);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-white);
  position: relative;
  transition: background var(--t-base), transform var(--t-base);
}
.faq-item[open] .faq-icon {
  background: var(--c-coral);
  transform: rotate(180deg);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--c-anthracite);
  border-radius: 2px;
  transition: background var(--t-fast), transform var(--t-base);
}
.faq-icon::before {
  top: 13px; left: 8px;
  width: 12px; height: 2px;
}
.faq-icon::after {
  left: 13px; top: 8px;
  width: 2px; height: 12px;
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--c-white);
}
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 0.97rem;
  color: var(--c-gray);
  animation: faqOpen 0.35s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ----- 14. Contact ----- */
.contact {
  background: linear-gradient(180deg, var(--c-mint-50) 0%, var(--c-white) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: start;
}

.contact-info .section-title { text-align: left; }
.contact-info .section-sub { text-align: left; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 32px;
  display: grid;
  gap: 22px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ci-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ci-blue { background: var(--c-blue-100); color: var(--c-blue-600); }
.ci-mint { background: var(--c-mint-100); color: var(--c-mint-500); }
.ci-coral { background: var(--c-coral-soft); color: var(--c-coral); }
.contact-list strong {
  display: block;
  font-weight: 600;
  color: var(--c-anthracite);
  margin-bottom: 4px;
}
.contact-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-list a {
  color: var(--c-anthracite-2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.contact-list a:hover { border-bottom-color: var(--c-coral); }

.team-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-xs);
}
.team-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}
.team-card strong {
  display: block;
  color: var(--c-anthracite);
  margin-bottom: 4px;
  font-weight: 600;
}
.team-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.contact-form {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-line);
}
.contact-form h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.form-sub {
  font-size: 0.92rem;
  color: var(--c-gray-soft);
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-anthracite-2);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--c-line);
  background: var(--c-blue-50);
  font-size: 0.95rem;
  color: var(--c-anthracite);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--c-white);
  border-color: var(--c-blue-200);
  box-shadow: 0 0 0 4px rgba(207, 225, 240, 0.5);
}
.contact-form textarea { resize: vertical; min-height: 100px; }

.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--c-gray);
  margin-bottom: 22px;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-coral);
}
.checkbox span { margin: 0 !important; font-weight: 400 !important; }

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--c-mint-100);
  color: #2c6c4a;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 500;
}


/* ----- 15. Footer ----- */
.footer {
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.94rem;
  max-width: 280px;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-anthracite);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.93rem;
  color: var(--c-gray);
  margin-bottom: 10px;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--c-coral); }

.footer-bottom {
  border-top: 1px solid var(--c-line);
  padding: 22px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--c-gray-soft);
}


/* ----- 16. Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal[data-reveal="left"] { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="up"] { transform: translateY(28px); }

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ----- 17. Responsive ----- */
@media (max-width: 1100px) {
  .hero-grid,
  .cabinet-grid,
  .faq-grid,
  .contact-grid { gap: 50px; }

  .nav-links { gap: 22px; }
  .nav-links a { font-size: 0.88rem; }
}

@media (max-width: 960px) {
  .section { padding: 90px 0; }

  .hero { padding: 130px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-height: none; aspect-ratio: 4/4.5; max-width: 520px; margin: 0 auto; }
  .scroll-cue { display: none; }

  .cabinet-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .cabinet-visual { max-width: 560px; margin: 0 auto; }

  .soins-grid,
  .features-grid,
  .avis-grid { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }

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

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }

  .hero { padding: 110px 0 70px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-trust { gap: 24px; }
  .hero-trust strong { font-size: 1.25rem; }

  .float-card-1 { left: -10px; top: 4%; min-width: auto; padding: 10px 14px; }
  .float-card-2 { right: -10px; top: auto; bottom: 40%; min-width: auto; padding: 10px 14px; }
  .float-card-3 { bottom: 2%; left: 4%; min-width: auto; padding: 10px 14px; }
  .fc-title { font-size: 0.85rem; }
  .fc-sub { font-size: 0.72rem; }

  .section-head { margin-bottom: 50px; }
  .section-title { font-size: 1.7rem; }

  .soins-grid,
  .features-grid,
  .avis-grid,
  .steps { grid-template-columns: 1fr; }

  .cabinet-image.small { width: 58%; height: 42%; }
  .cabinet-badge { padding: 14px 16px; max-width: 170px; }
  .badge-num { font-size: 1.7rem; }

  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }

  .btn { padding: 13px 20px; font-size: 0.92rem; }
}
