:root {
    color-scheme: light;
}

.presentation-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1220px;
    margin: 70px auto 60px;
    padding: 0 24px;
}

.presentation-top-content {
    max-width: 620px;
}

.presentation-top h1 {
    font-size: clamp(3rem, 4vw, 4.8rem);
    line-height: 0.95;
    margin: 0 0 24px;
    color: #071d3d;
}

.presentation-top h3 {
    margin: 0 0 18px;
    font-size: 0.85rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #0f4bb7;
}

.presentation-top p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.9;
    color: #334155;
    max-width: 560px;
}

.presentation-top-img {
    display: flex;
    justify-content: center;
}

.presentation-top-img img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    object-fit: cover;
}

.histoire-container {
    max-width: 1180px;
    margin: 0 auto 80px;
    padding: 60px 24px;
    background: rgba(0, 63, 135, 0.1);
    border-radius: 28px;
}

.histoire-container h4 {
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #0f4bb7;
    text-align: center;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #cbd5e1;
}

.timeline-event {
    position: relative;
    width: 50%;
    padding: 0 30px;
    box-sizing: border-box;
}

.timeline-event.left {
    left: 0;
    text-align: left;
}

.timeline-event.right {
    left: 50%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 32px;
    width: 18px;
    height: 18px;
    background: #0f4bb7;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 8px rgba(15, 75, 183, 0.1);
}

.timeline-event.left .timeline-marker {
    right: -10px;
}

.timeline-event.right .timeline-marker {
    left: -10px;
}

.timeline-card {
    display: inline-block;
    max-width: 460px;
    padding: 28px 30px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.timeline-event.left .timeline-card {
    margin-left: auto;
}

.timeline-date {
    display: inline-block;
    margin-bottom: 10px;
    color: #0f4bb7;
    font-weight: 700;
}

.timeline-card h5 {
    margin: 0 0 14px;
    font-size: 1.35rem;
    color: #0f326d;
}

.timeline-card p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
    font-size: 0.97rem;
}

.adaptabilite-holder {
    max-width: 1180px;
    margin: 150px auto 150px;
    padding: 0 24px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.adaptabilite-holder h2 {
    font-size: 2.1rem;
    color: #071d3d;
    margin: 0 0 18px;
}

.adaptabilite-holder p {
    margin: 0 0 28px;
    max-width: 85%;
    color: #475569;
    line-height: 1.9;
    font-size: 1rem;
}

.deux-colonnes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 32px;
    padding: 0;
    margin: 0 0 30px;
    list-style: none;
}

.deux-colonnes li {
    background: #f8fbff;
    padding: 20px 22px;
    border-radius: 18px;
    color: #334155;
    line-height: 1.7;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
}

.adaptabilite-holder p:last-of-type {
    margin-top: 0;
}

.pourquoi {
    margin: 0 0 200px 0;
    width:100%;
    padding: 30px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:50px;
    background-color:rgba(0, 63, 135, 0.1);
}

.pourquoi h2 {
    font-size: 2.1rem;
    color: #071d3d;
    margin-bottom: 16px;
    margin-left:15px;
    margin-right:35px;
}

