/* =============================================================
   CARNET DE VOYAGE — direction visuelle de MadagascarMouss.pdf
   Modifier ce fichier pour le thème ; styles.css conserve les
   composants fonctionnels et leurs états accessibles.
   ============================================================= */
:root {
  --forest: #163f35;
  --deep: #143e34;
  --sand: #f6eace;
  --paper: #fff7e5;
  --gold: #a4722c;
  --muted: #5c6554;
  --line: #d7c7a6;
  --hand: 'Caveat', cursive;
}
body {
  background: #e9e1cf;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23967e51' opacity='.10' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
main, .site-header, .site-footer {
  max-width: 1280px;
  margin-inline: auto;
}
main {
  background-color: var(--paper);
  background-image: inherit;
  box-shadow: 0 2px 45px #67471716;
}
.site-header {
  height: 76px;
  padding-inline: 38px;
  background: #fff9eadb;
  border-bottom: 1px solid #b695563d;
}
.brand { font-weight: 700; }
.brand-mark { border-radius: 50%; height: 44px; width: 44px; font-size: 2.1rem; border-style: double; }
.brand small { font-size: .625rem; }
nav { gap: 24px; }
.nav-book { min-height: 42px; padding: 10px 18px; }
.btn { border-radius: 1px; }
.hero {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  color: var(--forest);
  padding: 30px 0 22px;
  text-align: center;
  isolation: isolate;
}
.botanical-frame {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.cover-heading { position: relative; z-index: 5; width: 83%; margin: 0 auto; }
.cover-country { font: 600 .8rem/1.4 var(--sans); letter-spacing: .25em; color: #84632f; }
.cover-country span { padding-inline: 12px; font-size: .55rem; }
.hero h1 {
  font-size: clamp(3rem, 6.6vw, 6.5rem);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.055em;
  max-width: none;
  margin: 8px auto 0;
}
.cover-script { font: 500 clamp(2rem, 3.4vw, 3.25rem)/1.1 var(--hand); margin: 0 0 12px; }
.cover-address {
  display: inline-block;
  font: 600 1.05rem/1.3 var(--serif);
  background: #dfe4cbbb;
  padding: 6px 35px;
  clip-path: polygon(1% 0, 99% 3%, 100% 88%, 77% 100%, 0 94%);
}
.cover-address span { padding: 0 10px; }
.cover-landscape {
  margin: 16px auto 0;
  position: relative;
  height: 268px;
  width: 93%;
  transform: rotate(-.5deg);
  clip-path: polygon(0 3%, 18% 0, 52% 2%, 78% 0, 100% 3%, 99.5% 94%, 84% 100%, 60% 97%, 38% 100%, 13% 96%, 0 99%);
}
.cover-landscape > img { height: 100%; object-position: 50% 57%; }
.cover-landscape figcaption {
  position: absolute;
  right: 8%;
  top: 18%;
  font: 500 1.8rem/1 var(--hand);
  background: #fff8e7ed;
  box-shadow: 0 3px 10px #4e4c2020;
  padding: 16px 22px;
  transform: rotate(-8deg);
}
.landscape-credit {
  position: absolute;
  bottom: 23px;
  right: 7%;
  font-size: .65rem;
  background: #fff7e5d9;
  padding: 2px 7px;
}
.cover-postcards {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 80%;
  gap: 16px;
  margin: -30px auto 18px;
  align-items: start;
}
.postcard {
  position: relative;
  background: #fff8e7;
  padding: 5px 5px 10px;
  box-shadow: 1px 4px 5px #7253262b;
  border: 1px solid #d9cbb0;
  transform: rotate(-3deg);
  transition: transform .2s;
}
.postcard:nth-child(2) { transform: rotate(2deg) translateY(5px); }
.postcard:nth-child(3) { transform: rotate(-1.5deg); }
.postcard:nth-child(4) { transform: rotate(3deg) translateY(4px); }
.postcard:hover { transform: translateY(-6px) rotate(0); }
.postcard img { height: 120px; }
.postcard-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -14px auto 6px;
  position: relative;
  color: #fff9eb;
  background: #377278;
  border: 2px solid #fff3d6;
  border-radius: 50%;
  outline: 1px solid #377278;
  font: 600 1rem var(--serif);
}
.postcard:nth-child(2) .postcard-number { background: #af8035; outline-color: #af8035; }
.postcard:nth-child(3) .postcard-number { background: #738b43; outline-color: #738b43; }
.postcard:nth-child(4) .postcard-number { background: #ba6146; outline-color: #ba6146; }
.postcard strong { display: block; font: 700 1.13rem/1.1 var(--serif); }
.postcard > span:not(.postcard-number) { display: block; font-size: .65rem; margin-top: 3px; }
.postcard > svg { display: block; margin: 9px auto 0; width: 22px; height: 22px; }
.hero-badges { position: relative; z-index: 5; justify-content: center; gap: 25px; margin: 22px 0 0; }
.hero-badges > span { font-size: .8rem; background: #e5e8d3be; padding: 7px 14px; border-radius: 50% 5% 35% 6% / 10% 30% 13% 40%; }
.hero-badges > span:nth-child(2) { background: #f2dfb3bd; }
.hero-badges svg { color: var(--forest); }
.hero-actions { position: relative; z-index: 5; justify-content: center; margin: 18px 0 0; gap: 24px; }
.hero-actions .btn { min-height: 43px; padding: 11px 22px; }
.cover-photo-note { position: relative; z-index: 5; font-size: .65rem; color: #686b56; margin-top: 12px; }
.welcome-strip { justify-content: center; min-height: 65px; padding: 14px 30px; background: #e7eacf99; border-top: 1px solid #c8ceaa; border-bottom: 1px solid #c8ceaa; }
.welcome-strip > span:first-child { font-family: var(--hand); font-size: 1.8rem; }
.strip-location { display: none; }
.section-space { padding-block: 60px; }
.wrap { width: min(1090px, calc(100% - 120px)); }
.eyebrow { font-size: .8rem; letter-spacing: .13em; margin-bottom: 12px; }
h2 { font-size: clamp(2.5rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -.035em; }
h2 em { font-family: var(--hand); font-size: 1.05em; font-weight: 500; }
.intro { gap: 55px; }
.intro-copy { background: #e9eddcaf; padding: 28px; border-top: 2px solid #c4ceab; border-bottom: 1px solid #c4ceab; }
.intro-copy h2 { margin-bottom: 18px; font-size: 3rem; }
.intro-copy > p:not(.eyebrow) { font-size: .9rem; margin-bottom: 12px; }
.intro-photo { background: #fff9e9; box-shadow: 2px 5px 8px #73654820; }
.intro-photo img { height: 330px; }
.photo-note { font-family: var(--hand); }
.amenities { padding-bottom: 50px; gap: 22px; }
.amenities article { padding: 22px 17px; border: 0; background: #e5ead6a6; }
.amenities article:nth-child(2n) { background: #f1dfb8a3; }
.amenities svg { border-radius: 50%; width: 49px; height: 49px; padding: 12px; background: #366969; color: #fff5dc; margin: 0 0 14px; }
.amenities article:nth-child(2) svg { background: #b88a40; }
.amenities article:nth-child(3) svg { background: #77883f; }
.amenities article:nth-child(4) svg { background: #b86749; }
.amenities h3 { font-weight: 700; font-size: 1.4rem; }
.amenities p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; }
.stay-section { background: #f0e3c58c; border-block: 1px solid #d9caaa; }
.section-heading { gap: 40px; margin-bottom: 30px; }
.stay-grid { gap: 25px; }
.stay-card { background: #fff8e6; padding: 27px; border: 1px solid #d8c59e; box-shadow: 2px 4px 7px #64512715; transform: rotate(-1deg); }
.stay-card:nth-child(2) { transform: rotate(1deg); }
.stay-card:nth-child(3) { transform: rotate(-.5deg); background: #e5e8d0; color: var(--forest); }
.stay-card-dark p, .stay-card-dark .stay-detail { color: var(--muted); }
.small-number { display: grid; place-items: center; font: 600 1.3rem var(--serif); color: white !important; width: 37px; height: 37px; border-radius: 50%; background: #34767c; border: 2px solid #fff7df; outline: 1px solid #34767c; margin-bottom: 22px; }
.stay-card:nth-child(2) .small-number { background: #b48836; outline-color: #b48836; }
.stay-card:nth-child(3) .small-number { background: #7b8c49; outline-color: #7b8c49; }
.stay-card h3 { font-weight: 700; }
.menu-layout { gap: 40px; grid-template-columns: .85fr 1.15fr; }
.food-photo { min-height: 410px; border: 8px solid #fff9e9; box-shadow: 2px 5px 8px #72552726; transform: rotate(-2deg); }
.food-photo img { max-height: 520px; }
.food-photo figcaption { font-family: var(--hand); }
.menu-content { padding: 12px 26px 24px; background: #f1e6c997; border: 1px solid #dfcda8; }
.menu-tabs button[aria-selected=true] { background: #dfe7cd; }
.menu-item h3 { font-weight: 700; }
.sunset-section { height: 330px; margin: 5px 45px; border: 9px solid #fff9e9; box-shadow: 2px 6px 8px #66502624; transform: rotate(.5deg); }
.sunset-copy h2 { font-size: 3rem; }
.sunset-copy .eyebrow { color: #fff1d2; }
.contact-section { gap: 50px; }
.contact-copy h2 { font-size: 4rem; }
.reservation-card { background: #f3e6c8; border: 1px solid #caba95; box-shadow: 3px 5px 10px #76582913; padding: 30px; }
.reservation-card h3 { font-family: var(--hand); font-size: 2.75rem; }
.contact-details svg { color: #617f50; }
.site-footer { background: #dce3c7; background-image: inherit; color: var(--forest); border-top: 3px double #91a073; }
.footer-top > p { font-family: var(--hand); color: var(--forest); }
.footer-bottom, .legal-details { color: #4a5944; border-color: #9eaa874a; }
.request-dialog { background: var(--paper); border: 4px double #c1ae86; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 76px); }
  .site-header { padding-inline: 25px; }
  nav { gap: 17px; }
  .cover-postcards { width: 83%; gap: 12px; }
  .cover-landscape { height: 230px; }
  .postcard img { height: 105px; }
  .postcard strong { font-size: 1rem; }
  .intro { gap: 30px; }
  .intro-copy { padding: 22px; }
  .intro-copy h2 { font-size: 2.6rem; }
}
@media (max-width: 850px) {
  .site-header { height: 66px; }
  nav { top: 66px; }
  .hero { padding-top: 22px; }
  .hero h1 { font-size: 4rem; }
  .cover-script { font-size: 2.35rem; }
  .cover-address { font-size: 1rem; }
  .cover-landscape { height: 190px; }
  .cover-landscape figcaption { font-size: 1.3rem; padding: 10px; }
  .cover-postcards { gap: 10px; margin-top: -19px; width: 84%; }
  .postcard img { height: 82px; }
  .postcard > span:not(.postcard-number) { display: none; }
  .postcard > svg { width: 19px; height: 19px; margin-top: 5px; }
  .hero-badges { gap: 10px; }
  .hero-badges > span { font-size: .7rem; padding: 6px 10px; }
  .hero-badges svg { width: 18px; }
  .cover-photo-note { font-size: .65rem; }
  .intro { grid-template-columns: 1fr; }
  .intro-copy { order: -1; }
  .intro-photo { width: 80%; margin: auto; }
  .intro-photo img { height: 300px; }
  .menu-layout { grid-template-columns: 1fr; }
  .food-photo { height: 300px; min-height: 0; max-width: 90%; margin: auto; }
  .menu-content { padding: 10px 22px 25px; }
  .contact-section { grid-template-columns: 1fr; }
  .sunset-section { margin-inline: 25px; }
}
@media (max-width: 600px) {
  .site-header { padding-inline: 16px; }
  .brand { font-size: 1.25rem; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.8rem; }
  .wrap { width: calc(100% - 40px); }
  .hero { padding-top: 23px; }
  .cover-heading { width: 85%; }
  .cover-country { font-size: .65rem; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(2.2rem, 8.4vw, 3.6rem); margin-top: 8px; }
  .cover-script { font-size: 1.95rem; margin-bottom: 9px; }
  .cover-address { font-size: .9rem; padding: 5px 10px; }
  .cover-address span { padding: 0 3px; }
  .cover-landscape { margin-top: 12px; height: 165px; width: 95%; }
  .cover-landscape figcaption { right: 7%; top: 12%; font-size: 1.15rem; }
  .landscape-credit { font-size: .6rem; bottom: 25px; }
  .botanical-frame { width: 125%; left: -12.5%; height: 580px; }
  .cover-postcards { width: 84%; grid-template-columns: repeat(2, 1fr); column-gap: 17px; row-gap: 17px; margin-top: -15px; }
  .postcard img { height: 90px; }
  .postcard strong { font-size: 1.1rem; }
  .postcard > svg { display: none; }
  .postcard { padding-bottom: 12px; }
  .postcard-number { height: 25px; width: 25px; font-size: .9rem; }
  .hero-badges { flex-wrap: wrap; gap: 8px; width: 90%; margin: 22px auto 0; }
  .hero-badges > span { font-size: .75rem; }
  .hero-badges > span:last-child { display: none; }
  .hero-actions { align-items: center; gap: 9px; margin-top: 17px; }
  .hero-actions .btn { font-size: .8rem; }
  .cover-photo-note { font-size: .65rem; }
  .welcome-strip { min-height: 64px; padding: 13px 24px; }
  .welcome-strip > span:first-child { font-size: 1.55rem; }
  .welcome-strip em { display: inline; }
  .section-space { padding-block: 42px; }
  .intro-copy { padding: 23px 19px; }
  .intro-copy h2 { font-size: 2.55rem; }
  .intro-copy > p:not(.eyebrow) { font-size: .95rem; }
  .intro-photo { width: 92%; }
  .intro-photo img { height: 280px; }
  .amenities { gap: 13px; padding-bottom: 40px; }
  .amenities article { padding: 18px 13px; }
  .amenities h3 { font-size: 1.4rem; }
  .amenities p { font-size: 1.1rem; }
  .section-heading h2 { font-size: 2.6rem; }
  .stay-card h3 { font-size: 2.6rem; }
  .stay-card p { font-size: .95rem; }
  .food-photo { max-width: 95%; height: 300px; }
  .menu-content { padding-inline: 17px; }
  .menu-item-header { gap: 12px; }
  .menu-item h3 { font-size: 1.45rem; }
  .menu-price { font-size: .75rem; }
  .sunset-section { margin-inline: 13px; height: 300px; border-width: 6px; }
  .sunset-copy h2 { font-size: 2.25rem; }
  .sunset-copy { padding: 20px 10px; }
  .contact-copy h2 { font-size: 3.5rem; }
  .reservation-card { padding: 23px 18px; margin: 0; }
  .reservation-card h3 { font-size: 2.6rem; }
  .site-footer { padding-top: 35px; }
  .hero h1, .cover-script, .cover-address { text-wrap: balance; }
}
@media (prefers-reduced-motion: reduce) {
  .postcard, .postcard:hover { transition: none; }
}

/* Livraison USB : végétation limitée aux marges pour préserver les textes. */
.botanical-frame{max-width:none;mask-image:linear-gradient(90deg,#000 0%,#000 8%,transparent 26%,transparent 77%,#000 96%)}
@media(max-width:600px){.cover-landscape figcaption{right:15%;font-size:1rem}}

/* PHOTOS RÉELLES FOURNIES : cadrages adaptés, sans déformation des originaux. */
.cover-landscape{overflow:hidden}
.cover-landscape>img{object-position:50% 36%;height:100%;width:100%}
.postcard{overflow:hidden}
.postcard>img{object-position:50% 35%}
.postcard:nth-child(2)>img{object-position:30% 40%}
.intro-photo{overflow:hidden}
.intro-photo>img{object-position:30% 35%;clip-path:inset(0 5% 4% 3%);transform:scale(1.09);margin-bottom:14px}
.food-photo{overflow:hidden}
.food-photo>img{object-position:48% 53%}
.sunset-section>img{object-position:50% 37%}
.bungalow-photos{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:0 0 40px}
.bungalow-photos figure{padding:8px 8px 15px;background:#fff9e9;border:1px solid #d8c59e;box-shadow:2px 5px 8px #72552726;transform:rotate(-1deg)}
.bungalow-photos figure:nth-child(2){transform:rotate(1deg)}
.bungalow-picture{aspect-ratio:1.9;overflow:hidden}
.bungalow-picture img{width:100%;height:100%;object-fit:cover;object-position:45% 42%;transform:scale(1.025)}
.bungalow-photos figcaption{font:500 1.7rem/1.2 var(--hand);text-align:center;margin-top:12px}
@media(max-width:600px){.bungalow-photos{grid-template-columns:1fr;gap:23px}.cover-landscape>img{object-position:50% 35%}.bungalow-photos figcaption{font-size:1.5rem}}
