/* Styles du site — version nettoyée.
   Les règles conditionnelles restent dans leur ordre pour préserver la cascade.
   Présentation : .presentation-grille ; petites images : 10 / 5 / 3 colonnes. */

:root {
    --ink: #293c31;
    --muted: #627066;
    --paper: #faf8f2;
    --accent: #b95537;
    --line: #d9ddd2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.65 system-ui,-apple-system,sans-serif;
}

a {
    color: inherit;
}

button,input,select,textarea {
    font: inherit;
}

a,button,input,select,textarea {
    touch-action: manipulation;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.wrap {
    width: min(1180px,calc(100% - 64px));
    margin: auto;
}

.demo {
    text-align: center;
    padding: 7px 18px;
    background: #e8ebdf;
    font-size: 12px;
    letter-spacing: .03em;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    text-decoration: none;
    display: flex;
    gap: 12px;
    align-items: center;
    font: 32px Georgia,serif;
}

.brand-icon {
    font-size: 42px;
}

.brand small {
    display: block;
    font: 12px/2 system-ui,sans-serif;
    letter-spacing: .19em;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
}

.header nav a {
    text-decoration: none;
}

.button {
    background: var(--ink);
    color: white;
    padding: 15px 24px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.button:hover {
    background: #425b49;
}

.button.small {
    padding: 11px 17px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    margin: 0 0 23px;
}

h1,h2,h3 {
    font-family: Georgia,'Times New Roman',serif;
    font-weight: 400;
    line-height: 1.08;
    margin: 0;
}

h1 {
    font-size: clamp(42px,4.5vw,65px);
    letter-spacing: -.045em;
}

h1 em,h2 em {
    font-weight: 400;
    color: #687b60;
}

h1+p {
    max-width: 420px;
    color: var(--muted);
    margin: 26px 0;
}

.location {
    font-size: 13px;
    margin-top: 25px;
}

.landscape {
    height: 510px;
    background: var(--paper);
    position: relative;
    overflow: hidden;
}

.image-caption {
    position: absolute;
    bottom: 27px;
    left: 30px;
    right: 30px;
    color: white;
    font: italic 23px Georgia,serif;
}

.section-heading {
    display: flex;
    justify-content: space-between;
}

h2 {
    font-size: clamp(34px,3.7vw,49px);
    letter-spacing: -.035em;
}

.section-heading p:last-child {
    color: var(--muted);
    margin-bottom: 0;
}

.room-grid {
    display: grid;
}

.room {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #fffdf8;
}

.room-art {
    background: var(--room-color);
    position: relative;
    overflow: hidden;
}

.room-art:before {
    content: '';
    position: absolute;
    top: 25px;
    right: 25px;
    width: 48px;
    height: 67px;
    background: #ecddb5;
    border: 5px solid #fff5;
    border-radius: 30px 30px 0 0;
}

.room-number {
    position: absolute;
    top: 15px;
    left: 17px;
    color: white;
    font: 20px Georgia,serif;
}

.bed {
    position: absolute;
    width: 66%;
    height: 70px;
    bottom: 40px;
    left: 17%;
    background: #ede5d4;
    border-radius: 5px 5px 2px 2px;
    box-shadow: 0 12px 0 #483e3140;
}

.bed:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 24px;
    top: 32px;
    background: #c8b794;
}

.bed:after {
    content: '';
    position: absolute;
    width: 36%;
    height: 20px;
    left: 9%;
    top: 5px;
    background: #fff9;
    border-radius: 4px;
    box-shadow: 63px 0 #fff9;
}

.room-tag {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: white;
    font-size: 12px;
}

h3 {
    font-size: 26px;
}

.room-content p {
    color: var(--muted);
}

.details {
    min-height: 46px;
    font-size: 12px!important;
}

.room-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
}

.room-bottom strong {
    font-size: 19px;
}

.room-bottom a {
    font-weight: 700;
}

.footnote {
    color: var(--muted);
}

#situation {
    background: var(--paper);
}

#chambres {
    background: #dcded1;
}

.about {
    background: #e9eddf;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lead {
    font: 25px/1.5 Georgia,serif;
    margin-top: 0;
}

.booking {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
}

.booking>div>p:not(.eyebrow) {
    max-width: 390px;
    color: var(--muted);
}

.text-link {
    font-weight: 600;
}

form {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
}

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

label {
    display: block;
    font-weight: 600;
    margin-bottom: 17px;
}

input,select,textarea {
    width: 100%;
    display: block;
    border: 1px solid #aeb8ac;
    border-radius: 3px;
    background: #fff;
    color: var(--ink);
    min-width: 0;
}

textarea {
    resize: vertical;
}

.optional {
    font-weight: 400;
}

