
/* ═══════════════════════════════════════════════════════
   THEME CLAIR — SURCHARGES POUR PRÉSENTATION SOIGNÉE
   ═══════════════════════════════════════════════════════ */

/* ── Nom de marque dans la navigation ── */
.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #1E3A5F;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Hero title : sombre sur fond clair ── */
.hero-title {
  color: #1E3A5F !important;
  text-shadow: none !important;
}
.hero-title .saumon {
  color: #2563EB !important;
}
.hero-location {
  color: #4A5568 !important;
}
.hero-sub {
  color: #4A5568 !important;
}

/* ── Body & fond général ── */
body {
  background: #F8FAFC !important;
  color: #111827 !important;
}

/* ── Navigation (bandeau blanc épuré) ── */
nav {
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid rgba(30,58,95,0.1) !important;
  box-shadow: 0 1px 8px rgba(30,58,95,0.06);
}
header.scrolled nav {
  box-shadow: 0 2px 20px rgba(30,58,95,0.12) !important;
}
.nav-links a {
  color: #1E3A5F !important;
}
.nav-links a:hover {
  color: #2563EB !important;
}
.logo-icon {
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%) !important;
}

/* ── Sections : fond blanc / gris alternés + texte noir ── */
section:nth-child(odd) {
  background: #FFFFFF !important;
}
section:nth-child(even) {
  background: #F1F5F9 !important;
}
section h2, section h3, section p, section span {
  color: inherit;
}
.section-title {
  color: #1E3A5F !important;
}
.section-tag {
  color: #2563EB !important;
}
.section-header {
  border-left: 4px solid #2563EB !important;
}

/* ── Cards épurées ── */
.card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(30,58,95,0.07) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px rgba(30,58,95,0.13) !important;
  border-color: #2563EB !important;
}
.card h3 {
  color: #1E3A5F !important;
}
.card p {
  color: #4B5563 !important;
}

/* ── Zone cards ── */
.zone-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(30,58,95,0.07) !important;
}
.zone-card h3 {
  color: #1E3A5F !important;
}
.zone-card p {
  color: #4B5563 !important;
}
.zone-number {
  color: #2563EB !important;
  border-color: rgba(37,99,235,0.25) !important;
}

/* ── Boutons principaux ── */
.btn-primary {
  background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3) !important;
  font-weight: 700 !important;
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(37,99,235,0.45) !important;
  transform: translateY(-2px) !important;
}
.btn-outline {
  border: 2px solid #2563EB !important;
  color: #2563EB !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}
.btn-outline:hover {
  background: rgba(37,99,235,0.08) !important;
}

/* ── Bouton hero outline sombre (hero a un fond clair) ── */
#hero .btn-outline {
  border: 2px solid #1E3A5F !important;
  color: #1E3A5F !important;
  background: transparent !important;
}
#hero .btn-outline:hover {
  background: #1E3A5F !important;
  color: #FFFFFF !important;
}

