/*
Theme Name: Intentionally Blank
Theme URI: https://www.nilovelez.com/blank/
Author: Nilo Velez
Author URI: https://www.nilovelez.com/
Description: This theme was intentionally left blank. There are times when all you need is the WordPress dashboard and an blank frontend. You might be using the WordPress REST API as a backend for a mobile App or you might be a minimalism obsessed hipster. This is your theme.
Version: 3.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: featured-images, custom-background, theme-options, translation-ready
Text Domain: intentionally-blank
Requires at least: 4.6
Tested up to: 6.6
Requires PHP: 7.4
*/

.service .btn {
    display:inline-block;
    margin-top:1rem;
    padding:0.6rem 1.4rem;
    color:#fff;
    background:#c8102e;
    border-radius:25px;
    font-size:0.9rem;
    font-weight:600;
    transition:0.3s;
}

.service .btn:hover {
    background:#1f3c88;
    color:#fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    color: #1a1a1a;
    background-color: #fafafa;
    scroll-behavior: smooth;
}

h1, h2, h3 { font-weight: 600; }
a { text-decoration: none; color: inherit; }

/* HERO */

header h1 {
    font-size:3rem;
    margin-bottom:0.5rem;
}

header p {
    font-size:1.2rem;
}

header .btn {
    margin-top:2rem;
    padding:0.9rem 2rem;
    background:#c8102e;
    color:#1f3c88;
    border-radius:30px;
    font-weight:600;
    transition:0.3s;
}

header .btn:hover {
    background:#fff;
      color: #fff;
    transform:scale(1.05);
}

/* SECTIONS */
section {
    padding:6rem 1.5rem;
    max-width:1200px;
    margin:auto;
}

#services h2 {
    text-align:center;
    margin-bottom:3rem;
}

.service-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:2rem;
}

.service {
    background:#fff;
    border-radius:12px;
    padding:2rem;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
    transition:0.3s;
}

.service:hover {
    transform:translateY(-5px);
}

.service h3 {
    color:#c8102e;
    margin-bottom:0.8rem;
}

/* =========================
   ABOUT PRO CLEAN
========================= */

.about-section {
    padding: 8rem 1.5rem;
    background: #fff;
}

.about-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Texte */
.about-left {
    max-width: 550px;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: #c8102e;
    position: absolute;
    left: 0;
    bottom: -12px;
    border-radius: 2px;
}

.about-left p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

/* Image */
.about-right img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    transition: 0.4s ease;
}

.about-right img:hover {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-left {
        max-width: 100%;
        text-align: center;
    }

    .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}


/* CONTACT */
#contact {
    background:#fff;
    border-radius:12px;
    padding:4rem 2rem;
    max-width:700px;
    margin:auto;
    text-align:center;
}

form {
    display:flex;
    flex-direction:column;
    gap:1.2rem;
}

input, select, textarea {
    padding:0.8rem 1rem;
    border-radius:6px;
    border:1px solid #ccc;
}

button {
    padding:0.9rem 1.5rem;
    background:#c8102e;
    border:none;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

button:hover {
    background:#1f3c88;
    color:#fff;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  color: #1a1a1a;
  background-color: #fafafa;
  scroll-behavior: smooth;
}

h1, h2, h3 { font-weight: 600; }

a { text-decoration: none; color: inherit; }

/* HEADER / HERO */


header h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

header .btn {
  margin-top: 2rem;
  padding: 0.9rem 2rem;
  background: #c8102e;
      color:#fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

header .btn:hover {
  background: #fff;
  transform: scale(1.05);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  z-index: 10;
}
/* =========================
   NAVBAR VERSION SANS CTA
========================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between; /* ← clé ici */
}

/* Logo */
.logo img {
    height: 45px;
}

/* Menu à droite */
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

/* Ligne animée */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #c8102e;
    transition: 0.3s;
}

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

.navbar {
    display: block !important;
}

.navbar .nav-container {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
}

.navbar .nav-links {
    display: flex;
    gap: 2.5rem;
}



/* SERVICES */
#services h2 {
  text-align: center;
  color: #0f2027;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service h3 {
  color: #c8102e;
  margin-bottom: 0.8rem;
}

/* A PROPOS */
#about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

#about img {
  flex: 1 1 45%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  width: 100%;
}

#about .text {
  flex: 1 1 45%;
}

#about .text h2 {
  color: #0f2027;
  margin-bottom: 1rem;
  position: relative;
}

#about .text h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #c8102e;
  position: absolute;
  bottom: -10px;
  left: 0;
}

#about .text p {
  margin-top: 1rem;
  line-height: 1.7;
}

/* CONTACT */
#contact {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  padding: 4rem 2rem;
  max-width: 700px;
  text-align: center;
}

#contact h2 {
  color: #0f2027;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input, select, textarea {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #c8102e;
}

