/* ============================================================
   VISITE O BENIN — Folha de estilos partilhada
   Direção: natural & autêntica · verde · madeira · artesanato
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Hanken+Grotesque:wght@300;400;500;600;700&display=swap');

:root {
  /* — Cores — */
  --paper:        #F5EFE2;   /* fundo creme / areia */
  --paper-2:      #EDE4D2;   /* creme mais quente */
  --ink:          #241C13;   /* texto espresso */
  --ink-soft:     #5C5142;   /* texto secundário */
  --line:         #D9CDB6;   /* linhas / contornos */

  --green:        #1E3A2B;   /* verde palmeira profundo */
  --green-2:      #14271C;   /* verde mais escuro */
  --green-soft:   #3C5C49;

  --terra:        #C2632F;   /* terracota (acento principal) */
  --terra-deep:   #9E4A1F;
  --ochre:        #D49A33;   /* ocre / amarelo terra */
  --clay:         #8C3B26;   /* argila / vermelho terroso */

  --on-green:     #F0E8D6;   /* texto sobre verde */
  --on-green-dim: #B9C3B3;

  /* — Tipografia — */
  --display: 'Marcellus', Georgia, serif;
  --sans: 'Hanken Grotesque', system-ui, -apple-system, sans-serif;

  /* — Medidas — */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; text-wrap: pretty; }

/* — Utilitários de layout — */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-inline: var(--gutter); }

section { position: relative; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terra);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--terra);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--ochre); }
.eyebrow.on-dark::before { background: var(--ochre); }
.eyebrow.centered { justify-content: center; }

.display-xl { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.display-l  { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.display-m  { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }

/* — Frisa têxtil (inspirada nas tapeçarias de Abomey) — */
.band-textile {
  height: 14px;
  background:
    repeating-linear-gradient(135deg,
      var(--terra) 0 14px, var(--terra-deep) 14px 28px),
    var(--terra);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 18px, transparent 18px 36px);
          mask: repeating-linear-gradient(90deg, #000 0 18px, transparent 18px 36px);
}
.band-zig {
  height: 16px;
  background:
    linear-gradient(135deg, var(--ochre) 25%, transparent 25%) -10px 0 / 20px 16px,
    linear-gradient(225deg, var(--ochre) 25%, transparent 25%) -10px 0 / 20px 16px,
    var(--green);
}

/* — Botões — */
.btn {
  font-family: var(--sans);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); }
.btn-ghost { border-color: currentColor; color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--on-green); border-color: var(--green); }
.btn-on-dark { border-color: var(--on-green-dim); color: var(--on-green); }
.btn-on-dark:hover { background: var(--on-green); color: var(--green-2); border-color: var(--on-green); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

.link-more {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--terra-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, gap .2s;
}
.link-more:hover { border-color: var(--terra-deep); gap: 12px; }

/* ============================================================
   CABEÇALHO
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  position: relative;
  flex: none;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 6px;
  border: 1.5px solid var(--ochre); border-radius: 50%;
}
.brand-mark span {
  font-family: var(--display); color: var(--ochre);
  font-size: 17px; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--display); font-weight: 400;
  font-size: 19px; letter-spacing: 0.16em; text-transform: uppercase;
}
.brand-text small {
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 1px; flex-wrap: nowrap; }
.nav a {
  text-decoration: none; color: var(--ink);
  font-size: 13.5px; font-weight: 500;
  padding: 9px 10px; border-radius: 100px;
  transition: background .2s, color .2s;
  position: relative; white-space: nowrap;
}
.nav a:hover { background: var(--paper-2); }
.nav a.active { color: var(--terra-deep); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 14px; }

/* — Seletor de idioma — */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; overflow: hidden; background: var(--paper); }
.lang-switch button {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 12px; border: none; background: none; cursor: pointer; color: var(--ink-soft);
  transition: background .2s, color .2s; text-transform: uppercase;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] { background: var(--green); color: var(--on-green); }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) { .nav a { padding: 9px 8px; font-size: 13px; } }
@media (max-width: 1040px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 12px; }
  .header-cta { gap: 8px; }
  .nav.mobile-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 24px; gap: 2px;
  }
  .nav.mobile-open a { padding: 13px 8px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
}

