/* ===== Ferragem dos Arcos - Estilo Unificado ===== */
:root{
  --bg:#f5f8fa;
  --text:#333;
  --muted:#5b6673;
  --brand:#003366;
  --brand2:#007BFF;
  --card:#ffffff;
  --line:#e9eef4;
  --shadow:0 8px 24px rgba(0,0,0,.12);
  --radius:14px;
  --max:1000px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  text-align:center;
}

a{color:inherit}
.container{
  padding:40px 20px;
  max-width:var(--max);
  margin:auto;
}

/* ===== HEADER COM LOGO + MENU ===== */
.site-header{
  background:#fff;
  padding:18px 16px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.logo{
  max-width:420px;
  width:min(90vw, 420px);
  height:auto;
}
.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav a{
  text-decoration:none;
  font-weight:700;
  color:var(--brand);
  background:#e7f0ff;
  padding:10px 14px;
  border-radius:999px;
  transition:.2s;
  border:1px solid transparent;
}
.nav a:hover{
  background:#cfe2ff;
  border-color:#b9d3ff;
}
.nav a.active{
  background:var(--brand);
  color:#fff;
}

/* ===== TÍTULOS ===== */
h1,h2{
  color:var(--brand);
  margin:0 0 18px;
}
h1{font-size:2.1rem}
h2{font-size:2rem}
.subtitle{
  color:var(--muted);
  margin:-10px auto 26px;
  max-width:760px;
  line-height:1.5;
}

/* ===== CARDS / BLOCOS ===== */
.card{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  text-align:left;
  border:1px solid var(--line);
}
.card-pad{padding:22px}
.card + .card{margin-top:22px}

/* ===== BOTÕES ===== */
.btn{
  display:inline-block;
  text-decoration:none;
  color:var(--brand2);
  font-weight:800;
  padding:10px 18px;
  border-radius:30px;
  background:#e3f0ff;
  transition:.2s;
  border:1px solid transparent;
}
.btn:hover{
  background:#c6ddff;
  color:#004a99;
  border-color:#b9d3ff;
}
.btn-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:14px;
}

/* ===== MAPA ===== */
.map-frame{
  width:100%;
  height:420px;
  border:0;
  display:block;
}
@media (max-width:520px){
  .map-frame{height:360px}
}

/* ===== GRID ===== */
.grid{
  display:grid;
  gap:18px;
}
.grid-2{
  grid-template-columns: 1.35fr .65fr;
}
@media (max-width:900px){
  .grid-2{grid-template-columns:1fr}
}

/* ===== FOOTER ===== */
footer{
  margin-top:60px;
  padding:18px 14px;
  background:#f0f0f0;
  font-size:14px;
  color:#555;
}
.footer-links{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:8px;
}
.footer-links a{
  color:#2b5aa7;
  text-decoration:underline;
}

/* ===== Pequenas utilidades ===== */
.center{text-align:center}
.small{font-size:13px;color:var(--muted)}
