/* ==========================================================================
   editIQ — brand stylesheet
   Navy #084f7f · Teal #00bdc2
   ========================================================================== */

:root {
  --navy: #084f7f;
  --navy-dark: #063a5e;
  --teal: #00bdc2;
  --teal-dark: #009ca0;
  --ink: #1c2b36;
  --grey-600: #5b6b76;
  --grey-200: #e7edf1;
  --grey-100: #f4f7f9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(8, 79, 127, 0.25);
  --container: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
h3 { font-size: 1.15rem; color: var(--navy); }
p { margin: 0 0 16px; color: var(--grey-600); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--grey { background: var(--grey-100); }
.section--navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); color: var(--white); }
.section--navy h2 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.78); }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--navy-dark); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 10px 24px -8px rgba(0,189,194,0.6); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost { color: var(--navy); border-color: var(--grey-200); background: var(--white); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav-logo img { height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 480px at 85% -10%, rgba(0,189,194,0.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 110px 0 90px;
}
.hero-ring {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  opacity: 0.9;
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 78px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-ring { width: 300px; height: 300px; right: -60px; }
.page-hero h1 { margin-bottom: 10px; max-width: 640px; position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0; position: relative; z-index: 2; }

/* Grids */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,189,194,0.12);
  color: var(--teal-dark);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card a.card-link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--teal-dark); font-size: 0.9rem; }

.pillar {
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--white);
}
.pillar h3 { color: var(--white); margin-bottom: 8px; }
.pillar p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin: 0; }
.pillar--navy { background: var(--navy); }
.pillar--teal { background: var(--teal); color: var(--navy-dark); }
.pillar--teal h3 { color: var(--navy-dark); }
.pillar--teal p { color: rgba(6,58,94,0.8); }

/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split .badge-ring {
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.split .badge-ring img { width: 52%; filter: brightness(0) invert(1); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid img { height: 30px; margin-bottom: 14px; }
.footer-grid p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Form */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  border: 1px solid var(--grey-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--grey-200);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--grey-100);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; margin-bottom: 16px; align-items: flex-start; }
.checklist li strong { display: block; color: var(--navy); font-size: 0.95rem; }
.section--navy .checklist li strong { color: var(--white); }
.checklist li span.mark {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero-ring { opacity: 0.35; width: 260px !important; height: 260px !important; right: -110px !important; }
  .page-hero .hero-ring { width: 190px !important; height: 190px !important; right: -80px !important; top: 20%; }
}

/* Mobile nav drawer */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px 24px;
  gap: 18px;
  border-bottom: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
}

/* Language switch (added for EN/FR toggle) */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 4px;
}
.lang-switch a,
.lang-switch .lang-current {
  color: var(--ink);
  padding: 4px 7px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-switch a:hover { background: var(--grey-100); color: var(--teal-dark); }
.lang-switch .lang-current { color: var(--teal-dark); }
.lang-switch .sep { color: var(--grey-200); }
@media (max-width: 880px) {
  .lang-switch { display: none; }
}
