/* MAMA COACH - Luxe / Chic avec Glassmorphism */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #e8c968;
  --gold-dark: #a8862a;
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray: #888;
  --light: #f5f5f0;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==== NAVIGATION TRANSPARENTE ==== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: all 0.4s ease;
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 5%;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo span { color: var(--white); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  transition: color 0.3s;
}

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

.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 28px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ==== HERO ==== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  filter: brightness(0.45);
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-1%, -1%); }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  padding: 8px 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeInUp 1s 0.2s both;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s 0.4s both;
}

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

.hero p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 38px;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  animation: fadeInUp 1s 0.6s both;
}

.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.8s both;
}

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

/* ==== BOUTONS ==== */
.btn {
  display: inline-block;
  padding: 16px 42px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
}

/* ==== SECTIONS ==== */
.section {
  padding: 110px 5%;
  position: relative;
}

.section-light {
  background: linear-gradient(180deg, var(--black) 0%, #161616 100%);
}

.section-dark {
  background: var(--black);
}

.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
  padding: 0 30px;
}
.section-tag::before, .section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 18px;
}

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

.section-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
}

/* ==== SERVICES - CARTES GLASS 3D HOVER ==== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  perspective: 1500px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.service-card:hover {
  transform: translateY(-12px) rotateX(5deg) rotateY(-3deg);
  box-shadow: 0 30px 60px rgba(212,175,55,0.15), 0 0 0 1px rgba(212,175,55,0.3);
  border-color: rgba(212,175,55,0.4);
}

.service-card:hover::before { opacity: 1; }

.service-card.with-image {
  padding: 0;
  min-height: 420px;
}

.service-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-card:hover .service-img { transform: scale(1.08); }

.service-body {
  padding: 30px 28px;
}

.service-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotateY(180deg);
  background: var(--gold);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-weight: 300;
}

/* ==== À PROPOS ==== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform 0.8s;
}
.about-img-wrap:hover img { transform: scale(1.05); }

.about-img-wrap::after {
  content: '';
  position: absolute;
  top: 20px; left: 20px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-text .section-tag { padding: 0 0 0 30px; }
.about-text .section-tag::before { left: 0; }
.about-text .section-tag::after { display: none; }

.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.about-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
  font-weight: 300;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 38px 0 32px;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: var(--gold);
  font-weight: 600;
}
.stat .lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ==== GALERIE ==== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: all 0.7s cubic-bezier(0.23,1,0.32,1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item-label {
  position: absolute;
  bottom: 24px; left: 24px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s;
  z-index: 2;
}
.gallery-item:hover .gallery-item-label { opacity: 1; transform: translateY(0); }

/* ==== CONTACT ==== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 50px 42px;
}

.contact-info h3 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.contact-item p {
  font-size: 16px;
  color: var(--white);
  font-weight: 400;
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  min-height: 460px;
  border: 1px solid var(--glass-border);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.7) brightness(0.85) contrast(1.1);
}

/* ==== CTA STRIP ==== */
.cta-strip {
  padding: 90px 5%;
  text-align: center;
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(168,134,42,0.05) 100%);
  border-top: 1px solid rgba(212,175,55,0.2);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?w=1600') center/cover;
  opacity: 0.08;
  z-index: 0;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}
.cta-strip p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* ==== FOOTER ==== */
footer {
  background: #050505;
  padding: 70px 5% 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto 50px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.footer-col p, .footer-col li {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 300;
}
.footer-col ul { list-style: none; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 1px;
}
.footer-bottom .gold { color: var(--gold); }

/* ==== PAGE HEADER (sous-pages) ==== */
.page-header {
  position: relative;
  padding: 180px 5% 100px;
  text-align: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
  z-index: -1;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, var(--black) 100%);
  z-index: -1;
}
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 14px;
}
.page-header h1 .italic { font-style: italic; color: var(--gold); font-weight: 400; }
.page-header p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}
.breadcrumb {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.breadcrumb .gold { color: var(--gold); }

/* ==== REVEAL ANIMATIONS ==== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealFallback 1s ease 0.4s forwards; }

/* ==== RESPONSIVE ==== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img-wrap img { height: 450px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; height: 100vh;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 16px; }
  .section { padding: 80px 5%; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat .num { font-size: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
  .page-header { padding: 140px 5% 70px; }
}

/* ==== ADMIN PAGE ==== */
.admin-body {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}
.admin-card {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 55px 45px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--glass-shadow);
}
.admin-card .logo { font-size: 30px; margin-bottom: 12px; }
.admin-card h1 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--white);
}
.admin-card p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 30px;
}
.admin-field {
  margin-bottom: 18px;
  text-align: left;
}
.admin-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.admin-field input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
}
.admin-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.admin-btn {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}
.admin-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.admin-error {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 12px;
  display: none;
}
.admin-domain-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 16px;
  padding: 30px 24px;
  margin-top: 30px;
  text-align: left;
}
.admin-domain-card h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 20px;
}
.admin-domain-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.admin-logout {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.admin-logout:hover { color: var(--gold); }
