/* Gabarit E — immersif (Dar Lunaria, riad à Marrakech) */
body { font-family: "DM Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.7; color: #4A3A30; background: #FBF5EC; }
h1, h2, h3, .e-logo span, .e-citation, blockquote { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #2A1F1A; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; margin-bottom: .6rem; }
a { color: #B5523B; }
.e-etroit { max-width: 820px; }

.e-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; text-decoration: none; padding: .85rem 1.6rem; border-radius: 2px; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.e-btn-or { border-color: #C9A25A; color: #2A1F1A; }
.e-btn-or:hover { background: #C9A25A; }
.e-btn-plein { background: #B5523B; color: #fff; border-color: #B5523B; }
.e-btn-plein:hover { background: #9A4230; }

/* En-tête : transparent sur le héros */
.e-head { position: relative; z-index: 10; background: #FBF5EC; border-bottom: 1px solid #EADCC8; }
.e-head .wrap { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.e-head.e-sur { position: absolute; left: 0; right: 0; background: transparent; border: 0; }
.e-head.e-sur .e-btn-or { background: rgba(251,245,236,.85); }
.e-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.e-logo svg { width: 42px; height: 42px; }
.e-logo span { font-size: 1.5rem; color: #2A1F1A; line-height: 1; }
.e-logo small { display: block; font-family: "DM Sans", sans-serif; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: #8A6E5A; margin-top: .3rem; }
.e-nav { display: flex; gap: 2rem; margin-left: auto; }
.e-nav a { text-decoration: none; color: #2A1F1A; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.e-nav a[aria-current="page"] { color: #B5523B; }

/* Héros immersif */
.e-hero { position: relative; min-height: min(92vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.e-patio { position: absolute; inset: 0; width: 100%; height: 100%; }
.e-voile { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,31,26,.72) 0%, rgba(42,31,26,.35) 45%, rgba(42,31,26,0) 70%), linear-gradient(180deg, rgba(42,31,26,0) 40%, rgba(42,31,26,.55) 100%); }
.e-hero-t { position: relative; color: #FBF5EC; padding-bottom: 2.2rem; }
.e-hero h1 { color: #FBF5EC; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; margin: 0 0 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.e-hero h1 em { color: #F3D9B8; }
.e-lead { font-size: 1.15rem; max-width: 36em; }
.e-hero .e-lead { color: rgba(251,245,236,.92); }
.e-sur { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: #B5523B; margin-bottom: .9rem; }
.e-hero .e-sur { color: #F3D9B8; }
.e-resa-w { position: relative; padding-bottom: 2.4rem; }
.e-resa { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0; background: #FBF5EC; box-shadow: 0 25px 60px rgba(0,0,0,.25); }
.e-resa > div { padding: .9rem 1.3rem; border-right: 1px solid #EADCC8; }
.e-resa label, .e-form label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #8A6E5A; margin-bottom: .2rem; }
.e-resa input, .e-resa select { border: 0; background: transparent; padding: .2rem 0; width: 100%; color: #2A1F1A; font-size: 1rem; }
.e-resa .e-btn { border-radius: 0; padding: 0 2rem; }

/* Citation d'introduction */
.e-intro { text-align: center; padding: 5.5rem 0 4.5rem; }
.e-etoile { color: #C9A25A; font-size: 1.6rem; display: block; margin-bottom: 1rem; }
.e-citation { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; line-height: 1.4; margin: 0 0 1rem; }
.e-sign { color: #8A6E5A; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }

.e-sec { padding: 5rem 0; }
.e-sable { background: #F3E9DC; }
.e-vert { background: #1F3D36; color: rgba(251,245,236,.8); }
.e-vert h2, .e-vert h3 { color: #FBF5EC; }
.e-vert .e-sur { color: #C9A25A; }
.e-tete { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.e-tete .e-sur { width: 100%; margin: 0; }
.e-tete h2 { margin: 0; }
.e-lien { text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; padding-bottom: 3px; }

/* Cartes chambres */
.e-chs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.e-ch { background: #fff; display: flex; flex-direction: column; }
.e-ch-img { display: block; border-radius: 999px 999px 0 0; overflow: hidden; }
.e-ch-img svg { width: 100%; height: auto; display: block; }
.e-ch-c { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.e-ch h3 { font-size: 1.55rem; margin: 0 0 .4rem; }
.e-ch p { color: #6E5A4C; font-size: .96rem; flex: 1; }
.e-ch ul { list-style: none; padding: 0; margin: .4rem 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.e-ch li { font-size: .78rem; border: 1px solid #EADCC8; padding: .2rem .6rem; border-radius: 30px; color: #6E5A4C; }
.e-ch-px { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #EADCC8; padding-top: 1rem; }
.e-ch-px strong { font-family: Georgia, serif; font-size: 1.5rem; color: #2A1F1A; font-weight: 400; }
.e-ch-px a:not(.e-btn) { font-weight: 700; text-decoration: none; }

/* Expériences */
.e-exps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(251,245,236,.15); }
.e-exp { background: #1F3D36; padding: 2rem 1.6rem 2.2rem; position: relative; }
.e-exp::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 46px; height: 4px; background: var(--c); }
.e-exp-n { font-family: Georgia, serif; font-size: 2.6rem; color: #C9A25A; display: block; margin-bottom: .8rem; }
.e-exp h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.e-exp p { margin: 0; font-size: .95rem; }

/* Réserver en direct */
.e-direct { background: linear-gradient(120deg, #B5523B, #C9694F); color: #FBF5EC; padding: 4rem 0; }
.e-direct h2 { color: #FBF5EC; }
.e-direct .e-sur { color: #F3D9B8; }
.e-direct-g { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.e-direct ul, .e-direct-mini ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.e-direct li, .e-direct-mini li { display: flex; gap: .7rem; align-items: flex-start; }
.e-direct li svg, .e-direct-mini li svg { width: 22px; height: 22px; flex: none; color: #F3D9B8; margin-top: .15rem; }
.e-direct li { background: rgba(255,255,255,.1); padding: .9rem 1.1rem; border-left: 3px solid #F3D9B8; }

/* Galerie mosaïque */
.e-galerie { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 1rem; }
.e-g { position: relative; overflow: hidden; }
.e-g svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.e-g1 { grid-row: span 2; }
.e-g2 { grid-column: span 2; }
.e-g span { position: absolute; left: 1rem; bottom: 1rem; background: rgba(251,245,236,.92); padding: .35rem .8rem; font-size: .78rem; letter-spacing: .08em; }

.e-avis { text-align: center; max-width: 860px; }
.e-badge { display: inline-block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #1F3D36; border: 1px solid #1F3D36; padding: .3rem .8rem; margin-bottom: 1.4rem; }
.e-avis blockquote { margin: 0 0 1rem; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-style: italic; line-height: 1.45; }
.e-avis p { color: #8A6E5A; }

.e-faq-g { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.e-q { border-bottom: 1px solid #EADCC8; padding: 1.2rem 0; }
.e-q summary { font-family: Georgia, serif; font-size: 1.2rem; color: #2A1F1A; display: flex; justify-content: space-between; gap: 1rem; }
.e-q summary::after { content: "✦"; color: #C9A25A; transition: transform .2s; }
.e-q[open] summary::after { transform: rotate(45deg); }
.e-q p { margin: .7rem 0 0; color: #6E5A4C; }

/* Pages intérieures */
.e-zellige { height: 14px; background: radial-gradient(circle at 50% 50%, #C9A25A 2.5px, transparent 3px) 0 0 / 28px 14px, linear-gradient(45deg, #1F3D36 25%, #2E6A5E 25%, #2E6A5E 50%, #1F3D36 50%, #1F3D36 75%, #2E6A5E 75%) 0 0 / 14px 14px; }
.e-ph { background: #F3E9DC; text-align: center; padding-bottom: 4rem; }
.e-ph .wrap { padding-top: 3.6rem; }
.e-ph h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 .8rem; }
.e-ph .e-lead { margin: 0 auto; color: #6E5A4C; }
.e-fil { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #8A6E5A; }
.e-fil a { color: inherit; }
.e-ch-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding: 2.5rem 0; border-bottom: 1px solid #EADCC8; }
.e-ch-ligne.inv .e-ch-img { order: 2; }
.e-ch-ligne .e-ch-c { padding: 0; }
.e-ch-ligne h2 { font-size: 2.2rem; }
.e-equip { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1rem; }
.e-equip li { display: flex; gap: .5rem; align-items: center; font-size: .93rem; color: #6E5A4C; }
.e-equip svg { width: 16px; height: 16px; color: #B5523B; flex: none; }
.e-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #EADCC8; }
.e-infos div { background: #FBF5EC; padding: 1.4rem 1.6rem; }
.e-infos strong { display: block; font-family: Georgia, serif; font-weight: 400; font-size: 1.25rem; color: #2A1F1A; }
.e-infos span { color: #6E5A4C; }
.e-histoire { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.e-hist-img { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4/5; position: relative; }
.e-hist-img .e-patio { position: absolute; }
.e-frise { list-style: none; padding: 0; margin: 0; border-left: 1px solid #C9A25A; }
.e-frise li { padding: 0 0 2rem 1.8rem; position: relative; }
.e-frise li::before { content: "✦"; position: absolute; left: -.55rem; top: .1rem; color: #C9A25A; background: #FBF5EC; }
.e-frise b { font-family: Georgia, serif; font-weight: 400; color: #B5523B; font-size: 1.1rem; }
.e-frise h3 { font-size: 1.4rem; margin: .2rem 0 .3rem; }
.e-frise p { margin: 0; color: #6E5A4C; }
.e-engs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.e-eng { border: 1px solid rgba(251,245,236,.2); padding: 2rem; }
.e-eng h3 { font-size: 1.35rem; margin: 0 0 .4rem; }
.e-eng p { margin: 0; }
.e-resa-page { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
.e-form { background: #fff; padding: 2.4rem; border-top: 4px solid #B5523B; }
.e-form h2 { font-size: 2rem; }
.e-form p { margin: 0 0 1.1rem; }
.e-form input, .e-form select, .e-form textarea { width: 100%; border: 0; border-bottom: 1px solid #D9C6AE; padding: .6rem 0; background: transparent; color: #2A1F1A; }
.e-form input:focus, .e-form select:focus, .e-form textarea:focus { outline: none; border-color: #B5523B; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.e-carte-info { background: #F3E9DC; padding: 1.8rem; margin-bottom: 1.2rem; }
.e-carte-info h2 { font-size: 1.6rem; }
.e-infos-l { list-style: none; padding: 0; margin: 0; }
.e-infos-l li { display: flex; gap: .9rem; padding: .8rem 0; border-bottom: 1px solid #E2D2BC; }
.e-infos-l li:last-child { border: 0; }
.e-infos-l .ico svg { width: 20px; height: 20px; color: #B5523B; }
.e-infos-l strong { display: block; color: #2A1F1A; font-weight: 600; }
.e-plan { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 1.2rem; color: #B5523B; }
.e-plan svg { width: 100%; height: 100%; }
.e-direct-mini { background: #1F3D36; color: rgba(251,245,236,.85); }
.e-direct-mini h3 { color: #FBF5EC; font-size: 1.3rem; }

/* Pied de page */
.e-foot { background: #2A1F1A; color: rgba(251,245,236,.65); font-size: .93rem; }
.e-foot-g { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 2rem; padding-top: 3.6rem; }
.e-foot .e-logo span { color: #FBF5EC; }
.e-foot h3 { color: #C9A25A; font-family: "DM Sans", sans-serif; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.e-foot ul { list-style: none; padding: 0; margin: 0; }
.e-foot li { margin-bottom: .45rem; }
.e-foot a { color: rgba(251,245,236,.85); text-decoration: none; }
.e-foot-bas { border-top: 1px solid rgba(251,245,236,.12); margin-top: 2.5rem; padding: 1.3rem 0 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; }
.e-foot-bas a { text-decoration: underline; }

@media (max-width: 980px) {
  .e-chs, .e-engs { grid-template-columns: 1fr 1fr; }
  .e-exps { grid-template-columns: 1fr 1fr; }
  .e-direct-g, .e-faq-g, .e-histoire, .e-resa-page, .e-ch-ligne { grid-template-columns: 1fr; gap: 2rem; }
  .e-ch-ligne.inv .e-ch-img { order: 0; }
  .e-resa { grid-template-columns: 1fr 1fr; }
  .e-resa > div:nth-child(2) { border-right: 0; }
  .e-resa .e-btn { grid-column: span 2; padding: 1rem; }
  .e-foot-g { grid-template-columns: 1fr 1fr; }
  .e-infos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .e-head .wrap { flex-wrap: wrap; gap: .5rem 1rem; padding: .7rem 0; min-height: 0; }
  .e-nav { order: 3; width: 100%; margin: 0; gap: 1.2rem; }
  .e-head .e-btn { margin-left: auto; padding: .55rem 1rem; }
  .e-head.e-sur .e-nav a { color: #2A1F1A; }
  .e-hero { min-height: 640px; }
  .e-chs, .e-exps, .e-engs, .e-infos, .e-foot-g, .f2, .e-equip { grid-template-columns: 1fr; }
  .e-galerie { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px 180px; }
  .e-g1 { grid-row: auto; grid-column: span 2; } .e-g2 { grid-column: span 2; }
  .e-resa { grid-template-columns: 1fr; } .e-resa > div { border-right: 0; border-bottom: 1px solid #EADCC8; } .e-resa .e-btn { grid-column: auto; }
  .e-form { padding: 1.6rem; }
}
.e-head.e-sur .e-logo span { color: #FBF5EC; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.e-head.e-sur .e-logo small { color: #F3D9B8; }
@media (max-width: 640px) { .e-head.e-sur { background: rgba(251,245,236,.94); position: relative; } .e-head.e-sur .e-logo span { color: #2A1F1A; text-shadow: none; } .e-head.e-sur .e-logo small { color: #8A6E5A; } }
@media (max-width: 640px) { .e-voile { background: linear-gradient(180deg, rgba(42,31,26,.35), rgba(42,31,26,.7)); } .e-hero-t { padding-top: 3rem; } }
