﻿/* ==========================================================================
STYLE MODERNE PREMIUM & ULTRA-RESPONSIVE (ARCHITECTURE À 2 COLONNES)
========================================================================== */

/* STREAMING_CHUNK: Déclaration des variables de design globale */
:root {
--inwi-purple: #911175;
--inwi-purple-rgb: 145, 17, 117;
--inwi-purple-dark: #6e0c58;
--inwi-magenta: #ff007f;
--slate-900: #0f172a;
--slate-800: #1e293b;
--slate-700: #334155;
--slate-500: #64748b;
--slate-100: #f1f5f9;
--slate-50: #f8fafc;
--white: #ffffff;
--font-heading: 'Poppins', sans-serif;
--font-body: 'Inter', sans-serif;
--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
--shadow-lg: 0 10px 25px -5px rgba(145, 17, 117, 0.08);
}

/* STREAMING_CHUNK: Rétablissement des styles de base et typographie */

{
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: var(--font-body);
color: var(--slate-700);
background-color: #f3f4f6;
line-height: 1.6;
overflow-x: hidden;
}

body.no-scroll {
overflow: hidden;
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* STREAMING_CHUNK: Mise en forme du bandeau de partenariat inwi */
.top-badge-bar {
background-color: var(--slate-900);
color: rgba(255, 255, 255, 0.85);
font-size: 0.75rem;
padding: 8px 0;
font-weight: 500;
}

.top-badge-flex {
display: flex;
justify-content: space-between;
align-items: center;
}

.top-badge-bar i {
color: var(--inwi-magenta);
margin-right: 4px;
}

.partner-text {
font-size: 0.75rem;
}

.inwi-brand {
color: var(--inwi-magenta);
text-transform: lowercase;
font-weight: 800;
}

/* STREAMING_CHUNK: Design du Header et Navigation Principale */
.header {
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: var(--shadow-sm);
position: sticky;
top: 0;
z-index: 999;
border-bottom: 1px solid var(--slate-100);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;  /* ← MODIFIÉ : suppression du padding 12px */
    height: 80px;  /* ← AJOUTÉ */
}
.header .container {
    padding: 0 20px 0 0;  /* ← AJOUTEZ CECI si pas présent */
}
.logo img {
    height: 52px;  /* ← MODIFIÉ : 48px → 52px */
    width: auto;
    display: block;
    margin: 0;  /* ← AJOUTÉ */
    padding: 0;  /* ← AJOUTÉ */
    transition: var(--transition-smooth);
}

.logo img:hover {
transform: scale(1.02);
}

.navbar {
display: flex;
align-items: center;
}

.nav-menu {
display: flex;
list-style: none;
align-items: center;
gap: 4px;
}

.nav-link {
text-decoration: none;
color: var(--slate-800);
font-family: var(--font-heading);
font-weight: 500;
font-size: 0.85rem;
padding: 8px 12px;
border-radius: 8px;
transition: var(--transition-smooth);
display: flex;
align-items: center;
gap: 6px;
}

.nav-link i {
font-size: 0.8rem;
color: var(--inwi-purple);
opacity: 0.8;
}

.nav-link:hover {
color: var(--inwi-purple);
background-color: rgba(var(--inwi-purple-rgb), 0.05);
}

.nav-divider {
width: 1px;
height: 20px;
background-color: var(--slate-100);
margin: 0 8px;
}

.btn-intranet-nav {
text-decoration: none;
background-color: var(--inwi-purple);
color: var(--white) !important;
padding: 8px 16px;
border-radius: 50px;
font-family: var(--font-heading);
font-weight: 600;
font-size: 0.85rem;
box-shadow: 0 3px 10px rgba(145, 17, 117, 0.2);
transition: var(--transition-smooth);
}

.btn-intranet-nav:hover {
background-color: var(--inwi-purple-dark);
transform: translateY(-1px);
box-shadow: 0 5px 12px rgba(145, 17, 117, 0.35);
}

/* STREAMING_CHUNK: Design des Breadcrumbs (Fil d'Ariane) */
.breadcrumb-container {
background-color: var(--white);
padding: 12px 0;
border-bottom: 1px solid var(--slate-100);
}

.breadcrumbs {
font-size: 0.85rem;
color: var(--slate-500);
display: flex;
align-items: center;
gap: 6px;
}

.showHere {
font-weight: 600;
color: var(--slate-800);
}

.showHere i {
color: var(--inwi-purple);
font-size: 0.8rem;
}

.current-path {
color: var(--inwi-purple);
font-weight: 500;
}

/* STREAMING_CHUNK: Architecture 2 colonnes par Grid CSS */
.main-layout-container {
padding: 30px 0 50px 0;
}

.grid-layout {
display: grid;
grid-template-columns: 280px 1fr; /* 2 colonnes strictes : gauche fixe, droite flexible */
gap: 30px;
align-items: start;
}

/* Sidebar à gauche */
.sidebar-left {
display: flex;
flex-direction: column;
gap: 20px;
}

/* Contenu principal à droite */
.main-content-area {
background-color: var(--white);
padding: 30px;
border-radius: 12px;
box-shadow: var(--shadow-sm);
border: 1px solid rgba(0,0,0,0.03);
min-height: 500px;
}

/* STREAMING_CHUNK: Design moderne du widget Intranet */
.widget-box {
background-color: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow-sm);
border: 1px solid rgba(0,0,0,0.03);
}

