@import url("libelex.css");
@import url("modules.css");

/* Landing. Couleurs et typo : libelex.css. Modules : modules.css. */
:root {
  --max: 1140px;
  --tabular: var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.58;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0 0 0.75rem;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.trust-badge svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2;
}

.trust-badge strong {
  font-weight: 600;
}

.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--gray);
  padding: 0.5rem 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.7rem 0;
  background: var(--duck);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

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

.nav a.btn-primary {
  background: var(--mustard);
  color: var(--white);
  box-shadow: none;
}

.nav a.btn-primary:hover {
  background: #f3cc4a;
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--mustard);
  color: var(--white);
  box-shadow: 0 2px 4px rgba(7, 61, 61, 0.25);
}

.btn-primary:hover {
  background: #f3cc4a;
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray);
}

.btn-secondary:hover {
  border-color: var(--gray-mid);
  box-shadow: var(--shadow);
}

.hero {
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-grid > *,
.empathy-grid > *,
.final-grid > * {
  min-width: 0;
}

.hero-tagline {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--mustard);
  margin-bottom: 0.85rem;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--gray-text);
  margin: 1rem 0 1.25rem;
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.care-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 28rem;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--gray-text);
}

.care-note::before {
  content: "💛";
  flex-shrink: 0;
}

.hero-photo,
.scene-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.hero-photo img,
.scene-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.empathy-strip {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}

.empathy-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.empathy-copy h2 {
  margin-bottom: 0.85rem;
}

.empathy-quote {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(236, 189, 48, 0.22);
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mustard);
}

.section {
  padding: 4rem 0;
}

.section-gray {
  background: var(--gray);
}

.section-header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--gray-text);
  margin-top: 0.5rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--tabular);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--gray-text);
  margin: 0;
}

.contracts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contract-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.contract-card:hover {
  border-color: rgba(24, 51, 78, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contract-card.live {
  border: 1.5px solid var(--navy);
  background: var(--white);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.badge-live {
  background: rgba(18, 163, 163, 0.14);
  color: var(--ok-ink);
}

.badge-soon {
  background: var(--gray);
  color: var(--gray-text);
}

.moment-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contract-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin: 0;
}

.contract-arrow {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.clause-box {
  margin-top: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-left: 4px solid var(--mustard);
  border-radius: var(--radius);
}

.clause-box .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mustard);
  margin-bottom: 0.5rem;
}

.clause-box p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-text);
}

.clause-box strong {
  color: var(--ink);
  font-weight: 600;
}

.selarl-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.selarl-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.selarl-steps li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.selarl-steps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.violaine-panel {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.violaine-panel img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--mustard);
  margin-bottom: 0.85rem;
}

.violaine-panel .role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mustard);
  margin-bottom: 0.65rem;
}

.violaine-panel p {
  font-size: 0.9rem;
  color: var(--gray-text);
  text-align: left;
  margin: 0;
}

.violaine-voice {
  font-style: italic;
}

.caution-band {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.caution-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--mustard);
}

.caution-band h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.caution-band p {
  font-size: 0.92rem;
  opacity: 0.88;
  margin: 0;
}

.caution-band .trust-badge {
  margin-top: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--mustard);
  box-shadow: 0 8px 32px rgba(236, 189, 48, 0.28);
  position: relative;
}

.price-card.featured::before {
  content: "Filet de sécurité";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  background: var(--mustard);
  color: var(--duck);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.price-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: var(--tabular);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-amount small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-text);
}

.price-features {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  flex: 1;
}

.price-features li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 0.88rem;
  color: var(--gray-text);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.final-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--gray) 100%);
}

.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 3rem;
  align-items: center;
}

.final-copy p {
  color: var(--gray-text);
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.warm-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--mustard);
  font-style: italic;
}

.scene-photo--portrait {
  width: 100%;
  justify-self: end;
}

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gray);
  font-size: 0.85rem;
  color: var(--gray-text);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand .logo-mark {
  width: 28px;
  height: 28px;
  box-shadow: none;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--gray-text);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid,
  .empathy-grid,
  .selarl-block,
  .final-grid,
  .caution-band {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
  }

  .empathy-copy {
    text-align: center;
  }

  .scene-photo--portrait {
    justify-self: center;
  }

  .steps-row,
  .contracts-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .caution-photo {
    margin: 0 auto;
  }

  .caution-band {
    text-align: center;
  }

}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1rem;
    border-bottom: 1px solid var(--gray);
  }

  .nav.is-open a {
    color: var(--dorian);
  }

  .nav.is-open a.btn-primary {
    color: var(--duck);
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .trust-bar .trust-badge {
    font-size: 0.68rem;
    padding: 0.35rem 0.65rem;
  }
}

body {
  padding-bottom: 8rem;
}

/* Test SELARL et pages de contact associées */
.lead-page {
  background: var(--cream);
}

.lead-header .header-inner {
  justify-content: space-between;
}

.lead-header__back {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.lead-header__back:hover {
  color: var(--white);
}

.lead-main {
  width: min(42rem, 92%);
  margin: 0 auto;
  padding: 2.25rem 0 1rem;
}

.lead-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.lead-main h1 {
  margin-bottom: 0.85rem;
}

.lead-intro {
  color: var(--gray-text);
  font-size: 1.02rem;
}

.lead-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.lead-field input,
.lead-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  background: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
}

.lead-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.lead-field input:focus,
.lead-field textarea:focus {
  outline: 2px solid var(--mustard);
  border-color: var(--navy);
}

.lead-field input.is-invalid,
.lead-field textarea.is-invalid {
  border-color: var(--cherry);
}

.lead-error {
  margin: 0.75rem 0 0;
  color: var(--cherry);
  font-size: 0.88rem;
  font-weight: 600;
}

.lead-submit {
  width: 100%;
  margin-top: 1.1rem;
}

.lead-legal,
.lead-links,
.lead-offer {
  margin: 1.15rem 0 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--gray-text);
}

.lead-offer {
  font-size: 0.95rem;
}

.lead-progress {
  margin-bottom: 1rem;
}

.lead-progress__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-text);
}

.lead-progress__track {
  height: 6px;
  border-radius: 999px;
  background: var(--gray);
  overflow: hidden;
}

.lead-progress__fill {
  height: 100%;
  width: 0;
  background: var(--teal);
  border-radius: inherit;
  transition: width 0.2s ease;
}

.lead-question {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}

.lead-choices {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lead-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.lead-choice::before {
  content: "";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
}

.lead-choice:hover,
.lead-choice:focus-visible {
  border-color: var(--navy);
  outline: none;
}

.lead-choice.is-selected {
  border-color: var(--navy);
  background: #f7f4ea;
}

.lead-choice.is-selected::before {
  background: radial-gradient(circle, var(--navy) 0 0.28rem, var(--white) 0.32rem);
}

.lead-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lead-nav .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.lead-main h2 {
  margin: 2rem 0 0.75rem;
}

.lead-stack {
  margin-top: 0.9rem;
}

.lead-result {
  padding: 0.25rem 0 0.5rem;
}

.lead-result h1 {
  margin-bottom: 0.75rem;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lead-quiet {
  margin-top: 1rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 640px) {
  .lead-grid--pair {
    grid-template-columns: 1fr 1fr;
  }

  .lead-card {
    padding: 1.75rem 1.75rem 1.85rem;
  }

  .lead-submit {
    width: auto;
  }
}
