/* =========================
   LA CARTE — CSS
   ========================= */


/* ---------------------------------
   [CORE] Variáveis globais, reset base, helpers
----------------------------------- */

/* --- Variáveis globais (cores, gaps…) --- */
:root {
  --bg: #fff;
  --fg: #111827;
  --line: #e5e7eb;
  --accent: #111827;
  --accent-fg: #fff;
  --radius: 16px;
  --headerH: 64px;
  --brand-blue: #2563eb;
}

/* --- Reset e defaults de layout/tipografia --- */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 'Plus Jakarta Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =========================
   HEADER / NAVEGAÇÃO / IDIOMA / MOBILE MENU
   ========================= */

/* ---------------------------------
   [HEADER] Barra topo, navegação desktop, botão hambúrguer
----------------------------------- */

/* barra principal */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--headerH);
}

/* logotipo */
.logo {
  height: 50px;
  width: auto;
  flex: 0 0 auto;
}

/* nav desktop */
.nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
}

/* links de navegação (desktop e mobile nav) */
.nav a,
.navm a {
  color: var(--accent);
  font-size: medium;
  text-decoration: none;
  position: relative;
  padding: 6px 15px 6px 15px;
  transition: color 0.25s ease;
}

/* retiramos completamente a “linha azul” no hover */
.nav a::after,
.navm a::after {
  display: none !important;
  content: none !important;
}

/* hover = só muda a cor do texto */
.nav a:hover,
.navm a:hover {
  color: var(--brand-blue);
}

/* link ativo / página atual */
.nav a.active,
.navm a.active {
  color: var(--brand-blue) !important;
  font-weight: 600;
}

/* botão hambúrguer mobile */
.hamb {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamb span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  margin: 6px auto;
}

/* header fixo */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: var(--headerH, 64px);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: transform .28s ease;
  will-change: transform;
}

/* estado escondido (scroll up/down) */
header.hide {
  transform: translateY(-100%);
}

/* empurra o conteúdo para baixo do header fixo */
body {
  padding-top: var(--headerH, 64px);
}
body {
  padding-top: var(--headerH);
}

/* responsivo header/nav */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .hamb {
    display: block;
  }
}

/* ---------------------------------
   [HEADER MOBILE] Menu móvel deslizável + backdrop escuro
----------------------------------- */

.navm {
  position: fixed;
  top: var(--headerH);
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  z-index: 1050;
}
.navm.open {
  max-height: 70vh;
  opacity: 1;
  pointer-events: auto;
}
.navm a {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

/* backdrop para o menu mobile */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}
.backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------------------------
   [IDIOMA / LINGUA NO HEADER] interações nos links de idioma
----------------------------------- */

/* hover do idioma / remover highlight azul */
.lang-menu a:hover,
.lang-menu a:focus,
.lang-menu a:focus-visible,
.lang-menu a:active {
  background: rgba(37, 99, 235, 0.08);
  color: #111827 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background-image: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* versão mobile: “Português | English” inline */
.lang-inline {
  display: none;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  outline: none;
}

/* só mostrar inline em mobile */
@media (max-width: 900px) {
  .lang-switch {
    justify-content: flex-start;
    background-color: #25447d;
  }
  .lang-inline {
    color: white;
    font-size: small;
    display: inline-flex;
    border: none;
    outline: none;
  }
  .lang-inline a {
    color: white !important;
    font-size: small;
    display: inline-flex;
    border: none;
    outline: none;
  }
  .lang-inline a.hover {
    color: white !important;
    font-size: small;
  }
  .lang-inline a.active {
    color: white !important;
    font-size: small;
  }
}


/* =========================
   HERO / INTRO / TIPOGRAFIA BASE / CAROUSEL
   ========================= */

/* ---------------------------------
   [HERO INICIAL] headline + coluna imagem/carrossel
----------------------------------- */

.hero {
  padding: 0px 0 30px;
}

/* grid 2 colunas (texto / imagem) */
.grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
}

