@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   VARIABLES GLOBALES ET BASE
   ========================================== */
:root {
    --v-brand-blue: #0f172a;
    --v-brand-light-blue: #1e293b;
    --v-accent-blue: #2563eb;
    --v-accent-red: #e11d48;
    --v-bg-light: #f8fafc;
    --v-text-main: #475569;
    --v-text-dark: #0f172a;
    --v-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--v-text-main);
    background-color: var(--v-bg-light);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Boutons globaux */
.v-btn-primary {
    background-color: var(--v-accent-blue);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 10px 25px !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.v-btn-primary:hover {
    background-color: var(--v-brand-blue);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

/* En-tête de page global (Hero commun) */
.velin-page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 20px 120px 20px;
    text-align: center;
    color: white;
}
.velin-page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.velin-page-header p {
    max-width: 600px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.6;
}

/* ==========================================
   NAVIGATION SUR-MESURE (HEADER)
   ========================================== */
.velin-custom-header {
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.velin-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 30px;
}
.velin-brand img { height: 45px; }
.velin-desktop-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}
.velin-nav-item {
    position: relative;
    font-weight: 700;
    color: var(--v-text-dark);
    cursor: pointer;
    text-decoration: none;
}
.velin-nav-item a { color: inherit; text-decoration: none; transition: 0.3s; }
.velin-nav-item a:hover { color: var(--v-accent-blue); }

