/* ==================================================================
   VITRINE QRAVENUE (vitrine.php) : visuel Conversa.
   Jetons repris de VPS/conversa/httpdocs/assets/css/style.css.
   Couleurs en hexadecimal dans :root seulement.
   ================================================================== */

:root {
    --fond: #f6f6f7;
    --surface: #ffffff;
    --bord: #e5e5e8;
    --bord-fort: #d4d4d8;
    --texte: #18181b;
    --texte-2: #52525b;
    --texte-3: #68686f;
    --primaire: #1f48c7;
    --primaire-fonce: #173a9f;
    --primaire-doux: #e9edf9;
    --nuit: #0f1a3a;
    --nuit-texte: #c9d3ec;
    --succes: #067647;
    --succes-fond: #ecfdf3;
    --rayon: 12px;
    --ombre: 0 1px 2px #1010140a;
    --ombre-haute: 0 18px 50px #10101424;
    --police: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primaire); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primaire); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.evitement { position: absolute; left: -9999px; top: 0; padding: 10px 14px; background: var(--texte); color: var(--surface); z-index: 100; }
.evitement:focus { left: 8px; top: 8px; }

.v-cadre { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Boutons */
.v-bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; background: var(--primaire); color: var(--surface); font-weight: 600; text-decoration: none; }
.v-bouton:hover { background: var(--primaire-fonce); }
.v-bouton-contour { background: var(--surface); border-color: var(--bord-fort); color: var(--texte); }
.v-bouton-contour:hover { background: var(--fond); }
.v-bouton-clair { background: var(--surface); color: var(--nuit); }
.v-bouton-clair:hover { background: var(--primaire-doux); }
.v-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Barre */
.v-barre { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--bord); }
.v-barre .v-cadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.v-marque { font-weight: 800; font-size: 19px; letter-spacing: 0.02em; color: var(--texte); text-decoration: none; }
.v-marque span { color: var(--primaire); }
.v-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 15px; }
.v-nav a { color: var(--texte-2); text-decoration: none; font-weight: 500; padding: 6px 0; }
.v-nav a:hover, .v-nav a[aria-current="page"] { color: var(--primaire); }
.v-nav .v-bouton { color: var(--surface); min-height: 40px; padding: 0 16px; }

/* Heros */
.v-hero { padding: 56px 0 48px; background: var(--surface); border-bottom: 1px solid var(--bord); }
.v-hero .v-cadre { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.v-sur { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primaire); }
.v-hero h1 { font-size: clamp(34px, 5.2vw, 56px); margin: 12px 0 18px; }
.v-hero h1 em { font-style: normal; color: var(--primaire); }
.v-chapo { font-size: 18px; color: var(--texte-2); max-width: 620px; margin-bottom: 14px; }
.v-hero .v-actions { margin-top: 22px; }
.v-hero-image { border-radius: 18px; overflow: hidden; box-shadow: var(--ombre-haute); }
.v-hero-image img { width: 100%; height: auto; }
.v-hero-court { padding: 40px 0 32px; }
.v-hero-court h1 { font-size: clamp(30px, 4.2vw, 44px); }

/* Chiffres */
.v-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; }
.v-chiffre { padding: 16px 18px; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--fond); }
.v-chiffre b { display: block; white-space: nowrap; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.v-chiffre span { font-size: 14px; color: var(--texte-2); }

/* Sections */
.v-section { padding: 64px 0; }
.v-section-blanche { background: var(--surface); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.v-section-nuit { background: var(--nuit); color: var(--surface); }
.v-section-nuit p, .v-section-nuit li { color: var(--nuit-texte); }
.v-entete { max-width: 760px; margin-bottom: 32px; }
.v-entete h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 8px 0 12px; }
.v-entete p { color: var(--texte-2); font-size: 17px; }
.v-section-nuit .v-entete p { color: var(--nuit-texte); }
.v-section-nuit .v-sur { color: var(--primaire-doux); }

/* Grilles de cartes */
.v-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.v-carte { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--surface); box-shadow: var(--ombre); }
.v-carte h3 { font-size: 19px; }
.v-carte p { color: var(--texte-2); font-size: 15px; }
.v-carte-num { font-size: 13px; font-weight: 700; color: var(--primaire); font-variant-numeric: tabular-nums; }
.v-carte-image { margin: -22px -22px 6px; border-radius: var(--rayon) var(--rayon) 0 0; overflow: hidden; }
.v-carte-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v-carte-lien { margin-top: auto; font-weight: 600; text-decoration: none; }
.v-carte-sombre { background: transparent; border-color: #ffffff2e; box-shadow: none; }
.v-carte-sombre h3 { color: var(--surface); }
.v-carte-sombre p { color: var(--nuit-texte); }
.v-etiquette { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--primaire-doux); color: var(--primaire-fonce); }
.v-etiquette-succes { background: var(--succes-fond); color: var(--succes); }

/* Liste d'arguments */
.v-arguments { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 28px; }
.v-arguments li { position: relative; padding-left: 30px; }
.v-arguments li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 3px solid var(--primaire); border-bottom: 3px solid var(--primaire); transform: rotate(-45deg); }
.v-arguments b { color: var(--texte); }

.v-espace { margin-top: 16px; }
.v-arguments-colonne { grid-template-columns: minmax(0, 1fr); }

/* Tarifs */
.v-tarifs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.v-prix { border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--surface); overflow: hidden; }
.v-prix-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--bord); }
.v-prix-ligne:last-child { border-bottom: 0; }
.v-prix-ligne b { font-size: 20px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v-prix-ligne small { display: block; color: var(--texte-3); font-size: 13px; }
.v-exemple { padding: 18px 20px; border-radius: var(--rayon); background: var(--primaire-doux); color: var(--texte); }
.v-module-specs { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--texte-2); }
.v-module-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--bord); }
.v-module-specs li b { color: var(--texte); text-align: right; }

/* FAQ */
.v-faq { display: grid; gap: 10px; max-width: 860px; }
.v-faq details { border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--surface); }
.v-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style-position: inside; }
.v-faq details p { padding: 0 20px 18px; color: var(--texte-2); }

/* Villes */
.v-villes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.v-ville-meta { font-size: 13px; color: var(--texte-3); }
.v-puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v-puces a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--bord); border-radius: 999px; background: var(--surface); color: var(--texte); text-decoration: none; font-size: 14px; }
.v-puces a:hover { border-color: var(--primaire); color: var(--primaire); }

/* Texte long (fabrication, presentation) */
.v-texte { max-width: 760px; display: grid; gap: 14px; color: var(--texte-2); font-size: 17px; }
.v-deux { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.v-figure { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bord); }

/* Appel final */
.v-appel { padding: 56px 0; background: var(--primaire); color: var(--surface); }
.v-appel .v-cadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.v-appel h2 { font-size: clamp(24px, 3vw, 34px); max-width: 720px; }
.v-appel p { color: var(--primaire-doux); margin-top: 8px; max-width: 720px; }

/* Pied */
.v-pied { padding: 32px 0; background: var(--nuit); color: var(--nuit-texte); font-size: 14px; }
.v-pied .v-cadre { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.v-pied nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.v-pied a { color: var(--surface); text-decoration: none; }
.v-pied a:hover { text-decoration: underline; }

@media (min-width: 900px) {
    .v-cadre { padding: 0 32px; }
    .v-hero .v-cadre { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; }
    .v-hero { padding: 80px 0 64px; }
    .v-section { padding: 88px 0; }
    .v-tarifs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .v-deux { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
}
