/* =========================================================
   UFPL — assurance-vie.css
   Page dédiée Assurance Vie
   Dépend de style.css (base globale)
   ========================================================= */


/* ================= VARIABLES LOCALES ================= */

:root {
  --life-green: #13a66f;
  --life-green-soft: rgba(19,166,111,.08);
  --life-blue-soft: rgba(77,130,255,.08);
  --life-gold-soft: rgba(216,182,107,.12);
}

/* ================= HERO ================= */

.life-hero {
  padding-top: 44px;
}

.life-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: center;
}

.life-hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .96;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.life-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 20px;
}

.life-hero-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  background: var(--life-blue-soft);
  border: 1px solid rgba(77,130,255,.12);
  color: var(--color-blue-dark);
}



/* ================= HERO PANEL ================= */

.life-hero-card {
  padding: 30px;
  border-radius: 32px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}

.life-hero-card h2 {
  margin: 16px 0 24px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.life-mini-flow {
  display: grid;
  gap: 14px;
}

.life-mini-flow div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--color-line);
}

.life-mini-flow span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--life-blue-soft);
  font-size: 24px;
}

.life-mini-flow strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.life-mini-flow p {
  margin: 0;
  color: var(--color-muted);
}

.life-floating-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-navy), #0c2d6d);
  color: white;
}

.life-floating-note span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}


/* ================= OBJECTIFS ================= */

.life-objectives-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.life-objective-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--color-line);
  box-shadow: 0 14px 34px rgba(16,29,52,.06);
}

.life-objective-card span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--life-green-soft);
  font-size: 24px;
  margin-bottom: 16px;
}

.life-objective-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.life-objective-card p {
  margin: 0;
  color: var(--color-muted);
}


/* ================= FONCTIONNEMENT ================= */

.life-how-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.life-supports {
  display: grid;
  gap: 18px;
}

.support-card {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--color-line);
  box-shadow: 0 14px 34px rgba(16,29,52,.06);
}

.support-card span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 22px;
  margin-bottom: 14px;
}

.support-card--secure span { background: var(--life-green-soft); }
.support-card--dynamic span { background: var(--life-blue-soft); }
.support-card--mix span { background: var(--life-gold-soft); }

.support-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

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


/* ================= FISCALITÉ ================= */

.tax-timeline {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tax-step {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--color-line);
}

.tax-step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-blue-dark);
  color: white;
  font-weight: 900;
  margin-bottom: 16px;
}

.tax-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.tax-step p {
  margin: 0;
  color: var(--color-muted);
}

.tax-step--highlight {
  border-color: rgba(19,166,111,.25);
  background: linear-gradient(145deg,#fff,var(--life-green-soft));
}

.life-alert {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(77,130,255,.06);
  border: 1px solid rgba(77,130,255,.12);
}

.life-alert span {
  font-size: 28px;
}


/* ================= PROFILS ================= */

.life-profiles-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.profile-list {
  display: grid;
  gap: 14px;
}

.profile-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--color-line);
}

.profile-list span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--life-blue-soft);
  font-size: 22px;
}

.profile-list strong {
  display: block;
  margin-bottom: 4px;
}

.profile-list p {
  margin: 0;
  color: var(--color-muted);
}


/* ================= MÉTHODE ================= */

.life-method {
  background: linear-gradient(135deg, #071a44 0%, #0c2d6d 100%);
}

.life-method .section-heading h2,
.life-method .section-heading p,
.life-method .section-heading .eyebrow {
  color: #fff;
}

.life-method .section-heading p {
  color: rgba(255,255,255,.78);
}

.life-method-steps {
  margin-top: 42px;
}

.life-method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.life-method .method-step {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.life-method .method-step > span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 900;
  color: var(--color-blue-dark);
}

.life-method .method-step h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--color-ink);
}

.life-method .method-step p {
  margin: 0;
  color: var(--color-muted);
}


/* ================= FAQ ================= */

.faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--color-line);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--color-blue-dark);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-muted);
}


/* ================= SIMULATEUR ================= */

.simulator-banner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
}

.simulator-banner h2 {
  margin: 10px 0;
  font-size: clamp(28px,3vw,42px);
}


/* ================= CTA ================= */

