/* ================================================================
   STRUCTAVIA – Feuille de style principale
   Refonte graphique 2026-08-29
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ----------------------------------------------------------------
   Variables
   ---------------------------------------------------------------- */
:root {
  /* Brand */
  --c-ink:     #0d2220;
  --c-navy:    #0a4847;
  --c-teal:    #0bb4aa;
  --c-teal-lt: #7ee8e4;
  --c-amber:   #e67e3a;

  /* Surfaces */
  --c-white:   #ffffff;
  --c-cream:   #f4f8f6;
  --c-sky:     #dff3f1;
  --c-dark:    #071a17;

  /* Illustrations (legacy names kept for admin UI) */
  --navy:      #0a4847;
  --midnight:  #0d2220;
  --steel:     #A6AAAF;
  --slate:     #5b7b78;
  --accent:    #0bb4aa;
  --bg:        #ffffff;
  --bg2:       #dff3f1;
  --card:      #ffffff;
  --border:    rgba(11,180,170,.12);
  --shadow:    0 20px 60px rgba(11,180,170,.10);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ----------------------------------------------------------------
   Reset & base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }

/* ----------------------------------------------------------------
   Typography
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 4.5vw, 62px); font-weight: 900; }
h2 { font-size: clamp(28px, 3.5vw, 48px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }

.accent   { color: var(--c-teal); }
.muted    { color: rgba(13,34,32,.60); }
.small    { font-size: 13px; }
.muted--on-dark { color: rgba(255,255,255,.72); }

/* ----------------------------------------------------------------
   Layout
   ---------------------------------------------------------------- */
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   Header
   ---------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.28);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
}
.brand__logo { height: 70px; width: auto; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .04em;
  color: white;
}
.brand__concept {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.brand__tagline {
  font-size: 11px;
  color: rgba(255,255,255,.60);
  margin-top: 1px;
}

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  text-decoration: none;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav a:hover { color: white; background: rgba(255,255,255,.10); }
.nav a.nav--cta {
  background: var(--c-teal);
  color: white;
  border-radius: 8px;
  margin-left: 4px;
}
.nav a.nav--cta:hover { background: white; color: var(--c-navy); }

/* ----------------------------------------------------------------
   HERO – Illustrated Scene
   ---------------------------------------------------------------- */
/* ============================================================
   HERO SPLIT — layout deux colonnes, style pro
   ============================================================ */
.hero-split {
  background: #eef8f6;
  padding: 0;
}
.hero-split__inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  min-height: 560px;
  padding: 72px 0 64px;
}
.hero-split__copy { padding-right: 12px; }
.hero-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin: 0 0 14px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 3px solid var(--c-teal);
  border-radius: 0;
  width: fit-content;
}
.hero-split__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hs-accent { color: var(--c-teal); }
.hero-lead {
  font-size: 17px;
  color: rgba(13,34,32,.72);
  font-weight: 400;
  line-height: 1.62;
  margin-bottom: 32px;
}
.hero-lead strong { color: var(--c-ink); font-weight: 700; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn--outline {
  border: 2px solid rgba(11,180,170,.45);
  color: var(--c-teal);
  background: transparent;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn--outline:hover { background: rgba(11,180,170,.07); border-color: var(--c-teal); }
.hs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hs-tag {
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(11,180,170,.09);
  border: 1px solid rgba(11,180,170,.22);
  font-size: 12px;
  font-weight: 600;
  color: var(--c-teal);
  letter-spacing: .01em;
}
/* Visual column */
.hero-split__visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ============================================================
   HERO IMAGE (illustration générée)
   ============================================================ */
.hs-img-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  overflow: hidden;
  border-radius: 16px;
  background: #dff3ef;
}
.hs-hero-img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 24px 64px rgba(11,180,170,0.13), 0 4px 16px rgba(0,0,0,0.08);
  animation: hs-img-reveal 1.2s ease-out both;
}
@keyframes hs-img-reveal {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* ----------------------------------------------------------------
   Wave separators
   ---------------------------------------------------------------- */
.wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave--down { color: var(--c-cream); }
.wave--down-white { color: var(--c-white); }
.wave--down-sky { color: var(--c-sky); }
.wave--down-dark { color: var(--c-dark); }
.wave svg { width: 100%; display: block; }

/* ----------------------------------------------------------------
   Section base
   ---------------------------------------------------------------- */
.section { padding: 90px 0; }
.section--cream { background: var(--c-cream); }
.section--sky { background: var(--c-sky); }
.section--white { background: var(--c-white); }
.section--dark {
  background: var(--c-dark);
  color: white;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 12px;
}
.section-header h2 {
  margin-bottom: 16px;
  color: var(--c-ink);
}
.section--dark .section-header h2 { color: white; }
.section-header p {
  font-size: 18px;
  color: rgba(13,34,32,.65);
  line-height: 1.6;
  margin: 0;
}
.section--dark .section-header p { color: rgba(255,255,255,.72); }

/* ----------------------------------------------------------------
   Process steps
   ---------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-teal) 0%, var(--c-teal-lt) 100%);
  opacity: 0.35;
  z-index: 0;
}
@media (max-width: 980px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; max-width: 640px; }
  .process-steps::before { display: none; }
}
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; max-width: 340px; }
}
.process-step {
  text-align: center;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-teal);
  color: white;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 28px rgba(11,180,170,.35);
}
.step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  background: rgba(11,180,170,.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11,180,170,.16);
}
.step-icon svg { width: 38px; height: 38px; }
.process-step h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 10px;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step p {
  font-size: 15px;
  color: rgba(13,34,32,.68);
  line-height: 1.58;
  margin: 0 auto;
  max-width: 240px;
}
.process-step .step-delay {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-teal);
}

/* ----------------------------------------------------------------
   Guarantee cards
   ---------------------------------------------------------------- */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.guarantee-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(11,180,170,.14);
  box-shadow: 0 16px 48px rgba(11,180,170,.08);
  position: relative;
  overflow: hidden;
}
.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-teal-lt));
}
.guarantee-card--perf::before {
  background: linear-gradient(90deg, var(--c-amber), #f59e0b);
}
.guarantee-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.guarantee-icon--teal { background: rgba(11,180,170,.12); }
.guarantee-icon--amber { background: rgba(230,126,58,.12); }
.guarantee-icon svg { width: 36px; height: 36px; }
.guarantee-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 8px;
}
.guarantee-card--perf .guarantee-kicker { color: var(--c-amber); }
.guarantee-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.guarantee-card p {
  font-size: 15.5px;
  color: rgba(13,34,32,.72);
  line-height: 1.6;
  margin-bottom: 18px;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(13,34,32,.78);
  line-height: 1.45;
}
.check-list li::before {
  content: '';
  flex: 0 0 20px;
  height: 20px;
  margin-top: 1px;
  background: var(--c-teal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: cover;
}
.check-list--amber li::before { background-color: var(--c-amber); }

/* ----------------------------------------------------------------
   Actor schema (3 acteurs)
   ---------------------------------------------------------------- */
.actors-schema {
  display: grid;
  grid-template-columns: 1fr 56px 1fr 56px 1fr;
  align-items: center;
  gap: 0;
  text-align: center;
  margin-bottom: 36px;
}
.actor-card {
  background: white;
  border-radius: 20px;
  padding: 28px 20px;
  border: 1px solid rgba(11,180,170,.16);
  box-shadow: 0 12px 36px rgba(11,180,170,.08);
}
.actor-card--center {
  background: var(--c-navy);
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(10,72,71,.28);
}
.actor-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,180,170,.10);
}
.actor-card--center .actor-icon {
  background: rgba(255,255,255,.12);
}
.actor-icon svg { width: 32px; height: 32px; }
.actor-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.actor-card--center h4 { color: white; }
.actor-card .actor-sub {
  font-size: 12.5px;
  color: rgba(13,34,32,.58);
}
.actor-card--center .actor-sub { color: rgba(255,255,255,.72); }
.actor-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.actor-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c-teal);
  background: rgba(11,180,170,.08);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,180,170,.20);
}
.actor-badge--white {
  color: white;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
.actor-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.actor-arrow svg { width: 32px; height: 32px; color: var(--c-teal); }

.actor-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(11,180,170,.04);
  border-radius: 16px;
  border: 1px solid rgba(11,180,170,.12);
}
.actor-legend p {
  font-size: 13.5px;
  color: rgba(13,34,32,.70);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   Case concrete: 3-step mini cards
   ---------------------------------------------------------------- */
.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.mini-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(11,180,170,.12);
  box-shadow: 0 10px 32px rgba(11,180,170,.07);
}
.mini-card__num {
  font-size: 38px;
  font-weight: 900;
  color: rgba(11,180,170,.18);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 8px;
}
.mini-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 10px;
}
.mini-card p {
  font-size: 14.5px;
  color: rgba(13,34,32,.68);
  line-height: 1.55;
  margin: 0;
}

