/* ─── ZEMES CONSTRUCTIONS ─── */
:root {
  --white: #FFFFFF;
  --dark: #0D0D0D;
  --gold: #C8A96E;
  --secondary: #1A1A1A;
  --text-dark: #0D0D0D;
  --text-light: #FFFFFF;
  --muted: #888888;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-subtitle: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

/* ─── NAVBAR ─── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: var(--white); box-shadow: 0 1px 20px rgba(0,0,0,0.06); transition: background 0.3s ease, box-shadow 0.3s ease; }
.navbar.scrolled { background: var(--white); box-shadow: 0 1px 20px rgba(0,0,0,0.1); }
.logo { display: flex; align-items: center; }
.logo-img { height: 56px; width: auto; object-fit: contain; transition: opacity 0.2s ease; }
.logo:hover .logo-img { opacity: 0.9; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-dark); }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.lang-toggle { display: flex; gap: 0.25rem; }
.lang-btn { background: none; border: none; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: var(--muted); cursor: pointer; padding: 0.35rem 0.5rem; transition: color 0.2s ease; }
.lang-btn:hover, .lang-btn.active { color: var(--text-dark); }
.cta-btn { font-family: var(--font-subtitle); font-size: 0.9rem; letter-spacing: 0.08em; background: var(--gold); color: var(--text-dark); padding: 0.6rem 1.25rem; border: none; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px)); transition: background 0.2s ease, transform 0.2s ease; white-space: nowrap; }
.cta-btn:hover { background: #b8985a; transform: translateY(-1px); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text-dark); }

/* ─── HERO ─── */
.hero { background: var(--white); padding-top: 74px; }
.hero-split { display: flex; width: 100%; min-height: calc(100vh - 74px); }
.hero-left { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 4rem; max-width: 50%; }
.hero-title { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 4rem); font-weight: 600; line-height: 1.15; color: var(--text-dark); margin-bottom: 1.5rem; }
.hero-title-highlight { border-bottom: 3px solid var(--gold); padding-bottom: 0.15em; }
.hero-subtitle { font-size: 1rem; color: var(--muted); margin-bottom: 2rem; max-width: 420px; }
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.btn-gold { font-family: var(--font-subtitle); font-size: 0.95rem; letter-spacing: 0.08em; background: var(--gold); color: var(--text-dark); padding: 0.85rem 1.75rem; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px)); transition: background 0.2s ease, transform 0.2s ease; display: inline-block; }
.btn-gold:hover { background: #b8985a; transform: translateY(-2px); }
.btn-ghost { font-family: var(--font-subtitle); font-size: 0.95rem; letter-spacing: 0.08em; background: transparent; color: var(--text-dark); padding: 0.85rem 1.75rem; border: 2px solid var(--text-dark); transition: background 0.2s ease, color 0.2s ease; display: inline-block; }
.btn-ghost:hover { background: var(--text-dark); color: var(--white); }
.hero-demo { font-size: 0.8rem; font-style: italic; color: var(--muted); }
.hero-right { flex: 1; max-width: 50%; overflow: hidden; height: calc(100vh - 74px); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: contrast(1.05) saturate(1.1) brightness(1.02); }

/* ─── SERVICES ─── */
.services { padding: 5rem 2rem; background: var(--white); }
.section-container { max-width: 1200px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: var(--white); padding: 2.5rem 2rem; border: 3px solid transparent; border-top-color: var(--gold); box-shadow: 0 4px 24px rgba(0,0,0,0.06); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); border-color: var(--gold); }
.service-icon { margin-bottom: 1.5rem; }
.service-icon svg { width: 48px; height: 48px; color: var(--gold); }
.service-card h3 { font-family: var(--font-subtitle); font-size: 1.5rem; letter-spacing: 0.05em; color: var(--text-dark); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }

/* ─── PROJETS ─── */
.projects { padding: 5rem 2rem; background: var(--white); }
.filter-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-tab { font-family: var(--font-subtitle); font-size: 0.9rem; letter-spacing: 0.08em; background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); padding: 0.6rem 1.25rem; cursor: pointer; transition: all 0.2s ease; }
.filter-tab:hover, .filter-tab.active { background: var(--gold); border-color: var(--gold); color: var(--text-dark); }
.projects-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-item { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: pointer; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-item:hover img { transform: scale(1.05); }
.project-placeholder { width: 100%; height: 100%; background: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--muted); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, transparent 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.3s ease; }
.project-item:hover .project-overlay { opacity: 1; }
.project-overlay h4 { font-family: var(--font-title); font-size: 1.1rem; color: var(--white); margin-bottom: 0.25rem; }
.project-overlay p { font-size: 0.85rem; color: var(--muted); }
.project-item.hidden { display: none; }

/* ─── AVANT APRÈS SLIDER ─── */
.before-after { background: #F0F7FF; padding: 80px 2rem; }
.before-after .section-container { display: flex; flex-direction: column; align-items: center; }
.before-after-title { font-family: var(--font-title); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; color: #001F33; text-align: center; margin-bottom: 3rem; border-bottom: 3px solid var(--gold); padding-bottom: 0.5rem; }
.ba-slider-wrapper { max-width: 1000px; width: 100%; margin: 0 auto 32px; }
.ba-slider { position: relative; width: 100%; height: 500px; overflow: hidden; cursor: ew-resize; user-select: none; }
.ba-after, .ba-before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ba-after img, .ba-before img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { width: 50%; overflow: hidden; }
.ba-handle { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 100%; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: ew-resize; }
.ba-line { position: absolute; top: 0; bottom: 0; width: 3px; background: #C8A96E; }
.ba-circle { position: relative; width: 48px; height: 48px; background: #C8A96E; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #001F33; font-size: 22px; font-weight: bold; z-index: 11; box-shadow: 0 4px 16px rgba(0,0,0,0.3); gap: 2px; }
.ba-label { position: absolute; bottom: 20px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; align-items: flex-end; }
.ba-badge { background: #C8A96E; color: #001F33; font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 3px; padding: 6px 16px; display: inline-block; }
.ba-sub { background: rgba(0,30,49,0.90); color: #FFFFFF; font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600; padding: 8px 16px; letter-spacing: 0.5px; }
.before-after-caption { font-family: var(--font-body); font-size: 1rem; font-style: italic; color: #7B9BAD; text-align: center; max-width: 600px; margin: 0 auto; }

/* ─── À PROPOS ─── */
.about { background: var(--dark); padding: 5rem 2rem; }
.about-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-quote { font-family: var(--font-title); font-size: clamp(1.75rem, 3vw, 3rem); font-weight: 500; font-style: italic; color: var(--gold); line-height: 1.3; border: none; margin: 0; }
.about-right { display: flex; flex-direction: column; gap: 2rem; }
.about-team-placeholder { display: none; }
.about-text-block p { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 1rem; }
.about-cta-btn { align-self: flex-start; }

/* ─── CONTACT FORM ─── */
.contact-form-section { background: #003049; padding: 80px 2rem; width: 100%; }
.contact-form-container { max-width: 700px; margin: 0 auto; text-align: center; }
.contact-form-title { font-family: var(--font-subtitle); font-size: clamp(28px, 5vw, 56px); color: #FFFFFF; margin-bottom: 1rem; letter-spacing: 0.02em; }
.contact-form-title::after { content: ''; display: block; width: 60px; height: 3px; background: #C8A96E; margin: 0.5rem auto 0; }
.contact-form-subtitle { font-family: var(--font-body); font-weight: 300; font-size: 1rem; font-style: italic; color: #7B9BAD; margin-bottom: 2.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; text-align: left; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form-row-full { grid-template-columns: 1fr; }
.contact-form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form-field label { font-family: var(--font-body); font-size: 0.9rem; color: #7B9BAD; }
.contact-form-field input, .contact-form-field select, .contact-form-field textarea { background: #001F33; color: #FFFFFF; border: 1px solid #0096C7; border-radius: 0; padding: 16px; font-family: var(--font-body); font-size: 16px; width: 100%; transition: border-color 0.2s ease; }
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form-field input:focus, .contact-form-field select:focus, .contact-form-field textarea:focus { outline: none; border: 2px solid #C8A96E; }
.contact-form-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237B9BAD' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.contact-form-field select option { background: #001F33; color: #FFFFFF; }
.contact-form-field textarea { resize: vertical; min-height: 120px; }
.contact-form-submit { background: #C8A96E; color: #001F33; font-family: var(--font-subtitle); font-size: 20px; letter-spacing: 0.05em; border: none; border-radius: 0; padding: 18px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; margin-top: 0.5rem; width: 100%; }
.contact-form-submit:hover { background: #001F33; color: #C8A96E; border: 2px solid #C8A96E; }
.contact-form-submit:disabled { cursor: not-allowed; opacity: 0.8; }
.contact-form-message { font-family: var(--font-body); font-size: 1rem; text-align: center; margin-top: 1.5rem; }
.contact-form-success { color: #0096C7; }
.contact-form-error { color: #FF4444; }

/* ─── FOOTER ─── */
.footer { background: var(--dark); padding: 4rem 2rem 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.footer-logo { display: block; margin-bottom: 0.5rem; }
.footer-logo-img { height: 64px; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.9rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { text-align: right; }
.footer-contact a { display: block; font-size: 0.95rem; color: rgba(255,255,255,0.9); margin-bottom: 0.5rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact-item { display: block; font-size: 0.95rem; color: rgba(255,255,255,0.9); margin-bottom: 0.5rem; }
.footer-location { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.footer-credit { text-align: center; font-size: 0.75rem; color: var(--muted); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-credit a { color: var(--muted); }
.footer-credit a:hover { color: var(--gold); }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════ TABLET ════════════ */
@media (max-width: 1024px) {
  .hero-split { flex-direction: column; }
  .hero-left { max-width: 100%; padding: 3rem 2rem; min-height: auto; }
  .hero-right { max-width: 100%; height: 50vh; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-masonry { grid-template-columns: repeat(2, 1fr); }
  .about-container { grid-template-columns: 1fr; gap: 2rem; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

/* ════════════ MOBILE ════════════ */
@media (max-width: 768px) {
  .navbar { padding: 0.75rem 1.25rem; }
  .logo-img { height: 44px; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-links.open { display: flex; position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--white); padding: 1.5rem 2rem; gap: 1.25rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 999; }
  .nav-right.open { display: flex; flex-direction: column; position: fixed; top: 226px; left: 0; right: 0; background: var(--white); padding: 1rem 2rem 1.5rem; z-index: 999; align-items: flex-start; gap: 1rem; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 66px; }
  .hero-split { flex-direction: column; }
  .hero-right { order: -1; max-width: 100%; width: 100%; height: 55vw; min-height: 200px; max-height: 300px; }
  .hero-right img { margin-top: 0; height: 100%; width: 100%; object-fit: cover; }
  .hero-left { max-width: 100%; padding: 2rem 1.25rem 2.5rem; min-height: auto; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; gap: 0.75rem; }
  .btn-gold, .btn-ghost { text-align: center; width: 100%; }
  .services { padding: 3rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .projects { padding: 3rem 1.25rem; }
  .projects-masonry { grid-template-columns: 1fr; gap: 1rem; }
  .filter-tabs { gap: 0.4rem; }
  .filter-tab { padding: 0.5rem 0.9rem; font-size: 0.8rem; }
  .before-after { padding: 3rem 1.25rem; }
  .ba-slider { height: 260px; }
  .ba-badge { font-size: 14px; padding: 4px 10px; }
  .ba-sub { font-size: 11px; padding: 4px 8px; }
  .ba-circle { width: 36px; height: 36px; font-size: 16px; }
  .about { padding: 3rem 1.25rem; }
  .about-container { grid-template-columns: 1fr; gap: 2rem; }
  .about-quote { font-size: clamp(1.5rem, 6vw, 2rem); }
  .contact-form-section { padding: 3rem 1.25rem; }
  .contact-form-row { grid-template-columns: 1fr; }
  .footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .footer-links { justify-content: center; }
  .footer-contact { text-align: center; }
}

/* ════════════ SMALL MOBILE ════════════ */
@media (max-width: 480px) {
  .hero-right { height: 60vw; }
  .hero-title { font-size: clamp(1.5rem, 9vw, 2rem); }
  .ba-slider { height: 200px; }
  .footer-links { flex-direction: column; align-items: center; gap: 0.75rem; }
}