/* =========================================================
   COMIT TRAVAUX
   ACCUEIL
========================================================= */


/* =========================================================
   GLOBAL ACCUEIL
========================================================= */

main {
    padding-top: 0;
}


.section-container {

    padding-left: 0;
    padding-right: 0;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 700px;

    height: calc(100vh - 90px);

    max-height: 850px;

    margin-top: 90px;

    overflow: hidden;

    background-image:
        url("../../images/hero.jpg");

    background-size: cover;

    background-position: center center;

    color: white;
}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 20, 33, 0.88) 0%,
            rgba(7, 20, 33, 0.68) 42%,
            rgba(7, 20, 33, 0.28) 100%
        );
}


.hero-container {

    position: relative;

    z-index: 2;

    width: min(
        1240px,
        calc(100% - 72px)
    );

    height: 100%;

    margin: auto;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.hero-content {

    max-width: 950px;

    margin-top: 15px;
}


.hero-label {

    display: block;

    margin-bottom: 28px;

    color: white;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;
}


.hero h1 {

    margin-bottom: 27px;

    color: white;

    font-size: clamp(
        52px,
        5.1vw,
        76px
    );

    font-weight: 800;

    line-height: 1.06;

    letter-spacing: -2px;
}


.hero p {

    max-width: 900px;

    margin-bottom: 38px;

    color: rgba(255,255,255,0.92);

    font-size: 19px;

    line-height: 1.8;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 18px;
}


.primary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    padding: 17px 28px;

    border-radius: 6px;

    background: var(--blue);

    color: white;

    font-size: 15px;

    font-weight: 700;

    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}


.primary-button:hover {

    background: var(--blue-hover);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(8,120,249,0.30);
}


.primary-button span {

    font-size: 18px;

    transition:
        transform var(--transition);
}


.primary-button:hover span {

    transform: translateX(4px);
}


.secondary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 215px;

    padding: 16px 27px;

    border: 1px solid rgba(255,255,255,0.55);

    border-radius: 6px;

    background: rgba(0,0,0,0.12);

    color: white;

    font-size: 15px;

    font-weight: 700;

    backdrop-filter: blur(4px);

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}


.secondary-button:hover {

    background: rgba(255,255,255,0.12);

    border-color: white;

    transform: translateY(-2px);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {

    position: absolute;

    left: 0;
    right: 0;

    bottom: 35px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.hero-domains {

    display: flex;

    align-items: center;

    gap: 28px;
}


.hero-domains span,
.hero-location {

    color: white;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}


.hero-domains span {

    position: relative;
}


.hero-domains span:not(:last-child)::after {

    content: "";

    position: absolute;

    right: -16px;

    top: 50%;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--green);

    transform: translateY(-50%);
}


/* =========================================================
   EXPERTISE
========================================================= */

.expertise {

    padding: 100px 0 110px;

    background: white;
}


.expertise .section-container {

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 85px;
}


.expertise-content {

    padding-right: 15px;
}


.section-label {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 34px;

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;
}


.section-label > span {

    width: 60px;

    height: 3px;

    background: var(--blue);

    flex-shrink: 0;
}


.expertise h2 {

    margin-bottom: 30px;

    color: var(--text-dark);

    font-size: clamp(
        44px,
        4.5vw,
        66px
    );

    font-weight: 800;

    line-height: 1.07;

    letter-spacing: -2px;
}


.expertise h2 strong {

    color: var(--blue);

    font-weight: 800;
}


.expertise-content > p {

    max-width: 680px;

    margin-bottom: 30px;

    color: var(--text);

    font-size: 17px;

    line-height: 1.95;
}


.text-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--blue);

    font-size: 14px;

    font-weight: 800;

    transition:
        color var(--transition);
}


.text-button span {

    font-size: 18px;

    transition:
        transform var(--transition);
}


.text-button:hover {

    color: var(--blue-hover);
}


.text-button:hover span {

    transform: translateX(5px);
}


/* =========================================================
   EXPERTISE IMAGE
========================================================= */

.expertise-image {

    position: relative;

    min-height: 540px;

    overflow: hidden;

    border-radius: 14px;

    box-shadow:
        0 20px 50px rgba(18,38,61,0.12);
}


.expertise-image > img {

    width: 100%;

    height: 100%;

    min-height: 540px;

    object-fit: cover;

    object-position: center;

    transition:
        transform 0.7s ease;
}


.expertise-image:hover > img {

    transform: scale(1.035);
}


.expertise-card {

    position: absolute;

    right: 0;
    bottom: 0;

    width: 42%;

    min-height: 200px;

    padding: 32px 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(18,64,125,0.96),
            rgba(0,89,190,0.94)
        );

    color: white;
}