/* Menu déroulant au survol */
.velin-mega-menu {
    display: none;
    position: absolute;
    top: 150%;
    left: -20px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 15px 0;
    min-width: 220px;
    flex-direction: column;
}
.velin-nav-item:hover .velin-mega-menu { display: flex; top: 100%; }
.velin-mega-menu a {
    padding: 12px 25px;
    color: var(--v-text-main);
    font-weight: 600;
    font-size: 0.95rem;
}
.velin-mega-menu a:hover { background: #f8fafc; color: var(--v-accent-blue); }

.velin-btn-login {
    background: var(--v-brand-blue);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}
.velin-btn-login:hover { background: var(--v-accent-blue); color: #ffffff; transform: translateY(-2px); }

/* ==========================================
   PIED DE PAGE SUR-MESURE (FOOTER)
   ========================================== */
.velin-custom-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 80px 30px 30px;
    margin-top: 50px;
}
.velin-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto 60px;
}
.velin-footer-brand h2 { color: #ffffff; font-weight: 900; font-size: 1.8rem; margin-bottom: 20px; }
.velin-footer-brand p { font-size: 1rem; line-height: 1.6; max-width: 400px; margin-bottom: 30px; }
.velin-socials a {
    display: inline-flex; width: 45px; height: 45px;
    background: rgba(255,255,255,0.05); color: #ffffff;
    border-radius: 50%; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-right: 15px; transition: 0.3s; text-decoration: none;
}
.velin-socials a:hover { background: var(--v-accent-blue); transform: translateY(-3px); }
.velin-footer-links h3 { color: #ffffff; font-weight: 800; margin-bottom: 25px; font-size: 1.2rem; }
.velin-footer-links a {
    display: block; color: #94a3b8; text-decoration: none; font-weight: 500;
    margin-bottom: 15px; transition: 0.3s;
}
.velin-footer-links a:hover { color: #ffffff; padding-left: 5px; }
.velin-footer-legal {
    text-align: center; border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px; font-size: 0.9rem; font-weight: 600;
}

/* ==========================================
   PAGE D'ACCUEIL (SPLIT & ZIG-ZAG)
   ========================================== */
.velin-split-hero {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 80vh; max-width: 1400px; margin: 0 auto;
}
.velin-hero-content {
    padding: 100px 50px; display: flex; flex-direction: column; justify-content: center;
}
.velin-badge-new {
    background: #e0e7ff; color: #4338ca; padding: 8px 20px;
    border-radius: 50px; font-weight: 800; font-size: 0.85rem;
    align-self: flex-start; margin-bottom: 30px; text-transform: uppercase;
}
.velin-hero-content h1 { font-size: 3.5rem; font-weight: 900; color: var(--v-brand-blue); line-height: 1.1; margin-bottom: 25px; }
.velin-hero-content p { font-size: 1.2rem; color: var(--v-text-main); line-height: 1.7; margin-bottom: 40px; max-width: 90%; }
.velin-hero-buttons { display: flex; gap: 20px; }
.velin-btn-alt {
    background: #ffffff; color: var(--v-text-dark); padding: 15px 35px;
    border-radius: 50px; font-weight: 700; border: 2px solid #e2e8f0;
    text-decoration: none; transition: 0.3s;
}
.velin-btn-alt:hover { border-color: var(--v-brand-blue); color: var(--v-brand-blue); }
.velin-hero-visual {
    background: var(--v-brand-blue);
    border-bottom-left-radius: 100px;
    display: flex; align-items: center; justify-content: center;
}
.velin-hero-visual i { font-size: 15rem; color: rgba(255,255,255,0.05); transform: rotate(-15deg); }

.velin-zigzag-section { max-width: 1200px; margin: 100px auto; padding: 0 30px; }
.velin-zigzag-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; margin-bottom: 100px;
}
.velin-zigzag-row.reverse { direction: rtl; }
.velin-zigzag-row.reverse > * { direction: ltr; }
.velin-zigzag-text h2 { font-size: 2.5rem; font-weight: 900; color: var(--v-text-dark); margin-bottom: 25px; }
.velin-zigzag-text p { font-size: 1.1rem; color: var(--v-text-main); margin-bottom: 30px; line-height: 1.6; }
.velin-zigzag-text a { font-weight: 800; color: var(--v-accent-blue); text-decoration: none; font-size: 1.1rem; }
.velin-zigzag-box {
    aspect-ratio: 1; border-radius: 40px; display: flex;
    align-items: center; justify-content: center; font-size: 6rem; color: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1); transform: rotate(3deg); transition: 0.5s;
}
.velin-zigzag-row:hover .velin-zigzag-box { transform: rotate(0deg) scale(1.05); }

/* ==========================================
   PAGES DES OFFRES (VPS, BOTS, PRONOTE, PACKS)
   ========================================== */

/* 1. Bandeaux Horizontaux (VPS & Packs) */
.velin-bandeau-offre {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    background: #ffffff; border-radius: 20px; padding: 35px 40px; margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03); border-left: 8px solid var(--v-accent-blue);
    transition: transform 0.3s;
}
.velin-bandeau-offre:hover { transform: scale(1.02); }
.velin-bandeau-tete { flex: 1; min-width: 250px; }
.velin-bandeau-tete h3 { font-size: 1.8rem; font-weight: 800; color: var(--v-brand-blue); margin: 0; }
.velin-bandeau-tete p { color: var(--v-text-main); font-size: 0.95rem; margin-top: 10px; max-width: 90%; }
.velin-bandeau-specs { flex: 2; display: flex; gap: 12px; flex-wrap: wrap; min-width: 300px; padding: 0 20px; }
.velin-tag { 
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 50px; 
    padding: 10px 18px; font-size: 0.85rem; font-weight: 700; color: var(--v-text-dark); 
    display: flex; align-items: center; gap: 8px; 
}
.velin-tag i { color: var(--v-accent-blue); font-size: 1rem; }
.velin-bandeau-action { flex: 1; text-align: right; min-width: 200px; }
.velin-bandeau-action .prix-choc { font-size: 3rem; font-weight: 900; color: var(--v-text-dark); display: block; margin-bottom: 10px; line-height: 1; }
.velin-bandeau-action .prix-choc span { font-size: 1rem; color: var(--v-text-main); font-weight: 600; }

/* 2. Grille Asymétrique "Masonry" (Bots) */
.velin-asymetrique { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1200px; margin: -50px auto 80px; position: relative; z-index: 10; padding: 0 20px; }
.velin-bloc-sombre { background: var(--v-brand-blue); color: white; padding: 50px; border-radius: 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.velin-bloc-clair { background: #ffffff; padding: 40px; border-radius: 30px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.03); display: flex; flex-direction: column; justify-content: space-between; }
.velin-bloc-clair.large { grid-column: span 2; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.velin-titre-bloc { font-size: 2rem; font-weight: 900; margin-bottom: 20px; }
.velin-liste-epuree { list-style: none; padding: 0; margin: 0 0 30px 0; }
.velin-liste-epuree li { padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,0.1); font-weight: 600; display: flex; align-items: center; gap: 15px; }
.velin-bloc-sombre .velin-liste-epuree li { border-bottom: 1px dashed rgba(255,255,255,0.2); }

/* 3. Blocs Duo Contraste (Pronote) */
.velin-duo-container { display: flex; flex-wrap: wrap; gap: 0; max-width: 1000px; margin: -50px auto 80px; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.1); position: relative; z-index: 10; }
.velin-duo-moitie { flex: 1; min-width: 300px; padding: 60px 40px; }
.velin-duo-gauche { background: #ffffff; }
.velin-duo-droite { background: var(--v-accent-blue); color: white; }

/* ==========================================
   PAGES INTERNES SECONDAIRES
   ========================================== */

/* Page À propos - Mode Quinconce */
.velin-about-staggered { display: flex; flex-direction: column; gap: 80px; max-width: 1000px; margin: 50px auto; padding: 0 20px; }
.velin-about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.velin-about-block:nth-child(even) { direction: rtl; }
.velin-about-block:nth-child(even) > * { direction: ltr; }
.velin-about-number { font-size: 6rem; font-weight: 900; color: #f1f5f9; line-height: 0.8; margin-bottom: 10px; }
.velin-about-text h3 { font-size: 2rem; font-weight: 800; color: var(--v-text-dark); margin-bottom: 15px; }
.velin-about-text p { font-size: 1.1rem; color: var(--v-text-main); line-height: 1.7; }

/* Page Équipe - Liste Horizontale */
.velin-team-list { max-width: 900px; margin: -50px auto 80px; position: relative; z-index: 10; padding: 0 20px; }
.velin-team-row { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 25px 40px; background: #ffffff; border-radius: 20px; margin-bottom: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); border-left: 6px solid var(--v-accent-blue);
    transition: 0.3s;
}
.velin-team-row:hover { transform: translateX(10px); }
.velin-team-row.client { border-left-color: var(--v-accent-red); }
.velin-team-row.comms { border-left-color: #10b981; }
.velin-team-info { display: flex; align-items: center; gap: 25px; }
.velin-team-avatar { 
    width: 60px; height: 60px; border-radius: 15px; background: #f8fafc; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.5rem; color: var(--v-brand-blue);
}
.velin-team-details h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 5px 0; color: var(--v-text-dark); }
.velin-team-details span { font-size: 0.9rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; }

/* Page Contact - Split Screen Pleine Largeur */
.velin-contact-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.velin-contact-dark { background: var(--v-brand-blue); color: white; padding: 100px 10%; display: flex; flex-direction: column; justify-content: center; }
.velin-contact-light { background: #ffffff; padding: 100px 10%; display: flex; flex-direction: column; justify-content: center; }
.velin-contact-item { margin-bottom: 40px; }
.velin-contact-item h4 { font-size: 1.2rem; font-weight: 800; color: #93c5fd; margin-bottom: 10px; }
.velin-input { width: 100%; padding: 18px 20px; border: 2px solid #e2e8f0; border-radius: 12px; background: #f8fafc; margin-bottom: 25px; font-family: inherit; transition: 0.3s; }
.velin-input:focus { border-color: var(--v-accent-blue); outline: none; background: #ffffff; }

/* Page FAQ - Mode Pinterest (Masonry) */
.velin-faq-masonry { column-count: 2; column-gap: 40px; max-width: 1200px; margin: -40px auto 80px; padding: 0 20px; position: relative; z-index: 10; }
.velin-faq-card { break-inside: avoid; background: #ffffff; padding: 35px; border-radius: 20px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; }
.velin-faq-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--v-text-dark); margin-bottom: 15px; line-height: 1.4; }
.velin-faq-card p { color: var(--v-text-main); line-height: 1.7; font-size: 1rem; margin: 0; }
.velin-faq-tag { display: inline-block; background: #eff6ff; color: var(--v-accent-blue); padding: 5px 12px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; margin-bottom: 15px; }

/* Page Status - Tableau de bord unifié */
.velin-status-board { max-width: 900px; margin: -50px auto 80px; background: #ffffff; border-radius: 30px; padding: 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); position: relative; z-index: 10; border: 1px solid #e2e8f0; }
.velin-status-line { display: flex; justify-content: space-between; align-items: center; padding: 25px 0; border-bottom: 1px dashed #e2e8f0; }
.velin-status-line:last-child { border-bottom: none; padding-bottom: 0; }
.velin-status-name { font-size: 1.1rem; font-weight: 800; color: var(--v-text-dark); display: flex; align-items: center; gap: 15px; }
.velin-badge-status { padding: 6px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }
.velin-badge-status.online { background: #d1fae5; color: #059669; }
.velin-badge-status.warning { background: #fef3c7; color: #d97706; }
.velin-badge-status.danger { background: #fee2e2; color: #dc2626; }

/* Page Actualités - Magazine Layout */
.velin-news-magazine { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; max-width: 1200px; margin: -50px auto 80px; padding: 0 20px; position: relative; z-index: 10; }
.velin-news-featured { background: var(--v-brand-blue); color: white; border-radius: 30px; padding: 60px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 450px; }
.velin-news-featured h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.2; color: white; }
.velin-news-featured a { color: white; text-decoration: none; }
.velin-news-side { display: flex; flex-direction: column; gap: 30px; }
.velin-news-mini { background: #ffffff; padding: 30px; border-radius: 20px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; justify-content: center; }

/* ==========================================
   RESPONSIVE (MOBILES ET TABLETTES)
   ========================================== */
@media (max-width: 992px) {
    /* Cache le menu bureau au profit du bouton mobile (géré par bootstrap si besoin, sinon affichage simple) */
    .velin-desktop-nav { display: none; }
    
    /* Footer */
    .velin-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    /* Accueil */
    .velin-split-hero { grid-template-columns: 1fr; min-height: auto; }
    .velin-hero-visual { display: none; }
    .velin-hero-content { padding: 60px 20px; }
    .velin-hero-content h1 { font-size: 2.5rem; }
    
    .velin-zigzag-row { grid-template-columns: 1fr; gap: 40px; }
    .velin-zigzag-row.reverse { direction: ltr; }
    
    /* Offres */
    .velin-bandeau-action { text-align: left; margin-top: 20px; }
    .velin-asymetrique { grid-template-columns: 1fr; }
    .velin-bloc-clair.large { grid-column: span 1; grid-template-columns: 1fr; }
    
    /* Pages Internes */
    .velin-about-block { grid-template-columns: 1fr; gap: 20px; }
    .velin-contact-split { grid-template-columns: 1fr; }
    .velin-faq-masonry { column-count: 1; }
    .velin-news-magazine { grid-template-columns: 1fr; }
    .velin-team-row { flex-direction: column; align-items: flex-start; gap: 15px; }
}
