/* Pages d'assurance (module ov_insurance_pages). Couleur de la marque : #223a88. */
.ovip { --ovip-blue: #223a88; --ovip-line: #e3e6ee; --ovip-soft: #f4f6fb; --ovip-text: #2b2f38; --ovip-muted: #5d6270; color: var(--ovip-text); max-width: 980px; margin: 0 auto 2.5rem; }
.ovip a { color: var(--ovip-blue); }
.ovip__intro { font-size: 1.05rem; line-height: 1.55; margin-bottom: 1.25rem; }
.ovip__intro p:last-child { margin-bottom: 0; }

.ovip__facts { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ovip__facts li { background: var(--ovip-soft); border-radius: 8px; padding: .65rem 1rem; display: flex; flex-direction: column; min-width: 150px; }
.ovip__fact-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ovip-muted); }
.ovip__fact-value { font-weight: 600; color: var(--ovip-blue); }

.ovip__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .ovip__grid { grid-template-columns: 1fr 1fr; } }
.ovip__card { border: 1px solid var(--ovip-line); border-radius: 8px; padding: 1.1rem 1.25rem; background: #fff; }
.ovip__unavailable { margin-bottom: 1.75rem; }
.ovip__h2 { font-size: 1.15rem; font-weight: 700; color: var(--ovip-blue); margin: 0 0 .85rem; }
.ovip__h3 { font-size: .95rem; font-weight: 700; margin: 1rem 0 .6rem; }
.ovip__card .ovip__h2 + .ovip__h3 { margin-top: 0; }

.ovip__list { list-style: none; padding: 0; margin: 0; }
.ovip__list li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.45; margin-bottom: .6rem; }
.ovip__list li:last-child { margin-bottom: 0; }
.ovip__list .material-icons { font-size: 1.25rem; flex: 0 0 auto; margin-top: .05rem; }
.ovip__list--ok .material-icons { color: #1b8a5a; }
.ovip__list--ko .material-icons { color: #c0392b; }

.ovip__section { margin-bottom: 1.75rem; }
.ovip__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ovip-line); border-radius: 8px; }
.ovip__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ovip__table th, .ovip__table td { padding: .6rem .85rem; border-bottom: 1px solid var(--ovip-line); text-align: left; white-space: nowrap; }
.ovip__table thead th { background: var(--ovip-blue); color: #fff; font-weight: 600; }
.ovip__table thead .ovip__group { text-align: center; border-left: 1px solid rgba(255,255,255,.35); border-bottom-color: rgba(255,255,255,.35); }
.ovip__table thead tr + tr th { font-weight: 500; font-size: .85rem; }
.ovip__table thead .ovip__band { vertical-align: bottom; }
.ovip__table tbody tr:last-child th, .ovip__table tbody tr:last-child td { border-bottom: 0; }
.ovip__table tbody tr:nth-child(even) { background: var(--ovip-soft); }
.ovip__table tbody th { font-weight: 500; }
.ovip__table .ovip__num { text-align: right; font-variant-numeric: tabular-nums; }
.ovip__note { font-size: .875rem; color: var(--ovip-muted); margin: .6rem 0 0; }
.ovip__month { display: block; font-size: .75rem; color: var(--ovip-muted); white-space: normal; }
.ovip__table td.ovip__num { min-width: 5.5rem; }
.ovip__important { font-size: .875rem; margin: .85rem 0 0; }
/* Grille complète à partir de 768 px ; en dessous, un petit tableau par formule. */
.ovip__narrow { display: none; }
.ovip__caption { caption-side: top; padding: .6rem .85rem; font-weight: 700; color: var(--ovip-blue); background: var(--ovip-soft); }
@media (max-width: 767.98px) {
  .ovip__wide { display: none; }
  .ovip__narrow { display: block; margin-bottom: .85rem; }
  .ovip__narrow .ovip__table th, .ovip__narrow .ovip__table td { padding: .5rem .6rem; }
}
@media (max-width: 575.98px) {
  .ovip__narrow .ovip__table tbody th { white-space: normal; }
}
@media (max-width: 399.98px) {
  .ovip__narrow .ovip__table { font-size: .82rem; }
  .ovip__narrow .ovip__table th, .ovip__narrow .ovip__table td { padding: .45rem .4rem; }
}

.ovip__docs { list-style: none; padding: 0; margin: 0; }
.ovip__docs li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; padding: .55rem 0; border-bottom: 1px solid var(--ovip-line); }
.ovip__docs li:last-child { border-bottom: 0; }
.ovip__docs a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.ovip__docs a:hover span { text-decoration: underline; }
.ovip__docs .material-icons { color: #c0392b; }
.ovip__doc-date { font-size: .8rem; color: var(--ovip-muted); }

.ovip__others ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.ovip__others a { display: inline-flex; align-items: center; gap: .15rem; border: 1px solid var(--ovip-blue); border-radius: 6px; padding: .5rem .5rem .5rem .9rem; font-weight: 600; text-decoration: none; }
.ovip__others a:hover { background: var(--ovip-blue); color: #fff; }

.ovip__legal { font-size: .75rem; line-height: 1.5; color: var(--ovip-muted); margin: 0 0 .6rem; }
