/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Variables */
:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f0f9ff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--text-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.btn--primary {
    background-color: var(--primary-color);
    color: white;
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav__logo i {
    font-size: 1.75rem;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin-right: 2rem;
}

.nav__link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav__phone:hover {
    color: var(--primary-color);
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.nav__toggle:hover,
.nav__close:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__content {
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.hero__feature i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Form Container */
.hero__form-container {
    position: relative;
    z-index: 3;
}

/* Devis Simple - Version B2B Professionnelle */
.devis-simple {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.devis-simple__header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.devis-simple__header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.devis-simple__header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.875rem;
}

/* Devis Simple Form */
.devis-simple__form {
    padding: 2rem;
}

.btn--full {
    width: 100%;
}

/* Garanties Simples */
.devis-simple__guarantees {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.guarantee i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Form Steps */
.devis-express__form {
    padding: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInRight 0.3s ease-out;
}

.form-step h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Service Selector */
.service-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-option {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-align: center;
}

.service-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-accent);
}

.service-option.selected {
    border-color: var(--primary-color);
    background: var(--bg-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.service-option i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-option span {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Progress Bar */
.progress-bar {
    position: relative;
    margin: 2rem 0 1rem;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 33.33%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.progress-step.active {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed {
    background: var(--accent-color);
    color: white;
}

/* Form Buttons */
.btn--next, .btn--prev {
    min-width: 120px;
}

.btn--submit {
    width: 100%;
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    position: relative;
    overflow: hidden;
}

.btn--submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn--submit:hover::before {
    left: 100%;
}

/* Guarantees */
.devis-express__guarantees {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.guarantee i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Live Counter */
.live-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.live-counter__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-counter__item i {
    color: var(--primary-color);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service__card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service__card--featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
}

.service__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service__features {
    list-style: none;
    text-align: left;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-primary);
}

.service__features i {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.services__cta {
    text-align: center;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
}

.about__feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about__feature-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.about__feature-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.about__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial__rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial__rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial__text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial__info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.testimonial__info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    box-shadow: var(--shadow-md);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq__question:hover {
    background-color: var(--bg-accent);
}

.faq__question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq__question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__question i {
    transform: rotate(180deg);
}

.faq__answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq__answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact__info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact__detail i {
    width: 20px;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.contact__detail h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact__detail p {
    color: var(--text-secondary);
    margin: 0;
}

.contact__detail a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact__detail a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact__form {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form__group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    transition: var(--transition);
    background-color: var(--bg-primary);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__logo i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.footer__section p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__phone,
.footer__email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer__phone:hover,
.footer__email:hover {
    color: var(--primary-color);
}

.footer__section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__legal a:hover {
    color: var(--primary-color);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-widget__button {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.chat-widget__button:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.chat-widget__notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.chat-widget__window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.chat-widget__window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.chat-widget__header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.chat-widget__close {
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget__body {
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.chat-widget__message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.chat-widget__avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.chat-widget__text {
    background-color: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.chat-widget__actions {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-widget__quick-action {
    padding: 0.75rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.chat-widget__quick-action:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero__container,
    .about__content,
    .contact__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__image {
        order: -1;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .section__title {
        font-size: 2.25rem;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
        margin-right: 0;
    }
    
    .nav__close,
    .nav__toggle {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .nav__actions {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero__form-container {
        order: -1;
    }
    
    .hero__title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero__description {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    /* Devis Simple Mobile */
    .devis-simple__form {
        padding: 1.5rem;
    }
    
    .devis-simple__header {
        padding: 1rem;
    }
    
    .devis-simple__header h3 {
        font-size: 1.125rem;
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .devis-simple__guarantees {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .guarantee {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .chat-widget__window {
        width: 300px;
        right: -25px;
    }
    
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        left: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .hero__actions .btn {
        font-size: 0.875rem;
        padding: 0.875rem 1.5rem;
    }
    
    .service__card,
    .testimonial__card {
        padding: 1.5rem;
    }
    
    .contact__form {
        padding: 1.5rem;
    }
    
    .chat-widget__window {
        width: calc(100vw - 2rem);
        right: -1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States for Accessibility */
.btn:focus,
.nav__link:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .chat-widget,
    .back-to-top {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section__title {
        color: black;
    }
    
    .btn {
        border: 1px solid black;
        color: black;
        background: white;
    }
}
