/* =========================================================
   CAMU HÔTELS & HÉBERGEMENT
   CSS ALIGNÉ SUR CAMU IMMO
========================================================= */

:root {

    --hotel-blue: #063b73;
    --hotel-blue-dark: #04294f;

    --hotel-green: #20a86b;
    --hotel-green-dark: #168653;

    --hotel-white: #ffffff;
    --hotel-light: #f5f7fa;

    --hotel-border: #e2e7ee;

    --hotel-text: #1d2939;
    --hotel-muted: #667085;

    --hotel-danger: #d92d20;

    --hotel-shadow:
        0 8px 25px rgba(0, 0, 0, .08);

    --hotel-radius: 14px;
}


/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--hotel-light);

    color: var(--hotel-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.hidden {
    display: none !important;
}


/* =========================================================
   SIDEBAR
========================================================= */

.hotel-sidebar {

    position: fixed;

    top: 0;
    left: 0;

    width: 245px;
    height: 100vh;

    background: var(--hotel-blue);

    color: #fff;

    z-index: 1000;

    display: flex;
    flex-direction: column;

    box-shadow:
        4px 0 20px rgba(0, 0, 0, .12);
}


.hotel-sidebar-logo {

    height: 105px;

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

    padding: 15px;

    background: #fff;
}


.hotel-sidebar-logo img {

    width: 155px;
    max-width: 100%;

    height: auto;

    display: block;
}


/* =========================================================
   MENU
========================================================= */

.hotel-menu {

    padding: 18px 12px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.hotel-menu-link {

    display: flex;
    align-items: center;

    gap: 13px;

    min-height: 46px;

    padding: 10px 13px;

    border-radius: 9px;

    color: rgba(255, 255, 255, .88);

    transition: .2s ease;
}


.hotel-menu-link i {

    width: 21px;

    text-align: center;

    font-size: 16px;

    font-style: normal;
}


.hotel-menu-link span {

    font-size: 14px;
}


.hotel-menu-link:hover {

    background:
        rgba(255, 255, 255, .12);

    color: #fff;
}


.hotel-menu-link.active {

    background:
        var(--hotel-green);

    color: #fff;
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.hotel-sidebar-bottom {

    margin-top: auto;

    padding: 15px 12px;

    border-top:
        1px solid rgba(255, 255, 255, .12);
}


.hotel-sidebar-bottom a {

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px;

    border-radius: 8px;

    color: #fff;

    font-size: 13px;
}


.hotel-sidebar-bottom a:hover {

    background:
        rgba(255, 255, 255, .1);
}


/* =========================================================
   MAIN
========================================================= */

.hotel-main {

    min-height: 100vh;

    margin-left: 245px;
}


/* =========================================================
   TOPBAR
========================================================= */

.hotel-topbar {

    position: sticky;

    top: 0;

    height: 82px;

    background: #fff;

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

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

    padding: 0 25px;

    z-index: 900;
}


/* LOGO CENTRAL */

.hotel-top-logo {

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    width: 190px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.hotel-top-logo img {

    width: 175px;

    max-width: 100%;

    height: auto;

    display: block;
}


/* ACTIONS */

.hotel-top-actions {

    margin-left: auto;
}


.hotel-top-actions a {

    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--hotel-blue);

    font-size: 14px;

    font-weight: 600;
}


.hotel-menu-button {

    display: none;

    border: 0;

    background: transparent;

    color: var(--hotel-blue);

    font-size: 22px;

    cursor: pointer;
}


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

.hotel-hero {

    background:
        linear-gradient(
            110deg,
            rgba(4, 41, 79, .96),
            rgba(6, 59, 115, .90)
        );

    color: #fff;

    padding: 65px 7%;
}


.hotel-hero-content {

    max-width: 900px;

    margin: auto;

    text-align: center;
}


.hotel-badge {

    display: inline-flex;
    align-items: center;

    gap: 8px;

    background:
        rgba(255, 255, 255, .12);

    border:
        1px solid rgba(255, 255, 255, .2);

    padding: 8px 15px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 700;
}


.hotel-hero h1 {

    margin: 18px 0 12px;

    font-size:
        clamp(32px, 5vw, 54px);

    line-height: 1.05;
}


.hotel-hero p {

    margin: 0 auto;

    max-width: 700px;

    color:
        rgba(255, 255, 255, .88);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   SEARCH
========================================================= */

.hotel-search-section {

    padding: 0 6%;

    margin-top: -28px;

    position: relative;

    z-index: 5;
}


.hotel-search-box {

    max-width: 1200px;

    margin: auto;

    padding: 20px;

    background: #fff;

    border-radius:
        var(--hotel-radius);

    box-shadow:
        var(--hotel-shadow);

    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1.2fr
        auto;

    gap: 12px;
}


.hotel-field {

    min-width: 0;
}


.hotel-field label {

    display: block;

    margin-bottom: 6px;

    font-size: 12px;

    font-weight: 700;

    color: var(--hotel-muted);
}


.hotel-field input,
.hotel-field select {

    width: 100%;

    height: 44px;

    padding: 0 12px;

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

    border-radius: 8px;

    outline: none;

    background: #fff;

    color: var(--hotel-text);
}


.hotel-field input:focus,
.hotel-field select:focus {

    border-color:
        var(--hotel-blue);
}


.hotel-search-button {

    align-self: end;

    height: 44px;

    border: 0;

    padding: 0 18px;

    border-radius: 8px;

    background:
        var(--hotel-green);

    color: #fff;

    font-weight: 700;

    cursor: pointer;
}


.hotel-search-button:hover {

    background:
        var(--hotel-green-dark);
}


/* =========================================================
   SECTIONS
========================================================= */

.hotel-section {

    max-width: 1200px;

    margin: auto;

    padding:
        65px 6% 10px;
}


.hotel-section-title {

    text-align: center;

    margin-bottom: 30px;
}


.hotel-section-title span,
.hotel-section-heading span {

    color:
        var(--hotel-green);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .08em;
}


.hotel-section-title h2,
.hotel-section-heading h2 {

    margin: 8px 0 0;

    color:
        var(--hotel-blue);

    font-size: 30px;
}


/* =========================================================
   CATÉGORIES
========================================================= */

.hotel-services-grid {

    display: grid;

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

    gap: 18px;
}


.hotel-service-card {

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

    border-radius:
        var(--hotel-radius);

    padding: 25px;

    text-align: center;

    background: #fff;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .04);

    transition: .2s ease;
}


.hotel-service-card:hover {

    transform:
        translateY(-3px);

    box-shadow:
        var(--hotel-shadow);
}


.hotel-service-card.active {

    border-color:
        var(--hotel-green);

    box-shadow:
        0 6px 20px
        rgba(32, 168, 107, .12);
}


.hotel-service-icon {

    width: 58px;
    height: 58px;

    margin:
        0 auto 15px;

    border-radius: 50%;

    background:
        rgba(32, 168, 107, .1);

    color:
        var(--hotel-green);

    display: flex;

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

    font-size: 23px;
}


.hotel-service-card h3 {

    margin:
        0 0 9px;

    color:
        var(--hotel-blue);

    font-size: 17px;
}


.hotel-service-card p {

    margin: 0;

    color:
        var(--hotel-muted);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   LISTINGS
========================================================= */

.hotel-section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}


.hotel-count {

    color:
        var(--hotel-muted) !important;

    font-size: 13px !important;

    letter-spacing:
        normal !important;
}


.hotel-listings {

    display: grid;

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

    gap: 18px;
}


/* =========================================================
   CARTE ÉTABLISSEMENT
========================================================= */

.hotel-card {

    position: relative;

    overflow: hidden;

    background: #fff;

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

    border-radius:
        var(--hotel-radius);

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .04);

    transition: .2s ease;

    cursor: pointer;
}


.hotel-card:hover {

    transform:
        translateY(-4px);

    box-shadow:
        var(--hotel-shadow);

    border-color:
        rgba(32, 168, 107, .35);
}


.hotel-card-image {

    height: 205px;

    background:
        #e9edf2;

    overflow: hidden;

    position: relative;
}


.hotel-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .3s ease;
}


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

    transform:
        scale(1.04);
}


.hotel-card-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

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

    background:
        linear-gradient(
            135deg,
            #e9edf2,
            #f5f7fa
        );

    color:
        #98a2b3;

    font-size: 45px;
}


