/*
** BASE
*/
main {
    padding-top: 90px;
    padding-left: 2.5%;
    padding-right: 2.5%;
}


/*
** HERO
*/
.apple-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apple-hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -6vh;
}
.apple-hero-label {
    margin-bottom: 32px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1C3761;
}
.apple-hero-title {
    margin: 0;
    font-size: clamp(70px, 10vw, 150px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.07em;
    font-style: italic;
}
.apple-hero-title span {
    color: #E00A14;
    font-family: "Futura_Bold";
    font-style: normal;
}
.apple-hero-description {
    max-width: 420px;
    margin-top: 38px;
    font-size: 16px;
    line-height: 1.6;
    color: #747875;
}
.button_hero {
    font-family: "Montserrat_medium";
    background-color: #1C3761;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    margin-top: 35px;
    cursor: pointer;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.button_hero:hover {
    opacity: 1;
    transform: scale(1.03);
}
.button_hero img {
    height: 20px;
    margin-left: 10px;
}
.apple-hero-orbit {
    position: absolute;
    left: 50%;
    bottom: -30vh;
    width: 75vw;
    height: 75vw;
    max-width: 1100px;
    max-height: 1100px;
    transform: translateX(-50%);
    pointer-events: none;
}
.orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(22,76,82,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.orbit-1 {
    width: 100%;
    height: 100%;
}
.orbit-2 {
    width: 68%;
    height: 68%;
}
.orbit-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #164c52;
    box-shadow: 0 30px 80px rgba(22,76,82,0.2);
}
.orbit-center span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
}
.apple-hero-title, .apple-hero-description, .apple-hero-link, .apple-hero-label {
    animation: appleFade 1s cubic-bezier(0.16,1,0.3,1) both;
}
.apple-hero-description {
    animation-delay: 0.1s;
}
.apple-hero-link {
    animation-delay: 0.2s;
}
.apple-hero-orbit {
    animation: orbitIn 1.4s 0.15s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes appleFade {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes orbitIn {
    from {
        opacity: 0;
        transform: translate(-50%, 100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}


/*
** SOLUTIONS
*/
.solutions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 7%;
    padding-top: 0px;
    margin-bottom: 170px;
}
.solutions-container {
    width: 100%;
    max-width: 1400px;
}
.solutions-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
}
.solutions-title {
    max-width: 800px;
    font-size:clamp(2rem,3vw,3.3rem);
    line-height: 1.1;
}
.solutions-title span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#115C90;
    font-family: "Futura_Bold";
}
.solutions-list {
    display: flex;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    background:#f5f5f5;
    border-radius: 25px;
}
.solution-card {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 36px;
    overflow: hidden;
    background: transparent;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease;
}
.solution-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background-color: #d8d8d8;
}
.solution-card:hover {
    flex: 2.2;
    background: #1C3761;
    color: white;
}
.solution-card::before {
    content: attr(data-number);
    position: absolute;
    top: 50px;
    right: -20px;
    z-index: 0;
    font-size: clamp(150px, 15vw, 240px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
    color: rgba(21, 24, 23, 0.035);
    pointer-events: none;
    transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}
.solution-card:hover::before {
    transform: translateY(-25px);
    color: rgba(255, 255, 255, 0.07);
}
.solution-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
}
.solution-title-wrapper {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}
.solution-title {
    width: 100%;
    max-width: 250px;
    margin: 0;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    line-height: 1;
    font-family: "Montserrat_medium";
}
.solution-text-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: flex-start;
}
.solution-text {
    width: 100%;
    max-width: 330px;
    margin: 0;
    line-height: 1.65;
    color: #747875;
    transition: color 0.4s ease;
}
.solution-card:hover .solution-text {
    color: rgba(255, 255, 255, 0.72);
}
.solution-card:hover::after {
    background: rgba(255, 255, 255, 0.2);
}


