/* ══════════════════════════════════════
   SARL I3E — Feuille de style principale
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --gold: #C8A951;
  --gold-light: #E4C97A;
  --dark: #0D1117;
  --dark-2: #141B24;
  --dark-3: #1C2637;
  --white: #F5F0E8;
  --white-soft: #E8E0D0;
  --text-muted: #8A9BB0;
  --accent: #2ECC8A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── NAV ── */
#nav-wrapper {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  pointer-events: none;
  animation: fadeDown 0.9s ease both;
}
.nav-topbar {
  pointer-events: all;
  background: rgba(13,17,23,0.95);
  border-bottom: 1px solid rgba(200,169,81,0.12);
  display: flex; justify-content: flex-end; align-items: center;
  padding: 7px 48px; gap: 28px;
}
.nav-topbar a {
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-muted); text-decoration: none;
  display: flex; align-items: center; gap: 7px;
  transition: color 0.2s;
}
.nav-topbar a:hover { color: var(--gold); }
.nav-topbar .sep { color: rgba(200,169,81,0.25); }
.nav-pill-wrap {
  display: flex; justify-content: center; pointer-events: all;
  padding: 14px 0 0;
}
.nav-pill {
  display: flex; align-items: center; gap: 0;
  background: rgba(20,27,36,0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200,169,81,0.18);
  border-radius: 60px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s;
}
.nav-pill-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.05em;
  padding-right: 28px;
  border-right: 1px solid rgba(200,169,81,0.2);
  margin-right: 10px;
}
.nav-pill-logo span { color: var(--white); font-weight: 300; }
.nav-pill-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-pill-links li a {
  display: block; padding: 8px 18px;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; border-radius: 40px;
  transition: color 0.25s, background 0.25s;
}
.nav-pill-links li a:hover,
.nav-pill-links li a.active { color: var(--white); background: rgba(200,169,81,0.12); }
.nav-pill-links li a.active { color: var(--gold); }
.nav-pill-cta {
  background: var(--gold) !important; color: var(--dark) !important;
  padding: 10px 22px !important; border-radius: 40px !important;
  font-weight: 600 !important; margin-left: 8px;
}
.nav-pill-cta:hover { background: var(--gold-light) !important; }
.nav-burger {
  display: none; pointer-events: all;
  position: fixed; top: 16px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20,27,36,0.95);
  border: 1px solid rgba(200,169,81,0.2);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; z-index: 300;
}
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--gold); transition: all 0.3s; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 250;
  background: rgba(13,17,23,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300;
  color: var(--white); text-decoration: none; transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .mobile-cta {
  font-family: 'Jost', sans-serif; font-size: 0.85rem;
  background: var(--gold); color: var(--dark);
  padding: 14px 40px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; border-radius: 40px; margin-top: 8px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 160px 60px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200,169,81,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(46,204,138,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0D1117 0%, #141B24 50%, #0f1a2e 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(200,169,81,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,81,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; max-width: 720px; animation: fadeUp 1s ease 0.3s both; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 28px;
}
h1 em { font-style: italic; color: var(--gold); }
.hero-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); max-width: 520px; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 20px; align-items: center; }
.btn-primary {
  background: var(--gold); color: var(--dark); padding: 16px 40px;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; transition: all 0.3s;
  display: inline-block; border-radius: 4px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  color: var(--white-soft); font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  display: flex; align-items: center; gap: 10px; transition: color 0.3s;
}
.btn-ghost::after { content: '→'; font-size: 1.1rem; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--gold); }
.btn-ghost:hover::after { transform: translateX(4px); }
.hero-stats {
  margin-top: 80px; display: flex; gap: 60px;
  padding-top: 40px; border-top: 1px solid rgba(200,169,81,0.2);
  animation: fadeUp 1s ease 0.5s both;
}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }
.hero-visual {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 420px; height: 420px; animation: fadeIn 1.4s ease 0.6s both;
}
.sun-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(200,169,81,0.2);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: rotate 20s linear infinite;
}
.sun-ring:nth-child(1) { width: 420px; height: 420px; animation-duration: 40s; }
.sun-ring:nth-child(2) { width: 320px; height: 320px; animation-duration: 30s; animation-direction: reverse; border-color: rgba(200,169,81,0.15); }
.sun-ring:nth-child(3) { width: 220px; height: 220px; animation-duration: 20s; }
.sun-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,81,0.6), rgba(200,169,81,0.1));
  box-shadow: 0 0 60px rgba(200,169,81,0.4), 0 0 120px rgba(200,169,81,0.15);
  animation: pulse 3s ease-in-out infinite;
}
.sun-ray {
  position: absolute; top: 50%; left: 50%; width: 1px; height: 60px;
  background: linear-gradient(rgba(200,169,81,0.5), transparent); transform-origin: 0 0;
}

