/*
Theme Name: Richard PICHET
Theme URI: 
Author: Richard PICHET
Description: Thème WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eoss
*/

/* ==========================================
   VARIABLES ET RESET
   ========================================== */

:root {
    --color-primary: #2F6F4E;
    --color-primary-dark: #1f4a34;
    --color-primary-light: #3d8961;
    --color-secondary: #E4F1EA;
    --color-accent: #C79A3D;
    --color-accent-dark: #a57f2f;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-gray-light: #f8f8f8;
    --font-primary: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Lora', Georgia, serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   STRUCTURE GÉNÉRALE
   ========================================== */

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

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.site-header {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-text span {
    color: var(--color-accent);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: var(--color-text);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--color-secondary);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   BOUTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 154, 61, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

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

/* ==========================================
   SECTIONS ALTERNÉES
   ========================================== */

.section-light {
    background: var(--color-white);
}

.section-colored {
    background: var(--color-secondary);
}

/* ==========================================
   GRILLE DE CANDIDATS
   ========================================== */

.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.candidate-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.candidate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.candidate-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: var(--color-secondary);
}

.candidate-info {
    padding: 25px;
}

.candidate-name {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.candidate-role {
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.candidate-bio {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   PROPOSITIONS / IDÉES
   ========================================== */

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

.idea-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--color-accent);
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.idea-card:hover {
    border-left-color: var(--color-primary);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.idea-icon {
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.idea-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.idea-description {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ==========================================
   CHIFFRES CLÉS
   ========================================== */

.stats-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   APPEL À L'ACTION
   ========================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--color-accent);
    margin-bottom: 20px;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--color-secondary);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--color-secondary);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================
   UTILITAIRES
   ========================================== */

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

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
