/*
 Theme Name: Dis-oi.com – Thème enfant
 Template: Dis-oi.com
 Description: Thème enfant pour la page d’accueil SLA
 Author: Michaël John - Netdev Creative
 Version: 1.0
*/
/* TYPO & BASE */
/* === PALETTE & TYPO DIS-OI =================================== */
:root {
    --disoi-bg-main: #050816;
    --disoi-bg-soft: linear-gradient(to left, #1f2a40, #020617);
    --disoi-bg-soft-alt:  #c5cfd8;
    --disoi-accent-blue: #0ea5e9;
    --disoi-accent-green: #22c55e;
    --disoi-accent-orange: #fb923c;
    --disoi-text-main: #f9fafb;
    --disoi-text-soft: #fff;
    --disoi-text-muted: #9ca3af;
  }
  
  body {
    font-family: "Source Sans Pro";
    font-size: 16px;
    line-height: 1.6;
    background: var(--disoi-bg-main);
    color: var(--disoi-text-soft);
    -webkit-font-smoothing: antialiased;
  }
  
 h2, h4, .section-title, .logo-text-main {
    font-family: "Source Sans Pro";
    text-transform: uppercase;
  letter-spacing: 0.1px;
  font-weight: 600;
  color:  #0892C8;
  -webkit-font-smoothing: antialiased;
  }

  h3 {
  color: #be711e;
  font-family: "Source Sans Pro";
  font-size: 18px;
  text-transform: uppercase;
letter-spacing: 0.1px;
font-weight: 600;
-webkit-font-smoothing: antialiased;
}

h1 {
    color: #be711e;
    font-family: "Source Sans Pro";
    font-size: 18px;
    text-transform: uppercase;
  letter-spacing: 0.1px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}


  

  /* === HERO ===================================================== */
.hero-disoi {
    padding-top: 90px;
    position: relative;
    overflow: hidden;
  
    /* image de fond + dégradé */
    background-image: linear-gradient(120deg, rgb(11, 27, 57), rgba(8,47,73,0.85), rgba(15,118,110,0.85)), url("https://dis-oi.com/domcont/uploads/2025/01/hero-securite-disoi.jpg");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: var(--disoi-text-main);
    min-height: 55vh;           /* hauteur confortable de la bannière */
    display: flex;
    align-items: center;        /* centre verticalement le contenu */
  }
  
  /* léger voile pour garder la lisibilité du texte */
  .hero-disoi::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at left top, rgba(148,163,184,0.4), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.7;
    pointer-events: none;
  }
  
  .hero-disoi .container {
    position: relative;
    z-index: 1;
  }
  
  .hero-title {
    font-size: clamp(2.6rem, 4vw, 3.3rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  
  .hero-title .highlight {
    color: #ffffff;
    text-shadow: 0 0 25px rgba(15,118,110,0.35);
  }
  
  .hero-subtitle {
    max-width: 40rem;
    font-size: 17px;
    color: #e5f2ff;
  }
  
  /* puces sous le hero */
  .hero-meta-pill {
    background: rgba(15,23,42,0.7);
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid rgba(148,163,184,0.5);
    color: var(--disoi-text-soft);
    margin-bottom: 10px;
  }

  .hero-cta {
    margin-bottom: 10px;
  }
  .hero-chip {
    margin-bottom: 10px;
  }
  
  /* panneau à droite un peu plus contrasté */
  .hero-panel-disoi {
    background: rgba(15,23,42,0.96);
    border-radius: 24px;
    padding: 26px 24px;
    border: 1px solid rgba(148,163,184,0.5);
    box-shadow: 0 24px 60px rgba(15,23,42,0.7);
  }
  
  .hero-panel-title {
    color: var(--disoi-text-main);
  }
  
  .hero-checklist li {
    color: #e5f2ff;
  }
  
  .hero-contact-line span {
    color: var(--disoi-text-main);
  }
  
  /* CTA plus “flashy” */
  .btn-hero-main {
    background: linear-gradient(135deg, var(--disoi-accent-blue), var(--disoi-accent-green));
    border: none;
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(34,197,94,0.35);
  }
  .btn-hero-main:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
  }
  
  .btn-hero-ghost {
    border-color: rgba(226,232,240,0.8);
    color: #f9fafb;
    background: rgba(15,23,42,0.4);
  }
  .btn-hero-ghost:hover {
    background: rgba(15,23,42,0.85);
  }

  /* === NAVBAR =================================================== */
.disoi-navbar {
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148,163,184,0.35);
  }
  
  .navbar-nav > li > a {
    color: #e5e7eb !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-inline: 14px !important;
  }
  
  .navbar-nav > li.current-menu-item > a,
  .navbar-nav > li > a:hover {
    color: var(--disoi-accent-blue) !important;
  }
  
  .navbar-brand .logo-text-main {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
  }
  .navbar-brand .logo-text-sub {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--disoi-text-muted);
  }
  
  /* bouton Devis express */
  .disoi-nav-cta {
    border-radius: 999px;
    border-color: var(--disoi-accent-green);
    color: var(--disoi-accent-green);
  }
  .disoi-nav-cta:hover {
    background: var(--disoi-accent-green);
    color: #04101a;
  }
  
  /* === SECTIONS ================================================= */