/* ----------------------------------------------------------------
   Gain grid (who benefits)
   ---------------------------------------------------------------- */
.gain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.gain-card {
  border-radius: 18px;
  padding: 24px;
  background: white;
  border: 1px solid rgba(11,180,170,.12);
  box-shadow: 0 10px 32px rgba(11,180,170,.06);
}
.gain-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gain-card h4 span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(11,180,170,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ----------------------------------------------------------------
   Brokers dark section
   ---------------------------------------------------------------- */
.section-brokers {
  background: var(--c-navy);
  padding: 90px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.section-brokers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 80% 50%, rgba(11,180,170,.18), transparent);
}
.brokers-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.brokers-copy h2 {
  color: white;
  margin-bottom: 18px;
}
.brokers-copy p {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin-bottom: 28px;
}
.brokers-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.brokers-panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  padding: 28px;
}
.brokers-panel h4 {
  font-size: 17px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}
.brokers-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brokers-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.brokers-list li::before {
  content: '';
  flex: 0 0 24px;
  height: 24px;
  background: var(--c-teal);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: cover;
}
.brokers-panel-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.52);
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
}

/* ----------------------------------------------------------------
   Callout / info box
   ---------------------------------------------------------------- */
.callout {
  background: rgba(11,180,170,.06);
  border: 1px solid rgba(11,180,170,.20);
  border-radius: 16px;
  padding: 20px 24px;
  font-size: 15px;
  color: rgba(13,34,32,.78);
  line-height: 1.6;
  margin-top: 28px;
}
.callout strong { color: var(--c-navy); }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer {
  background: var(--c-dark);
  color: white;
  padding: 48px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.footer__brand-logo { height: 60px; width: auto; opacity: .85; }
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .04em;
  color: white;
  margin-bottom: 6px;
}
.footer__brand-tag {
  font-size: 13px;
  color: rgba(255,255,255,.52);
  line-height: 1.5;
}
.footer__col h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul li a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s;
}
.footer__col ul li a:hover { color: white; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  flex-wrap: wrap;
}
.footer__legal {
  font-size: 12.5px;
  color: rgba(255,255,255,.40);
}
.footer__links-bottom {
  display: flex;
  gap: 20px;
}
.footer__links-bottom a {
  font-size: 12.5px;
  color: rgba(255,255,255,.50);
  text-decoration: none;
  font-weight: 500;
}
.footer__links-bottom a:hover { color: white; }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .01em;
  transition: all .18s;
}
.btn--lg { padding: 14px 28px; font-size: 15.5px; border-radius: 14px; }
.btn--primary {
  background: var(--c-teal);
  color: white;
  border-color: var(--c-teal);
  box-shadow: 0 4px 20px rgba(11,180,170,.32);
}
.btn--primary:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  box-shadow: 0 6px 24px rgba(10,72,71,.30);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(11,180,170,.28);
  color: var(--c-ink);
}
.btn--ghost:hover {
  border-color: rgba(11,180,170,.55);
  background: rgba(11,180,170,.05);
}
.btn--ghost-white {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
  color: white;
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.55);
}
.btn--light {
  background: white;
  color: var(--c-navy);
  border-color: white;
  box-shadow: 0 4px 16px rgba(255,255,255,.14);
}
.btn--light:hover { background: rgba(255,255,255,.90); }
.btn--ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.90);
}
.btn--ghost-light:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.10);
}
.btn--danger {
  background: transparent;
  border-color: rgba(210,40,40,.30);
  color: #c02020;
}
.btn--danger:hover { background: rgba(210,40,40,.06); }