@media (max-width: 460px) {
  /* Em ecrãs muito estreitos, encolhe a marca para o seletor FR/EN/PT caber sempre */
  .header-inner { gap: 8px; }
  .brand-text small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .lang-switch button { padding: 7px 9px; font-size: 12px; }
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer { background: var(--green-2); color: var(--on-green); padding: 0 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px;
  padding: 72px 0 56px;
}
.site-footer h4 {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 12px; font-weight: 700; color: var(--ochre); margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links li { color: var(--on-green-dim); font-size: 15px; }
.footer-links a { text-decoration: none; color: var(--on-green-dim); font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--on-green); }
.footer-brand p { color: var(--on-green-dim); font-size: 15px; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--on-green-dim) 30%, transparent);
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--on-green-dim); flex-wrap: wrap;
}
/* Bas de page épuré : on garde seulement le copyright */
.footer-bottom a[data-i18n="foot_privacy"],
.footer-bottom span[data-i18n="foot_made"] { display: none !important; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CARTÕES & GRELHAS REUTILIZÁVEIS
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(36,28,19,.4); }
.card .cms-img, .card .img-ph { width: 100%; height: 240px; }

/* ─── Effets photo « premium » (cartes, vedettes, itinéraires) ─── */
.card .cms-img { transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s ease; transform-origin: center; will-change: transform; }
.card:hover .cms-img { transform: scale(1.09); filter: saturate(1.08) contrast(1.03); }
/* Ken Burns : les grandes photos « respirent » */
.feature .cms-img.has-img, .trip-media .cms-img.has-img, .split-media .cms-img.has-img {
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.13) translate(-1.5%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .feature .cms-img.has-img, .trip-media .cms-img.has-img, .split-media .cms-img.has-img { animation: none; }
  .card .cms-img, .card:hover .cms-img { transition: none; transform: none; }
}

/* Images pilotées par l'administration */
.cms-img { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--paper-2); display: block; position: relative; }
.cms-img.has-img::after { display: none; }
.cms-img:not(.has-img)::after {
  content: attr(data-ph); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 18px; font-size: 12.5px; line-height: 1.4; letter-spacing: .03em; color: var(--ink-soft);
  background: repeating-linear-gradient(45deg, var(--paper-2) 0 12px, color-mix(in srgb, var(--paper-2) 72%, var(--line)) 12px 24px);
}
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.card-kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--terra); font-weight: 600; margin-bottom: 12px;
}
.card-body p { color: var(--ink-soft); font-size: 15.5px; }

/* ─── Cadre « carte postale » sur les cartes de galerie ─── */
.card .cms-img {
  border: 7px solid #fff;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line), 0 2px 10px -4px rgba(36,28,19,.35);
  background-clip: padding-box;
}
.card:hover .cms-img { box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -10px rgba(36,28,19,.5); }

/* placeholder cinzento se não usar .cms-img */
.img-ph {
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 12px, color-mix(in srgb,var(--paper-2) 70%, var(--line)) 12px 24px);
  display: grid; place-items: center; color: var(--ink-soft); font-size: 13px;
}