.check {
    display: flex;
    font-size: 12px;
    align-items: flex-start;
}

.check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice {
    padding: 15px;
    margin-bottom: 22px;
    background: #fff0e9;
    border-left: 3px solid var(--accent);
    font-size: 14px;
}

.notice ul {
    padding-left: 20px;
}

.success {
    background: #edf5e7;
    border-color: #58794b;
}

.trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    font-size: 11px;
}

.skip {
    position: absolute;
    left: 15px;
    top: -100px;
    background: white;
    padding: 10px;
    z-index: 10;
}

.skip:focus {
    top: 15px;
}

@media(max-width:1050px) {
    .header {
        flex-wrap: wrap;
    }

    .landscape {
        height: 460px;
    }

}

@media(max-width:680px) {
    .wrap {
        width: calc(100% - 36px);
    }

    .header {
        gap: 20px;
    }

    .header nav {
        gap: 17px;
        flex-wrap: wrap;
        font-size: 12px;
    }

    .header .button {
        padding: 9px 12px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-copy>p {
        max-width: none;
    }

    .landscape {
        height: 350px;
    }

    .house {
        top: 165px;
        left: 28%;
        transform: scale(.85);
    }

    .back {
        top: 175px;
    }

    .front {
        top: 265px;
    }

    .sun {
        top: 28px;
        width: 70px;
        height: 70px;
    }

    .image-caption {
        font-size: 20px;
        bottom: 20px;
    }

    .section-heading {
        display: block;
    }

    .room-grid,.about-grid,.booking {
        grid-template-columns: 1fr;
    }

    .details {
        min-height: 0;
    }

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

    footer {
        display: block;
    }

    footer span {
        display: block;
        margin-bottom: 10px;
    }

    .eyebrow {
        font-size: 10px;
    }

    .bed:after {
        box-shadow: 85px 0 #fff9;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

}

body {
    line-height: 1.5;
}

.header {
    padding-top: 32px;
    border-bottom: 1px solid var(--line);
}

.hero {
    padding-bottom: 100px;
    gap: 72px;
}

.hero-copy > p:not(.eyebrow) {
    margin-top: 6px;
    margin-bottom: 16px;
}

.hero .location {
    margin-top: 32px;
    margin-bottom: 0;
}

.section {
    padding-top: 104px;
    padding-bottom: 104px;
}

.rooms {
    border-top: 1px solid var(--line);
}

.section-heading {
    align-items: start;
    gap: 48px;
    margin-bottom: 48px;
}

.section-heading > p {
    max-width: 34ch;
}

h2 {
    line-height: 1.2;
}

h3 {
    line-height: 1.25;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

.eyebrow {
    margin-bottom: 24px;
}

.room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.room {
    display: flex;
    flex-direction: column;
}

.room-art {
    height: 280px;
    flex-shrink: 0;
}

.room-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.room-content h3 {
    margin-bottom: 20px;
    font-size: 30px;
}

.room-content p {
    font-size: 16px;
    margin-bottom: 0px;
    max-width: 48ch;
}

.room-content .details {
    min-height: 0;
    margin-bottom: 28px;
    font-size: 14px !important;
}

.room-bottom {
    margin-top: auto;
    padding-top: 24px;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
}

.room-bottom a {
    padding-top: 8px;
    padding-bottom: 8px;
}

.rooms > .footnote {
    margin-top: 28px;
    margin-bottom: 0;
}

.about p {
    margin-bottom: 16px;
}

.about-grid {
    gap: 80px;
    align-items: start;
}

.about-grid p {
    max-width: 56ch;
}

.about-grid .lead {
    margin-bottom: 32px;
}

.about-grid .footnote {
    margin-top: 32px;
    margin-bottom: 0;
}

.booking {
    gap: 64px;
    align-items: start;
}

.booking h2 {
    margin-bottom: 32px;
}

.booking > div > p:not(.eyebrow) {
    margin-bottom: 28px;
}

form {
    padding: 40px;
}

.form-grid {
    gap: 24px;
    margin-bottom: 26px;
}

.form-grid label {
    margin-bottom: 0;
}

form > label {
    margin-bottom: 26px;
}

label {
    font-size: 14px;
    line-height: 1.6;
}

input, select, textarea {
    padding: 13px;
    margin-top: 10px;
}

.check {
    gap: 14px;
    margin-top: 28px;
}

.footnote {
    font-size: 13px;
    line-height: 1.7;
}

form .button {
    width: 100%;
}

form > .footnote:last-child {
    margin-top: 20px;
    margin-bottom: 0;
}

footer {
    padding-top: 36px;
    padding-bottom: 36px;
    line-height: 1.8;
}

@media (max-width: 1050px) {
    .hero {
        gap: 36px;
    }

    .booking {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .booking > div > p:not(.eyebrow) {
        max-width: 60ch;
    }

    .booking form {
        width: 100%;
        max-width: 760px;
    }

    .about-grid {
        gap: 40px;
    }

}

@media (max-width: 680px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .header {
        padding-top: 24px;
    }

    .header nav {
        row-gap: 16px;
    }

    .hero {
        padding-bottom: 64px;
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(36px, 9vw, 48px);
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading > p {
        margin-top: 24px;
    }

    .room-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .room-art {
        height: 240px;
    }

    .room-content {
        padding: 26px;
    }

    .about-grid {
        gap: 32px;
    }

    .booking {
        gap: 36px;
    }

    form {
        padding: 24px;
    }

    .form-grid {
        gap: 22px;
    }

}



.situation-image {
    background: url("photos/panorama.jpg") center / cover no-repeat;
    min-height: 400px;
    padding: 40px;
    align-self: stretch;
    border-radius: 8px;
    color: white;
    text-shadow: 0px 0px 5px black;
}

.situation-image2 {
    background: url("photos/telepherique.jpg") center / cover no-repeat;
    min-height: 600px;
    padding: 40px;
    align-self: stretch;
    border-radius: 8px;
}

.situation-image3 {
    background: url("photos/namur3.jpg") center / cover no-repeat;
    min-height: 600px;
    padding: 40px;
    align-self: stretch;
    border-radius: 8px;
}
.situation-image4 {
    background: url("photos/saintloup.jpg") center / cover no-repeat;
    min-height: 600px;
    padding: 40px;
    align-self: stretch;
    border-radius: 8px;
}
.situation-image5 {
    background: url("photos/bourse.jpg") center / cover no-repeat;
    min-height: 600px;
    padding: 40px;
    align-self: stretch;
    border-radius: 8px;
}

.situation-image .eyebrow,
.situation-image h2,
.situation-image h2 em {
    color: white;
}

.section-retour {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

section:has(.section-retour) {
    padding-bottom: 24px;
}

.retour-haut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--ink);
    background: transparent;
    text-decoration: none;
    font-size: 16px;
}

.retour-haut:hover {
    background: var(--ink);
    color: white;
}

#images {
    background-color: #d9ddd2;
    padding-top: 40px;
    padding-bottom: 24px;
}

.petites-images h2 {
    text-align: center;
    margin-bottom: 28px;
}



@media (max-width: 680px) {
    .situation-image {
        min-height: 280px;
        padding: 24px;
    }

}

.menuphone {
    font-size: 16px;
}

@media (max-width: 680px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .header .brand {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .header nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    header .brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        text-align: center;
    }

    .header .brand-logo {
        display: block;
        width: 60px;
        height: auto;
    }

    .header .brand-text {
        font-size: 28px;
        display: block;
        width: 100%;
    }

    .header .brand-text small {
        display: block;
        margin-top: 10px;
        font-size: 13px;
        letter-spacing: 0;
        line-height: 1.4;
    }

}

.photo-accueil {
    position: relative;
    align-self: end;
}

.photo-accueil img {
    display: block;
    width: 100%;
    height: auto;
}

#images .petites-images-grille {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
    width: 100%;
}

#images .petites-images-grille img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    #images .petites-images-grille {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

}

@media (max-width: 680px) {
    #images .petites-images-grille {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--paper);
    box-shadow: 0 0 0 100vmax var(--paper);
    clip-path: inset(0 -100vmax);
}

html {
    scroll-padding-top: 106px;
}

@media (max-width: 680px) {
    .header {
        position: static;
    }

    html {
        scroll-padding-top: 0px;
    }

}

.header .brand-title {
    font-size: 31px;
}

@media (max-width: 680px) {
    .header .brand-title {
        font-size: 26px;
    }

}

.header {
    padding-bottom: 16px;
}

.hero {
    padding-top: 28px;
}

.image-large {
    display: block;
    width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: 8px;
    grid-column: 1 / -1;
}

.image-interchangeable {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.image-interchangeable img {
    display: block;
    object-position: center top;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#situation .about-grid {
    column-gap: 40px;
    row-gap: 20px;
}

.photo-accueil .image-caption {
    position: static;
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--ink);
    color: white;
    font: 14px/1.5 system-ui, sans-serif;
    text-align: center;
}

.photos-presentation .photo-accueil {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.photos-presentation .photo-accueil img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.photos-presentation .image-caption {
    flex: 1;
}

@media (max-width: 680px) {
    .photos-presentation .photo-accueil img {
        height: 240px;
    }

}

/* Présentation : bannière sur toute la largeur du conteneur .wrap,
   puis contenu sur deux colonnes (une colonne sur mobile). */
#presentation {
    display: block;
}

#presentation .presentation-banniere {
    position: relative;
    isolation: isolate;
    width: 100%;
    /*height: auto;*/
    height: clamp(400px, 45vw, 500px);
    margin-bottom: 40px;
    overflow: hidden;
}