.expertise-card span {

    margin-bottom: 10px;

    font-size: 14px;

    color: rgba(255,255,255,0.85);
}


.expertise-card strong {

    font-size: 27px;

    line-height: 1.2;
}


.expertise-card::after {

    content: "";

    width: 38px;
    height: 3px;

    margin-top: 17px;

    background: var(--green);
}


/* =========================================================
   DOMAIN SECTION
========================================================= */

.domains {

    padding: 95px 0 110px;

    background: #ffffff;
}


.section-heading {

    margin-bottom: 55px;
}


.section-heading h2 {

    margin-bottom: 15px;

    color: var(--text-dark);

    font-size: clamp(
        42px,
        4.2vw,
        62px
    );

    font-weight: 800;

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.section-heading p {

    color: var(--text);

    font-size: 17px;
}


/* =========================================================
   DOMAIN GRID
========================================================= */

.domains-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 28px;
}


.domain-card {

    position: relative;

    overflow: hidden;

    min-height: 510px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    box-shadow:
        0 8px 30px rgba(18,38,61,0.05);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.domain-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(18,38,61,0.12);
}


/* =========================================================
   DOMAIN IMAGE
========================================================= */

.domain-image {

    width: 100%;

    height: 205px;

    overflow: hidden;
}


.domain-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.domain-card:hover
.domain-image img {

    transform: scale(1.06);
}


/* =========================================================
   DOMAIN ICON
========================================================= */

.domain-icon {

    position: relative;

    width: 76px;
    height: 76px;

    margin-top: -38px;

    margin-left: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #e2e8f0;

    border-radius: 50%;

    background: white;

    color: var(--blue);

    box-shadow:
        0 8px 22px rgba(18,38,61,0.10);

    z-index: 2;
}


.domain-icon svg {

    width: 31px;
    height: 31px;
}


/* =========================================================
   DOMAIN CONTENT
========================================================= */

.domain-content {

    padding: 18px 30px 30px;
}


.domain-content h3 {

    margin-bottom: 12px;

    color: #102b45;

    font-size: 27px;

    font-weight: 800;
}


.domain-line {

    display: block;

    width: 39px;

    height: 3px;

    margin-bottom: 19px;

    background: var(--green);
}


.domain-content p {

    min-height: 105px;

    margin-bottom: 22px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.7;
}


.domain-content a {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--blue);

    font-size: 13px;

    font-weight: 800;

    transition:
        color var(--transition);
}


.domain-content a span {

    font-size: 18px;

    transition:
        transform var(--transition);
}


.domain-content a:hover {

    color: var(--blue-hover);
}


.domain-content a:hover span {

    transform: translateX(5px);
}


/* =========================================================
   PRESENCE
========================================================= */

.presence {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background-image:
        url("../../images/maroc.jpg");

    background-size: cover;

    background-position: center;
}


.presence-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,31,54,0.95),
            rgba(7,31,54,0.78),
            rgba(7,31,54,0.50)
        );
}


.presence-container {

    position: relative;

    z-index: 2;

    width: min(
        1240px,
        calc(100% - 72px)
    );

    margin: auto;

    color: white;
}


.section-label.light {

    color: #5ea5ff;
}


.section-label.light > span {

    background: #5ea5ff;
}


.presence h2 {

    margin-bottom: 22px;

    color: white;

    font-size: clamp(
        45px,
        5vw,
        70px
    );

    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -2px;
}


.presence h2 strong {

    color: #3d91ff;
}


.presence p {

    max-width: 560px;

    margin-bottom: 30px;

    color: rgba(255,255,255,0.80);

    font-size: 17px;

    line-height: 1.8;
}


.presence-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 24px;

    border-radius: 7px;

    background: var(--blue);

    color: white;

    font-size: 14px;

    font-weight: 700;

    transition:
        background var(--transition),
        transform var(--transition);
}