/* títulos */
h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

/* H1 grande */
h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

/* H2 menor */
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
}

/* parágrafos hero / corpo */
p {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw + 0.8rem, 1.25rem) !important;
  color: #25447d !important;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 auto;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

/* parágrafos em ecrãs largos */
@media (min-width: 1024px) {
  p {
    font-size: 1rem !important;
    line-height: 1.7;
  }
}

/* gutter mobile hero */
@media (max-width: 640px) {
  .hero .container {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* ---------------------------------
   [CAROUSEL] Passos: QR -> pedido -> pagamento
----------------------------------- */

.carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
}

.track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  display: grid;
  gap: 14px;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

/* pill “etapa” */
.pill {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-block;
}

/* bolinhas navegação do slider */
.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 0 8px;
}

.dot {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: rgba(203, 213, 225, 1);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  padding: 0;
  transition: all .2s ease;
}

.dot.active {
  background: #fff;
  border: 2px solid rgba(147, 197, 253, 1);
  width: 32px;
  height: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}


/* =========================
   SECÇÕES GERAIS / FEATURES / PLANOS / TILES
   ========================= */

/* ---------------------------------
   [SECTIONS] padding vertical e scroll offset
----------------------------------- */

section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
section,
[id] {
  scroll-margin-top: calc(var(--headerH) + 12px);
}

/* ---------------------------------
   [FEATURES] cartões de funcionalidades
----------------------------------- */

.features {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.feat img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-top: 10px;
}

/* lista de bullets ✔ azul */
.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.features-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 0.85rem;
  color: #25447d;
}
.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #25447d;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ---------------------------------
   [PLANOS LISTAS] ✔ verde / ✖ vermelho
----------------------------------- */

.plano-list-ok,
.plano-list-not {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plano-list-ok li,
.plano-list-not li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 0.85rem;
}

/* disponível */
.plano-list-ok li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #16a34a;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(22, 163, 74, 0.1);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 3px rgba(22, 163, 74, 0.25);
}

/* não disponível */
.plano-list-not li::before {
  content: "✖";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #dc2626;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(220, 38, 38, 0.08);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 3px rgba(220, 38, 38, 0.25);
}

/* ---------------------------------
   [PLANOS / PREÇOS] cartões de preço
----------------------------------- */

#precos .feat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: all 0.25s ease;
}
#precos .feat.destaque {
  border: 2px solid #16a34a;
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.15);
}
#precos .feat:hover {
  transform: translateY(-4px);
}

.list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}
.list li {
  margin: 6px 0;
  position: relative;
  padding-left: 24px;
  color: #374151;
  font-size: 14px;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
}
.list li.no::before {
  background: #dc2626;
}

.preco {
  text-align: center;
  margin-top: 16px;
  font-weight: 700;
  background: #111827;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
}
.preco.gratis {
  background: #16a34a;
  color: #fff;
  font-size: 1.1rem;
}

/* ---------------------------------
   [TILES “Feito para…”] tipos de negócio
----------------------------------- */

.tiles {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 22px 24px 22px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f7fa;
  color: var(--fg);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--brand-blue), #4f46e5);
}
.tile span {
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: .2px;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.25);
}


/* =========================
   AJUSTES MOBILE DA PRIMEIRA SECÇÃO “#como”
   ========================= */

/* Fix específico da primeira secção (#como) em mobile
   (evitar overflow horizontal do carrossel) */
@media (max-width: 640px) {
  #como {
    overflow-x: hidden;
  }

  #como .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: auto !important;
  }

  #como h1,
  #como p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #como .carousel {
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
  }

  #como .slide {
    padding-left: 0;
    padding-right: 0;
  }

  #como .slide > div {
    padding-left: 12px;
    padding-right: 12px;
  }

  #como .track {
    overflow: visible;
    will-change: transform;
  }
}


/* =========================
   FAQ (accordion <details>)
   ========================= */

.faq {
  margin-top: 40px;
}

