/*
Theme Name: Fauresst Modern
Theme URI: https://fauresst.com
Author: FAURESST
Author URI: https://fauresst.com
Description: Thème WordPress one‑page élégant pour FAURESST (QSE‑SSE‑RSE) avec menu réduit et sections ancrées.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: fauresst-modern
*/

:root {
    --primary-color: #1a3a5f;
    --secondary-color: #8b7238;
    --accent-color: #2c5a7d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --light-text: #fff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: var(--text-color); background-color: #fff; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; margin-bottom: 1rem; color: var(--primary-color); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; position: relative; padding-bottom: 0.5rem; }
h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background-color: var(--secondary-color); }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 12px 30px; background-color: var(--primary-color); color: var(--light-text); border: none; border-radius: var(--border-radius); cursor: pointer; transition: var(--transition); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.btn:hover { background-color: var(--accent-color); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-secondary { background-color: var(--secondary-color); }
.btn-secondary:hover { background-color: #a0854a; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { display: inline-block; }
.section-header p { max-width: 700px; margin: 0 auto; color: #666; }

/* Header */
header { background-color: var(--primary-color); color: var(--light-text); position: fixed; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; }
.logo span { color: var(--secondary-color); }
.nav-menu { display: flex; }
.nav-menu li { margin-left: 30px; }
.nav-menu a { font-weight: 500; position: relative; padding: 5px 0; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--secondary-color); transition: var(--transition); }
.nav-menu a:hover::after { width: 100%; }
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: #fff; }

/* Hero */
.hero { height: 100vh; background: linear-gradient(rgba(26,58,95,0.8), rgba(26,58,95,0.8)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); background-size: cover; background-position: center; display: flex; align-items: center; color: var(--light-text); text-align: center; padding-top: 80px; }
.hero-content { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; color: var(--light-text); }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.hero-btns { display: flex; justify-content: center; gap: 20px; }

/* About */
.about { background-color: var(--light-color); }
.about-content { display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-image { flex: 1; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); }
.about-image img { width: 100%; height: auto; display: block; transition: var(--transition); }
.about-image:hover img { transform: scale(1.05); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background-color: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.service-icon { height: 80px; background-color: var(--primary-color); display: flex; align-items: center; justify-content: center; color: var(--light-text); font-size: 2rem; }
.service-content { padding: 30px; }
.service-content h3 { margin-bottom: 15px; font-size: 1.3rem; }

/* Expertise */
.expertise { background-color: var(--light-color); }
.expertise-content { display: flex; flex-direction: column; gap: 40px; }
.expertise-item { display: flex; align-items: flex-start; gap: 20px; }
.expertise-icon { flex-shrink: 0; width: 60px; height: 60px; background-color: var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--light-text); font-size: 1.5rem; }
.expertise-text h3 { margin-bottom: 10px; }

/* Sectors */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.sector-item { background-color: var(--primary-color); color: var(--light-text); padding: 30px 20px; text-align: center; border-radius: var(--border-radius); transition: var(--transition); }
.sector-item:hover { background-color: var(--accent-color); transform: translateY(-5px); }

/* References */
.references { background-color: var(--light-color); }
.references-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.reference-logo { height: 80px; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: var(--transition); }
.reference-logo:hover { opacity: 1; transform: scale(1.1); }
.reference-logo img { max-height: 100%; max-width: 150px; }

/* Contact */
.contact-content { display: flex; gap: 50px; }
.contact-info { flex: 1; }
.contact-details { margin-top: 30px; }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { margin-right: 15px; color: var(--primary-color); font-size: 1.2rem; }
.contact-form { flex: 1; }
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: var(--border-radius); font-family: inherit; transition: var(--transition); }
.form-control:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 2px rgba(26,58,95,0.2); }
textarea.form-control { min-height: 150px; resize: vertical; }

/* Footer */
footer { background-color: var(--dark-color); color: var(--light-text); padding: 60px 0 30px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h3 { color: var(--light-text); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--secondary-color); }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { background-color: var(--secondary-color); transform: translateY(-3px); }
.copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #aaa; }

/* Responsive */
@media (max-width: 992px) {
    .about-content { flex-direction: column; }
    .contact-content { flex-direction: column; }
}
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-menu { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--primary-color); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 50px; transition: var(--transition); }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 15px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 250px; }
}
