/* ============================================================
   Deep Advisory — styles.css
   ============================================================ */
:root {
  --navy: #20385e;
  --navy-2: #2a4a78;
  --navy-3: #345a90;
  --copper: #46acb0;
  --copper-light: #6cc5c8;
  --sand: #f1f6f7;
  --white: #ffffff;
  --ink: #1c2733;
  --grey: #5b6b7c;
  --line: #dde7ea;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 31, 51, 0.10);
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }

img { max-width: 100%; display: block; }

a { color: var(--copper); text-decoration: none; }

.container { width: min(1140px, 90%); margin: 0 auto; }

/* ---------- Language visibility ---------- */
html[lang="fr"] .en { display: none !important; }
html[lang="en"] .fr { display: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(32, 56, 94, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo { display: flex; align-items: center; gap: 11px; }
svg.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--white); letter-spacing: 0.2px; }
.logo-text span { color: var(--copper-light); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--copper-light); }

.nav-cta {
  background: var(--copper); color: var(--navy) !important;
  padding: 10px 20px; border-radius: 8px; font-weight: 600 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--copper-light); }

.lang-switch {
  display: flex; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; overflow: hidden;
}
.lang-switch button {
  background: transparent; border: 0; color: rgba(255,255,255,0.7);
  font: 600 13px var(--font-body); padding: 7px 12px; cursor: pointer;
}
.lang-switch button.on { background: var(--copper); color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; color: var(--white);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(700px 340px at 88% -10%, rgba(70,172,176,0.30), transparent 62%),
    radial-gradient(600px 320px at -5% 115%, rgba(32,56,94,0.14), transparent 60%),
    linear-gradient(160deg, #eef4f7, #e2eff0);
  color: var(--ink);
  padding: 52px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(32,56,94,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32,56,94,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(600px 400px at 75% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  display: inline-block; font: 600 13px/1 var(--font-body);
  letter-spacing: 2.2px; text-transform: uppercase; color: var(--copper-light);
  margin-bottom: 18px;
}
.hero h1 { color: var(--navy); font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero p.lead { font-size: 16px; color: var(--grey); max-width: 620px; margin-bottom: 26px; }
.hero .eyebrow { color: var(--copper); margin-bottom: 12px; font-size: 17px; letter-spacing: 1.6px; }
.hero .btn-ghost { border-color: var(--navy); color: var(--navy); }
.hero .btn-ghost:hover { border-color: var(--copper); color: var(--copper); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 9px;
  font: 600 15.5px var(--font-body); transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--copper); color: var(--navy); }
.btn-primary:hover { background: var(--copper-light); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--copper-light); color: var(--copper-light); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(70,172,176,0.25), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: 68px 0 60px;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 17.5px; max-width: 680px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tinted { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 10px 0 14px; }
.section-head p { color: var(--grey); font-size: 17px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

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

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 18px 0 10px; }
.card p { color: var(--grey); font-size: 15.5px; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(70,172,176,0.16), rgba(70,172,176,0.32));
  display: grid; place-items: center; color: var(--copper);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.split p { color: var(--grey); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 18px; }
.check-list li {
  padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink);
  font-size: 15.5px;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--copper);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center/contain no-repeat;
}

.visual-panel {
  border-radius: var(--radius);
  background:
    radial-gradient(400px 260px at 20% 0%, rgba(70,172,176,0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy));
  min-height: 340px;
  display: grid; place-items: center;
  color: var(--white);
  padding: 36px;
}
.visual-panel .stat-stack { display: grid; gap: 18px; width: 100%; max-width: 340px; }
.stat-chip {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; padding: 16px 20px;
}
.stat-chip strong { font-family: var(--font-head); font-size: 22px; color: var(--copper-light); display: block; }
.stat-chip span { font-size: 13.5px; color: rgba(255,255,255,0.8); }

/* ---------- Industries strip ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  border: 1.5px solid var(--line); border-radius: 100px;
  padding: 10px 22px; font: 500 14.5px var(--font-body); color: var(--navy);
  background: var(--white);
}
.pill.hot { border-color: var(--copper); background: rgba(70,172,176,0.08); color: var(--copper); font-weight: 600; }

/* ---------- Suite banner ---------- */
.suite-banner {
  border-radius: 18px;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(70,172,176,0.3), transparent 55%),
    linear-gradient(140deg, var(--navy-2), var(--navy));
  color: var(--white);
  padding: 56px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.suite-banner h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.suite-banner p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.partner-tag {
  display: inline-block; font: 600 12px/1 var(--font-body); letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--copper-light);
  border: 1px solid rgba(70,172,176,0.5); border-radius: 100px;
  padding: 8px 16px; margin-bottom: 18px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 22px; margin-bottom: 30px; }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--copper-light);
  font: 700 18px var(--font-head);
  display: grid; place-items: center;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--grey); font-size: 15.5px; }

/* ---------- Quote ---------- */
.quote-block {
  border-left: 4px solid var(--copper);
  padding: 8px 0 8px 28px; margin: 30px 0;
}
.quote-block p { font-size: 19px; font-style: italic; color: var(--navy); margin-bottom: 8px; }
.quote-block cite { color: var(--grey); font-size: 14.5px; font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 15% 120%, rgba(70,172,176,0.3), transparent 60%),
    var(--navy);
  color: var(--white);
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font: 600 14px var(--font-body); color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 13px 15px; font: 400 15px var(--font-body); color: var(--ink);
  background: var(--white); width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--copper);
}
.form-note { font-size: 13px; color: var(--grey); margin-top: 14px; }

.contact-aside .card { margin-bottom: 20px; }
.contact-aside h3 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.72); font-size: 14.5px; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: var(--copper-light); }
.footer-brand p { font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px; font-size: 13.5px; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split, .suite-banner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; align-items: flex-start;
    padding: 20px 6%; gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .grid-2, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 48px; }
  .suite-banner { padding: 36px 26px; }
  .form-card { padding: 26px 20px; }
}

/* ---------- Client logo strip ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; gap: 30px 46px;
  align-items: center; justify-content: center;
  padding: 10px 0;
}
.logo-strip img {
  height: 34px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(1); opacity: 0.7; transition: filter .2s, opacity .2s;
}
.logo-strip img:hover { filter: none; opacity: 1; }
.strip-note { text-align: center; font-size: 12.5px; color: var(--grey); margin-top: 18px; }

/* ---------- Product screenshots ---------- */
.screenshot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
}
.screenshot-caption { text-align: center; font-size: 13.5px; color: var(--grey); margin-top: 14px; }

/* ---------- Testimonials ---------- */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card p.quote { font-style: italic; color: var(--navy); font-size: 15.5px; flex: 1; }
.testimonial-card p.quote::before { content: "« "; color: var(--copper); font-weight: 700; }
.testimonial-card p.quote::after { content: " »"; color: var(--copper); font-weight: 700; }
.testimonial-card .who { margin-top: 16px; font-size: 13.5px; color: var(--grey); }
.testimonial-card .who strong { color: var(--navy); display: block; font-size: 14.5px; }