button {
  padding: 0.9rem 1.5rem;
  background: #c8102e;
  color:#fff;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #1f3c88;
  color: #fff;
  transform: scale(1.05);
}

footer {
  background: #0f2027;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  header h1 { font-size: 2.3rem; }
  #about { flex-direction: column; }
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* HERO */
.service-hero {
    background: #111;
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.service-hero h1 {
    font-size: 38px;
    margin: 0;
}

/* DESCRIPTION */
.service-description {
    padding: 60px 0;
    font-size: 18px;
    line-height: 1.7;
}

/* DETAILS */
.service-details {
    background: #f5f5f5;
    padding: 70px 0;
}

.service-details h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.details-grid h3 {
    margin-bottom: 15px;
}

/* CONTACT BUTTON */
.service-contact {
    padding: 60px 0;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: #333;
}body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.logo {
    color: #111;
    text-decoration: none;
    font-size: 22px;
}

.site-footer {
    background: #f5f5f5;
  color: #111;
    text-align: center;
    padding: 20px 0;
}
.page-hero {
    padding:60px 20px 30px 20px;
}


.page-hero h1 {
    font-size:2.2rem;
}.service-layout {
    padding: 80px 0;
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.service-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-split {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 80px;
}

.service-text {
    flex: 1;
}

.service-text h3 {
    margin-top: 25px;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
}

.service-highlight {
    background: #f5f5f5;
    color: #111;
    padding: 60px;
    text-align: center;
    font-size: 18px;
    border-radius: 10px;
    max-width: 1000px;
    margin: 0 auto;
}


.service-cta {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 900px) {
    .service-split {
        flex-direction: column;
    }
}
.home > header {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

/* Overlay propre */


/* Contenu au dessus */
.home > header * {
    position: relative;
    z-index: 2;
}
.home > header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px; /* espace sous le titre */
}

.home > header p {
    font-size: 1.3rem;
    margin-bottom: 30px; /* espace sous le texte */
}

.home > header .btn {
    display: inline-block;
    margin-top: 10px; /* petit espace bonus */
}


.home > header .btn:hover {
    background: #1f3c88;
      color: #fff;

    transform: translateY(-3px);
}
/* =========================
   HERO SLIDER PROPRE FADE
========================= */

.home-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* Images empilées */


/* Overlay sombre pour lisibilité */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 2;
}



/* Texte */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
/* BLABLA */

/* =========================
   HERO SLIDER FIX VERSION
========================= */

.home > header {
    overflow: hidden;
}

/* Container images */
.home > header .hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Slides */
.home > header .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 15s infinite;
    animation-fill-mode: forwards;
}

/* Images */
.home > header .slide:nth-child(1) {
    background-image: url("http://mbentreprise.fr/wp-content/uploads/2026/02/c3535882-a8bf-4ec2-856f-d0d9031c85f2.jpeg");
    animation-delay: 0s;
}

.home > header .slide:nth-child(2) {
    background-image: url("http://mbentreprise.fr/wp-content/uploads/2026/02/traitement-de-toiture3.jpg");
    animation-delay: 5s;
}

.home > header .slide:nth-child(3) {
    background-image: url("http://mbentreprise.fr/wp-content/uploads/2026/02/traitement-toiture-ab-entreprise1-1.jpg");
    animation-delay: 10s;
}

/* Animation */
@keyframes heroFade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    33% { opacity: 1; }
    41% { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay */
.home > header .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

/* Texte */
.home > header .hero-content {
    position: relative;
    z-index: 3;
}
/* RESET TOTAL DU NAV GÉNÉRIQUE */
nav {
    display: block !important;
    justify-content: initial !important;
    gap: 0 !important;
    padding: 0 !important;
}/* Espace entre About et Contact */

.about-section {
    margin-bottom: 6rem;
}

#contact {
    margin-top: 4rem;
}
.logo img {
    height: 80px;   /* Change la valeur selon la taille souhaitée */
    width: auto;    /* Garde les proportions */
}nav {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    z-index: 1000;
}

nav a {
    font-weight: 500;
    color: #333;
    transition: 0.3s;
}

nav a:hover {
    color: #c8102e;
}.page-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),
    url('/wp-content/uploads/hero-cleaning.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}.service {
    background:#fff;
    border-radius:14px;
    padding:2.2rem;
    box-shadow:0 10px 35px rgba(0,0,0,0.07);
    transition:0.35s;
    position:relative;
}

.service:hover {
    transform:translateY(-8px);
    box-shadow:0 20px 60px rgba(0,0,0,0.15);
}

.service h3 {
    color:#1f3c88;
    margin-bottom:0.8rem;
}

