/* =========================================================
   Maison Fako — Maison d'hôtes & meublés, Limbé (Cameroun)
   ========================================================= */

:root {
  --cream: #f7f1e6;
  --sand: #efe4d2;
  --paper: #fffdf8;
  --ink: #1f1b17;
  --ink-soft: #5b5248;
  --line: #e2d5c1;
  --terracotta: #b4532a;
  --terracotta-dark: #8f3e1c;
  --forest: #203a2e;
  --forest-2: #2c4c3d;
  --indigo: #223156;
  --gold: #d6a24a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -22px rgba(31, 27, 23, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
  /* Motif inspiré du tissu ndop (Grassfields camerounais) */
  --ndop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Crect width='48' height='24' fill='%23223156'/%3E%3Cpath d='M0 12 12 0l12 12-12 12z' fill='none' stroke='%23f7f1e6' stroke-width='2'/%3E%3Cpath d='M24 12 36 0l12 12-12 12z' fill='none' stroke='%23f7f1e6' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='%23f7f1e6'/%3E%3Ccircle cx='36' cy='12' r='2.5' fill='%23f7f1e6'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--terracotta); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 1rem;
}
.eyebrow::before { flex: none; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(247, 241, 230, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); }
.page-home .site-header { position: fixed; inset: 0 0 auto; background: transparent; color: #fff; }
.page-home .site-header.scrolled, .page-home .site-header.menu-open { background: rgba(247, 241, 230, .96); color: var(--ink); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-name { display: block; font: 600 1.35rem/1 var(--serif); }
.brand-tag { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: .25rem; }

.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: block; padding: .5rem .85rem; border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: .98rem; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .btn { margin-left: .6rem; padding: .7rem 1.25rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); color: var(--ink); padding: 1rem 1.25rem 1.5rem; gap: .2rem;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--terracotta); }
  .nav-links .btn { margin: 1rem 0 0; }
}

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: #fff; padding: calc(var(--header-h) + 3rem) 0 5rem; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,16,12,.55) 0%, rgba(20,16,12,.1) 35%, rgba(20,16,12,.72) 100%);
}
.hero-content { max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p { font-size: 1.22rem; max-width: 600px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Barre de réservation rapide */
.quick-book {
  position: relative; z-index: 5; margin-top: -3rem;
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 1.25rem; display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 1rem; align-items: end;
}
.quick-book label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem; }
.quick-book input, .quick-book select { width: 100%; }
@media (max-width: 860px) { .quick-book { grid-template-columns: 1fr 1fr; } .quick-book .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .quick-book { grid-template-columns: 1fr; } }

/* ---------- En-tête des pages internes ---------- */
.page-hero { position: relative; color: #fff; padding: 7rem 0 4.5rem; isolation: isolate; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,16,12,.8), rgba(20,16,12,.35)); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { max-width: 620px; font-size: 1.15rem; opacity: .92; margin: 0; }
.breadcrumb { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; opacity: .85; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.ndop-band { height: 24px; background: var(--ndop) repeat-x; background-size: 48px 24px; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest .lead, .section--forest p { color: rgba(247,241,230,.82); }
.section--forest .eyebrow { color: var(--gold); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }

.split-media { position: relative; }
.split-media > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.split-media .img-small {
  position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover; right: -1.5rem; bottom: -2rem;
  border: 8px solid var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.section--sand .split-media .img-small { border-color: var(--sand); }
@media (max-width: 860px) { .split-media .img-small { right: .75rem; } }
.media-badge {
  position: absolute; left: -1rem; top: 2rem; background: var(--terracotta); color: #fff;
  padding: 1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); line-height: 1.2;
}
.media-badge strong { display: block; font: 600 2rem/1 var(--serif); }
.media-badge span { font-size: .85rem; }
@media (max-width: 860px) { .media-badge { left: .75rem; } }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.signature { font: italic 500 1.5rem/1.2 var(--serif); color: var(--terracotta); margin-top: 1.5rem; }
.signature span { display: block; font: 400 .9rem var(--sans); color: var(--ink-soft); font-style: normal; margin-top: .3rem; }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border-right: 1px solid rgba(247,241,230,.18); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 600 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--gold); margin-bottom: .4rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } }

/* ---------- Cartes hébergement ---------- */
.room-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .3s;
}
.room-card:hover { transform: translateY(-6px); }
.room-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.room-card:hover .room-card-media img { transform: scale(1.05); }
.room-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(31,27,23,.78); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .06em; padding: .4rem .8rem; border-radius: 999px; }
.room-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room-card-body p { color: var(--ink-soft); font-size: .98rem; }
.room-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; color: var(--ink-soft); }
.room-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.room-meta svg { width: 17px; height: 17px; color: var(--terracotta); }
.room-price { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.price { font: 600 1.45rem/1 var(--serif); }
.price small { display: block; font: 400 .8rem var(--sans); color: var(--ink-soft); margin-top: .3rem; }

/* Fiche détaillée (page hébergements) */
.room-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding: 3.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.room-detail:first-of-type { border-top: 0; padding-top: 0; }
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: .8rem; }
.room-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.room-gallery img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.room-gallery img:not(:first-child) { aspect-ratio: 1; }
.room-detail .price { font-size: 2rem; color: var(--terracotta); }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 1.25rem; list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; font-size: .96rem; }
.amenities li { display: flex; gap: .55rem; align-items: flex-start; }
.amenities svg { width: 19px; height: 19px; color: var(--forest-2); flex: none; margin-top: .2rem; }
@media (max-width: 860px) { .room-detail { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .amenities { grid-template-columns: 1fr; } }

/* Tableau des tarifs */
.table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--sand); }
td strong { font-family: var(--serif); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.note { font-size: .92rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Atouts / icônes ---------- */
.feature { padding: 2rem 1.75rem; background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.section--forest .feature { background: var(--forest-2); border-color: rgba(247,241,230,.1); }
.icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(180,83,42,.12); color: var(--terracotta); margin-bottom: 1.25rem; }
.icon svg { width: 26px; height: 26px; }
.section--forest .icon { background: rgba(214,162,74,.16); color: var(--gold); }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Table d'hôtes ---------- */
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { display: flex; align-items: baseline; gap: .75rem; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list .dots { flex: 1; border-bottom: 1px dotted var(--ink-soft); opacity: .4; transform: translateY(-4px); }
.menu-list h4 { margin: 0; font-size: 1.12rem; }
.menu-list p { margin: .2rem 0 0; font-size: .93rem; color: var(--ink-soft); }
.menu-list .menu-price { font: 600 1.05rem var(--serif); color: var(--terracotta); white-space: nowrap; }
.menu-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }

/* ---------- Témoignages ---------- */
.testimonial { margin: 0; padding: 2rem; background: var(--paper); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: .15em; font-size: 1.05rem; margin-bottom: .8rem; }
.testimonial blockquote { margin: 0 0 1.5rem; font: 400 1.12rem/1.55 var(--serif); }
.author { margin-top: auto; display: flex; align-items: center; gap: .8rem; font-size: .92rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--cream); font-weight: 600; flex: none; }
.author span span { display: block; color: var(--ink-soft); }

/* ---------- Activités ---------- */
.activity { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.activity img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.activity::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(15,12,9,.88)); }
.activity:hover img { transform: scale(1.05); }
.activity-body { padding: 1.75rem; }
.activity-body p { font-size: .96rem; opacity: .9; margin: 0; }
.distance { display: inline-block; background: var(--gold); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem; }

