/* ============================================
   DataBridge.IA - Charte graphique
   Inspirée de yanndanneelscoignard.fr/databridge
   ============================================ */

:root {
    /* Palette - Thème bleu sombre */
    --color-bg: #1e3a5f;
    --color-bg-alt: #1e3a5f;
    --color-bg-card: #1e3a5f;
    
    --color-text: #f9fafb;
    --color-text-muted: #e5e7eb;
    --color-text-subtle: #cbd5f5;
    
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-muted: rgba(37, 99, 235, 0.1);
    --color-accent-orange: #f97316;
    
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Layout */
    --container-max: 1400px;
    --header-height: 64px;
    --banner-height: 36px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #1e3a5f; /* fond bleu global */
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   Bandeau actualité
   ============================================ */

.banner-news {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-accent);
    color: white;
    padding: var(--space-sm) var(--space-xl);
    font-size: 0.85rem;
    text-align: center;
    z-index: 1001;
}

.banner-news a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

.banner-news a:hover {
    opacity: 0.9;
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #1e3a5f; /* même bleu que le hero */
    border-bottom: 1px solid rgba(15, 23, 42, 0.4);
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: var(--space-2xl);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e5e7eb;
    border-radius: 999px;
    border: 1px solid var(--color-accent-orange);
    background: rgba(15, 23, 42, 0.25);
}

.nav-menu a:hover {
    color: #ffffff;
    background: rgba(249, 115, 22, 0.18);
}

.nav-menu a.nav-active {
    color: #111827;
    font-weight: 600;
    background: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
}

.nav-menu .nav-disabled {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: default;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #e5e7eb;
    transition: var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: calc(var(--banner-height) + var(--header-height) + var(--space-2xl)) var(--space-xl) var(--space-3xl);
    background-color: #1e3a5f; /* bleu du logo */
}

.hero-logo {
    flex-shrink: 0;
    margin-left: -2rem;
    background-color: #ffffff;
}

.hero-content {
    max-width: var(--container-max);
}

.hero-layout {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2xl);
}


.hero-logo img {
    width: 240px;
    height: auto;
    display: block;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-top-logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.hero-top-logo img {
    width: 660px;
    height: auto;
    display: block;
}

.hero-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    color: #f9fafb;
    text-align: center;
}

.hero-intro {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #e5e7eb;
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent-muted);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    color: var(--color-accent-orange);
    text-align: center;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ============================================
   Présentation (PDF)
   ============================================ */

.presentation {
    background: transparent;
}

.pdf-embed {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-bg);
}

.pdf-embed iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.pdf-fallback {
    padding: var(--space-md);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.pdf-fallback a {
    color: var(--color-accent);
    font-weight: 500;
}

.pdf-fallback a:hover {
    text-decoration: underline;
}

/* ============================================
   Pourquoi nous - Cards
   ============================================ */

.pourquoi {
    background: transparent;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
    grid-auto-rows: 1fr;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-xl);
    transition: box-shadow var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================
   Services
   ============================================ */

.services {
    background: transparent;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.service-item {
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border-light);
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.service-item p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================
   Notre équipe
   ============================================ */

.equipe {
    background: transparent;
}

.equipe-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.equipe-title {
    display: inline-block;
    background: #1e3a5f;
    color: white;
    padding: var(--space-md) var(--space-2xl);
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 600;
}

.equipe-title-accent {
    color: #4ade80;
}

.equipe-title-main {
    color: white;
}

.equipe-subtitle {
    margin-top: var(--space-md);
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2xl);
    justify-items: center;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .equipe-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-base);
    cursor: pointer;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member-disabled {
    cursor: default;
    pointer-events: none;
}

.team-member-disabled:hover {
    transform: none;
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: var(--space-md);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.team-link {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    margin-top: var(--space-xs);
}

.team-member:hover .team-link {
    color: #4ade80;
}

.team-member:hover .team-photo {
    border-color: #4ade80; /* même vert que "Notre équipe" */
}

.team-member:hover .team-name {
    color: #4ade80;
}

@media (min-width: 600px) {
    .equipe-grid {
        max-width: 800px;
    }
}

/* ============================================
   Pour qui
   ============================================ */

.pourqui {
    background: transparent;
}

.pourqui-list {
    margin-bottom: var(--space-2xl);
}

.pourqui-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.pourqui-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 8px 8px 0;
}

/* ============================================
   Page Actualité Data
   ============================================ */

.actualite-page {
    padding-top: calc(var(--banner-height) + var(--header-height) + var(--space-2xl));
}

.actualite-hero {
    padding-bottom: var(--space-xl);
}

.actualite-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.actualite-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.actualite-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.actualite-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 600px) {
    .actualite-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .actualite-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.actualite-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: var(--space-xl);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.actualite-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.actualite-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.actualite-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.actualite-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.actualite-card-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
}

