/* ============================================
   LC RENOVATION - Plaquiste et Peinture
   Palette : Rouge #C41E2A / Noir #1a1a1a / Blanc
   ============================================ */

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

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #C41E2A;
    --red-dark: #9B1520;
    --red-light: #E8323E;
    --red-glow: rgba(196, 30, 42, 0.25);
    --black: #1a1a1a;
    --black-soft: #2c2c2c;
    --dark: #111111;
    --gray-900: #222222;
    --gray-800: #333333;
    --gray-700: #444444;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #bbbbbb;
    --gray-200: #e0e0e0;
    --gray-100: #f0f0f0;
    --gray-50: #f7f7f8;
    --white: #ffffff;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
    --shadow-red: 0 8px 30px rgba(196, 30, 42, 0.3);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--red);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left i {
    color: var(--red);
    font-size: 0.9rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition-fast);
}

.top-bar-right a:hover {
    color: var(--red);
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 110px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.logo img {
    height: 110px;
    width: auto;
}

/* ===== LOGO ANIME SVG ===== */
.lc-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 260px;
}

.lc-icon {
    width: 170px;
    margin-bottom: 4px;
    overflow: visible;
}

.roof-left {
    animation: roofSlideLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.roof-right {
    animation: roofSlideRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.roof-wave {
    animation: waveReveal 0.9s ease 0.8s both;
}

@keyframes roofSlideLeft {
    from { opacity: 0; transform: translateX(-30px) translateY(-20px); }
    to   { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes roofSlideRight {
    from { opacity: 0; transform: translateX(30px) translateY(-20px); }
    to   { opacity: 1; transform: translateX(0) translateY(0); }
}
@keyframes waveReveal {
    from { opacity: 0; stroke-dashoffset: 300; }
    to   { opacity: 1; stroke-dashoffset: 0; }
}

.lc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    animation: titleReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
    white-space: nowrap;
}
.lc-title .lc { color: var(--red); }
.lc-title .reno { color: var(--black); position: relative; overflow: hidden; }

.lc-title .reno::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 4s ease 3s infinite;
}

@keyframes titleReveal {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%   { left: -100%; }
    40%  { left: 130%; }
    100% { left: 130%; }
}

.lc-subtitle {
    font-family: var(--font-main);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--red);
    text-transform: uppercase;
    margin-top: 2px;
    animation: subtitleReveal 0.6s ease 1.2s both;
}

@keyframes subtitleReveal {
    from { opacity: 0; letter-spacing: 0.45em; }
    to   { opacity: 1; letter-spacing: 0.22em; }
}

.lc-divider {
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    margin: 5px 0 4px;
    animation: dividerExpand 0.6s ease 1.4s both;
}

@keyframes dividerExpand {
    from { width: 0; opacity: 0; }
    to   { width: 150px; opacity: 1; }
}

.lc-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.lc-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--black);
    font-weight: 500;
    opacity: 0;
    animation: contactFadeUp 0.5s ease forwards;
}
.lc-contact-item:nth-child(1) { animation-delay: 1.6s; }
.lc-contact-item:nth-child(2) { animation-delay: 1.8s; }

.lc-contact-item .icon {
    width: 16px; height: 16px;
    background: var(--red);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lc-contact-item .icon svg {
    width: 9px; height: 9px;
    fill: white;
}

@keyframes contactFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Respiration subtile sur les toits */
.lc-logo .lc-icon {
    animation: breathe 4s ease-in-out 2.5s infinite alternate;
}
@keyframes breathe {
    from { transform: scale(1) translateY(0); }
    to   { transform: scale(1.03) translateY(-1px); }
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu a {
    padding: 26px 20px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--red);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--red);
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-left: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--red-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
    color: var(--white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--red);
    white-space: nowrap;
}

.header-phone i {
    font-size: 1.2rem;
    animation: phone-ring 2s ease infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0); }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(26, 26, 26, 0.6) 40%,
        rgba(196, 30, 42, 0.15) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
    color: var(--white);
}

.hero-logo {
    margin-bottom: 25px;
}

.hero-logo img {
    height: 100px;
    filter: brightness(0) invert(1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(196, 30, 42, 0.15);
    border: 1px solid rgba(196, 30, 42, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--red);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--red);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 400;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 35px;
}

.hero-phone i {
    width: 50px;
    height: 50px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: phone-ring 2s ease infinite;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    text-align: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-main);
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--gray-800);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-red {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline-red:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-red {
    background: var(--red);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 65px;
}

.section-header .overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-header .overline::before,
.section-header .overline::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--red);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 18px;
    line-height: 1.2;
}

.section-dark .section-header h2,
.section-red .section-header h2 {
    color: var(--white);
}

.section-header p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.6);
}

/* ===== STATS ===== */
.stats-band {
    background: var(--black);
    padding: 0;
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stat-item {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

.stat-item:hover {
    background: var(--red);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label,
.stat-item:hover i {
    color: var(--white);
}

.stat-item i {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 12px;
    transition: var(--transition);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--black);
    display: block;
    line-height: 1.1;
    transition: var(--transition);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 5px;
    font-weight: 500;
    transition: var(--transition);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-card-img .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.service-card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: var(--shadow-red);
    z-index: 1;
}

.service-card-body {
    padding: 30px;
}

.service-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card-body p {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.btn-link {
    color: var(--red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 14px;
    color: var(--red-dark);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img-float img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--red);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-red);
    z-index: 2;
}

.about-badge .number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.about-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-content .overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.about-content .overline::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--red);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 18px;
    font-size: 1rem;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0 30px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--gray-800);
}

.about-list li i {
    color: var(--red);
    font-size: 1rem;
}