.section-pad { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.centered { margin-inline: auto; text-align: center; }

/* faixa de stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 30px 26px; }
.stat .n { font-family: var(--display); font-size: clamp(2rem,3.4vw,2.8rem); color: var(--green); line-height: 1; }
.stat .l { font-size: 13px; color: var(--ink-soft); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* page hero (sub-páginas) */
.page-hero { background: var(--green); color: var(--on-green); padding: clamp(80px,11vw,150px) 0 clamp(56px,7vw,90px); position: relative; overflow: hidden; }
.page-hero .eyebrow { color: var(--ochre); }
.page-hero .eyebrow::before { background: var(--ochre); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero p { color: var(--on-green-dim); max-width: 56ch; margin-top: 22px; }
.page-hero .deco-circle { position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1.5px solid color-mix(in srgb,var(--ochre) 45%, transparent); }
.page-hero .deco-circle::after { content:""; position:absolute; inset:50px; border-radius:50%; border:1.5px solid color-mix(in srgb,var(--ochre) 28%, transparent); }

.breadcrumb { font-size: 13px; letter-spacing: .04em; color: var(--on-green-dim); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; color: var(--ochre); }

/* ============================================================
   PUBLICITÉS
   ============================================================ */
.ad-section { padding: clamp(28px,4vw,48px) 0; }
.ad-banner {
  position: relative; max-width: 970px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 14px 36px -26px rgba(36,28,19,.4);
}
.ad-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(36,28,19,.62); padding: 3px 8px; border-radius: 100px;
}
.ad-img { display: block; }
.ad-img img { width: 100%; height: auto; display: block; }
.ad-banner .ad-img img { max-height: 320px; object-fit: cover; }
.ad-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.ad-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ad-caption { display: block; padding: 12px 16px; font-size: 14px; color: var(--ink-soft); }

/* Bandeau bas fermable (toutes pages) */
.ad-bandeau {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -22px rgba(36,28,19,.5);
}
.ad-bandeau-inner { position: relative; max-width: 1000px; margin: 0 auto; padding: 8px 52px 8px 16px; min-height: 56px; display: flex; align-items: center; gap: 14px; }
.ad-bandeau-inner .ad-tag { position: static; flex: none; }
.ad-bandeau-inner .ad-img img { max-height: 64px; width: auto; border-radius: 4px; }
.ad-bandeau-inner .ad-embed { width: 110px; aspect-ratio: 16/9; flex: none; }
.ad-bandeau-inner .ad-caption { padding: 0; font-size: 14px; }
.ad-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.ad-close:hover { background: var(--paper-2); }
@media (max-width: 560px) {
  .ad-bandeau-inner .ad-caption { display: none; }
}

/* Bloc AdSense */
.ad-adsense { padding: 10px; min-height: 90px; }
.ad-adsense .adsbygoogle { width: 100%; }

/* Bandeau de consentement cookies */
.consent-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 760px; margin: 0 auto;
  background: var(--green-2); color: var(--on-green);
  border-radius: 10px; padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
}
.consent-msg { margin: 0; font-size: 14px; line-height: 1.5; color: var(--on-green-dim); flex: 1; min-width: 240px; }
.consent-msg a { color: var(--ochre); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { padding: 11px 20px; font-size: 14px; }
.consent-actions .btn-ghost { color: var(--on-green); border-color: var(--on-green-dim); }
.consent-actions .btn-ghost:hover { background: var(--on-green); color: var(--green-2); }
@media (max-width: 520px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* ============================================================
   ANNUAIRE
   ============================================================ */
.an-filters { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 36px; }
.an-filters .f label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.an-filters select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 100px; font: inherit; font-size: 14.5px; background: var(--paper); color: var(--ink); min-width: 200px; }
.an-filters select:focus { outline: 2px solid var(--terra); border-color: var(--terra); }
.an-count { margin-left: auto; font-size: 13px; color: var(--ink-soft); }

.an-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .an-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .an-grid { grid-template-columns: 1fr; } }

.an-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.an-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(36,28,19,.4); }
.an-media { height: 168px; background: var(--paper-2); background-size: cover; background-position: center; }
.an-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.an-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--terra); font-weight: 700; margin-bottom: 9px; }
.an-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.an-city { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.an-desc { font-size: 14.5px; color: var(--ink-soft); flex: 1; margin: 0 0 14px; }
.an-contact { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.an-contact a { color: var(--terra-deep); text-decoration: none; font-weight: 600; }
.an-contact a:hover { text-decoration: underline; }

/* Badge "Recommandé" pour premium */
.an-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ochre); color: var(--green-2); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }

/* Premium : mise en avant forte */
.an-card.premium { border-color: var(--ochre); box-shadow: 0 0 0 1px var(--ochre), 0 16px 36px -24px rgba(36,28,19,.4); }
.an-card.premium .an-cat { color: var(--terra-deep); }
/* Standard : médias visibles, sobre */
.an-card.standard .an-media { height: 140px; }
/* Gratuit : compact, sans média */
.an-card.gratuit .an-media { display: none; }
.an-card.gratuit { background: var(--paper); }
.an-card.gratuit .an-body { padding: 18px 20px; }
.an-card.gratuit h3 { font-size: 1.15rem; }
.an-card.gratuit .an-desc { display: none; }

.an-group-label { grid-column: 1 / -1; font-family: var(--display); font-size: 1.05rem; color: var(--green); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin: 8px 0 0; }

/* Recherche + tri */
.an-search { flex: 1; min-width: 220px; }
.an-search input { width: 100%; padding: 11px 16px; border: 1px solid var(--line); border-radius: 100px; font: inherit; font-size: 14.5px; background: var(--paper); color: var(--ink); }
.an-search input:focus { outline: 2px solid var(--terra); border-color: var(--terra); }
.an-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper); transition: .2s; white-space: nowrap; }
.an-toggle.on { background: var(--terra); color: #fff; border-color: var(--terra); }

/* Étoiles */
.an-stars { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: var(--ochre); letter-spacing: 1px; }
.an-stars .num { color: var(--ink-soft); font-size: 12px; margin-left: 5px; font-family: var(--sans); }
.an-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

/* Badge vérifié */
.an-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--green); background: color-mix(in srgb, var(--green) 10%, #fff); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); padding: 2px 9px; border-radius: 100px; }
.an-verified::before { content: "✓"; }

/* Favori (cœur) */
.an-fav { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--ink-soft); font-size: 17px; cursor: pointer; display: grid; place-items: center; box-shadow: 0 3px 10px -3px rgba(0,0,0,.3); transition: .2s; }
.an-fav:hover { transform: scale(1.08); }
.an-fav.on { color: var(--clay); }

