
/* =========================
   COULEURS
========================= */

:root {
    --white: #fffcf9;
    --cream: #f5f2ed;
    --beige: #ded6cc;
    --blue: #5b87a5;
    --dark: #303438;
    --whi: #f6eaea;
}


/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background-color: var(--white);
    color: var(--dark);
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
}


/* =========================
   HEADER
========================= */

.site-header {
    height: 80px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    position: sticky;
    top: 0;
    z-index: 1000;

    background-color: var(--white);
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.compagny {
    margin: 0;
    padding-right: 0px;
    border-right: 1.5px solid #aaa;

    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.multiprets-logo {
    display: block;
    width: 135px;
    height: auto;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
    color: var(--blue);
    white-space: nowrap;
}

.brand-title {
    margin: 5px 0 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    white-space: nowrap;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;

    color: var(--dark);
}

.phone-link:hover {
    color: var(--blue);
}

/* =========================
   NAVIGATION
========================= */

#main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
}

#main-nav a {
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
}

#main-nav a:hover {
    color: var(--blue);
}


/* =========================
   MENU HAMBURGER
========================= */

.menu-toggle {
    display: none;

    background: none;
    border: none;
    padding: 8px;

    font-size: 30px;
    line-height: 1;
    color: var(--dark);

    cursor: pointer;
    flex-shrink: 0;
}


/* =========================
   ACCUEIL / HERO
========================= */

.hero {
    min-height: 620px;
    padding: 100px 8%;

    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--cream);
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
    min-width: 0;
}

.hero-image {
    flex: 1;
    min-width: 0;
}

.hero-image img {
    display: block;
    width: 95%;
    height: 460px;
    object-fit: cover;
    object-position: center;
    margin-left: 40px;
}

.eyebrow {
    margin-bottom: 15px;

    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
}

.hero h1 {
    margin: 0 0 30px;
    font-size: clamp(32px, 3.5vw, 54px);
    font-weight: 400;
    line-height: 1.05;
    overflow-wrap: break-word;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    max-width: 850px;
    margin-bottom: 35px;
    font-size: 18px;
    line-height: 1.7;
}


/* =========================
   BOUTON
========================= */

.button {
    display: inline-block;

    padding: 18px 30px;

    background-color: var(--blue);
    color: var(--white);

    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.button:hover {
    opacity: 0.85;
}


/* =========================
   À PROPOS
========================= */

.about {
    padding: 100px 8% 40px;

    display: flex;
    align-items: center;
    gap: 80px;

    background-color: var(--white);
}

.about-text {
    flex: 1;
    min-width: 0;
}

.about-image {
    flex: 1;
    min-width: 0;
}


.about-image img {
    display: block;
    width: 85%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin: 0 auto;
}


.section-label {
    margin-bottom: 25px;

    color: var(--blue);

    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
}

.about h2 {
    margin: 0 0 30px;

    font-size: 45px;
    font-weight: 400;
    line-height: 1.15;
}

.about-text > p:not(.section-label) {
    font-size: 17px;
    line-height: 1.7;
}


/* =========================
   PROJETS
========================= */

.services {
    padding: 70px 8% 100px;
    background-color: var(--white);
}

.services-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.services-header h2 {
    margin: 0 0 25px;

    font-size: 45px;
    font-weight: 400;
    line-height: 1.15;
}

.services-header > p:not(.section-label) {
    font-size: 17px;
    line-height: 1.7;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 60px;
}

.service-item {
    padding: 30px 0;
    border-top: 1px solid var(--beige);
}

.service-item h3 {
    margin: 0 0 15px;

    font-size: 22px;
    font-weight: 500;
    color: var(--blue);
}

.service-item p {
    margin: 0;

    font-size: 16px;
    line-height: 1.6;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 100px 8%;
    background-color: var(--cream);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* GAUCHE */

.contact-info h2 {
    margin: 0 0 25px;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.15;
}

.contact-description {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 45px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--beige);
    border-radius: 15px;

    font-size: 25px;
    color: var(--dark);
}

.contact-label {
    margin: 0 0 5px;
    font-size: 14px;
    color: #777;
}

.contact-item a,
.contact-item p:not(.contact-label) {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    text-decoration: none;
    color: var(--dark);
}

.contact-item a:hover {
    color: var(--blue);
}

/* DROITE : FORMULAIRE */

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
}

.contact-form-container h3 {
    margin: 0 0 30px;
    font-size: 26px;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form label {
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;

    border: 1px solid var(--beige);
    border-radius: 0;

    background-color: transparent;
    color: var(--dark);

    font-family: Arial, sans-serif;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.contact-submit {
    align-self: flex-end;

    margin-top: 15px;
    padding: 16px 35px;

    border: none;
    background-color: var(--blue);
    color: var(--white);

    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;
}

.contact-submit:hover {
    opacity: 0.85;
}

/* TABLETTE ET MOBILE */





/* =========================
   FOOTER
========================= */

.site-footer {
    background-color: #10283a;
    color: #fffcf9;
    padding: 80px 6% 15px;
}

/* STRUCTURE PRINCIPALE */

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

/* TITRES */

.site-footer h3,
.site-footer h4 {
    margin: 0 0 30px;
    font-weight: 500;
}

.footer-about h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
}

.site-footer h4 {
    font-size: 20px;
}

/* PRÉSENTATION */

.footer-profession {
    margin: 0 0 30px;
    color: #b7c7d1;
    font-size: 15px;
}

.footer-description {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.8;
    color: #b7c7d1;
}

/* LINKEDIN */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.footer-social a {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #254155;
    color: white;
    border-radius: 12px;

    transition: background-color 0.2s;
}

.footer-social a:hover {
    background-color: var(--blue);
}

/* NAVIGATION */

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-navigation a {
    margin-bottom: 18px;
    font-size: 15px;
    text-decoration: none;
    color: #b7c7d1;
}

.footer-navigation a:hover {
    color: white;
}

/* CONTACT */

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact a,
.footer-contact p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #b7c7d1;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact .footer-region {
    font-style: italic;
    color: #8fa7b7;
}

