:root {
    --blue: #004a99;
    --red: #e63946;
    --dark: #1d3557;
    --light: #f1faee;
    --white: #ffffff;
    --gray: rgb(111, 111, 111); 
    --black: #000000;
    --green: #2ecc71;
    --jaune: rgb(255, 167, 0);
    --font-tall: 'Oswald', sans-serif;
}

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

body { 
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--gray); 
    line-height: 1.6; 
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 2555, 0.6); 
	backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
}
.top-bar {
    background: linear-gradient(to right, var(--jaune) 0%, var(--gray) 50%);
	/*background-color: var(--gray);*/
    color: white;    
    padding: 8px 5%;
    white-space: nowrap;
    font-size: 14px;
}
.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}
.top-bar-content a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
}
.container { max-width: 1000px; margin: auto; padding: 180px 20px; }

h2 { font-size: 2rem; color: var(--blue); text-align: center; margin-bottom: 30px; text-transform: uppercase; }

.logo, .logo a {
    background: transparent;
    border: none;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    margin: 10px 0px 2px 50px;
    mix-blend-mode: multiply; 
}
.logo {
    display: flex;
    justify-content: center;
}
.phone-link { color: #a8dadc; font-weight: bold; text-decoration: none; }
nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 5%;
    flex-wrap: wrap; 
}
nav ul { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
    align-items: center;
    margin-left: auto; 
    margin-right: 50px;
}
nav a { 
    font-family: var(--font-tall);
    text-decoration: none; 
    color: var(--white); 
    font-weight: 900; 
    font-size: 1.0rem; 
    text-transform: uppercase; 
}
.hero { 
    box-sizing: border-box;
    padding-top: 150px;
    background-image: url('images/fond_ecran_merlette_millau.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.hero-content {
    /*background-color: #f8f9fa;*/
	  background-color: rgba(255, 255, 2555, 0.1); 
    /*backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);*/
	border: 1px solid rgb(111, 111, 111); 
    border-radius: 12px;    
    padding: 60px 20px;
    text-align: center;  
     width: 90%;
    max-width: 800px;
    margin: 0 auto;
}
.hero-content h1, 
.hero-content p {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    padding: 0 20px;
}
.hero-content h1 {
    color: var(--white);
    font-family: var(--font-tall);
    font-size: 2.0rem;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.bouton { 
    background: var(--blue); 
    color: white;  
    padding: 6px 16px; 
    font-size: 0.8rem; 
    font-weight: 400;
    border-radius: 4px; 
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.bouton:hover { 
    background: var(--jaune);
	color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.bouton-devis, .bouton-services { 
    background: var(--blue); 
    color: white;
    padding: 15px 30px; 
    text-decoration: none; 
    border-radius: 5px; 
    display: inline-block; 
}
.bouton-services { margin-left: 10px; }
section[id] { scroll-margin-top: 34px; }
.geo-strip { background: var(--light); text-align: center; padding: 15px; font-size: 0.95rem; border-bottom: 1px solid #ddd; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-item { padding: 30px; background: var(--white); border: 1px solid #eee; border-radius: 8px; transition: 0.3s; }
.service-item:hover { border-color: var(--blue); transform: translateY(-5px); }
.service-item h3 { color: var(--blue); margin-bottom: 15px; font-size: 1.3rem; }
.stars { color: var(--jaune); margin-bottom: 10px; font-size: 1.2rem; }
.bg-light { background: #f8f9fa; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
blockquote { background: white; padding: 25px; border-radius: 8px; border-left: 5px solid var(--light); font-style: italic; }
cite { display: block; margin-top: 10px; font-weight: bold; color: var(--blue); font-style: normal; }
.testimonial-slider { position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; padding: 20px 0; }
.testimonial-container { 
    display: flex; 
    gap: 20px; 
    transition: transform 0.5s ease-in-out; 
    width: 100%;
}
.testimonial-card { 
    flex: 0 0 calc(50% - 10px); 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    border-left: 5px solid var(--jaune); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    box-sizing: border-box;
}
.slider-nav { text-align: center; margin-top: 20px; }
.slider-nav button { 
    background: var(--blue); 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    cursor: pointer; 
    border-radius: 4px; 
    font-weight: bold;
}
.contact-info {
text-decoration:none;
 white-space:nowrap;
 font-weight:normal;
}
.contact-card { background: white; padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 5px solid var(--gray); }
.form-group { display: flex; gap: 15px; margin-bottom: 15px; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.btn-submit { background: var(--blue); color: white; border: none; padding: 15px; width: 100%; font-weight: bold; border-radius: 4px; cursor: pointer; }
footer { background: #111; color: #eee; padding: 40px 0; }
.footer-content {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.projets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
.projet-card { background: var(--white); border: 1px solid #ddd; border-radius: 10px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.projet-card img { width: 100%; height: 300px; object-fit: cover; border-bottom: 3px solid var(--jaune); }
.projet-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.projet-info { padding: 20px; }
.projet-info h3 { font-family: var(--font-tall); font-size: 1.2rem; color: var(--blue); margin-bottom: 10px; }
@media (max-width: 1150px) {
    nav {
        flex-direction: column;
        align-items: center; 
        justify-content: center;
        gap: 20px;
    }
    nav ul {
        margin-left: 0; 
        margin-right: 0;
        justify-content: center;
        width: 100%;
        padding: 0;
    }
    .hero {
        padding-top: 260px; 
    }
}
@media (min-width: 1025px) and (max-width: 1250px) {
    nav ul { 
        gap: 10px;
    }
    nav a {
        font-size: 0.9rem;
    }
    .logo-img {
        height: 70px; margin: 0 auto;
    }
}
@media (max-width: 1024px) {
    .container { padding-top: 220px; padding-bottom: 40px; }
    h1, .hero-content h1 { font-size: 1.3rem; line-height: 1.3; margin-top: 10px;}
    h2 { font-size: 1.3rem; }
    .hero-content h1 { font-size: 1.2rem; }
    .form-group { flex-direction: column; }
    .hero-actions { display: flex; flex-direction: column; gap: 10px; }
    .bouton-services { margin-left: 0; }
    .testimonial-card { min-width: 100%; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .hero { background-image: none; padding-top: 220px;min-height: auto;} 
	.logo {margin-bottom: 10px;} /* ajout */
    .logo-img { height: 65px; margin: 0 auto; }
    nav { flex-direction: column; align-items: center; padding: 15px 0; gap: 15px; } /* passer le gap de 15 à 20 */
    nav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-right: 0; padding: 0; gap: 10px; width: 100%;} /* passer le gap de 10 à 12 */
	nav ul li a { font-size: 12px; padding: 8px 12px; }
    .bouton { font-size: 0.8rem; }
}
@media screen and (max-width: 600px) {
    .logo { margin-left: 0; margin-bottom: 20px; }
    .logo-img { height: 55px; margin: 0 auto; }
    .hero-content h1 { font-size: 1.2rem; }
    .hero-content p { font-size: 0.8rem; }
}