/* ===== AVANT / APRES ===== */
.avant-apres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.avant-apres-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.avant-apres-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.avant-apres-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.avant-apres-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.avant-apres-label i {
    color: var(--red);
}

/* ===== CERTIFICATIONS ===== */
.certif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.certif-item {
    text-align: center;
    padding: 40px 25px;
    position: relative;
    transition: var(--transition);
}

.certif-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}

.certif-item:hover {
    background: rgba(255,255,255,0.05);
}

.certif-item i {
    font-size: 2.8rem;
    color: var(--red);
    margin-bottom: 18px;
}

.certif-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.certif-item p {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item-label {
    position: absolute;
    bottom: 18px;
    left: 18px;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-item-label i {
    color: var(--red);
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 55px;
    height: 55px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    z-index: 2;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 25px; right: 35px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 100000;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--red);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 15px;
    transition: var(--transition);
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    width: 55px; height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover { background: var(--red); }
.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    gap: 2px;
}

.testimonial-card p {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 20px; right: 25px;
    font-size: 2.5rem;
    color: rgba(196, 30, 42, 0.08);
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.author-info strong {
    display: block;
    color: var(--black);
    font-size: 0.95rem;
}

.author-info span {
    color: var(--gray-400);
    font-size: 0.82rem;
}

/* ===== ZONE D'INTERVENTION ===== */
.zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.zone-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.zone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.zone-item:hover {
    background: var(--red);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: var(--shadow-red);
}

.zone-item:hover i { color: var(--white); }

.zone-item i {
    color: var(--red);
    font-size: 1rem;
    transition: var(--transition);
}

.zone-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 420px;
}

.zone-map iframe {
    width: 100%; height: 100%;
    border: none;
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background: var(--red);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><rect fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1" width="80" height="80"/></svg>');
    background-size: 80px 80px;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
}

.cta-section .cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
}

.cta-section .btn {
    position: relative;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--red);
}

.contact-info-card .icon-box {
    width: 55px; height: 55px;
    background: rgba(196, 30, 42, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-card:hover .icon-box {
    background: var(--red);
}

.contact-info-card .icon-box i {
    font-size: 1.3rem;
    color: var(--red);
    transition: var(--transition);
}

.contact-info-card:hover .icon-box i {
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--gray-500);
    font-size: 0.92rem;
}

.contact-info-card a:hover { color: var(--red); }

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form h3 i { color: var(--red); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-800);
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 0.92rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--red-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit { text-align: right; }

/* ===== PAGE HERO (sous-pages) ===== */
.page-hero {
    position: relative;
    padding: 110px 0 65px;
    background: var(--black);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 50%, rgba(196,30,42,0.2) 100%);
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    position: relative;
    margin-bottom: 12px;
}

.page-hero .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    position: relative;
}

.page-hero .breadcrumb a { color: var(--red); }
.page-hero .breadcrumb a:hover { color: var(--red-light); }

/* ===== SERVICE DETAIL ===== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
}

.service-detail + .service-detail {
    border-top: 1px solid var(--gray-200);
}

.service-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail-img:hover img {
    transform: scale(1.05);
}

.service-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--black);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-detail-content h3 i {
    color: var(--red);
    font-size: 1.5rem;
}

.service-detail-content p {
    color: var(--gray-600);
    margin-bottom: 15px;
    font-size: 0.98rem;
}

.service-detail-content ul {
    margin-bottom: 25px;
}

.service-detail-content ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.service-detail-content ul li i {
    color: var(--red);
    font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 35px; height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.footer-about p {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    margin-bottom: 22px;
    line-height: 1.8;
}

.footer-about .footer-logo {
    margin-bottom: 18px;
}

.footer-about .footer-logo img {
    height: 70px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-red);
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--red);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--red);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--red);
    margin-top: 4px;
    font-size: 0.95rem;
}

.footer-contact li a {
    color: rgba(255,255,255,0.55);
}

.footer-contact li a:hover {
    color: var(--red);
}

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom a {
    color: var(--red);
    transition: var(--transition-fast);
}

.footer-bottom a:hover { color: var(--red-light); }

.footer-credits {
    margin-top: 5px;
    padding-top: 5px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-red);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover {
    background: var(--red-dark);
    transform: translateY(-5px);
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded { opacity: 0; visibility: hidden; }

.preloader-logo {
    height: 80px;
}

.preloader-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Legal page */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
}
.legal-content h3 {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-top: 25px;
    margin-bottom: 10px;
}
.legal-content p, .legal-content li {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 10px;
}
.legal-content ul { padding-left: 25px; list-style: disc; }
.legal-content a { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .certif-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .certif-item:nth-child(2)::after { display: none; }
    .avant-apres-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 85%; max-width: 380px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 90px 30px 30px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: var(--transition);
        align-items: stretch;
        z-index: 1000;
    }

    .nav-menu.active { right: 0; }

    .nav-menu a {
        padding: 16px 18px;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-menu a::after { display: none; }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 10px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2.2rem; }
    .hero-phone { font-size: 1.3rem; }

    .about-grid,
    .zone-grid,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
    }

    .about-badge { position: static; margin-bottom: 15px; display: inline-block; }
    .about-img-float { display: none; }

    .services-grid, .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
    .header-phone { display: none; }
    .top-bar { display: none; }
    .page-hero h1 { font-size: 2rem; }
    .about-list { grid-template-columns: 1fr; }
    .zone-list { grid-template-columns: 1fr; }
    .stats-band { margin-top: -30px; }

    .section { padding: 70px 0; }
    .section-header h2 { font-size: 2rem; }
    .section-header { margin-bottom: 45px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-phone { font-size: 1.1rem; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .stat-number { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
    .stat-item { padding: 25px 15px; }
    .certif-grid { grid-template-columns: 1fr; }
    .certif-item::after { display: none; }
}
