@font-face {
    font-family: "Syne"; /* ← change en Syne */
    font-style: normal;
    font-display: swap;
    font-weight: 400 800;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/syne:vf@latest/latin-wght-normal.woff2)
        format("woff2-variations");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
        U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2)
        format("woff2-variations");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
        U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --white: #ffffff;
    --off: #f7f8fc;
    --light: #eef1f8;
    --border: #e2e6f0;
    --text: #0d1117;
    --muted: #5a6478;
    --blue: #1a56db;
    --blue-dk: #1340b0;
    --blue-lt: #e8effe;
    --gray: #374151;
    --font-h: "Syne", sans-serif;
    --font-b: "Inter", sans-serif;
    --radius: 10px;
    --shadow: 0 4px 24px rgba(13, 17, 23, 0.08);
    --shadow-lg: 0 12px 48px rgba(13, 17, 23, 0.13);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-b);
}

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    border-bottom: 1px solid var(--border);
    padding: 0 50px;
}

.reveal {
    opacity: 0;
    transition: opacity 0.65s;
}

.reveal.in {
    opacity: 1;
}

.hamburger {
    display: none;
}

.logo-link {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.head-txt {
    font-family: var(--font-h);
    color: var(--text);
    font-weight: 700;
    line-height: 1.15;
}

.head-txt span {
    font-family: var(--font-b);
    font-size: 0.68rem;
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.logo {
    height: 50px;
    width: 47;
    object-fit: cover;
}

section {
    padding: 3rem;
}

.section-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--muted);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--light);
    padding: 5px;
    border-radius: 6px;
}

.nav-cta {
    color: rgb(245, 245, 245);
    background-color: var(--blue);
    border-radius: 8px;
    padding: 5px 12px;
    font-weight: bold;
}

/* INTRODUCTION */

#introduction {
    padding: 0;
}

.container-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.left-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.1rem;
}

.point {
    font-size: 0.8em;
    display: inline-flex;
    color: var(--blue);
    align-items: center;
    background-color: var(--blue-lt);
    border-radius: 8px;
    padding: 5px 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 25px;
    width: fit-content;
    gap: 5px;
}

.point::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--blue);
    border-radius: 50%;
}

h1 {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 4em;
    line-height: 1;
    margin-bottom: 20px;
}

.title {
    color: var(--blue);
}

.desc-intro {
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 440px;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn-contact {
    background: var(--blue);
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.6rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-contact a {
    color: var(--light);
}

.btn-rea {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem 1.6rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-rea a {
    color: var(--text);
}

.infos {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--border);
    padding-top: 40px;
    margin-top: 50px;
}

.container-info div {
    font-family: var(--font-h);
    font-size: 2em;
    color: var(--blue);
    font-weight: 800;
    line-height: 1;
}

.container-info span {
    font-size: 0.78em;
    color: var(--muted);
    font-weight: 500;
    margin-top: 0.58em;
}

.img-intro {
    position: relative;
    height: 100%;
    width: 100%;
}

.img-intro img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}

.popup {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: white;
    border-radius: var(--radius);
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow-lg);
}

.container-popup {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.container-popup p {
    max-width: 200px;
    color: var(--muted);
    font-size: 0.78rem;
}

.container-popup strong {
    color: var(--text);
    font-size: 0.95rem;
}

.container-popup .icon {
    background-color: var(--blue-lt);
    border-radius: var(--radius);
    font-size: 1.3rem;
    padding: 8px;
}

.bar-info {
    display: flex;
    justify-content: center;
    background-color: var(--blue);
}

.bar-info div {
    color: var(--light);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.1rem 2.5rem;
}

.bar-content:last-child {
    border: none;
}

/* A-PROPOS */

#à-propos {
    background-color: var(--off);
}

.container-apropos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
    margin: 0 auto;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.8rem;
}

.img-a-propos {
    position: relative;
}

.img-a-propos img {
    width: 100%;
    height: 800px;
    border-radius: 16px;
    object-fit: cover;
}

.img-a-propos .badge {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background-color: var(--blue);
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge .big {
    font-family: var(--font-h);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.badge .sm {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.85;
}

h2 {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.lead {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 560px;
}

.a-propos-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    list-style: none;
    margin-top: 1.5rem;
}

.a-propos-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
}

.fa-check {
    font-size: 0.6rem;
    color: var(--blue);
    background-color: var(--blue-lt);
    padding: 0.1rem;
    border-radius: 50%;
}

/* SERVICES */

.service-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.container-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.service-card {
    background-color: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 2rem;
}

.service-card:hover {
    background: white;
    border: 1.5px solid var(--blue);
}

.icon-service {
    background-color: var(--blue-lt);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.service-title {
    font-family: var(--font-h);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

.service-head .lead {
    margin: 0 auto;
}

/* PORTFOLIO */

#portfolio {
    background-color: var(--off);
}

.portfolio-head {
    margin-bottom: 2.5rem;
}

.portfolio-head a {
    display: block;
    text-align: end;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
}

.container-carrousel {
    overflow: hidden;
    border-radius: var(--radius);
}

.carrousel {
    position: relative;
}

.carrousel-track {
    -webkit-overflow-scrolling: touch;
    display: flex;
    height: 50vh;
    flex-wrap: nowrap;
    transition: 0.5s ease-in-out;
}

.carrousel-item {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
}

.carrousel-track .carrousel-item {
    height: 100%;
    width: 100%;
}

.carrousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.title-image {
    position: absolute;
    bottom: 5%;
    left: 2%;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-h);
}

.carrousel-arrows {
    position: absolute;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    top: 50%;
    left: 3%;
    right: 3%;
}

#arrow-left,
#arrow-right {
    border: none;
    background-color: transparent;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* AVIS */

.avis-head {
    text-align: center;
    margin-bottom: 3rem;
}

.container-avis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.avis-card {
    position: relative;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--off);
    padding: 2rem;
}

.quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: Georgia, serif;
    text-align: end;
    font-size: 3rem;
    color: var(--blue-lt);
}

.stars {
    margin-bottom: 1rem;
}

.fa-star {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.com-avis {
    font-size: 0.93rem;
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-avis {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
}

.rea-type {
    display: flex;
    gap: 0.2rem;
    font-size: 0.78rem;
    color: var(--blue);
    font-weight: 500;
    margin-top: 0.15rem;
}

.type-logement::before {
    content: "—";
    margin-right: 0.2rem;
}

/* CONTACT */

#contact {
    background-color: var(--off);
}

.container-contact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.container-contact .left-part {
    padding: 0;
}

.container-contact .left-part .lead {
    margin-bottom: 2.5rem;
}

.contact-infos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    font-size: 1.1rem;
    background-color: var(--blue-lt);
    border-radius: var(--radius);
}

.cinfo-ttl {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.cinfo-sub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.1rem;
}

/* FORM */

.alert-success {
    background-color: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    color: #065f46;
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-error {
    background-color: #fef2f2;
    border: 1.5px solid #fca5a5;
    color: #dc2626;
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.container-form {
    background-color: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.title-form {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.subtitle-form {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.form-field input,
textarea {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    font-family: var(--font-b);
    font-size: 0.92rem;
    color: var(--text);
    background-color: var(--off);
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-field textarea {
    min-height: 140px;
}

.msg-error {
    display: none;
}

.btn-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    padding: 0.95rem;
    border-radius: var(--radius);
    border: none;
    background-color: var(--blue);
    color: white;
}

.donnee-msg {
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.75rem;
}

/* FOOTER */

.container-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    background-color: var(--text);
    padding: 3rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-brand img {
    height: 50px;
}

.footer-brand p {
    font-size: 0.82rem;
    margin-top: 1rem;
    max-width: 240px;
    line-height: 1.6;
}

.logo-footer {
    background-color: var(--text);
}

.head-foot-txt {
    color: white;
    font-weight: 700;
}

.head-foot-txt span {
    font-size: 0.68rem;
    display: block;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-self: center;
}

.footer-links h3 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links li {
    list-style: none;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: var(--text);
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    padding: 1.5rem 3rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: var(--blue);
}

/* VERSION TABLET */

@media (max-width: 1024px) {
    .container-intro {
        display: flex;
        flex-direction: column;
    }

    h1 {
        font-size: 2.6rem;
        max-width: 600px;
    }

    .bar-info {
        font-size: 0.85rem;
        flex-wrap: wrap;
        font-weight: 500;
    }

    /* A-PROPOS */

    .container-apropos {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .container-apropos .left-part {
        padding: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* AVIS */

    .container-avis {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CONTACT */

    .container-contact {
        display: flex;
        flex-direction: column;
    }
}

/* VERSION MOBILE */

@media (max-width: 768px) {
    header {
        padding: 0 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        border: 0;
        background: white;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 22px;
        background-color: var(--text);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .nav-links.open {
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        padding: 1.5rem 2rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 0;
    }

    .nav-links li:last-child {
        border: none;
    }

    .nav-link {
        color: var(--text);
        font-size: 1.05rem;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-cta {
        text-indent: -9999px;
        line-height: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.2rem;
        background-color: white;
        color: var(--blue);
        padding: 0;
    }

    .nav-cta::before {
        content: "→";
    }

    .nav-cta::after {
        content: "→ Nous contacter";
        text-indent: 0;
    }
    /* INTRODUCTION */

    section {
        padding: 3rem 1.5rem;
    }

    .container-intro .left-part {
        padding: 2rem;
    }

    .buttons {
        display: flex;
        flex-direction: column;
    }

    .infos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .popup {
        padding: 1rem 1rem;
    }

    .bar-info div {
        border: none;
    }

    /* A-PROPOS */

    .container-apropos {
        gap: 3rem;
    }

    .container-apropos .left-part {
        padding: 0;
    }

    .img-a-propos img {
        height: 400px;
    }

    /* CARROUSEL */

    .title-image {
        left: 4%;
        bottom: 4%;
        max-width: 250px;
    }

    /* AVIS */

    .container-avis {
        display: flex;
        flex-direction: column;
    }

    /* CONTACT */

    .container-contact {
        gap: 2rem;
    }

    .form-row {
        display: flex;
        flex-direction: column;
    }

    .cinfo-sub {
        max-width: 225px;
    }

    /* FOOTER */

    .container-footer {
        display: flex;
        flex-direction: column;
        padding: 1.5rem;
    }

    .footer-bottom {
        padding: 1.5rem;
    }

    .mention-legales {
        display: block;
        margin-top: 0.5rem;
    }
}