#presentation .presentation-banniere > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

#presentation .presentation-banniere::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 80%);*/
    pointer-events: none;
}

#presentation .presentation-banniere__texte {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    padding: 20px 20px 24px;
    /*padding: clamp(24px, 4vw, 48px) 20px;*/
    color: #3b4c60;
    text-align: center;
}

#presentation .presentation-banniere__texte h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.1;
}

#presentation .presentation-banniere__texte h2 em {
    color: inherit;
}
@media (max-width: 680px) {
    #presentation .presentation-banniere__texte h3 {
        font-size: clamp(16px, 4.5vw, 22px);
        white-space: nowrap;
        line-height: 1.2;
    }
}

#presentation .presentation-banniere__texte p {
    max-width: 650px;
    margin: 20px auto 0;
    color: inherit;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.4;
}

#presentation .presentation-grille {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 60px;
    align-items: stretch;
}

#presentation .photo-accueil {
    display: grid;
    grid-template-rows: auto auto auto;
    align-self: start;
    min-width: 0;
    overflow: hidden;
}

#presentation .photo-accueil > img {
    display: block;
    width: 100%;
    height: 608px;
    object-fit: cover;
    object-position: center;
}

#presentation .presentation-banniere {
    margin-bottom: 0;
}

#presentation .presentation-accroche {
    margin: 16px 0 40px;
    text-align: center;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.4;
}