/* ── SECTIONS ── */
section { padding: 120px 60px; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.section-label.center { justify-content: center; }
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 300; line-height: 1.15; margin-bottom: 20px;
}
h2 em { font-style: italic; color: var(--gold); }

/* ── GALERIE ── */
#galerie { background: var(--dark); padding: 100px 0 120px; }
.galerie-header { text-align: center; max-width: 600px; margin: 0 auto 60px; padding: 0 60px; }
.galerie-header p { color: var(--text-muted); line-height: 1.8; }
.gallery-masonry {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 6px; padding: 0 6px;
}
.gal-item { overflow: hidden; position: relative; cursor: pointer; background: var(--dark-3); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease, filter 0.4s ease; filter: brightness(0.88) saturate(0.9); }
.gal-item:hover img { transform: scale(1.05); filter: brightness(1) saturate(1.1); }
.gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,17,23,0.85) 0%, transparent 50%); opacity: 0; transition: opacity 0.4s; display: flex; align-items: flex-end; padding: 20px; }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.gal-item:nth-child(1) { grid-column: span 5; height: 340px; }
.gal-item:nth-child(2) { grid-column: span 4; height: 340px; }
.gal-item:nth-child(3) { grid-column: span 3; height: 340px; }
.gal-item:nth-child(4) { grid-column: span 3; height: 280px; }
.gal-item:nth-child(5) { grid-column: span 5; height: 280px; }
.gal-item:nth-child(6) { grid-column: span 4; height: 280px; }

/* ── LIGHTBOX ── */
#lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.92); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 1px solid rgba(200,169,81,0.2); animation: fadeIn 0.3s ease; }
#lb-close { position: absolute; top: 24px; right: 32px; font-size: 2rem; color: var(--gold); cursor: pointer; background: none; border: none; line-height: 1; }
#lb-prev, #lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2rem; color: var(--white); cursor: pointer; background: rgba(200,169,81,0.15); border: 1px solid rgba(200,169,81,0.3); width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
#lb-prev:hover, #lb-next:hover { background: rgba(200,169,81,0.3); }
#lb-prev { left: 20px; }
#lb-next { right: 20px; }
#lb-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* ── EXPERTISE ── */
#expertise { background: var(--dark-2); }
.expertise-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.expertise-intro p { color: var(--text-muted); line-height: 1.9; font-size: 1rem; max-width: 480px; margin-bottom: 20px; }
.certif-badges { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.badge { border: 1px solid rgba(200,169,81,0.4); padding: 8px 18px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.expertise-cards { display: flex; flex-direction: column; gap: 2px; }
.exp-card { background: var(--dark-3); padding: 32px 36px; display: flex; gap: 28px; align-items: flex-start; border-left: 3px solid transparent; transition: border-color 0.3s, background 0.3s; cursor: default; }
.exp-card:hover { border-left-color: var(--gold); background: rgba(200,169,81,0.04); }
.exp-icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(200,169,81,0.1); font-size: 1.4rem; }
.exp-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.exp-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ── PROCESS ── */
#process { background: var(--dark); }
.process-header { text-align: center; max-width: 600px; margin: 0 auto 80px; }
.process-header p { color: var(--text-muted); line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(200,169,81,0.1); max-width: 1200px; margin: 0 auto; }
.step { background: var(--dark); padding: 48px 36px; position: relative; overflow: hidden; transition: background 0.3s; }
.step:hover { background: var(--dark-2); }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 5rem; font-weight: 700; color: rgba(200,169,81,0.08); line-height: 1; position: absolute; top: 12px; right: 20px; transition: color 0.3s; }
.step:hover .step-num { color: rgba(200,169,81,0.14); }
.step-icon { font-size: 1.8rem; margin-bottom: 20px; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 500; margin-bottom: 14px; }
.step-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

