/* ===== Design tokens ===== */
:root{
  --bg:#eeeeee;
  --surface:#d6d6d6;
  --border:#bababa;
  --txt:#141414;
  --muted:#141414;
  --brand:#4f7cff;
  --brand-2:#3560e1;
  --radius:16px;
  --shadow:0 12px 28px rgba(0,0,0,.15);
  --header-h:64px;
}

/* ===== Reset/estrutura ===== */
*{ box-sizing:border-box }
html,body{ margin:0; padding:0; overflow-x:hidden }
img{ max-width:100%; display:block; height:auto }
a{ color:var(--brand); text-decoration:none }
a:hover{ text-decoration:underline }
body{ background:var(--bg); color:var(--txt); font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif }

/* ===== Utilidades ===== */
.container{ width:min(1100px,92%); margin-inline:auto }
.center{text-align:center}
.mt-2{ margin-top:50px }
.muted{ color:var(--muted) }
.list{ margin:8px 0 0 0; padding-left:18px }
.list li{ margin:4px 0 }

/* esconde seção do form até a intenção do usuário */
.is-hidden { display: none !important; }


/* grid: empilha no mobile, lado a lado no desktop */
.about{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;         /* mobile-first */
  align-items:center;
}
@media (min-width: 960px){
  .about{ grid-template-columns: 1fr 1fr; }
}

/* imagem responsiva e bem enquadrada */
.fachada{
  width:100%;
  border-radius:12px;
  display:block;
}

/* remove <br><br> do HTML e use espaçamento por CSS */
.about-text p + p{ margin-top:12px; }

/* full-bleed: seção ocupa 100% da janela */
.full-bleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
.full-bleed > .container{
  width:min(1100px,92%);
  margin-inline:auto;
  padding-inline:0;
}

/* ===== Header (não fixo) ===== */
.site-header{
  width:100%;
  background:#141414;
  -webkit-backdrop-filter: blur(5px) saturate(140%);
  backdrop-filter: blur(5px) saturate(140%);
  height:var(--header-h);
  display:flex; align-items:center;
}
.header-wrap{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 0;
}
.brand{ display:flex; align-items:center; gap:12px }
.brand-logo{ width:auto; height:40px }
.header-right .tag{
  display:inline-block; padding:6px 10px; color:#fff; background:#0000; font-weight:700;
}

/* ===== Section base ===== */
.section{ 
  padding:clamp(28px, 6vw, 56px) 0;
  border-bottom:1px solid var(--border);
}
.section h1, .section h2, .section h3{ margin:0 0 10px }

/* ===== Info ===== */
.info-grid{ display:grid; gap:18px }
@media (min-width:960px){ .info-grid{ grid-template-columns:1fr .8fr } }
.info-grid--stack{ grid-template-columns:1fr !important }

.info-block .note{
  margin-top:12px; padding:12px; border:1px solid var(--border);
  background:var(--surface); border-radius:12px; color:var(--muted);
}

/* ===== HERO (revisado) ===== */
/* Sem margem negativa. Usamos aspect-ratio fluido para manter o corte bonito */
#hero-media{
  padding-top:0;
  border-bottom:0;
}
.frame{
  width:100%;
  max-width:none;
  border-radius:0;
  overflow:hidden;
  /* altura base do hero via aspect-ratio */
  aspect-ratio: 16 / 6;          /* ~wide desktop */
}
@media (max-width: 1024px){
  .frame{ aspect-ratio: 16 / 7.5; }
}
@media (max-width: 700px){
  .frame{ aspect-ratio: 16 / 9; } /* mais alto no mobile */
}
.martelo{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* ===== Cards genéricos ===== */
.cards{ display:grid; gap:14px; grid-template-columns:1fr }
@media(min-width:900px){ 
  .cards{ grid-template-columns:repeat(2,1fr); }
}

.card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:16px; box-shadow:var(--shadow);
}
.card h3{ margin-top:0 }

