:root {
    --teal: #28a8a8;
    --dark: #242424;
    --light: #f6f6f3
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #444;
    line-height: 1.6;
    background: white
}

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

.top {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(25, 25, 25, .94);
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 2px 12px #0004
}

.logo {
    height: 58px
}

.nav {
    display: flex;
    gap: 22px;
    align-items: center;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase
}

.nav a:hover,
.nav a.active {
    color: #6fd6d3
}

.book {
    background: var(--teal);
    padding: 10px 16px;
    border-radius: 2px
}

.menu {
    display: none;
    color: #fff;
    font-size: 28px
}

.hero {
    min-height: 670px;
    background: linear-gradient(#0004, #0006), url('images/hero-pool.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 78px
}

.hero h1 {
    font-size: 64px;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px
}

.hero h2 {
    font-weight: 300;
    font-size: 27px;
    margin: 5px 0 28px
}

.btn {
    display: inline-block;
    padding: 12px 22px;
    margin: 5px;
    border: 1px solid white;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px
}

.btn.fill {
    background: var(--teal);
    border-color: var(--teal)
}

.team-anchor {
    display: block;
    width: max-content;
    margin: 14px auto 5px
}

section {
    padding: 75px 7%
}

.title {
    text-align: center;
    font-size: 38px;
    font-weight: 300;
    color: #333;
    margin: 0 0 42px
}

.intro {
    max-width: 850px;
    margin: auto;
    text-align: center
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px
}

.card {
    background: #fff;
    box-shadow: 0 4px 18px #0002;
    overflow: hidden
}

.card img {
    width: 100%;
    height: 230px;
    object-fit: cover
}

.card .pad {
    padding: 24px
}

.card h3 {
    margin: 0 0 8px;
    font-weight: 400;
    font-size: 24px
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px
}

.split .photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: url('images/tortue-verte-dans-bleu.jpg') center/cover
}

.split .photo video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media(prefers-reduced-motion:reduce) {
    .split .photo video {
        display: none
    }
}

.split .copy {
    padding: 70px;
    background: var(--light)
}

.split .copy p a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px
}

.band {
    background: var(--teal);
    color: #fff;
    text-align: center;
    padding: 48px 8%
}

.team-section {
    background: #fff;
    padding: 64px 8% 72px;
    scroll-margin-top: 90px
}

.team-section .title {
    margin-top: 0
}

.team-departments {
    width: min(920px, 100%);
    margin: 0 auto;
    border-top: 1px solid #d9d5cd
}

.team-department {
    display: flex;
    align-items: center;
    min-height: 84px;
    padding: 18px 24px;
    border-bottom: 1px solid #d9d5cd
}

.team-department h3 {
    margin: 0;
    color: var(--teal);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400
}

.team-department--featured {
    display: block;
    padding-top: 28px;
    padding-bottom: 32px
}

.team-member {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 22px
}

.team-member img {
    display: block;
    width: 180px;
    height: 180px;
    aspect-ratio: 1;
    border-radius: 9999px;
    object-fit: cover;
    object-position: center
}

.team-description {
    max-width: 620px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0 24px
}

.team-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 9999px;
    object-fit: cover;
    object-position: center;
    clip-path: circle(50% at 50% 50%)
}

.team-gallery--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 740px
}

.team-gallery--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 550px
}

.restaurant-team-description {
    max-width: 760px
}

@media(max-width:600px) {
    .team-member {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .team-member img {
        width: 150px;
        height: 150px
    }

    .team-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .team-gallery--three img:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 8px);
        justify-self: center
    }
}

.pagehero,
.restaurant-hero {
    height: 420px;
    background: linear-gradient(#0005, #0007), url('images/hero-pool.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 78px
}

.restaurant-hero {
    background-image: linear-gradient(#0005, #0007), url('images/restaurant-dish.jpg')
}

.pagehero h1,
.restaurant-hero h1 {
    font-size: 48px;
    font-weight: 300
}

.content {
    max-width: 1100px;
    margin: auto
}

.restaurant-intro {
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 58px;
    align-items: center
}

.restaurant-intro h2,
.restaurant-gallery h2 {
    margin: 0 0 20px;
    color: #333;
    font-size: 34px;
    font-weight: 300;
    line-height: 1.25
}

.restaurant-intro img,
.restaurant-gallery img {
    width: 100%;
    height: 390px;
    object-fit: cover
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase
}

.restaurant-gallery {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: stretch;
    padding: 0;
    background: var(--light)
}

.restaurant-gallery img {
    height: 100%;
    min-height: 440px
}

.restaurant-gallery__copy {
    padding: 60px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.room {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 55px;
    align-items: center
}

.room:nth-child(even) img {
    order: 2
}

.room img {
    width: 100%;
    height: 340px;
    object-fit: cover
}

.price {
    color: var(--teal);
    font-size: 20px
}

.tourgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.tour {
    border: 1px solid #ddd;
    background: #fff
}

.tour img {
    width: 100%;
    height: 190px;
    object-fit: cover
}

.tour div {
    padding: 20px
}

.tour h3 {
    margin-top: 0
}

.form {
    max-width: 720px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form input,
.form textarea {
    padding: 14px;
    border: 1px solid #ccc;
    font: inherit
}

.form textarea {
    grid-column: 1/-1;
    height: 150px
}

.form button {
    grid-column: 1/-1;
    border: 0;
    background: var(--teal);
    color: #fff;
    padding: 15px;
    text-transform: uppercase
}

.footer {
    background: #222;
    color: #bbb;
    padding: 42px 7%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px
}

.footer img {
    height: 68px
}

.copyright {
    background: #171717;
    color: #777;
    text-align: center;
    padding: 14px;
    font-size: 13px
}

.booking-widget-open {
    overflow: hidden
}

.booking-widget-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #0009
}

.booking-widget-modal[hidden] {
    display: none
}

.booking-widget-modal__content {
    position: relative;
    width: min(100%, 760px);
    max-height: 90vh;
    overflow: auto;
    padding: 46px 24px 24px;
    background: #fff;
    border-radius: 4px
}

.booking-widget-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: 0;
    background: none;
    color: #333;
    font-size: 32px;
    line-height: 1;
    cursor: pointer
}

@media(max-width:850px) {
    .nav {
        display: none
    }

    .menu {
        display: block
    }

    .hero h1 {
        font-size: 43px
    }

    .cards,
    .tourgrid,
    .footer,
    .restaurant-intro,
    .restaurant-gallery {
        grid-template-columns: 1fr
    }

    .split,
    .room {
        grid-template-columns: 1fr
    }

    .split .photo {
        min-height: clamp(280px, 60vw, 480px)
    }

    .room:nth-child(even) img {
        order: 0
    }

    .form {
        grid-template-columns: 1fr
    }

    .form textarea,
    .form button {
        grid-column: 1
    }

    .hero {
        min-height: 560px
    }

    .restaurant-intro {
        gap: 28px
    }

    .restaurant-gallery img {
        height: 310px;
        min-height: 0
    }

    .restaurant-gallery__copy {
        padding: 48px 7%
    }

    .booking-widget-modal {
        padding: 12px
    }

    .booking-widget-modal__content {
        padding: 46px 12px 12px
    }
}
