@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --escuro: #250B0E;
  --escuro-2: #1A0709;
  --dourado: #E7A74F;
  --laranja: #D78A2F;
  --creme: #F5E7C5;
  --creme-claro: #FBF6EA;
  --marrom: #A1602F;
  --texto: #2B1A14;
  --texto-suave: #6B5A4E;
  --borda: rgba(231, 167, 79, 0.35);
  --max: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme-claro);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--marrom); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}

.setas { color: var(--dourado); letter-spacing: 2px; font-size: 14px; }

/* Cabeçalho */
.topo { background: var(--escuro); border-bottom: 1px solid var(--borda); }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.topo img { height: 58px; width: auto; }
.topo nav a { color: var(--creme); text-decoration: none; font-size: 15px; margin-left: 20px; }
.topo nav a:hover { color: var(--dourado); }

/* Botões */
.botao {
  display: inline-block;
  background: var(--dourado);
  color: var(--escuro);
  font-weight: 700;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background 0.15s;
}
.botao:hover { background: var(--laranja); }
.botao.contorno { background: transparent; color: var(--creme); border: 1px solid var(--dourado); }
.botao.contorno:hover { background: rgba(231, 167, 79, 0.12); }

/* Hero */
.hero {
  /* Fundo levemente mais escuro atrás da foto, no mesmo tom do fundo dela */
  background: radial-gradient(ellipse 38% 75% at 76% 55%, #20160B 0%, #20160B 35%, var(--escuro) 100%);
  color: var(--creme);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero .rotulo { color: var(--dourado); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 12px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); color: #fff; }
.hero h1 span { color: var(--dourado); }
.hero p { font-size: 19px; color: var(--creme); opacity: 0.9; max-width: 520px; }
.hero .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero figure { margin: 0; justify-self: center; }
.hero figure img {
  height: 560px;
  width: auto;
  /* Esfuma as bordas da foto para ela se fundir ao fundo escuro do site */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 70%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

/* Seções */
section { padding: 72px 0; }
section h2 { font-size: clamp(30px, 4vw, 42px); color: var(--escuro); }
.intro { font-size: 19px; color: var(--texto-suave); max-width: 700px; margin-bottom: 36px; }

.sobre .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.sobre figure { margin: 0; border-radius: 16px; overflow: hidden; }
.sobre figure img { width: 100%; height: 440px; object-fit: cover; }
.fichas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.ficha { border: 1px solid var(--borda); border-radius: 10px; padding: 12px 16px; background: #fff; }
.ficha strong { display: block; font-family: "Oswald", sans-serif; font-size: 22px; color: var(--marrom); }
.ficha span { font-size: 14px; color: var(--texto-suave); }

.servicos { background: var(--creme); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(37, 11, 14, 0.08); display: flex; flex-direction: column; }
.card img { width: 100%; height: 280px; object-fit: cover; }
.card .corpo { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 26px; color: var(--escuro); }
.card ul { padding: 0; margin: 0 0 24px; list-style: none; }
.card li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.card li::before { content: "▸"; position: absolute; left: 4px; color: var(--dourado); }
.card .botao { align-self: flex-start; margin-top: auto; }

/* Contato */
.contato { background: var(--escuro); color: var(--creme); }
.contato h2 { color: #fff; }
.contato .intro { color: var(--creme); opacity: 0.85; }
.contatos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contatos a, .contatos div { display: block; border: 1px solid var(--borda); border-radius: 12px; padding: 18px; color: var(--creme); text-decoration: none; }
.contatos a:hover { background: rgba(231, 167, 79, 0.08); }
.contatos small { display: block; color: var(--dourado); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; font-weight: 600; margin-bottom: 4px; }

/* Rodapé */
.rodape { background: var(--escuro-2); color: var(--creme); font-size: 14px; padding: 32px 0; }
.rodape .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.rodape a { color: var(--dourado); }
.rodape p { margin: 0 0 4px; opacity: 0.85; }
.aviso { opacity: 0.7; font-size: 13px; }

/* Página de texto (privacidade) */
.documento { padding: 56px 0 72px; }
.documento .container { max-width: 800px; }
.documento h1 { font-size: clamp(32px, 5vw, 44px); color: var(--escuro); }
.documento h2 { font-size: 22px; color: var(--marrom); margin-top: 36px; }
.documento .atualizado { color: var(--texto-suave); font-size: 15px; margin-bottom: 32px; }
.documento table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.documento th, .documento td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(37, 11, 14, 0.12); }
.documento th { background: var(--creme); }

@media (max-width: 860px) {
  .hero .container, .sobre .container { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .hero figure img { height: 420px; }
  .sobre figure img { height: 300px; }
  .cards { grid-template-columns: 1fr; }
  .contatos { grid-template-columns: 1fr 1fr; }
  section { padding: 52px 0; }
  .topo nav { display: none; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .contatos { grid-template-columns: 1fr; }
  .fichas { grid-template-columns: 1fr 1fr; }
  .card img { height: 220px; }
  .documento table, .documento thead, .documento tbody, .documento tr, .documento th, .documento td { display: block; }
  .documento thead { display: none; }
  .documento td { border-bottom: none; padding: 4px 0; }
  .documento tr { border-bottom: 1px solid rgba(37, 11, 14, 0.12); padding: 10px 0; }
}
