/* Les Pattes du Lot : pierre blonde du Quercy, ocre des toits, vert des chênes, gris bleu de la rivière.
   Signature : les murets en pierre sèche qui séparent les sections, et les galets du calendrier. */
:root {
    --pierre: #ebe4d4;
    --pierre-claire: #f6f1e7;
    --pierre-foncee: #d6c9ad;
    --joint: #bfae8e;
    --ocre: #b4702a;
    --ocre-fonce: #8d5620;
    --ocre-clair: #f1e3cf;
    --chene: #4f6a44;
    --chene-clair: #dfe6d6;
    --riviere: #5f7f8c;
    --riviere-claire: #dde7ea;
    --terre: #3b2f25;
    --terre-douce: #6b5c4e;
    --blanc: #fffdf8;
    --rouge: #a8402d;
    --display: "Fraunces", "Georgia", serif;
    --texte: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--texte); font-size: 1.05rem; line-height: 1.6; color: var(--terre); background: var(--pierre-claire); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.15; }
h2 { font-size: 2.1rem; margin-bottom: .6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--ocre-fonce); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.muted { color: var(--terre-douce); }
.centre { text-align: center; }
.eyebrow { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--ocre-fonce); font-size: 1.05rem; margin-bottom: .35rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-family: var(--texte); font-size: 1rem; cursor: pointer; }
.btn-primary { background: var(--ocre); color: var(--blanc); }
.btn-primary:hover { background: var(--ocre-fonce); }
.btn-outline { border-color: var(--joint); color: var(--terre); background: transparent; }
.btn-outline:hover { background: var(--pierre); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem .8rem; font-size: .9rem; }

/* ---- Barre ---- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(246, 241, 231, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--pierre-foncee); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--terre); font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.brand svg { width: 36px; height: 36px; flex: none; }
.links { display: flex; align-items: center; gap: .2rem; }
.links a { color: var(--terre-douce); text-decoration: none; font-weight: 600; padding: .5rem .85rem; border-radius: 999px; font-size: .97rem; }
.links a:not(.btn):hover { background: var(--pierre); color: var(--terre); }
.links .btn { margin-left: .5rem; padding: .6rem 1.2rem; }
.links a.btn-primary, .links a.btn-primary:hover { color: var(--blanc); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--joint); border-radius: 999px; background: var(--blanc); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--terre); border-radius: 2px; }

/* ---- Héros : pierre pleine page, titre en Fraunces ---- */
.hero { background: var(--pierre); background-image: radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.55), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(180, 112, 42, .12), transparent 50%); border-bottom: 1px solid var(--pierre-foncee); }
.hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 4.5rem; padding-bottom: 4rem; max-width: 50rem; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 500; margin-bottom: .9rem; }
.hero h1 em { font-style: italic; color: var(--ocre-fonce); }
.hero .accroche { font-size: 1.2rem; color: var(--terre-douce); max-width: 36rem; margin-bottom: 1.6rem; }
.hero .cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.6rem; }
.faits { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center; align-items: baseline; color: var(--terre-douce); font-size: .98rem; }
.faits li b { color: var(--terre); font-family: var(--display); font-size: 1.25rem; font-weight: 600; margin-right: .3rem; }

/* Illustration : la cazelle sur le causse (tout en CSS/SVG, en attendant vos photos) */
.cazelle-scene { position: relative; aspect-ratio: 1 / .92; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #d9e3e8 0%, #e8e3d3 45%, #cfc3a6 46%, #c6b893 100%); border: 1px solid var(--pierre-foncee); }
.cazelle-scene[hidden] { display: none; }
.cazelle-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cazelle-scene .legende { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 253, 248, .9); border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; color: var(--terre-douce); }

