/* ============================================================
   L'INSTINCT DU FÉLIN — Modern Design System 2024
   ============================================================ */

:root {
  --primary: #c5445c;
  --primary-dark: #a33349;
  --primary-glow: rgba(197, 68, 92, 0.25);
  --bg: #0d0d0d;
  --bg-alt: #141414;
  --bg-card: rgba(255,255,255,0.04);
  --text: #f0f0f0;
  --text-muted: #888;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(197,68,92,0.4);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: #e0607a; }
ul { list-style: none; }
strong { color: var(--primary); font-weight: 600; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }

/* LAYOUT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section-light { background: var(--bg); padding: 6rem 0; }
.section-dark { background: var(--bg-alt); padding: 6rem 0; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.35em 1.1em;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  margin-bottom: 0.85rem;
}
.section-title { color: var(--text); }
.accent { color: var(--primary); }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* ── NAVIGATION ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#navbar.scrolled {
  background: rgba(13,13,13,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1400px; margin: 0 auto; padding: 0 2rem; height: 68px;
}
.nav-menu { display: flex; gap: 0.15rem; }
.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem; font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-logo { flex-shrink: 0; padding: 0 1rem; }
.nav-logo img {
  height: 44px; width: auto; margin: 0 auto;
  transition: filter 0.3s, transform 0.3s;
}
.nav-logo:hover img { filter: drop-shadow(0 0 8px rgba(197,68,92,0.7)); transform: scale(1.03); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column;
  padding: 1rem 2rem;
  background: rgba(13,13,13,0.98);
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh; min-height: 600px;
  background: url('../img/BlackPanther.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 2rem;
}
.hero-logo { margin-bottom: 2rem; animation: fadeDown 1s var(--ease) both; }
.hero-logo img {
  height: 90px; width: auto; margin: 0 auto;
}
.hero-tagline { margin-bottom: 2.5rem; animation: fadeDown 1s 0.2s var(--ease) both; }
.tagline-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: white; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
  animation: fadeUp 1s 0.4s var(--ease) both;
}
.hero-cta:hover {
  background: var(--primary); border-color: var(--primary); color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
  animation: fadeUp 1s 0.9s var(--ease) both;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:translateY(0); } }
@keyframes scrollPulse { 0%,100% { opacity:.4; } 50% { opacity:1; } }

/* ── PATRICK ── */
.patrick-grid {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  gap: 3rem; align-items: center;
}
.patrick-logo img { width: 100%; }
.patrick-content h3 { margin-bottom: 1.25rem; }
.patrick-content p { color: var(--text-muted); margin-bottom: 0.85rem; font-size: 0.95rem; }
.patrick-content blockquote {
  margin-top: 1.5rem;
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  font-style: italic; font-size: 1.05rem;
  color: var(--text-muted);
}
.patrick-panther img { width: 100%; border-radius: var(--radius); border: 2px solid var(--border-accent); }

/* ── PALMARES ── */
.palmares-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.palmares-image { position: relative; }
.palmares-image img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 480px; }
.palmares-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--primary); color: white;
  width: 90px; height: 90px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.badge-icon { font-size: 1.6rem; display: block; margin-bottom: 0.2rem; }
.palmares-content h3 { margin-bottom: 1.75rem; }
.palmares-list { display: flex; flex-direction: column; gap: 0.6rem; }
.palmares-list li {
  padding: 0.7rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem; color: var(--text-muted);
}
.palmares-list li strong { color: var(--text); display: block; margin-bottom: 0.1rem; }

/* ── VOTRE BESOIN ── */
.besoin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.besoin-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.besoin-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.besoin-icon { font-size: 2.2rem; margin-bottom: 0.85rem; }
.besoin-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.besoin-img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 1.1rem; }
.besoin-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }

/* ── NOTRE COACHING ── */
.coaching-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.coaching-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.coaching-card:hover { border-color: var(--border-accent); box-shadow: 0 4px 20px var(--primary-glow); }
.coaching-icon { font-size: 2rem; margin-bottom: 0.85rem; }
.coaching-card h3 { font-size: 1.15rem; margin-bottom: 0.85rem; }
.coaching-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.85rem; }
.coaching-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.coaching-card li { font-size: 0.86rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; }
.coaching-card li::before { content: '→'; position: absolute; left: 0; color: var(--primary); }
.coaching-card li strong { color: var(--primary); }