/* ── Contact section ── */
#contact {
  background: #F8FAFC !important;
}
#contact .section-title {
  color: #1E3A5F !important;
}
/* Contact blocks with dark background need light text */
.contact-block { background: #1E3A5F !important; border: none !important; }
.contact-block h3 { color: #60A5FA !important; }
.contact-block p { color: rgba(255,255,255,0.7) !important; }
.contact-block a { color: #FFFFFF !important; font-weight: bold !important; }
.contact-block a:hover { color: #93C5FD !important; }

/* ── Footer ── */
footer {
  background: #1E3A5F !important;
  color: #F8FAFC !important;
}
footer h4 {
  color: #FFFFFF !important;
}
footer a {
  color: #CBD5E1 !important;
}
footer a:hover {
  color: #FFFFFF !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.6) !important;
}

/* ── Ticker bandeau ── */
.ticker-wrap {
  background: #1E3A5F !important;
  border-top: none !important;
  border-bottom: none !important;
}
.ticker-item {
  color: rgba(255,255,255,0.9) !important;
}
.ticker-sep {
  color: #2563EB !important;
}

/* ── Scroll-to-top ── */
#scrollTop {
  background: linear-gradient(135deg, #1E3A5F, #2563EB) !important;
  color: #FFF !important;
}

/* ── Service badges ── */
.service-badge {
  background: rgba(37,99,235,0.1) !important;
  color: #2563EB !important;
  border: 1px solid rgba(37,99,235,0.25) !important;
}

/* ── Floating devis btn ── */
#floating-devis-btn {
  background: linear-gradient(135deg, #1E3A5F, #2563EB) !important;
  color: #FFF !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4) !important;
}

/* ── Trust bar ── */
.hero-trust-bar {
  background: transparent !important;
  border-left-color: #2563EB !important;
}
.trust-item {
  color: #4A5568 !important;
}
.trust-item strong {
  color: #1E3A5F !important;
}

/* ── Section garantie cards ── */
#garantie .card h3 {
  color: #1E3A5F !important;
}

/* ── Images : pas de filtre sombre ── */
img, video {
  filter: none !important;
}

/* ── Hero badge ── */
.hero-badge {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,0.95) !important;
}

/* ── Availability badge ── */
.availability-badge.online {
  background: rgba(22,163,74,0.15) !important;
  color: #15803D !important;
  border-color: rgba(22,163,74,0.3) !important;
}
.availability-badge.offline {
  background: rgba(100,116,139,0.1) !important;
  color: #374151 !important;
}

/* ── Contact form inputs sur fond blanc ── */
.contact-form-bottom input,
.contact-form-bottom textarea,
.contact-form-bottom select {
  background: #F8FAFC !important;
  color: #111827 !important;
  border: 1.5px solid #CBD5E1 !important;
}
.contact-form-bottom input::placeholder,
.contact-form-bottom textarea::placeholder {
  color: #9CA3AF !important;
}
.contact-form-bottom {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 2px 12px rgba(30,58,95,0.07) !important;
}
.contact-form-bottom h3 {
  color: #1E3A5F !important;
}

/* ── Undo primary bg on odd sections ── */
#hero {
  background: transparent !important;
}

/* ── FAQ text colors ── */
.faq-section { background: transparent !important; }
.faq-item summary { color: #1E3A5F !important; font-weight: 600; }
.faq-answer { color: #4B5563 !important; }
.faq-item { border-bottom: 1px solid #CBD5E1 !important; }


/* ── Floating Help Button ── */
.help-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2563EB !important;
    color: #FFFFFF !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}
.help-btn:hover {
    background: #1E3A5F !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ── Fix stretched badges ── */
.badge-before, .badge-after {
    top: auto !important;
    bottom: 10px !important;
    left: 10px !important;
    padding: 6px 14px !important;
    height: auto !important;
    display: inline-block !important;
}

/* ═══════════════════════════════════════════════════════
   HERO 50/50 SPLIT DESIGN
   ═══════════════════════════════════════════════════════ */
#hero.hero-split {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    padding-top: 80px; /* Espace pour la nav */
    background: #FFFFFF !important;
}

.hero-split-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 10%;
    background: #FFFFFF;
    position: relative;
    z-index: 2;
}

.hero-split-left .hero-title {
    color: #1E3A5F !important;
    text-shadow: none !important;
    font-size: 3.5rem !important; /* Slightly smaller to fit "ENTREPRISE A.F" */
}

.hero-split-left .hero-badge {
    background: #F1F5F9 !important;
    color: #1E3A5F !important;
    border-color: #E2E8F0 !important;
    align-self: flex-start;
    margin-bottom: 2rem;
}

.hero-split-left .hero-sub {
    color: #4B5563 !important;
}

.hero-split-right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.hero-split-right .hero-slider {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-split-right .hero-slider::after {
    display: none !important;
}

@media (max-width: 992px) {
    #hero.hero-split {
        flex-direction: column;
    }
    .hero-split-left {
        padding: 6rem 5% 3rem 5%;
        min-height: 60vh;
    }
    .hero-split-right {
        min-height: 40vh;
        width: 100%;
        position: relative;
    }
}

/* ═══════════════════════════════════════════════════════
   REALISATIONS CONTAINER (AVANT / APRES)
   ═══════════════════════════════════════════════════════ */
.real-pair {
    background: #1E293B;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 1000px;
}
.real-pair-title {
    color: #F8FAFC !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    font-family: 'Bebas Neue', 'Inter', sans-serif !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}
.real-pair-images {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}
.real-img-box {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    border: 3px solid #334155;
    background: #0F172A;
}
.real-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    display: block !important;
}
.real-img-box:hover img {
    transform: scale(1.05) !important;
}
.badge-before, .badge-after {
    position: absolute !important;
    top: auto !important;
    bottom: 15px !important;
    left: 15px !important;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    font-family: 'Bebas Neue', 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    color: #fff !important;
    z-index: 2 !important;
    height: auto !important;
    display: inline-block !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4) !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
}
.badge-before { background: #dc2626 !important; }
.badge-after { background: #16a34a !important; }

@media (max-width: 768px) {
    .real-pair {
        padding: 1.5rem;
    }
    .real-pair-images {
        flex-direction: column;
    }
    .real-img-box {
        height: 250px;
    }
}

/* ═══════════════════════════════════════════════════════
   HERO FORM & SLIDER FIXES
   ═══════════════════════════════════════════════════════ */
.hero-fast-form {
    background: #F8FAFC;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.hero-fast-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.hero-fast-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}
.hero-fast-form input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
@media (max-width: 600px) {
    .hero-fast-form .form-row {
        flex-direction: column;
    }
}

.hero-split-right .hero-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-split-right .hero-slider img.active {
    opacity: 1 !important;
}

/* ── FIX HERO CLIPPING & RESPONSIVE ── */
#hero.hero-split {
    min-height: auto !important; /* Allow content to dictate height on small screens */
    padding-top: 0 !important;
}
.hero-split-left {
    justify-content: flex-start !important;
    padding-top: 140px !important; /* Clear the header securely */
    padding-bottom: 3rem !important;
    min-height: 100vh;
}
@media (max-width: 992px) {
    .hero-split-left {
        padding-top: 120px !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        min-height: auto !important;
    }
    .hero-split-right {
        min-height: 350px !important; /* Fixed height for image on mobile */
    }
}
@media (min-width: 993px) {
    .hero-split-left {
        justify-content: center !important;
    }
}

/* ─── BARRE AVIS DÉFILANTE (MARQUEE) ─── */
.reviews-marquee-section {
  position: fixed;
  top: 80px; /* nav height */
  left: 0; right: 0;
  z-index: 99;
  background: #1E3A5F !important;
  border-bottom: 2px solid #F5B800;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Dégradés masquants gauche/droite */
.reviews-marquee-section::before,
.reviews-marquee-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.reviews-marquee-section::before {
  left: 110px;
  background: linear-gradient(to right, #1E3A5F, transparent);
}
.reviews-marquee-section::after {
  right: 0;
  background: linear-gradient(to left, #1E3A5F, transparent);
}

/* Label gauche */
.reviews-marquee-label {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  background: #F5B800 !important;
  color: #111827 !important;
  gap: 0.35rem;
  min-width: 110px;
  flex-shrink: 0;
  z-index: 3;
}
.reviews-marquee-label .label-count {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: bold;
}
.reviews-marquee-label .label-stars {
  color: #111827;
  font-size: 0.55rem;
}
.reviews-marquee-label .label-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Animation défilement */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite; /* AS FAST AS SERRURERIE 77 */
  align-items: center;
  height: 32px;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Avis individuels */
.review-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(245, 184, 0, 0.3);
  white-space: nowrap;
  height: 32px;
  flex-shrink: 0;
}
.review-item .ri-stars {
  color: #F5B800 !important;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.review-item .ri-author {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #F5B800 !important;
  flex-shrink: 0;
}
.review-item .ri-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #FFFFFF !important;
}

/* Ajustements de hauteur pour compenser la barre */
#hero.hero-split {
    padding-top: 112px !important; /* nav 80px + marquee 32px */
}
.hero-split-left {
    padding-top: 155px !important; /* Clear header + marquee */
}

@media (max-width: 992px) {
    .reviews-marquee-section {
        top: 80px !important;
    }
    #hero.hero-split {
        padding-top: 112px !important;
    }
    .hero-split-left {
        padding-top: 130px !important;
    }
}

@media (max-width: 900px) {
    /* Évite la superposition du bouton d'aide avec la barre d'appel collante */
    .help-btn {
        bottom: 75px !important;
        right: 15px !important;
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }
    /* Ajoute du padding au bas du footer pour que le SIRET soit visible au-dessus de la barre d'appel mobile */
    footer {
        padding-bottom: 90px !important;
    }
}