.section-padding {
    padding: 100px 0;
  }
  
  /* alternance de fonds pour casser la “massue” sombre */
  .section-about {
    background: var(--disoi-bg-soft);
  }
  
  .section-services {
    background: var(--disoi-bg-soft-alt);
  }
  
  .section-products {
    background: #030712;
  }
  
  .section-testimonials {
    background: linear-gradient(to right, #111827, #020617);
  }
  
  /* titres + sous-titres */
  .section-label {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 25px;
    color: #48470d;
    font-family: "Source Sans Pro";
    font-weight: 600;
  }
  .section-title {
    color: #050e22;
  }
  .section-titlee {
    color: #fff;
    font-family: "Source Sans Pro";
  text-transform: uppercase;
  letter-spacing: 0.1px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased
  }

  .section-title3 {
    color: #fff;
    font-family: "Source Sans Pro";
  text-transform: uppercase;
  letter-spacing: 0.1px;
  font-weight: 600;
  -webkit-font-smoothing: antialiased
  }

  .section-intro {
    max-width: 620px;
    margin: 0 auto;
    color: #fff;
  }
  .section-intro2 {
    max-width: 620px;
    margin: 0 auto;
    color: #000;
  }
  
  /* cartes "À propos" */
  .about-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  
  .about-card {
    background: radial-gradient(circle at top left, rgba(56,189,248,0.2), rgba(15,23,42,0.95));
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(148,163,184,0.45);
    color: var(--disoi-text-soft);
  }
  .about-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--disoi-accent-blue);
    font-weight: 700;
  }
  
  /* services */
  .service-card {
    background: #020617;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(148,163,184,0.35);
    transition: all 0.2s ease-out;
  }
  .service-card:hover {
    border-color: var(--disoi-accent-blue);
    box-shadow: 0 18px 40px rgba(8,47,73,0.8);
    transform: translateY(-3px);
  }
  .service-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid rgba(56,189,248,0.7);
    color: var(--disoi-accent-blue);
  }
  
  /* produits */
  .product-card {
    background: #020617;
    border-radius: 20px;
    padding: 22px;
    border: 1px dashed rgba(148,163,184,0.6);
  }
  .product-title {
    color: var(--disoi-accent-blue);
  }
  
  /* avis clients */
  .section-testimonials .section-title {
    color: #f9fafb;
  }
  .testimonial-placeholder {
    background: rgba(15,23,42,0.9);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(148,163,184,0.45);
  }
  
  /* === FOOTER =================================================== */
.disoi-footer {
    background: #020617;
    color: var(--disoi-text-soft);
  }
  
  .disoi-footer .widget-title,
  .footer-widget-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--disoi-text-muted);
    margin-bottom: 0.6rem;
  }
  
  .footer-menu a {
    font-size: 0.9rem;
    color: var(--disoi-text-soft);
  }
  .footer-menu a:hover {
    color: var(--disoi-accent-blue);
  }
  
  .footer-bottom {
    color: #9ca3af;
  }
  
  .footer-social a {
    font-size: 1.25rem;
    color: var(--disoi-text-soft);
  }
  .footer-social a:hover {
    color: var(--disoi-accent-blue);
  }
  
  .about-image-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: 0 20px 50px rgba(15,23,42,0.8);
  }
  .about-image-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  /* Centrer verticalement le texte du menu + réduire la taille */
.disoi-navbar .navbar-nav {
    align-items: center; /* centre les <li> dans la barre */
}

/* Liens du menu principal */


/* Sous-menu (Réservations) un peu plus compact aussi */
.disoi-navbar .navbar-nav .sub-menu a {
    font-size: 14px;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
}


/* ===== NAVBAR : liens + hover + actif ========================= */

/* Base des liens */
.disoi-navbar .navbar-nav > li > a {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.1;
    padding: 0.55rem 0.9rem !important;
    border-radius: 999px;
    color: #e5e7eb !important;
    background: transparent;
    transition: all 0.18s ease-out;
}

