/* Variables */
:root {
    --primary-red: #DC143C;
    --dark-red: #8B0000;
    --black: #1a1a1a;
    --gray: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background: var(--black);
}

.navbar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
}

.logo-j {
    color: var(--primary-red);
    font-size: 2.2rem;
}

.logo-amp {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a.nav-devis {
    background: var(--primary-red);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.nav-links a.nav-devis::after {
    display: none;
}

.nav-links a.nav-devis:hover {
    background: #b31139;
    color: var(--white);
    transform: scale(1.05);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23333" width="1200" height="600"/><path fill="%23444" d="M0 400 L300 350 L600 380 L900 340 L1200 370 L1200 600 L0 600 Z"/><polygon fill="%238B0000" opacity="0.3" points="600,100 700,200 500,200"/></svg>');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-red);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s both;
    font-weight: 300;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary-red);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

/* Prestations Section */
.prestations {
    padding: 6rem 0;
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-highlight {
    border: 2px solid var(--primary-red);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-details {
    list-style: none;
}

.service-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
    color: var(--white);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.gallery-overlay p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.about-text h2 span {
    color: var(--primary-red);
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature h4 {
    font-size: 1.3rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--gray);
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.about-image svg {
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--gray);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* Devis Section */
.devis-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.devis-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem auto 0 auto;
    max-width: 900px;
    width: calc(100% - 2rem);
    padding: 0 1rem;
}

.devis-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
}

.devis-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
}

.devis-form button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.2rem 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.devis-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.2);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b31139 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.info-icon svg {
    width: 30px;
    height: 30px;
}

.info-card h4 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

#devisMessage {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

#devisMessage.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#devisMessage.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-red);
}

.footer-section h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .devis-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .devis-form {
        order: 2;
    }

    .devis-info {
        order: 1;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--black);
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        z-index: 1000;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .devis-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .devis-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .info-card {
        padding: 1.5rem;
        min-width: auto;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon svg {
        width: 24px;
        height: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .devis-form input,
    .devis-form select,
    .devis-form textarea {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-form,
    .devis-form {
        padding: 1.5rem;
        margin: 0;
    }

    .devis-content {
        padding: 0 0.5rem;
        margin: 2rem auto 0 auto;
        width: calc(100% - 1rem);
    }

    .devis-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .devis-section {
        padding: 4rem 0;
    }

    .info-card {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .devis-form input,
    .devis-form select,
    .devis-form textarea,
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.75rem;
        font-size: 16px;
    }

    .devis-form button[type="submit"] {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-card h4 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.85rem;
    }
}

/* ========================================
   PAGES SERVICES & INTÉRIEURES
   ======================================== */

/* Hero pages intérieures */
.service-hero,
.page-hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(51,51,51,0.9) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
}

.page-hero {
    min-height: 40vh;
}

.service-hero .hero-content,
.page-hero .hero-content {
    text-align: center;
}

.service-hero h1,
.page-hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-hero h1 span,
.page-hero h1 span {
    color: var(--primary-red);
}

.service-hero p,
.page-hero p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Contenu pages services */
.service-content {
    padding: 5rem 0;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.service-content h2 span {
    color: var(--primary-red);
}

.service-content > .container > div {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}

/* Cartes prestations dans les pages services */
.prestation-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
}

.prestation-card h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.prestation-card p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.prestations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Liste avantages */
.avantages-list {
    list-style: none;
    padding: 0;
}

.avantages-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avantages-list li:last-child {
    border-bottom: none;
}

.avantages-list .check {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Étapes numérotées */
.etapes-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.etape-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-red);
    display: flex;
    gap: 1rem;
}

.etape-numero {
    background: var(--primary-red);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.etape-card h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.etape-card p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

/* Sidebar pages services */
.service-sidebar {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
    position: sticky;
    top: 120px;
}

.service-sidebar h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.service-sidebar p {
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1rem;
}

.service-sidebar .btn {
    display: block;
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar-contact {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
}

.sidebar-contact p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.sidebar-contact strong {
    color: #fff;
}

.sidebar-contact a {
    color: var(--primary-red);
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
}

.sidebar-zone {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(220,20,60,0.1);
    border-radius: 8px;
    border: 1px solid rgba(220,20,60,0.3);
}

.sidebar-zone p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

.sidebar-zone strong {
    color: var(--primary-red);
}

/* CTA Section */
.cta-section {
    background: var(--primary-red);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn-white {
    background: #fff;
    color: var(--primary-red);
    padding: 1rem 2.5rem;
    font-weight: bold;
}

.cta-section .btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* Info box */
.info-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #bae6fd;
}

.info-box h4 {
    color: #0369a1;
    margin-bottom: 1rem;
}

.info-box p {
    margin: 0;
    color: #0c4a6e;
    font-size: 1rem;
}

/* Badge nouveau */
.badge-nouveau {
    background: var(--primary-red);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Lien "En savoir plus" */
.link-more {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    text-decoration: none;
}

.link-more:hover {
    text-decoration: underline;
}

/* ========================================
   PAGE CONTACT & DEVIS (autonomes)
   ======================================== */

.page-contact-content,
.page-devis-content {
    display: grid;
    gap: 4rem;
    align-items: start;
}

.page-contact-content {
    grid-template-columns: 1fr 1.5fr;
}

.page-devis-content {
    grid-template-columns: 1.5fr 1fr;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.contact-card .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.contact-card h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #666;
    margin: 0;
}

.contact-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: bold;
}

.horaires-card {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
}

.horaires-card h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.horaires-card p {
    margin: 0;
    color: #ccc;
}

.horaires-card strong {
    color: #fff;
}

/* Form styles pages autonomes */
.form-page {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.form-page h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.form-page h2 span {
    color: var(--primary-red);
}

.form-page label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
}

.form-page input,
.form-page select,
.form-page textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-page input:focus,
.form-page select:focus,
.form-page textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-page .btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a00f2e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.form-page .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

/* Sidebar devis */
.devis-sidebar-card {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 2rem;
}

.devis-sidebar-card h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.devis-avantage {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.devis-avantage .icon {
    width: 40px;
    height: 40px;
    background: rgba(220,20,60,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.devis-avantage .icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-red);
}

.devis-avantage h4 {
    margin-bottom: 0.3rem;
    color: #fff;
}

.devis-avantage p {
    color: #ccc;
    margin: 0;
    font-size: 0.95rem;
}

.phone-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.phone-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
}

.phone-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.phone-card .btn-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-red);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.phone-card .btn-phone:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.phone-card .btn-phone svg {
    width: 20px;
    height: 20px;
}

.tarifs-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(220, 20, 60, 0.05));
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
}

