/* ====================================
   SENOLO ESPACE PRESSE - CSS COMMUN
   ==================================== */

:root {
    --primary-blue: #002FA7;
    --secondary-green: #28A745;
    --accent-blue: #0E58A4;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --text-light: #4A5568;
    --bg-light: #f7fafc;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.6;
}

.pacifico-regular {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ====== HEADER ====== */
.press-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.press-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.press-header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.press-header-logo img {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.press-header-logo span {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.press-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.press-nav a {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.press-nav a:hover {
    background: rgba(0, 47, 167, 0.08);
    color: var(--primary-blue);
}

.press-nav a.active {
    background: var(--primary-blue);
    color: #fff;
}

.press-nav-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green)) !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(0, 47, 167, 0.3);
}

.press-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 47, 167, 0.4) !important;
}

/* Menu mobile */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-dark);
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .press-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        flex-direction: column;
        align-items: stretch;
    }
    .press-nav.open { display: flex; }
    .press-nav a { text-align: center; padding: 0.75rem; }
}

/* ====== HERO ====== */
.press-hero {
    background: linear-gradient(135deg, #001a5e 0%, var(--primary-blue) 50%, #0E58A4 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.press-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(40, 167, 69, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.press-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.press-hero > * { position: relative; z-index: 1; }

.press-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #fff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.press-hero h1 span {
    color: var(--secondary-green);
    display: block;
    margin-top: 0.25rem;
}

.press-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.press-hero .btn-press-primary {
    background: #fff;
    color: var(--primary-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.press-hero .btn-press-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.press-hero .btn-press-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.press-hero .btn-press-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* ====== SECTION ====== */
.press-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.press-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
}

.press-section h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-green));
    border-radius: 2px;
}

.press-section .section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    text-align: center;
    width: 100%;
}

/* ====== CARDS ====== */
.press-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--border);
}

.press-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 47, 167, 0.12);
    border-color: rgba(0, 47, 167, 0.2);
}

.press-card-body { padding: 2rem; }
.press-card-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.press-card-body p { color: var(--text-gray); font-size: 0.95rem; }

.press-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.press-card-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
    fill: none;
}

/* Cards grid */
.press-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
}

.press-grid-2 { grid-template-columns: repeat(2, 1fr); }
.press-grid-3 { grid-template-columns: repeat(3, 1fr); }
.press-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .press-grid-3, .press-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .press-grid-2, .press-grid-3, .press-grid-4 { grid-template-columns: 1fr; }
}

/* Card lien avec flèche */
.press-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.press-card-link .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.press-card-link:hover .card-arrow { gap: 0.5rem; }

/* ====== BOUTONS ====== */
.btn-press {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-press-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 47, 167, 0.3);
}

.btn-press-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 47, 167, 0.4);
}

.btn-press-secondary {
    background: #fff;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-press-secondary:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-press-ghost {
    background: rgba(0, 47, 167, 0.06);
    color: var(--primary-blue);
}

.btn-press-ghost:hover {
    background: rgba(0, 47, 167, 0.12);
}

/* ====== TEXTE COPIABLE ====== */
.copy-block {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.copy-block .copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(0, 47, 167, 0.08);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.copy-block .copy-btn:hover { background: rgba(0, 47, 167, 0.15); }
.copy-block .copy-btn.copied { background: rgba(40, 167, 69, 0.15); color: var(--secondary-green); }

.copy-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.copy-block p, .copy-block .copy-content {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ====== STATS ====== */
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.5;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ====== TIMELINE ====== */
.timeline { max-width: 700px; width: 100%; }

.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2.5rem;
    border-left: 2px solid var(--border);
}

.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.timeline-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ====== LOGO PREVIEW ====== */
.logo-grid-item {
    text-align: center;
}

.logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 12px;
    min-height: 140px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-preview:hover { transform: scale(1.02); }

.logo-preview img { max-height: 80px; max-width: 100%; }

.logo-preview-light { background: #f7fafc; border: 1px solid var(--border); }
.logo-preview-dark { background: #1a202c; }
.logo-preview-blue { background: var(--primary-blue); }
.logo-preview-green { background: var(--secondary-green); }

.logo-grid-item p { font-size: 0.85rem; color: var(--text-gray); margin-top: 0.5rem; }
.logo-grid-item .logo-format { font-size: 0.75rem; color: var(--text-light); }

/* ====== COULEURS ====== */
.color-card { border-radius: 16px; overflow: hidden; }
.color-swatch { height: 100px; }
.color-info { padding: 1rem; }
.color-info h4 { font-weight: 700; margin-bottom: 0.25rem; }
.color-info p { font-size: 0.85rem; color: var(--text-light); }
.color-info code { font-size: 0.8rem; background: rgba(0,0,0,0.05); padding: 0.15rem 0.5rem; border-radius: 4px; }

/* ====== FAQ ====== */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.open { border-color: var(--primary-blue); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    gap: 1rem;
}

.faq-question:hover { background: rgba(0, 47, 167, 0.02); }

.faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ====== GALERIE ====== */
.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.6));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { color: #fff; font-weight: 600; font-size: 0.9rem; }

/* ====== FONDATEUR ====== */
.founder-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .founder-photo { width: 160px; height: 160px; }
}

/* ====== GLASS BOX ====== */
.glass-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 47, 167, 0.12);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

/* ====== BREADCRUMB ====== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.breadcrumb a {
    color: var(--primary-blue);
    font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ====== SEPARATOR ====== */
.section-sep {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    max-width: 1200px;
    margin: 0 auto;
}

/* ====== MODAL ====== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.modal-overlay.visible { opacity: 1; }

.modal-content {
    background: #fff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

.modal-overlay.visible .modal-content { transform: translateY(0); }

.modal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.modal-input:focus { border-color: var(--primary-blue); }
.modal-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-gray); margin-bottom: 0.25rem; }
.modal-field { margin-bottom: 1rem; }
.modal-required { color: #9B1C1C; }

/* Modal header avec icône */
.modal-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-light);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
}
.modal-close-btn:hover { background: #edf2f7; color: var(--text-dark); }

.modal-submit-btn {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 47, 167, 0.3);
}
.modal-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 47, 167, 0.4); }
.modal-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.modal-input select,
.modal-input option { font-family: 'Inter', sans-serif; }

.modal-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-green), #38a169);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.modal-error-msg {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 10px;
    padding: 0.625rem 0.875rem;
    color: #c53030;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.modal-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
}

/* ====== FOOTER ====== */
.press-footer {
    background: #1a202c;
    color: #fff;
    padding: 3rem 1.5rem;
    margin-top: 4rem;
    text-align: center;
}

.press-footer a { color: #cbd5e0; transition: color 0.3s ease; }
.press-footer a:hover { color: var(--primary-blue); }

.press-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* ====== FADE IN ====== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== WCAG ACCESSIBILITE ========== */

/* WCAG Focus Visible */
*:focus-visible {
    outline: 3px solid #E8A838;
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #002FA7;
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    font-size: 14px;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Mouvement reduit */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
