/*
Theme Name: Companies Memory
Description: Thème professionnel pour Companies Memory - Gestion d'archives physiques et numériques. Design sophistiqué avec dégradés bleus et typographies élégantes.
Author: Companies Memory
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: companies-memory
*/

/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.companies-memory-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.companies-memory-header {
    background: rgba(26, 54, 93, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.companies-memory-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.companies-memory-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.companies-memory-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.companies-memory-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.companies-memory-menu a:hover {
    color: #4a90e2;
}

/* Hero Section */
.companies-memory-hero {
    background: linear-gradient(135deg, #1a365d 0%, #4a90e2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.companies-memory-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.companies-memory-hero-content {
    position: relative;
    z-index: 2;
}

.companies-memory-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.companies-memory-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.companies-memory-btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.companies-memory-btn-primary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.companies-memory-btn-primary:hover {
    background: white;
    color: #1a365d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

/* Statistiques */
.companies-memory-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
}

.companies-memory-grid {
    display: grid;
    gap: 40px;
}

.companies-memory-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.companies-memory-stat {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.companies-memory-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #1a365d);
    transition: left 0.5s ease;
}

.companies-memory-stat:hover::before {
    left: 0;
}

.companies-memory-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.companies-memory-stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4a90e2, #1a365d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.companies-memory-stat-label {
    font-weight: 600;
    color: #666;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections générales */
.companies-memory-section {
    padding: 100px 0;
}

.companies-memory-section:nth-child(even) {
    background: #f8f9fa;
}

.companies-memory-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #1a365d;
    position: relative;
}

.companies-memory-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #1a365d);
    border-radius: 2px;
}

.companies-memory-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Cartes */
.companies-memory-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.companies-memory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4a90e2, #1a365d);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.companies-memory-card:hover::before {
    transform: scaleX(1);
}

.companies-memory-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.companies-memory-card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4a90e2, #1a365d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3);
}

.companies-memory-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a365d;
}

.companies-memory-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Footer */
.companies-memory-footer {
    background: #1a365d;
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.companies-memory-footer-content {
    margin-bottom: 30px;
}

.companies-memory-footer h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.companies-memory-footer p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.companies-memory-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .companies-memory-hero h1 {
        font-size: 2.5rem;
    }
    
    .companies-memory-hero p {
        font-size: 1.1rem;
    }
    
    .companies-memory-subtitle {
        font-size: 2.2rem;
    }
    
    .companies-memory-menu {
        display: none;
    }
    
    .companies-memory-grid-2,
    .companies-memory-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .companies-memory-card {
        padding: 30px 25px;
    }
}

/* Utilitaires */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

