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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #f5f5f5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--black);
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo-link:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

.nav-menu a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-subtitle strong {
    font-weight: 700;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border: 2px solid var(--black);
    box-shadow: 12px 12px 0 var(--black);
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    border: 2px solid var(--black);
    box-shadow: 12px 12px 0 var(--black);
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--black);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    color: var(--black);
}

.control-btn:hover {
    transform: scale(1.1);
    opacity: 0.7;
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
    border-radius: 4px;
}

.cta-button {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--black);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 0 var(--black);
}

/* Videos Section */
.videos-section {
    background: var(--white);
    padding: 6rem 2rem;
    border-top: 1px solid var(--black);
}

.videos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.videos-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.video-wrapper {
    width: 100%;
}

/* Section Symptômes */
.symptoms-section {
    background: var(--gray);
    padding: 4rem 2rem;
}

.symptoms-container {
    max-width: 1200px;
    margin: 0 auto;
}

.symptoms-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.intro-text strong {
    font-weight: 600;
}

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

.symptom-category {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--black);
}

.symptom-category h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.symptom-category ul {
    list-style: none;
}

.symptom-category li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.05rem;
}

.symptom-category li:last-child {
    border-bottom: none;
}

.symptom-category li::before {
    content: "→ ";
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Annuaire Promo Section */
.annuaire-promo-section {
    background: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid var(--black);
}

.annuaire-promo-content {
    max-width: 800px;
    margin: 0 auto;
}

.annuaire-promo-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.annuaire-promo-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.petition-section {
    background: var(--black);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.petition-content {
    max-width: 800px;
    margin: 0 auto;
}

.petition-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.petition-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button-white {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 1.2rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid var(--white);
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 0 var(--white);
}

/* Resources Page */
.resources-page {
    margin-top: 120px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
}

.resources-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.resources-hero h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

.resources-intro {
    margin-top: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* Useful Links Section */
.useful-links-section {
    margin-bottom: 4rem;
    padding: 2rem 0;
    border-bottom: 2px solid #e9ecef;
}

.useful-links-container {
    max-width: 1200px;
    margin: 0 auto;
}

.useful-links-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.useful-links-container .section-intro {
    text-align: center;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.useful-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.link-item:hover {
    border-color: #2c3e50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.link-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.link-action {
    flex-shrink: 0;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.link-button:hover {
    background: #1a252f;
}

.link-button::after {
    content: "→";
    font-size: 1.2rem;
}

.loading-message {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

@media (max-width: 768px) {
    .link-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .link-button {
        width: 100%;
        justify-content: center;
    }
    
    .useful-links-container h2 {
        font-size: 1.5rem;
    }
}

.resources-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.filter-group label {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-align: center;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-button {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--black);
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.category-button:hover {
    background: var(--gray);
    transform: translateY(-2px);
}

.category-button.active {
    background: var(--black);
    color: var(--white);
}

.category-button:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

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

.resource-card {
    border: 1px solid var(--black);
    background: var(--white);
    padding: 2rem 2.5rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.resource-card:hover,
.resource-card:focus {
    transform: translateY(-6px);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.12);
}

.resource-card:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
}

.resource-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.star-icon {
    color: #FFD700;
    font-size: 1.4rem;
}

.resource-meta {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.resource-summary {
    font-size: 1.05rem;
    line-height: 1.7;
    flex: 1;
}

.resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.resource-tag {
    background: var(--black);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.resource-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.resource-top-badge::before {
    content: "★";
    color: #FFD700;
}

.resource-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.resource-modal[aria-hidden="false"] {
    display: flex;
}

.resource-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.resource-modal__dialog {
    position: relative;
    background: var(--white);
    border: 2px solid var(--black);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 16px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
}

.resource-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
}

.resource-modal__close:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
}

.resource-modal__content {
    overflow-y: auto;
    max-height: calc(90vh - 4rem);
}

.resource-modal__body h1,
.resource-modal__body h2,
.resource-modal__body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.resource-modal__body h1:first-child,
.resource-modal__body h2:first-child {
    margin-top: 0;
}

.resource-modal__body p,
.resource-modal__body li {
    font-size: 1.05rem;
    line-height: 1.7;
}

.resource-modal__empty {
    text-align: center;
    padding: 1rem 0 2rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .resources-page {
        padding: 1.5rem 1rem;
    }

    .resources-controls {
        justify-content: flex-start;
        gap: 1rem;
    }

    .resource-modal__dialog {
        padding: 1.5rem;
    }

    .resource-modal__content {
        max-height: calc(90vh - 3rem);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--black);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem 2rem;
    }

    .menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image {
        order: -1;
    }

    .video-controls {
        padding: 0.5rem 1rem;
        gap: 0.75rem;
        bottom: 0.5rem;
    }

    .control-btn {
        padding: 0.4rem;
    }

    .control-btn svg {
        width: 20px;
        height: 20px;
    }

    .symptoms-section h2 {
        font-size: 2.5rem;
    }

    .symptoms-grid {
        grid-template-columns: 1fr;
    }

    .videos-section {
        padding: 4rem 1.5rem;
    }

    .videos-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

section {
    scroll-margin-top: 100px;
}

/* Footer Styles */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: 3rem;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-disclaimer {
        font-size: 0.85rem;
    }
}

/* About Page Styles */
.about-page {
    min-height: 100vh;
}

.bio-section {
    padding: 8rem 0 4rem;
    background-color: #ffffff;
}

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

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

.bio-photo {
    position: sticky;
    top: 2rem;
}

.photo-placeholder {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}

.photo-fallback {
    text-align: center;
    color: #6c757d;
}

.photo-fallback span {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.photo-fallback p {
    font-size: 0.9rem;
    margin: 0;
}

.bio-text {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.bio-text h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bio-text h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.bio-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.05rem;
}

.bio-text ul {
    margin: 1.5rem 0;
    padding-left: 0;
}

.bio-text li {
    list-style: none;
    padding: 0.5rem 0;
    border-left: 3px solid #2c3e50;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid #2c3e50;
}

.contact-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .bio-section {
        padding: 4rem 0 3rem;
    }
    
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .photo-placeholder {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .bio-photo {
        position: static;
    }
    
    .bio-text {
        padding: 2rem;
        text-align: left;
    }
    
    .bio-text h2 {
        font-size: 1.8rem;
    }
}