/*
** CAROUSSEL
*/
.realisations{
    padding: 0 0 170px 0;
    overflow:hidden;
}
.realisations .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.realisations .section-title h2 {
    font-size:clamp(2rem,3vw,3.3rem);
    line-height:1.1;
    font-weight:700;
    margin-bottom:20px;
}
.realisations .section-title h2 span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#E00A14;
    font-family: "Futura_Bold";
}
.realisations .section-title p {
    line-height:1.7;
    max-width:500px;
    margin-bottom:40px;
    text-align: center;
}
.chantierSwiper{
    width:100%;
    padding:60px 0;
}
.chantierSwiper .swiper-slide{
    width:400px;
    height:600px;
    overflow:hidden;
    transition:.4s;
}
.chantierSwiper img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.chantierSwiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
}
.chantierSwiper .swiper-slide a:active {
    cursor: grabbing;
}
.chantierSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/*
** AVANTAGES
*/
.chauffage-avantages {
    width: 100%;
    padding: 0 7% 170px 7%;
}
.chauffage-avantages-container {
    width: 100%;
    margin: 0 auto;
}
.chauffage-avantages-header {
    margin-bottom: 40px;
}
.chauffage-avantages-header h2 {
    margin: 0 0 20px;
    line-height: 1.1;
    max-width: 800px;
    font-size:clamp(2rem,3vw,3.3rem);
    font-weight: 700;
}
.chauffage-avantages-header h2 span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#1c3761;
    font-family: "Futura_Bold";
}
.chauffage-avantages-header p {
    max-width: 500px;
    margin: 0;
    line-height: 1.7;
}
.chauffage-avantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.chauffage-avantage-card {
    min-height: 300px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: #f5f5f5;
    border-radius: 22px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease;
}
.chauffage-avantage-card:hover {
    transform: translateY(-8px);
    background: #1C3761;
    color: white;
}
.chauffage-avantage-card:hover img {
    filter: brightness(0) invert(1);
}
.chauffage-avantage-icon {
    width: 48px;
    height: 48px;
    margin-bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chauffage-avantage-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
.chauffage-avantage-card h3 {
    margin: 0 0 14px;
    font-family: "Montserrat_medium";
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}
.chauffage-avantage-card p {
    margin: 0;
    color: #747875;
    font-size: 14px;
    line-height: 1.65;
    transition: color 0.4s ease;
}
.chauffage-avantage-card:hover p {
    color: rgba(255, 255, 255, 0.72);
}


/*
** FAQ
*/
.chauffage-faq {
    width: 100%;
    padding: 0px 7% 170px 7%;
}
.chauffage-faq-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}
.chauffage-faq-intro {
    position: sticky;
    top: 120px;
}
.chauffage-faq-intro h2 {
    margin: 0 0 20px;
    line-height: 1.1;
    max-width: 500px;
    font-size:clamp(2rem,3vw,3.3rem);
    font-weight: 700;
}
.chauffage-faq-intro h2 span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#E00A14;
    font-family: "Futura_Bold";
}
.chauffage-faq-intro p {
    max-width: 420px;
    margin: 0;
    line-height: 1.7;
}
.chauffage-faq-list {
    width: 100%;
}
.faq-item {
    border-top: 1px solid #d8d8d8;
}
.faq-item:last-child {
    border-bottom: 1px solid #d8d8d8;
}
.faq-question {
    width: 100%;
    padding: 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: none;
    background: transparent;
    color: #151817;
    font-family: "Montserrat_medium";
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    color: #1C3761;
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}
.faq-answer p {
    overflow: hidden;
    max-width: 700px;
    margin: 0;
    color: #747875;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.3s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}
.faq-item.active .faq-answer p {
    padding: 0 60px 28px 0;
    opacity: 1;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #1C3761;
    color: white;
    border-color: #1C3761;
}


/*
** OUTRO CTA
*/
.chauffage-cta {
    width: 100%;
    padding: 0 7% 170px;
}
.chauffage-cta-content {
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 30px;
    background: #1C3761;
    color: white;
    text-align: center;
}
.chauffage-cta-content::before,
.chauffage-cta-content::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}
.chauffage-cta-content::before {
    width: 600px;
    height: 600px;
    left: -250px;
    bottom: -400px;
}
.chauffage-cta-content::after {
    width: 500px;
    height: 500px;
    right: -200px;
    top: -350px;
}
.chauffage-cta-label {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.chauffage-cta h2 {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0;
    font-size:clamp(2.5rem,3.5vw,3.7rem);
    font-weight: 500;
    line-height: 1.1;
}
.chauffage-cta h2 span {
    display: block;
    color: #ffffff;
    font-family: "Futura_Bold";
    font-size: clamp(3rem, 6vw, 6.5rem);
}
.chauffage-cta p {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 35px 0 35px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
}
.chauffage-cta-button {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    background: #E00A14;
    color: white;
    border-radius: 50px;
    font-family: "Montserrat_medium";
    font-size: 14px;
    text-decoration: none;
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.chauffage-cta-button:hover {
    background: white;
    color: #1C3761;
    opacity: 1;
    transform: scale(1.03);
}


/*
** MEDIA QUERIES
*/
@media (max-width: 1100px) {
    .apple-hero-title {
        font-size: 15vw;
    }
    .apple-hero-orbit {
        bottom: -20vh;
        width: 100vw;
        height: 100vw;
    }
    .chauffage-avantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .chauffage-avantage-card {
        min-height: 280px;
    }
}
@media (max-width: 900px) {
    .solutions {
        padding: 0;
        padding-top: 0;
        margin-bottom: 80px;
    }
    .solutions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 20px;
    }
    .solutions-list {
        flex-direction: column;
        min-height: auto;
        border-radius: 20px;
    }
    .solution-card {
        flex: none;
        min-height: 0;
        height: 250px;
        padding: 28px;
        transition:
        background-color 0.5s ease, color 0.5s ease;
    }
    .solution-card:not(:last-child)::after {
        top: auto;
        right: 10%;
        bottom: 0;
        width: 80%;
        height: 1px;
    }
    .solution-card:hover::after {
        background: #d6d8d4;
    }
    .solution-title {
        font-size: 30px;
    }
    .solution-title-wrapper {
        height: 90px;
    }
    .solution-text-wrapper {
        height: 80px;
    }
    .solution-card::before {
        top: 40px;
        right: -10px;
        font-size: 180px;
    }
    .solution-card:hover {
        flex: none;
        background: transparent;
        color: #151817;
    }
    .solution-card:hover::before {
        transform: none;
        color: rgba(21, 24, 23, 0.035);
    }
    .solution-card:hover .solution-text {
        color: #747875;
    }
    .solution-card.is-scroll-active {
        background: #1C3761;
        color: #ffffff;
    }
    .solution-card.is-scroll-active::before {
        transform: translateY(-25px);
        color: rgba(255, 255, 255, 0.07);
    }
    .solution-card.is-scroll-active .solution-text {
        color: rgba(255, 255, 255, 0.72);
    }
    .realisations{
        padding: 0 0 80px 0;
        overflow:hidden;
    }
    .chauffage-avantages {
        padding: 0;
        padding-top: 0;
        margin-bottom: 80px;
    }
    .chauffage-avantages-header {
        max-width: 400px;
    }
    .chauffage-faq {
        padding: 0 0 80px 0;
    }
    .chauffage-faq-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .chauffage-faq-intro {
        position: static;
        width: 100%;
        margin-left: 0;
    }
    .chauffage-faq-intro p {
        max-width: 600px;
    }
    .chauffage-faq-list {
        width: 100%;
    }
    .chauffage-cta {
        padding: 0 0 80px;
    }
}
@media (max-width: 700px){
    .apple-hero {
        min-height: 90svh;
        height: 90svh;
    }
    .apple-hero-content {
        margin-top: -10vh;
        padding: 0 24px;
    }
    .apple-hero-label {
        margin-bottom: 25px;
    }
    .apple-hero-title {
        font-style: normal;
    }
    .apple-hero-title span {
        font-style: normal;
    }
    .apple-hero-description {
        max-width: 330px;
        margin-top: 28px;
        font-size: 14px;
    }
    .apple-hero-orbit {
        bottom: -22vh;
        width: 120vw;
        height: 120vw;
    }
    .orbit-center {
        width: 110px;
        height: 110px;
    }
    .orbit-center span {
        width: 20px;
        height: 20px;
    }
    .chantierSwiper .swiper-slide {
        width: 300px;
        height: 450px;
    }
    .realisations .section-title p {
        text-align: start;
        margin-bottom: 30px;
        min-width: 100%;
    }
    .chauffage-avantages {
        padding: 0;
        margin-bottom: 0;
        padding-bottom: 80px;
    }
    .chauffage-avantages-header {
        margin-bottom: 40px;
    }
    .chauffage-avantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .chauffage-avantage-card {
        min-height: 240px;
        padding: 28px;
    }
    .chauffage-avantage-card h3 {
        font-size: 20px;
    }
    .chauffage-cta-content {
        min-height: 450px;
        padding: 50px 25px;
        border-radius: 22px;
    }
    .chauffage-cta p {
        max-width: 330px;
        margin: 28px 0;
        font-size: 14px;
    }
    .chauffage-cta-button {
        padding: 16px 22px;
    }
    .chauffage-cta-content::before {
        width: 400px;
        height: 400px;
        left: -250px;
        bottom: -280px;
    }
    .chauffage-cta-content::after {
        width: 350px;
        height: 350px;
        right: -200px;
        top: -250px;
    }
}
@media (max-width: 500px) {
    .apple-hero-content {
        width: 100%;
        padding: 0;
    }
    .apple-hero-title {
        font-size: 17vw;
    }
    .button_hero {
        width: 100%;
    }
    .apple-hero-orbit {
        bottom: 15vh;
        width: 140vw;
        height: 140vw;
    }
    .solutions-list {
        border-radius: 18px;
    }
    .solution-card {
        min-height: 0;
        height: 200px;
        padding: 24px;
        justify-content: center;
    }
    .solution-title-wrapper {
        height: auto;
    }
    .solution-text-wrapper {
        height: auto;
    }
    .solution-title {
        font-size: 25px;
    }
    .solution-text {
        font-size: 13px;
    }
    .solution-arrow {
        width: 40px;
        height: 40px;
    }
    .chantierSwiper {
        padding: 30px 0;
    }
    .chantierSwiper .swiper-slide img {
        margin-left: 10px;
        margin-right: 10px;
    }
    .chantierSwiper .swiper-slide {
        width: 230px;
        height: 360px;
    }
    .chauffage-avantages-header {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .chauffage-faq-container {
        gap: 45px;
    }
    .faq-question {
        padding: 22px 0;
        font-size: 14px;
    }
    .faq-icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .faq-item.active .faq-answer p {
        padding: 0 35px 22px 0;
    }
}
@media (max-width: 375px) {
    .apple-hero-orbit {
        bottom: 10vh;
        width: 140vw;
        height: 140vw;
    }
}