/* caixa de cada pergunta */
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  margin: 12px 0;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}

/* estado aberto */
.faq details[open] {
  border-color: rgba(37, 99, 235, 0.35);
  background-color: #f9fafb;
}

/* pergunta (summary) */
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  transition: color 0.2s ease;
}

/* ícone + / – */
.faq summary::before {
  content: "+";
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: #25447d;
  font-weight: 800;
  flex: 0 0 22px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.faq details[open] summary::before {
  content: "–";
  background: rgba(37, 99, 235, 0.2);
  transform: rotate(180deg);
}

/* remove marcador default do <summary> */
.faq summary::-webkit-details-marker {
  display: none;
}

/* resposta (div interno) */
.faq details > div {
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0;
  transform: translateY(-4px);
}
.faq details[open] > div {
  opacity: 1;
  transform: translateY(0);
}

/* distância entre FAQs */
.faq details + details {
  margin-top: 16px;
}


/* =========================
   FORMULÁRIO DE CONTACTO
   ========================= */

/* bloco de contacto geral */
.contacto {
  background: #f9fafb;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

/* cartão do formulário */
.contacto-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.05);
  padding: 24px 24px 32px;
  display: grid;
  gap: 24px;
}

@media (min-width: 760px) {
  .contacto-box {
    grid-template-columns: 1fr 1fr;
    padding: 32px 32px 40px;
  }
}

/* formulário interno */
.contacto-form {
  display: grid;
  gap: 12px;
}

.contacto-form .row {
  display: grid;
  gap: 12px;
}
@media (min-width:760px){
  .contacto-form .row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----- Estado padrão dos inputs ----- */
.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Estado normal (duplicado de cima, mantido conforme pedido) */
.contacto-form input,
.contacto-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Foco */
.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Inválido — só aparece se o form tiver .was-validated */
.contacto-form.was-validated input:invalid,
.contacto-form.was-validated textarea:invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

/* Válido — opcional */
.contacto-form.was-validated input:valid,
.contacto-form.was-validated textarea:valid {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.12);
}

/* linha da checkbox */
.checkline {
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #111827;
}

/* label envolve checkbox + texto */
.priv-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 600px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 400;
}

/* quadradinho da checkbox */
.priv-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 2px solid #9ca3af;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  position: relative;
  cursor: pointer;
  transition: all .2s ease;
}

/* quando checked mostra visto */
.priv-label input[type="checkbox"]:checked {
  border-color: #3949ab;
  background-color: #3949ab;
}
.priv-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 8px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* link de privacidade */
.priv-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* erro após submissão */
.contacto-form.was-validated input[type="checkbox"]:invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220,38,38,.15);
}

.contacto-form.was-validated input[type="checkbox"]:invalid + .priv-text,
.contacto-form.was-validated input[type="checkbox"]:invalid ~ .priv-text {
  color: #dc2626;
}

.contacto-form.was-validated input[type="checkbox"]:invalid + .priv-text a,
.contacto-form.was-validated input[type="checkbox"]:invalid ~ .priv-text a {
  color: #dc2626;
}


/* ===== MENSAGEM DO FORMULÁRIO ===== */
#formMsg {
  display: none;
  text-align: center;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#formMsg.show {
  opacity: 1;
}

/* Sucesso */
#formMsg.success {
  color: #15803d; /* verde escuro */
}

/* Erro */
#formMsg.error {
  color: #dc2626; /* vermelho */
}

/* -- Fim do Form */


/* =========================
   BOTÕES PERSONALIZADOS / CTA HERO
   ========================= */

/* Botão principal (azul sólido) */
.btn-blue {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 20px;
  background: #455ACF;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 24px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(69, 90, 207, 0.25);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.btn-blue:hover {
  background: #374AB5;
  box-shadow: 0 10px 24px rgba(55, 74, 181, 0.3);
}
.btn-blue:active {
  background: #2C3E99;
  box-shadow: 0 6px 14px rgba(44, 62, 153, 0.3);
}