.place { display: grid; grid-template-columns: 64px 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.place:last-child { border-bottom: 0; }
.place-num { font: 600 2.2rem/1 var(--serif); color: var(--terracotta); }
.place h3 { margin-bottom: .3rem; }
.place p { margin: 0; color: var(--ink-soft); }
.place .distance { background: var(--sand); margin: .6rem 0 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: .8rem; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12,10,8,.92); display: grid; place-items: center; padding: 2rem; }
.lightbox img { max-height: 82vh; max-width: min(1200px, 100%); border-radius: var(--radius); }
.lightbox figcaption { color: var(--cream); text-align: center; margin-top: 1rem; }
.lightbox-close, .lightbox-nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-nav.prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Étapes / infos pratiques ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 3.5rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 600 2.4rem/1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .96rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.info-card { background: var(--paper); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--line); }
.info-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--terracotta); }
.info-card p, .info-card li { color: var(--ink-soft); font-size: .97rem; }
.info-card ul { padding-left: 1.1rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font: 600 1.15rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--sans); color: var(--terracotta); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.25rem; margin: 0; }

/* ---------- Formulaires ---------- */
.form-card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(180,83,42,.15); }
.field.error input, .field.error select, .field.error textarea { border-color: #b42318; }
.error-msg { display: block; min-height: 1.1em; font-size: .84rem; color: #b42318; margin-top: .3rem; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--terracotta); }

.estimate { display: none; background: var(--sand); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .96rem; }
.estimate.show { display: block; }
.estimate strong { font-family: var(--serif); font-size: 1.25rem; color: var(--terracotta); }

.form-success { display: none; margin-top: 1.25rem; padding: 1rem 1.25rem; background: #e6f0e9; color: var(--forest); border-radius: var(--radius); font-weight: 500; }
.form-success.show { display: block; }

.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.25rem; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; }
.contact-list .icon { margin: 0; width: 48px; height: 48px; border-radius: 14px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--terracotta); }

.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius-lg); filter: saturate(.85); display: block; }

.pay-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .75rem 0 0; }
.pay-list li { background: var(--sand); padding: .35rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink); }

/* ---------- Bandeau CTA ---------- */
.cta { position: relative; color: #fff; padding: clamp(4rem, 9vw, 6.5rem) 0; isolation: isolate; overflow: hidden; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(32,58,46,.82); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { margin-bottom: .3rem; }
.cta p { margin: 0; opacity: .9; font-size: 1.1rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.site-footer { background: #17140f; color: rgba(247,241,230,.75); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 4.5rem 0 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--cream); margin-bottom: 1.25rem; }
.site-footer h4 { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: .25rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(247,241,230,.2); }
.socials a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.5rem 0; border-top: 1px solid rgba(247,241,230,.12); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.credit a { color: var(--gold); }

.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