.presence-button:hover {

    background: var(--blue-hover);

    transform: translateY(-2px);
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {

    background: #f5f8fb;

    padding: 65px 0;
}


.final-cta-container {

    width: min(
        var(--container),
        calc(100% - 72px)
    );

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


.final-cta-container > div > span {

    display: block;

    margin-bottom: 10px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.final-cta h2 {

    color: var(--text-dark);

    font-size: 38px;

    line-height: 1.2;
}


.final-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 16px 25px;

    border-radius: 7px;

    background: var(--blue);

    color: white;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        background var(--transition),
        transform var(--transition);
}


.final-cta-button:hover {

    background: var(--blue-hover);

    transform: translateY(-2px);
}


.final-cta-button span {

    font-size: 18px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-container,
    .presence-container,
    .final-cta-container {

        width: calc(100% - 50px);
    }


    .expertise .section-container {

        gap: 45px;
    }


    .domains-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 25px;
    }


    .domain-card {

        min-height: 490px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .hero {

        min-height: 700px;

        height: auto;

        max-height: none;

        margin-top: 74px;

        padding:
            90px 0
            90px;
    }


    .hero-container {

        width: calc(100% - 40px);

        min-height: 600px;

        justify-content: center;
    }


    .hero-content {

        margin-top: 0;
    }


    .hero-label {

        margin-bottom: 20px;

        font-size: 10px;

        letter-spacing: 3px;
    }


    .hero h1 {

        font-size: clamp(
            40px,
            10vw,
            58px
        );

        line-height: 1.05;

        letter-spacing: -1px;
    }


    .hero p {

        font-size: 15px;

        line-height: 1.7;
    }


    .hero-buttons {

        align-items: stretch;

        flex-direction: column;

        width: 100%;

        max-width: 320px;
    }


    .primary-button,
    .secondary-button {

        width: 100%;
    }


    .hero-bottom {

        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        margin-top: 60px;

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }


    .hero-domains {

        flex-wrap: wrap;

        gap: 10px 24px;
    }


    .hero-domains span {

        font-size: 9px;
    }


    .hero-location {

        font-size: 9px;
    }


    /* EXPERTISE */

    .expertise {

        padding: 70px 0;
    }


    .expertise .section-container {

        grid-template-columns: 1fr;

        gap: 45px;

        width: calc(100% - 40px);
    }


    .section-label {

        margin-bottom: 23px;

        font-size: 10px;

        letter-spacing: 2.5px;

        gap: 12px;
    }


    .section-label > span {

        width: 40px;
    }


    .expertise h2 {

        font-size: 42px;

        letter-spacing: -1px;
    }


    .expertise-content > p {

        font-size: 15px;

        line-height: 1.8;
    }


    .expertise-image {

        min-height: 390px;

        border-radius: 10px;
    }


    .expertise-image > img {

        min-height: 390px;
    }


    .expertise-card {

        width: 68%;

        min-height: 145px;

        padding: 22px 24px;
    }


    .expertise-card span {

        font-size: 12px;
    }


    .expertise-card strong {

        font-size: 21px;
    }


    /* DOMAINES */

    .domains {

        padding: 70px 0;
    }


    .domains .section-container {

        width: calc(100% - 40px);
    }


    .section-heading {

        margin-bottom: 35px;
    }


    .section-heading h2 {

        font-size: 40px;

        line-height: 1.1;
    }


    .section-heading p {

        font-size: 15px;
    }


    .domains-grid {

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .domain-card {

        min-height: auto;
    }


    .domain-image {

        height: 220px;
    }


    .domain-content p {

        min-height: auto;
    }


    /* PRESENCE */

    .presence {

        min-height: 500px;
    }


    .presence-container {

        width: calc(100% - 40px);

        padding: 80px 0;
    }


    .presence h2 {

        font-size: 43px;

        letter-spacing: -1px;
    }


    .presence p {

        font-size: 15px;
    }


    /* CTA */

    .final-cta {

        padding: 50px 0;
    }


    .final-cta-container {

        width: calc(100% - 40px);

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .final-cta h2 {

        font-size: 31px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .hero {

        padding-top: 75px;

        padding-bottom: 70px;
    }


    .hero-container {

        width: calc(100% - 30px);
    }


    .hero h1 {

        font-size: 38px;
    }


    .hero p {

        font-size: 14px;
    }


    .hero-bottom {

        margin-top: 45px;
    }


    .hero-domains {

        gap: 8px 20px;
    }


    .hero-location {

        font-size: 8px;

        letter-spacing: 0.8px;
    }


    .expertise .section-container,
    .domains .section-container {

        width: calc(100% - 30px);
    }


    .expertise h2 {

        font-size: 36px;
    }


    .expertise-image {

        min-height: 340px;
    }


    .expertise-image > img {

        min-height: 340px;
    }


    .expertise-card {

        width: 75%;

        min-height: 125px;

        padding: 18px;
    }


    .expertise-card strong {

        font-size: 18px;
    }


    .section-heading h2 {

        font-size: 34px;
    }


    .domain-image {

        height: 200px;
    }


    .domain-icon {

        width: 68px;
        height: 68px;

        margin-top: -34px;

        margin-left: 22px;
    }


    .domain-content {

        padding:
            15px 22px 25px;
    }


    .domain-content h3 {

        font-size: 24px;
    }


    .presence h2 {

        font-size: 37px;
    }


    .final-cta h2 {

        font-size: 28px;
    }


    .final-cta-button {

        width: 100%;

        justify-content: center;
    }

}