/* Botão secundário */
.btn-white {
  appearance: none;
  border: 2px solid #455ACF;
  background: white;
  color: #111827;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  box-shadow: none;
}
.btn-white:hover {
  background: #E8EDFF;
  border-color: #455ACF;
}
.btn-white:active {
  background: #E8EDFF;
  transform: translateY(1px);
}
.btn-white:focus {
  outline: none;
  background: #E8EDFF;
  box-shadow: 0 0 0 3px rgba(69, 90, 207, 0.25);
}

/* Botão azul usado na NAV */
.btn-blue-nav {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  background: #455ACF;
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px !important;
  text-align: center;
  box-shadow: 0 8px 20px rgba(69, 90, 207, 0.25);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.btn-blue-nav:hover {
  background: #374AB5;
}
.btn-blue-nav:active {
  background: #374AB5;
}

/* (opcional/controverso) esconder selo reCAPTCHA */
.grecaptcha-badge {
  display: none !important;
}

/* ===== HERO CTA (secção com headline + 2 botões) ===== */

.hero-cta-section {
  position: relative;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background:
    url("../assets/festival-de-verao.png") center/cover no-repeat;
  padding: 48px 16px 56px;
  scroll-margin-top: calc(var(--headerH, 64px) + 12px);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  margin: 0 0 24px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem);
  text-wrap: balance;
  max-width: 26ch;
}

/* container com 2 CTAs */
.cta-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 500px;
  gap: 16px;
}

/* estilo base de cada botão dentro da hero CTA */
.cta-container .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 14px 20px;
  border: 0;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  width: 100%;
  transition: all .18s ease;
  box-shadow: 0 20px 40px rgba(0, 48, 255, 0.22);
}

/* breakpoint ≥768px: CTAs lado a lado */
@media (min-width: 768px) {
  .hero-cta-section {
    padding: 72px 24px 88px;
  }

  .hero-headline {
    font-size: clamp(2rem, 0.6vw + 1.4rem, 2.5rem);
    max-width: 28ch;
    margin-bottom: 32px;
  }

  .cta-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 520px;
  }

  .cta-container .btn {
    flex: 1 1 0;
    width: auto !important;
    max-width: 250px;
    min-width: 0;
  }
}


/* =========================
   FOOTER + CAIXA DE IDIOMA DO RODAPÉ
   ========================= */

/* ---------------------------------
   [FOOTER] layout geral
----------------------------------- */

.footer {
  background: linear-gradient(180deg, #2c2c2c 0%, #1f1f1f 100%);
  color: #fff;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
}

.footer a {
  color: white;
  text-decoration: none;
  font-size: x-small;
}
.footer p {
  color: white !important;
  font-size: small !important;
}

/* wrapper de colunas */
.footer-container {
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}

/* Coluna esquerda */
.footer-left {
  flex: 1;
  min-width: 280px;
}

/* Coluna direita */
.footer-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.footer-right p {
  margin: 0 0 8px 0;
}

/* ícones sociais */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icons img {
  width: 32px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.social-icons img:hover {
  filter: brightness(0) invert(0.5) sepia(1) hue-rotate(180deg);
}

/* ---------------------------------
   [FOOTER > LANGUAGE BOX] caixa "Idioma"
----------------------------------- */

.language-box {
  position: relative;
  background: transparent;     /* fundo preto */
  color: #fff;                 /* texto branco */
  border: 1px solid #fff;      /* contorno branco */
  border-radius: 12px;         /* cantos arredondados */
  padding: 5px;
  min-width: 150px;
  max-width: 150px;
  text-align: left;
}

.language-box::before {
  transform: translateX(-50%);
  background: transparent;     /* cor de fundo para “recortar” a linha */
  padding: 0 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* select interno */
.language-select {
  color: white;
  border: none;
  padding: 6px 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  min-width: 140px;
  max-width: 140px;
}

/* esconder language-box em mobile */
@media (max-width: 768px) {
  .language-box {
    display: none;
  }
}