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


/*
** À PROPOS
*/
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 80px 7% 150px 7%;
}
.about__container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
}
.about__title {
    margin: 0 0 20px;
    width: 100%;
    line-height: 1.1;
    font-size:clamp(2rem,3vw,3.3rem);
    font-weight: 700;
    text-align: center;
}
.about__title span {
    font-size:clamp(2.5rem,3.5vw,3.8rem);
    color:#115C90;
    font-family: "Futura_Bold";
}
.about__text {
    max-width: 600px;
    margin: 0 0 20px;
    line-height: 1.7;
    font-size: 15px;
    text-align: center;
}
.about__text strong {
    font-family: "Montserrat_medium";
}
.about .certificat {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.about .certificat img {
    height: 50px;
}


/*
** 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:#E00A14;
    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: 250px;
    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);
}


/*
** 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);
    }
}
@media (max-width: 900px) {
    .about {
        padding: 0 0 80px 0;
    }
    .chauffage-avantages {
        padding: 0;
        padding-top: 0;
        margin-bottom: 80px;
    }
    .chauffage-avantages-header {
        max-width: 400px;
    }
    .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;
    }
    .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: 200px;
        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;
    }
    .about__container {
        align-items: flex-start;
    }
    .about__text {
        max-width: 100%;
        text-align: start;
    }
    .about__title {
        text-align: start;
    }
    .about .certificat {
        justify-content: flex-start;
    }
    .chauffage-avantages-header {
        max-width: 100%;
        margin-bottom: 20px;
    }
}
@media (max-width: 375px) {
    .apple-hero-orbit {
        bottom: 10vh;
        width: 140vw;
        height: 140vw;
    }
}