/* =============================================================
   Philippe Morgan - Magicien Mentaliste
   Stylesheet principal
   ============================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --midnight: #0d0a2e;
  --velvet: #1e1450;
  --plum: #2d1b4e;
  --indigo: #3d2966;
  --gold: #d4af37;
  --gold-light: #f4c95d;
  --gold-pale: #f5e6a3;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --cream: #faf3e0;
  --pearl: #f9f5ee;
  --warm-white: #fdfaf3;
  --text-dark: #1a1240;
  --text-light: #f9f5ee;
  --text-muted: #a89bb8;
  --shadow-deep: rgba(13, 10, 46, 0.4);
  --shadow-gold: rgba(212, 175, 55, 0.25);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-script: 'Allura', 'Brush Script MT', cursive;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1280px;
  --section-pad: clamp(4rem, 8vw, 7rem);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--warm-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 3.5rem;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.eyebrow.center {
  padding-left: 0;
}

.eyebrow.center::before {
  display: none;
}

/* --- Layout helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(13, 10, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  position: relative;
  background: url('../images/logo-mentalistic.svg') center / contain no-repeat;
  flex: 0 0 auto;
}

.logo-icon::before {
  content: '';
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.logo-text strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo-text small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.92rem;
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold);
  color: var(--midnight) !important;
  padding: 0.7rem 1.4rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-gold);
}

.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold-light);
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 10, 46, 0.88) 0%, rgba(45, 27, 78, 0.75) 50%, rgba(13, 10, 46, 0.92) 100%),
    var(--midnight);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(107, 70, 193, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 60% 70%, var(--gold-light), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, white, transparent),
    radial-gradient(1px 1px at 30% 80%, var(--gold-light), transparent),
    radial-gradient(2px 2px at 70% 50%, white, transparent),
    radial-gradient(1px 1px at 15% 60%, var(--gold-pale), transparent),
    radial-gradient(1.5px 1.5px at 90% 75%, white, transparent),
    radial-gradient(1px 1px at 50% 15%, var(--gold-light), transparent);
  opacity: 0.5;
  animation: drift 60s linear infinite;
}

@keyframes drift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(20px, -10px); }
  100% { transform: translate(0, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: var(--text-light);
}

.hero-text .eyebrow {
  color: var(--gold-light);
  animation: fadeUp 0.8s ease forwards;
}

.hero-title {
  margin: 0.5rem 0 1.5rem;
  font-weight: 400;
  color: var(--text-light);
  animation: fadeUp 0.8s 0.15s ease forwards;
  opacity: 0;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-title .script-accent {
  font-family: var(--font-script);
  font-size: 1.5em;
  color: var(--gold);
  font-weight: 400;
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 0.1em;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 540px;
  line-height: 1.65;
  color: rgba(249, 245, 238, 0.85);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.3s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.8s 0.45s ease forwards;
  opacity: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  animation: fadeUp 0.8s 0.6s ease forwards;
  opacity: 0;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-item strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}

.hero-meta-item span {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.hero-image {
  position: relative;
  animation: fadeIn 1.2s 0.4s ease forwards;
  opacity: 0;
}

.hero-image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.2);
  aspect-ratio: 4 / 5;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.5;
}

.hero-image::after {
  content: '✦';
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: 2.5rem;
  color: var(--gold);
  animation: twinkle 4s ease-in-out infinite;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--midnight);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(249, 245, 238, 0.3);
}

.btn-outline:hover {
  background: rgba(249, 245, 238, 0.08);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-dark {
  background: var(--midnight);
  color: var(--text-light);
}

.btn-dark:hover {
  background: var(--velvet);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px var(--shadow-deep);
}

.btn-arrow::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow::after,
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Section header --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin: 0.5rem 0 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--plum);
  opacity: 0.8;
  line-height: 1.7;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem auto;
  color: var(--gold);
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* --- Intro section --- */
.intro {
  background: var(--warm-white);
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.intro-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 50px -15px rgba(13, 10, 46, 0.25);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.intro-image:hover img {
  transform: scale(1.04);
}

.intro-image-badge {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 148px;
  height: 148px;
  background: var(--midnight);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  padding: 1.1rem;
  box-shadow: 0 10px 30px rgba(13, 10, 46, 0.3);
}

.intro-image-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.intro-image-badge span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
  max-width: 100%;
}

