/* ==========================================================================
   Styles UNIQUEMENT pour la homepage
   ========================================================================== */

body {
    background-color: #F0F0F0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    height: 80vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--color-white);
    overflow: visible;
    border-radius: 0 0 60px 60px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 8vw;
    gap: 4vw;
}

/* Wrapper pour centrer le contenu sur mobile */
.hero-content-wrapper {
    display: contents;
}

/* Contenu a gauche */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1rem, 1.5vw, 1.5rem);
    flex: 0 0 auto;
    width: auto;
    height: 100%;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-family: var(--font-primary) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--color-primary) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-primary);
    margin: 0;
}

.hero-title .line {
    display: block;
}

.text-red {
    color: var(--color-red);
}

.btn-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--color-red);
    color: var(--color-white);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-cta:hover {
    background-color: #d92d38;
    color: var(--color-white) !important;
}

.btn-cta:focus {
    outline: none;
    background-color: #d92d38;
}

.btn-cta:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-text-mobile {
    display: none;
}

.btn-subtext-mobile {
    display: none;
}

/* Avis dans le Hero */
.hero-reviews {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-top: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hero-reviews:hover {
    opacity: 0.8;
}

.hero-reviews:focus {
    outline: none;
}

.hero-reviews:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 4px;
    border-radius: 4px;
}

.hero-reviews-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-reviews-stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.hero-reviews-stars svg {
    width: 20px;
    height: 20px;
    fill: #FBBC05;
    stroke: #FBBC05;
}

.hero-reviews-rating {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 20px;
    display: flex;
    align-items: center;
}

.hero-reviews-link {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Image a droite - touche le bas du hero */
.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    border-radius: 0 0 60px 0;
    overflow: hidden;
    z-index: 1;
}

.hero-image img {
    height: 95%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
}

/* ==========================================================================
   Section Présentation - Bento
   ========================================================================== */

.presentation {
    padding: 100px 0;
    background-color: #F0F0F0;
}

.presentation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.bento-card {
    background-color: var(--color-white);
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    padding: 1.5rem;
    overflow: hidden;
}

/* Carte principale - 2 colonnes, 2 lignes */
.bento-card-main {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3rem;
}

.presentation-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.presentation-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.presentation h2 {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
    line-height: 1.2;
}

.bento-card-main p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin: 0 0 1rem 0;
}

.presentation .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
}

.presentation .btn-primary {
    background-color: var(--color-red);
    color: var(--color-white) !important;
}

.presentation .btn-primary:hover {
    background-color: #d92d38;
}

.presentation .btn-primary:focus {
    outline: none;
    background-color: #d92d38;
}

.presentation .btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Carte stat */
.bento-card-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.bento-stat-number {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.bento-stat-label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carte image */
.bento-card-image {
    padding: 0;
    border: none;
}

.bento-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Carte texte */
.bento-card-text {
    display: flex;
    align-items: center;
    grid-column: span 2;
}

.bento-card-text p {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Section Demandes Fréquentes
   ========================================================================== */

.demandes {
    padding: 100px 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.demandes-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    overflow: visible;
}

.demandes-header {
    margin-bottom: 3rem;
}

.demandes-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.demandes-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.demandes h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.demandes-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
    max-width: 600px;
}

.demandes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.demande-card {
    background-color: #405262;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 600px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.demande-card-content,
.demande-icon {
    position: relative;
    z-index: 1;
}

.demande-card:not(.demande-card-cta):hover {
    background-color: #405262;
}

/* Bouton hover avec flèche */
.demande-card-hover-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--color-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.demande-card-hover-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

.demande-card:not(.demande-card-cta):hover .demande-card-hover-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Carte CTA */
.demande-card-cta {
    background-color: #405262;
    background-image: none !important;
    justify-content: flex-end;
    cursor: default;
}

.demande-card-cta:hover {
    background-color: #405262;
}

.demande-card-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.demande-card-cta-text {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding-bottom: 1.5rem;
}

.demande-card-cta .btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    transition: all 0.3s ease;
}

.demande-card-cta .btn:hover {
    background-color: #f0f0f0;
}

.demande-card:focus {
    outline: none;
    background-color: #607182;
}

.demande-card:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: -4px;
}

.demande-card-empty {
    background-color: #485C6E;
}

