/* ==========================================================
   Eco-Start — feuille de style (reprise du style d'origine)
   ========================================================== */
:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f9fbfd;
    --accent-blue: #3498db;
    --accent-orange: #e67e22;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; }

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-primary { background-color: var(--primary-green); color: white; border: 2px solid var(--primary-green); }
.btn-primary:hover { background-color: transparent; color: var(--primary-green); }
.btn-outline { background-color: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background-color: white; color: var(--text-dark); }
.btn-outline-green { background-color: transparent; color: var(--primary-green); border: 2px solid var(--primary-green); }
.btn-outline-green:hover { background-color: var(--primary-green); color: white; }

.section-padding { padding: 80px 0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-green);
    border-radius: 2px;
}
.section-title.left { text-align: left; }
.section-title.left h2::after { left: 0; transform: none; }
.section-title p { margin-top: 15px; color: #7f8c8d; font-size: 1.1rem; }

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95);
}
header.scrolled { box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); }
header.scrolled .navbar { padding: 10px 0; }

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    width: 0%;
    transition: width 0.1s linear;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: padding 0.4s ease;
}

.logo {
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.logo img { height: 56px; width: auto; vertical-align: middle; }
.logo span { color: var(--primary-green); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links li a {
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-dark);
    position: relative;
}
.nav-links li a.btn { color: white; }
.nav-links li a.btn:hover { color: var(--primary-green); }
.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}
.nav-links li a:not(.btn):hover::after,
.nav-links li a.active::after { width: 100%; }
.nav-links li a.active { color: var(--dark-green); }

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--text-dark); }

/* --- Hero (accueil) --- */
#hero {
    min-height: 100vh;
    background-color: white;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    height: 100%;
}
.hero-text { flex: 1; text-align: left; max-width: 620px; z-index: 2; }
.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p { font-size: 1.2rem; margin-bottom: 35px; color: #555; line-height: 1.8; }
.hero-buttons { display: flex; gap: 20px; justify-content: flex-start; flex-wrap: wrap; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-image img { width: 100%; max-width: 560px; height: auto; animation: float 6s ease-in-out infinite; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Deux portes d'entrée Particulier / Pro */
.hero-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 10px; }
.door {
    display: flex;
    align-items: center;
    gap: 14px;
    background: white;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.door:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.door .door-icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; flex-shrink: 0;
}
.door.particulier { border-top: 4px solid var(--accent-blue); }
.door.particulier .door-icon { color: var(--accent-blue); background: rgba(52, 152, 219, 0.1); }
.door.pro { border-top: 4px solid var(--accent-orange); }
.door.pro .door-icon { color: var(--accent-orange); background: rgba(230, 126, 34, 0.1); }
.door strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 1rem; }
.door small { color: #7f8c8d; font-size: 0.88rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 25px; color: #555; font-size: 0.95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges i { color: var(--primary-green); }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 2;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.mouse { width: 30px; height: 50px; border: 2px solid var(--primary-green); border-radius: 20px; position: relative; }
.wheel {
    width: 4px; height: 8px;
    background-color: var(--primary-green);
    border-radius: 2px;
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}
@keyframes scroll-wheel {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* --- Hero des pages intérieures --- */
.page-hero {
    padding: 150px 0 70px;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}
.page-hero .hero-container { align-items: center; }
.page-hero h1 { font-size: 2.8rem; }
.page-hero .hero-image img { max-width: 440px; }
.page-hero.particuliers-theme .hero-text h1 { background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-blue) 100%); -webkit-background-clip: text; background-clip: text; }
.page-hero.pros-theme .hero-text h1 { background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-orange) 100%); -webkit-background-clip: text; background-clip: text; }

.breadcrumb { font-size: 0.9rem; color: #7f8c8d; margin-bottom: 20px; }
.breadcrumb a { color: var(--dark-green); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

.tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.tag.blue { color: var(--accent-blue); background: rgba(52, 152, 219, 0.1); }
.tag.orange { color: var(--accent-orange); background: rgba(230, 126, 34, 0.1); }
.tag.green { color: var(--dark-green); background: rgba(46, 204, 113, 0.12); }

/* --- About --- */
#about {
    background-color: white;
    background-image: url('../img/energy-bg.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { border-radius: 10px; overflow: hidden; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.about-img img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.about-img:hover img { transform: scale(1.03); }
.about-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary-green); }
.about-text p { margin-bottom: 20px; color: #555; }

/* --- Solutions --- */
#solutions { background-color: var(--bg-light); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.solution-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid transparent;
    display: flex;
    flex-direction: column;
}
.solution-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.solution-card.particuliers { border-top-color: var(--accent-blue); }
.solution-card.professionnels { border-top-color: var(--accent-orange); }
.icon-wrapper {
    width: 70px; height: 70px;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary-green);
}
.particuliers .icon-wrapper { color: var(--accent-blue); background-color: rgba(52, 152, 219, 0.1); }
.professionnels .icon-wrapper { color: var(--accent-orange); background-color: rgba(230, 126, 34, 0.1); }
.solution-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.solution-card .card-link { font-weight: 600; margin-top: auto; padding-top: 20px; display: inline-block; }
.particuliers .card-link { color: var(--accent-blue); }
.professionnels .card-link { color: var(--accent-orange); }
.card-link i { transition: transform 0.3s ease; }
.card-link:hover i { transform: translateX(5px); }

