/* ==========================================================================
   OPEQ — Base Styles
   Shared reset, utilities, buttons, footer, certifications band.
   Extracted from the static HTML pages' repeated inline CSS.
   ========================================================================== */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--opeq-cream); color: var(--fg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, a { cursor: pointer; }

/* ── Utilities ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }
@media (min-width: 1200px) { .container { padding: 0 64px; } }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1; padding: 16px 28px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(40,170,222,.4); }
.btn--primary { background: var(--opeq-blue); color: #fff; border-color: var(--opeq-blue); }
.btn--primary:hover { background: #1F8DBA; border-color: #1F8DBA; }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--ghost-navy { background: transparent; color: var(--opeq-navy); border-color: var(--opeq-navy); }
.btn--ghost-navy:hover { background: var(--opeq-navy); color: var(--opeq-cream); }
.btn--green { background: var(--opeq-green-deep); color: #fff; border-color: var(--opeq-green-deep); }
.btn--green:hover { background: #3F8A23; border-color: #3F8A23; }
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }

/* ── White logo filter (nav + footer on dark background) ── */
.nav__logo, .footer__logo { filter: brightness(0) invert(1); }

/* ── Section divider ── */
.section-divider { width: 64px; height: 6px; border-radius: 4px; background: var(--opeq-blue); margin: 0 auto 28px; }

/* ── Common section headings ── */
.section-head { text-align: center; margin-bottom: 52px; }
.section-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--opeq-blue); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,5vw,60px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--opeq-navy); }
.section-sub { font-size: clamp(16px,2vw,19px); color: var(--fg-muted); max-width: 560px; margin: 16px auto 0; line-height: 1.6; }

/* ==========================================================================
   LOGO BAND (partner logos strip)
   ========================================================================== */
.logo-band { background: var(--opeq-cream); padding: 56px 0 64px; border-top: 1px solid rgba(14,40,65,.05); border-bottom: 1px solid rgba(14,40,65,.05); }
.logo-band__head { text-align: center; margin-bottom: 36px; }
.logo-band__eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.logo-band__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(24px,3vw,36px); text-transform: uppercase; color: var(--opeq-navy); line-height: 1.05; margin-top: 8px; }
.logo-band__rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; max-width: 1100px; margin: 0 auto; }
.partner-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 152px; height: 64px; padding: 0 22px; background: #fff; border: 1px solid rgba(14,40,65,.08); border-radius: 14px; font-family: var(--font-body); font-weight: 800; font-size: 16px; color: var(--opeq-navy); letter-spacing: -.005em; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; text-align: center; line-height: 1.1; }
.partner-logo--img { padding: 12px 22px; }
.partner-logo--img img { max-height: 44px; width: auto; max-width: 130px; object-fit: contain; transition: transform .15s; }
.partner-logo--img:hover img { transform: scale(1.05); }
.partner-logo:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 18px rgba(14,40,65,.08); border-color: rgba(14,40,65,.14); }
.partner-logo--telus { color: #4b286d; font-style: italic; letter-spacing: -.02em; font-size: 19px; }
.partner-logo--gouvqc { font-size: 13px; color: #095797; flex-direction: column; gap: 2px; line-height: 1.05; }
.partner-logo--gouvqc small { font-size: 10px; font-weight: 600; letter-spacing: .04em; color: rgba(9,87,151,.7); text-transform: uppercase; }
.partner-logo--recyc { color: #2d8c4f; font-size: 14px; letter-spacing: .02em; }
.partner-logo--centraide { color: #c8102e; font-style: italic; font-size: 17px; }
.partner-logo--csdm { color: #003e7e; font-size: 14px; letter-spacing: .03em; flex-direction: column; gap: 1px; line-height: 1.05; }
.partner-logo--csdm small { font-size: 9px; font-weight: 600; letter-spacing: .06em; opacity: .7; text-transform: uppercase; }
.partner-logo--fierbourg { color: #003e7e; font-size: 16px; }
.partner-logo--microsoft { color: #5e5e5e; font-size: 15px; letter-spacing: -.01em; }
.partner-logo--telus__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4b286d; margin-right: 6px; }
@media (max-width: 640px) {
  .partner-logo { min-width: 132px; height: 56px; font-size: 14px; padding: 0 16px; }
  .partner-logo--telus { font-size: 16px; }
  .partner-logo--gouvqc { font-size: 11px; }
  .partner-logo--centraide { font-size: 14px; }
}

/* ==========================================================================
   CERTIFICATIONS BAND
   ========================================================================== */
.partners { background: #fff; padding: 64px 0; }
.partners__head { text-align: center; margin-bottom: 40px; }
.partners__eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0; }
.partners__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px; }
.partner-badge { background: var(--opeq-cream); border-radius: 16px; padding: 18px 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 148px; border: 1px solid rgba(28,43,56,.08); }
.partner-badge__icon { font-size: 32px; }
.partner-badge__name { font-weight: 700; font-size: 14px; color: var(--opeq-navy); text-align: center; line-height: 1.3; }
.partner-badge__sub { font-size: 12px; color: var(--fg-muted); text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--opeq-navy); color: var(--opeq-cream); padding: 64px 0 0; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo { height: 30px; width: auto; }
.footer__tagline { font-size: 15px; line-height: 1.6; color: rgba(245,243,240,.82); max-width: 280px; }
.footer__socials { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__social { width: 40px; height: 40px; border-radius: 50%; background: rgba(245,243,240,.08); display: flex; align-items: center; justify-content: center; transition: background .15s; text-decoration: none; }
.footer__social:hover { background: rgba(40,170,222,.25); }
.footer__social img { width: 22px; height: 22px; }

.footer__col-title { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,243,240,.78); margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 16px; color: rgba(245,243,240,.92); text-decoration: none; transition: color .15s; }
.footer__links a:hover { color: #fff; }

.footer__newsletter p { font-size: 15px; color: rgba(245,243,240,.82); line-height: 1.55; margin-bottom: 16px; }
.footer__form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__form input { flex: 1 1 160px; padding: 12px 16px; border-radius: 999px; border: 1.5px solid rgba(245,243,240,.2); background: rgba(245,243,240,.06); color: var(--opeq-cream); font-family: var(--font-body); font-size: 14px; }
.footer__form input::placeholder { color: rgba(245,243,240,.6); }
.footer__form input:focus { outline: 0; border-color: var(--opeq-blue); }
.footer__form .btn { padding: 12px 20px; font-size: 14px; }

.footer__bottom { margin-top: 48px; border-top: 1px solid rgba(245,243,240,.18); padding: 28px 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer__copy { font-size: 14px; color: rgba(245,243,240,.7); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 14px; color: rgba(245,243,240,.7); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245,243,240,.25); }
.footer__legal a:hover { color: #fff; text-decoration-color: var(--opeq-blue); }
