/* ==============================================
   FNG - Les Fondations Nouvelle Génération Inc.
   Static showcase build for sandbox.nerdmarketing.ca
   ============================================== */

:root {
  --bg-dark: #0d0d10;
  --bg-darker: #08080a;
  --bg-light: #f5f5f5;
  --yellow: #f5b800;
  --yellow-dark: #e0a800;
  --orange: #ff8a1e;
  --text-light: #ffffff;
  --text-muted: #b8b8b8;
  --text-dark: #1a1a1a;
  --text-dark-muted: #555;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-light: rgba(0, 0, 0, 0.1);
  --container-max: 1380px;
  --pad-x: clamp(20px, 4vw, 60px);
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: lowercase;
  color: var(--yellow);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--yellow); }

.lead { font-size: 1.05rem; color: var(--text-muted); max-width: 880px; margin: 0 auto 28px; }

.text-center { text-align: center; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 12px 24px; font-size: 0.85rem; }
.btn-primary {
  background: var(--yellow);
  color: var(--text-dark);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-ghost-dark {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}
.btn-ghost-dark:hover { background: var(--text-dark); color: var(--text-light); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 14px; }

/* ============== HEADER ============== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
}
.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-shield { width: 64px; height: auto; }
.brand-badge { width: 72px; height: auto; }
.brand-wordmark { width: 130px; height: auto; }

.main-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--yellow); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.2s;
}
.main-nav a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: 12px; }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.4);
  z-index: -1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,16,0.5) 0%, rgba(13,13,16,0.9) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  margin-bottom: 30px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.brush {
  display: inline-block;
  position: relative;
  padding: 0 18px;
  color: var(--text-dark);
  background: var(--yellow);
  transform: rotate(-2deg);
}

.video-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border: 4px solid rgba(255,255,255,0.1);
}
.hero-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--text-dark);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 8px;
  box-shadow: 0 0 0 8px rgba(245,184,0,0.3);
  transition: all 0.2s;
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 14px rgba(245,184,0,0.2);
}

/* ============== STATS ============== */
.stats {
  background: var(--bg-darker);
  padding: 60px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 20px 30px;
  border-right: 1px solid var(--border-dark);
  text-align: left;
}
.stat:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============== SECTIONS GENERIC ============== */
.intro-block, .waterproof, .about, .faq {
  padding: 100px 0;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse .col-img { order: 2; }

.intro-block { background: var(--bg-light); color: var(--text-dark); }
.intro-block .eyebrow { color: var(--orange); }
.intro-block h2 { color: var(--text-dark); margin-bottom: 24px; }
.intro-block p { color: var(--text-dark-muted); margin-bottom: 16px; font-size: 1.05rem; }
.intro-block .cta-row { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

.waterproof { background: var(--bg-light); color: var(--text-dark); border-top: 4px solid var(--yellow); }
.waterproof .eyebrow { color: var(--orange); }
.waterproof h2 { color: var(--text-dark); margin-bottom: 24px; }
.waterproof p { color: var(--text-dark-muted); margin-bottom: 16px; }

.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2a2a30 0%, #404048 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 6rem;
}
.img-team { background-image: linear-gradient(135deg, rgba(13,13,16,0.7), rgba(13,13,16,0.7)), url('images/hero-bg.jpg'); background-size: cover; background-position: center; }
.img-about { background-image: linear-gradient(135deg, rgba(13,13,16,0.6), rgba(13,13,16,0.6)), url('images/hero-bg.jpg'); background-size: cover; background-position: center; }
.img-faq { background: linear-gradient(135deg, #f5b800, #ff8a1e); color: rgba(0,0,0,0.2); }

.wp-img-stack {
  position: relative;
  aspect-ratio: 1;
}
.wp-img-stack .img-wp-1 {
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a4d8c, #2e7bbf);
  color: rgba(255,255,255,0.3);
}
.wp-img-stack .img-wp-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2c3e50, #4a6278);
  color: rgba(255,255,255,0.3);
  border: 6px solid var(--bg-light);
}

/* ============== SERVICES GRID ============== */
.services {
  background: var(--bg-dark);
  padding: 100px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head h2 { margin-bottom: 20px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border-dark);
}
.service-card {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--bg-darker);
  transition: background 0.2s;
}
.service-card:hover { background: #14141a; }
.service-card:nth-child(4n) { border-right: none; }
.service-card:nth-last-child(-n+4) { border-bottom: none; }
.service-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
}
.service-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(245,184,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--yellow);
}
.service-card--featured {
  background: var(--yellow);
  color: var(--text-dark);
}
.service-card--featured:hover { background: var(--yellow-dark); }
.service-card--featured .service-icon {
  background: rgba(0,0,0,0.1);
  color: var(--text-dark);
}
.service-card--featured h3 { color: var(--text-dark); }
.service-card--featured .btn-primary {
  background: var(--text-dark);
  color: var(--yellow);
}
.service-card--featured .btn-primary:hover { background: #000; }

/* ============== ZONES ============== */
.zones {
  background: var(--bg-darker);
  padding: 100px 0;
}
.zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.zone-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-left: 4px solid var(--yellow);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}
.zone-card:hover { border-left-color: var(--orange); transform: translateX(4px); }
.zone-card i {
  color: var(--yellow);
  font-size: 1.5rem;
}
.zone-card h4 {
  font-size: 1.15rem;
  margin: 0;
}

/* ============== ABOUT ============== */
.about { background: var(--bg-dark); }
.about h2 { margin-bottom: 36px; }
.advantages {
  display: flex;
  flex-direction: column;
}
.advantage {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
}
.advantage:last-child { border-bottom: none; }
.advantage h4 {
  color: var(--yellow);
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.advantage p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============== REVIEWS ============== */
.reviews {
  background: var(--bg-darker);
  padding: 100px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars {
  display: flex;
  gap: 4px;
  color: var(--yellow);
  font-size: 1.1rem;
}
.review-card p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
  flex-grow: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}
.review-author strong { color: var(--yellow); }
.review-author span { color: var(--text-muted); font-size: 0.85rem; }

/* ============== FAQ ============== */
.faq { background: var(--bg-dark); }
.faq h2 { margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-light);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  padding-right: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:hover { color: var(--yellow); }
.faq-item p {
  padding: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--bg-darker);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand h3 {
  font-size: 1.4rem;
  margin: 20px 0 24px;
  max-width: 320px;
}
.footer-shield {
  width: 100px;
  height: auto;
}
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-contact i {
  color: var(--yellow);
  margin-top: 4px;
}
.footer-contact a:hover { color: var(--yellow); }

.rbq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(245,184,0,0.1);
  color: var(--yellow);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.rbq::before {
  content: '\f132';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.2s;
}
.socials a:hover { background: var(--yellow); color: var(--text-dark); }

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--yellow);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--yellow); }

.search-form {
  display: flex;
  margin-top: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.search-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
}
.search-form input::placeholder { color: var(--text-muted); }
.search-form button {
  background: var(--yellow);
  border: none;
  color: var(--text-dark);
  width: 48px;
  cursor: pointer;
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--yellow); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .nav-wrap { grid-template-columns: auto 1fr; }
  .main-nav { display: none; }
  .stats-grid, .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(4n) { border-right: 1px solid var(--border-dark); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--border-dark); }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }
  .stat:nth-child(2n) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero-inner, .two-col, .stats-grid, .services-grid, .reviews-grid, .zones-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col.reverse .col-img { order: 0; }
  .stat { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .service-card { border-right: none !important; border-bottom: 1px solid var(--border-dark) !important; }
  .service-card:last-child { border-bottom: none !important; }
  .nav-cta .btn-ghost { display: none; }
  .brand-wordmark { display: none; }
  .intro-block, .waterproof, .about, .faq, .services, .zones, .reviews { padding: 60px 0; }
  .footer-bottom { justify-content: center; text-align: center; }
}
