@charset "utf-8";
/* CSS Document */

    :root {
      --primary: #074071;
      --secondary: #FE6102;
      --light: #D76F22;
      --dark: #021a30;
      --gray: #f5f7fa;
    }
    * { scroll-behavior: smooth; }
    body { font-family: 'Open Sans', sans-serif; color: #333; overflow-x: hidden; }
    h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; }

    /* NAVBAR */
    .navbar { background: var(--primary); padding: 10px 0; position: sticky; top:0; z-index:9999; box-shadow: 0 2px 20px rgba(0,0,0,.4); }
    .navbar-brand img { height: 60px; width:60px; object-fit:contain; border-radius:50%; }
    .navbar-brand span { font-family:'Montserrat',sans-serif; font-weight:900; color:#fff; font-size:1.2rem; letter-spacing:1px; vertical-align:middle; margin-left:8px; }
    .navbar-nav .nav-link { color:rgba(255,255,255,.85) !important; font-weight:600; text-transform:uppercase; font-size:.85rem; letter-spacing:1px; margin:0 4px; transition:.3s; padding:8px 12px !important; border-radius:4px; }
    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color:#fff !important; background: var(--secondary); }
    .btn-devis-nav { background: var(--secondary) !important; color:#fff !important; border-radius:4px; }
    .btn-devis-nav:hover { background: var(--light) !important; }
    .navbar-toggler { border-color:rgba(255,255,255,.4); }
    .navbar-toggler-icon { background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

    /* HERO CAROUSEL */
    #heroCarousel { position:relative; }
    .carousel-item { height:92vh; min-height:500px; position:relative; }
    .hero-slide { height:100%; width:100%; object-fit:cover; display:block; }
    .carousel-caption-custom { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align:center; z-index:10; width:85%; }
    .carousel-caption-custom h1 { font-family:'Montserrat',sans-serif; font-size:3.2rem; font-weight:900; color:#fff; text-shadow:0 2px 20px rgba(0,0,0,.7); line-height:1.1; }
    .carousel-caption-custom p { font-size:1.15rem; color:rgba(255,255,255,.92); text-shadow:0 1px 8px rgba(0,0,0,.6); margin-top:12px; }
    .hero-overlay { position:absolute; top:0;left:0;width:100%;height:100%; background:linear-gradient(135deg,rgba(7,64,113,.75) 0%,rgba(254,97,2,.35) 100%); z-index:5; }
    .carousel-indicators [data-bs-target] { width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.6);border:none; }
    .carousel-indicators .active { background:var(--secondary); }
    .carousel-control-prev-icon, .carousel-control-next-icon { background-color:var(--secondary); border-radius:50%; padding:18px; }

    /* HERO SVG SLIDES – embedded images */
    .slide-bg { width:100%; height:100%; background-size:cover; background-position:center; }

    /* SECTION COMMON */
    section { padding: 80px 0; }
    .section-title { text-align:center; margin-bottom:50px; }
    .section-title h2 { font-size:2.2rem; font-weight:900; color:var(--primary); position:relative; display:inline-block; padding-bottom:14px; }
    .section-title h2::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:60px; height:4px; background:var(--secondary); border-radius:2px; }
    .section-title p { color:#666; margin-top:14px; font-size:1.05rem; }

    /* CTA STRIP */
    .cta-strip { background:linear-gradient(90deg,var(--primary) 60%,var(--secondary) 100%); padding:40px 20px; text-align:center; }
    .cta-strip h3 { color:#fff; font-weight:800; margin-bottom:16px; }
    .btn-cta { background:#fff; color:var(--primary); font-weight:700; border-radius:30px; padding:12px 36px; font-size:1rem; transition:.3s; border:none; text-decoration:none; }
    .btn-cta:hover { background:var(--secondary); color:#fff; }
    .btn-primary-custom { background:var(--primary); color:#fff; border:none; border-radius:30px; padding:12px 36px; font-weight:700; transition:.3s; text-decoration:none; }
    .btn-primary-custom:hover { background:var(--secondary); color:#fff; }
    .btn-secondary-custom { background:var(--secondary); color:#fff; border:none; border-radius:30px; padding:12px 36px; font-weight:700; transition:.3s; text-decoration:none; }
    .btn-secondary-custom:hover { background:var(--primary); color:#fff; }

    /* ABOUT */
    #apropos { background: var(--gray); }
    .about-icon { font-size:3rem; color:var(--secondary); margin-bottom:12px; }
    .about-card { background:#fff; border-radius:12px; padding:30px 24px; text-align:center; box-shadow:0 4px 18px rgba(7,64,113,.1); height:100%; transition:.3s; }
    .about-card:hover { transform:translateY(-6px); box-shadow:0 10px 30px rgba(7,64,113,.18); }
    .about-card h5 { font-weight:800; color:var(--primary); margin-bottom:10px; }
    .about-img-wrap { border-radius:16px; overflow:hidden; box-shadow:0 6px 24px rgba(0,0,0,.15); }
    .about-badge { display:inline-block; background:var(--secondary); color:#fff; font-weight:700; border-radius:30px; padding:6px 18px; font-size:.9rem; margin-bottom:12px; }
    .timeline-year { font-size:3rem; font-weight:900; color:var(--secondary); opacity:.18; position:absolute; right:10px; top:0; }

    /* SERVICES */
    #services { background:#fff; }
    .service-card { border:none; border-radius:14px; box-shadow:0 4px 18px rgba(7,64,113,.09); overflow:hidden; transition:.3s; height:100%; }
    .service-card:hover { transform:translateY(-6px); box-shadow:0 10px 30px rgba(7,64,113,.18); }
    .service-icon-wrap { background:linear-gradient(135deg,var(--primary),var(--secondary)); padding:28px; text-align:center; }
    .service-icon-wrap i { font-size:2.8rem; color:#fff; }
    .service-card .card-body { padding:24px; }
    .service-card .card-title { font-weight:800; color:var(--primary); }

    /* GALLERY */
    #galerie { background:var(--gray); }
    .gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; }
    .gallery-item { border-radius:10px; overflow:hidden; aspect-ratio:1; position:relative; cursor:pointer; }
    .gallery-item svg, .gallery-item div { width:100%; height:100%; transition:.35s; }
    .gallery-item:hover > * { transform:scale(1.06); }
    .gallery-overlay { position:absolute; inset:0; background:rgba(7,64,113,.55); display:flex; align-items:center; justify-content:center; opacity:0; transition:.3s; }
    .gallery-item:hover .gallery-overlay { opacity:1; }
    .gallery-overlay i { color:#fff; font-size:2rem; }

    /* CONTACT */
    #contact { background:#fff; }
    .contact-info-card { background:var(--primary); color:#fff; border-radius:14px; padding:36px 28px; height:100%; }
    .contact-info-card h4 { font-weight:800; margin-bottom:20px; }
    .contact-info-card i { color:var(--secondary); font-size:1.3rem; margin-right:10px; }
    .contact-form-wrap { background:var(--gray); border-radius:14px; padding:36px 28px; }
    .form-control, .form-select { border:1.5px solid #dde3ee; border-radius:8px; padding:10px 16px; font-size:.97rem; }
    .form-control:focus, .form-select:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(7,64,113,.12); }
    label { font-weight:600; color:var(--primary); font-size:.92rem; margin-bottom:4px; }
    .btn-submit { background:var(--secondary); color:#fff; border:none; border-radius:30px; padding:12px 40px; font-weight:700; font-size:1rem; transition:.3s; width:100%; }
    .btn-submit:hover { background:var(--primary); }

    /* FOOTER */
    footer { background:var(--dark); color:rgba(255,255,255,.8); padding:60px 0 20px; }
    footer h5 { color:#fff; font-weight:800; margin-bottom:18px; font-size:1rem; text-transform:uppercase; letter-spacing:1px; }
    footer a { color:rgba(255,255,255,.7); text-decoration:none; transition:.2s; display:block; margin-bottom:6px; font-size:.93rem; }
    footer a:hover { color:var(--secondary); }
    .footer-logo { height:70px; width:70px; border-radius:50%; margin-bottom:14px; }
    .footer-brand { font-weight:900; font-size:1.2rem; color:#fff; }
    .footer-divider { border-color:rgba(255,255,255,.12); margin:30px 0 16px; }
    .footer-bottom { text-align:center; font-size:.85rem; color:rgba(255,255,255,.45); }
    .social-icons a { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; background:rgba(255,255,255,.1); border-radius:50%; color:#fff; font-size:1rem; margin-right:6px; transition:.3s; }
    .social-icons a:hover { background:var(--secondary); color:#fff; }

    /* FLOATING BUTTON */
    .float-devis { position:fixed; right:20px; bottom:30px; z-index:9998; }
    .float-devis button { background:var(--secondary); color:#fff; border:none; border-radius:30px; padding:14px 22px; font-weight:700; font-size:.95rem; box-shadow:0 4px 20px rgba(254,97,2,.5); transition:.3s; white-space:nowrap; }
    .float-devis button:hover { background:var(--primary); box-shadow:0 4px 20px rgba(7,64,113,.5); transform:scale(1.05); }
    .float-devis button i { margin-right:6px; }

    /* MODAL */
    .modal-header { background:var(--primary); color:#fff; border-radius:12px 12px 0 0; }
    .modal-title { font-weight:900; font-family:'Montserrat',sans-serif; }
    .modal-footer { border-top:1px solid #eee; }
    .btn-close { filter:invert(1); }

    /* HERO SVG PLACEHOLDERS */
    .hero-svg-1 { background: linear-gradient(135deg,#0a1628 0%,#1a3a6b 50%,#0d2444 100%); }
    .hero-svg-2 { background: linear-gradient(135deg,#1a0a05 0%,#6b2a10 50%,#3d1808 100%); }
    .hero-svg-3 { background: linear-gradient(135deg,#021a30 0%,#074071 50%,#0a5090 100%); }
    .hero-svg-4 { background: linear-gradient(135deg,#2a1500 0%,#7a3800 50%,#FE6102 100%); }
    .hero-svg-5 { background: linear-gradient(135deg,#050d1a 0%,#0c2a4a 50%,#145080 100%); }

    @media(max-width:768px) {
      .carousel-caption-custom h1 { font-size:1.9rem; }
      .carousel-item { height:70vh; }
      section { padding:55px 0; }
    }