.life-cta {
  padding-top: 20px;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .life-objectives-grid,
  .life-method-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .life-hero-grid,
  .life-how-grid,
  .life-profiles-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .life-objectives-grid,
  .life-method-steps,
  .tax-timeline {
    grid-template-columns: 1fr;
  }

  .life-trust-row {
    grid-template-columns: 1fr;
  }

  .simulator-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .life-hero-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }
}

/* Correctif hero — cartes placement souple */
.life-mini-flow div {
  grid-template-columns: 64px 1fr;
  align-items: center;
}

.life-mini-flow div span {
  grid-row: 1 / span 2;
}

.life-mini-flow div strong {
  align-self: end;
}

.life-mini-flow div p {
  align-self: start;
  max-width: 100%;
}

/* Le bandeau bleu utilise mieux l’espace */
.life-floating-note {
  align-items: flex-start;
}

.life-floating-note p {
  margin: 0;
  line-height: 1.45;
}


/* Correctif section profils — texte aligné à droite de l’icône */
.profile-list div {
  grid-template-columns: 64px 1fr;
  align-items: center;
}

.profile-list div > span {
  grid-row: 1 / span 2;
}

.profile-list div > strong {
  align-self: end;
}

.profile-list div > p {
  align-self: start;
  max-width: 100%;
}

/* ===============================
   ESPACE ENTRE SIMULATEUR ET RDV
================================= */
.life-simulator{
  padding-bottom: 60px;
}

.life-cta{
  padding-top: 20px;
}

/* ===============================
   BADGE GRATUIT
================================= */
.free-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#e8f8ef;
  color:#0f9d58;
  font-weight:800;
  font-size:14px;
  padding:8px 14px;
  border-radius:999px;
  margin:18px 0 18px;
}

