/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --primary-dark: #00cc6a;
    --secondary-color: #111111;
    --accent-color: #ffffff;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --background-color: #000000;
    --surface-color: #1a1a1a;
    --border-color: #333333;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.1);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
}

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header styles */
.header {
    background-color: var(--background-color);
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Mobile navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    background-color: var(--background-color);
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.mobile-nav-links {
    list-style: none;
    padding: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
}

.hero-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    opacity: 0.8;
    transition: var(--transition);
}

.hero-image-photo:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

/* Section styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 3rem;
}

/* Newsroom styles */
.newsroom {
    padding: 5rem 0;
    background-color: var(--background-color);
    position: relative;
}

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

.news-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.news-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.news-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.05) 50%, transparent 70%);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Security Test styles */
.security-test {
    padding: 5rem 0;
    background-color: var(--background-color);
    position: relative;
}

.test-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.test-intro p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
}

.test-progress {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    width: 8.33%;
    transition: width 0.3s ease;
}

.progress-text {
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.question-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

.question-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--background-color);
}

.option:hover {
    border-color: var(--primary-color);
    background-color: var(--surface-color);
}

.option input[type="radio"] {
    margin-right: 0.75rem;
    accent-color: var(--primary-color);
}

.option span {
    color: var(--text-color);
    font-size: 1rem;
}

.test-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.test-results {
    text-align: center;
}

.result-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-medium);
}

.result-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.score-display {
    margin-bottom: 2rem;
}

.score-circle {
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.score-total {
    font-size: 1rem;
    color: white;
    opacity: 0.8;
}

.score-level {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.result-description {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.recommendations {
    text-align: left;
    margin-bottom: 2rem;
}

.recommendations h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.recommendations li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.recommendations li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Shop styles */
.shop {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    position: relative;
}

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

.product-card {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.product-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.product-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 136, 0.05) 50%, transparent 70%);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact styles */
.contact {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.25rem;
}

/* Form styles */
.contact-form {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

/* Footer styles */
.footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    /* Titre seul en premier */
    .hero-content {
        display: contents;
    }
    
    .hero-title {
        order: 1;
        margin-bottom: 0;
    }
    
    /* Image après le titre */
    .hero-image {
        order: 2;
        max-width: 350px;
        align-self: center;
        margin: 0;
    }
    
    /* Sous-titre après l'image */
    .hero-subtitle {
        order: 3;
        margin: 0;
    }
    
    /* Boutons en dernier */
    .hero-buttons {
        order: 4;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Article responsive styles */
    .article-main {
        padding: 1rem 0;
    }
    
    .article-content {
        margin: 0 0.5rem;
    }
    
    .article-header {
        padding: 2rem 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    

    

    
    .article-body {
        padding: 1.5rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .related-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .newsroom,
    .shop,
    .contact,
    .security-test {
        padding: 3rem 0;
    }
    
    .test-container {
        padding: 0 0.5rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .question-title {
        font-size: 1.25rem;
    }
    
    .test-actions {
        flex-direction: column;
    }
    
    .test-actions .btn {
        width: 100%;
    }
    
    .result-card {
        padding: 2rem 1rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
    }
    
    /* Article small screen styles */
    .article-header {
        padding: 1.5rem 1rem;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    

    
    .article-body {
        padding: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.news-card,
.product-card {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Article Styles */
.article-main {
    padding: 2rem 0;
    background-color: var(--background-color);
    min-height: calc(100vh - 200px);
}

.article-breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.article-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.article-header {
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}





.article-body {
    padding: 2rem;
}

.article-body section {
    margin-bottom: 3rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.article-body p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.article-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.article-body a:hover {
    text-decoration: underline;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-color);
}

.article-body li strong {
    color: var(--accent-color);
}

.see-also {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.see-also h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.related-links li {
    margin: 0;
}

.related-links a {
    display: block;
    padding: 1rem;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.related-links a:hover {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

/* Mobile navigation active state */
.mobile-nav.active {
    display: block;
}

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

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
} 