/* LOGO MULTI-PRÊTS */

.footer-logo {
    display: flex;
    justify-content: center;
    padding-top: 65px;
}

.footer-logo-box {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 260px;
}

.footer-logo-box img {
    display: block;
    width: 100%;
    height: auto;
}

/* LIGNE ET COPYRIGHT */

.footer-bottom {
    margin-top: 65px;
    padding-top: 30px;

    border-top: 1px solid #345064;

    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom p {
    margin: 0;
    color: #91a5b3;
    font-size: 13px;
    line-height: 1.6;
}

.footer-credit {
    text-align: center;
    font-size: 13px;
    color: #8a9299;
    opacity: 0.7;
    margin-top: 60px;
}

/* =========================
   FOOTER RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-logo {
        justify-content: flex-start;
        padding-top: 0;
    }
}




/* =========================
   MENU RESPONSIVE
========================= */

@media (max-width: 1200px) {

    .site-header {
        height: 70px;
        padding: 0 5%;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    #main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        margin: 0;
        padding: 15px 5%;

        background-color: var(--white);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);

        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    #main-nav.active {
        display: flex;
    }

    #main-nav a {
        padding: 15px 0;
        font-size: 17px;
        white-space: normal;
        border-bottom: 1px solid var(--beige);
    }

    .hero-image img {
        margin-left: 0;
    }
    
    .phone-link {
    display: none;
    }

}

@media (max-width: 900px) {

    .contact {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 70px 6%;
    }

    .contact-info h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {

    .contact-form-container {
        padding: 25px 20px;
    }

    .contact-item {
        gap: 15px;
    }

    .contact-item a,
    .contact-item p:not(.contact-label) {
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .contact-submit {
        width: 100%;
    }
}

/* =========================
   TABLETTE / MOBILE
========================= */

@media (max-width: 768px) {

    .site-header {
        padding: 0 4%;
    }

    .hero {
        min-height: auto;
        padding: 70px 6%;
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        height: 350px;
        object-fit: cover;
    }

    .about {
        flex-direction: column;
        padding: 70px 6%;
        gap: 40px;
    }

    .about h2 {
    font-size: clamp(26px, 6vw, 32px);
    line-height: 1.2;
    }
    .about-image img {
        max-height: none;
    }

    .services {
        padding: 70px 6%;
    }

    .services-header h2 {
    font-size: clamp(26px, 6vw, 32px);
    line-height: 1.2;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .contact-info h2 {
    font-size: clamp(26px, 6vw, 32px);
    line-height: 1.2;
    }
}


/* =========================
   PETITS ÉCRANS
========================= */

@media (max-width: 600px) {

    .site-header {
        padding: 0 3%;
        gap: 8px;
    }

    .brand {
        gap: 8px;
        min-width: 0;
    }

    .compagny {
        font-size: 11px;
        padding-right: 8px;
    }

    .brand-name {
        font-size: clamp(14px, 4vw, 20px);
    }

    .brand-title {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .multiprets-logo {
        width: 90px;
    }

    .compagny {
        padding-right: 8px;
    }

    .menu-toggle {
        font-size: 26px;
        padding: 5px;
    }

    .hero {
        padding: 70px 6%;
    }

    .hero h1 {
        font-size: clamp(30px, 7vw, 40px);
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 16px;
    }

    .button {
        padding: 16px 20px;
        font-size: 11px;
        letter-spacing: 1px;
    }

        .site-footer {
        padding: 60px 6% 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about h3 {
        font-size: 24px;
    }

    .site-footer h4 {
        margin-bottom: 20px;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-logo-box {
        max-width: 220px;
    }

    .footer-bottom {
        margin-top: 45px;
        flex-direction: column;
        gap: 15px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}



/* =========================
   TRÈS PETITS ÉCRANS
========================= */

@media (max-width: 380px) {

    .compagny {
        font-size: 10px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand-title {
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .brand {
        gap: 6px;
    }

    .multiprets-logo {
        width: 70px;
    }
}


/* =========================
   BOUTON APPELER - MENU MOBILE
========================= */

.phone-mobile {
    display: none;
}

@media (max-width: 1200px) {

    #main-nav a.phone-mobile {
        display: block;

        margin-top: 30px;
        padding: 18px 25px;

        border: 1px solid var(--beige);
        border-radius: 15px;

        text-align: center;
        text-decoration: none;

        font-size: 18px;
        font-weight: 600;

        color: var(--dark);
        background-color: transparent;
    }

    #main-nav a.phone-mobile:hover {
        background-color: var(--cream);
        color: var(--blue);
    }
}

