/* ============================================
   DESIGN SYSTEM — Libre Solution Finance
   Brand Orange: #EF4A00
   Anthracite:   #4A4A4A
   ============================================ */

:root {
  --orange: #EF4A00;
  --orange-light: #FF6B2B;
  --orange-glow: rgba(239, 74, 0, 0.12);
  --orange-subtle: rgba(239, 74, 0, 0.06);
  --anthracite: #4A4A4A;
  --dark: #1A1A1A;
  --charcoal: #2D2D2D;
  --warm-gray: #6B6B6B;
  --light-gray: #F7F5F3;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.12);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 80px);
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

/* Logo blanc visible par défaut (hero transparent), logo couleur masqué */
.nav-logo .logo-white { display: block; }
.nav-logo .logo-color { display: none; }

/* Au scroll : on inverse — logo couleur visible, logo blanc masqué */
.nav.scrolled .nav-logo .logo-white { display: none; }
.nav.scrolled .nav-logo .logo-color { display: block; }

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

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 18px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav.scrolled .nav-links a { color: var(--anthracite); }
.nav.scrolled .nav-links a:hover { color: var(--orange); background: var(--orange-subtle); }

.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--orange) !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  box-shadow: 0 2px 12px rgba(239, 74, 0, 0.3);
}

.nav-cta:hover {
  background: var(--orange-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(239, 74, 0, 0.4) !important;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav.scrolled .nav-toggle span { background: var(--anthracite); }

/* ============================================
   HERO — CENTERED IMMERSIVE
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.70) 50%, rgba(26,26,26,0.55) 100%),
              url('../images/photos-site/premium_photo-1661884151947-ad09dee18a07.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange-light);
}

.hero .subtitle {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: #FFC9B0;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-button {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(239, 74, 0, 0.35);
}

.hero-button:hover {
  background: var(--orange-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(239, 74, 0, 0.3);
}

/* Keep btn-primary for body CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(239, 74, 0, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(239, 74, 0, 0.45);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

/* ============================================
   BIO SECTION
   ============================================ */

.bio {
  background: var(--white);
  padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 80px);
}

.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.bio-portrait {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(239, 74, 0, 0.3);
  box-shadow: 0 0 0 8px rgba(239, 74, 0, 0.06);
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.bio-text .section-label {
  justify-content: flex-start;
}

.bio-text h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
}

.bio-text p {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.bio-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bio .credential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-subtle);
  border: 1px solid rgba(239, 74, 0, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

.bio .credential svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   SECTION COMMONS
   ============================================ */

section {
  padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 80px);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
  opacity: 0.4;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--warm-gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   TRUST STRIP (after hero)
   ============================================ */

.trust-strip {
  background: var(--dark);
  padding: 0 clamp(24px, 4vw, 80px);
}

.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.trust-item:last-child { border-right: none; }

.trust-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(239, 74, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.trust-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* ============================================
   SERVICES — 3 CARDS
   ============================================ */

.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px 36px 40px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(239, 74, 0, 0.15);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  opacity: 0;
  transition: var(--transition);
}

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--orange-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--orange);
}

.service-icon-wrap svg {
  width: 30px;
  height: 30px;
  color: var(--orange);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap svg {
  color: var(--white);
}

.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 32px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--anthracite);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.service-features li:first-child { border-top: none; }

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-top: auto;
  transition: var(--transition);
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

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

/* ============================================
   APPROCHE / DIFFERENTIATOR
   ============================================ */

.approach {
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.approach-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.approach-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--orange-subtle);
  border-radius: 20px;
  z-index: -1;
}

.approach-text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.approach-text h2 em {
  font-style: normal;
  color: var(--orange);
}

.approach-text > p {
  font-size: 16px;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 36px;
}

.approach-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.approach-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.approach-point-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--orange-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-point-icon svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.approach-point-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.approach-point-text p {
  font-size: 13.5px;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ============================================
   QUOTE / PHILOSOPHY
   ============================================ */

.philosophy {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.philosophy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-icon {
  width: 56px;
  height: 56px;
  background: rgba(239, 74, 0, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.philosophy-icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange);
}

.philosophy blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 32px;
  font-style: italic;
}

.philosophy cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

.philosophy cite strong {
  color: var(--orange-light);
  font-weight: 600;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 12px;
}

.cta-section .section-subtitle {
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 64px clamp(24px, 4vw, 80px) 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,0.45);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

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

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 12px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .bio-text .section-label { justify-content: center; }
  .bio-credentials { justify-content: center; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .trust-item:last-child { border-bottom: none; }
  .hero h1 { font-size: 2.5rem; }
  .hero .subtitle { font-size: 1.3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

        /* Scroll indicator arrow */
        .scroll-indicator {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.3rem;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.3s ease;
            z-index: 2;
        }
        .scroll-indicator:hover {
            opacity: 1;
        }
        .scroll-indicator span {
            font-size: 0.75rem;
            color: white;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            font-weight: 300;
        }
        .scroll-indicator svg {
            width: 28px;
            height: 28px;
            stroke: white;
            fill: none;
            stroke-width: 2;
            animation: scrollBounce 2s ease-in-out infinite;
        }
        @keyframes scrollBounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(8px); }
        }