/* ==========================================================================
   Caravelas Eventos: estilos globais (layout base)
   Tokens + reset + header/mega menu + WhatsApp flutuante + footer + cookies.
   Os estilos de cada página ficam no @push('styles') da própria view,
   copiados do protótipo aprovado para manter a fidelidade pixel a pixel.
   ========================================================================== */

:root {
  --green-1: #1A4D2E;      /* verde principal */
  --green-2: #2E7D4F;      /* verde 2 */
  --cream: #FAF7F2;        /* fundo */
  --gold: #C8872A;         /* destaque e kickers */
  --gold-hover: #A66F1F;
  --gold-light: #E8C787;
  --ink: #2C2C2A;          /* texto */
  --alt: #F1EFE8;          /* fundo alternativo */
  --border: #E4DFD1;
  --muted: #52605A;        /* texto secundário */
  --on-green: #D8E0DA;     /* texto em fundo verde */
  --hero-dark: #2A1C0C;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); font-family: 'Inter', system-ui, sans-serif; color: var(--ink); }
img { max-width: 100%; }

/* Acessibilidade: link "pular para o conteúdo" e foco visível no teclado */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--green-1); color: #FFF !important; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: top .15s ease; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Header (SiteHeader.dc.html) ---------- */
  .cae-header * { box-sizing: border-box; font-family: 'Inter', sans-serif; }
  .cae-header a { text-decoration: none; }
  @keyframes cae-wa-pulse {
    0%   { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.55); }
    70%  { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,0); }
  }
  #cae-wa-widget:hover #cae-wa-tooltip { opacity: 1 !important; transform: translateX(0) !important; }
  #cae-wa-modal.is-open { display: flex !important; }
  #cae-wa-modal.is-open #cae-wa-card { opacity: 1 !important; transform: translateY(0) !important; }
  .cae-wa-typing .dots { display: inline-flex; gap: 4px; align-items: center; }
  .cae-wa-typing .dots span { width: 6px; height: 6px; border-radius: 50%; background: #9AA39D; animation: cae-wa-dots 1.2s infinite; }
  .cae-wa-typing .dots span:nth-child(2) { animation-delay: .2s; }
  .cae-wa-typing .dots span:nth-child(3) { animation-delay: .4s; }
  @keyframes cae-wa-dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
  .cae-wa-bubble, .cae-wa-typing { align-self: flex-start; background: #FFF; padding: 10px 14px; border-radius: 14px; border-top-left-radius: 4px; font-size: 14px; color: #2C2C2A; box-shadow: 0 1px 1px rgba(0,0,0,.08); max-width: 85%; }
  .cae-wa-bubble { animation: cae-wa-in .28s ease-out; }
  @keyframes cae-wa-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
  @media (max-width: 640px) {
    #cae-wa-modal { align-items: center; justify-content: center; padding: 16px; }
    #cae-wa-card { width: 100%; }
    #cae-wa-widget { right: 16px; bottom: 16px; }
  }
  .cae-nav-item { position: static; }
  .cae-nav-link { color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .04em; padding: 26px 0; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
  .cae-nav-link:hover, .cae-nav-item:hover .cae-nav-link, .cae-nav-item.is-open .cae-nav-link { color: var(--gold); }
  .cae-mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--cream); border-top: 3px solid var(--gold); padding: 40px 56px 44px; width: min(1200px, calc(100vw - 96px)); box-shadow: 0 24px 40px -12px rgba(20,45,30,.18); opacity: 0; visibility: hidden; transition: opacity .18s ease; z-index: 30; border-radius: 0 0 14px 14px; pointer-events: none; }
  .cae-mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
  .cae-nav-item:hover .cae-mega, .cae-nav-item.is-open .cae-mega { opacity: 1; visibility: visible; pointer-events: auto; }
  .cae-burger { display: none; background: transparent; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 0; }
  .cae-burger span { display: block; width: 22px; height: 2px; background: var(--green-1); margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }
  body.cae-menu-open .cae-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.cae-menu-open .cae-burger span:nth-child(2) { opacity: 0; }
  body.cae-menu-open .cae-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cae-mobile-cta { display: none; }
  .cae-header-tel { display: none; align-items: center; gap: 8px; background: var(--green-1); color: #FFF !important; border-radius: 999px; padding: 10px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; margin-left: auto; }
  @media (max-width: 900px) { .cae-header-tel { display: inline-flex; } .cae-header > div { gap: 12px !important; padding: 0 16px !important; } }
  @media (max-width: 360px) { .cae-header-tel-num { display: none; } }
  @media (max-width: 900px) { .cae-chevron { font-size: 16px !important; padding: 0 12px !important; line-height: 1 !important; } }
  @media (max-width: 1024px) {
    .cae-header-cta { display: none !important; }
  }
  @media (max-width: 900px) {
    .cae-burger { display: block !important; }
    .cae-nav-wrap { display: none !important; position: fixed !important; top: 76px; left: 0; right: 0; bottom: 0; background: var(--cream); overflow-y: auto; padding: 8px 24px 32px; z-index: 40; }
    body.cae-menu-open .cae-nav-wrap { display: block !important; }
    html.cae-scroll-lock { overflow: hidden !important; }
    body.cae-menu-open .cae-nav-wrap { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    .cae-nav-wrap nav { display: flex !important; flex-direction: column; gap: 0 !important; }
    .cae-nav-item { border-bottom: 1px solid var(--border); }
    .cae-nav-link { padding: 18px 4px !important; width: 100%; justify-content: space-between; font-size: 15px; }
    .cae-nav-item:hover .cae-mega { opacity: 0; visibility: hidden; transform: none; }
    .cae-mega { position: static; transform: none; width: auto; box-shadow: none; border-top: 0; padding: 0 4px 20px; background: transparent; border-radius: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease, opacity .2s ease; }
    .cae-nav-item.is-open .cae-mega { max-height: 1400px; opacity: 1; visibility: visible; transform: none; }
    .cae-mega > div { grid-template-columns: 1fr !important; gap: 18px !important; max-width: none !important; margin: 0 !important; }
    .cae-mega-banner { min-height: 160px; }
    /* mobile: sub-menu limpo — só títulos clicáveis */
    .cae-mega-col { gap: 0 !important; padding: 14px 4px; border-bottom: 1px solid var(--border); }
    .cae-mega-col .cae-mega-kicker,
    .cae-mega-col .cae-mega-body,
    .cae-mega-col .cae-mega-icon,
    .cae-mega-col > span { display: none !important; }
    .cae-mega-col .cae-mega-title { font-size: 16px !important; font-family: 'Inter', sans-serif !important; font-style: normal !important; font-weight: 500 !important; color: var(--ink) !important; }
    .cae-mega-col .cae-mega-title br { display: none !important; }
    .cae-nav-item .cae-mega .cae-mega-banner { display: flex !important; margin-top: 6px; order: 3; }
    .cae-mega > div { display: flex !important; flex-direction: column; }
    .cae-mega a[href$="/historias-reais"] { order: 1; }
    .cae-mega a[href$="/galeria"] { order: 2; }
    .cae-mobile-cta { display: flex; justify-content: center; margin-top: 24px; }
  }
  /* Header em vidro ao rolar (desktop) */
  @media (min-width: 901px) {
    .cae-header { transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; }
    .cae-header.is-scrolled {
      background: rgba(250, 247, 242, .68) !important;
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      backdrop-filter: blur(18px) saturate(160%);
      border-bottom-color: rgba(26, 77, 46, .10) !important;
      box-shadow: 0 10px 30px -18px rgba(20, 45, 30, .35);
    }
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      .cae-header.is-scrolled { background: rgba(250, 247, 242, .96) !important; }
    }
  }
  /* Mobile: o vidro fica numa camada ::before. Aplicar backdrop-filter no próprio
     header prenderia o menu (position: fixed) dentro dele. */
  @media (max-width: 900px) {
    .cae-header { transition: box-shadow .3s ease; }
    .cae-header.is-scrolled { background: transparent !important; border-bottom-color: rgba(26, 77, 46, .10) !important; box-shadow: 0 10px 24px -18px rgba(20, 45, 30, .35); }
    .cae-header.is-scrolled::before {
      content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
      background: rgba(250, 247, 242, .72);
      -webkit-backdrop-filter: blur(16px) saturate(160%);
      backdrop-filter: blur(16px) saturate(160%);
    }
    body.cae-menu-open .cae-header.is-scrolled { background: var(--cream) !important; }
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      .cae-header.is-scrolled::before { background: rgba(250, 247, 242, .96); }
    }
  }

  /* Lupa do header */
  .cae-search-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(26,77,46,.18); background: transparent; color: var(--green-1); cursor: pointer; flex-shrink: 0; padding: 0; transition: background .2s ease, color .2s ease, border-color .2s ease; }
  .cae-search-btn:hover { background: var(--green-1); color: #FFF; border-color: var(--green-1); }
  .cae-search-btn--mobile { display: none; }
  @media (max-width: 900px) {
    .cae-search-btn--desktop { display: none; }
    .cae-search-btn--mobile { display: inline-grid; margin-left: auto; width: 40px; height: 40px; }
    .cae-header-tel { margin-left: 0; }
  }

  /* Painel de busca em vidro */
  .cae-search { position: fixed; inset: 0; z-index: 9500; display: flex; justify-content: center; align-items: flex-start; padding: 14vh 24px 24px; background: rgba(250, 247, 242, .72); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); opacity: 0; transition: opacity .22s ease; overflow-y: auto; }
  .cae-search[hidden] { display: none; }
  .cae-search.is-open { opacity: 1; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cae-search { background: rgba(250, 247, 242, .97); } }
  .cae-search-inner { width: 100%; max-width: 760px; transform: translateY(-10px); transition: transform .25s ease; }
  .cae-search.is-open .cae-search-inner { transform: none; }
  .cae-search-kicker { display: block; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .28em; color: var(--gold); margin-bottom: 16px; text-align: center; }
  .cae-search-field { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.75); border: 1px solid rgba(26,77,46,.16); border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 20px 50px -28px rgba(20,45,30,.45); color: var(--green-1); }
  .cae-search-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 20px/1.3 'Inter', sans-serif; color: var(--ink); padding: 10px 0; outline: none; }
  .cae-search-field input::-webkit-search-cancel-button { -webkit-appearance: none; }
  .cae-search-field:focus-within { border-color: var(--gold); }
  .cae-search-go { border: 0; border-radius: 999px; background: var(--green-1); color: #FFF; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .18em; padding: 15px 26px; cursor: pointer; transition: background .2s ease; }
  .cae-search-go:hover { background: var(--gold); }
  .cae-search-hint { font: 13px/1.5 'Inter', sans-serif; color: #52605A; text-align: center; margin: 14px 0 0; }
  .cae-search-results { margin-top: 22px; display: grid; gap: 10px; }
  .cae-search-results:empty { display: none; }
  .cae-search-item { display: block; background: rgba(255,255,255,.78); border: 1px solid rgba(26,77,46,.10); border-radius: 14px; padding: 16px 20px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
  .cae-search-item:hover, .cae-search-item:focus-visible { border-color: var(--gold); transform: translateY(-1px); }
  .cae-search-item .t { font: 500 19px/1.3 'Playfair Display', serif; color: var(--green-1); margin: 4px 0; }
  .cae-search-item .k { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }
  .cae-search-item .s { font: 14px/1.55 'Inter', sans-serif; color: #52605A; margin: 0; }
  .cae-search-item mark, .cae-results mark { background: rgba(200,135,42,.22); color: inherit; border-radius: 3px; padding: 0 2px; }
  .cae-search-all { display: block; text-align: center; font: 600 12px/1 'Inter', sans-serif; letter-spacing: .16em; color: var(--green-1); padding: 14px; text-decoration: none; }
  .cae-search-all:hover { color: var(--gold); }
  .cae-search-empty { text-align: center; font: 15px/1.6 'Inter', sans-serif; color: #52605A; padding: 10px; }
  .cae-search-quick { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font: 13px/1 'Inter', sans-serif; color: #52605A; }
  .cae-search-quick a { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(26,77,46,.16); background: rgba(255,255,255,.6); color: var(--green-1); text-decoration: none; }
  .cae-search-quick a:hover { border-color: var(--gold); color: var(--gold); }
  .cae-search-close { position: fixed; top: 22px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(26,77,46,.18); background: rgba(255,255,255,.7); color: var(--green-1); display: grid; place-items: center; cursor: pointer; }
  .cae-search-close:hover { background: var(--green-1); color: #FFF; }
  body.cae-search-open { overflow: hidden; }
  @media (max-width: 640px) {
    .cae-search { padding: 88px 16px 24px; }
    .cae-search-field { padding: 6px 6px 6px 16px; gap: 8px; }
    .cae-search-field input { font-size: 17px; }
    .cae-search-go { padding: 13px 16px; letter-spacing: .1em; }
    .cae-search-close { top: 16px; right: 16px; }
  }
  @media (prefers-reduced-motion: reduce) { .cae-search, .cae-search-inner, .cae-header { transition: none !important; } }

  .cae-mega-col { display: flex; flex-direction: column; gap: 14px; }
  .cae-mega-kicker { font-size: 12px; letter-spacing: .28em; font-weight: 600; color: var(--gold); text-transform: uppercase; }
  .cae-mega-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--green-1); font-weight: 500; line-height: 1.2; margin: 0; }
  .cae-mega-body { font-size: 13px; line-height: 1.55; color: #52605A; margin: 0; }
  .cae-mega-banner { background: var(--green-1); color: var(--cream); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
  .cae-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; border: 0; cursor: pointer; transition: background .2s ease, color .2s ease; }
  .cae-btn:hover { background: var(--gold) !important; color: #FFF !important; }
  .cae-mega-banner:hover .cae-mega-banner-overlay { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.6) 100%) !important; }
  .cae-mega-banner-btn:hover { background: rgba(0,0,0,.65) !important; color: #FFF !important; }
  .cae-btn-pulse { animation: caePulse 1.8s infinite; }
  @keyframes caePulse {
    0%   { box-shadow: 0 0 0 0 rgba(200,135,42,.55); }
    70%  { box-shadow: 0 0 0 18px rgba(200,135,42,0); }
    100% { box-shadow: 0 0 0 0 rgba(200,135,42,0); }
  }
/* Teclado: abre o mega menu quando o foco entra no item (desktop) */
@media (min-width: 901px) {
  .cae-nav-item:focus-within .cae-mega { opacity: 1; visibility: visible; pointer-events: auto; }
}
.cae-burger:focus-visible, .cae-chevron:focus-visible { outline: 2px solid var(--gold); }

/* ---------- Footer (SiteFooter.dc.html) ---------- */
  .footer * { box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
  .footer a, .footer .cookie-prefs-link { color: #D8E0DA; text-decoration: none; font-size: 15px; }
  .footer a:hover { color: var(--gold); }
  .footer .kicker { font-size: 12px; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; font-weight: 600; }
  .footer input::placeholder { color: rgba(255,255,255,.6); }
  @media (max-width: 600px) {
    .cookie-banner { left: 16px !important; right: 16px !important; bottom: 16px !important; width: auto !important; }
  }
  @media (max-width: 900px) {
    .footer .top-grid { grid-template-columns: 1fr !important; gap: 40px !important; text-align: center; }
    .footer .top-grid img { margin-left: auto !important; margin-right: auto !important; }
    .footer .top-grid p { margin-left: auto !important; margin-right: auto !important; }
    .footer .top-grid .socials { justify-content: center !important; }
    .footer .top-grid form { max-width: 420px; margin: 0 auto; }
  }
.footer .nl-feedback { margin-top: 10px; font-size: 13px; color: #F3C9C9; }
/* Aviso e preferências de cookies (LGPD) */
.cookie-banner { position: fixed; left: 24px; bottom: 24px; z-index: 9000; width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); overflow-y: auto; background: #FAF7F2; color: #1F2A24; border: 1px solid rgba(26,77,46,.14); border-radius: 12px; padding: 20px 22px; box-shadow: 0 18px 48px rgba(20,30,24,.22); font-family: 'Inter', system-ui, sans-serif; }
.cookie-banner[hidden] { display: none; }
.cookie-kicker { font-size: 12px; letter-spacing: .24em; color: #C8872A; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.cookie-text { font-size: 14px; line-height: 1.55; margin: 0 0 16px; color: #3A4740; text-wrap: pretty; }
.cookie-text a { color: #1A4D2E; text-decoration: underline; }
.cookie-prefs fieldset { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cookie-opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid rgba(26,77,46,.12); border-radius: 10px; background: #FFF; cursor: pointer; }
.cookie-opt span { display: grid; gap: 2px; font-size: 13px; color: #1F2A24; }
.cookie-opt small { font-size: 12px; line-height: 1.4; color: #5A665F; }
.cookie-opt input { width: 20px; height: 20px; accent-color: #1A4D2E; flex-shrink: 0; cursor: pointer; }
.cookie-opt.is-locked { cursor: default; opacity: .85; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-btn { flex: 1 1 140px; min-height: 44px; padding: 0 16px; border-radius: 999px; font: 700 12px/1 'Inter', sans-serif; letter-spacing: .14em; cursor: pointer; transition: background .2s ease, color .2s ease; }
.cookie-btn-accept { border: 0; background: #C8872A; color: #FFF; }
.cookie-btn-accept:hover { background: #A66F1F; }
.cookie-btn-reject { border: 1px solid #1A4D2E; background: transparent; color: #1A4D2E; }
.cookie-btn-reject:hover { background: #1A4D2E; color: #FFF; }
.cookie-link { border: 0; background: none; padding: 6px 2px; font: 500 13px/1.2 'Inter', sans-serif; color: #1A4D2E; text-decoration: underline; cursor: pointer; }
.cookie-link:hover { color: #C8872A; }
.cookie-banner.is-custom .cookie-btn-reject, .cookie-banner.is-custom .cookie-link { display: none; }
/* Mapa do Google só depois do consentimento (ou do clique) */
.consent-embed { position: relative; width: 100%; height: 100%; }
.consent-embed-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: #F1EFE8 url('/assets/fotos/espaco-salao-botafogo.webp') center/cover; color: #FFFDF7; }
.consent-embed-ph::before { content: ""; position: absolute; inset: 0; background: rgba(26,77,46,.82); }
.consent-embed-ph > * { position: relative; }
.consent-embed-ph p { margin: 0; font-size: 14px; line-height: 1.5; max-width: 320px; color: #E7EDE9; }
.consent-embed-ph strong { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 22px; color: #FFFDF7; }
.consent-embed-ph button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: #C8872A; color: #FFF; font: 700 12px/1 'Inter', sans-serif; letter-spacing: .14em; cursor: pointer; }
.consent-embed-ph button:hover { background: #FFF; color: #C8872A; }
.consent-embed-ph a { color: #E8C787; font-size: 12px; }
.footer .cookie-prefs-link { background: none; border: 0; padding: 0; font-family: inherit; line-height: inherit; cursor: pointer; text-align: inherit; }
.footer .cookie-prefs-link:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Atributo hidden vence estilos inline (lightbox, depoimentos, abas) */
[hidden] { display: none !important; }

/* Carrossel de depoimentos das páginas de evento */
.dep-btn-prev:hover { background: rgba(255,253,247,.12) !important; }
.dep-btn-next:hover { background: #B37623 !important; }
.hd-prev:hover { background: var(--alt) !important; }
.hd-next:hover { background: #B37623 !important; }

/* ==========================================================================
   Padronização pedida pelo cliente (2026-11-07)
   ========================================================================== */

/* H2 de seção: 44px no desktop. Ficam de fora os intertítulos dentro do texto
   de artigos e das páginas legais (hierarquia de leitura). */
@media (min-width: 1025px) {
  main h2:not(.article h2):not(.legal-body h2),
  main .h2-serif:not(.article .h2-serif):not(.legal-body .h2-serif) {
    font-size: 44px !important;
    line-height: 1.1 !important;
  }
}

/* Quebras manuais de títulos e textos curtos valem só no desktop: no mobile o texto
   fica corrido. Endereços (class="br-keep") continuam quebrando. */
@media (max-width: 900px) {
  main br:not(.br-keep) { display: none; }
}

/* Carrossel de fotos das páginas de experiência (Buffet, Cerimonial, Decoração, Música):
   no mobile ocupa a mesma largura da foto de cima (20px de margem lateral). */
@media (max-width: 900px) {
  .buf-section { padding-left: 20px !important; padding-right: 20px !important; }
  .buf-section .buf-arrow { width: 40px !important; height: 40px !important; }
}

/* Página Experiência, mobile: cada bloco na ordem kicker, título, foto, texto, botão;
   bloco "A experiência vai além da nossa casa" centralizado. */
@media (max-width: 900px) {
  .exp-card { display: flex !important; flex-direction: column; gap: 0 !important; padding: 28px 22px !important; }
  .exp-card .exp-text { display: contents; }
  .exp-card .kicker { order: 1; }
  .exp-card h3 { order: 2; margin: 12px 0 20px !important; }
  .exp-card .exp-photo { order: 3 !important; width: 100%; margin: 0 0 22px; }
  .exp-card p { order: 4; }
  .exp-card .link-cta { order: 5; }
  .exp-ext { grid-template-columns: 1fr !important; gap: 24px !important; padding: 40px 24px !important; text-align: center; justify-items: center; }
  .exp-ext p { margin-left: auto !important; margin-right: auto !important; }
}

/* Botões longos no mobile (ver initLongButtons em site.js): frase completa como
   mini-chamada acima e texto curto no botão, só quando o texto quebraria. */
.btn-stack { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; vertical-align: top; }
.btn-mini { font-family: 'Playfair Display', serif; font-style: italic; font-size: 17px; line-height: 1.35; color: inherit; text-align: center; max-width: 320px; text-wrap: balance; letter-spacing: 0; text-transform: none; }
.btn-stack > .btn-short { white-space: nowrap; margin-top: 0 !important; }
.btn-nowrap { white-space: nowrap !important; }

/* Depoimentos da Home: filtro em um único botão com menu */
.dep-filter { position: relative; display: inline-block; }
.dep-filter-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--green-1); background: transparent; color: var(--green-1); font: 600 12px/1 'Inter', sans-serif; letter-spacing: .12em; cursor: pointer; transition: background .2s ease, color .2s ease; }
.dep-filter-btn:hover, .dep-filter-btn[aria-expanded="true"] { background: var(--green-1); color: #FFF; }
.dep-filter-current { font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 13px; opacity: .85; }
.dep-filter-chev { transition: transform .2s ease; }
.dep-filter-btn[aria-expanded="true"] .dep-filter-chev { transform: rotate(180deg); }
.dep-filter-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 260px; background: #FFF; border: 1px solid var(--border); border-radius: 14px; padding: 8px; box-shadow: 0 24px 48px -20px rgba(20,45,30,.35); display: grid; gap: 2px; }
.dep-filter-menu[hidden] { display: none; }
.dep-filter-menu [data-dep-tab] { display: flex !important; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 11px 14px !important; border: 0 !important; border-radius: 9px !important; background: transparent !important; color: var(--ink) !important; font: 500 14px/1.3 'Inter', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; cursor: pointer; }
.dep-filter-menu [data-dep-tab]:hover { background: var(--alt) !important; }
.dep-filter-menu [data-dep-tab][aria-selected="true"] { background: var(--green-1) !important; color: #FFF !important; }
@media (max-width: 900px) {
  .dep-filter { display: flex; justify-content: center; }
  .dep-filter-menu { left: 50%; transform: translateX(-50%); min-width: min(300px, calc(100vw - 40px)); }
}

/* quebra de linha só no mobile (ex.: kicker do hero da Home) */
@media (min-width: 901px) { br.br-mob { display: none; } }

/* Corpo de texto padronizado: parágrafos de cards, FAQs e blocos usam o mesmo
   tamanho do texto corrido (17px / 1.7). Notas em itálico e legendas ficam menores. */
main :is(p[style*="font-size: 15px"], p[style*="font-size: 16px"], p.small, div[style*="font-size: 15px"] > p:not([style*="font-size"]), div[style*="font-size: 16px"] > p:not([style*="font-size"])):not(.article p, .legal-body p, form p, footer p) {
  font-size: 17px !important; line-height: 1.7 !important;
}

/* Experiência: menos espaço entre "Quatro experiências" e o 1º bloco */
#experiencias { padding-bottom: 24px !important; }
#experiencias + section { padding-top: 16px !important; }

@media (max-width: 900px) {
  /* blocos de experiência centralizados no mobile */
  .exp-card { text-align: center; }
  .exp-card .kicker { text-align: center !important; }
  .exp-card .link-cta { align-self: center !important; }
  /* "Uma produção. Muitos detalhes.": kicker, H2, foto, card da citação, texto, botão */
  div.exp-intro[style*="grid-template-columns"] { display: flex !important; flex-direction: column !important; gap: 0 !important; }
  .exp-intro-text, .exp-intro-media { display: contents !important; }
  .exp-intro-text > .kicker { order: 1; }
  .exp-intro-text > .h2-serif { order: 2; }
  .exp-intro-photo { order: 3; width: 100%; }
  .exp-intro-quote { order: 4; position: relative !important; left: auto !important; bottom: auto !important; max-width: none !important; width: calc(100% - 32px); margin: -40px auto 28px; z-index: 1; }
  .exp-intro-copy { order: 5; }
  .exp-intro-cta { order: 6; }
}
/* filtro no cabeçalho dos depoimentos (à direita no desktop): menu abre alinhado à direita */
@media (min-width: 901px) { .dep-header .dep-filter-menu { left: auto; right: 0; } }

/* O Espaço, mobile: kicker, H2, foto/mapa, texto, botões, tudo centralizado */
@media (max-width: 900px) {
  div.esp-split[style*="grid-template-columns"] { display: flex !important; flex-direction: column !important; gap: 0 !important; text-align: center; }
  .esp-split .esp-text { display: contents !important; }
  .esp-split .esp-text > .kicker { order: 1; }
  .esp-split .esp-text > .h2-serif { order: 2; }
  .esp-split > .esp-media { order: 3; width: 100% !important; margin: 0 0 28px !important; }
  .esp-split .esp-copy, .esp-split .esp-text > p { order: 4; }
  .esp-split .esp-cta { order: 5; justify-content: center; }
  /* mapa: textos, caixa do endereço, mapa e os dois botões */
  .esp-split--map .esp-text > p { order: 3; }
  .esp-split--map .esp-addr { order: 4; }
  .esp-split--map > .esp-media { order: 5; aspect-ratio: 4/3 !important; }
  .esp-split--map .esp-cta { order: 6; margin-top: 0 !important; }
}
/* Cabeçalhos de seção "título à esquerda + ação à direita": centralizados no mobile */
@media (max-width: 900px) {
  main div[style*="align-items: flex-end; justify-content: space-between"] { justify-content: center !important; text-align: center; }
  main div[style*="align-items: flex-end; justify-content: space-between"] > * { text-align: center; }
}

/* Blocos de texto ao lado de foto/linha do tempo: centralizados no mobile */
@media (max-width: 900px) {
  .mob-center { text-align: center; }
  .mob-center > .kicker, .mob-center > h2, .mob-center p { text-align: center !important; }
}

/* Botão dourado sobre seção escura (marcado pelo site.js): hover branco com texto dourado */
main .btn.on-dark:hover, main .cae-btn.on-dark:hover, main .btn.on-dark:focus-visible { background: #FFFFFF !important; color: var(--gold, #C8872A) !important; border-color: #FFFFFF !important; }

/* Indicadores de carrossel (8px): área de toque de 24px (WCAG 2.5.8), com 16px entre eles */
main button[style*="height: 8px"][aria-label] { position: relative; }
main button[style*="height: 8px"][aria-label]::after { content: ''; position: absolute; inset: -8px; }


/* ---------- Botão de acessibilidade ---------- */
.a11y { position: fixed; right: 0; top: calc(50% - 23px); z-index: 8500; font-family: 'Inter', system-ui, sans-serif; }
.a11y-toggle { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px 0 0 12px; background: #1A4D2E; color: #FFFFFF; cursor: pointer; box-shadow: 0 6px 18px rgba(20,30,24,.25); transition: width .2s ease, background .2s ease; }
.a11y-toggle:hover, .a11y-toggle[aria-expanded="true"] { width: 52px; background: #143D24; }
.a11y-toggle:focus-visible, .a11y-panel button:focus-visible { outline: 3px solid #E0A64C; outline-offset: 2px; }
.a11y-panel { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); width: 260px; max-height: calc(100vh - 32px); overflow-y: auto; background: #FAF7F2; color: #1F2A24; border: 1px solid rgba(26,77,46,.16); border-radius: 12px; padding: 16px; box-shadow: 0 18px 48px rgba(20,30,24,.22); }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-title { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #1A4D2E; }
.a11y-close { width: 32px; height: 32px; border: 0; background: none; font-size: 24px; line-height: 1; color: #1F2A24; cursor: pointer; border-radius: 8px; }
.a11y-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.a11y-group { margin-bottom: 12px; }
.a11y-size { display: flex; align-items: center; gap: 8px; }
.a11y-size button { flex: 0 0 48px; height: 40px; border: 1px solid rgba(26,77,46,.3); background: #FFFFFF; color: #1A4D2E; border-radius: 8px; font: 600 16px/1 'Inter', sans-serif; cursor: pointer; }
.a11y-size-val { flex: 1; text-align: center; font-size: 15px; font-weight: 600; }
.a11y-opt, .a11y-reset { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: 6px; padding: 10px 14px; border: 1px solid rgba(26,77,46,.25); background: #FFFFFF; color: #1F2A24; border-radius: 8px; font: 500 15px/1.3 'Inter', sans-serif; text-align: left; cursor: pointer; }
.a11y-opt::after { content: ''; width: 36px; height: 20px; flex-shrink: 0; border-radius: 10px; background: radial-gradient(circle at 10px 10px, #FFFFFF 7px, transparent 7.5px) #A9B3AD; }
.a11y-opt[aria-pressed="true"] { border-color: #1A4D2E; background: #EEF3EF; }
.a11y-opt[aria-pressed="true"]::after { background: radial-gradient(circle at 26px 10px, #FFFFFF 7px, transparent 7.5px) #1A4D2E; }
.a11y-reset { justify-content: center; margin-top: 12px; background: none; border-style: dashed; color: #1A4D2E; font-weight: 600; }
@media (max-width: 600px) {
  .a11y { top: calc(50% - 20px); }
  .a11y-toggle { width: 40px; height: 40px; }
  .a11y-panel { position: fixed; right: 12px; left: 12px; top: auto; bottom: 88px; transform: none; width: auto; max-height: 70vh; }
}

/* preferências (classes no <html>, aplicadas antes de desenhar a página) */
html.a11y-size-1 main, html.a11y-size-1 footer { zoom: 1.12; }
html.a11y-size-2 main, html.a11y-size-2 footer { zoom: 1.25; }
html.a11y-size-3 main, html.a11y-size-3 footer { zoom: 1.4; }
html.a11y-size--1 main, html.a11y-size--1 footer { zoom: .92; }
html.a11y-contrast .hc-d { color: #0B1A10 !important; }
html.a11y-contrast .hc-l { color: #FFFFFF !important; }
html.a11y-contrast main :is(.btn, .cae-btn) { outline: 2px solid currentColor; outline-offset: 2px; }
html.a11y-links main a:not(.btn):not(.cae-btn), html.a11y-links footer a { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px !important; }
html.a11y-links main a:focus, html.a11y-links footer a:focus { outline: 3px solid #E0A64C; outline-offset: 2px; }
html.a11y-spacing main :is(p, li, dd, blockquote, label), html.a11y-spacing footer :is(p, li, a) { line-height: 1.9 !important; letter-spacing: .03em !important; word-spacing: .12em !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }

/* ---------- Celular: botão Ligar ao lado do WhatsApp ---------- */
.cae-call-float { display: none; }
@media (max-width: 768px) {
  .cae-call-float { position: fixed; right: 92px; bottom: 26px; z-index: 199; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(250,247,242,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #1A4D2E; border: 1px solid rgba(26,77,46,.18); box-shadow: 0 6px 18px rgba(20,30,24,.14); text-decoration: none; }
  .cae-call-float:active { transform: scale(.96); }
  .cae-call-float:focus-visible { outline: 3px solid var(--gold, #C8872A); outline-offset: 2px; }
  #cae-wa-tooltip { display: none !important; } /* o balão cobriria o botão Ligar */
  html.cae-scroll-lock .cae-call-float { display: none; }
}

/* Contato enviado: continuar no WhatsApp */
.lead-wa-box { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border, #E4E0D8); }
.lead-wa-box p { font-size: 15px; color: #52605A; line-height: 1.6; margin: 0 0 14px; }
.lead-wa { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; background: #1F9D57; color: #FFFFFF !important; font: 600 13px/1 'Inter', sans-serif; letter-spacing: .14em; text-decoration: none; }
.lead-wa:hover, .lead-wa:focus-visible { background: #17834A; }

/* Perguntas frequentes das páginas de evento */
.cae-faq-item { background: #FFFFFF; border: 1px solid var(--border, #E4E0D8); border-radius: 14px; padding: 20px 26px; }
.cae-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 16px; font-weight: 500; color: var(--ink, #1F2A24); }
.cae-faq-item summary::-webkit-details-marker { display: none; }
.cae-faq-item summary span { flex-shrink: 0; color: var(--gold, #C8872A); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.cae-faq-item[open] summary span { transform: rotate(45deg); }
.cae-faq-item p { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: #52605A; }
@media (max-width: 768px) { .cae-faq { padding: 64px 20px !important; } .cae-faq-item { padding: 18px 20px; } }

/* Histórias Reais: faixa de prova social */
.proof-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 36px; }
.proof-item { display: flex; align-items: center; gap: 14px; color: #FAF7F2; text-decoration: none; }
.proof-num { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; line-height: 1; color: var(--gold, #C8872A); white-space: nowrap; }
.proof-star { font-size: 26px; vertical-align: 4px; }
.proof-label { font-size: 15px; line-height: 1.4; color: rgba(250,247,242,.88); }
.proof-more { font-size: 13px; color: rgba(250,247,242,.7); text-decoration: underline; text-underline-offset: 3px; }
.proof-link:hover .proof-more, .proof-link:focus-visible .proof-more { color: #FFFFFF; }
.proof-sep { width: 1px; height: 44px; background: rgba(250,247,242,.28); }
@media (max-width: 768px) { .proof-strip { flex-direction: column; align-items: flex-start; } .proof-sep { display: none; } .proof-num { font-size: 34px; } }

/* Contato: pedido de visita */
.visit-box { padding: 16px 18px; border: 1px solid var(--border, #E4DFD1); border-radius: 16px; background: var(--cream, #FAF7F2); }
.visit-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink, #2C2C2A); cursor: pointer; }
.visit-check input { width: 17px; height: 17px; accent-color: var(--green-1, #1A4D2E); }
.visit-fields { margin-top: 16px; }
.visit-fields[hidden] { display: none; }
.visit-note { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: #52605A; }
@media (max-width: 600px) { .visit-fields > div { grid-template-columns: 1fr !important; } }
