:root {
  --bg-start: #f4f1ed;
  --bg-end: #eef3f0;
  --surface: rgba(250, 249, 246, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --text: #2f2f2f;
  --text-soft: #5f5f5f;
  --line: rgba(210, 218, 214, 0.95);
  --accent: #a58b7f;
  --accent-hover: #8d7468;
  --shadow-soft: 0 10px 30px rgba(60, 72, 66, 0.06);
  --shadow-hover: 0 18px 40px rgba(60, 72, 66, 0.1);
  --radius: 24px;
  --container: 1180px;
  --content: 920px;
  --nav-height: 132px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  letter-spacing: -0.1px;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
  position: relative;
  padding-top: var(--nav-height);
}

/* Lotus décoratifs */

body::before,
body::after {
  content: "";
  position: fixed;
  background: url("lotus.png") no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

body::before {
  left: -70px;
  bottom: -60px;
  width: 340px;
  height: 340px;
  opacity: 0.16;
  filter: grayscale(8%);
  animation: breathe-left 10s ease-in-out infinite;
}

body::after {
  right: -80px;
  top: 120px;
  width: 290px;
  height: 290px;
  opacity: 0.15;
  filter: grayscale(12%);
  transform: scaleX(-1);
  animation: breathe-right 10s ease-in-out infinite;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

/* Apparitions */

header,
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

body.loaded header,
body.loaded .reveal,
.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(249, 247, 243, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 224, 220, 0.9);
  transition: transform 0.35s ease, opacity 0.35s ease, background 0.3s ease;
}

nav.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

nav.nav-visible {
  transform: translateY(0);
  opacity: 1;
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  letter-spacing: -0.5px;
  position: relative;
  transition: transform 0.28s ease, opacity 0.28s ease;
  cursor: default;
}

.logo::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b79b8c 0%, #a58b7f 100%);
  margin-right: 10px;
  box-shadow: 0 0 0 7px rgba(165, 139, 127, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo:hover::before {
  transform: scale(1.08);
  box-shadow: 0 0 0 9px rgba(165, 139, 127, 0.12);
}

.logo-main {
  font-weight: 500;
  color: #2d2d2d;
  transition: letter-spacing 0.28s ease, color 0.28s ease;
}

.logo-dot {
  font-weight: 400;
  color: var(--accent);
  margin-left: 2px;
  transition: transform 0.28s ease, color 0.28s ease;
}

.logo:hover .logo-main {
  letter-spacing: -0.2px;
}

.logo:hover .logo-dot {
  color: var(--accent-hover);
  transform: translateX(1px);
}

/* Liens nav */

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
}

.nav-links a {
  text-decoration: none;
  color: #4b4b4b;
  font-size: 15px;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #4b4b4b;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #1f1f1f;
  transform: translateY(-1px);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */

header {
  max-width: 1020px;
  margin: 0 auto;
  padding: 42px 24px 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-card {
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.98) 0%, rgba(250, 249, 246, 0.93) 100%);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 62px 56px 54px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 190, 220, 0.14), transparent 65%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -90px;
  left: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 190, 174, 0.11), transparent 65%);
  pointer-events: none;
}

.hero-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(192, 201, 196, 0.95);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #747474;
  position: relative;
  z-index: 1;
}

h1 {
  margin: 0 0 20px;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: -1.2px;
  font-weight: 600;
  color: #2a2a2a;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 19px;
  color: #4c4c4c;
  position: relative;
  z-index: 1;
}

.hero-actions {
  margin-top: 34px;
  position: relative;
  z-index: 1;
}

.response-note {
  margin-top: 14px;
  font-size: 14px;
  color: #6b6b6b;
  position: relative;
  z-index: 1;
}

/* Boutons */

