/*************************************
  infinisearch.fr — infinisearch.css
  Design system desktop
  Mise à jour : 05/2026
*************************************/

/* ── VARIABLES ────────────────────────────────────────────────────────────── */
:root {
    --navy:         #1a1a2e;
    --navy-light:   #252545;
    --orange:       #e8622a;
    --orange-light: #f07340;
    --bg:           #f7f6f3;
    --white:        #ffffff;
    --text:         #1a1a1a;
    --text-muted:   #666666;
    --text-light:   #999999;
    --border:       #e2e0db;
    --radius:       8px;
    --radius-sm:    4px;

    /* Couleurs catégories */
    --cat-actu: #96af15;
    --cat-arts: #9015af;
    --cat-com:  #ff5b58;
    --cat-eco:  #3393f4;
    --cat-tech: #ffa56b;
    --cat-int:  #990066;
    --cat-loi:  #cc9933;
    --cat-san:  #339966;
    --cat-sci:  #990000;
    --cat-spo:  #99b3e4;
    --cat-vp:   #cc3366;
    --cat-voy:  #ffb940;
}

/* ── RESET ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Source Sans 3', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    overflow-y: scroll;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── HEADER ───────────────────────────────────────────────────────────────── */
.header {
    background: var(--navy);
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.logo {
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo span { color: var(--orange); }

.tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Recherche header */
.header-search {
    flex: 1;
    max-width: 420px;
    margin-left: auto;
    position: relative;
}

.header-search input {
    width: 100%;
    height: 34px;
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 0 16px 0 36px;
    font-size: 13px;
    font-family: 'Source Sans 3', Arial, sans-serif;
    outline: none;
    transition: border-color .2s, background .2s;
}

.header-search input::placeholder { color: rgba(255,255,255,0.35); }
.header-search input:focus {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
}

.header-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.4;
    pointer-events: none;
}

/* Nav droite header */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    flex-shrink: 0;
}

.header-nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.header-nav a.nav-cta {
    background: rgba(232,98,42,0.2);
    color: var(--orange);
}

.header-nav a.nav-cta:hover {
    background: rgba(232,98,42,0.35);
    color: #fff;
}

