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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('../images/DAM-background.png') center center / contain no-repeat, linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

/* Navigation */
.nav {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff1493;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('../images/DAM-background.png') center center / cover no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

.hero .subhead {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.5;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-btn {
    display: block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.hero-btn:hover {
    background: rgba(255, 20, 147, 0.2);
    border-color: rgba(255, 20, 147, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.2);
}

.hero-btn h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333333 !important;
}

.hero-btn p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #333333 !important;
}

/* Main Content */
.main {
    padding-top: 80px;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: 2rem 0;
    color: #333333;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header-logo {
    width: 240px;
    height: 240px;
    margin: 0 auto 0.67rem;
    object-fit: contain;
}

.journey-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.67rem;
    object-fit: contain;
}

.page-header a {
    display: block;
    transition: all 0.3s ease;
}

.page-header a:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 200;
    color: #333333;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

.page-header .subhead {
    font-size: 1.1rem;
    color: #555555;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-section ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-section li {
    color: #555555;
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #ff1493;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e6127e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 20, 147, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ff1493;
    border: 2px solid #ff1493;
}

.btn-outline:hover {
    background: #ff1493;
    color: white;
}

/* Highlights */
.highlights {
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #ff1493;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    color: #333333;
}

.highlights h4 {
    color: #ff1493;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlights ul {
    list-style: none;
    padding: 0;
}

.highlights li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.highlights li::before {
    content: '•';
    color: #ff1493;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff1493;
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding-left: 5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    width: 2rem;
    height: 2rem;
    background: #ff1493;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px #ff1493;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff1493;
    margin-bottom: 0.5rem;
}

.timeline-content {
    font-size: 1rem;
    color: #cccccc;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff1493;
}

.footer-copyright {
    color: #999;
    font-size: 0.9rem;
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle:focus {
    outline: 2px solid #ff1493;
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.9) 100%);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,0.1);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: background-color 0.3s ease;
        text-align: right;
    }
    
    .nav-menu .nav-link:hover {
        background-color: rgba(255, 20, 147, 0.1);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline-item::before {
        left: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subhead {
        font-size: 1rem;
    }
    
    .hero-btn {
        padding: 1.5rem;
    }
}

/* Additional styles for content-rich pages */
.intro-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    color: #333333;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.workflow-step {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    border-color: #ff1493;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.15);
}

.step-number {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background: #ff1493;
    color: white;
    border-radius: 50%;
    line-height: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2rem 0;
}

.contact-item {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.contact-item a {
    color: #ff1493;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Animation des logos sur la page d'accueil */
.logo-animation-container {
    position: relative;
    min-height: 100vh;
    background: url('../images/DAM-background.png') center center / contain no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-logos {
    position: relative;
    width: 100vmin;
    height: 100vmin;
    max-width: 800px;
    max-height: 800px;
    min-width: 400px;
    min-height: 400px;
}

.logo-fade {
    position: absolute;
    width: 86px;
    height: 86px;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.5);
    animation: logoFadeIn 0.8s ease-out forwards;
}

/* Positionnement des logos plus éloignés du centre */
.logo-1 {
    top: 15%;
    left: 15%;
    transform: translate(-50%, -50%) scale(0.5);
    animation-delay: 0.2s;
}

.logo-2 {
    top: 15%;
    left: 85%;
    width: 172px;
    height: 172px;
    transform: translate(-50%, -50%) scale(0.5);
    animation-delay: 0.6s;
}

.logo-3 {
    top: 75%;
    left: 25%;
    width: 172px;
    height: 172px;
    transform: translate(-50%, -50%) scale(0.5);
    animation-delay: 1.0s;
}

.logo-4 {
    top: 75%;
    left: 75%;
    width: 259px;
    height: 259px;
    transform: translate(-50%, -50%) scale(0.5);
    animation-delay: 1.4s;
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
    }
}

/* Animations spécifiques pour chaque logo */
.logo-1 {
    animation: logoFadeIn1 0.8s ease-out forwards;
}

.logo-2 {
    animation: logoFadeIn2 0.8s ease-out forwards;
}

.logo-3 {
    animation: logoFadeIn3 0.8s ease-out forwards;
}

.logo-4 {
    animation: logoFadeIn4 0.8s ease-out forwards;
}

@keyframes logoFadeIn1 {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes logoFadeIn2 {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes logoFadeIn3 {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes logoFadeIn4 {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .logo-animation-container {
        min-height: 100vh;
        background-size: contain;
        background-position: center;
    }
    
    .animated-logos {
        width: 90vmin;
        height: 90vmin;
        min-width: 350px;
        min-height: 350px;
    }
    
    .logo-fade {
        width: 58px;
        height: 58px;
    }
    
    .logo-2 {
        width: 115px;
        height: 115px;
    }
    
    .logo-3 {
        width: 115px;
        height: 115px;
    }
    
    .logo-4 {
        width: 173px;
        height: 173px;
    }
}

@media (max-width: 480px) {
    .animated-logos {
        width: 85vmin;
        height: 85vmin;
        min-width: 300px;
        min-height: 300px;
    }
    
    .logo-fade {
        width: 43px;
        height: 43px;
    }
    
    .logo-2 {
        width: 86px;
        height: 86px;
    }
    
    .logo-3 {
        width: 86px;
        height: 86px;
    }
    
    .logo-4 {
        width: 130px;
        height: 130px;
    }
}