/* Hover pour TOUS les liens */
.disoi-navbar .navbar-nav > li > a:hover {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #020617 !important;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

/* Lien ACTIF (page courante) */
.disoi-navbar .navbar-nav > li.current-menu-item > a {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #020617 !important;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(34, 197, 94, 0.5);
    border: 1px solid rgba(15, 23, 42, 0.85);
}

/* On garde le même aspect en hover sur l’actif */
.disoi-navbar .navbar-nav > li.current-menu-item > a:hover {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
}



/* ===== DROPDOWN DU MENU (Réservations) ======================== */

/* Le <li> qui contient un sous-menu sert d’ancrage */
.disoi-navbar .navbar-nav > li.menu-item-has-children {
    position: relative;
}

/* Le sous-menu flotte sous l’item, il ne pousse plus la navbar */
.disoi-navbar .navbar-nav .sub-menu {
    position: absolute;
    top: calc(100% + 8px);       /* 8px sous le bouton parent */
    left: 0;
    min-width: 220px;
    padding: 8px 10px;
    margin: 0;
    list-style: none;

    background: rgba(15, 23, 42, 0.97);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
    z-index: 9999;
}

/* Alignement propre des liens du sous-menu */
.disoi-navbar .navbar-nav .sub-menu li {
    width: 100%;
}

.disoi-navbar .navbar-nav .sub-menu a {
    display: block;
    text-decoration: none !important;
    font-size: 14px;
    padding: 0.4rem 0.9rem !important;
    border-radius: 8px;
    background: transparent;
    color: #e5e7eb !important;
    white-space: nowrap;
}

/* Hover du sous-menu : même gradient que le menu principal */
.disoi-navbar .navbar-nav .sub-menu a:hover {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #020617 !important;
}



.hero-disoi .hero-inner {
    width: 100%;
}

/* On annule le gutter vertical de la row du hero */
.hero-disoi .hero-inner .row {
    --bs-gutter-y: 0;           /* plus de marge négative automatique */
    margin-top: 0;
    margin-bottom: 0;
}

/* Menu du footer */
.disoi-footer .footer-menu,
.disoi-footer .footer-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.disoi-footer .footer-menu li {
    margin-bottom: 2px;
}

.disoi-footer .footer-menu a {
    font-size: 0.9rem;
    color: #e5e7eb;
    text-decoration: none;
}

.disoi-footer .footer-menu a:hover {
    color: #0ea5e9;
}

/* On désactive complètement l'ancien menu offcanvas du thème parent */
#offcanvas {
    display: none !important;
}


/************footer*********************/
/* === FOOTER : bloc légal & social ============================ */

.disoi-footer {
    background: #020617;
    color: #e5e7eb;
}

.disoi-footer .footer-widget-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

/* menu footer */
.disoi-footer .footer-menu,
.disoi-footer .footer-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.disoi-footer .footer-menu li {
    margin-bottom: 2px;
}
.disoi-footer .footer-menu a {
    font-size: 0.9rem;
    color: #e5e7eb;
    text-decoration: none;
}
.disoi-footer .footer-menu a:hover {
    color: #0ea5e9;
}

/* ligne sociale + légale */
.footer-legal-row {
    color: #9ca3af;
}

.footer-social a {
    font-size: 1.2rem;
    color: #e5e7eb;
    transition: color 0.15s ease-out, transform 0.15s ease-out;
}
.footer-social a:hover {
    color: #0ea5e9;
    transform: translateY(-1px);
}

/* liens légaux */
.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
}
.footer-legal-links a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}
.footer-legal-links .separator {
    color: #4b5563;
}

/* responsive : tout centré en mobile */
@media (max-width: 767.98px) {
    .footer-legal-row {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}


/* ===== FOOTER CLASSIC DIS-OI ================================= */

.footer-classic {
    background: #020617;
    color: #e5e7eb;
}

/* bloc widgets */
#footer-sidebar {
    padding: 50px 0 30px;
}

.footer-classic .widget-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 0.6rem;
}

.footer-classic .widget_text p,
.footer-classic .widget p {
    font-size: 0.9rem;
    color: #e5e7eb;
}

/* social */
.widget-social .social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
.widget-social .social-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.5);
    color: #e5e7eb;
}
.widget-social .social-list li a:hover {
    background: #0ea5e9;
    color: #020617;
}

/* bandeau bas */
#footer-bottom {
    border-top: 1px solid rgba(148,163,184,0.25);
    padding: 16px 0;
    background: #020617;
}