.demande-card-empty:hover {
    background-color: #485C6E;
}

.demande-card-content {
    text-align: left;
}

.demande-card h3 {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.demande-card p {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.demande-icon {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: auto;
}

.demande-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* ==========================================================================
   Section Savoir-faire
   ========================================================================== */

.savoir-faire {
    padding: 100px 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.savoir-faire-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.savoir-faire-content {
    flex: 1;
}

.savoir-faire-image {
    flex: 1;
}

.savoir-faire-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
}

.savoir-faire-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.savoir-faire-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.savoir-faire h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.savoir-faire p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin: 0 0 1rem 0;
}

.savoir-faire .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.savoir-faire .btn-primary {
    background-color: var(--color-red);
    color: var(--color-white) !important;
}

.savoir-faire .btn-primary:hover {
    background-color: #d92d38;
}

.savoir-faire .btn-primary:focus {
    outline: none;
    background-color: #d92d38;
}

.savoir-faire .btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Section Nos Services
   ========================================================================== */

.nos-services {
    padding: 100px 0;
    background-color: var(--color-white);
}

.nos-services:nth-of-type(even) {
    background-color: #F0F0F0;
}

.nos-services-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nos-services-container-reverse {
    flex-direction: row-reverse;
}

.nos-services-content {
    flex: 1;
}

.nos-services-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.nos-services-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.nos-services h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.nos-services p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin: 0 0 1rem 0;
}

.nos-services .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nos-services .btn-primary {
    background-color: var(--color-red);
    color: var(--color-white) !important;
}

.nos-services .btn-primary:hover {
    background-color: #d92d38;
}

.nos-services .btn-primary:focus {
    outline: none;
    background-color: #d92d38;
}

.nos-services .btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.nos-services-image {
    flex: 1;
}

.nos-services-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Layout overlay - texte par dessus slider */
.nos-services-overlay-layout {
    flex-direction: row;
    align-items: center;
    position: relative;
    gap: 0;
}

.nos-services-slider-card {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
}

.nos-services-slider-card .slider {
    border-radius: 0;
}

.nos-services-slider-card .slider-container {
    border-radius: 0;
}

.nos-services-slider-card .slider-slide img {
    height: 380px;
}

.nos-services-content-card {
    background-color: var(--color-white);
    border-radius: 12px;
    border: 1px solid #E0E0E0;
    padding: 2.5rem;
    max-width: 550px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-right: -60px;
}

.nos-services-content-card .btn {
    margin-top: 1.5rem;
}

.nos-services-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nos-services-actions .btn {
    margin-top: 0;
}

.nos-services-slider-nav {
    display: flex;
    gap: 0.5rem;
}

.nos-services-slider-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-primary);
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.nos-services-slider-btn:hover,
.nos-services-slider-btn:active {
    background-color: transparent;
    border-color: var(--color-primary);
}

.nos-services-slider-btn svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    stroke: var(--color-primary);
}

.nos-services-slider-btn:focus {
    outline: none;
    background-color: transparent;
}

.nos-services-slider-btn:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* Layout overlay inversé - slider à gauche, texte à droite */
.nos-services-overlay-reverse {
    flex-direction: row;
}

.nos-services-overlay-reverse .nos-services-slider-card {
    margin-left: 0;
    margin-right: -60px;
}

.nos-services-overlay-reverse .nos-services-content-card {
    margin-right: 0;
    margin-left: 0;
}

.nos-services-overlay-reverse .slider-slide-number {
    right: auto;
    left: 2.5rem;
}

/* ==========================================================================
   Section Photovoltaïques
   ========================================================================== */

.photovoltaiques {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.photovoltaiques-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1400px;
    min-height: 500px;
    margin: 0 auto;
    padding: 100px 2rem;
}

.photovoltaiques-content {
    max-width: 550px;
    position: relative;
    z-index: 2;
}

.photovoltaiques-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: #337D28;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.photovoltaiques-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.photovoltaiques h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.photovoltaiques h2 .text-regular {
    font-weight: 400;
}

.photovoltaiques h2 .text-green {
    color: #337D28;
}

.photovoltaiques p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1rem 0;
}

.photovoltaiques .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.photovoltaiques .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}

.photovoltaiques .btn-primary:hover {
    background-color: #f0f0f0;
}

