/*
Theme Name: Efficience
Theme URI: https://efficiencerecup.com
Author: Efficience Team
Author URI: https://efficiencerecup.com
Description: Thème WordPress premium pour centre de récupération et longévité
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efficience
Tags: wellness, health, recovery, longevity, modern, responsive
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */

:root {
    /* Couleurs */
    --color-primary: #C9A871;
    --color-secondary: #1A1A1A;
    --color-text: #1A1A1A;
    --color-text-light: #6B6B6B;
    --color-background: #F8F6F3;
    --color-white: #FFFFFF;
    --color-border: #E8E3DC;
    
    /* Typographie */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espacements */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;
    --spacing-3xl: 120px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
}

/* ============================================
   HEADER STICKY
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.primary-nav a {
    font-weight: 500;
    color: var(--color-text);
    padding: 8px 0;
    position: relative;
}

.primary-nav a:hover {
    color: var(--color-primary);
}

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

.primary-nav a:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: #B39661;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text);
    cursor: pointer;
}

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

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(201, 168, 113, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 700px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-content .subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

/* ============================================
   SERVICES & PROTOCOLES
   ============================================ */

.services-grid,
.protocoles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card,
.protocole-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover,
.protocole-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image,
.protocole-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content,
.protocole-content {
    padding: var(--spacing-lg);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-sm);
}

.service-title,
.protocole-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-secondary);
}

.service-badge {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-price,
.protocole-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin: var(--spacing-sm) 0;
}

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

.site-footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

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

.footer-column h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

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

@media (max-width: 768px) {
    .primary-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .services-grid,
    .protocoles-grid {
        grid-template-columns: 1fr;
    }
}
