
/* ═══════════════════════════════════════════════════════
   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;
    }
}


/* ─── RESPONSIVE NAV FIX (auto-applied) ─── */
@media (max-width: 991px) {
    .nav-links { display: none !important; }
    .nav-phone-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 8px;
    }
    .nav-phone-btn .phone-icon { display: none; }
    .nav-phone-btn .phone-text { display: inline; }
}
@media (max-width: 768px) {
    .gmb-ticker-fixed { display: none !important; }
    .operator-widget { display: none !important; }
    .fixed-action-stack { gap: 1.5rem !important; }
}

/* ══ SITE-SPECIFIC DESIGN THEME ══ */
/* ══════════════════════════════════════════════════════════
   THÈME DESIGN : LE RAINCY — "Épuré & Technique"
   Typographie : Outfit (déjà chargé)
   Radius : faibles (look carré-moderne)
   Shadow : présentes, diffuses
   Style : lignes nettes, accent néon cyan
   ══════════════════════════════════════════════════════════ */
:root {
    --theme-radius-card: 6px;
    --theme-radius-btn: 4px;
    --theme-shadow-card: 0 2px 12px rgba(0,0,0,0.18);
    --theme-shadow-btn: 0 2px 8px rgba(34,211,238,0.25);
    --theme-font-heading: 'Outfit', sans-serif;
    --theme-font-body: 'Inter', sans-serif;
    --theme-letter-spacing: 0.08em;
}
body { font-family: var(--theme-font-body); }
h1, h2, h3, .section-title, .hero-title { 
    font-family: var(--theme-font-heading);
    letter-spacing: var(--theme-letter-spacing);
}
.card { 
    border-radius: var(--theme-radius-card) !important; 
    box-shadow: var(--theme-shadow-card) !important;
    border-left: 3px solid var(--primary);
}
.btn { border-radius: var(--theme-radius-btn) !important; }
.section-line { width: 40px; height: 3px; background: var(--primary); }
.zone-card { border-radius: var(--theme-radius-card) !important; border: 1px solid var(--border); }
nav { border-bottom: 2px solid var(--primary) !important; }