/* Équipements (puces) */
.an-amen { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.an-amen .chip { font-size: 11.5px; color: var(--ink-soft); background: var(--paper-2); border: 1px solid var(--line); border-radius: 100px; padding: 3px 10px; }

/* Actions rapides */
.an-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.an-act { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-decoration: none; padding: 8px 13px; border-radius: 100px; border: 1px solid var(--line); color: var(--green); background: #fff; transition: .2s; cursor: pointer; }
.an-act:hover { background: var(--green); color: var(--on-green); border-color: var(--green); }
.an-act.wa:hover { background: #25803a; border-color: #25803a; }
.an-act.more { border-color: var(--terra); color: var(--terra-deep); }
.an-act.more:hover { background: var(--terra); color: #fff; border-color: var(--terra); }

/* Modale fiche détaillée */
.an-modal { position: fixed; inset: 0; z-index: 300; background: rgba(20,15,8,.62); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px; }
.an-modal.open { display: flex; }
.an-modal-card { background: var(--paper); border-radius: 10px; max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; position: relative; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.an-modal-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.an-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--paper-2); }
.an-gallery img { height: 280px; min-width: 100%; object-fit: cover; scroll-snap-align: center; }
.an-gallery.single img { min-width: 100%; }
.an-modal-body { padding: 26px 30px 30px; }
.an-modal-body .an-cat { margin-bottom: 8px; }
.an-modal-body h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.an-modal-body .an-city { margin-bottom: 14px; }
.an-modal-body .desc { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.an-modal-body h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 10px; }
.an-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--line, #D9CDB6); position: relative; }
.an-map iframe { display: block; width: 100%; height: 240px; border: 0; }
.an-map .an-map-block { position: absolute; inset: 0; z-index: 2; cursor: default; }

/* — Logo « Tissé » (option D) — */
.brand-d { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-d em { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 9.5px; letter-spacing: .5em; text-transform: lowercase; color: var(--green-soft); margin-left: 1px; }
.brand-d strong { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .04em; white-space: nowrap; color: var(--green); }
.brand-d strong .bo { color: var(--ochre); }

/* ============================================================
   BLOC CROISÉ blog ↔ magazine
   ============================================================ */
.cross-promo { max-width: var(--maxw, 1200px); margin: 8px auto 0; padding: 0 var(--gutter, 32px); }
.cross-card { display: flex; align-items: center; gap: 26px; background: var(--green); color: var(--on-green);
  border-radius: var(--radius, 16px); padding: 30px 34px; flex-wrap: wrap; overflow: hidden; position: relative; }
.cross-card.is-terra { background: var(--terra); }
.cross-card .cross-txt { flex: 1; min-width: 240px; }
.cross-card .eyebrow { color: var(--ochre); margin-bottom: 10px; }
.cross-card.is-terra .eyebrow { color: #fff; opacity: .9; }
.cross-card h3 { font-family: var(--display); font-weight: 400; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 8px; line-height: 1.1; }
.cross-card p { color: var(--on-green-dim); margin: 0; font-size: 15px; max-width: 52ch; }
.cross-card.is-terra p { color: rgba(255,255,255,.9); }
.cross-card .cross-act { flex: none; }
.cross-card .btn-light { background: var(--ochre); color: var(--green-2); border: none; }
.cross-card .btn-light:hover { background: #e7ad44; }
.cross-card.is-terra .btn-light { background: #fff; color: var(--terra-deep); }
.cross-card .cross-mark { position: absolute; right: -10px; bottom: -26px; font-family: var(--display); font-size: 130px; color: rgba(255,255,255,.07); line-height: 1; pointer-events: none; }
@media (max-width: 640px) { .cross-card { padding: 24px 22px; } .cross-card .cross-act { width: 100%; } .cross-card .cross-act .btn { width: 100%; justify-content: center; } }
.brand-d .brand-frise { margin-top: 2px; display: block; }
/* version claire du logo sur le pied de page vert foncé */
.site-footer .brand-d em { color: rgba(245,239,226,.78); }
.site-footer .brand-d strong { color: #fff; }