.solution-list { margin-top: 20px; }
.solution-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.solution-list li i { color: var(--primary-green); font-size: 0.9rem; }

/* --- Process --- */
#process { background-color: white; }
.process-steps { display: flex; justify-content: space-between; position: relative; flex-wrap: wrap; padding-top: 30px; }
.process-steps::before {
    content: '';
    position: absolute;
    top: 75px; left: 50px; right: 50px;
    height: 2px;
    background-color: #eee;
    z-index: 0;
}
.step-item { flex: 1; text-align: center; position: relative; z-index: 1; min-width: 200px; margin-bottom: 30px; }
.step-number {
    width: 90px; height: 90px;
    background-color: white;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}
.step-item:hover .step-number { background-color: var(--primary-green); color: white; transform: scale(1.1); }
.step-icon { font-size: 2.2rem; }
.step-item h3, .step-item h4 { margin-bottom: 10px; font-size: 1.15rem; }
.step-item p { font-size: 0.92rem; color: #777; padding: 0 15px; }

/* --- Objectives --- */
#objectives {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: white;
    text-align: center;
}
#objectives .section-title h2 { color: white; }
#objectives .section-title h2::after { background-color: white; }
.objectives-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.objective-item { display: flex; flex-direction: column; align-items: center; max-width: 200px; }
.objective-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.objective-item p { font-weight: 600; }

