*{box-sizing:border-box}body{margin:0;font-family:'Segoe UI',Arial,sans-serif;background:#f4f7fb;color:#0f172a}a{text-decoration:none}.navbar{height:78px;background:rgba(8,20,45,.94);display:flex;align-items:center;justify-content:space-between;padding:0 7%;position:fixed;top:0;left:0;right:0;z-index:10;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px;color:#fff;font-weight:900;font-size:24px}.brand img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#fff}.navlinks{display:flex;gap:26px;align-items:center}.navlinks a{color:#fff;font-weight:600}.btn{display:inline-block;border:0;border-radius:999px;padding:12px 24px;font-weight:800;cursor:pointer}.btn-gold{background:#fbbf24;color:#111827}.btn-green{background:#16a34a;color:#fff}.hero{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:110px 7% 50px;background:linear-gradient(135deg,#071b3a,#0f766e);color:#fff;gap:40px}.hero h1{font-size:54px;line-height:1.05;margin:0 0 22px}.hero p{font-size:20px;line-height:1.7}.hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:34px;padding:34px;box-shadow:0 30px 80px rgba(0,0,0,.3)}.hero-card img{width:100%;border-radius:24px}.features{padding:70px 7%;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.feature,.card{background:#fff;border-radius:24px;padding:28px;box-shadow:0 15px 40px rgba(15,23,42,.08)}.feature h3{color:#0f766e}.footer{padding:22px;text-align:center;background:#0f172a;color:#fff}.auth-body,.contact-body{min-height:100vh;background:linear-gradient(135deg,#071b3a,#14532d);display:flex;align-items:center;justify-content:center;padding:30px}.auth-container,.contact-wrapper{width:min(1100px,94vw);display:grid;grid-template-columns:1fr 430px;background:rgba(255,255,255,.13);border-radius:30px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.35)}.auth-left,.contact-info{padding:60px;color:#fff}.auth-left img,.contact-info img{width:110px}.auth-left h1,.contact-info h1{font-size:46px}.auth-card,.contact-card{background:#fff;padding:50px}.form-group{margin-bottom:18px}.form-group label{display:block;font-weight:700;margin-bottom:8px}.form-group input,.form-group textarea,.form-group select{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:14px;font-size:15px;outline:none}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#16a34a;box-shadow:0 0 0 4px rgba(22,163,74,.15)}.alert-error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:12px;margin-bottom:15px}.alert-success{background:#dcfce7;color:#166534;padding:12px;border-radius:12px;margin-bottom:15px}.dashboard{display:flex;min-height:100vh}.sidebar{width:275px;background:#0f172a;color:#fff;padding:24px;position:fixed;top:0;bottom:0}.side-brand{text-align:center;margin-bottom:26px}.side-brand img{width:78px;background:#fff;border-radius:50%}.sidebar a{display:block;color:#fff;padding:13px 14px;border-radius:14px;margin:8px 0}.sidebar a:hover,.sidebar a.active{background:#16a34a}.sidebar .logout{background:#dc2626}.main{margin-left:275px;flex:1;padding:30px}.topbar{background:#fff;border-radius:22px;padding:22px 28px;box-shadow:0 10px 30px rgba(15,23,42,.08);display:flex;justify-content:space-between;align-items:center}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:25px}.stat{background:#fff;border-radius:22px;padding:24px;box-shadow:0 15px 40px rgba(15,23,42,.08);border-bottom:5px solid #16a34a}.table-card{background:#fff;border-radius:22px;padding:24px;margin-top:25px;box-shadow:0 15px 40px rgba(15,23,42,.08);overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid #e2e8f0;text-align:left}th{background:#f8fafc}.actions a{margin-right:8px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-top:24px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.full{grid-column:1/-1}@media(max-width:900px){.hero,.auth-container,.contact-wrapper{grid-template-columns:1fr}.navlinks{display:none}.features,.grid,.form-grid{grid-template-columns:1fr}.sidebar{position:relative;width:100%;height:auto}.dashboard{display:block}.main{margin-left:0}.hero h1{font-size:36px}.navbar{padding:0 4%}}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fb;
}

/* Navbar */
.custom-navbar {
    background: rgba(10, 25, 47, 0.92);
    backdrop-filter: blur(12px);
    padding: 14px 0;
}

.logo-unitshu {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.navbar-brand span {
    color: white;
    letter-spacing: 1px;
    font-size: 22px;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 8px;
}

.nav-link:hover {
    color: #facc15 !important;
}

.btn-login {
    background: #facc15;
    color: #0f172a;
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: bold;
}

.book-btn {
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    font-size: 24px;
}

/* Menu mobile forme livre */
.mobile-book-menu {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: white;
    width: 300px;
    border-radius: 0 25px 25px 0;
    box-shadow: 10px 0 30px rgba(0,0,0,0.4);
}

.mobile-book-menu .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-book-menu .offcanvas-body a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-book-menu .offcanvas-body a:hover {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    padding-left: 20px;
}

.mobile-login {
    background: #facc15;
    color: #0f172a !important;
    border-radius: 30px;
    text-align: center;
    margin-top: 25px;
    font-weight: bold;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-img {
    height: 100vh;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.95),
        rgba(30, 64, 175, 0.55)
    );
    z-index: 2;
}

.hero-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 650px;
    color: white;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
}

.hero-content p {
    font-size: 20px;
    margin: 25px 0;
}

.btn-main {
    background: #facc15;
    color: #0f172a;
    border-radius: 35px;
    padding: 14px 35px;
    font-weight: bold;
}

.btn-main:hover {
    background: white;
    color: #1e3a8a;
}

