@font-face {
    font-family: 'LeagueGothic';
    src: url('../assets/fonts/leaguegothic-regular-webfont.eot');
    src: url('../assets/fonts/leaguegothic-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/leaguegothic-regular-webfont.woff') format('woff'),
         url('../assets/fonts/leaguegothic-regular-webfont.ttf') format('truetype'),
         url('../assets/fonts/leaguegothic-regular-webfont.svg#LeagueGothic') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from original site */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-aides: #afdac7;
    --color-isolation: #9d93c6;
    --color-chauffage: #f7d25f;
    --color-fenetres: #10bee1;

    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== BLOCKS CONTAINER ==================== */
.blocks-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* ==================== INDIVIDUAL BLOCKS ==================== */
.block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: calc(100vh / 6);
    padding: 30px 40px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block:not(.block-logo):hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Block Colors */
.block-logo {
    background: var(--color-white);
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.block-fenetres {
    background: var(--color-fenetres);
}

.block-aides {
    background: var(--color-aides);
}

.block-isolation {
    background: var(--color-isolation);
}

.block-chauffage {
    background: var(--color-chauffage);
}

.block-contact {
    background: var(--color-black);
    color: var(--color-white);
}

/* Block Content */
.block-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.block-title {
    font-family: 'LeagueGothic', Arial, sans-serif;
    font-size: clamp(50px, 10vw, 120px);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.block-subtitle {
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 400;
    opacity: 0.9;
    max-width: 400px;
}

/* Block Images */
.block-image {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.block-image img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.block:hover .block-image {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

/* Logo Block Specific */
.block-logo .logo-main {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.block-logo .block-subtitle {
    color: var(--text-secondary);
    max-width: 100%;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    color: var(--text-secondary);
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 14px;
    margin-bottom: 8px;
}

.scroll-indicator i {
    font-size: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* ==================== MOBILE LAYOUT (default - stacked) ==================== */
@media (max-width: 767px) {
    .blocks-container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .block {
        flex: 1;
        min-height: calc(100vh / 6);
        padding: 15px 20px;
    }

    /* Réduire la hauteur du bloc logo sur mobile */
    .block-logo {
        flex: 0.8;
        min-height: calc(100vh / 7);
        padding: 10px 20px;
    }

    .block-logo .logo-main {
        max-width: 150px;
        margin-bottom: 10px;
    }

    .block-logo .block-subtitle {
        font-size: 11px;
    }

    .scroll-indicator {
        margin-top: 10px;
    }

    .scroll-indicator span {
        font-size: 11px;
    }

    .block-content {
        max-width: 70%;
    }

    .block-title {
        font-size: 50px;
    }

    .block-subtitle {
        font-size: 11px;
        max-width: 200px;
    }

    .block-image {
        right: 15px;
    }

    .block-image img {
        max-height: 80px;
    }

    .block-logo .logo-main {
        max-width: 200px;
    }
}

/* ==================== TABLET & DESKTOP (2 columns) ==================== */
@media (min-width: 768px) {
    .blocks-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, calc(100vh / 3));
        min-height: 100vh;
    }

    /* Left column: Logo (1), Chauffage (5), Aides (3) */
    /* Right column: Isolation (4), Fenêtres (2), Contact (6) */

    /* Position 1: Logo - Top Left */
    .block-logo {
        grid-column: 1;
        grid-row: 1;
    }

    /* Position 2: Chauffage - Middle Left */
    .block-chauffage {
        grid-column: 1;
        grid-row: 2;
    }

    /* Position 3: Aides - Bottom Left */
    .block-aides {
        grid-column: 1;
        grid-row: 3;
    }

    /* Position 4: Isolation - Top Right */
    .block-isolation {
        grid-column: 2;
        grid-row: 1;
    }

    /* Position 5: Fenêtres - Middle Right */
    .block-fenetres {
        grid-column: 2;
        grid-row: 2;
    }

    /* Position 6: Contact - Bottom Right */
    .block-contact {
        grid-column: 2;
        grid-row: 3;
    }

    .block {
        min-height: auto;
        height: 100%;
    }

    .block-title {
        font-size: clamp(60px, 6vw, 100px);
    }

    .block-image img {
        max-height: 150px;
    }
}

@media (min-width: 1024px) {
    .block-title {
        font-size: clamp(70px, 7vw, 120px);
    }

    .block-image {
        right: 60px;
    }

    .block-image img {
        max-height: 200px;
    }

    .block-logo .logo-main {
        max-width: 350px;
    }
}

/* ==================== MAIN CONTENT SECTIONS ==================== */
.main-content {
    background: #fafafa;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-isolation), var(--color-fenetres));
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.highlight {
    background: linear-gradient(135deg, var(--color-fenetres), var(--color-isolation));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.badge {
    display: inline-block;
    background: var(--color-aides);
    color: #2d5a3d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-isolation);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-fenetres), #0a9bb8);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 190, 225, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    border-color: var(--color-fenetres);
    color: var(--color-fenetres);
}

/* Hero Cards */
.hero-visual {
    display: grid;
    gap: 20px;
}

.hero-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-fenetres), var(--color-isolation));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}

.hero-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: var(--section-padding);
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fafafa;
    padding: 35px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: #eee;
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.service-features li i {
    color: var(--color-aides);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-fenetres);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* ==================== WHY SECTION ==================== */
.why-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
}

.why-content > p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.why-features {
    display: grid;
    gap: 25px;
}

.why-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--color-chauffage), #e5b82a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
}

.why-image {
    position: relative;
}

.why-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-fenetres), #0a9bb8);
    color: white;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 190, 225, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