.hotel-card-category {

    position: absolute;

    top: 12px;
    left: 12px;

    padding:
        6px 10px;

    border-radius: 30px;

    background:
        rgba(255, 255, 255, .94);

    color:
        var(--hotel-blue);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;
}


.hotel-card-content {

    padding: 17px;
}


.hotel-card h3 {

    margin:
        0 0 8px;

    color:
        var(--hotel-blue);

    font-size: 18px;
}


.hotel-card-location {

    color:
        var(--hotel-muted);

    font-size: 13px;

    margin-bottom: 11px;
}


.hotel-card-description {

    margin: 0;

    color:
        var(--hotel-muted);

    font-size: 13px;

    line-height: 1.6;

    display:
        -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


.hotel-card-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 15px;

    padding-top: 13px;

    border-top:
        1px solid var(--hotel-border);
}


.hotel-card-photos {

    color:
        var(--hotel-muted);

    font-size: 12px;
}


.hotel-card-link {

    color:
        var(--hotel-green);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   ÉTATS
========================================================= */

.hotel-state {

    background: #fff;

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

    border-radius:
        var(--hotel-radius);

    padding: 35px;

    text-align: center;

    color:
        var(--hotel-muted);
}


.hotel-state h3 {

    margin:
        8px 0;

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


.hotel-state p {

    margin: 0;

    line-height: 1.6;
}


.hotel-state-icon {

    font-size: 35px;

    margin-bottom: 10px;
}


.hotel-loader {

    width: 34px;
    height: 34px;

    margin:
        0 auto 12px;

    border:
        4px solid #dfeee7;

    border-top-color:
        var(--hotel-green);

    border-radius: 50%;

    animation:
        hotelSpin .8s linear infinite;
}


@keyframes hotelSpin {

    to {
        transform:
            rotate(360deg);
    }

}


.hotel-primary-button {

    display: inline-flex;

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

    border: 0;

    background:
        var(--hotel-green);

    color: #fff;

    padding:
        13px 18px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;
}


.hotel-primary-button:hover {

    background:
        var(--hotel-green-dark);
}


/* =========================================================
   PROFESSIONNEL
========================================================= */

.hotel-professional {

    max-width: 1200px;

    margin:
        55px auto 10px;

    padding:
        35px 6%;
}


.hotel-professional-content {

    background:
        var(--hotel-blue);

    color: #fff;

    border-radius:
        var(--hotel-radius);

    padding: 35px;

    display: flex;

    align-items: center;

    gap: 22px;
}


.hotel-professional-icon {

    width: 65px;
    height: 65px;

    flex:
        0 0 65px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .12);

    display: flex;

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

    font-size: 25px;
}


.hotel-professional-content span {

    color:
        #80e0b4;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .08em;
}


.hotel-professional-content h2 {

    margin:
        7px 0;

    font-size: 24px;
}


.hotel-professional-content p {

    margin: 0;

    color:
        rgba(255, 255, 255, .8);

    line-height: 1.5;
}


.hotel-professional-content
.hotel-primary-button {

    margin-left: auto;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
========================================================= */

.hotel-footer {

    margin-top: 55px;

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

    background: #fff;

    padding:
        25px 6%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    color:
        var(--hotel-muted);

    font-size: 12px;
}


.hotel-footer p {

    margin: 0;
}


.hotel-footer div {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;
}


.hotel-footer a {

    color:
        var(--hotel-blue);

    font-weight: 700;
}


/* =========================================================
   OVERLAY
========================================================= */

.hotel-overlay {

    display: none;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1100px) {

    .hotel-search-box {

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


    .hotel-keyword {

        grid-column:
            span 2;
    }


    .hotel-search-button {

        width: 100%;
    }


    .hotel-services-grid {

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


    .hotel-listings {

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

}


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

@media (max-width: 768px) {

    .hotel-sidebar {

        transform:
            translateX(-100%);

        transition:
            transform .25s ease;

        width: 280px;
    }


    .hotel-sidebar.open {

        transform:
            translateX(0);
    }


    .hotel-overlay.active {

        display: block;

        position: fixed;

        inset: 0;

        background:
            rgba(0, 0, 0, .45);

        z-index: 999;
    }


    .hotel-main {

        margin-left: 0;
    }


    .hotel-topbar {

        height: 72px;

        padding:
            0 15px;
    }


    .hotel-menu-button {

        display: block;

        position: absolute;

        left: 15px;
    }


    .hotel-top-logo {

        width: 155px;

        height: 62px;
    }


    .hotel-top-logo img {

        width: 140px;
    }


    .hotel-top-actions span {

        display: none;
    }


    .hotel-top-actions {

        position: absolute;

        right: 15px;
    }


    .hotel-hero {

        padding:
            50px 20px;
    }


    .hotel-hero h1 {

        font-size: 34px;
    }


    .hotel-hero p {

        font-size: 14px;
    }


    .hotel-search-section {

        padding:
            0 15px;

        margin-top: -20px;
    }


    .hotel-search-box {

        grid-template-columns: 1fr;

        padding: 15px;
    }


    .hotel-keyword {

        grid-column: auto;
    }


    .hotel-section {

        padding:
            45px 15px 10px;
    }


    .hotel-section-title h2,
    .hotel-section-heading h2 {

        font-size: 25px;
    }


    .hotel-services-grid {

        grid-template-columns: 1fr;
    }


    .hotel-listings {

        grid-template-columns: 1fr;
    }


    .hotel-card-image {

        height: 210px;
    }


    .hotel-professional {

        padding:
            35px 15px 10px;
    }


    .hotel-professional-content {

        padding: 25px;

        flex-wrap: wrap;
    }


    .hotel-professional-icon {

        width: 55px;
        height: 55px;

        flex-basis: 55px;
    }


    .hotel-professional-content h2 {

        font-size: 21px;
    }


    .hotel-professional-content
    .hotel-primary-button {

        width: 100%;

        margin-left: 0;

        text-align: center;
    }


    .hotel-footer {

        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   PETITS ÉCRANS
========================================================= */

@media (max-width: 420px) {

    .hotel-top-logo img {

        width: 125px;
    }


    .hotel-hero h1 {

        font-size: 29px;
    }


    .hotel-hero {

        padding:
            40px 15px;
    }


    .hotel-section-title h2,
    .hotel-section-heading h2 {

        font-size: 22px;
    }


    .hotel-section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

}