.widget-title {
background: linear-gradient(135deg, var(--inwi-purple) 0%, var(--inwi-purple-dark) 100%);
color: var(--white);
padding: 14px 18px;
font-family: var(--font-heading);
font-size: 0.95rem;
font-weight: 600;
}

.widget-title i {
margin-right: 6px;
}

.widget-content {
padding: 20px;
}

.widget-desc {
font-size: 0.85rem;
color: var(--slate-500);
margin-bottom: 15px;
}

.btn-sidebar-login {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
text-decoration: none;
background-color: var(--slate-50);
color: var(--inwi-purple);
border: 1px solid rgba(145, 17, 117, 0.2);
padding: 10px 14px;
border-radius: 8px;
font-family: var(--font-heading);
font-size: 0.85rem;
font-weight: 600;
transition: var(--transition-smooth);
}

.btn-sidebar-login:hover {
background-color: var(--inwi-purple);
color: var(--white);
border-color: var(--inwi-purple);
transform: translateY(-1px);
}

/* STREAMING_CHUNK: Style moderne du Footer */
.footer {
background-color: var(--slate-900);
color: var(--slate-500);
padding: 30px 0;
border-top: 3px solid var(--inwi-purple);
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 15px;
}

.brand-logo {
font-family: var(--font-heading);
font-weight: 800;
font-size: 1.3rem;
color: var(--white);
letter-spacing: -0.5px;
}

.inwi-purple-color {
color: var(--inwi-magenta);
}

.brand-desc {
font-size: 0.8rem;
color: #64748b;
margin-top: 4px;
}

.footer-copyright {
font-size: 0.85rem;
}

.footer-copyright strong {
color: #94a3b8;
}

/* STREAMING_CHUNK: Cible tactile et Burger Menu */
.menu-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 10px;
}

.menu-toggle .bar {
display: block;
width: 22px;
height: 2px;
margin: 5px auto;
transition: var(--transition-smooth);
background-color: var(--slate-800);
border-radius: 4px;
}

/* STREAMING_CHUNK: Règles de réactivité et adaptation mobile /
@media screen and (max-width: 992px) {
/ Bascule de la structure à 2 colonnes vers un affichage vertical à 1 colonne */
.grid-layout {
grid-template-columns: 1fr;
gap: 20px;
}

/* La barre latérale passe au-dessus ou en dessous selon vos priorités de lecture */
.sidebar-left {
    order: 2; /* L'Intranet passe en bas sous le contenu sur mobile */
}

.main-content-area {
    order: 1;
    padding: 20px;
}


}

@media screen and (max-width: 768px) {
.top-badge-bar {
display: none; /* Simplification sur écran de téléphone */
}

.menu-toggle {
    display: block;
}

/* Animation de l'icône burger vers croix (X) */
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--inwi-purple);
}
.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--inwi-purple);
}

/* Menu de type tiroir latéral mobile */
.navbar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 90px 24px 40px 24px;
    z-index: 998;
    display: block;
}

.navbar.active {
    right: 0;
}

.nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.nav-link {
    font-size: 1rem;
    padding: 10px 14px;
    background-color: var(--slate-50);
    border-radius: 8px;
}

.nav-divider {
    width: 100%;
    height: 1px;
    background-color: var(--slate-100);
    margin: 8px 0;
}

.btn-intranet-nav {
    display: flex;
    justify-content: center;
    padding: 12px;
}

/* Voile de fond */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 997;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.footer-content {
    flex-direction: column;
    text-align: center;
}


}