/* Réplica da página "LINK DE CONTATO - ELEVEN" (Great Pages #3656854)
   Medidas, cores e fontes extraídas do CSS original. */

:root {
  --cor-primaria: #ffffff;       /* --g-color-primary */
  --cor-secundaria: #000000;     /* --g-color-secondary (fundo do bloco) */
  --cor-texto-botao: #242424;    /* --g-color-primary-text */
  --raio-grande: 12px;           /* --g-border-large-radius */
  --escala-titulo: 1.348;        /* --gp-typo-scale do título */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body { font-family: "Open Sans", sans-serif; }

/* ---------- Bloco ---------- */
.block {
  position: relative;
  width: 100%;
  height: 888px;
  background: var(--cor-secundaria);
  overflow: visible;
}

.centralizar {
  position: relative;
  width: 980px;
  height: 100%;
  margin: 0 auto;
}

.element { position: absolute; }

/* ---------- Logo (recorte idêntico ao original) ---------- */
.el-logo {
  left: 179px;
  top: 0;
  width: 628px;
  height: 732px;
  /* imagem do logo: ver logo.css */
  background-repeat: no-repeat;
  background-size: 1301px 732px;
  background-position: -337px 0;
}

/* ---------- Título ---------- */
.el-titulo {
  left: 46px;
  top: 510px;
  width: 871px;
  text-align: center;
}

.el-titulo h2 {
  font-family: "Roboto", sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  font-size: calc(19px * var(--escala-titulo));
  line-height: 1.4;
  color: var(--cor-primaria);
}

/* ---------- Botões (Unidade 1 e Unidade 2) ---------- */
.el-botao {
  left: 270px;
  width: 441px;
  height: 73px;
}
.el-botao-1 { top: 574px; }
.el-botao-2 { top: 663px; }

.el-botao a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  background: var(--cor-primaria);
  color: var(--cor-texto-botao);
  border: 0;
  border-radius: var(--raio-grande);
  text-decoration: none;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
}

.el-botao a:hover { background-color: var(--cor-primaria); color: var(--cor-texto-botao); }

.botao-titulo { font-size: 18px; line-height: 1.2; }
.botao-sub { font-size: 13px; line-height: 1.2; color: #6b6b6b; }

/* Animação de entrada do título (fade, 1s) em telas grandes */
@keyframes titulo-entrada {
  0%   { opacity: 0; }
  60%  { opacity: 1; }
  100% { opacity: 1; }
}
@media (min-width: 1218px) and (min-height: 511px) {
  .anim .el-titulo h2 { animation: titulo-entrada 1000ms cubic-bezier(.25,.46,.45,.94) 0ms 1 both; }
}

/* ---------- Mobile (até 800px) ---------- */
@media (max-width: 800px) {
  .block { height: 536px; }
  .centralizar { width: 360px; }

  .el-logo {
    left: 3px;
    width: 354px;
    height: 358px;
    background-size: 636px 358px;
    background-position: -141px 0;
  }

  .el-titulo { left: 10px; top: 238.553px; width: 340px; }
  .el-titulo h2 { font-size: calc(13px * var(--escala-titulo)); }

  .el-botao { left: 37px; width: 286px; height: 68px; }
  .el-botao-1 { top: 339px; }
  .el-botao-2 { top: 419px; }
}

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(1000px, calc(100% - 16px));
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 56px 24px 36px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #333;
  z-index: 1000;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1; line-height: 1.5; }
.cookie-actions { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.cookie-link { background: none; border: 0; font: inherit; color: #888; cursor: pointer; }
.cookie-reject { color: #222; }
.cookie-sep { width: 1px; height: 16px; background: #ccc; }
.cookie-accept {
  background: #0d74e7;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
}

@media (max-width: 800px) {
  .cookie-banner {
    bottom: 12px;
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px 20px;
    text-align: center;
    font-size: 14px;
  }
  .cookie-banner p { font-size: 15px; }
  .cookie-close { top: 18px; transform: none; right: 14px; }
}
