* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background: linear-gradient(45deg, #ffffff, #2a5298);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    font-family: "Montserrat", sans-serif;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Header */
header {
    height: 100vh;
    width: 100vw;
    background-image: url();

    /* Ajouter une image de fond */
    background-size: cover;
}

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.818);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    font-size: 2em;
    font-weight: bolder;
    color: rgb(14, 14, 152);
}

.nav-links ul {
    display: flex;
}

.nav-links ul li {
    margin: 0 25px;
}

.nav-links ul li a {
    color: rgb(9, 9, 9);
    font-size: 1.2em;
    transition: 0.3s;
}

.nav-links ul li.active a {
    color: red;
    font-weight: 600;
}

/* Menu Mobile */
.menu-icon {
    position: absolute;
    display: none;
    color: black;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.menu-icon {
    left: 600px;
    top: 25px;
}

/* Responsive - Mobile */
@media screen and (max-width: 1000px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.482);
        backdrop-filter: blur(7px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }

    .nav-links ul {
        flex-direction: column;
    }

    .nav-links ul li {
        margin: 20px 0;
    }

    .nav-links.mobile-menu {
        left: 0;
    }
}

.navbar .nav-links ul {
    display: flex;
    justify-content: flex-start;
    margin-left: 0;
}

.logo-APSM {
    position: absolute;
    height: 55px;
    top: 15px;
    left: 150px;
}

/* Ligne horizontale du navbar */
hr {
    border: none;
    height: 2px;
    background-color: black;
    width: 100%;
    margin-top: 80px;
    z-index: 10;
}

.header-content {
    color: aliceblue;
    left: -20px;
    top: 30px;
}

/* Section Services */
.services {
    padding: 50px;
    text-align: center;
    background-color: #f4f4f4;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.service-items {
    display: flex;
    justify-content: space-around;
}

.service-item {
    width: 30%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.service-item p {
    color: #777;
}

/* Section À propos */
.about {
    padding: 50px;
    background-color: #ffffff;
}

/* Section CTA */
.cta {
    text-align: center;
    padding: 50px;
    background-color: #2a5298;
    color: white;
}

.cta h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #e74c3c;
    padding: 15;
}

.about {
    padding: 0px;
    background-color: #f4f4f4;
    color: #0c0c0c;
    font-size: 1.1em;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 10px;
}

.contact-form {
    max-width: 500px;
    margin: 50px auto;

    /* Centre le formulaire et ajoute de l'espace */
    padding: 20px;
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.about h1,
.about h2,
.about h3,
.about h4,
.about h5 {
    color: #ffffff;
    margin-bottom: 20px;
}

.about p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.about ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #777;
}

.about {
    background-color: #005d99 !important;

    /* iiiiiiiiiiiii */
    color: #ffffff !important;
    font-size: 2em;
    padding: 20px;
}

.contact {
    top: 0px;
    left: 10px;
}

/* Enlever la hauteur du header à 100vh pour qu'il n'occupe pas tout l'écran */
header {
    height: auto;
    background-image: url();

    /* image de fond */
    background-size: cover;
    padding: 50px 20px;

    /* Ajoute un peu d'espace au-dessus et en-dessous */
    text-align: center;
}

