/*
Theme Name: Forme Expo
Theme URI: https://forme-expo.com
Description: Thème sur mesure pour Forme-expo - Assistance à maîtrise d'ouvrage
Author: Forme-expo
Author URI: https://forme-expo.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forme-expo
Tags: one-column, custom-menu, featured-images
*/

@font-face {
    font-family: 'Infini';
    src: url('fonts/infini-bold.eot');
    src: url('fonts/infini-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/infini-bold.woff') format('woff'),
         url('fonts/infini-bold.ttf') format('truetype'),
         url('fonts/infini-bold.svg#infini-bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

:root {
    --noir: #0a0a0a;
    --blanc: #fafafa;
    --accent: #ff4400;
    --gris: #666;
}

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

body {
    font-family: 'Infini', sans-serif;
    background: var(--blanc);
    color: var(--noir);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5vw;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo svg {
    height: 135px;
    width: auto;
}

.logo:hover {
    opacity: 0.7;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav a {
    color: var(--noir);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
     min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top:20vh;
}

.hero-content {
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gris);
    max-width: 600px;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gris);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--noir);
    color: var(--blanc);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-number {
    font-size: 3rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* References Section */
.references {
    padding: 8rem 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.reference-item {
    padding: 2rem;
    border: 1px solid var(--noir);
    transition: all 0.3s ease;
}

.reference-item:hover {
    background: var(--noir);
    color: var(--blanc);
}

.reference-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reference-item .year {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.reference-item p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--accent);
    color: var(--blanc);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 3rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--blanc);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--blanc);
    color: var(--accent);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Infini', sans-serif;
}

.submit-btn:hover {
    background: var(--noir);
    color: var(--blanc);
}

/* Footer */
footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 3rem 5vw;
    text-align: center;
}

footer p {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .hero{
        display: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 1rem 0;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
/* Hero Slider Styles - Effet Fade */
.hero-slider {
    position: relative;
    height: 3em;
    line-height: 0.95;
    overflow: visible;
    display: block;
}

.hero-slider .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide-item.active {
    opacity: 1;
}

/* Curseur clignotant orange (optionnel) */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-slider .slide-item.active::after {
    content: '';
    display: inline-block;
    width: 0.05em;
    height: 0.8em; 
    background: var(--accent);
    margin-left: 0.1em;
    animation: blink 1.2s infinite;
}
/* Correction du decalage des ancres 
#presentation{ scroll-padding-top: 40px; 
	color:yellow;
}*/

#qui-sommes-nous:target {
	padding-top: 12em !important;
}
#services:target {
padding-top: 4em important;
}