.photo-accueil .photo-description {
    padding: 20px;
    background: var(--line);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
}

.photo-accueil .photo-description p {
    margin: 0;
}

.photo-accueil .photo-description p + p {
    margin-top: 12px;
}

@media (max-width: 680px) {
    #presentation .presentation-grille {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #presentation .presentation-banniere {
        margin-bottom: 32px;
    }

    #presentation .photo-accueil > img {
        height: 400px;
    }
}

main#contenu .photo-section {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

#images .petites-images-grille > img {
    width: 100%;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    object-fit: fill !important;
    display: block;
}

html {
    scroll-padding-top: 92px;
}

@media (max-width: 680px) {
    html {
    scroll-padding-top: 0px;
    }
}

body {
    scroll-padding-top: 0;
}

section[id] {
    scroll-margin-top: 0;
}

.section.section-compacte {
    padding-top: 32px;
}

.section-compacte .eyebrow:first-child {
    margin-top: 0;
}
#photos-title {
    letter-spacing: 0em;
}

/* Menu ordinateur */
.menu-toggle {
    display: none;
}

#menu-principal {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e97118;
}

#menu-principal a {
    color: inherit;
    text-decoration: none;
}

#menu-principal a + a {
    border-left: 1px solid currentColor;
    padding-left: 12px;
}

.menu-toggle:focus-visible,
#menu-principal a:focus-visible {
    outline: 2px solid #e97118;
    outline-offset: 4px;
}

/* Menu téléphone */
@media (max-width: 680px) {
    .menu-toggle {
        position: fixed;
        top: calc(12px + env(safe-area-inset-top, 0px));
        right: calc(12px + env(safe-area-inset-right, 0px));
        z-index: 1001;

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

        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        border-radius: 10px;

        background: #e97118;
        color: #fff;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        box-shadow: 0 3px 12px rgb(0 0 0 / 15%);
    }

    #menu-principal {
        position: fixed;
        top: calc(68px + env(safe-area-inset-top, 0px));
        right: calc(12px + env(safe-area-inset-right, 0px));
        z-index: 1000;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: 220px;
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 90px);
        overflow-y: auto;
        box-sizing: border-box;
        padding: 8px;

        background: #fff;
        border-radius: 12px;
        box-shadow: 0 6px 24px rgb(0 0 0 / 18%);
    }

    #menu-principal.is-open {
        display: flex;
    }

    #menu-principal a,
    #menu-principal a + a {
        display: block;
        margin: 0;
        padding: 13px 16px;
        border: 0;
        border-radius: 6px;
    }

    #menu-principal a:hover,
    #menu-principal a:focus-visible {
        background: #fff1e7;
    }
}

@media (max-width: 680px) {
    .header {
        z-index: 2000;
        overflow: visible;
    }
}
@media (max-width: 680px) {
    .header {
        position: relative;
    }
}

.wrap {
    width: min(1180px, calc(100% - 64px));
    margin: auto;
}

@media (max-width: 680px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .header {
        clip-path: none;
        box-shadow: none;
        overflow: visible;
        z-index: 2000;
    }
}