/* ── PICTOS HEADER ────────────────────────────────────────────────────────── */
.picto-btn { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .15s; padding: 5px 8px; }
.picto-btn:hover { color: var(--orange); }
.picto-wrap { position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.picto-wrap > svg { width: 22px; height: 22px; }
.picto-badge { position: absolute; top: -5px; right: -7px; min-width: 15px; height: 15px; background: var(--orange); color: #fff; border-radius: 20px; font-size: .58rem; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1; }
.picto-badge-ok { background: #16a34a; top: -4px; right: -5px; min-width: 14px; height: 14px; padding: 2px; }
.picto-badge-ok > svg { width: 8px !important; height: 8px !important; }
.picto-badge-panier { background: #16a34a; }

/* ── HAMBURGER ────────────────────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    margin-left: auto;
}
.hamburger span {
    display: block;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── NAVBAR MOBILE ────────────────────────────────────────────────────────── */
.navbar-mobile {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 98;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}
.navbar-mobile.is-open { display: flex; }
.nav-mobile-item {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-light);
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: color .15s, border-color .15s, background .15s;
}
.nav-mobile-item:last-child { border-bottom: none; }
.nav-mobile-item.nav-mobile-nav {
    background: rgba(0,0,0,0.02);
}
.nav-mobile-item.nav-mobile-nav:last-of-type {
    border-bottom: 3px solid var(--border);
}
.nav-mobile-sep { display: none; }
.nav-mobile-item:hover {
    color: var(--cat-color);
    border-left-color: var(--cat-color);
    background: rgba(0,0,0,0.02);
}
.nav-mobile-item.active {
    color: var(--cat-color);
    border-left-color: var(--cat-color);
    background: rgba(0,0,0,0.02);
}


.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 56px;
    z-index: 99;
}

.navbar::-webkit-scrollbar { display: none; }

.nav-item {
    padding: 0 14px;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color .2s, border-color .2s;
    text-decoration: none;
}

.nav-item:hover,
.nav-item.active { color: var(--text); }

.nav-sep { flex: 1; }

.nav-service {
    padding: 0 14px;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: color .2s;
    text-decoration: none;
}

.nav-service:hover { color: var(--orange); }

.nav-service-cta {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.nav-service-cta:hover { color: var(--orange-light); }

/* ── LAYOUT PRINCIPAL ─────────────────────────────────────────────────────── */
.layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    width: 100%;
    min-height: calc(100vh - 96px); /* viewport - header (56px) - navbar (40px) */
}

/* ── MAIN ─────────────────────────────────────────────────────────────────── */
.main {
    padding: 24px 32px 40px;
    border-right: 1px solid var(--border);
    background: var(--white);
    min-width: 0;
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.hero-img-wrap {
    aspect-ratio: 16/9;
    background: var(--navy);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, #2d2d5e 100%);
}

.thumb-placeholder svg { opacity: 0.2; }

.hero-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
}

.hero-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

.hero-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;

    /* Plafond typographique : max 6 lignes, peu importe la longueur des mots */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Date de publication (entre le chapô et le CTA) */
.hero-date {
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-meta {
    font-size: 11px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 12px 22px;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    margin-top: 8px;
    transition: background .2s;
}

.hero-cta:hover { background: var(--navy-light); color: #fff; }

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */
.section { margin-bottom: 28px; }

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.section-bar {
    width: 4px;
    height: 18px;
    border-radius: 2px;
    flex-shrink: 0;
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.section-more {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    transition: color .2s;
}

.section-more:hover { color: var(--text); }

/* ── GRILLE CARDS ─────────────────────────────────────────────────────────── */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-img {
    aspect-ratio: 16/9;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body { padding: 10px 12px 12px; }

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 5px;
    line-height: 1.3;
}

.card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── SIDEBAR ──────────────────────────────────────────────────────────────── */
.sidebar {
    padding: 24px 20px;
    background: var(--bg);
    position: sticky;
    top: 96px;                       /* header (56px) + navbar (40px) */
    align-self: start;               /* sinon la sidebar etire et casse le sticky */
    max-height: calc(100vh - 96px);  /* hauteur max = espace visible */
    overflow-y: auto;                /* scroll interne si contenu trop long */
}

/* CTA principal en haut de sidebar */
.sb-cta {
    display: block;
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 24px;
    background: var(--orange);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background .15s;
}

.sb-cta:hover {
    background: var(--orange-light);
}

.sb-cta-main {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.sb-cta-sub {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.3px;
}

.sb-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.sb-block:last-child { border-bottom: none; margin-bottom: 0; }

.sb-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Encarts produits sidebar */
.sb-product {
    border-radius: var(--radius);
    padding: 12px;
    background: var(--navy);
}

.sb-product-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: -0.3px;
}

.sb-product-name span { color: var(--orange); }

.sb-product-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 10px;
}

.sb-product-btn {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    letter-spacing: 0.3px;
    transition: background .2s;
}

.sb-product-btn:hover { background: var(--orange-light); }

/* Liens sidebar */
.sb-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.35;
    transition: color .15s;
}

.sb-link:last-child { border-bottom: none; }
.sb-link:hover { color: var(--text); }

.sb-link-cat {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    padding: 1px 6px;
    border-radius: 8px;
    color: #fff;
}

/* À propos sidebar */
.sb-about {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.sb-about strong { color: var(--navy); }

/* À la une — Prestige actif (toute la box cliquable) */
.sb-une {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity .15s;
}

.sb-une:hover {
    opacity: 0.85;
}

.sb-une-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    background: var(--border);
}

.sb-une-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sb-une-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.sb-une-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 10px;
}

.sb-une-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
}

/* Placeholder (tant qu'aucun Prestige n'est actif) */
.sb-une-placeholder {
    font-size: 14px;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

.sb-une-placeholder strong { color: var(--navy); }

/* Liens annexes sidebar (ex-footer) */
.sb-links {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.sb-links li {
    border-bottom: 1px solid var(--border);
}

.sb-links li:last-child { border-bottom: none; }

.sb-links a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .15s;
}

.sb-links a:hover { color: var(--orange); }

.sb-copyright {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.sb-copyright a {
    color: var(--text-muted);
    text-decoration: none;
}

.sb-copyright a:hover { color: var(--orange); }

/* ── EMPTY STATE ──────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 13px;
}

/* ── MESSAGES RECHERCHE ───────────────────────────────────────────────────── */
.search-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--orange);
}

.highlight {
    background: rgba(232,98,42,0.15);
    color: var(--orange);
    border-radius: 2px;
    padding: 0 2px;
}

/* ── BOUTONS ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    text-decoration: none;
    line-height: 1;
    vertical-align: middle;
    box-sizing: border-box;
    font-family: 'Source Sans 3', Arial, sans-serif;
}
.btn-sm { padding: 6px; font-size: 15px; line-height: 1; }

.btn-primary {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── EYEBROW (libelle de section uppercase) ───────────────────────────────── */
.section-eyebrow {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 16px;
}

/* ── PAGES EDITORIALES (offres, mentions, CGV, contact, etc.) ─────────────── */
/* Cible aussi bien les pages ecrites en dur que le contenu BDD (textes.php). */
.page-edito {
    margin-bottom: 32px;
}

.page-edito h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin: 0 0 16px;
}

