/* Capital Spider — feuille de styles extraite de index.htm */

/* ===== Variables ===== */
:root {
      --navy: #0B2A4F;
      --navy-dark: #071D38;
      --gold: #C4A052;
      --gold-dark: #A98838;
      --sage: #4F7367;
      --cream: #F8F8F3;
      --paper: #fff;
      --ink: #142b43;
      --muted: #647487;
      --line: rgba(11, 42, 79, .13);
      --serif: Georgia, 'Times New Roman', serif;
    }

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: 'Montserrat', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* ===== Header / navigation ===== */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(248, 248, 243, .94); border-bottom: 1px solid rgba(11, 42, 79, .08); backdrop-filter: blur(14px); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 17px; letter-spacing: .095em; white-space: nowrap; }
.brand-mark { width: 27px; height: 27px; border: 1.5px solid var(--gold); border-radius: 50%; position: relative; display: inline-block; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; background: var(--gold); }
.brand-mark::before { width: 1px; height: 17px; left: 12px; top: 4px; transform: rotate(42deg); }
.brand-mark::after { width: 17px; height: 1px; left: 4px; top: 12px; transform: rotate(-25deg); }
.brand span:last-child { color: var(--gold-dark); font-weight: 500; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 12px; font-weight: 600; color: #42566b; }
.nav-links a:not(.nav-cta) { transition: color .2s ease; }
.nav-links a:not(.nav-cta):hover { color: var(--gold-dark); }
.nav-cta { border: 1px solid var(--navy); border-radius: 3px; color: var(--navy); padding: 12px 17px; transition: color .2s, background .2s, border-color .2s; }
.nav-cta:hover { background: var(--navy); color: white; }

/* ===== Buttons ===== */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .035em; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 8px 20px rgba(11,42,79,.13); }
.button-primary:hover { background: var(--navy-dark); box-shadow: 0 11px 25px rgba(11,42,79,.2); }
.button-outline { border-color: rgba(11,42,79,.24); color: var(--navy); background: rgba(255,255,255,.38); }
.button-outline:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.arrow { font-size: 16px; line-height: 1; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; min-height: 610px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; width: 610px; height: 610px; right: -105px; top: -70px; border-radius: 50%; background: radial-gradient(circle at 42% 42%, rgba(196,160,82,.15), rgba(196,160,82,.05) 43%, transparent 70%); }
.hero::after { content: ''; position: absolute; right: 8%; top: 15%; width: 340px; height: 340px; border: 1px solid rgba(196,160,82,.24); border-radius: 50%; box-shadow: 0 0 0 34px rgba(196,160,82,.025), 0 0 0 68px rgba(196,160,82,.02); pointer-events: none; }
.hero-grid { width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; position: relative; z-index: 1; padding-block: 76px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--sage); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.eyebrow::before { content: ''; display: block; width: 34px; height: 1px; background: var(--gold); }
h1 { color: var(--navy); font-size: clamp(39px, 5.1vw, 65px); line-height: 1.1; letter-spacing: -.055em; margin: 25px 0 20px; max-width: 680px; font-weight: 700; }
h1 em { color: var(--gold-dark); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero-copy { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 560px; margin: 0; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 31px; }
.hero-art { min-height: 370px; display: grid; place-items: center; position: relative; }
.hero-art::before { content: ''; position: absolute; width: min(390px, 90%); aspect-ratio: 1; border: 1px solid rgba(11,42,79,.1); border-radius: 50%; }
.hero-art::after { content: ''; position: absolute; width: 285px; height: 285px; border: 1px solid rgba(196,160,82,.34); border-radius: 50%; transform: translate(20px, 14px); }
.logo-frame { z-index: 1; width: min(310px, 75%); aspect-ratio: 1; background: rgba(255,255,255,.91); border: 1px solid rgba(11,42,79,.08); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 24px 70px rgba(7,29,56,.10); }
.logo-frame img { width: 77%; height: 77%; object-fit: contain; }
.orbit-note { position: absolute; z-index: 2; right: 2%; bottom: 12%; padding: 13px 16px; background: var(--paper); border-left: 2px solid var(--gold); box-shadow: 0 9px 25px rgba(7,29,56,.08); color: var(--navy); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-kicker { color: var(--gold-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; margin: 0 0 17px; }
.section-title { color: var(--navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.16; letter-spacing: -.045em; margin: 0; font-weight: 600; }
.section-title em { color: var(--gold-dark); font-family: var(--serif); font-weight: 400; }
.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.intro-copy { border-left: 1px solid var(--gold); padding: 4px 0 4px 27px; color: var(--muted); font-size: 15px; line-height: 1.95; margin-top: 12px; }
.intro-copy strong { color: var(--navy); font-weight: 600; }
.solutions { background: #f0f1eb; position: relative; overflow: hidden; }
.solutions::after { content: 'CS'; position: absolute; right: -20px; bottom: -90px; color: rgba(11,42,79,.025); font-family: var(--serif); font-size: 360px; line-height: 1; pointer-events: none; }
.solutions-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; position: relative; z-index: 1; }
.solutions-head .section-title { max-width: 590px; }
.solutions-sub { max-width: 260px; color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0 0 5px; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 1; }
.advantages { background: var(--navy); color: white; position: relative; overflow: hidden; }
.advantages::before { content: ''; position: absolute; width: 470px; height: 470px; border: 1px solid rgba(196,160,82,.19); border-radius: 50%; right: -160px; top: -245px; box-shadow: 0 0 0 40px rgba(196,160,82,.025), 0 0 0 80px rgba(196,160,82,.02); }
.advantages .section-kicker { color: #d6b96f; }
.advantages .section-title { color: white; max-width: 620px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 57px; border-top: 1px solid rgba(255,255,255,.17); position: relative; }
.adv-item { padding: 29px 24px 0 0; }
.adv-item + .adv-item { border-left: 1px solid rgba(255,255,255,.16); padding-left: 24px; }
.adv-index { color: #d6b96f; font-family: var(--serif); font-size: 15px; }
.adv-item h3 { color: white; font-size: 15px; margin: 22px 0 10px; letter-spacing: -.02em; }
.adv-item p { color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.85; margin: 0; }

/* ===== Cards ===== */
.solution-card { background: var(--paper); padding: 35px 34px 31px; min-height: 355px; border: 1px solid rgba(11,42,79,.07); box-shadow: 0 12px 34px rgba(7,29,56,.035); transition: transform .25s, box-shadow .25s; }
.solution-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(7,29,56,.09); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 29px; }
.card-number { color: var(--gold-dark); font-family: var(--serif); font-size: 29px; }
.card-symbol { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(79,115,103,.35); color: var(--sage); font-size: 18px; border-radius: 50%; }
.solution-card h3 { color: var(--navy); font-size: 19px; line-height: 1.4; margin: 0 0 13px; letter-spacing: -.025em; }
.solution-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.solution-card ul { list-style: none; margin: 19px 0 0; padding: 0; display: grid; gap: 10px; }
.solution-card li { position: relative; padding-left: 19px; color: #536579; font-size: 11px; line-height: 1.65; }
.solution-card li::before { content: ''; position: absolute; top: .57em; left: 0; width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; }

/* ===== Contact ===== */
.contact { background: var(--cream); padding: 98px 0; }
.contact-panel { border: 1px solid rgba(11,42,79,.14); background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 48px 54px; position: relative; overflow: hidden; }
.contact-panel::after { content: ''; position: absolute; width: 200px; height: 200px; border: 1px solid rgba(196,160,82,.22); border-radius: 50%; right: 155px; top: -110px; box-shadow: 0 0 0 24px rgba(196,160,82,.03); }
.contact-panel .section-title { font-size: clamp(27px, 3.3vw, 39px); max-width: 610px; }
.contact-panel .button { flex: none; position: relative; z-index: 1; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: white; padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { color: white; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.footer-brand span { color: #d6b96f; font-weight: 500; }
.footer-note { color: rgba(255,255,255,.55); font-size: 10px; }
.footer-mail { color: #d6b96f; font-size: 10px; transition: color .2s; }
.footer-mail:hover { color: white; }

/* ===== Accessibility ===== */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ===== Responsive ===== */
@media (max-width: 780px) {
      .nav-wrap { height: auto; min-height: 72px; flex-wrap: wrap; padding-block: 15px; }
      .nav-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 10px; }
      .nav-cta { padding: 9px 11px; }
      .hero { min-height: auto; }
      .hero-grid { grid-template-columns: 1fr; padding-block: 68px 54px; }
      .hero-art { min-height: 315px; }
      .hero-art::before { width: 300px; }
      .hero-art::after { width: 225px; height: 225px; }
      .logo-frame { width: 245px; }
      .orbit-note { right: 10%; bottom: 4%; }
      .intro-grid { grid-template-columns: 1fr; gap: 20px; }
      .solutions-head { display: block; }
      .solutions-sub { margin-top: 18px; }
      .solution-grid { grid-template-columns: 1fr; }
      .adv-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
      .adv-item:nth-child(3) { border-left: 0; padding-left: 0; }
      .contact-panel { padding: 36px 30px; align-items: flex-start; flex-direction: column; }
      .contact-panel::after { right: -20px; }
    }
@media (max-width: 480px) {
      .container { width: min(100% - 34px, 1160px); }
      .brand { font-size: 14px; }
      .nav-links { font-size: 9px; }
      .nav-cta { padding: 8px; }
      h1 { font-size: 40px; }
      .section { padding: 78px 0; }
      .hero-art { min-height: 275px; }
      .hero-art::before { width: 260px; }
      .hero-art::after { width: 195px; height: 195px; }
      .logo-frame { width: 215px; }
      .orbit-note { right: 2%; bottom: 0; }
      .solution-card { padding: 28px 24px; }
      .adv-grid { column-gap: 14px; }
      .adv-item, .adv-item + .adv-item { padding-right: 9px; padding-left: 14px; }
      .adv-item:nth-child(odd) { padding-left: 0; border-left: 0; }
      .adv-item h3 { font-size: 13px; }
      .contact { padding: 68px 0; }
      .contact-panel { padding: 31px 23px; }
      .footer-inner { flex-wrap: wrap; }
    }
@media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
    }

/* ===== Utilitaires réutilisables (futures pages) ===== */
 .page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--navy);
  color: var(--paper);
}
.page-hero .section-title {
  color: inherit;
}
.text-center {
  text-align: center;
}


/* ===== Page contact ===== */
.contact-page { padding: clamp(58px, 8vw, 96px) 0 108px; }
.contact-layout { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 7vw, 92px); align-items: start; }
.contact-intro { position: sticky; top: 112px; }
.contact-intro .section-title { max-width: 420px; }
.contact-lead { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 22px 0 30px; max-width: 390px; }
.contact-detail { border-top: 1px solid var(--line); padding-top: 19px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.contact-detail strong { display: block; color: var(--navy); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 5px; }
.contact-detail a { color: var(--sage); font-weight: 600; }
.contact-form { background: var(--paper); border: 1px solid rgba(11,42,79,.11); padding: clamp(25px, 4vw, 44px); box-shadow: 0 18px 50px rgba(7,29,56,.055); }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; }
.form-field { min-width: 0; }
.form-field-full { grid-column: 1 / -1; }
.form-label { display: block; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .025em; margin-bottom: 8px; }
.form-label .optional { color: var(--muted); font-weight: 500; }
.form-control { display: block; width: 100%; min-height: 49px; border: 1px solid rgba(11,42,79,.17); border-radius: 2px; background: #fff; padding: 12px 14px; color: var(--ink); font: 500 13px/1.5 'Montserrat', sans-serif; transition: border-color .2s, box-shadow .2s; }
.form-control::placeholder { color: #98a3ad; }
.form-control:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(79,115,103,.11); }
textarea.form-control { min-height: 164px; resize: vertical; }
select.form-control { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%230B2A4F' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-consent { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.form-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--sage); flex: none; }
.form-consent a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; }
.form-note { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 0; }
.form-alert { border-left: 3px solid var(--sage); background: rgba(79,115,103,.09); color: var(--navy); padding: 15px 17px; margin: 0 0 25px; font-size: 12px; line-height: 1.7; }
.form-alert-error { border-left-color: #9b3f37; background: #fbefed; color: #71302a; }
.form-errors { margin: 0 0 22px; padding-left: 19px; font-size: 12px; line-height: 1.75; }
.form-errors li + li { margin-top: 3px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 780px) {
  .contact-page { padding: 58px 0 76px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-intro { position: static; }
  .contact-lead { margin-bottom: 20px; }
  .contact-detail { max-width: 380px; }
}
@media (max-width: 520px) {
  .contact-form { padding: 24px 19px; }
  .contact-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-field-full { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions .button { width: 100%; }
}