/* ── ENGAGEMENTS ── */
#engagements { background: var(--dark-2); }
.eng-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: 1200px; margin: 0 auto; }
.eng-text p { color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; }
.eng-list { display: flex; flex-direction: column; gap: 24px; margin-top: 16px; }
.eng-item { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(200,169,81,0.1); }
.eng-item:last-child { border-bottom: none; }
.eng-check { width: 28px; height: 28px; flex-shrink: 0; background: rgba(46,204,138,0.12); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 0.9rem; margin-top: 2px; }
.eng-item-title { font-weight: 500; margin-bottom: 5px; font-size: 0.95rem; }
.eng-item-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.garanties-box { background: linear-gradient(135deg, var(--dark-3), rgba(200,169,81,0.05)); border: 1px solid rgba(200,169,81,0.2); padding: 48px; }
.garanties-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 32px; }
.garantie-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(200,169,81,0.1); }
.garantie-row:last-child { border-bottom: none; }
.garantie-label { font-size: 0.88rem; color: var(--text-muted); }
.garantie-val { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--gold); }

/* ── TÉMOIGNAGES ── */
#temoignages { background: var(--dark); }
.temo-header { text-align: center; max-width: 600px; margin: 0 auto 70px; }
.temo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.temo-card { background: var(--dark-2); padding: 40px; border-top: 2px solid transparent; transition: border-color 0.3s; }
.temo-card:hover { border-top-color: var(--gold); }
.temo-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 20px; letter-spacing: 3px; }
.temo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; line-height: 1.75; font-style: italic; color: var(--white-soft); margin-bottom: 28px; }
.temo-author { display: flex; align-items: center; gap: 14px; }
.temo-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--dark-3); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border: 1px solid rgba(200,169,81,0.3); }
.temo-name { font-weight: 500; font-size: 0.9rem; }
.temo-loc { font-size: 0.78rem; color: var(--text-muted); }

/* ── CONTACT ── */
#contact { background: var(--dark-2); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; max-width: 1200px; margin: 0 auto; }
.contact-info > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 48px; }
.contact-items { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(200,169,81,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-item-title { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-item-val { font-size: 0.95rem; color: var(--white-soft); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea { background: var(--dark-3); border: 1px solid rgba(200,169,81,0.15); padding: 14px 18px; color: var(--white); font-family: 'Jost', sans-serif; font-size: 0.9rem; transition: border-color 0.3s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark-3); }
.form-submit { background: var(--gold); color: var(--dark); border: none; padding: 18px 40px; font-family: 'Jost', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: all 0.3s; align-self: flex-start; border-radius: 4px; }
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 60px; border-top: 1px solid rgba(200,169,81,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto 60px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.footer-logo span { color: var(--white); font-weight: 300; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(200,169,81,0.1); font-size: 0.78rem; color: var(--text-muted); }
.rge-label { background: rgba(46,204,138,0.1); border: 1px solid rgba(46,204,138,0.3); padding: 4px 14px; color: var(--accent); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── ANIMATIONS ── */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rotate { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%,-50%) scale(1.08); opacity: 1; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  #nav-wrapper .nav-topbar,
  .nav-pill-wrap { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }
  section { padding: 80px 24px; }
  #hero { padding: 110px 24px 60px; }
  .hero-visual { display: none; }
  .expertise-layout, .eng-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .temo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; flex-wrap: wrap; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .gal-item:nth-child(n) { grid-column: span 1 !important; height: 200px !important; }
}