.page-edito h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin: 16px 0;
}

.page-edito h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    margin: 16px 0;
}

.page-edito p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.page-edito p:last-child {
    margin-bottom: 0;
}

.page-edito ul,
.page-edito ol {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 16px;
    padding-left: 24px;
}

.page-edito li {
    margin-bottom: 6px;
}

.page-edito a {
    color: var(--orange);
    text-decoration: none;
}

.page-edito a:hover {
    text-decoration: underline;
}

.page-edito strong {
    color: var(--navy);
}

/* ── FORMULAIRES (contact, etc.) ──────────────────────────────────────────── */
/* Adapte du modele Thumbs aux variables Infinisearch (navy + cream).         */

/* Alertes affichees au-dessus des formulaires */
.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.alert-success { background: #d4edda; color: #155724; border-left: 1px solid #28a745; }
.alert-error   { background: #f8d7da; color: #721c24; border-left: 1px solid #dc3545; }

/* Ligne de champ : label au-dessus, input en-dessous */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.form-row:last-child { margin-bottom: 0; }

.form-row label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
}

/* Inputs et textareas */
input.inp,
select.sel,
textarea.ta,
textarea.inp {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
}
textarea.ta,
textarea.inp {
    height: auto;
    min-height: 160px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.6;
}
input.inp:focus,
select.sel:focus,
textarea.ta:focus,
textarea.inp:focus {
    border-color: var(--navy);
}
input.inp::placeholder,
textarea.ta::placeholder,
textarea.inp::placeholder {
    color: var(--text-light);
}

select.sel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
    cursor: pointer;
}

/* Pavé icône navy à gauche du champ */
.inp-icon-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}
.inp-icon-wrap .inp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    flex-shrink: 0;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border: 1px solid var(--navy);
    border-right: none;
    pointer-events: none;
}
.inp-icon-wrap input.inp,
.inp-icon-wrap select.sel {
    border-left: none;
    padding-left: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.inp-icon-wrap input.inp:focus,
.inp-icon-wrap select.sel:focus {
    border-color: var(--navy);
}

/* Anti-autofill Chrome */
.inp-icon-wrap input.inp:-webkit-autofill,
.inp-icon-wrap input.inp:-webkit-autofill:hover,
.inp-icon-wrap input.inp:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bg) inset !important;
    box-shadow: 0 0 0 1000px var(--bg) inset !important;
    -webkit-text-fill-color: var(--text) !important;
}

