/* ============================================================
   MON COACHING — Style Luxe / Chic
   Glassmorphism, animations fluides, hover 3D
   ============================================================ */

:root {
  --gold: #c9a227;
  --gold-light: #e3c56a;
  --gold-dark: #9a7b1a;
  --bg-dark: #0b0b0f;
  --bg-dark-2: #12121a;
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(255, 255, 255, 0.1);
  --border-glass: rgba(255, 255, 255, 0.14);
  --text: #f5f1e8;
  --text-muted: #b6b0a4;
  --text-dark: #1a1a20;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

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

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

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  color: #1a1405;
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(201, 162, 39, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--bg-glass);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ---------- Navbar transparente ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 11, 15, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-glass);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.85;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 26px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=1600&q=80');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,15,0.55) 0%, rgba(11,11,15,0.7) 60%, var(--bg-dark) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 24px;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Sections communes ---------- */
.section {
  padding: 110px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 70px;
}

.section-head .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--text-muted);
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ---------- Services (cartes glassmorphism + hover 3D) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 44px 34px;
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.7s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-14px) rotateX(4deg) rotateY(-3deg);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: #1a1405;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 22px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 34px;
}

.stat h3 {
  font-size: 2.2rem;
  color: var(--gold);
}

.stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Témoignages ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-card blockquote {
  color: var(--text);
  font-size: 0.98rem;
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1405;
  font-weight: 700;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-author .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 70px 50px;
  text-align: center;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 18px;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- Galerie ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,11,15,0.75));
  opacity: 0;
  transition: var(--transition);
}

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

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-wrap,
.contact-info-wrap {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 44px 38px;
}

.contact-form-wrap h3,
.contact-info-wrap h3 {
  font-size: 1.6rem;
  margin-bottom: 26px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

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

.form-group select option {
  background: var(--bg-dark-2);
  color: var(--text);
}

.form-note {
  display: none;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.form-note.success {
  display: block;
  background: rgba(46, 160, 90, 0.15);
  border: 1px solid rgba(46, 160, 90, 0.4);
  color: #7ee2a8;
}

.form-note.error {
  display: block;
  background: rgba(220, 80, 80, 0.15);
  border: 1px solid rgba(220, 80, 80, 0.4);
  color: #f2a0a0;
}

.info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.info-item .info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--bg-glass-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.info-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.info-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.map-wrap {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 30px;
}

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

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--gold-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 26px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- Page header (pages intérieures) ---------- */
.page-header {
  position: relative;
  padding: 180px 0 90px;
  text-align: center;
  overflow: hidden;
}

.page-header .hero-bg {
  background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1600&q=80');
}

.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 16px;
  position: relative;
}

.page-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: revealFallback 0.9s ease 0.3s forwards;
}

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

@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: rgba(11, 11, 15, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease;
  }
  .nav-links.open {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  .nav-cta {
    display: none;
  }

  .section {
    padding: 80px 0;
  }
  .services-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-banner {
    padding: 50px 26px;
  }
  .gallery-item {
    aspect-ratio: 4 / 3;
  }
}