.intro-text h2 {
  color: var(--midnight);
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.3rem;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-text p:last-of-type {
  margin-bottom: 2rem;
}

.intro-signature {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.intro-signature .script {
  font-size: 2.5rem;
  line-height: 1;
}

.intro-signature small {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  opacity: 0.7;
}

/* --- Services grid --- */
.services {
  background: var(--midnight);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.services .section-header h2 {
  color: var(--text-light);
}

.services .section-header p {
  color: rgba(249, 245, 238, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-card {
  background: linear-gradient(180deg, rgba(45, 27, 78, 0.5) 0%, rgba(30, 20, 80, 0.3) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(180deg, rgba(45, 27, 78, 0.7) 0%, rgba(30, 20, 80, 0.5) 100%);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.service-card h3 {
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.service-card p {
  color: rgba(249, 245, 238, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.service-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.service-card:hover .service-link {
  border-color: var(--gold-light);
}

.service-card:hover .service-link::after {
  transform: translateX(4px);
}

/* --- Gallery preview --- */
.gallery-preview {
  background: var(--warm-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 10, 46, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

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

.gallery-item.tall { grid-column: span 4; grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery-item.wide { grid-column: span 5; aspect-ratio: 3 / 2; }
.gallery-item.small { grid-column: span 3; }
.gallery-item.medium { grid-column: span 4; }

/* --- Testimonials --- */
.testimonials {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--plum) 50%, var(--midnight) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 5%;
  font-family: var(--font-display);
  font-size: 30rem;
  color: var(--gold);
  opacity: 0.05;
  line-height: 0.8;
  pointer-events: none;
}

.testimonials .section-header h2 {
  color: var(--text-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial {
  padding: 2.5rem 2rem;
  background: rgba(45, 27, 78, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 4px;
  position: relative;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.testimonial-author strong {
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* --- Coverage area --- */
.coverage {
  background: var(--cream);
  position: relative;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.coverage-card {
  background: white;
  padding: 2.5rem 1.8rem;
  border-radius: 4px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.coverage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

.coverage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(13, 10, 46, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
}

.coverage-card:hover::before {
  width: 50%;
}

.coverage-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.coverage-card h3 {
  color: var(--midnight);
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
}

.coverage-card p {
  font-size: 0.92rem;
  color: var(--plum);
  opacity: 0.75;
  margin-bottom: 1.2rem;
}

.coverage-card a {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.coverage-card a:hover {
  border-color: var(--gold);
}

/* --- CTA section --- */
.cta-section {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--velvet) 100%);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '✦';
  position: absolute;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
}

.cta-section::before {
  top: 15%;
  left: 8%;
  animation: twinkle 3s ease-in-out infinite;
}

.cta-section::after {
  bottom: 15%;
  right: 10%;
  animation: twinkle 3s ease-in-out infinite 1.5s;
}

.cta-section .container-narrow {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(249, 245, 238, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* --- Contact form --- */
.contact-section {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: var(--midnight);
  color: var(--text-light);
  padding: 3rem 2.5rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info > * {
  position: relative;
  z-index: 2;
}

.contact-info h3 {
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: rgba(249, 245, 238, 0.75);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.contact-detail {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contact-detail-text a,
.contact-detail-text p {
  color: var(--cream);
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--gold-light);
}

.contact-areas {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-areas h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.contact-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.contact-areas-list li {
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  color: var(--gold-pale);
}

.contact-form {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 4px;
  box-shadow: 0 25px 50px -20px rgba(13, 10, 46, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-form h3 {
  color: var(--midnight);
  margin-bottom: 0.4rem;
}

.contact-form > p {
  color: var(--plum);
  opacity: 0.7;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}

.form-group {
  margin-bottom: 1.3rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid #e5dfd0;
  border-radius: 3px;
  background: var(--warm-white);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--midnight);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--velvet);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px var(--shadow-deep);
}

.form-submit span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.4rem;
  color: var(--gold);
}

.form-note {
  font-size: 0.82rem;
  color: var(--plum);
  opacity: 0.6;
  margin-top: 1.2rem;
  text-align: center;
  line-height: 1.5;
}

/* --- Page hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, rgba(13, 10, 46, 0.85) 0%, rgba(45, 27, 78, 0.75) 100%), var(--midnight);
  color: var(--text-light);
  padding: calc(80px + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.page-hero h1 {
  color: var(--text-light);
  margin: 0.5rem 0 1.2rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(249, 245, 238, 0.8);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb-sep {
  color: var(--gold);
  opacity: 0.5;
}

/* --- Content blocks --- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

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

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse > * {
  direction: ltr;
}

.content-block-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 50px -20px rgba(13, 10, 46, 0.25);
}

.content-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block-text h2,
.content-block-text h3 {
  color: var(--midnight);
  margin-bottom: 1.2rem;
}

.content-block-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.content-block-text ul {
  list-style: none;
  margin: 1.5rem 0;
}

.content-block-text ul li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.content-block-text ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-size: 1rem;
}

/* --- Feature boxes --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  padding: 2rem;
  background: var(--cream);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(13, 10, 46, 0.15);
}

.feature-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature-box h4 {
  color: var(--midnight);
  margin-bottom: 0.6rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: var(--text-dark);
  opacity: 0.85;
  line-height: 1.6;
}

/* --- Two column text --- */
.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.two-col-text p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* --- Footer --- */
.site-footer {
  background: var(--midnight);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-brand .logo {
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(249, 245, 238, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--midnight);
  transform: translateY(-2px);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: rgba(249, 245, 238, 0.65);
  font-size: 0.92rem;
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(249, 245, 238, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-content,
  .intro-grid,
  .content-block,
  .content-block.reverse,
  .contact-grid,
  .two-col-text {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .content-block.reverse {
    direction: ltr;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .intro-image-badge {
    width: 100px;
    height: 100px;
    top: -15px;
    right: -15px;
  }

  .intro-image-badge strong { font-size: 1.5rem; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-item.tall { grid-column: span 6; }
  .gallery-item.wide { grid-column: span 6; }
  .gallery-item.small { grid-column: span 3; }
  .gallery-item.medium { grid-column: span 3; }
}

@media (max-width: 720px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--midnight);
    padding: 2rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: 1.5rem;
  }

  .hero-meta-item strong {
    font-size: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .gallery-item.tall,
  .gallery-item.wide,
  .gallery-item.small,
  .gallery-item.medium {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
    grid-row: span 1;
  }

  section { padding: 4rem 0; }

  .contact-form,
  .contact-info {
    padding: 2rem 1.5rem;
  }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* --- QR Code page styles --- */
.qr-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--velvet) 100%);
}

.qr-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 6px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.qr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.qr-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  background: var(--cream);
  color: var(--gold);
}

.qr-card.success .qr-icon {
  background: #e8f5e9;
  color: #2e7d32;
}

.qr-card.error .qr-icon {
  background: #fdecea;
  color: #c62828;
}

.qr-card h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--midnight);
  margin-bottom: 1rem;
}

.qr-card p {
  color: var(--plum);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.qr-card a {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  background: var(--midnight);
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.qr-card a:hover {
  background: var(--velvet);
  transform: translateY(-2px);
}

/* ============ QR IMAGE (NEW) ============ */
.qr-card .qr-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  margin: 1.2rem auto 1.5rem;
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

/* ============ GALLERY GRID LARGE ============ */
.gallery-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item-lg {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background: var(--velvet);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  transition: transform .35s ease, box-shadow .35s ease;
}
.gallery-item-lg:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(13,10,46,.32);
}
.gallery-item-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.gallery-item-lg:hover img { transform: scale(1.05); }

@media (max-width: 980px) {
  .gallery-grid-large { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gallery-grid-large { grid-template-columns: 1fr; }
}

/* ============ CONTENT SPLIT (À propos) ============ */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.content-split-img {
  position: sticky;
  top: 100px;
}
.content-split-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 14px 50px rgba(13,10,46,.22);
}
.content-split-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  color: var(--midnight);
  margin: 0 0 1rem;
  font-weight: 500;
}
.content-split-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--plum);
  margin: 2rem 0 .8rem;
  font-weight: 500;
}
.content-split-text p {
  color: #3a3450;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.content-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.content-list li {
  position: relative;
  padding: .5rem 0 .5rem 1.6rem;
  color: #3a3450;
  line-height: 1.65;
}
.content-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: .5rem;
  color: var(--gold);
}
.content-list li strong { color: var(--midnight); }

@media (max-width: 980px) {
  .content-split { grid-template-columns: 1fr; gap: 2rem; }
  .content-split-img { position: static; }
}

/* ============ ALT BG SECTION ============ */
.content-block.alt-bg {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
}

/* ============ SECTION TITLE CENTERED ============ */
.section-title.centered {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  color: var(--midnight);
  font-weight: 500;
  margin: 0 0 2.5rem;
}

/* ============ STATS GRID ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(13,10,46,.08);
  border: 1px solid rgba(212,175,55,.18);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label {
  font-size: .9rem;
  color: var(--plum);
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2.2rem; }
}

/* ============ LEGAL CONTENT ============ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  color: var(--midnight);
  margin: 2rem 0 .8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(212,175,55,.3);
  padding-bottom: .4rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: #3a3450;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-content a { color: var(--plum); }
.legal-content a:hover { color: var(--gold); }

/* ============ AJUSTEMENT DEMANDÉ : PHOTOS DANS LE CADRE JAUNE ============ */
.hero-image-frame,
.intro-image,
.content-block-image,
.gallery-item,
.gallery-item-lg,
.content-split-img img {
  border: 3px solid var(--gold);
  background: var(--gold);
  box-sizing: border-box;
}

.hero-image-frame,
.intro-image,
.content-block-image,
.gallery-item,
.gallery-item-lg {
  padding: 4px;
}

.hero-image-frame img,
.intro-image img,
.content-block-image img,
.gallery-item img,
.gallery-item-lg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.hero-image::before {
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid rgba(212, 175, 55, 0.65);
}


/* --- Logo Mentalistic intégré --- */
.logo {
  gap: 0.8rem;
}

/* --- Petits avis premium --- */
.mini-reviews-section {
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.section-header.compact {
  margin-bottom: 2rem;
}
.mini-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.mini-review-card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 14px 35px rgba(13,10,46,.10);
  position: relative;
  overflow: hidden;
}
.mini-review-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--gold-light), var(--gold));
}
.review-stars {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: .9rem;
  margin-bottom: .7rem;
}
.mini-review-card p {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text-dark);
  margin: 0 0 1.1rem;
}
.mini-review-card footer {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.mini-review-card footer strong {
  color: var(--midnight);
  font-weight: 600;
}
.mini-review-card footer span {
  color: var(--plum);
  opacity: .72;
  font-size: .84rem;
}
.home-review-strip {
  background: var(--cream);
  padding: 2.5rem 0;
}
.home-review-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--warm-white);
  border: 1px solid rgba(212,175,55,.38);
  border-radius: 16px;
  padding: 1.3rem 1.6rem;
  box-shadow: 0 18px 40px rgba(13,10,46,.10);
}
.home-review-score {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.home-review-score span { color: var(--gold); letter-spacing: .12em; }
.home-review-score strong { color: var(--midnight); font-family: var(--font-display); font-size: 1.5rem; }
.home-review-box p { margin: 0; color: var(--text-dark); line-height: 1.55; }
.home-review-box a {
  color: var(--midnight);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: .75rem 1.1rem;
  font-weight: 500;
  white-space: nowrap;
}
.home-review-box a:hover { background: var(--gold); }
@media (max-width: 900px) {
  .mini-reviews-grid { grid-template-columns: 1fr; }
  .home-review-box { grid-template-columns: 1fr; text-align: center; }
  .home-review-score { align-items: center; }
}
