/* Gabriel Fleury — Conseiller en sécurité financière */

:root {
  --navy: #0e2340;
  --navy-2: #16345c;
  --gold: #c9a24a;
  --gold-soft: #f4e3bd;
  --ink: #1b2430;
  --muted: #5c6b7f;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 35, 64, .08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-2); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.2;
}

.brand strong {
  font-size: 1.12rem;
  letter-spacing: .3px;
}

.brand span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--navy); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

.btn-ghost:hover { border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #0e2340 0%, #16345c 60%, #1d4577 100%);
  color: #fff;
  padding: 84px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 74, .5);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  color: #d5deea;
  font-size: 1.06rem;
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.hero .btn-ghost:hover { border-color: var(--gold); }

.portrait {
  position: relative;
  justify-self: center;
  margin: 0;
  width: min(380px, 100%);
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, .45);
  pointer-events: none;
}

/* ---------- Credentials bar ---------- */
.creds {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.creds .label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-bottom: 4px;
}

.creds .value {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }

.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 62ch;
  margin: 0 0 46px;
}

.section-head .eyebrow {
  color: var(--gold);
  border-color: rgba(201, 162, 74, .45);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.25;
}

h3 { color: var(--navy); margin: 0 0 10px; font-size: 1.18rem; }

.lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); margin: 0 0 14px; }

.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: .95rem;
}

.card li { margin-bottom: 6px; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-grid p { color: var(--muted); }

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fact-list li:last-child { border-bottom: 0; }

.fact-list strong { display: block; color: var(--navy); }

.fact-list span { color: var(--muted); font-size: .95rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.step { position: relative; padding-top: 12px; }

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}

.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.contact-list li { margin-bottom: 18px; }

.contact-list .label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--muted);
}

.contact-list a, .contact-list .value {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}

form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; }

label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(201, 162, 74, .6);
  outline-offset: 1px;
  border-color: var(--gold);
}

textarea { min-height: 120px; resize: vertical; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}

.consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--navy);
}

.consent label {
  font-weight: 400;
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.consent label b { color: var(--ink); }

.form-note {
  font-size: .8rem;
  color: var(--muted);
  margin: 14px 0 0;
}

.form-status {
  margin: 16px 0 0;
  font-size: .92rem;
  font-weight: 600;
  color: #14713f;
  display: none;
}

.form-status.visible { display: block; }

/* ---------- Legal pages ---------- */
.page-head {
  background: var(--navy);
  color: #fff;
  padding: 62px 0 54px;
}

.page-head h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

.page-head p { margin: 0; color: #c3cfdf; }

.legal { max-width: 78ch; }

.legal h2 { font-size: 1.35rem; margin-top: 44px; }

.legal h3 { font-size: 1.05rem; margin-top: 28px; }

.legal p, .legal li { color: var(--muted); }

.legal ul { padding-left: 20px; }

.callout {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0;
}

.callout p { color: var(--ink); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9c6d8;
  padding: 56px 0 30px;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer h4 {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 0 0 14px;
}

.site-footer a { color: #b9c6d8; text-decoration: none; }

.site-footer a:hover { color: var(--gold); }

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.site-footer li { margin-bottom: 9px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .84rem;
  color: #8fa1b8;
}

.disclaimer {
  margin-top: 18px;
  font-size: .82rem;
  color: #8fa1b8;
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero { padding: 56px 0 64px; }

  .portrait { order: -1; width: min(260px, 70%); }

  .creds-grid { grid-template-columns: 1fr; gap: 18px; }

  .footer-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }

  section { padding: 60px 0; }
}