/* ===============================
   BOOKING POINTS PLUS VENDEURS
================================= */
.booking-points{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.booking-points span{
  background:#ffffff;
  border:1px solid rgba(15,23,42,.08);
  padding:12px 16px;
  border-radius:999px;
  font-weight:700;
  color:#0f172a;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

/* ===============================
   MOBILE
================================= */
@media (max-width:768px){

  .life-simulator{
    padding-bottom:40px;
  }

  .booking-points{
    flex-direction:column;
    align-items:flex-start;
  }

  .booking-points span{
    width:100%;
    border-radius:16px;
  }

  .free-badge{
    margin-top:14px;
  }
}

/* ===============================
   CRITÈRES ASSURANCE VIE
================================= */
.life-criteria{
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}

.criteria-table{
  margin-top:40px;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.06);
  box-shadow:0 20px 60px rgba(15,23,42,.06);
}

.criteria-row{
  display:grid;
  grid-template-columns: 320px 1fr;
  background:#fff;
}

.criteria-row:not(:last-child){
  border-bottom:1px solid rgba(15,23,42,.06);
}

.criteria-row > div{
  padding:24px 26px;
}

.criteria-row > div:first-child{
  border-right:1px solid rgba(15,23,42,.06);
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:800;
  color:#0f172a;
}

.criteria-row > div:first-child span{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef4ff;
  font-size:20px;
}

.criteria-row > div:last-child{
  color:#5b6b84;
  line-height:1.65;
}

.criteria-head{
  background:#0b2a63;
  color:#fff;
}

.criteria-head > div{
  color:#fff !important;
  font-weight:800;
}

.criteria-head > div:first-child{
  border-right:1px solid rgba(255,255,255,.12);
}

.criteria-note{
  margin-top:22px;
  background:#eef6ff;
  border:1px solid #d8e8ff;
  color:#0b2a63;
  border-radius:18px;
  padding:18px 22px;
  font-weight:700;
}

/* ===============================
   MOBILE
================================= */
@media (max-width: 768px){

  .criteria-table{
    display:flex;
    flex-direction:column;
    gap:14px;
    border:none;
    box-shadow:none;
    background:none;
  }

  .criteria-head{
    display:none;
  }

  .criteria-row{
    grid-template-columns:1fr;
    border:1px solid rgba(15,23,42,.06);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
  }

  .criteria-row > div:first-child{
    border-right:none;
    border-bottom:1px solid rgba(15,23,42,.06);
    background:#fff;
  }

  .criteria-row > div:last-child{
    background:#f8fbff;
  }
}


/* ===============================
   SIMULATEUR ASSURANCE VIE
================================= */

.life-savings-section{
  background:
    radial-gradient(circle at 12% 18%, rgba(20,184,166,.18), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(77,130,255,.16), transparent 32%),
    linear-gradient(180deg,#f8fbff 0%,#ffffff 48%,#f7fbff 100%);
}

.life-savings-header{
  max-width:900px;
  margin:0 auto 42px;
  text-align:center;
}

.life-savings-header h2{
  margin:0;
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.02;
  letter-spacing:-.055em;
}

.life-savings-header p{
  max-width:760px;
  margin:18px auto 0;
  color:var(--color-muted);
  font-size:18px;
}

.life-savings-simulator{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  padding:24px;
  border-radius:36px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 34px 90px rgba(15,23,42,.10);
  backdrop-filter:blur(18px);
}

.life-savings-panel,
.life-result-panel{
  border-radius:30px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(15,23,42,.08);
  overflow:hidden;
}

.life-savings-panel{
  padding:28px;
}

.life-savings-title{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  margin-bottom:24px;
}

.life-savings-title > div{
  display:flex;
  gap:12px;
  align-items:center;
}

.life-savings-title span{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:linear-gradient(135deg,#14b8a6,#0f766e);
  color:#fff;
  font-weight:950;
}

.life-savings-title h3{
  margin:0;
  font-size:25px;
}

.life-settings-btn{
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  border-radius:999px;
  padding:12px 16px;
  font-weight:900;
  cursor:pointer;
  color:#0f172a;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

.life-range-row{
  display:grid;
  grid-template-columns:58px 170px 1fr 120px;
  gap:16px;
  align-items:center;
  margin-bottom:24px;
}

.life-range-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(20,184,166,.12),rgba(77,130,255,.08));
  font-size:24px;
}

.life-range-row label{
  font-weight:900;
  color:#0f172a;
}

.life-range-row input[type="range"]{
  width:100%;
  accent-color:#14b8a6;
}

.life-value{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:58px;
  padding:10px 14px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  font-weight:900;
}

.life-value strong{
  font-size:20px;
}

.life-value span{
  color:var(--color-muted);
}

.life-info-box{
  margin-top:28px;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(20,184,166,.10),rgba(77,130,255,.07));
  border:1px solid rgba(20,184,166,.14);
}

.life-info-box strong{
  display:block;
  margin-bottom:8px;
  color:#0f766e;
}

.life-info-box p{
  margin:0;
  color:var(--color-muted);
  line-height:1.65;
}

.life-result-top{
  padding:34px;
  background:linear-gradient(135deg,#0f766e 0%,#14b8a6 48%,#4d82ff 100%);
  color:#fff;
}

.life-result-top > span{
  display:block;
  font-weight:900;
  opacity:.92;
}

.life-result-top > strong{
  display:block;
  margin:12px 0 24px;
  font-size:clamp(44px,5vw,68px);
  line-height:1;
  letter-spacing:-.05em;
}

.life-result-lines{
  display:grid;
  gap:12px;
}

.life-result-lines div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  font-weight:800;
}

.life-result-lines span{
  opacity:.9;
}

.life-chart-card{
  padding:26px;
}

.life-chart{
  width:100%;
  height:auto;
  display:block;
}

.life-grid line{
  stroke:rgba(15,23,42,.10);
  stroke-width:1;
}

.life-chart-payments{
  fill:rgba(20,184,166,.78);
}

.life-chart-interests{
  fill:rgba(132,204,22,.62);
}

.life-chart-legend{
  display:flex;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
  margin-top:10px;
  color:var(--color-muted);
  font-weight:800;
}

.life-chart-legend span{
  display:flex;
  align-items:center;
  gap:8px;
}

.life-chart-legend i{
  width:12px;
  height:12px;
  border-radius:999px;
  background:#14b8a6;
}

.life-chart-legend span:nth-child(2) i{
  background:#84cc16;
}

.life-summary-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:24px;
  padding:24px;
  border-radius:30px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 18px 44px rgba(15,23,42,.07);
}

.life-summary-strip div{
  padding:8px 14px;
}

.life-summary-strip span{
  display:block;
  color:var(--color-muted);
  font-weight:800;
  margin-bottom:4px;
}

.life-summary-strip strong{
  font-size:24px;
  color:#0f172a;
}

/* Modal frais */

.life-settings-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
}

.life-settings-modal.is-open{
  display:block;
}

.life-settings-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(8px);
}

