/* ============================================================
   SIGNIFIO.CA — Navigation v2 (menus à panneaux) — complète style.css
   ============================================================ */
.nv-saut { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600; }
.nv-saut:focus { left: 0; }

.trustbar__container { align-items: center; }
.nv-trust-new { color: #fff; font-weight: 600; display: inline-flex; gap: .45rem; align-items: center; padding: 2px 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.nv-trust-new b { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; background: #f59e0b; color: #1f2937; padding: 1px 6px; border-radius: 999px; }
.nv-trust-new:hover { color: #fff; background: rgba(255,255,255,.18); }

/* Le flou d'arrière-plan passe sur un pseudo-élément : sur l'élément lui-même, Chromium ne peint pas les panneaux qui débordent de la barre. */
.nav.nv { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; }
.nav.nv::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nv .nav__container { position: relative; }
.nv-menu { align-items: center; gap: .15rem; }
.nv-item { position: static; }
.nv-top { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem; border-radius: var(--radius-sm); border: 0; background: none; font: 500 .9rem/1.2 inherit; font-family: inherit; color: var(--text); cursor: pointer; white-space: nowrap; }
.nv-top:hover, .nv-item.is-open > .nv-top { background: var(--bg-alt); color: var(--primary); }
.nv-top.active { color: var(--primary); font-weight: 600; box-shadow: inset 0 -2px 0 var(--primary); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.nv-top:focus-visible, .nv-panneau a:focus-visible, .nv-etude-btn:focus-visible { outline: 2px solid var(--trust); outline-offset: 2px; }
.nv-fleche { font-size: .65rem; opacity: .6; transition: transform .15s; }
.nv-item.is-open .nv-fleche { transform: rotate(180deg); }

.nv-panneau { position: absolute; top: calc(100% - 6px); left: 50%; transform: translate(-50%, 6px); width: max-content; max-width: min(1080px, calc(100vw - 2rem));
    background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(15,23,42,.14); padding: 1.25rem 1.35rem;
    opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; z-index: 1001; }
.nv-panneau--large { width: min(1080px, calc(100vw - 2rem)); }
.nv-item.is-open > .nv-panneau { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nv-colonnes { display: flex; gap: 1.75rem; }
.nv-col { min-width: 210px; }
.nv-panneau--large .nv-col { flex: 1; }
.nv-col-titre { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-lighter); margin: 0 0 .45rem .7rem; }
.nv-col ul { list-style: none; margin: 0; padding: 0; }
.nv-panneau .nv-col a { display: block; padding: .45rem .7rem; border-radius: 8px; color: var(--text); white-space: normal; background: none; font-size: .88rem; }
.nv-panneau .nv-col a:hover, .nv-panneau .nv-col a.active { background: var(--bg-alt); color: var(--primary); }
.nv-l { display: block; font-weight: 600; }
.nv-d { display: block; font-size: .78rem; color: var(--text-light); font-weight: 400; margin-top: 1px; }
.nv-badge { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #92400e; background: #fef3c7; padding: 1px 6px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }

.nv-vedette { display: flex; flex-direction: column; gap: .9rem; max-width: 330px; }
.nv-panneau .nv-col a.nv-etude { display: block; padding: 1.1rem 1.15rem; border-radius: 12px; background: linear-gradient(135deg, #10244a, #1a3a5c); color: #fff; }
.nv-panneau .nv-col a.nv-etude:hover { background: linear-gradient(135deg, #0c1c3a, #16324f); color: #fff; }
.nv-etude-t { display: block; font-weight: 700; font-size: 1rem; }
.nv-etude-d { display: block; font-size: .82rem; color: #c9d2e0; margin: .3rem 0 .75rem; line-height: 1.45; }
.nv-etude-c { display: inline-block; font-size: .8rem; font-weight: 600; background: #b08d57; color: #fff; padding: .35rem .75rem; border-radius: 7px; }
.nv-recents { background: var(--bg-alt); border-radius: 12px; padding: .85rem .5rem .75rem; }
.nv-panneau .nv-col .nv-recents a { font-size: .84rem; font-weight: 500; padding: .35rem .7rem; }
.nv-panneau .nv-col .nv-recents a.nv-tout { color: var(--primary-light); font-weight: 600; margin-top: .2rem; }

.nv-etude-btn { display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid #b08d57; background: #f7f1e6; color: #7a5a2a; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.nv-etude-btn:hover, .nv-etude-btn.active { background: #efe3cc; color: #5f4520; }

/* Écrans intermédiaires : textes plus serrés */
@media (max-width: 1240px) and (min-width: 1025px) {
    .nv-top { padding: .5rem .55rem; font-size: .85rem; }
    .nv-etude-btn { padding: .4rem .65rem; }
    .trustbar__container { gap: 1.25rem; }
}
@media (max-width: 1140px) and (min-width: 1025px) {
    .nav__actions .btn--ghost { display: none; }
}

/* Mobile et tablette : menu déroulant vertical, panneaux en accordéon */
@media (max-width: 1024px) {
    .trustbar__container span:nth-child(n+3) { display: none; }
    .nv-menu.show { align-items: stretch; max-height: calc(100vh - var(--nav-height) - var(--trustbar-height)); overflow-y: auto; }
    .nv-item { width: 100%; }
    .nv-top { width: 100%; justify-content: space-between; padding: .8rem 1rem; font-size: 1rem; }
    .nv-top.active { box-shadow: inset 3px 0 0 var(--primary); border-radius: 0; }
    .nv-panneau, .nv-panneau--large { position: static; transform: none; width: auto; max-width: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 .5rem .75rem; display: none; opacity: 1; visibility: visible; transition: none; }
    .nv-item.is-open > .nv-panneau { display: block; transform: none; }
    .nv-colonnes { flex-direction: column; gap: .75rem; }
    .nv-col, .nv-vedette { min-width: 0; max-width: none; }
    /* Actions sur une rangée de hauteur fixe, menu juste en dessous (les deux blocs se chevauchaient) */
    .nav.nv .nav__actions.show { flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: .5rem; height: 64px; padding: 0 1rem; box-shadow: none; z-index: 2; }
    .nav.nv .nav__actions.show .btn, .nav.nv .nav__actions.show .nv-etude-btn { padding: .5rem .8rem; font-size: .84rem; }
    .nav.nv .nv-menu.show { top: calc(var(--nav-height) + 64px); max-height: calc(100vh - var(--nav-height) - var(--trustbar-height) - 64px); padding: .5rem 1rem 1rem; }
    .nv-menu a.nv-top { padding: .8rem 1rem; font-size: 1rem; }
}
/* « Tarifs » est un lien : même apparence que les boutons de menu malgré la règle .nav__links a */
.nv-menu a.nv-top { padding: .5rem .8rem; font-size: .9rem; color: var(--text); background: none; }
.nv-menu a.nv-top:hover { background: var(--bg-alt); color: var(--primary); }
.nv-menu a.nv-top.active { color: var(--primary); font-weight: 600; }
@media (max-width: 1024px) { .nv-menu a.nv-top { padding: .8rem 1rem; font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
    .nv-panneau, .nv-fleche { transition: none; }
}

/* Pied de page : 1 colonne marque + 6 colonnes de liens */
.nv-footer-grid { grid-template-columns: 1.5fr repeat(6, 1fr); gap: 2rem; }
.nv-footer-etude { display: block; margin-top: 1.1rem; padding: .8rem 1rem; border: 1px solid rgba(176,141,87,.55); border-radius: 10px; color: #e9dcc4; max-width: 280px; }
.nv-footer-etude b { display: block; color: #fff; font-size: .92rem; }
.nv-footer-etude span { display: block; font-size: .8rem; margin-top: 2px; }
.nv-footer-etude:hover { background: rgba(176,141,87,.12); color: #fff; }
@media (max-width: 1200px) { .nv-footer-grid { grid-template-columns: repeat(4, 1fr); } .nv-footer-grid .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .nv-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .nv-footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Composants des nouvelles pages (lot 1 et suivants)
   ============================================================ */
.nv-faq { max-width: 820px; margin: 0 auto; display: grid; gap: .65rem; }
.nv-faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .95rem 1.15rem; }
.nv-faq summary { cursor: pointer; font-weight: 600; color: var(--primary); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.nv-faq summary::-webkit-details-marker { display: none; }
.nv-faq summary::after { content: '+'; font-weight: 700; color: var(--text-lighter); }
.nv-faq details[open] summary::after { content: '−'; }
.nv-faq details p { margin-top: .6rem; color: var(--text-light); font-size: .94rem; }
.nv-note { max-width: 820px; margin: 1.5rem auto 0; text-align: center; font-size: .86rem; color: var(--text-light); }
.nv-bandeau { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.25rem; border-radius: 16px; background: linear-gradient(135deg, #f7f1e6, #fff); border: 1px solid #e9dcc4; }
.nv-bandeau .section__title { margin-bottom: .4rem; }
.nv-bandeau-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.nv-chiffre b { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-bottom: .35rem; }
a.nv-carte-lien { display: flex; flex-direction: column; color: inherit; }
a.nv-carte-lien:hover { color: inherit; }
.nv-lien { margin-top: auto; padding-top: .9rem; font-weight: 600; color: var(--primary-light); font-size: .9rem; }
.nv-role { font-size: .82rem; font-weight: 600; color: #7a5a2a; margin: -.25rem 0 .6rem; }
.nv-coordonnees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.75rem; }
.nv-coordonnees > div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; }
.nv-coordonnees b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-lighter); margin-bottom: .3rem; }
.nv-coordonnees span { font-size: .92rem; color: var(--text); }
.nv-hero-etude .section__label { color: #7a5a2a; }
@media (max-width: 900px) {
    .nv-bandeau { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .nv-coordonnees { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .nv-coordonnees { grid-template-columns: 1fr; } }

/* ============================================================
   Cartes : icône et titre côte à côte (toutes les pages, sans toucher au HTML).
   S'applique quand l'icône est suivie du titre (le badge .card__proof, positionné en absolu, peut s'intercaler). Navigateur sans :has() : présentation d'origine.
   ============================================================ */
:is(.card:has(> .card__icon + .card__title), .card:has(> .card__icon + .card__proof + .card__title)),
.feature-card:has(> .feature-card__icon + h3) {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; align-content: start;
}
:is(.card:has(> .card__icon + .card__title), .card:has(> .card__icon + .card__proof + .card__title)) > *,
.feature-card:has(> .feature-card__icon + h3) > * { grid-column: 1 / -1; }
:is(.card:has(> .card__icon + .card__title), .card:has(> .card__icon + .card__proof + .card__title)) > .card__icon,
.feature-card:has(> .feature-card__icon + h3) > .feature-card__icon { grid-column: 1; align-self: center; margin: 0; flex-shrink: 0; }
:is(.card:has(> .card__icon + .card__title), .card:has(> .card__icon + .card__proof + .card__title)) > .card__title,
.feature-card:has(> .feature-card__icon + h3) > h3 { grid-column: 2; align-self: center; margin: 0; }
:is(.card:has(> .card__icon + .card__title), .card:has(> .card__icon + .card__proof + .card__title)) > .card__title + *,
.feature-card:has(> .feature-card__icon + h3) > h3 + * { margin-top: 1rem; }

/* Bloc « Voir aussi » des pages produit */
.nv-voir { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.nv-voir span { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-lighter); margin-right: .25rem; }
.nv-voir a { font-weight: 600; font-size: .92rem; padding: .35rem .8rem; border-radius: 999px; background: var(--bg-alt); color: var(--primary); }
.nv-voir a:hover { background: #e8eef5; color: var(--primary-dark); }