/* Features */
.feature-card {
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card h4 {
    color: #1e3a8a;
    font-weight: bold;
}

.footer {
    background: #0f172a;
    color: white;
    padding: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        left: 5%;
        right: 5%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 17px;
    }
    
    /* =========================
   CSS UNIQUEMENT POUR INDEX
========================= */

.index-page {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
    background: #f8fafc;
}

.index-page * {
    box-sizing: border-box;
}

.index-page a {
    text-decoration: none;
}

/* NAVBAR */

.index-page .custom-navbar {
    background: rgba(5, 15, 35, .94);
    backdrop-filter: blur(14px);
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
}

.index-page .custom-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.index-page .logo-unitshu {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    object-fit: cover;
    padding: 2px;
}

.index-page .navbar-brand span {
    color: white;
    font-size: 24px;
    letter-spacing: 1px;
}

.index-page .nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
}

.index-page .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background: #facc15;
    border-radius: 20px;
    transition: .3s;
}

.index-page .nav-link:hover::after {
    width: 100%;
}

.index-page .nav-link:hover {
    color: #facc15 !important;
}

.index-page .btn-login {
    display: inline-block;
    background: #facc15;
    color: #0f172a !important;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 800;
    transition: .3s;
}

.index-page .btn-login:hover {
    background: white;
    color: #1e3a8a !important;
}

/* BOUTON MOBILE */

.index-page .book-btn {
    border: 2px solid rgba(255, 255, 255, .7);
    color: white;
    border-radius: 12px;
    font-size: 24px;
    padding: 4px 12px;
}

/* MENU MOBILE */

.index-page .mobile-book-menu {
    background: linear-gradient(145deg, #0f172a, #1e3a8a);
    color: white;
    width: 300px;
    border-radius: 0 30px 30px 0;
}

.index-page .mobile-book-menu .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.index-page .mobile-book-menu .offcanvas-body {
    padding: 25px;
}

.index-page .mobile-book-menu .offcanvas-body a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 14px;
    font-size: 19px;
    transition: .3s;
}

.index-page .mobile-book-menu .offcanvas-body a:hover {
    background: rgba(255, 255, 255, .1);
    padding-left: 24px;
}

.index-page .mobile-login {
    background: #facc15 !important;
    color: #0f172a !important;
    text-align: center;
    margin-top: 25px;
    border-radius: 30px !important;
    font-weight: bold;
}

/* HERO */

.index-page .hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.index-page .carousel,
.index-page .carousel-inner,
.index-page .carousel-item {
    height: 100vh;
}

.index-page .hero-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.index-page .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(2, 6, 23, .96),
        rgba(15, 23, 42, .72),
        rgba(30, 64, 175, .35)
    );
    z-index: 2;
}

.index-page .hero-content {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    max-width: 700px;
    color: white;
}

.index-page .hero-content h1 {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
}

.index-page .hero-content p {
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 35px;
}

.index-page .btn-main {
    display: inline-block;
    background: #facc15;
    color: #0f172a;
    padding: 15px 38px;
    border-radius: 40px;
    font-weight: 800;
    transition: .3s;
    box-shadow: 0 14px 35px rgba(250, 204, 21, .35);
}

.index-page .btn-main:hover {
    background: white;
    color: #1e3a8a;
}

/* FEATURES */

.index-page .features {
    padding: 90px 7%;
}

.index-page .feature-card {
    background: white;
    border-radius: 28px;
    padding: 38px;
    box-shadow: 0 15px 50px rgba(15, 23, 42, .08);
    transition: .35s;
    height: 100%;
    border-top: 5px solid #1e3a8a;
}

.index-page .feature-card:hover {
    transform: translateY(-10px);
}

.index-page .feature-card h4 {
    color: #1e3a8a;
    font-weight: 800;
    margin-bottom: 16px;
}

.index-page .feature-card p {
    color: #475569;
    line-height: 1.8;
}

/* FOOTER */

.index-page .footer {
    background: #0f172a;
    color: white;
    padding: 22px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .index-page .custom-navbar {
        padding: 10px 0;
    }

    .index-page .navbar-brand span {
        font-size: 20px;
    }

    .index-page .logo-unitshu {
        width: 42px;
        height: 42px;
    }

    .index-page .hero-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
        text-align: center;
    }

    .index-page .hero-content h1 {
        font-size: 38px;
    }

    .index-page .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {

    .index-page .hero-content {
        top: 54%;
        left: 6%;
        right: 6%;
        max-width: 88%;
    }

    .index-page .hero-content h1 {
        font-size: 30px;
    }

    .index-page .hero-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .index-page .btn-main {
        padding: 12px 26px;
        font-size: 14px;
    }

    .index-page .mobile-book-menu {
        width: 270px;
    }

    .index-page .features {
        padding: 60px 5%;
    }

    .index-page .feature-card {
        padding: 28px;
    }
/* SIDEBAR COMPACTE */

.sidebar {
    width: 240px;
    background: #0f172a;
    color: #fff;
    padding: 12px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.side-brand {
    text-align: center;
    margin-bottom: 10px;
}

.side-brand img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    background: #fff;
    border-radius: 50%;
}

.side-brand h2 {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.menu-section {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 10px 0 4px;
    padding-left: 8px;
}

.sidebar a {
    display: block;
    color: #fff;
    padding: 7px 10px;
    border-radius: 9px;
    margin: 2px 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.sidebar a:hover,
.sidebar a.active {
    background: #16a34a;
}

.sidebar .logout {
    background: #dc2626;
    margin-top: 6px;
}

.main {
    margin-left: 240px;
}

/* Scroll discret */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 20px;
}
}
