/* Chácara Recanto dos Ipês — página provisória (P45)
   Paleta A "Refúgio na Mata" e tipografia aprovadas na E2 (tokens.css).
   Fontes auto-hospedadas, licença SIL OFL 1.1 (assets/fontes/*-OFL.txt). */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fontes/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fontes/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fontes/montserrat-400-700-latin.woff2") format("woff2"); }

:root {
  --forest: #2B4230;
  --forest-hover: #22362A;
  --olive: #5B6847;
  --ipe: #D8B450;
  --ipe-hover: #CDAA45;
  --offwhite: #F8F5ED;
  --sand: #EFE8D8;
  --card: #FFFDF8;
  --text: #1E2B24;
  --muted: #4E5A4F;
  --earth: #7A5A3E;
  --border: #DDD5C4;
  --border-control: #857F6E;
  --link: #2E5A43;
  --on-dark: #F8F5ED;
  --on-dark-muted: #E7E1D3;
  --focus-light: #A35A1E;
  --focus-dark: #D8B450;
  --warning: #8A5A00;
  --warning-bg: #FBF0D5;
  --font-title: "Poppins", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-text: "Montserrat", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-h1: clamp(2.125rem, 1.587rem + 2.391vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.38rem + 1.087vw, 2.25rem);
  --fs-subtitle: clamp(1.125rem, 1.052rem + 0.3261vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.9755rem + 0.1087vw, 1.0625rem);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(30, 43, 36, .06), 0 8px 24px rgba(30, 43, 36, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--offwhite);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; border-radius: 6px; }
.escuro :focus-visible { outline-color: var(--focus-dark); }

.pular {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--card); color: var(--forest); padding: .75rem 1rem; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.pular:focus { top: 1rem; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Topo ---------- */
.topo {
  background: var(--forest);
  color: var(--on-dark);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.topo::after { /* faixa decorativa em amarelo ipê (sem texto sobre ela) */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--ipe);
}
.topo__grade {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .topo__grade { grid-template-columns: minmax(0, 1fr) 340px; } }
.topo__logo {
  justify-self: center;
  width: min(300px, 70vw);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}
@media (min-width: 860px) { .topo__logo { order: 2; width: 340px; } }
.sobretitulo {
  font-family: var(--font-text); font-weight: 600; font-size: .875rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ipe); margin: 0 0 .75rem;
}
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: var(--fs-h1); letter-spacing: -.01em; }
.topo__destaque {
  font-family: var(--font-title); font-weight: 500; font-size: var(--fs-subtitle);
  color: var(--on-dark); margin: 1rem 0 1.25rem; line-height: 1.4;
}
.topo__texto { color: var(--on-dark-muted); margin: 0 0 .75rem; max-width: 60ch; }
.topo__acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.botao svg { width: 22px; height: 22px; flex: none; }
.botao--destaque { background: var(--ipe); color: var(--forest); }
.botao--destaque:hover { background: var(--ipe-hover); }
.botao--primario { background: var(--forest); color: #FFFDF8; }
.botao--primario:hover { background: var(--forest-hover); }
.botao--contorno-claro { border-color: var(--on-dark-muted); color: var(--on-dark); }
.botao--contorno-claro:hover { background: rgba(248, 245, 237, .1); }
.botao--secundario { background: var(--card); color: var(--forest); border-color: var(--forest); }
.botao--secundario:hover { background: var(--sand); }
.botao--grande { min-height: 56px; font-size: 1.0625rem; padding-inline: 1.6rem; }
/* Dado ainda não informado pela proprietária: o botão não leva a lugar nenhum */
.botao--pendente {
  background: transparent; color: var(--muted); border: 2px dashed var(--border-control); cursor: not-allowed;
}
.escuro .botao--pendente { color: var(--on-dark-muted); border-color: var(--on-dark-muted); }

/* ---------- Seções ---------- */
.secao { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.secao--alt { background: var(--sand); }
.secao__cabeca { max-width: 60ch; margin-bottom: 2rem; }
.secao__cabeca h2 { font-size: var(--fs-h2); color: var(--forest); }
.secao__cabeca p { color: var(--muted); margin: .75rem 0 0; }

.cartao {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Agenda ---------- */
.agenda { padding: clamp(.5rem, 1.5vw, 1rem); }
.agenda__moldura {
  position: relative; width: 100%; height: 640px; border-radius: 12px; overflow: hidden; background: #fff;
}
@media (max-width: 599px) { .agenda__moldura { height: 520px; } }
.agenda__moldura iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.agenda__rodape {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem .5rem .5rem;
}
.aviso {
  display: flex; gap: .75rem; align-items: flex-start;
  background: var(--warning-bg); color: var(--text); border-left: 4px solid var(--warning);
  padding: .9rem 1rem; border-radius: 10px; margin: 1.25rem 0 0; font-size: .975rem;
}
.aviso svg { width: 22px; height: 22px; flex: none; color: var(--warning); margin-top: .1rem; }
.link-externo { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.link-externo svg { width: 18px; height: 18px; }

/* ---------- Contato ---------- */
.contato { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contato { grid-template-columns: 1.2fr 1fr; } }
.contato__principal {
  background: var(--forest); color: var(--on-dark); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contato__principal h3 { font-size: 1.5rem; }
.contato__principal p { color: var(--on-dark-muted); margin: .75rem 0 1.5rem; }
.contato__principal .botoes { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 480px) { .contato__principal .botoes { flex-direction: row; flex-wrap: wrap; } }
.contato__lista { padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; }
.contato__lista h3 { font-size: 1.25rem; color: var(--forest); }
.contato__lista .botao { justify-content: flex-start; width: 100%; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--forest); color: var(--on-dark-muted); padding: 2rem 0; font-size: .925rem; }
.rodape p { margin: .25rem 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (forced-colors: active) { .botao { border: 2px solid ButtonText; } }

/* P45.1 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.contato__principal .contato__numero { color: var(--on-dark); margin: -.75rem 0 1.5rem; }