.button-link,
.cta {
  display: inline-block;
  padding: 15px 34px;
  background: linear-gradient(180deg, #ad9487 0%, #a58b7f 100%);
  color: white;
  text-decoration: none;
  border-radius: 18px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.1px;
  box-shadow: 0 10px 22px rgba(140, 116, 104, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button-link:hover,
.cta:hover {
  background: linear-gradient(180deg, #967d71 0%, #8c7468 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(140, 116, 104, 0.18);
}

/* Main */

main {
  max-width: var(--content);
  margin: 0 auto 110px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.card,
.contact-inner {
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.97) 0%, rgba(250, 249, 246, 0.93) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card {
  margin-bottom: 30px;
}

.card:hover,
.contact-inner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(188, 198, 193, 0.95);
}

.section-accent {
  width: 56px;
  height: 3px;
  margin: 0 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbbfe0 0%, #aac0b1 100%);
}

.section-accent.centered {
  margin-left: auto;
  margin-right: auto;
}

h2 {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #2b2b2b;
}

.card p {
  max-width: 700px;
  margin: 0 0 16px;
  font-size: 17px;
  color: #404040;
}

.card p:last-child {
  margin-bottom: 0;
}

/* FAQ */

.faq-item {
  padding: 17px 0;
  border-bottom: 1px solid rgba(226, 226, 226, 0.95);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
  font-size: 18px;
  color: #2e2e2e;
  transition: color 0.25s ease, transform 0.25s ease;
}

.faq-item summary:hover {
  color: #1f1f1f;
  transform: translateX(3px);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  line-height: 1;
  color: #7d7d7d;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--text-soft);
  max-width: none;
}

/* Contact */

.contact-section {
  margin-top: 76px;
}

.contact-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  max-width: 660px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: #4d4d4d;
}

.contact-lines,
.confidentiality-lines {
  margin-top: 30px;
  border-top: 1px solid rgba(226, 226, 226, 0.95);
  text-align: left;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(226, 226, 226, 0.95);
  text-decoration: none;
  color: #2e2e2e;
  font-size: 17px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-line:hover {
  opacity: 0.75;
  transform: translateX(4px);
}

/* Confidentialité */

.confidentiality-text {
  padding: 24px 0 0;
  text-align: left;
}

.confidentiality-text p {
  margin: 0 0 18px;
  font-size: 17px;
  color: #404040;
  max-width: 100%;
}

.confidentiality-text p:last-child {
  margin-bottom: 0;
}

/* Focus */

a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(165, 139, 127, 0.24);
  border-radius: 8px;
}

/* Animations lotus */

@keyframes breathe-left {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(4px, -6px) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes breathe-right {
  0% {
    transform: scaleX(-1) translate(0, 0) scale(1);
  }
  50% {
    transform: scaleX(-1) translate(-4px, 6px) scale(1.015);
  }
  100% {
    transform: scaleX(-1) translate(0, 0) scale(1);
  }
}

/* Responsive */

@media (max-width: 900px) {
  :root {
    --nav-height: 144px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-card {
    padding: 50px 36px 44px;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-height: 164px;
  }

  .nav-container {
    padding: 14px 18px 12px;
    gap: 12px;
  }

  .nav-links {
    gap: 12px 22px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .logo {
    font-size: 24px;
  }

  header {
    padding: 26px 18px 54px;
  }

  .hero-card,
  .card,
  .contact-inner {
    padding: 28px 24px;
    border-radius: 22px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-text,
  .card p,
  .faq-item p,
  .faq-item summary,
  .contact-line,
  .contact-intro,
  .confidentiality-text p {
    font-size: 16px;
  }

  .contact-line {
    flex-direction: column;
    gap: 6px;
  }

  .button-link,
  .cta {
    width: 100%;
    text-align: center;
  }

  body::before {
    width: 250px;
    height: 250px;
    left: -54px;
    bottom: -44px;
    opacity: 0.08;
  }

  body::after {
    width: 220px;
    height: 220px;
    top: 170px;
    right: -58px;
    opacity: 0.07;
  }
}

@media (max-width: 520px) {
  :root {
    --nav-height: 176px;
  }

  .nav-links {
    gap: 10px 18px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero-card {
    padding: 24px 20px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .hero-text,
  .response-note {
    font-size: 15px;
  }
  nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease;
}

.nav-hide {
  transform: translateY(-100%);
}
}