/* --- Contenu éditorial (pages produits) --- */
.content-section { background: white; }
.content-section.alt { background: var(--bg-light); }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 2rem; margin-bottom: 20px; }
.prose h3 { font-size: 1.3rem; margin: 30px 0 12px; color: var(--dark-green); }
.prose p { margin-bottom: 16px; color: #555; font-size: 1.05rem; }
.prose ul.checks { margin: 10px 0 20px; }
.prose ul.checks li { display: flex; gap: 12px; margin-bottom: 10px; color: #555; }
.prose ul.checks li i { color: var(--primary-green); margin-top: 5px; }
.prose a { color: var(--dark-green); font-weight: 600; text-decoration: underline; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.feature {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
.feature .icon-wrapper { width: 60px; height: 60px; font-size: 1.5rem; margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: #666; font-size: 0.95rem; }
.feature.blue .icon-wrapper { color: var(--accent-blue); background: rgba(52, 152, 219, 0.1); }
.feature.orange .icon-wrapper { color: var(--accent-orange); background: rgba(230, 126, 34, 0.1); }

.info-box {
    background: #dff1e7;
    border-left: 5px solid var(--primary-green);
    border-radius: 10px;
    padding: 22px 26px;
    margin: 25px 0;
    color: var(--text-dark);
}
.info-box p { margin: 0; color: var(--text-dark); }
.info-box strong { color: var(--dark-green); }

.cta-band {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: white;
    border-radius: 20px;
    padding: 45px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.25);
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 8px; }
.cta-band p { opacity: 0.95; }
.cta-band .btn-outline:hover { color: var(--dark-green); }

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* --- FAQ --- */
#faq { background-color: white; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: inherit;
    transition: color 0.3s ease;
}
.q-wrapper { display: flex; align-items: flex-start; gap: 15px; flex: 1; padding-right: 15px; }
.q-icon { font-size: 1.4rem; line-height: 1.2; flex-shrink: 0; }
.faq-question:hover { color: var(--primary-green); }
.faq-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background-color: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.faq-item.active .faq-question { color: var(--primary-green); }
.faq-item.active .faq-icon { background-color: var(--primary-green); color: white; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background-color: #fafafa; }
.answer-content { padding: 0 20px 20px; color: #555; line-height: 1.7; }

/* --- Contact --- */
#contact { background-color: var(--bg-light); }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #dff1e7;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}
.contact-info h3 { margin-bottom: 20px; font-size: 1.8rem; }
.contact-info p { color: #555; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.info-item i { color: var(--primary-green); font-size: 1.2rem; width: 22px; text-align: center; }
.info-item a:hover { color: var(--dark-green); }

/* --- Formulaire multi-étapes --- */
.multistep-form-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.form-progress { height: 4px; background-color: #f1f1f1; border-radius: 2px; margin-bottom: 30px; overflow: hidden; }
.progress-bar { height: 100%; background-color: var(--primary-green); width: 25%; transition: width 0.4s ease; }
.form-step { display: none; opacity: 0; transform: translateX(20px); transition: all 0.4s ease; }
.form-step.active { display: block; opacity: 1; transform: translateX(0); animation: fadeInSlide 0.5s forwards; }
@keyframes fadeInSlide { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.form-step h4 { margin-bottom: 25px; font-size: 1.4rem; color: var(--text-dark); text-align: center; }

.user-type-selection { display: flex; gap: 20px; justify-content: center; margin-top: 30px; }
.type-btn {
    flex: 1;
    background: #f9fbfd;
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    outline: none;
    font-family: inherit;
}
.type-btn:hover, .type-btn.active {
    border-color: var(--primary-green);
    background: rgba(46, 204, 113, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.type-btn .icon-box { font-size: 2.5rem; color: #ccc; transition: color 0.3s; }
.type-btn:hover .icon-box, .type-btn.active .icon-box { color: var(--primary-green); }
.type-btn span { font-weight: 600; color: var(--text-dark); font-size: 1rem; }

.form-grid { display: grid; gap: 20px; }
.form-group.floating { position: relative; margin-bottom: 15px; }
.form-group.floating input, .form-group.floating textarea {
    width: 100%;
    padding: 15px 15px 5px;
    height: 55px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
    font-family: inherit;
}
.form-group.floating textarea { height: 120px; padding-top: 25px; resize: vertical; }
.form-group.floating label {
    position: absolute;
    top: 50%; left: 15px;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 5px;
}
.form-group.floating textarea + label { top: 25px; }
.form-group.floating input:focus, .form-group.floating input:not(:placeholder-shown),
.form-group.floating textarea:focus, .form-group.floating textarea:not(:placeholder-shown) { border-color: var(--primary-green); }
.form-group.floating input:focus + label, .form-group.floating input:not(:placeholder-shown) + label,
.form-group.floating textarea:focus + label, .form-group.floating textarea:not(:placeholder-shown) + label {
    top: -2px;
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 600;
}
.checkbox-group { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; text-align: left; margin-top: 10px; }
.checkbox-group input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary-green); cursor: pointer; flex-shrink: 0; margin: 0; }
.checkbox-group label { font-size: 0.92rem; color: #555; cursor: pointer; line-height: 1.4; }
.checkbox-group label a { color: var(--dark-green); text-decoration: underline; }
.checkbox-group.error label { color: #e74c3c; }
.checkbox-group.error input[type="checkbox"] { outline: 2px solid #e74c3c; }
.error-msg { color: #e74c3c; font-size: 0.8rem; margin-top: 5px; display: none; }
.form-group.error input { border-color: #e74c3c !important; }
.form-group.error .error-msg { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.step-nav { display: flex; justify-content: space-between; margin-top: 30px; align-items: center; }
.btn-prev { background: none; border: none; color: #999; font-weight: 600; cursor: pointer; transition: color 0.3s; font-family: inherit; font-size: 0.95rem; }
.btn-prev:hover { color: var(--text-dark); }
.btn-next[disabled] { opacity: 0.6; cursor: not-allowed; background-color: #ccc; border-color: #ccc; }
.btn-submit { position: relative; }

.success-message { display: none; text-align: center; padding: 40px 20px; }
.success-message.active { display: block; animation: fadeIn 0.5s; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 20px; }
.checkmark__circle {
    stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10;
    stroke: var(--primary-green); fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48; stroke-dashoffset: 48;
    stroke: var(--primary-green); stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}
@keyframes stroke { 100% { stroke-dashoffset: 0; } }

.spinner {
    display: none;
    width: 20px; height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    right: 20px; top: 50%;
    margin-top: -10px;
}
.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading span { margin-right: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- Pages légales --- */
.legal-page { padding: 150px 0 80px; background: var(--bg-light); }
.legal-card {
    max-width: 860px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.legal-card h1 { font-size: 2.2rem; margin-bottom: 10px; color: var(--text-dark); }
.legal-card .updated { color: #7f8c8d; margin-bottom: 30px; font-size: 0.92rem; }
.legal-card h2 { color: var(--primary-green); font-size: 1.3rem; margin: 30px 0 12px; }
.legal-card p, .legal-card li { color: #444; margin-bottom: 10px; font-size: 0.98rem; }
.legal-card ul { list-style: disc; padding-left: 22px; margin-bottom: 15px; }
.legal-card a { color: var(--dark-green); text-decoration: underline; }

/* --- Footer --- */
footer { background-color: #2c3e50; color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; text-align: left; }
.footer-logo { font-family: 'Montserrat', sans-serif; font-weight: 800; margin-bottom: 15px; display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.footer-logo img { height: 60px; width: auto; background: white; border-radius: 10px; padding: 6px; }
.footer-col p { color: #bdc3c7; font-size: 0.95rem; }
.footer-col h3 { font-size: 1rem; margin-bottom: 16px; color: white; letter-spacing: 0.5px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #bdc3c7; font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary-green); }
.footer-col i { color: var(--primary-green); width: 18px; margin-right: 6px; }
.france-renov { font-size: 0.85rem; color: #95a5a6; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; margin-bottom: 15px; text-align: center; }
.france-renov a { color: #bdc3c7; text-decoration: underline; }
.footer-legal-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 15px; flex-wrap: wrap; }
.footer-legal-links a { color: #bdc3c7; font-size: 0.9rem; }
.footer-legal-links a:hover { color: var(--primary-green); text-decoration: underline; }
.copyright { font-size: 0.85rem; color: #95a5a6; text-align: center; }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background-color: white;
    color: var(--primary-green);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: var(--primary-green); color: white; transform: translateY(-5px); box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4); }

/* --- Responsive --- */
@media (max-width: 991px) {
    .hero-container { flex-direction: column; text-align: center; padding-top: 20px; gap: 40px; }
    .hero-text { text-align: center; padding: 0; max-width: 100%; }
    .hero-buttons, .hero-badges { justify-content: center; }
    .hero-text h1 { font-size: 2.4rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .hero-image { width: 100%; }
    .hero-image img { max-width: 420px; }
    .door { text-align: left; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
    .about-grid, .contact-container, .compare-grid { grid-template-columns: 1fr; }
    .process-steps::before { display: none; }
    .step-item { flex: 0 0 45%; }
}
@media (max-width: 860px) {
    .navbar { padding: 15px 0; }
    .mobile-menu-btn { display: block; margin-left: auto; }
    .nav-links {
        position: fixed;
        top: 86px;
        right: -100%;
        background-color: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: 0.4s ease;
        padding: 20px 0;
    }
    .nav-links.active { right: 0; }
    .logo img { height: 48px; }
}
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 2rem; }
    .step-item { flex: 0 0 100%; }
    .contact-container { padding: 30px; }
    .hero-doors { grid-template-columns: 1fr; }
    .legal-card { padding: 30px 22px; }
    .cta-band { padding: 35px 25px; text-align: center; justify-content: center; }
    #about { background-attachment: scroll; }
}
@media (max-width: 576px) {
    .multistep-form-wrapper { padding: 30px 20px; }
    .user-type-selection { flex-direction: column; }
    .type-btn { flex-direction: row; justify-content: center; padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.1rem; }
}

/* --- Grille des solutions professionnelles --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card {
    background: white;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-orange);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.product-card .icon-wrapper { color: var(--accent-orange); background: rgba(230, 126, 34, 0.1); width: 64px; height: 64px; font-size: 1.6rem; margin-bottom: 20px; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.3; }
.product-card p { color: #666; font-size: 0.95rem; flex: 1; }
.product-card .card-link { color: var(--accent-orange); font-weight: 600; margin-top: 18px; }
.solution-list li a { color: inherit; border-bottom: 1px dotted rgba(44, 62, 80, 0.3); }
.solution-list li a:hover { color: var(--accent-orange); }
.legal-card ul ul { margin-top: 8px; }

/* --- Photos produits --- */
.hero-photo img {
    width: 100%;
    max-width: 580px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(44, 62, 80, 0.18);
    animation: none;
}
.product-card { overflow: hidden; }
.product-card .card-img {
    display: block;
    width: calc(100% + 60px);
    max-width: none;
    height: 190px;
    object-fit: cover;
    margin: -35px -30px 0;
    transition: transform 0.5s ease;
}
.product-card:hover .card-img { transform: scale(1.04); }
.product-card .icon-wrapper { margin-top: -32px; position: relative; z-index: 1; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1); }

/* --- Tuiles produits (style compact) --- */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.product-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 16px 16px 40px 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.product-tile .tile-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 12px 16px;
    min-height: 58px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.95) 0%, rgba(46, 204, 113, 0.92) 100%);
    color: white;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
}
.product-tile:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14); }
.product-tile:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } .product-tile { aspect-ratio: 16 / 10; } }
