/* ═══════════════════════════════════════════════════════════════
   COUVREUR LE RAINCY — REDESIGN 2026 (SLATE & CYAN)
   Premium Modern Aesthetic
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Colors - Slate & Cyan */
    --bg-dark: #0F172A;
    --bg-surface: #1E293B;
    --bg-surface-glass: rgba(30, 41, 59, 0.7);
    
    --primary: #1A202C; /* Cyan 400 */
    --primary-glow: rgba(34, 211, 238, 0.3);
    --secondary: #0891B2; /* Amber 500 */
    --secondary-glow: rgba(245, 158, 11, 0.3);
    
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    
    --border: rgba(148, 163, 184, 0.1);
    --border-bright: rgba(34, 211, 238, 0.4);
    
    --glass-blur: 16px;
    --radius-s: 8px;
    --radius-m: 16px;
    --radius-l: 48px; /* Increased for premium rounded look */
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── BASE ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility: Hide skip link unless focused */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    z-index: 2000;
    font-weight: 700;
    transition: top 0.3s;
    border-radius: 0 0 10px 10px;
}

.skip-link:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: inherit;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: var(--radius);
    border: 3px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ─── UTILITIES ─── */
.glass {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
}

.cyan-glow {
    text-shadow: 0 0 20px var(--primary-glow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── HEADER & NAV ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    width: clamp(32px, 10vw, 40px);
    height: clamp(32px, 10vw, 40px);
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-glow);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--bg-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-gmaps {
    background: rgba(34, 211, 238, 0.05);
    color: #FFFFFF !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-m);
    font-size: 0.75rem !important;
    border: 1px solid rgba(34, 211, 238, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    text-align: center;
}

.nav-gmaps .stars {
    font-weight: 800;
    font-size: 0.85rem;
}

.nav-gmaps .count {
    opacity: 0.8;
    font-size: 0.7rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ─── AVAILABILITY BADGE ─── */
.availability-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.15);
}

.availability-badge .dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.availability-badge.offline .dot {
    background: #ef4444;
}

@media (max-width: 991px) {
    .availability-badge { display: none; }
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-m);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    white-space: nowrap; /* Prevent wrapping */
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(34, 211, 238, 0.05);
}

/* ─── HERO SECTION ─── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.2);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 2rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--primary);
    display: block;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-trust-bar {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-trust-bar span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── TICKER ─── */
.ticker-wrap {
    background: var(--bg-surface);
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 40s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
}

.ticker-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dim);
    white-space: nowrap;
    text-transform: uppercase;
}

.ticker-sep {
    color: var(--primary);
}

/* ─── SECTIONS ─── */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* ─── CARDS ─── */
.card {background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--anthracite-3);
    border-radius: var(--radius-l);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  box-shadow: var(--shadow-card);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px var(--primary-glow);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--primary);
    text-transform: uppercase;
}

/* ─── REALISATIONS ─── */
.real-card {
    padding: 0;
}

.real-visual {
    height: 250px;
    overflow: hidden;
}

.real-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.real-card:hover .real-visual img {
    transform: scale(1.1);
}

.real-info {
    padding: 2rem;
}

/* ─── ZONES D'INTERVENTION ─── */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.zone-card {
    background: var(--bg-surface);
    border-radius: var(--radius-m);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
}

.zone-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ─── CONTACT ─── */
.contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-block {
    background: var(--bg-surface);
    border-radius: var(--radius-m);
    padding: 2rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-block a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

/* ─── FOOTER ─── */
footer {
    background: var(--bg-dark);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
}



/* ─── SCROLL TOP ─── */
#scrollTop {
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#scrollTop.visible {
    opacity: 1;
    visibility: visible;
}

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

@media (max-width: 991px) {
    .menu-toggle { display: block; }
    .nav-links { display: none; }
    .nav-phone-btn { 
        padding: 0.4rem 0.8rem; 
        font-size: 0.85rem; 
        white-space: nowrap;
        border-radius: var(--radius-m);
    }
    .nav-phone-btn .phone-icon { display: none; }
    .nav-phone-btn .phone-text { display: inline; }
}



/* ─── FIXED ACTION STACK ─── */
.fixed-action-stack {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    z-index: 2000;
}

@media (max-width: 768px) {
    .fixed-action-stack {
        bottom: 1rem;
        right: 1rem;
        gap: 1.5rem;
    }
}

/* ─── HELP BUTTON ─── */
.help-btn {
    background: #2563EB;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-family: inherit;
}
.help-btn:hover {
    background: #1E3A5F;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .help-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* ─── GMB TICKER ─── */
.gmb-ticker-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 0.8rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}
.gmb-ticker-fixed:hover {
    transform: translateY(-3px);
}
.gmb-ticker-fixed a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}
.gmb-stars {
    color: #fbbc05;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.gmb-logo {
    width: 20px;
    height: 20px;
}
@media (max-width: 768px) {
    .gmb-ticker-fixed {
        display: none !important;
    }
}
\n
/* ─── REALISATIONS V2 (BEFORE/AFTER SIDE-BY-SIDE) ─── */
.real-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.real-pair {
  background: var(--anthracite-2, #1A2638);
  border: 1px solid var(--anthracite-3, #243042);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.real-pair-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  color: var(--accent-vif, #E1BEE7);
  margin: 0;
  text-align: center;
}

.real-pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.real-img-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  border: 2px solid var(--anthracite-3, #243042);
  box-shadow: var(--shadow-card);
}

.real-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.real-img-box:hover img {
  transform: scale(1.05);
}

.badge-before,
.badge-after {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  z-index: 2;
  letter-spacing: 1px;
}
.badge-before {
  background: #dc2626;
}
.badge-after {
  background: var(--secondary, #047857);
}

@media (max-width: 900px) {
  .real-layout-v2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .real-pair-images {
    grid-template-columns: 1fr;
  }
  .real-img-box {
    height: 180px;
  }
}


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