/* (anciens keyframes cartoon supprimés — remplacés par .hs-* dans le bloc hero-split) */

/* ----------------------------------------------------------------
   Forms & devis (keep intact)
   ---------------------------------------------------------------- */
.form {
  margin-top: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(11,180,170,.06);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form__span2 { grid-column: span 2; }
.field label { display: block; font-weight: 650; font-size: 13px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(11,180,170,.20);
  border-radius: 12px;
  outline: none;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
  color: var(--c-ink);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230bb4aa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(11,180,170,.55);
  box-shadow: 0 0 0 4px rgba(11,180,170,.12);
}
.divider { height: 1px; background: rgba(11,180,170,.10); margin: 6px 0; }
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 520;
  font-size: 13px;
  color: rgba(13,34,32,.72);
}
.checkbox input { margin-top: 3px; accent-color: var(--accent); }
.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* Quote workflow */
.quote-workflow { padding: 20px; }
.quote-workflow__intro { margin: 4px 0 12px; line-height: 1.45; }
.quote-upload {
  padding: 14px;
  border: 1px dashed rgba(11,180,170,.28);
  border-radius: 14px;
  background: #fbfefe;
}
.quote-upload__header { margin-bottom: 10px; }
.quote-upload__title { font-size: 14px; font-weight: 750; }
.quote-upload__controls { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.quote-upload__file { flex: 1 1 340px; margin: 0; }
.quote-upload__file label { margin-bottom: 4px; }
.quote-upload__file input { padding: 8px 10px; min-height: 42px; }
.materials-toggle {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(11,180,170,.18);
  border-radius: 12px;
  background: #f6fcfb;
}
.materials-toggle__label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 750; font-size: 14px; }
.materials-toggle__label input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); flex: 0 0 auto; }
.materials-toggle__hint { margin: 4px 0 0 26px; }
.materials-details {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(11,180,170,.14);
  border-radius: 14px;
  background: #fff;
}
.materials-details > .field + .field { margin-top: 12px; }
.field__optional, .field__hint { font-weight: 400; color: rgba(13,34,32,.60); }
.field__hint { margin-top: 4px; }
.materials-amounts { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(11,180,170,.12); }
.materials-amounts__title { margin-bottom: 8px; font-size: 13px; font-weight: 750; }
.materials-amounts__title span { font-weight: 400; color: rgba(13,34,32,.60); }