/* Grille 2 colonnes pour pairs de champs (Nom + E-mail) */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Captcha : champ étroit, label avec code en strong */
.form-captcha-row {
    max-width: 280px;
}

/* Honeypot : champ caché aux humains, rempli par les bots */
.form-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* Pied de formulaire : bouton + mention obligatoires */
.form-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.form-footer-note {
    font-size: 12px;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}

/* ── FICHE ENTREE (page article + infobox laterale) ───────────────────────── */

/* Breadcrumb */
.breadcrumb {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.breadcrumb a {
    color: var(--text-light);
    transition: color .15s;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep {
    margin: 0 6px;
    color: var(--text-light);
}

/* Titre */
.entree-titre {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    margin: 0 0 16px;
}

/* Meta (badge + date + auteur + lectures) */
.entree-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 28px;
    flex-wrap: wrap;
}

/* Layout split 2/3 + 1/3 */
.entree-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Article (colonne gauche) */
.entree-article {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.entree-article h2,
.entree-article h3,
.entree-article h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 24px 0 12px;
}
.entree-article h2 { font-size: 22px; }
.entree-article h3 { font-size: 19px; }
.entree-article h4 { font-size: 17px; }
.entree-article p { margin: 0 0 16px; }
.entree-article ul,
.entree-article ol {
    margin: 0 0 16px;
    padding-left: 24px;
}
.entree-article li { margin-bottom: 6px; }
.entree-article a {
    color: var(--orange);
    text-decoration: none;
}
.entree-article a:hover { text-decoration: underline; }
.entree-article strong { color: var(--navy); }
.entree-article img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 12px 0;
}

/* Wrapper iframe responsive (16/9) */
.iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
}
.iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Infobox (colonne droite) */
.entree-aside {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Cards d'infos secondaires */
.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
}
.info-card-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    margin-bottom: 10px;
}
.info-card-titre {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}
.info-card-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}
.info-card-text:last-child { margin-bottom: 0; }
.info-card-text a {
    color: var(--navy);
    text-decoration: none;
}
.info-card-text a:hover { color: var(--orange); }
.btn-navy-block {
    display: block;
    padding: 11px 16px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background .15s;
}
.btn-navy-block:hover {
    background: var(--navy-light);
    color: #fff;
}