.life-settings-dialog{
  position:relative;
  z-index:1;
  width:min(520px,calc(100% - 32px));
  margin:8vh auto 0;
  padding:30px;
  border-radius:30px;
  background:#fff;
  box-shadow:0 34px 100px rgba(0,0,0,.25);
}

.life-settings-close{
  position:absolute;
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:#f1f5f9;
  cursor:pointer;
  font-size:24px;
}

.life-settings-dialog h3{
  margin:0 0 8px;
  font-size:28px;
}

.life-settings-dialog p{
  margin:0 0 22px;
  color:var(--color-muted);
}

.life-settings-dialog label{
  display:block;
  margin:16px 0 8px;
  font-weight:900;
}

.life-fee-field{
  display:flex;
  align-items:center;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  overflow:hidden;
}

.life-fee-field input{
  width:100%;
  border:0;
  outline:0;
  padding:15px 18px;
  font-size:20px;
  font-weight:900;
}

.life-fee-field span{
  padding:0 18px;
  color:var(--color-muted);
  font-weight:900;
}

.life-net-return{
  margin-top:20px;
  padding:16px;
  border-radius:18px;
  background:rgba(20,184,166,.10);
  color:#0f766e;
  font-weight:800;
}

@media(max-width:980px){
  .life-savings-simulator{
    grid-template-columns:1fr;
  }

  .life-summary-strip{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:680px){
  .life-savings-simulator{
    padding:14px;
    border-radius:28px;
  }

  .life-savings-title{
    flex-direction:column;
    align-items:flex-start;
  }

  .life-range-row{
    grid-template-columns:1fr;
    gap:10px;
    padding:18px;
    border-radius:22px;
    background:#f8fafc;
  }

  .life-range-icon{
    display:none;
  }

  .life-value{
    justify-content:flex-start;
  }

  .life-summary-strip{
    grid-template-columns:1fr;
  }

  .life-result-top > strong{
    font-size:44px;
  }
}

/* Correctifs simulateur assurance vie — style proche PER */

.life-savings-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(77,130,255,.18), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(19,166,111,.14), transparent 32%),
    linear-gradient(135deg, #071a44 0%, #0d2f68 100%);
  color: #fff;
}

.life-savings-header .eyebrow,
.life-savings-header h2 {
  color: #fff;
}

.life-savings-header p {
  color: rgba(255,255,255,.74);
}

.life-savings-simulator {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 90px rgba(0,0,0,.24);
}

.life-savings-panel,
.life-result-panel {
  background: rgba(255,255,255,.96);
  color: var(--color-ink);
}

.life-range-icon {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.life-result-top {
  background: linear-gradient(135deg, #071a44 0%, #0c43b8 58%, #13a66f 100%);
}

.life-chart-payments {
  fill: rgba(77,130,255,.72);
}

.life-chart-interests {
  fill: rgba(19,166,111,.50);
}

.life-chart-legend i {
  background: var(--color-blue);
}

.life-chart-legend span:nth-child(2) i {
  background: var(--color-green);
}

.life-info-box {
  background: linear-gradient(135deg, rgba(77,130,255,.10), rgba(19,166,111,.08));
  border: 1px solid rgba(77,130,255,.16);
}

.life-info-box strong {
  color: var(--color-blue-dark);
}

.life-range {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-blue), rgba(77,130,255,.16));
  outline: none;
  cursor: pointer;
}

.life-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--color-blue);
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(77,130,255,.35);
}

.life-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--color-blue);
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(77,130,255,.35);
}

.life-settings-field {
  padding: 18px;
  border-radius: 24px;
  background: rgba(77,130,255,.055);
  border: 1px solid rgba(77,130,255,.12);
  margin-top: 14px;
}

.life-settings-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.life-settings-label label {
  margin: 0;
  font-weight: 950;
}

.life-settings-label strong {
  color: var(--color-blue-dark);
  font-size: 22px;
}

.life-info-box--bottom {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--color-ink) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.12);
}

.life-info-box--bottom > strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-blue-dark) !important;
}

.life-info-box--bottom p {
  margin: 0;
  color: var(--color-muted) !important;
  line-height: 1.65;
}

.life-info-box--bottom p strong {
  display: inline;
  color: var(--color-blue-dark) !important;
}

.life-axis-labels text {
  fill: #64748b;
  font-size: 13px;
  font-weight: 800;
}

