/*
** 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);
    }
}


/*
** SERVICES
*/
.services{
    padding: 80px 2% 170px 2%;
}
.services__container{
    max-width:1500px;
    margin:auto;
    display:grid;
    grid-template-columns:390px 1fr;
    gap:20px;
    padding: 0 50px;
}
.services__intro{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.services__intro h2{
    font-size:clamp(2rem,3vw,3.3rem);
    line-height:1.1;
    font-weight:700;
    margin-bottom:20px;
}
.services__intro span{
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#E00A14;
    font-family: "Futura_Bold";
}
.services__intro p{
    line-height:1.7;
    max-width:300px;
}
.services__grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
.service-card{
    background:#f5f5f5;
    border-radius:12px;
    min-height:170px;
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
   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;
}
.service-card:hover{
    opacity: 1;
    transform: scale(1.025);
}
.service-card h3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.service-card h3 img {
    height: 20px;
    margin-left: 10px;
}
.icon{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
.icon img {
    height: 35px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(30%) saturate(1000%) hue-rotate(180deg);
}
.service-card h3{
    font-size: 14px;
    font-family: "Montserrat_medium";
}


/*
** 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:#115C90;
    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;
}


/*
** SECTEUR D'ACTIVITÉ
*/
.secteur {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7% 170px 7%;
}
.secteur__container {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 7%;
}
.secteur__map {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 500px;
    overflow: hidden;
    border-radius: 22px;
}
.secteur__map {
    flex: 1 1 50%;
    min-width: 0;
    min-height: 500px;
    overflow: hidden;
    border-radius: 22px;
}
#map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}
.secteur__content {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -20px;
}
.secteur__content h2 {
     font-size:clamp(2rem,3vw,3.3rem);
    line-height:1.1;
    font-weight:700;
    margin-bottom:20px;
}
.secteur__content h2 span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#E00A14;
    font-family: "Futura_Bold";
}
.secteur__content p {
    max-width: 500px;
    margin-bottom: 30px;
    line-height:1.7;
}
.secteur__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 35px;
    padding: 0;
    list-style: none;
}
.secteur__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #303030;
}
.check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: #1C3761;
    font-size: 16px;
    font-weight: 700;
}
.secteur__button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat_medium";
    padding: 16px 24px;
    border-radius: 50px;
    background-color: #1C3761;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        box-shadow .3s cubic-bezier(.22, 1, .36, 1);

    will-change: transform;
}
.secteur__button:hover {
    transform: scale(1.025);
}
.secteur__button img {
    height: 20px;
    margin-left: 10px;
    margin-top: -2px;
}