.photovoltaiques .btn-primary:focus {
    outline: none;
    background-color: #f0f0f0;
}

.photovoltaiques .btn-primary:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* ==========================================================================
   Sliders - Nos Services
   ========================================================================== */

.slider {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.slider-slide-number {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Slider avec points (Particuliers) */
.slider-dots .slider-dots-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    background-color: transparent;
}

.slider-dots .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .slider-dot:hover {
    background-color: #a0a0a0;
}

.slider-dots .slider-dot.is-active {
    background-color: var(--color-red);
    transform: scale(1.2);
}

.slider-dots .slider-dot:focus {
    outline: none;
}

.slider-dots .slider-dot:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Responsive sliders */
@media (max-width: 1000px) {
    .slider-slide img {
        height: 300px;
    }

    .slider {
        order: -1;
    }
}

@media (max-width: 480px) {
    .slider-slide img {
        height: 220px;
    }

    .slider-dots .slider-dots-nav {
        padding: 1rem 0;
        gap: 0.5rem;
    }

    .slider-dots .slider-dot {
        width: 8px;
        height: 8px;
    }
}

/* ==========================================================================
   Section FAQ
   ========================================================================== */

.faq {
    padding: 100px 0;
    background-color: var(--color-white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.faq-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.faq h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 3rem 0;
    line-height: 1.2;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background-color: var(--color-white);
}

.faq-item:hover {
    border-color: #e0e0e0;
}

.faq-item:focus-within {
    border-color: #e0e0e0;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary) !important;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}

.faq-question:focus {
    outline: none;
    color: var(--color-primary) !important;
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: -2px;
}

.faq-question span {
    color: var(--color-primary) !important;
}

.faq-item.is-open .faq-question {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--color-white);
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    margin: 0;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ==========================================================================
   Section Avis Google
   ========================================================================== */

.avis-google {
    padding: 100px 0;
    background-color: var(--color-white);
    overflow-x: clip;
}

.avis-google-wrapper {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

.avis-google-content {
    flex: 0 0 320px;
    position: relative;
    z-index: 2;
}

.avis-google-content::before {
    content: '';
    position: absolute;
    top: -100px;
    bottom: -100px;
    right: -3rem;
    left: -100vw;
    background-color: var(--color-white);
    z-index: -1;
}

.avis-google-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.avis-google-subtitle-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.avis-google h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.avis-google-content > p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 1.5rem 0;
}

.avis-google-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.avis-google-stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.avis-google-stars svg {
    width: 20px;
    height: 20px;
    fill: #FBBC05;
    stroke: #FBBC05;
}

.avis-google-note {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 20px;
}

.avis-google-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avis-google .btn-primary {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
}

.avis-google .btn-primary:hover {
    background-color: var(--color-primary);
}

.avis-google .btn-primary:focus {
    outline: none;
    background-color: var(--color-primary);
}

.avis-google .btn-primary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.avis-slider-nav {
    display: flex;
    gap: 0.5rem;
}

.avis-slider-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-primary);
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.avis-slider-btn:hover,
.avis-slider-btn:active {
    background-color: transparent;
    border-color: var(--color-primary);
}

.avis-slider-btn svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    stroke: var(--color-primary);
}

.avis-slider-btn:focus {
    outline: none;
    background-color: transparent;
}

.avis-slider-btn:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* Slider Avis */
.avis-slider {
    flex: 1;
    overflow: visible;
    margin-right: calc(-50vw + 50%);
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

.avis-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.avis-card {
    flex: 0 0 340px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid #E0E0E0;
}

.avis-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avis-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.avis-card-avatar.avatar-blue {
    background-color: #4A90D9;
}

.avis-card-avatar.avatar-green {
    background-color: #43A047;
}

.avis-card-avatar.avatar-orange {
    background-color: #FB8C00;
}

.avis-card-avatar.avatar-purple {
    background-color: #7E57C2;
}

.avis-card-avatar.avatar-pink {
    background-color: #EC407A;
}

.avis-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.avis-card-name {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.avis-card-stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.avis-card-stars svg {
    width: 14px;
    height: 14px;
    fill: #FBBC05;
    stroke: #FBBC05;
}

.avis-card-text {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
}

.avis-card-date {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: #999;
    margin-top: auto;
    padding-top: 1rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Au-delà de 1500px - titre fixe plus grand */
@media (min-width: 1500px) {
    .hero-title {
        font-size: 3.5rem !important;
    }
}

/* Entre 1250px et 1399px - première réduction */
@media (max-width: 1399px) and (min-width: 1250px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
    }

    .btn-cta {
        margin-top: 0.85rem !important;
        padding: 0.65rem 1rem !important;
        font-size: 0.75rem !important;
    }

    .hero-image img {
        height: 88% !important;
    }

    .hero-reviews-stars svg {
        width: 18px;
        height: 18px;
    }

    .hero-reviews-rating {
        font-size: 1rem;
    }

    .hero-reviews-link {
        font-size: 0.7rem;
    }
}

/* Entre 1000px et 1249px - deuxième réduction */
@media (max-width: 1249px) and (min-width: 1001px) {
    .hero {
        height: 70vh;
        min-height: 500px;
        padding: 0;
        border-radius: 0 0 40px 40px;
    }

    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 0;
        padding: 0 5vw;
    }

    .hero-content {
        align-items: flex-start;
        max-width: 60%;
        height: auto;
        z-index: 2;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .btn-cta {
        margin-top: 0.7rem;
        padding: 0.55rem 0.85rem;
        font-size: 0.65rem;
    }

    .hero-reviews-stars svg {
        width: 16px;
        height: 16px;
    }

    .hero-reviews-rating {
        font-size: 0.9rem;
    }

    .hero-reviews-link {
        font-size: 0.65rem;
    }

    .hero-image {
        position: absolute;
        right: 0;
        bottom: 0;
        height: 100%;
        width: auto;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        border-radius: 0 0 40px 0;
        z-index: 1;
    }

    .hero-image img {
        height: 80%;
        max-height: none;
        width: auto;
        max-width: none;
    }
}

/* En dessous de 1000px - layout vertical */
@media (max-width: 1000px) {
    .hero {
        height: auto;
        min-height: fit-content;
        padding: 0;
        border-radius: 0 0 40px 40px;
        overflow: visible;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 1.5rem;
        padding: 3rem 0 0;
        height: auto;
        min-height: fit-content;
    }

    .hero-content-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0 1.5rem;
        box-sizing: border-box;
    }

    .hero-content {
        align-items: flex-start;
        max-width: none;
        width: auto;
        height: auto;
        z-index: 2;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn-cta {
        margin-top: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-image {
        position: relative;
        right: 0;
        bottom: auto;
        height: auto;
        width: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        border-radius: 0 0 40px 40px;
        z-index: 1;
        overflow: hidden;
    }

    .hero-image img {
        height: 450px;
        width: auto;
        max-width: none;
    }

    /* Présentation Bento responsive */
    .presentation {
        padding: 60px 0;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        aspect-ratio: auto;
        max-width: 100%;
    }

    .bento-card-main {
        grid-column: span 2;
    }

    .bento-card-text {
        grid-column: span 2;
    }

    .presentation h2 {
        font-size: 1.75rem;
    }

    .bento-stat-number {
        font-size: 2.5rem;
    }

    .bento-card-image img {
        min-height: 180px;
    }

    /* Demandes responsive */
    .demandes {
        padding: 60px 0;
    }

    .demandes h2 {
        font-size: 1.75rem;
    }

    .demandes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .demande-card {
        height: 500px;
    }

    .demande-card-hover-btn {
        opacity: 1;
        transform: translateY(0);
    }

    /* Savoir-faire responsive */
    .savoir-faire {
        padding: 60px 0;
    }

    .savoir-faire-container {
        flex-direction: column;
        gap: 2rem;
    }

    .savoir-faire-image {
        order: -1;
    }

    .savoir-faire h2 {
        font-size: 1.75rem;
    }

    /* Nos services responsive */
    .nos-services {
        padding: 60px 0;
    }

    .nos-services-container {
        flex-direction: column;
        gap: 2rem;
    }

    .nos-services-container-reverse {
        flex-direction: column;
    }

    .nos-services h2 {
        font-size: 1.75rem;
    }

    .nos-services-image {
        order: -1;
    }

    /* Overlay layout responsive */
    .nos-services-overlay-layout {
        flex-direction: column;
        padding-bottom: 0;
    }

    .nos-services-slider-card {
        width: 100%;
    }

    .nos-services-slider-card .slider-slide img {
        height: 350px;
    }

    .nos-services-content-card {
        margin: 0;
        padding: 2rem;
        max-width: 100%;
        margin-right: 0;
    }

    .nos-services-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .nos-services-overlay-reverse {
        flex-direction: column;
    }

    .nos-services-overlay-reverse .nos-services-slider-card {
        margin-right: 0;
    }

    /* Photovoltaïques responsive */
    .photovoltaiques {
        min-height: auto;
    }

    .photovoltaiques-container {
        min-height: auto;
        padding: 60px 2rem;
    }

    .photovoltaiques-content {
        max-width: 100%;
    }

    .photovoltaiques h2 {
        font-size: 1.75rem;
    }

    /* FAQ responsive */
    .faq {
        padding: 60px 0;
        overflow-x: hidden;
    }

    .faq-container {
        padding: 0 1.5rem;
    }

    .faq h2 {
        font-size: 1.75rem;
    }

    .faq-question {
        padding: 1rem;
        gap: 0.75rem;
    }

    .faq-question span {
        flex: 1;
        min-width: 0;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
    }

    /* Avis Google responsive */
    .avis-google {
        padding: 60px 0;
        overflow-x: clip;
    }

    .avis-google-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        overflow: visible;
    }

    .avis-google-content {
        flex: none;
        width: 100%;
    }

    .avis-google-content::before {
        display: none;
    }

    .avis-google h2 {
        font-size: 1.75rem;
    }

    .avis-slider {
        width: calc(100% + 2rem);
        margin-right: -2rem;
        padding-right: 2rem;
        overflow: visible;
    }

    .avis-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto;
        min-height: auto;
        border-radius: 0 0 30px 30px;
    }

    .hero-container {
        padding: 3rem 0 0;
        align-items: flex-start;
    }

    .hero-content-wrapper {
        justify-content: flex-start;
        padding: 0 2rem;
    }

    .hero-content {
        max-width: none;
        gap: 0.5rem;
        align-items: flex-start;
        text-align: left;
        margin: 0;
        padding: 0;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-subtitle {
        font-size: 0.875rem !important;
    }

    .btn-cta {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.875rem !important;
    }

    .btn-text-desktop {
        display: none;
    }

    .btn-text-mobile {
        display: inline;
    }

    .btn-subtext-mobile {
        display: block;
        font-family: var(--font-primary);
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-red);
        margin-top: 0.25rem;
    }

    .hero-reviews-stars svg {
        width: 18px;
        height: 18px;
    }

    .hero-reviews-rating {
        font-size: 1rem;
    }

    .hero-reviews-link {
        font-size: 0.75rem;
    }

    .hero-image {
        border-radius: 0 0 30px 30px;
    }

    .hero-image img {
        height: 300px;
    }

    /* Bento mobile */
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .bento-card-main,
    .bento-card-text {
        grid-column: span 2;
    }

    .bento-card {
        padding: 1.25rem;
        border-radius: 8px;
    }

    .bento-card-image {
        padding: 0;
    }

    .bento-card-image img {
        min-height: 120px;
        border-radius: 8px;
    }

    .bento-stat-number {
        font-size: 1.75rem;
    }

    .bento-stat-label {
        font-size: 0.7rem;
    }

    .demandes-grid {
        grid-template-columns: 1fr;
    }

    .demande-card {
        height: 480px;
    }

    .photovoltaiques-container {
        padding: 40px 1.5rem;
    }

    /* Overlay layout mobile */
    .nos-services-slider-card .slider-slide img {
        height: 250px;
    }

    .nos-services-content-card {
        margin: 0;
        padding: 1.5rem;
        max-width: 100%;
    }

    /* Savoir-faire mobile */
    .savoir-faire {
        padding: 40px 0;
    }

    .savoir-faire-container {
        padding: 0 1.5rem;
    }

    /* Avis slider mobile */
    .avis-google-wrapper {
        padding: 0 1.5rem;
    }

    .avis-slider {
        width: calc(100% + 1.5rem);
        margin-right: -1.5rem;
        padding-right: 1.5rem;
    }

    .avis-card {
        flex: 0 0 280px;
        min-height: 260px;
    }
}