/* ---- Muret en pierre sèche : séparateur de sections ---- */
.muret { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 auto; max-width: 68rem; list-style: none; justify-content: center; height: 34px; overflow: hidden; }
.muret li { height: 15px; border-radius: 6px 8px 7px 9px; background: var(--pierre-foncee); border: 1px solid var(--joint); }
.muret li:nth-child(3n) { width: 54px; background: #ddd2bb; }
.muret li:nth-child(3n+1) { width: 38px; }
.muret li:nth-child(3n+2) { width: 70px; background: #d0c3a4; }
.muret li:nth-child(5n) { width: 26px; }
.muret li:nth-child(7n) { background: #e2d8c2; }

/* ---- Sections ---- */
.section { padding: 4rem 0; }
.section-alt { background: var(--blanc); border-top: 1px solid var(--pierre-foncee); border-bottom: 1px solid var(--pierre-foncee); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.deux.inverse > :first-child { order: 2; }
.lead { font-size: 1.12rem; color: var(--terre-douce); max-width: 36rem; }

/* Le lieu : trois cartes "pierre" */
.lieu { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem; margin-top: 1.5rem; }
.lieu article { background: var(--blanc); border: 1px solid var(--pierre-foncee); border-radius: 18px; padding: 1.4rem; }
.lieu .pic { width: 2.8rem; height: 2.8rem; border-radius: 12px; display: grid; place-items: center; background: var(--chene-clair); color: var(--chene); margin-bottom: .8rem; }
.lieu .pic.ocre { background: var(--ocre-clair); color: var(--ocre-fonce); }
.lieu .pic.riviere { background: var(--riviere-claire); color: var(--riviere); }
.lieu .pic svg { width: 1.4rem; height: 1.4rem; }
.lieu h3 { margin-bottom: .35rem; }
.lieu p { margin: 0; color: var(--terre-douce); font-size: .98rem; }

/* Leur quotidien : liste à puces ocre */
.liste-simple { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.liste-simple li { padding-left: 1.6rem; position: relative; color: var(--terre-douce); }
.liste-simple li::before { content: ""; position: absolute; left: .2rem; top: .55rem; width: .6rem; height: .6rem; border-radius: 45% 55% 50% 50%; background: var(--ocre); }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; counter-reset: e; }
.etapes li { background: var(--pierre); border-radius: 18px; padding: 1.3rem 1.3rem 1.3rem 3.9rem; position: relative; }
.etapes li::before { counter-increment: e; content: counter(e); position: absolute; left: 1.2rem; top: 1.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ocre); color: var(--blanc); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.etapes b { display: block; font-family: var(--display); font-weight: 600; margin-bottom: .2rem; }
.etapes span { color: var(--terre-douce); font-size: .98rem; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.tarif { position: relative; background: var(--blanc); border: 1px solid var(--pierre-foncee); border-radius: 18px; padding: 1.4rem; text-align: center; }
.tarif.mis-en-avant { border-color: var(--ocre); }
.tarif .duree { color: var(--terre-douce); font-weight: 600; }
.tarif .prix { font-family: var(--display); font-size: 2.3rem; font-weight: 600; color: var(--terre); margin: .3rem 0 .1rem; }
.tarif .unite { color: var(--terre-douce); font-size: .9rem; }
.tarif .tag { position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); background: var(--ocre); color: var(--blanc); font-size: .78rem; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.options { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.options li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--blanc); border: 1px solid var(--pierre-foncee); border-radius: 14px; padding: .8rem 1.1rem; }
.options .desc { display: block; color: var(--terre-douce); font-size: .92rem; }
.options .prix { font-family: var(--display); font-weight: 600; white-space: nowrap; }
.options .prix small { display: block; font-family: var(--texte); font-weight: 400; color: var(--terre-douce); font-size: .8rem; text-align: right; }
.sous-titre { margin-top: 2rem; }

/* Disponibilités : galets de rivière */
.dispos-tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.dispos-nav { display: flex; align-items: center; gap: .6rem; }
.dispos-mois { font-family: var(--display); font-weight: 600; text-transform: capitalize; min-width: 10rem; text-align: center; }
.legende { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .9rem; color: var(--terre-douce); }
.legende i { display: inline-block; width: .85rem; height: .8rem; border-radius: 45% 55% 50% 50%; margin-right: .35rem; vertical-align: middle; border: 1px solid rgba(0,0,0,.08); }
.dispos { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; margin: 1.25rem auto 0; max-width: 40rem; }
.dispos div { aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; display: grid; place-items: center; font-weight: 600; background: var(--chene-clair); color: var(--chene); font-size: .95rem; line-height: 1.1; }
.dispos div small { font-weight: 400; font-size: .7rem; opacity: .75; }
.dispos .att { background: var(--ocre-clair); color: var(--ocre-fonce); }
.dispos .full, .dispos .closed { background: var(--pierre); color: var(--terre-douce); text-decoration: line-through; }
.dispos .passe { background: transparent; color: var(--joint); }
.dispos .vide { background: transparent; }
.dispos .aujourdhui { box-shadow: inset 0 0 0 2px var(--ocre); }

/* Conditions */
.conditions { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; margin-top: 1.25rem; }
.conditions ul { margin: 0; padding-left: 1.2rem; color: var(--terre-douce); }
.conditions li + li { margin-top: .35rem; }

/* FAQ */
.faq { display: grid; gap: .5rem; max-width: 46rem; margin-top: 1.25rem; }
.faq details { background: var(--blanc); border: 1px solid var(--pierre-foncee); border-radius: 14px; padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ocre); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--terre-douce); padding-bottom: 1rem; }

/* Contact */
.contact-infos { display: flex; flex-direction: column; gap: .35rem; font-size: 1.05rem; }
.horaires { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .3rem; max-width: 24rem; }
.horaires li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .8rem; background: var(--pierre); border-radius: 10px; }
.horaires li.ferme { color: var(--terre-douce); }
.horaires li span:first-child { font-weight: 600; text-transform: capitalize; }
.carte-contact { background: var(--blanc); border: 1px solid var(--pierre-foncee); border-radius: 18px; padding: 1.6rem; }
.carte-contact h3, .conditions h3 { margin-bottom: .9rem; }
.carte-contact p:last-child { margin-bottom: 0; }

/* Pied */
.pied { background: var(--terre); color: var(--pierre); padding: 2.5rem 0 1.5rem; }
.pied .colonnes { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.pied .brand { color: var(--pierre-claire); }
.pied a { color: var(--pierre); text-decoration: none; display: block; margin-bottom: .4rem; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied h4 { margin: 0 0 .6rem; font-family: var(--display); font-weight: 600; color: var(--blanc); }
.pied .bas { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--joint); }
.pied .bas a { display: inline; margin: 0; color: var(--joint); }

@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3rem; gap: 2rem; }
    .deux, .pied .colonnes { grid-template-columns: 1fr; }
    .deux.inverse > :first-child { order: 0; }
    .section { padding: 3rem 0; }
    h2 { font-size: 1.7rem; }
    .burger { display: flex; }
    .links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: var(--pierre-claire); border-bottom: 1px solid var(--pierre-foncee); padding: .75rem 1.5rem 1.25rem; gap: .25rem; }
    .links.ouvert { display: flex; }
    .links a { padding: .8rem .9rem; border-radius: 12px; }
    .links .btn { margin: .5rem 0 0; }
}