.experience-badge .label {
    font-size: 12px;
    opacity: 0.9;
}

/* ==================== PROCESS SECTION ==================== */
.process-section {
    padding: var(--section-padding);
    background: white;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    position: relative;
    padding-bottom: 40px;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    width: 2px;
    height: calc(100% - 70px);
    background: linear-gradient(180deg, var(--color-fenetres), var(--color-isolation));
}

.step-number {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--color-fenetres), var(--color-isolation));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--color-chauffage);
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-isolation), var(--color-fenetres));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.author-info strong {
    display: block;
    font-size: 15px;
}

.author-info span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-fenetres), #0a9bb8);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content > p {
    font-size: 17px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

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

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-item i {
    color: var(--color-chauffage);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
}

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

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.cert-badge {
    background: rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-fenetres);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--color-fenetres);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-fenetres);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(16, 190, 225, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #0a9bb8;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .services-section,
    .why-section,
    .process-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .process-step {
        padding-bottom: 30px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 16px;
    }

    .process-step:not(:last-child)::after {
        left: 24px;
        top: 50px;
    }

    .experience-badge {
        bottom: -10px;
        right: 10px;
        padding: 15px 20px;
    }

    .experience-badge .years {
        font-size: 28px;
    }

    .footer-grid {
        gap: 30px;
    }
}

/* ==================== CONTACT POPUP ==================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.popup-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, var(--color-fenetres), #0a9bb8);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.popup-header h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.popup-header p {
    font-size: 14px;
    opacity: 0.9;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.popup-body {
    padding: 30px;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-fenetres);
    box-shadow: 0 0 0 4px rgba(16, 190, 225, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

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

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkboxes pour type de travaux */
.form-group-checkbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group-checkbox label.group-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.checkbox-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-item .checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-fenetres);
    border-color: var(--color-fenetres);
}

.checkbox-item input[type="checkbox"]:checked + .checkbox-custom i {
    color: white;
    font-size: 12px;
}

.checkbox-item .checkbox-custom i {
    color: transparent;
    font-size: 12px;
}

.checkbox-item span:last-child {
    font-size: 14px;
    color: var(--text-primary);
}

/* Checkbox cards style */
.checkbox-card {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.checkbox-card:hover {
    border-color: var(--color-fenetres);
    background: rgba(16, 190, 225, 0.05);
}

.checkbox-card.selected {
    border-color: var(--color-fenetres);
    background: rgba(16, 190, 225, 0.1);
}

.checkbox-card input[type="checkbox"] {
    display: none;
}

.checkbox-card i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.checkbox-card.isolation-card i { color: var(--color-isolation); }
.checkbox-card.chauffage-card i { color: var(--color-chauffage); }
.checkbox-card.fenetre-card i { color: var(--color-fenetres); }

.checkbox-card span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Submit button */
.popup-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-fenetres), #0a9bb8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 190, 225, 0.3);
}

.popup-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.popup-submit .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.popup-submit.loading .spinner {
    display: block;
}

.popup-submit.loading span {
    display: none;
}

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

/* Privacy notice */
.privacy-notice {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 15px;
}

.privacy-notice a {
    color: var(--color-fenetres);
    text-decoration: none;
}

/* Success message */
.popup-success {
    text-align: center;
    padding: 40px 30px;
}

.popup-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-aides), #7fc4a5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.popup-success .success-icon i {
    font-size: 36px;
    color: white;
}

.popup-success h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.popup-success p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 25px;
}

.popup-success .btn-close-success {
    background: var(--color-fenetres);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-success .btn-close-success:hover {
    background: #0a9bb8;
}

/* CTA Buttons that open popup */
.btn-open-popup {
    cursor: pointer;
}