/* Correctif lisibilité pop-up paramètres */

.life-settings-dialog {
 color: var(--color-ink) !important;
}

.life-settings-field {
 background: #f8fbff !important;
 border: 1px solid rgba(77,130,255,.16) !important;
}

.life-settings-label label {
 color: var(--color-ink) !important;
}

.life-settings-label strong {
 color: var(--color-blue-dark) !important;
}

.life-settings-dialog p {
 color: var(--color-muted) !important;
}

.life-settings-dialog h3 {
 color: var(--color-ink) !important;
}

/* =========================================================
   CORRECTIFS MOBILE — ASSURANCE VIE
   ========================================================= */

@media (max-width: 760px){

  /* 1. Hero : +20 / Sur mesure / Suivi côte à côte */
  .life-trust-row{
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
  }

  .life-trust-row div{
    padding: 14px 8px;
    border-radius: 18px;
    text-align: center;
  }

  .life-trust-row strong{
    font-size: 20px;
    line-height: 1.1;
  }

  .life-trust-row span{
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.2;
  }

  .life-trust-row div:nth-child(2){
    background: rgba(19,166,111,.10);
    border-color: rgba(19,166,111,.22);
  }

  .life-trust-row div:nth-child(2) strong{
    color: #138a5c;
  }


  /* 2. Titres avec emoji : icône à côté du titre sur mobile */
  .life-objective-card,
  .support-card,
  .tax-step{
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    align-items: center;
  }

  .life-objective-card span,
  .support-card span,
  .tax-step span{
    margin-bottom: 0;
  }

  .life-objective-card h3,
  .support-card h3,
  .tax-step h3{
    margin: 0;
  }

  .life-objective-card p,
  .support-card p,
  .tax-step p{
    grid-column: 1 / -1;
    margin-top: 14px;
  }


  /* 3. Simulateur : meilleure UX mobile */
  .life-savings-section{
    padding-left: 0;
    padding-right: 0;
  }

  .life-savings-header{
    padding: 0 18px;
    text-align: left;
  }

  .life-savings-header h2{
    font-size: 34px;
  }

  .life-savings-header p{
    font-size: 16px;
  }

  .life-savings-simulator{
    padding: 12px;
    border-radius: 26px;
    gap: 16px;
  }

  .life-savings-panel,
  .life-result-panel{
    border-radius: 24px;
  }

  .life-savings-panel{
    padding: 20px;
  }

  .life-savings-title{
    gap: 14px;
    margin-bottom: 18px;
  }

  .life-savings-title h3{
    font-size: 23px;
  }

  .life-settings-btn{
    width: 100%;
    justify-content: center;
    padding: 13px 16px;
  }

  .life-range-row{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px;
    margin-bottom: 14px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.07);
  }

  .life-range-icon{
    display: none;
  }

  .life-range-row label{
    font-size: 15px;
    line-height: 1.25;
  }

  .life-range-row input[type="range"]{
    grid-column: 1 / -1;
  }

  .life-value{
    min-height: auto;
    padding: 8px 12px;
    border-radius: 14px;
    background: #fff;
  }

  .life-value strong{
    font-size: 18px;
  }

  .life-result-top{
    padding: 24px;
  }

  .life-result-top > strong{
    font-size: 42px;
  }

  .life-result-lines div{
    font-size: 14px;
  }

  .life-chart-card{
    padding: 18px 12px 20px;
  }

  .life-chart-legend{
    gap: 12px;
    font-size: 13px;
  }

  .life-summary-strip{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
    border-radius: 24px;
  }

  .life-summary-strip div{
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
  }

  .life-summary-strip span{
    font-size: 12px;
  }

  .life-summary-strip strong{
    font-size: 19px;
  }

  .life-info-box--bottom{
    margin: 16px 12px 0;
    border-radius: 22px;
  }
}

@media (min-width: 761px) {
  .life-objective-card,
  .support-card,
  .life-method .method-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    align-items: center;
  }

  .life-objective-card span,
  .support-card span,
  .life-method .method-step > span {
    margin-bottom: 0;
  }

  .life-objective-card h3,
  .support-card h3,
  .life-method .method-step h3 {
    margin-top: 0;
  }

  .life-objective-card p,
  .support-card p,
  .life-method .method-step p {
    grid-column: 1 / -1;
    margin-top: 14px;
  }
}