.tarifs-box h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.tarifs-box p {
    margin: 0.5rem 0;
    color: #334155;
    line-height: 1.6;
}

/* Navigation dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--black);
    min-width: 200px;
    padding: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(220,20,60,0.2);
    color: var(--primary-red);
}

.dropdown-menu a::after {
    display: none;
}

/* Logo cliquable */
a.logo {
    text-decoration: none;
}

/* Service card cliquable */
a.service-card {
    text-decoration: none;
    color: inherit;
}

.service-card .link-more {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* CTA accueil */
.cta-accueil {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a00f2e 100%);
    padding: 4rem 0;
    text-align: center;
}

.cta-accueil h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-accueil p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-accueil .btn-white {
    background: #fff;
    color: var(--primary-red);
    padding: 1rem 2.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

/* About info box */
.about-info-box {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(220, 20, 60, 0.05));
    border-left: 4px solid var(--primary-red);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.about-info-box h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-info-box p {
    margin: 0.5rem 0;
    color: #334155;
    line-height: 1.6;
}

/* Section réalisations accueil */
.realisations-preview {
    background: #f8fafc;
    padding: 5rem 0;
}

.realisations-preview .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.realisations-preview .gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.realisations-preview .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.realisations-preview .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem 1rem 1rem;
}

.realisations-preview .gallery-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
}

/* Contact accueil */
.contact-accueil {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-accueil .contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-accueil .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-accueil .contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.contact-box {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    border-radius: 12px;
}

.contact-box h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-box p {
    color: #ccc;
    margin-bottom: 2rem;
}

/* About image */
.about-image .image-placeholder {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image .image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery empty state */
.gallery-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem;
}

.gallery-empty svg {
    width: 60px;
    height: 60px;
    stroke: #ccc;
    margin-bottom: 1rem;
}

.gallery-empty h3 {
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.gallery-empty p {
    color: #666;
}

@media (max-width: 968px) {
    .contact-accueil {
        grid-template-columns: 1fr;
    }
}

/* Responsive pages services */
@media (max-width: 968px) {
    .service-content > .container > div,
    .page-contact-content,
    .page-devis-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-sidebar {
        position: static;
    }

    .service-hero h1,
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .prestations-grid {
        grid-template-columns: 1fr;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
    }
}

@media (max-width: 480px) {
    .service-hero,
    .page-hero {
        min-height: 50vh;
        padding-top: 80px;
    }

    .service-hero h1,
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .service-hero p,
    .page-hero p {
        font-size: 1rem;
    }

    .service-content {
        padding: 3rem 0;
    }

    .service-content h2 {
        font-size: 1.5rem;
    }

    .service-sidebar,
    .devis-sidebar-card,
    .form-page {
        padding: 1.5rem;
    }
}

/* ========================================
   PAGE AVIS
   ======================================== */

.avis-section {
    padding: 5rem 0;
}

/* Stats avis */
.avis-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--black) 0%, var(--gray) 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-number span {
    font-size: 1.5rem;
    color: #ccc;
}

.stat-stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    margin: 0;
    color: #ccc;
}

/* Grille avis */
.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.avis-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: var(--transition);
}

.avis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.avis-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.avis-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a00f2e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.avis-info {
    flex: 1;
}

.avis-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--black);
}

.avis-date {
    font-size: 0.85rem;
    color: #888;
}

.avis-stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.avis-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.avis-service {
    display: inline-block;
    background: rgba(220, 20, 60, 0.1);
    color: var(--primary-red);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTA Avis */
.avis-cta {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.avis-cta h2 {
    margin-bottom: 1rem;
    color: var(--black);
}

.avis-cta p {
    color: #666;
    margin-bottom: 2rem;
}

.avis-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 968px) {
    .avis-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .avis-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .avis-card {
        padding: 1.5rem;
    }

    .avis-cta {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Formulaire Avis */
.avis-form-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
    text-align: center;
}

.avis-form-section h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.avis-form-section > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.avis-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.avis-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.avis-form .form-group {
    margin-bottom: 0;
}

.avis-form label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.avis-form input,
.avis-form select,
.avis-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.avis-form input:focus,
.avis-form select:focus,
.avis-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.1);
}

.avis-form input::placeholder,
.avis-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.avis-form select option {
    background: #1a1a1a;
    color: var(--white);
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
}

.star-rating .star {
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.star-rating .star.hover {
    color: #ffc107;
}

.avis-form .btn-submit {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#avisMessage {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: none;
}

#avisMessage.success {
    display: block;
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

#avisMessage.error {
    display: block;
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

@media (max-width: 768px) {
    .avis-form .form-row {
        grid-template-columns: 1fr;
    }

    .avis-form-section {
        padding: 2rem 1.5rem;
    }
}