.info-holder {
    padding:12px 48px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.info-holder > div {
    background: #f8fbff;
    border-radius: 24px;
    padding: 28px;
    min-height: 230px;
    max-width:75%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.info-holder img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.info-holder p {
    margin: 0;
    color: #475569;
    line-height: 1.8;
    font-size: 0.96rem;
}

.info-holder strong {
    display: block;
    margin-bottom: 6px;
    color: #0f4bb7;
    font-size: 1rem;
}

.ecologie {
    max-width: 1180px;
    margin: 0 auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.eco-img-holder img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    object-fit: cover;
}

.eco-content-holder h2 {
    font-size: 2.1rem;
    margin: 0 0 22px;
    color: #071d3d;
}

.eco-content-holder p {
    margin: 0 0 16px;
    color: #475569;
    line-height: 1.9;
    font-size: 1rem;
}

.eco-highlight {
    display: inline-block;
    margin-top: 14px;
    font-size: 1.5rem;
    color: #0f4bb7;
    font-weight: 700;
}

.devis {
    max-width: 1180px;
    margin: 0 auto 80px;
    padding: 0 24px;
    text-align: center;
}

.devis h2 {
    margin: 0 0 24px;
    font-size: 2rem;
    color: #071d3d;
}

.devis-btn {
    background: #0f4bb7;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 16px 34px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.devis-btn:hover {
    background: #0b3f96;
    transform: translateY(-1px);
}

.location {
    max-width: 100%;
    margin: 0 auto 0px;
    padding: 98px 36px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    background-color: #e3e6ee
}

.location h2 {
    margin: 0 0 18px;
    font-size: 2.5rem;
    color: #071d3d;
}

.location p {
    margin: 0 0 30px;
    color: #475569;
    line-height: 1.2;
    font-size: 1.1rem;
}

.location .atelier,
.location .email,
.location .telephone {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: flex-start;
    background: #f8fbff;
    border-radius: 22px;
    padding: 20px 22px;
    margin-bottom: 22px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.location .atelier img,
.location .email img,
.location .telephone img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    margin-top: 4px;
}

.location .atelier strong,
.location .email strong,
.location .telephone strong {
    display: block;
    margin-bottom: 8px;
    color: #0f4bb7;
}

.contact-btn {
    margin-top:15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: #0f4bb7;
    color: #ffffff;
    border-radius: 999px;
    padding: 16px 28px;
    font-weight: 700;
    cursor: pointer;
    font-size:1.2rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
    background: #0b3f96;
    transform: translateY(-1px);
}

.location .right-part img {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.right-part{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    margin:auto 0px;
}


@media screen and (max-width: 1024px) {
    .presentation-top,
    .ecologie,
    .location {
        grid-template-columns: 1fr;
    }

    .presentation-top {
        margin: 50px auto 50px;
    }
}

@media screen and (max-width: 860px) {
    .presentation-top {
        gap: 40px;
    }

    .info-holder {
        grid-template-columns: 1fr;
    }

    .deux-colonnes {
        grid-template-columns: 1fr;
    }

    .timeline-event {
        width: 100%;
        padding: 12px 0 12px 0;
    }

    .timeline-event.left,
    .timeline-event.right {
        left: 0;
        text-align: left;
    }

    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }

    .timeline-event.left .timeline-marker,
    .timeline-event.right .timeline-marker {
        left: 20px;
    }

    .timeline-event.left .timeline-card{
        margin-left:50px
    }
    .timeline-card {
        margin-left: 50px;
        max-width: calc(100% - 70px);
    }
}

@media screen and (max-width: 640px) {

    .histoire-container {
        margin: 0 auto 80px;
        padding: 40px 18px;
        background: rgba(0, 63, 135, 0.1);
    }

    .presentation-top h1 {
        font-size: 2.8rem;
    }

    .timeline {
        padding: 0 0 0 0;
    }

    .timeline::before {
        left: 18px;
        width: 2px;
    }

    .timeline-event {
        width: 100%;
        padding: 0 0 28px 0;
    }

    .timeline-event.left .timeline-card{
        margin-left: 50px;
        margin-right: 0;
        max-width: calc(100% - 70px);
    }

    .timeline-event.left,
    .timeline-event.right {
        left: 0;
        text-align: left;
    }

    .timeline-event.left .timeline-marker,
    .timeline-event.right .timeline-marker {
        left: 6px;
    }

    .timeline-card {
        margin-left: 50px;
        margin-right: 0;
        max-width: calc(100% - 70px);
        padding: 20px 18px;
        background: #ffffff;
    }

    .timeline-date {
        display: block;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .timeline-card h5 {
        margin: 0 0 10px;
        font-size: 1.1rem;
    }

    .timeline-card p {
        margin: 0;
        font-size: 0.95rem;
    }

    .presentation-top-img img,
    .info-holder > div,
    .location .right-part img {
        border-radius: 24px;
    }

    .devis-btn,
    .contact-btn {
        width: 100%;
    }
}

@media screen and (max-width: 520px) {
    .presentation-top {
        margin: 40px auto 40px;
    }

    .presentation-top h1 {
        font-size: 2.4rem;
    }

    .presentation-top p,
    .eco-content-holder p,
    .location p,
    .timeline-card p {
        font-size: 0.97rem;
    }

    .adaptabilite-holder h2,
    .pourquoi h2,
    .devis h2,
    .location h2 {
        font-size: 1.8rem;
    }

    .deux-colonnes {
        gap: 14px;
    }

    .info-holder > div {
        padding: 22px;
    }
}