/* ===== Botão ===== */
.btn{
  background:var(--brand); color:#fff; border:0; cursor:pointer;
  padding:12px 18px; border-radius:12px; font-weight:700; box-shadow:var(--shadow);
}
.btn:hover{ background:var(--brand-2) }

/* ===== Form (Google Forms) ===== */
.iframe-wrap{
  margin-top:12px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
}
.iframe-wrap iframe{
  display:block; width:100%; border:0; background:#fff;
  /* altura responsiva: não gigante no mobile, nem pequena demais no desktop */
  min-height: clamp(640px, 85dvh, 1100px);
}

/* ===== Form styles (corrigido) ===== */
.lead-form{
  max-width: 720px;
  margin: 16px auto;
  display: grid;
  gap: 12px;
}

/* APLICA em inputs, exceto checkbox  */
.lead-form input:not([type="checkbox"]),
.lead-form select,
.lead-form textarea{
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--txt);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

/* number/date ajustes */
.lead-form input[type="number"]::-webkit-inner-spin-button,
.lead-form input[type="number"]::-webkit-outer-spin-button{ -webkit-appearance:none; margin:0; }
.lead-form input[type="date"]::-webkit-calendar-picker-indicator{ margin-right:8px; opacity:.7; cursor:pointer; }

/* Foco */
.lead-form input:not([type="checkbox"]):focus,
.lead-form select:focus,
.lead-form textarea:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79,124,255,.12);
}

/* Labels de campo */
.form-label{ font-weight:600; font-size:14px; margin-top:4px; }

/* Checkbox LGPD — 100% clicável */
.form-check{
  display:grid;
  grid-template-columns: 20px 1fr;
  align-items:start;
  gap:10px;
  font-size:14px;
  line-height:1.4;
  cursor:pointer;           /* deixa a mãozinha */
  user-select:none;
}
.form-check input[type="checkbox"]{
  width:20px; height:20px;
  margin-top:4px;
  appearance:auto;          /* volta ao nativo */
  -webkit-appearance:checkbox;
  accent-color: var(--brand);
}

/* Botão full width */
.btn-block { width: 100%; }

.btn[disabled]{
  opacity:.7;
  cursor:not-allowed;
  filter:saturate(.7);
}

/* ===== Social (full-bleed) ===== */
.social-medias{ background:#141414; color:#fff; padding:24px 0; border-bottom:0 }
.social-medias h3{ margin:0 0 12px }
.social-media-cards{
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  align-items:stretch;
  margin:0;
}
.social-media-card a{
  display:flex; align-items:center; gap:10px;
  padding:14px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px;
  color:#fff;
  margin:0;
}
.svg-icons{ width:24px; height:24px; display:block; fill:currentColor }

/* ===== Contatos (full-bleed) ===== */
.contacts{ background:#141414; color:#fff; padding:24px 0; border-bottom:0 }
.contacts h3{ margin:0 0 12px }
.contact-cards{
  display:grid; gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  margin:0;
}
.contact-card{
  background:transparent; border:1px solid rgba(255,255,255,.15);
  border-radius:12px; padding:14px;
  font-size:14px;
  margin:0;
}

/* ===== Footer (full-bleed) ===== */
.site-footer{ background:#141414; color:#fff; padding:16px 0; border-top:1px solid rgba(255,255,255,.12) }
.site-footer .footer-wrap{
  display:flex; align-items:center; justify-content:space-between; gap:15px; flex-wrap:wrap;
}
.footer-nav{ display:flex; gap:14px; flex-wrap:wrap }
.footer-nav a{ color:#fff }

/* ===== Acessibilidade extra ===== */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; animation:none !important; transition:none !important; }
}

/* ===== Print ===== */
@media print{
  @page{ margin:0 }
  body{ margin:0 }
  .site-footer, .contacts, .social-medias{ -webkit-print-color-adjust:exact; print-color-adjust:exact }
}