/* Section Contact */
.contact-form {
    max-width: 600px;
    margin: 50px auto;

    /* Centrer le formulaire et ajouter de l'espace */
    padding: 20px;
    background-color: #1b3b81;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Pour la section "Nos Coordonnées" */
.contact-info {
    margin: 50px 0;
    text-align: center;
    font-size: 1.2em;
}

/* Section Header (texte du haut) */
.contact-header {
    margin-top: 35px;

    /* remonter le texte au début de la page */
    padding: 36px 20px 0px;
    background-color: #ffffff;
    color: #ffffff;
    margin-bottom: -50px;
}

.contact-header h1 {
    font-size: 2.5em;
}

.contact-header p {
    font-size: 1.2em;
    margin-top: 10px;
}

body {
    font-family: "Montserrat", sans-serif;
    background: linear-gradient(45deg, #fefefe);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    padding-top: 50px;

    /* Ajoute de l'espace en haut */
}

.section {
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about h2 {
    color: #e4e4e4;
    margin-top: 1.5rem;
}

.about ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

footer {
    margin-top: 4rem;
    text-align: center;
    padding: 1rem;
    background-color: #222;
    color: #fff;
}

/* page Devis */
body {
    font-family: Arial, sans-serif;
    background-color: #449dff;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #007bff;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;

    /* Augmenter la hauteur */
    font-size: 1.1em;

    /* Augmenter la taille des polices */
}

.navbar .logo {
    font-size: 2em;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar .nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;

    /* Espace entre les liens */
}

.navbar .nav-links ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar .nav-links ul li.active a {
    background-color: #0056b3;
    text-decoration: underline;
}

.navbar .menu-icon {
    display: none;
}

.devis-header {
    text-align: center;
    padding: 50px;
    background-color: #007bff;
    color: white;
}

.devis-form-container {
    background-color: white;
    padding: 30px;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.devis-form-container form {
    display: flex;
    flex-direction: column;
}

.devis-form-container input,
.devis-form-container select,
.devis-form-container textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.envoyer-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.envoyer-btn:hover {
    background-color: #005dc1;
}

/* Mobile view adjustments */
@media (max-width: 1000px) {
    .navbar .menu-icon {
        display: block;
        cursor: pointer;
    }

    .navbar .nav-links {
        display: none;
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links.mobile-menu {
        display: block;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #007bff;
        width: 100%;
        padding: 10px 0;
    }

    .navbar .nav-links ul {
        flex-direction: column;
    }

    .navbar .nav-links ul li a {
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }
}

/* services */
/* Navbar */
.navbar {
    background-color: #005c99f1;

    /* Bleu pour la navbar */
    padding: 20px 0;

    /* Augmentation du padding pour plus de visibilité */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nav-links ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .active a {
    color: #ffd700;

    /* Ou bleu clair ou autre couleur qui se démarque */
}

/* Header */
.service-header {
    text-align: center;
    background-color: #005d99;
    color: #fff;
    padding: 60px 20px;

    /* Plus de padding pour une meilleure lisibilité */
}

.service-header h1 {
    font-size: 2.5em;
    color: #ffffff;
}

.service-header p {
    font-size: 1.2em;
    margin-top: 20px;
}

/* Services section */
.services {
    display: flex;
    justify-content: space-around;
    gap: 30px;

    /* Espacement entre les boîtes de services */
    padding: 40px 20px;
    margin-top: 40px;
}

.service-box {
    background-color: #fff;
    border: 2px solid #005d99;
    padding: 30px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
    margin-bottom: 40px;

    /* Espacement en bas des boîtes */
}

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

.service-box h2 {
    font-size: 1.8em;
    color: #005d99;
}

.service-box p {
    font-size: 1.1em;
    color: #333;
    margin-top: 20px;
}

/* Ajout de marges pour les boutons "En savoir plus" */
.service-box .btn {
    background-color: #005d99;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;

    /* Marges autour des boutons */
    display: inline-block;
}

.service-box .btn:hover {
    background-color: #ffd700;
}

/* Mettre en valeur les boîtes de services */
.service-box p {
    line-height: 1.5;

    /* Augmenter la hauteur de ligne pour mieux espacer le texte */
    margin-bottom: 20px;

    /* Espacement en bas du texte */
}

/* Pour éviter que le texte "En savoir plus" ne soit trop près du texte */
.service-box .btn {
    margin-top: 20px;
}

/* Highlight section */
.highlight {
    background-color: #fff;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
}

.highlight h2 {
    font-size: 2em;
    color: #005d99;
}

.highlight ul {
    list-style-type: none;
    padding: 0;
}

.highlight li {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Why choose APS.M */
.why-choose {
    background-color: #f0f8ff;
    padding: 40px 20px;
    text-align: center;
}

.why-choose h2 {
    font-size: 2em;
    color: #005d99;
}

.why-choose p {
    font-size: 1.1em;
    margin-top: 20px;
}

.why-choose ul {
    list-style-type: none;
    padding: 0;
}

.why-choose li {
    font-size: 1.2em;
    margin-top: 15px;
}

/* Company Info */
.company-info {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
    margin-top: 50px;
}

.company-info h2 {
    font-size: 2em;
    color: #005d99;
}

.company-info p {
    font-size: 1.1em;
    margin-top: 15px;
}

footer {
    background-color: #005d99;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    margin: 0;
}

/* Section Nos Services */
.service-header {
    text-align: center;
    background-color: #005d99;
    color: #fff;
    padding: 60px 20px;

    /* Augmenter le padding pour plus de lisibilité */
    margin-top: 50px;

    /* Espacement supplémentaire au-dessus de la section pour l'éloigner de la navbar */
}

.services {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 40px 20px;
    margin-top: 40px;

    /* Ajouter une marge en haut si nécessaire */
}

/* Section Services Box */
.service-box {
    background-color: #fff;
    border: 2px solid #005d99;
    padding: 30px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
    margin-bottom: 40px;
}

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

/* Animation pour l'arrière-plan */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Appliquer uniquement si body a la classe 'home-page' */
.home-page {
    margin: 0;
    padding: 0;
    background: linear-gradient(45deg, #ffffff, #f8f8f8d7);
    animation: gradientAnimation 15s ease infinite;
}

.home-page header {
    height: 100vh;
    width: 100%;
    background-image: url('image_de_fond.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0);
}

.home-page .header-content {
    max-width: 900px;
    padding: 20px;
    background: #005d99;
    border-radius: 10px;
}

.home-page .header-content p {
    font-size: 1.5em;
    line-height: 1.6;
    margin-bottom: 40px;
}

.home-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1b3b81;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 100;
}

.home-page .navbar .logo {
    font-size: 2em;
    font-weight: bold;
}

.home-page .nav-links ul {
    display: flex;
    gap: 25px;
}

.home-page .nav-links ul li a {
    color: white;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.home-page .nav-links ul li a:hover {
    color: #006eff;
}

.home-page {
    padding-top: 50px;

    /* Ajoute un espacement au début de la page */
}

.home-page .cta-button {
    background-color: #ffffff;
    color: black;
    padding: 15px 30px;
    font-size: 1em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 40px;

    /* Augmente la marge pour plus d'espace */
}

.home-page .cta-button:hover {
    background-color: #998357;
}

.home-page .services {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 80px 20px;
    text-align: center;
}

.home-page .service-item {
    background-color: rgb(255, 255, 255);
    padding: 40px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.home-page .service-item h3 {
    color: #0076fd;

    /* couleur fond des lettre */
    margin-bottom: 15px;
    font-size: 1.6em;
}

.home-page .service-item p {
    font-size: 1.1em;
    color: #555;
}

.home-page footer {
    background-color: #1b3b81;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

.home-page footer p {
    font-size: 1.1em;
    margin: 0;
}

/* Responsive Mobile */
@media screen and (max-width: 700px) {
    .home-page .navbar .nav-links {
        display: none;
        width: 100%;
        text-align: center;
    }

    .home-page .navbar .nav-links.mobile-menu {
        display: block;
        background-color: #333;
    }

    .home-page .navbar .nav-links ul {
        flex-direction: column;
    }

    .home-page .navbar .nav-links ul li {
        margin-bottom: 15px;
    }

    .home-page .navbar .menu-icon {
        display: block;
    }

    .home-page .service-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Conteneur de l'image */
.image-container {
    position: relative;
    width: 100%;
    height: 50vh;

    /* Ajusté pour être un peu plus petit */
    overflow: hidden;
}

/* Image à l'intérieur du conteneur, avec ajustement dynamique */
.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* L'image couvre toute la zone sans se déformer */
    object-position: center;

    /* Centrage de l'image */
    transition: all 0.5s ease;

    /* Transition douce pour agrandir l'image */
}

/* Fond sombre avec texte centré */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.52);

    /* Fond sombre pour améliorer la lisibilité */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

/* Texte */
.text {
    max-width: 80%;

    /* Limite la largeur du texte */
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* Réduction de la taille du texte pour les petits écrans */
@media (max-width: 768px) {
    .text {
        font-size: 1rem;

        /* Réduit la taille du texte sur les petits écrans */
    }

    .image-container {
        height: 40vh;

        /* Hauteur de l'image réduite pour les petits écrans */
    }
}

/* Ajustement de l'image et du texte sur les très grands écrans */
@media (min-width: 1200px) {
    .text {
        font-size: 1.5rem;

        /* Augmentation de la taille du texte pour les grands écrans */
    }

    .image-container {
        height: 60vh;

        /* Hauteur d'image réduite pour les grands écrans */
    }
}

/* Image agrandie avec la taille de la fenêtre */
@media (min-width: 768px) {
    .service-image {
        height: 80vh;

        /* L'image occupe maintenant 80% de la hauteur de la fenêtre pour les écrans larges */
    }
}

/* Ajuster la taille du logo APSM dans la barre de navigation */
.navbar .logo-APSM {
    width: 40px;

    /* Ajustez cette taille selon ce qui vous semble bien */
    height: auto;

    /* Garde les proportions de l'image */
    margin-left: 10px;
    margin-bottom: 0px;

    /* Si vous voulez un petit espace à gauche du logo */
}

/* Si vous souhaitez que le logo soit un peu plus petit sur mobile */
@media (max-width: 768px) {
    .navbar .logo-APSM {
        width: 40px;

        /* Réduire la taille sur les écrans plus petits */
    }
}

.service-box {
    border: 2px solid #003366;

    /* Bordure de couleur bleu foncé */
    padding: 20px;
    margin: 20px 0;
    background-color: #f5f5f5;

    /* Fond clair */
    border-radius: 10px;

    /* Pour des coins légèrement arrondis */
}

.service-box h3 {
    font-size: 1.5em;
    color: #003366;

    /* Couleur du texte */
}

.service-box p {
    font-size: 1.1em;
    color: #333333;

    /* Couleur du texte des descriptions */
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.about {
    margin-top: 80px;
}

.devis-header {
    padding-top: 100px;

    /* Ajuste selon l'espacement souhaité */
}

html,
body {
    height: 100%;
    margin: 0;
}

/* Style pour le body qui utilise flexbox */
body {
    display: flex;
    flex-direction: column;
}

/* Ton contenu principal */
main {
    flex: 1;
}

/* Footer reste en bas */
footer {
    margin-top: auto;
    background-color: #333;

    /* Exemple de couleur de fond, ajuste à ta préférence */
    color: white;
    text-align: center;
    padding: 10px 0;
}

.nav-links a {
    text-transform: uppercase;
}

.accueil {
    text-transform: uppercase;
}

.home {
    margin-top: 80px;

    /* Ajuste selon la hauteur de la navbar */
}

/* Style du bouton sur la page Contact */
.contact-form button {
    background-color: #fffcfc;
    padding: 15px 30px;
    font-size: 1em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: #000000;
}

.contact-form button:hover {
    background-color: #3d6cb3;
}

.about {
    background-color: white;

    /* Fond de la section */
    padding: 60px 20px;
}

.about-container {
    max-width: 900px;
    margin: auto;
    background-color: #ffffff;

    /* Bleu clair au centre */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    line-height: 1.8;
    color: #0c0c0c;

    /* Tu peux changer la couleur du texte si tu veux */
}

.about h1,
.about h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 34px;
}

.about ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-top: 20px;
}

body {
    font-family: "Montserrat", sans-serif;
    color: #2a5298;
    text-align: left;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #000000;
}

.service-header {
    display: flex;
    flex-direction: column;

    /* ← clé du problème */
    text-align: center;
}

/* ========================= */
/* NORMALISATION DES TAILLES */
/* ========================= */
/* Taille de base identique partout */
html {
    font-size: 16px;
}

/* Texte normal */
body,
p,
li,
input,
textarea,
select,
button {
    font-size: 1rem;
    color: #ffffff;
    margin-left: 0px;

    /* = 1px */
}

/* Titres principaux */
h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

/* Navbar */
.navbar,
.nav-links a {
    font-size: 1rem;
}

/* Pages Contact & Devis */
.contact-header p,
.devis-header p {
    font-size: 1.1rem;
}

/* Labels et formulaires */
.contact-form input,
.contact-form textarea,
.devis-form-container input,
.devis-form-container select,
.devis-form-container textarea {
    font-size: 1rem;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* toute la hauteur de la page */
    margin: 0;
}

main {
    flex: 1; /* prend tout l’espace restant entre header et footer */
}
html, body {
    height: 100%;
    margin: 0;
}

body.home-page {
    display: flex;
    flex-direction: column;
}

.service-details {
    flex: 1; /* prend tout l'espace restant entre navbar et footer */
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    color: #fff;
}
.hero-incendie {
    width: 100%;
    height: 100vh; /* pleine hauteur écran */
    background-image: url("image/agent-de-sécurité-incendie.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;     /* centre vertical */
    justify-content: center; /* centre horizontal */

    position: relative;
}

/* léger filtre sombre pour lisibilité */
.hero-incendie::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-text {
    position: relative;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}
.page-cynophile footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

.page-cynophile footer p {
    margin: 0;
}
/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { width:100%; height:100%; }

/* IMAGE PLEIN ÉCRAN */
.page-cynophile .service-details {
    position: relative;
    width: 100%;
    min-height: 100svh; /* plein écran mobile compris */
    overflow: hidden;
}
.page-cynophile .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-cynophile .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* FOOTER FIXE UNIQUEMENT POUR CETTE PAGE */
.page-cynophile footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}
.page-cynophile footer p { margin: 0; }


/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
html, body { width:100%; height:100%; }

/* IMAGE PLEIN ÉCRAN uniquement pour sécurité incendie */
.page-incendie .service-details {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
}

.page-incendie .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-incendie .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

/* FOOTER fixe uniquement sur cette page */
.page-incendie footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

.page-incendie footer p {
    margin: 0;
}
.page-surveillance .service-details {
    position: relative;
    width: 100%;
    min-height: 100svh !important;
    overflow: hidden;
}

.page-surveillance .service-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.page-surveillance .overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.page-surveillance footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0,0,0,0.6) !important;
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

.page-surveillance footer p {
    margin: 0 !important;
}