.actualite-card-link:hover {
    text-decoration: underline;
}

.actualite-cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.actualite-cta a {
    color: var(--color-accent);
    font-weight: 600;
}

.actualite-cta a:hover {
    text-decoration: underline;
}

/* ============================================
   Pages articles (Actualité Data)
   ============================================ */

.article-page {
    padding-top: calc(var(--banner-height) + var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
}

.article {
    max-width: 720px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: var(--space-2xl);
}

.article-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.article-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.article-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.75;
}

.article-body p {
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.article-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.article-body h2:first-of-type {
    margin-top: var(--space-xl);
}

.article-body ul {
    margin-bottom: var(--space-md);
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.article-body code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    background: var(--color-border-light);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

.article-body hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-2xl) 0;
}

.article-body a {
    color: var(--color-accent);
    font-weight: 500;
}

.article-body a:hover {
    text-decoration: underline;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: 0.95rem;
}

.article-table th,
.article-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border: 1px solid var(--color-border);
}

.article-table th {
    background: var(--color-bg);
    font-weight: 600;
    color: var(--color-text);
}

/* ============================================
   Chiffres clés
   ============================================ */

.stats {
    background: var(--color-accent);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Cas clients
   ============================================ */

.cas-clients {
    background: transparent;
}

.cas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.cas-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-xl);
}

.cas-sector {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.cas-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-md);
}

.cas-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================
   Témoignages
   ============================================ */

.temoignages {
    background: transparent;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
}

.temoignage-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-xl);
    margin: 0;
}

.temoignage-card p {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.temoignage-card footer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    background: transparent;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    padding: var(--space-lg) 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--color-accent);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: var(--space-md);
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================
   Newsletter
   ============================================ */

.newsletter {
    background: var(--color-accent);
    color: white;
}

.newsletter-box {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-box .section-title {
    color: white;
    margin-bottom: var(--space-sm);
}

.newsletter-box > p {
    margin-bottom: var(--space-lg);
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-note {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* ============================================
   Bouton retour en haut
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Contact
   ============================================ */

.contact {
    background: transparent;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .section-title {
    margin-bottom: var(--space-md);
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-accent);
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-subtle);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    background: transparent;
}

.footer-content {
    text-align: center;
}

.footer-content .logo {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-member .footer-content .logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.footer-member .footer-content .logo img {
    height: 80px;
    width: auto;
}

.footer-tagline {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.footer-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.footer-linkedin:hover {
    color: #0a66c2;
}

.footer-linkedin svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
}

/* ============================================
   Pages membres de l'équipe
   ============================================ */

.member-page {
    padding-top: calc(var(--banner-height) + var(--header-height) + var(--space-2xl));
}

.container-narrow {
    max-width: var(--container-max);
}

.back-link {
    display: inline-block;
    margin-bottom: var(--space-2xl);
    color: var(--color-accent);
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.member-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
}

.member-photo {
    line-height: 0;
}

.member-photo-fixed {
    width: 320px;
    height: 380px;
    overflow: hidden;
}

.member-photo img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

.member-photo-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.member-info {
    text-align: center;
}

.member-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.member-role {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.member-bio p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.member-bio p:last-child {
    margin-bottom: 0;
}

.member-tagline {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.member-social {
    margin-bottom: var(--space-lg);
}

.member-content {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.member-section {
    margin-bottom: var(--space-2xl);
}

.member-section:last-child {
    margin-bottom: 0;
}

.member-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-accent-orange);
    margin-bottom: var(--space-md);
}

.member-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.member-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.member-section ul,
.member-section ol {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    padding-left: 1.5rem;
}

.member-section li {
    margin-bottom: var(--space-sm);
}

.member-list-check {
    list-style: none;
    padding-left: 0;
}

.member-list-check li {
    position: relative;
    padding-left: 1.5rem;
}

.member-list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.member-list-numbered {
    list-style-type: none;
    padding-left: 0;
    counter-reset: item;
}

.member-list-numbered li {
    counter-increment: item;
    position: relative;
    padding-left: 2rem;
}

.member-list-numbered li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--color-accent);
}

.member-linkedin {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: #0a66c2;
    font-weight: 500;
}

.member-linkedin:hover {
    text-decoration: underline;
}

.member-linkedin svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 600px) {
    .member-profile {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
    
    .member-info {
        text-align: left;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: calc(var(--banner-height) + var(--header-height));
        left: 0;
        right: 0;
        background: var(--color-bg-alt);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .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(5px, -5px);
    }
    
    .hero-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-logo img {
        width: 180px;
    }

    .hero-logo {
        margin-left: 0;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
    
    .pdf-embed iframe {
        height: 400px;
    }
    
    .container {
        padding: 0 var(--space-lg);
    }
}
