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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f7f7f7;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-connect-btn{
    background-color: #e9913a;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}
.app-connect-btn:hover{
    background-color: #253147;
}



.logo a {
    display: block;
}

.logo img {
    height: 60px;
    width: auto;
}

.menu-toggle {
    background: none;
    border: 2px solid #ddd;
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
}

.menu-toggle:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 18px;
    height: 12px;
    justify-content: space-between;
}

.hamburger span {
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: all 0.2s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
}

.profile-icon {
    width: 24px;
    height: 24px;
    background: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.nav-modal {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 280px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden;
}

.nav-modal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-modal-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.nav-modal-subtitle {
    font-size: 14px;
    color: #666;
}

.nav-modal-content {
    padding: 12px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
}

.nav-item:hover {
    background-color: #f7f7f7;
}

.nav-item.active {
    background-color: #ed8936;
    color: white;
}

.nav-item-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.nav-item-text {
    flex: 1;
    font-weight: 500;
}

.nav-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

/* Navigation cachée sur desktop */
.bottom-nav {
    display: none;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    header {
        padding: 10px 16px;
    }

    .nav-modal {
        top: 60px;
        right: 16px;
        left: 16px;
        width: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .menu-toggle {
        padding: 6px 12px;
        font-size: 13px;
    }

    .logo img {
        height: 32px;
    }
}

/* Animation d'entrée */
@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav-modal.active {
    animation: slideInModal 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}


/* ===========================================
//  FFFFF   OOO    OOO   TTTTT  EEEEE  RRRR
//  F      O   O  O   O    T    E      R   R
//  FFF    O   O  O   O    T    EEE    R   R
//  F      O   O  O   O    T    E      RRRR
//  F      O   O  O   O    T    E      R  R
//  F       OOO    OOO     T    EEEEE  R   R
// ===========================================
// * * * FOOTER */

.footer {
	margin-top: 10px;
	border-top: 1px solid #e0e0e0;
	padding: 20px 0;
	width: 100%;
	background-color: #ffffff;
}

.footer-container {
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.footer-logo {
	display: flex;
	align-items: center;
}

.footer-logo img {
	height: 50px;
	width: auto;
}

.footer-nav {
	display: flex;
	gap: 20px;
}

.footer-nav a {
	text-decoration: none;
	color: #333;
	font-weight: 500;
}

.footer-nav a:hover {
	color: #f39c12;
}

.footer-bottom {
	border-top: 1px solid #e0e0e0;
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
	font-size: 14px;
	color: #666;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	gap: 30px;
}

.footer-bottom a {
	color: #666;
	text-decoration: none;
}

.footer-bottom a:hover {
	color: #f39c12;
}