.footer-bottom-inner {
    font-size: 0.8rem;
}

/* menu footernav aligné à droite sur desktop */
.footernav ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.footernav ul.menu li {
    margin: 0;
}
.footernav ul.menu a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.8rem;
}
.footernav ul.menu a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

/* responsive : tout centré en mobile */
@media (max-width: 767.98px) {
    .footer-bottom-inner {
        text-align: center;
    }
    .footernav ul.menu {
        justify-content: center;
    }
}


/* Bandeau bas du footer */
#footer-bottom {
    border-top: 1px solid rgba(148,163,184,0.25);
    padding: 16px 0;
    background: #020617;
}

.footer-bottom-inner {
    font-size: 0.8rem;
}

/* Bloc gauche : © + liens */
.footer-bottom-left .footer-bottom-copy {
    color: #9ca3af;
}

/* Liens légaux sans puces */
.footer-legal-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
}
.footer-legal-links a:hover {
    color: #0ea5e9;
    text-decoration: underline;
}

.footer-legal-links .separator {
    color: #4b5563;
}

/* Signature à droite */
.footer-bottom-signature {
    color: #9ca3af;
}

/* Responsive : tout centré en mobile */
@media (max-width: 767.98px) {
    .footer-bottom-inner {
        text-align: center;
    }
}

/* Carte générique */
.section-services .service-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    min-height: 270px;              /* format paysage */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

/* Filigrane sombre par-dessus l'image */
.section-services .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(3, 20, 40, 0.95),
        rgba(0, 120, 170, 0.65)
    );
    mix-blend-mode: multiply;
}

/* Contenu texte au dessus */
.section-services .service-body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

/* Icône + texte */
.section-services .service-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    color: #00f5ff;
}

.section-services .service-title {
    font-size: 18px;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
  }

.section-services .service-text {
    font-size: 17px;
    line-height: 1.2;
  }

/* Responsif */
@media (max-width: 767.98px) {
    .section-services .service-card {
        min-height: 260px;
    }
}

/* Cartes services : image de fond en filigrane */
.service-card--alarme {
    background-image: url('/domcont/uploads/2025/01/intervention-sur-alarme.jpg');
}

.service-card--ronde {
    background-image: url('/domcont/uploads/2025/01/circuits-de-ronde-entrepot.jpg');
}

.service-card--gardiennage-site {
    /* ton chemin exact pour le gardiennage de site */
    background-image: url('/domcont/uploads/2025/01/gardiennage-site.jpg');
}

.service-card--post-effraction {
    background-image: url('/domcont/uploads/2025/01/gardiennage-post-effraction.jpg');
}

.service-card--audit {
    background-image: url('/domcont/uploads/2025/01/conseil-audit-securite.jpg');
}

.service-card--evenementiel {
    background-image: url('/domcont/uploads/2025/01/securite-evenementielle.jpg');
}


/* Aligner le menu et le bloc CTA verticalement */
@media (min-width: 992px) {
    .disoi-navbar .navbar-collapse {
        align-items: center; /* centre le UL + CTA sur la même ligne */
    }
}

/* Bloc CTA à droite du menu */
.disoi-navbar .navbar-cta {
    /* déjà géré par les classes Bootstrap,
       ici on peut juste ajuster un peu l'espace si besoin */
    font-size: 0.9rem;
}

/* Ligne du haut avec le téléphone */
.disoi-navbar .nav-phone-top {
    font-size: 0.85rem;
}

.disoi-navbar .nav-phone {
    display: inline-flex;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.25);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.disoi-navbar .nav-phone-label {
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.7rem;
}

.disoi-navbar .nav-phone-number {
    font-size: 14px;
}

.disoi-navbar .nav-phone:hover {
    border-color: #00f5ff;
    background: rgba(0,0,0,0.4);
}

/* Aligner verticalement menu + bouton devis */
@media (min-width: 992px) {
    .disoi-navbar .navbar-collapse {
        align-items: center;
    }
}

/* Bouton devis */
.disoi-navbar .disoi-nav-cta {
    border-radius: 999px;
    padding-inline: 1.1rem;
    font-weight: 600;
}

/* Cartes À propos avec image à droite */
.about-card--with-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.about-card--with-image .about-card-text {
    flex: 1;
}

.about-card--with-image .about-card-visual {
    flex-shrink: 0;
}

.about-card--with-image .about-card-image {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Un peu d'adaptation sur mobile */
@media (max-width: 575.98px) {
    .about-card--with-image {
        align-items: flex-start;
    }

    .about-card--with-image .about-card-image {
        width: 60px;
        height: 60px;
    }
}