/* Boutons de partage social dans la card */
.info-card-share {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.info-card-share a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.info-card-share a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Carte OpenStreetMap (pleine largeur en bas) */
.entree-map {
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 8px;
}

.map-nav-links {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.map-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity .15s;
}

.map-nav-btn:hover { opacity: 0.85; }

.map-nav-btn-waze {
    background: #33ccff;
    color: #fff;
}

.map-nav-btn-plans {
    background: #1a73e8;
    color: #fff;
}

/* Responsive : split en mode 1 colonne sous 900px */
@media (max-width: 900px) {
    .entree-layout {
        grid-template-columns: 1fr;
    }
}

/* ── PAGE OFFRES — Section pricing ────────────────────────────────────────── */
.pricing-section {
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 12px;
}

/* Card pricing : toutes sur fond blanc, alignement uniforme via flex */
.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: visible;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Variante featured : bordure orange + bandeau orange en haut */
.pricing-card--featured {
    border: 1px solid var(--orange);
}

/* Variante prestige : bordure navy + bandeau navy en haut */
.pricing-card--prestige {
    border: 1px solid var(--navy);
}

/* Variante neutral : bordure navy + bandeau navy en haut */
.pricing-card--neutral {
    border: 1px solid var(--navy);
}

/* Pastille flottante au-dessus de la card (Premium et Prestige) */
.pricing-card__banner {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 12px;
    color: #fff;
    white-space: nowrap;
}

.pricing-card--featured .pricing-card__banner {
    background: var(--orange);
}

.pricing-card--prestige .pricing-card__banner {
    background: var(--navy);
}

.pricing-card--neutral .pricing-card__banner {
    background: var(--navy);
}

/* Corps de la card */
.pricing-card__body {
    padding: 20px 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.pricing-card__price {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.pricing-card__price-unit {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card__price-ttc {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
    margin-bottom: 20px;
}

/* Liste des features */
.pricing-card__features {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.pricing-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card__features li.is-disabled {
    color: var(--text-light);
}

.pricing-card__features .check {
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card__features .cross {
    color: var(--text-light);
    flex-shrink: 0;
}

/* Footer card (bouton) */
.pricing-card__footer {
    padding: 0 20px 20px;
    margin-top: auto;
}

/* ── PAGE OFFRES — Bloc arguments ─────────────────────────────────────────── */
.arguments-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius);
}

.arguments-block__title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange);
    margin-bottom: 8px;
}

.arguments-block__text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── PAGE OFFRES — Packs agences ──────────────────────────────────────────── */
.pack-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.pack-card__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.pack-card__price {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.pack-card__text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ── PAGINATION ───────────────────────────────────────────────────────────── */
.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
}

.pager a, .pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: border-color .15s, color .15s, background .15s;
}

.pager a:hover { border-color: var(--orange); color: var(--orange); }
.pager span.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.pager span.ellipsis { border-color: transparent; cursor: default; }

/* ── TOAST NOTIFICATIONS ──────────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.toast {
    min-width: 280px;
    max-width: 420px;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: all;
    animation: toastIn .3s ease forwards;
}

.toast.toast-ok  { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.toast.toast-err { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-msg  { flex: 1; }

@keyframes toastIn  { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-8px); } }

/* ── CONNEXION / MOT DE PASSE — Œil toggle ────────────────────────────────── */
.inp-icon-wrap {
    position: relative;
}

.inp-with-eye {
    padding-right: 40px !important;
}

.inp-eye {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    color: var(--text-light);
    transition: color .2s, background .2s;
}

.inp-eye:hover { color: var(--navy); background: var(--border); }

/* ── CONNEXION / MOT DE PASSE — Critères et force ────────────────────────── */
.pw-cr {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    transition: color .2s;
}

.pw-cr-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--border);
    transition: color .2s;
}

.pw-cr-dot::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background .2s;
}

.pw-cr.pw-cr-ok {
    color: #10B981;
}

.pw-cr.pw-cr-ok .pw-cr-dot::before {
    display: none;
}

.pw-cr.pw-cr-ok .pw-cr-dot::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================================
   TUNNEL PANIER — STEPPER
   ============================================================ */