.service::before {
    content:"";
    width:40px;
    height:4px;
    background:#c8102e;
    position:absolute;
    top:0;
    left:0;
    border-radius:2px;
}footer {
    margin-top:4rem;
    padding:2rem;
    text-align:center;
    background:#111;
    color:#aaa;
    font-size:0.9rem;
}body {
    color: #1a1a1a;
    background-color: #f7f7f7;
    background-image: url("https://www.transparenttextures.com/patterns/concrete-wall.png");
}
/* page service */
.page-hero {
    height: 70vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    position: relative;

    background: url("https://mbentreprise.fr/wp-content/uploads/2026/02/traitement-de-toiture3.jpg") center/cover no-repeat;
    color: white;
}

/* Overlay plus stylé */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.3)
    );
}
.page-hero h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #c8102e;
    margin: 20px auto 0;
    border-radius: 2px;
}
/* Texte */
.page-hero h1 {
    position: relative;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 5px 25px rgba(0,0,0,0.6);
    max-width: 900px;
}
.page-hero h1 {
    font-size: 4rem;
    letter-spacing: 1px;
}
body {
    overflow-x: hidden;
}
.page-hero {
    max-width: none;
}
.page-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.service-layout{
    max-width:1100px;
    margin:auto;
    padding:5rem 1.5rem;
}

.service-intro{
    max-width:900px;
    margin:auto;
    margin-bottom:4rem;
    font-size:1.1rem;
    line-height:1.8;
    text-align:left;
}

.service-intro p{
    margin-bottom:1.4rem;
}

.service-intro ul{
    margin:1.5rem 0;
    padding-left:20px;
}

.service-intro li{
    margin-bottom:8px;
}

.details-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:2rem;
    margin-bottom:4rem;
}

.details-grid div{
    background:#fff;
    padding:2rem;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.service-highlight{
    background:#f5f5f5;
    padding:3rem;
    border-radius:12px;
    text-align:center;
    margin-bottom:3rem;
}
.page-hero h1{
    font-size:3rem;
    color:#fff;
}

.service-layout h2,
.service-layout h3{
    color:#1f3c88;
}.service-cta .btn{
    display:inline-block;
    padding:0.9rem 2rem;
    background:#c8102e;
    color:#fff;
    border-radius:30px;
    font-weight:600;
    transition:0.3s;
}

.service-cta .btn:hover{
    background:#1f3c88;
    transform:translateY(-3px);
}.service-intro h2{
    font-size:1.8rem;
    color:#1f3c88;
    margin-bottom:1rem;
}

.service-intro h3{
    font-size:1.4rem;
    color:#1f3c88;
    margin-top:2rem;
    margin-bottom:0.8rem;
}.service-intro h2{
font-size:2rem;
color:#1f3c88;
margin-bottom:20px;
}

.service-intro h3{
font-size:1.3rem;
color:#1f3c88;
margin-top:30px;
margin-bottom:10px;
}

.service-intro p{
font-size:1.05rem;
line-height:1.8;
margin-bottom:18px;
}

.service-intro ul{
margin-top:10px;
margin-bottom:20px;
padding-left:20px;
}

.service-intro li{
margin-bottom:6px;
}.service-intro{
    max-width:1000px;
    margin:60px auto;
    background:#ffffff;
    padding:40px 50px;
    border-radius:12px;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

.service-intro h2{
    font-size:2rem;
    color:#1f3c88;
    margin-bottom:20px;
}

.service-intro h3{
    font-size:1.35rem;
    color:#1f3c88;
    margin-top:30px;
    margin-bottom:10px;
}

.service-intro p{
    font-size:1.05rem;
    line-height:1.8;
    margin-bottom:18px;
}

.service-intro ul{
    padding-left:20px;
    margin-bottom:20px;
}

.service-intro li{
    margin-bottom:6px;
}.page-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero .container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.page-hero h1 {
    text-align: center;
    margin: 0 auto;
}.page-hero {
    height: 65vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    text-align: center;

    background: url("https://mbentreprise.fr/wp-content/uploads/2026/02/traitement-de-toiture3.jpg") center/cover no-repeat;
}

/* overlay premium */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.2)
    );
}.page-hero {
    background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("http://mbentreprise.fr/wp-content/uploads/2026/03/toit2-scaled.jpg");

    backdrop-filter: blur(2px);
}.page-hero {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}/* =========================
   PAGES LÉGALES
========================= */

.legal-page {
    max-width: 900px;
    margin: 120px auto 60px auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    line-height: 1.8;
}

/* Titre principal */
.legal-page h1 {
    font-size: 2.2rem;
    color: #1f3c88;
    margin-bottom: 1.5rem;
    position: relative;
}

.legal-page h1::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #c8102e;
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 2px;
}

/* Sous-titres */
.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #1f3c88;
    font-size: 1.4rem;
}

/* Texte */
.legal-page p {
    margin-bottom: 1rem;
    color: #444;
    font-size: 1rem;
}

/* Listes */
.legal-page ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        margin: 100px 1rem 40px;
        padding: 1.5rem;
    }
}