/* ===== IGM FAÇADE — SHARED STYLES ===== */
:root {
  --bg: #f4f6f9;
  --bg2: #eceff3;
  --bg3: #e2e7ed;
  --accent: #d81f24;
  --accent2: #ea4448;
  --text: #1b222c;
  --text-muted: #5b6673;
  --border: rgba(216,31,36,0.18);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 300; overflow-x: hidden; }

/* LOADER */
#loader { position: fixed; inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 99999; transition: opacity 0.8s ease, visibility 0.8s ease; }
#loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.loader-logo { width: 60px; height: 60px; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; animation: loaderPulse 1.4s ease infinite; }
.loader-logo span { font-family: var(--font-display); font-size: 22px; color: var(--accent); font-weight: 700; }
.loader-line { width: 0; height: 1px; background: var(--accent); animation: loaderLine 1.2s ease forwards 0.3s; }
@keyframes loaderPulse { 0%,100%{opacity:.4;transform:scale(.95)} 50%{opacity:1;transform:scale(1)} }
@keyframes loaderLine { to { width: 80px; } }

/* NAV */
nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 0 60px; display: flex; align-items: center; justify-content: space-between; height: 72px; background: rgba(244,246,249,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: all 0.3s ease; }
nav.scrolled { height: 60px; background: rgba(244,246,249,0.98); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 46px; width: auto; display: block; transition: height 0.3s; }
nav.scrolled .nav-logo img { height: 38px; }
.nav-logo-box { width: 38px; height: 38px; border: 1px solid var(--accent); display: flex; align-items: center; justify-content: center; }
.nav-logo-box span { font-family: var(--font-display); font-size: 16px; color: var(--accent); font-weight: 700; }
.nav-logo-text { font-family: var(--font-display); font-size: 18px; color: var(--text); letter-spacing: .05em; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; transition: color .3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-socials { display: flex; gap: 16px; }
.nav-socials a { color: var(--text-muted); font-size: 15px; transition: color .3s; }
.nav-socials a:hover { color: var(--accent); }
.nav-cta { padding: 9px 20px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: all .3s; }
.nav-cta:hover { background: var(--accent); color: var(--bg); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 1px; background: var(--text); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 0; top: 72px; background: rgba(244,246,249,0.98); backdrop-filter: blur(20px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 40px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a { font-family: var(--font-display); font-size: 36px; color: var(--text); text-decoration: none; letter-spacing: .05em; transition: color .3s; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-socials { display: flex; gap: 24px; margin-top: 20px; }
.mobile-socials a { font-size: 20px; color: var(--text-muted) !important; }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 40px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--font-display); font-size: 20px; color: var(--accent); }
.footer-logo img { height: 36px; width: auto; display: block; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 12px; letter-spacing: .08em; transition: color .3s; }
.footer-links a:hover { color: var(--text); }
footer p { font-size: 12px; color: var(--text-muted); }

/* UTILS */
.section-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.btn-primary { padding: 14px 32px; background: var(--accent); color: var(--bg); text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: all .3s; display: inline-block; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-ghost { padding: 14px 32px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: all .3s; display: inline-block; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE NAV */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-cta, .nav-socials { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .nav-logo img { height: 38px; }
  footer { flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; }
  .footer-links { justify-content: center; }
}

/* SHARED NAV JS */