.stepper { display: flex; align-items: center; justify-content: center; gap: 0; margin: 28px 0 32px; }
.stepper-item { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 130px; }
.stepper-puce { width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); color: var(--text-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: all .25s ease; }
.stepper-puce svg { width: 16px; height: 16px; }
.stepper-label { font-size: 13px; font-weight: 600; color: var(--text-light); text-align: center; transition: color .25s ease; white-space: nowrap; }
.stepper-line { flex: 1; height: 2px; background: var(--border); max-width: 100px; margin: 0 4px; transform: translateY(-13px); transition: background .25s ease; }
.stepper-item.is-active .stepper-puce { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: 0 0 0 4px rgba(26,26,46,.12); }
.stepper-item.is-active .stepper-label { color: var(--navy); }
.stepper-item.is-done .stepper-puce { background: #10B981; border-color: #10B981; color: var(--white); }
.stepper-item.is-done .stepper-label { color: #10B981; }
.stepper-line.is-done { background: #10B981; }

/* ============================================================
   TUNNEL PANIER — FORM-CARD, BLOC-TITLE
   ============================================================ */

.form-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    padding: 24px 28px;
    margin-bottom: 20px;
}

.bloc-title { font-weight: 800; font-size: .9rem; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }

/* ============================================================
   TUNNEL PANIER — TABLEAUX RÉCAP
   ============================================================ */

.table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.table thead { background: var(--navy); color: var(--white); }
.table th { padding: .75rem 1rem; text-align: left; font-weight: 700; font-size: .8rem; letter-spacing: .3px; text-transform: uppercase; }
.table td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #faf9f7; }
.col-montant, .table th.col-montant, .table td.col-montant { text-align: right; }
.col-centre, .table th.col-centre, .table td.col-centre { text-align: center; }
.tfoot-label { text-align: right; }
.tfoot-ht { font-weight: 700; }
.tfoot-ttc { font-weight: 800; font-size: 1.05rem; }
.tfoot-ttc-val { color: var(--orange); }

/* ============================================================
   TUNNEL PANIER — MODES DE PAIEMENT
   ============================================================ */

.pay-options { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 20px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.pay-option:hover { border-color: var(--orange-light); background: rgba(232,98,42,.05); }
.pay-option.selected { border-color: var(--orange); background: rgba(232,98,42,.06); }
.pay-option input[type=radio] { accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.pay-name { font-size: 14px; font-weight: 600; color: var(--text); }
.pay-mention { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   TUNNEL PANIER — CGV
   ============================================================ */

.cgv-titre { font-size: 13px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin: 20px 0 8px; }
.cgv-bloc { margin: 0; }
.cgv-label { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.cgv-label:hover { border-color: var(--orange-light); background: rgba(232,98,42,.05); }
.cgv-label input[type=checkbox] { display: none; }
.cgv-check-box { width: 18px; height: 18px; min-width: 18px; border-radius: 4px; border: 2px solid var(--border); background: var(--white); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: border-color .15s, background .15s; }
.cgv-label.checked .cgv-check-box { border-color: var(--orange); background: var(--orange); }
.cgv-check-icon { display: none; }
.cgv-label.checked .cgv-check-icon { display: block; }
.cgv-label.checked { border-color: var(--orange); background: rgba(232,98,42,.06); }
.cgv-text { font-size: 14px; color: var(--text); line-height: 1.5; }
.cgv-text a { color: var(--navy); text-decoration: underline; }

/* ============================================================
   TUNNEL PANIER — MODAL TVA
   ============================================================ */

.modal-overlay { position: fixed; inset: 0; background: rgba(26,26,46,.45); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 2rem 2rem 1.5rem; max-width: 360px; width: calc(100% - 2rem); box-shadow: 0 8px 32px rgba(0,0,0,.18); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.modal-icon svg { width: 40px; height: 40px; color: var(--orange); }
.modal-box p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }
.btn-corbeille { color: var(--text-muted); padding: .2rem; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; transition: color .15s, background .15s; }
.btn-corbeille:hover { color: #dc3545; background: #f8d7da; }
.btn-danger { background: #FEF2F2; color: #dc3545; border: 1px solid #FECACA; border-radius: var(--radius); padding: .5rem 1.25rem; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-danger:hover { background: #FEE2E2; border-color: #FCA5A5; }

/* ============================================================
   TUNNEL PANIER — AUTH GRID (connexion/inscription côte à côte)
   ============================================================ */

.panier-auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

/* ============================================================
   CONNEXION — PW-SUGGESTION
   ============================================================ */

.pw-suggestion { font-family: monospace; color: var(--orange); cursor: pointer; }
.pw-suggestion:hover { border-color: var(--orange-light) !important; background: rgba(232,98,42,.05) !important; transition: background .2s, border-color .2s; }

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

@media (max-width: 700px) {
    .form-card > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .panier-auth-grid { grid-template-columns: 1fr; }
    .stepper { gap: 0; margin: 20px 0 24px; }
    .stepper-item { min-width: auto; gap: 6px; }
    .stepper-item .stepper-label { display: none; }
    .stepper-item.is-active .stepper-label { display: block; font-size: 12px; }
    .stepper-line { max-width: 60px; }
}

/* ============================================================
   AUTOCOMPLETE CODE POSTAL
   ============================================================ */

.cp-suggestions { position: absolute; bottom: calc(100% + 2px); top: auto; left: 0; min-width: 100%; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin: 0; padding: 4px 0; list-style: none; z-index: 950; box-shadow: 0 -8px 24px rgba(0,0,0,.12); }
.cp-suggestions li { padding: 7px 12px; font-size: .875rem; color: var(--navy); font-weight: 700; cursor: pointer; transition: background .12s; display: flex; gap: 8px; align-items: baseline; border-bottom: 1px solid var(--border); }
.cp-suggestions li:last-child { border-bottom: none; }
.cp-suggestions li:hover, .cp-suggestions li.active { background: rgba(26,26,46,.06); }
.cp-num { color: var(--navy); }

/* ══════════════════════════════════════════════════════════════════════════════
   ESPACE CLIENT — mon-compte.php
   ══════════════════════════════════════════════════════════════════════════════ */

/* Section compte (separateur entre les blocs) */
.compte-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.compte-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Barre de recherche */
.compte-search-wrap {
    margin-bottom: 16px;
}
.compte-search-wrap .inp {
    max-width: 360px;
}

/* Tableau */
.compte-table-wrap {
    overflow-x: auto;
}
.compte-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.compte-table thead tr {
    background: var(--navy);
    color: #fff;
}
.compte-table thead th {
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
}
.compte-table thead th:not(:first-child) {
    text-align: center;
}
.compte-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.compte-table tbody tr:last-child {
    border-bottom: none;
}
.compte-table tbody tr:hover {
    background: var(--bg);
}
.compte-table td {
    padding: 12px 14px;
    vertical-align: middle;
    text-align: left;
}
.compte-table td:not(:first-child):not(:last-child) {
    text-align: center;
}
.compte-td-titre {
    font-weight: 500;
    width: 100%;
}
.compte-table th:nth-child(2),
.compte-table td:nth-child(2) {
    width: 110px;
}
.compte-table th:nth-child(3),
.compte-table td:nth-child(3) {
    width: 70px;
}
.compte-td-actions {
    white-space: nowrap;
    text-align: right;
    width: 1px;
}

/* Liens d'action dans le tableau */
.compte-action-lien {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
    text-decoration: none;
}
.compte-action-lien:hover {
    color: var(--navy);
    background: var(--bg);
}
.compte-action-sup:hover {
    color: #dc3545;
    background: #f8d7da;
}

/* Badge type (Site / Article) */
.compte-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.compte-badge-site    { background: rgba(26,26,46,.1); color: var(--navy); }
.compte-badge-article { background: rgba(232,98,42,.1); color: var(--orange); }

/* Statut commande */
.compte-statut {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.compte-statut-ok  { background: #d4edda; color: #155724; }
.compte-statut-att { background: #fff3cd; color: #856404; }

/* Message aucun resultat */
.compte-table-empty {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* Bloc detail commande */
.compte-detail-bloc {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.compte-detail-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.compte-detail-meta strong {
    color: var(--text);
}
.compte-detail-totaux {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    max-width: 320px;
    margin-left: auto;
}
.compte-detail-ligne {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 5px 0;
    color: var(--text-muted);
}
.compte-detail-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
}

/* Boutons d'action tableau compte (Voir, Modifier, Detail, Supprimer) */
.compte-btn-action,
.compte-btn-sup-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--navy);
    background: var(--white);
    text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
    white-space: nowrap;
    margin-left: 4px;
    vertical-align: middle;
}
.compte-btn-action {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
}
.compte-btn-action:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

/* Bouton corbeille SVG */
.compte-btn-sup-ico {
    width: 28px;
    flex-shrink: 0;
}
.compte-btn-sup-ico:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}
.compte-btn-sup-ico svg {
    stroke: currentColor;
}

/* Badge compteur inline H1 */
.h1-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Source Sans 3', Arial, sans-serif;
    background: rgba(232,98,42,.1);
    color: var(--orange);
    border: 1px solid rgba(232,98,42,.2);
    vertical-align: middle;
    margin-left: 12px;
    position: relative;
    top: -4px;
}

/* ── Tableau commandes ───────────────────────────────────────────────────── */
.commandes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.commandes-table thead tr {
    background: var(--navy);
    color: #fff;
}
.commandes-table thead th {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: left;
}
.commandes-table thead th.th-right { text-align: right; }
.commandes-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.commandes-table tbody tr:last-child { border-bottom: none; }
.commandes-table tbody tr:hover { background: var(--bg); }
.commandes-table td {
    padding: 12px 14px;
    vertical-align: middle;
    text-align: left;
}
.commandes-table td.commandes-td-ref     { white-space: nowrap; font-weight: 700; }
.commandes-table td.commandes-td-offre   { width: 100%; }
.commandes-table td.commandes-td-date    { white-space: nowrap; text-align: center; }
.commandes-table td.commandes-td-montant { white-space: nowrap; text-align: right; }
.commandes-table td.commandes-td-actions { white-space: nowrap; text-align: right; width: 1px; }

/* ============================================================
   SCORING SEO — BANDEAU FIXE BAS DE PAGE
   ============================================================ */
#form-ajout-entree { padding-bottom: 90px; }

#scoring-bandeau {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: #fff;
    z-index: 900;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
#scoring-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
}
#scoring-titre {
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
}
#scoring-total {
    font-size: .85rem;
    white-space: nowrap;
}
#scoring-pts {
    font-weight: 800;
    font-size: 1.1rem;
}
#scoring-jauge-wrap {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,.2);
    border-radius: 4px;
    overflow: hidden;
}
#scoring-jauge {
    height: 100%;
    width: 0;
    border-radius: 4px;
    transition: width .4s, background .4s;
}
#scoring-toggle {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: .8rem;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
#scoring-toggle:hover { background: rgba(255,255,255,.25); }
#scoring-detail {
    background: #1a2f4e;
    padding: 12px 24px 16px;
    border-top: 1px solid rgba(255,255,255,.1);
}
#scoring-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 6px 24px;
}
.scoring-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.5);
}
.scoring-item.scoring-ok { color: #fff; }
.scoring-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    flex-shrink: 0;
}
.scoring-ok .scoring-dot { background: #4caf50; }
.scoring-label { flex: 1; }
.scoring-pts-item {
    font-weight: 700;
    white-space: nowrap;
    font-size: .8rem;
}
.scoring-ok .scoring-pts-item { color: #4caf50; }

/* ============================================================
   DISCLAIMER SEO
   ============================================================ */
.disclaimer-seo {
    background: #fff6f1;
    border: 1px solid #f4c4a8;
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 20px;
    font-size: .88rem;
    color: var(--text);
    line-height: 1.6;
}
.disclaimer-seo strong { color: var(--navy); }

/* ── DROPDOWN RECHERCHE ─────────────────────────────────────────────────── */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 480px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 999;
    overflow: hidden;
}

@media (max-width: 768px) {
    .search-dropdown {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .search-dropdown { top: 48px; }
}
.search-dropdown-header {
    padding: 10px 14px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.search-result {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}
.search-result:last-of-type { border-bottom: none; }
.search-result:hover { background: var(--bg); }
.search-result-thumb {
    width: 64px;
    height: 44px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--navy) 0%, #2d2d5e 100%);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.search-result-thumb svg { opacity: 0.2; }
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-body { flex: 1; min-width: 0; }
.search-result-top {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 3px;
}
.search-result-cat {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 2px 7px;
    border-radius: 8px;
    color: #fff;
    white-space: nowrap;
}
.search-result-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-excerpt {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-dropdown-footer {
    display: block;
    padding: 10px 14px;
    font-size: 11px;
    color: var(--orange);
    font-weight: 600;
    text-align: center;
    background: var(--bg);
    border-top: 1px solid var(--border);
    text-decoration: none;
    transition: color 0.15s;
}
.search-dropdown-footer:hover { color: var(--orange-light); }
.search-spinner,
.search-empty {
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
}