.coaching-sessions { margin-top: 3rem; text-align: center; }
.coaching-sessions h3 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 0.6rem; }
.coaching-sessions > p { color: var(--text-muted); margin-bottom: 2.25rem; }
.sessions-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.step {
  display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
  padding: 1.5rem 1rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.step-num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.step-text { font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ── POURQUOI NOUS ── */
.pourquoi-features {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-bottom: 3.5rem;
}
.feature {
  display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
  padding: 1.75rem 1rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; font-size: 0.88rem; font-weight: 500;
  transition: border-color 0.3s, transform 0.3s;
}
.feature:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.feature-icon { font-size: 2rem; }

.pourquoi-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; margin-bottom: 3rem;
}
.pourquoi-text p { color: var(--text-muted); margin-bottom: 0.85rem; font-size: 0.94rem; }
.pourquoi-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.25rem 0; }
.pourquoi-list li {
  padding: 0.6rem 1rem; border-left: 2px solid var(--primary);
  font-size: 0.9rem;
}
.pourquoi-list li strong { color: var(--text); font-size: 0.95rem; }
.pourquoi-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pourquoi-img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-accent); }

.pourquoi-quote { text-align: center; margin-bottom: 3rem; }
.pourquoi-quote blockquote {
  display: inline-block; font-size: 1.2rem; border: none; padding: 0;
  font-family: var(--font-display); color: var(--text); font-style: italic;
}

.pourquoi-videos { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; margin-top: 2.5rem; }
.video-card { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--border); }
.video-card video { width: 100%; display: block; max-height: 500px; object-fit: contain; }
.video-card p { padding: 0.65rem 1rem; font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  cursor: default;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.testimonial-quote {
  font-family: var(--font-display); font-size: 4.5rem;
  line-height: 0.7; color: var(--primary); opacity: 0.4;
  margin-bottom: 0.75rem; user-select: none;
}
.testimonial-text {
  font-size: 0.93rem; color: var(--text-muted); line-height: 1.85;
  font-style: italic; flex: 1; margin-bottom: 1.5rem;
}
.testimonial-text strong { font-style: normal; color: var(--primary); }
.testimonial-author { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.author-info strong { display: block; font-size: 0.95rem; color: var(--text); }
.author-info span { font-size: 0.78rem; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; }

/* Professional endorsements */
.pros-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.75rem; margin-top: 3rem; }
.pro-card {
  display: grid; grid-template-columns: 180px 1fr;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.pro-card:hover { border-color: var(--border-accent); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.pro-image { overflow: hidden; }
.pro-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; min-height: 220px; }
.pro-image-split { display: grid; grid-template-rows: 1fr 1fr; }
.pro-image-split img { min-height: 110px; }
.pro-content { padding: 1.4rem; }
.pro-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--primary); margin-bottom: 0.2rem; }
.pro-title { font-size: 0.76rem; color: var(--text-muted); font-style: italic; display: block; margin-bottom: 0.9rem; }
.pro-content p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 0.6rem; line-height: 1.7; }
.pro-sign { font-style: italic; color: var(--text-muted); }
.griffe { height: 34px; width: auto; margin-top: 0.5rem; }

/* ── PHOTO GALLERY ── */
.photo-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0.65rem;
}
.photo-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1; cursor: pointer; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.photo-item:hover img { transform: scale(1.06); }
.photo-overlay {
  position: absolute; inset: 0;
  background: rgba(197,68,92,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.photo-overlay span { color: white; font-size: 2.2rem; font-weight: 200; }
.photo-item:hover .photo-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.96); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08); border: none; color: white;
  font-size: 1.8rem; cursor: pointer; border-radius: 50%;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--primary); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1rem; }
.video-grid .video-card { min-height: 0; }
.video-grid .video-card video { max-height: 220px; }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-logo { height: 70px; width: auto; margin-bottom: 2.25rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.contact-value { font-size: 0.97rem; color: var(--text); transition: color 0.3s; }
.contact-value:hover { color: var(--primary); }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { display: block; filter: grayscale(0.6) invert(0.85) hue-rotate(185deg); }

/* FOOTER */
footer {
  text-align: center; padding: 2rem;
  background: var(--bg); border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .patrick-grid { grid-template-columns: 180px 1fr 240px; }
  .palmares-grid { grid-template-columns: 1fr; }
  .palmares-image { max-width: 480px; margin: 0 auto; }
  .pourquoi-features { grid-template-columns: repeat(2,1fr); }
  .pourquoi-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .pros-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3,1fr); }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .section-light, .section-dark { padding: 4rem 0; }
  .patrick-grid { grid-template-columns: 1fr; text-align: center; }
  .patrick-logo { display: none; }
  .patrick-panther { max-width: 280px; margin: 0 auto; }
  .besoin-grid { grid-template-columns: 1fr; }
  .coaching-grid { grid-template-columns: 1fr; }
  .sessions-steps { grid-template-columns: repeat(2,1fr); }
  .pourquoi-videos { grid-template-columns: 1fr; }
  .pourquoi-images { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2,1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .pro-card { grid-template-columns: 1fr; }
  .pro-image img { height: 220px; min-height: unset; }
  .pro-image-split { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 1rem; }
  .hero-logo img { height: 70px; }
  .sessions-steps { grid-template-columns: 1fr; }
  .pourquoi-features { grid-template-columns: 1fr 1fr; }
}