/* ----------------------------------------------------------------
   Flash messages
   ---------------------------------------------------------------- */
.flash {
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  border: 1px solid transparent;
}
.flash__title { font-weight: 900; margin-bottom: 2px; }
.flash--success { background: rgba(0,160,90,.08); border-color: rgba(0,160,90,.22); }
.flash--error { background: rgba(210,40,40,.08); border-color: rgba(210,40,40,.22); }
.flash__msg { margin-top: 2px; font-size: 13.5px; }

/* ----------------------------------------------------------------
   Status badges (admin)
   ---------------------------------------------------------------- */
table { border-collapse: collapse; }
th { text-align: left; }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.status-draft    { background: rgba(13,34,32,.06); color: rgba(13,34,32,.70); }
.status-submitted{ background: rgba(11,180,170,.10); color: #076c65; }
.status-in_review{ background: rgba(251,191,36,.12); color: #92600a; }
.status-approved { background: rgba(0,160,90,.10); color: #00803a; }
.status-rejected { background: rgba(210,40,40,.10); color: #b01010; }
.status-need_info{ background: rgba(234,88,12,.10); color: #b84500; }

/* Legacy classes used in admin views */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(11,180,170,.08);
  border: 1px solid rgba(11,180,170,.18);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-teal);
}
.section--light { background: var(--c-sky); }
.section__head { margin-bottom: 28px; }
.section__head h2 { margin-bottom: 10px; }
.performance-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  margin-top: 18px;
}
.performance-grid > div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(11,180,170,.05);
}
.performance-grid h3 { margin: 0 0 8px; font-size: 18px; }
.concept-box {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(11,180,170,.18);
  background: linear-gradient(135deg, rgba(11,180,170,.08), rgba(7,108,101,.04)), #fff;
  box-shadow: 0 18px 45px rgba(11,180,170,.06);
}
.concept-box__kicker {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 850;
  color: var(--navy);
  margin-bottom: 6px;
}
.concept-box h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.01em; }
.concept-box p { margin: 0; color: rgba(13,34,32,.78); }
.checklist { list-style: none; padding: 0; margin: 12px 0 0; }
.checklist li { padding-left: 22px; position: relative; margin: 8px 0; color: rgba(13,34,32,.80); }
.checklist li:before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.checklist--dark li { color: rgba(255,255,255,.85); }
.checklist--dark li:before { color: rgba(255,255,255,.95); }
.panel {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 18px;
}
.panel__title { font-weight: 900; margin-bottom: 8px; }
.panel__note { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.70); }

/* ----------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .brokers-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .guarantee-grid   { grid-template-columns: 1fr; }
  .process-steps    { grid-template-columns: 1fr; gap: 30px; }
  .process-steps::before { display: none; }
  .actors-schema    { grid-template-columns: 1fr; }
  .actor-arrow      { transform: rotate(90deg); }
  .cards3, .gain-grid { grid-template-columns: 1fr; }
  .nav              { display: none; }
  .form__grid       { grid-template-columns: 1fr; }
  .form__span2      { grid-column: auto; }
  .performance-grid { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr; }
  .brokers-actions  { flex-direction: column; }
}

@media (max-width: 640px) {
  /* Hero split → colonne sur mobile */
  .hero-split__inner {
    grid-template-columns: 1fr;
    /* L'illustration est le premier élément sur mobile : elle démarre
       directement sous le bandeau, sans bande vide intermédiaire. */
    padding: 0 0 28px;
    min-height: auto;
    gap: 28px;
  }
  .hero-split__visual {
    order: -1;
    justify-content: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .hs-img-wrap {
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }
  .hs-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
  }
  .hero-split__copy { padding-right: 0; }
  .hero-kicker { font-size: 21px; margin-bottom: 14px; }
  .hero-split__copy h1 { font-size: 30px; }
  .hero-lead { font-size: 15.5px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 60px 0; }
  .quote-workflow { padding: 16px; }
  .quote-upload__controls .btn { width: 100%; }
  .materials-details .form__grid { grid-template-columns: 1fr; }
  .materials-details .form__span2 { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