/*
** PARTENAIRES
*/
.partners{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 7% 170px 7%;
    width: 100%;
    overflow: hidden;
}
.partners_container{
    margin:auto;
    text-align:center;
    width: 100%;
}
.partners_title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.partners .partners_title h2{
    line-height:1.1;
    font-size:clamp(2rem,3vw,3.3rem);
    margin-bottom:20px;
    font-weight:700;
}
.partners .partners_title h2 span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#1C3761;
    font-family: "Futura_Bold";
}
.partners .partners_title p {
    margin-bottom:40px;
    line-height:1.7;
    max-width:500px;
    text-align: center;
}
.partners_grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}
.partner-card{
    height:95px;
    background:#f5f5f5;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:
        transform .35s cubic-bezier(.22,1,.36,1),
        box-shadow .35s cubic-bezier(.22,1,.36,1),
        border-color .35s ease;
}
.partner-card img{
    max-width:130px;
    max-height:42px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.partner-card-slide{
    display: none;
}


/*
** 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 screen and (min-width: 1920px) {
    .services__container {
        width: 85%;
        max-width: 1600px;
        gap: 90px;
    }
}
@media(max-width:1300px){
    .services__container{
        grid-template-columns:1fr;
    }
    .services__intro p{
        max-width:100%;
    }
}
@media(max-width:1100px){
    .apple-hero-orbit {
        bottom: -20vh;
        width: 100vw;
        height: 100vw;
    }
    .services__intro p{
        max-width:100%;
    }
    .partners .partners_title h2{
        margin-bottom:40px;
    }
    .partners_grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }
    .partner-card{
        height:85px;
    }
}
@media screen and (max-width: 1024px) {
    .apple-hero-title {
        font-size: 15vw;
    }
    .chantierSwiper {
        padding: 40px 0;
    }
    .chantierSwiper .swiper-slide {
        width: 300px;
        height: 500px;
    }
    .secteur {
        padding: 90px 5%;
    }
    .secteur__container {
        padding: 35px;
        gap: 40px;
    }
    .secteur__map {
        min-height: 450px;
    }
    .secteur__content {
        padding: 10px 0;
    }
    .partners{
        padding: 0 0 170px 0;
    }
    .partners_container {
        padding: 0 65px;
    }
}
@media(max-width:800px){
    .services{
        padding: 0 0 80px 0;
    }
    .services__grid{
        gap: 10px;
    }
    .service-card{
        min-height:150px;
    }
    .icon{
        justify-content: flex-end;
    }
    .icon img {
        height: 40px;
    }
    .service-card h3 {
        font-size: 16px;
    }
    .partners{
        padding: 0 0 80px 0;
    }
    .partners_container {
        padding: 0;
    }
    .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 screen and (max-width: 768px) {
    .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;
    }
    .realisations {
        padding: 0 0 80px 0 ;
    }
    .services__container{
        padding: 0;
    }
    .realisations .section-title {
        align-items: flex-start;
    }
    .realisations .section-title p {
        text-align: start;
        margin-bottom: 30px;
        min-width: 100%;
    }
    .chantierSwiper .swiper-slide {
        width: 300px;
        height: 450px;
    }
    .secteur {
        padding: 0 0 80px 0;
    }
    .secteur__container {
        gap: 40px;
        padding: 0;
        flex-direction: column;
    }
    .secteur__map {
        width: 100%;
        min-height: 350px;
        height: 350px;
        border-radius: 18px;
        order: 2;
    }
    .secteur__map {
        width: 100%;
        height: 350px;
        min-height: 350px;
    }
    #map {
        min-height: 350px;
    }
    .secteur__content {
        width: 100%;
        padding: 0;
        order: 1;
        margin-top: 0;
    }
    .secteur__content h2 {
        font-size: 2rem;
    }
    .secteur__content p {
        margin-bottom: 20px;
        max-width: 100%;
    }
    .secteur_button_tel {
        margin-bottom: 0 !important;
    }
    .partners .partners_title {
        align-items: flex-start;
    }
    .partners .partners_title p {
        text-align: start;
    }
    .partners .partners_title h2 {
        margin-bottom: 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 screen and (max-width: 480px) {
    .apple-hero {
        width: 100%;
    }
    .apple-hero-content {
        width: 100%;
        padding: 0;
    }
    .apple-hero-title {
        font-size: 17vw;
    }
    .button_hero {
        width: 100%;
    }
    .apple-hero-orbit {
        bottom: -20vh;
        width: 140vw;
        height: 140vw;
    }
    .services__grid{
        grid-template-columns:1fr;
    }
    .realisations .section-title h2 {
        max-width: 300px;
    }
    .chantierSwiper {
        padding: 30px 0;
    }
    .chantierSwiper .swiper-slide img {
        margin-left: 10px;
        margin-right: 10px;
    }
    .chantierSwiper .swiper-slide {
        width: 230px;
        height: 360px;
    }
    .secteur__map {
        height: 280px;
        min-height: 280px;
        width: 100%;
        border-radius: 16px;
    }
    .secteur__content h2 {
        max-width: 300px;
    }
    .secteur__button {
        width: 100%;
    }
    .secteur__list {
        margin-bottom: 20px;
    }
    .partners {
        overflow: hidden;
    }
    .partners_grid{
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: max-content;
        animation: scroll 25s linear infinite;
    }
    .partner-card{
        min-width: 250px;
        height:100px;
    }
    .partner-card img{
        width:auto;
        height:auto;
        object-fit:contain;
    }
    .partner-card-slide{
        display: flex;
    }
    .partners .partners_title h2 {
        text-align: start;
        max-width: 300px;
    }
    .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: -30vh;
        width: 140vw;
        height: 140vw;
    }
}