/* =========================
   RESET
========================= */
* {
  margin: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --accent: #b71c1c;
  --muted: #666;
  --bg: #fff;
  --maxw: 1200px;
}
body {
  font-family: Georgia, serif;
  color: #111;
  background: var(--bg);
}
.container {
  width: 92%;
  max-width: var(--maxw);
  margin: 0 auto;
}
/* =========================
   HEADER PROFISSIONAL
========================= */
.header {
  position: fixed; /* deixa o menu fixo e profissional */
  top: 0;
  left: 0;
  width: 100%;
  padding: 70px 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 999;
   height: 150px;
}
.nav-container {
  display: flex;
  justify-content: space-between; /* LOGO ← / MENU → */
  align-items: center;
}
/* LOGO AJUSTADA E AFASTADA */
.logo {
  position: absolute; /* relativo ao header */
  top: 10px;          /* distância do topo */
  left: 20px;         /* canto esquerdo, altere para 'right' se quiser direita */
  width: 120px;       /* largura */
  height: auto;       /* mantém proporção */
  z-index: 999;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
  object-fit: contain;
  border-radius: 6px;
}
/* MENU DESKTOP */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.nav-links a {
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;  /* AUMENTA A FONTE AQUI */
  padding: .45rem .60rem;
  border-radius: 9px;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
  transition: .25s ease;
}
.nav-links.active {
  display: flex;
}
.nav-links a:hover {
  background: rgba(255,255,255,.15);
}
.nav-links a.active {
  background: #b30000;
}
/* BOTÃO HAMBÚRGUER */
.nav-toggle {
  display: none;
  font-size: 2.6rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}
/* MENU MOBILE - CLASSE QUE O JS ATIVA */
.nav-links.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 90px;
  right: 3px;
  background: rgba(0,0,0,0.85);
  padding: 20px;
  border-radius: 10px;
  gap: 1rem;
  z-index: 9999;
}

/* =========================
   HERO
========================= */
.hero {
  height: 85vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top:160 px; /* compensação do menu fixo */
  
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* sombra preta 50% */
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem;
}

.hero-content h1,
.hero-content h2,
.hero-content p {
  color: #d61212; /* vermelho mais bonito */
  
  /* contorno leve ao redor da letra */
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;

  /* brilho externo elegante */
  text-shadow:
    0 0 8px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(214, 18, 18, 0.7);

  font-weight: 800;
}

.hero-content h1 {
   
  font-size: 9rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 6px 18px rgba(0,0,0,.7);
}
.hero-content h2 {
  font-size: 3rem;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 6px 6px rgba(0,0,0,.7);
}
.hero-content p {
  font-size: 1rem;
  color: #cdcdcd;
  line-height: 1;
  margin-bottom: 5rem;
  text-shadow: 0 6px 18px rgba(0,0,0,.7);
}
/* =========================
   SLIDER
========================= */

/* Slider padrão (tela grande) */
.slider {
  position: relative;
  max-width: 60%;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.slides {
  display: flex;
  transition: transform 0.5s ;
}
.slide {
  min-width: 100%;


}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  z-index: 10;
}
.prev { left: 10px; }
.next { right: 10px; }
.canva-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1.6em;
  margin-bottom: 0.9em;
}
.canva-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 25%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(63,69,81,0.16);
}
.canva-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 20px 0;
}
/* =========================
   INTRO / CARDS / DOWNLOADS
========================= */
.intro-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.card {
  width: 100%;
  background: #fff;
  padding: 1.4rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
}
.download-box {
  width: 60%;
  background: #fff;
  padding: 1rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  font-size: 0.95rem;
}
/* Estilo do botão */
.download-btn {
  background: #b30000;
  padding: 12px 22px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: 0.25s;
}
.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 16px rgba(0,0,0,0.35);
}
/* =========================
IMAGE SECTIONS / GALERIAS
========================= */
.image-section {
  width: 100%;
  margin: 3rem 0;
  display: flex;
  justify-content: center;
}
.image-section-small {
  width: 40%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.image-section-small .image-center {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.image-center {
  display: block;
  max-width: 70%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}
.linha-inf {
  width: 100%;
  max-width: none !important;
  padding: 0;
  margin: 0;
}
.img-vertical2 {
  display: block;
  margin: 0 auto;          /* centraliza */
  width: 100%;             /* ocupa a largura disponível */
  max-width: 800px;       /* tamanho máximo (ajuste se quiser maior/menor) */
  height: auto;  
}
.img-fdd {
  display: block;
  margin: 0 auto;          /* centraliza */
  width: 100%;             /* ocupa a largura disponível */
  max-width: 1000px;       /* tamanho máximo (ajuste se quiser maior/menor) */
  height: auto;            /* mantém proporção */
}
.bloco-fdd {
  text-align: center;      /* garante centralização */
  margin-bottom: 20px;     /* espaço entre as imagens */
  padding: 0;
}
.intro-image {
  text-align: center;
  margin: 10px auto;
  width: 100%;
}

.intro-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 5px 2px 10px rgba(0, 0, 0, 0.4);
}
.linha-superior {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.linha-superior img {
  width: 40%;                 /* DUAS IMAGENS LADO A LADO */
  border-radius: 10px;
}
.linha-inferior img {
  width: 60%;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
.linha-sup {
  display: flex;
  justify-content: center;
  gap: 20px; /* espaço entre as imagens */
}
/* TAMANHO IGUAL PARA TODAS */
.linha-sup img {
  width: 270px;     /* largura igual */
  height: 150px;    /* altura igual */
  object-fit: cover; /* corta proporcionalmente para não distorcer */
  border-radius: 10px; /* opcional */
}
.imagens-vertical {
  display: flex;
  flex-direction: column; /* coloca uma embaixo da outra */
  align-items: center;    /* centraliza */
  gap: 1px;              /* espaço entre elas */
  margin-top: 10px;
}
.imagens-vertical img {
  width: 50%;             /* tamanho ajustável */
}

/* =========================
   BOTÕES
========================= */
.history-buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}
.btn-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.btn-red {
  background: #cb1e1e;
  padding: 18px 30px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: 0.2s ease-in-out;
}
.btn-red:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
}
.btn-section {
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
.custom-btn {
  padding: 15px 35px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: 0.3s ease-in-out;
}
.b1, .b2, .b3, .b4 {
  background: #c60000;
}
.custom-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: 0.3s;
}
.btn-whatsapp:hover {
  background: #1ebd5a;
  transform: scale(1.05);
}
.centro {
  text-align: center;
  margin-top: 20px;
}
/* Centraliza o container */
.btn-container {
  text-align: center;
  margin: 20px 0;
}

/* Estilo do botão */
.btn-red-ver {
  display: inline-block;
  background: #b71c1c; /* vermelho */
  color: #fff;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

/* Hover */
.btn-red-ver:hover {
  background: #8b0000;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #111;
  color: #fff;
  padding: 2rem 0;
  margin-top: 2.5rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 95px;
}
.footer-logo {
  height: 300px;
  width: auto;
  display: block;
}
.footer-social {
  display: flex;
  gap: 15px;
}
.footer-social a i {
  font-size: 28px;
  color: white;
  transition: 0.3s ease;
}
.footer-social a i:hover {
  color: #ff0000;
  transform: scale(1.15);
}
/* =========================
   CERTIFICATES / BIO / PROFESSORES / CARDS COLORIDOS
========================= */
.cert-box {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border: 1px solid #dadada;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 22px;
  font-family: "Times New Roman", "Georgia", serif;
  color: #222;
  box-sizing: border-box;
}

  /* Cabeçalho com logo à esquerda e foto à direita */
  .cert-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
  }
  .cert-left {
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }
  .logo-wrap {
    flex: 0 0 120px;
  }
  .logo-wrap img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 6px;
  }
  .title-wrap {
    min-width: 0;
  }
  .cert-box h1 {
    font-size: 22px;
    margin: 0 0 6px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .cert-box h2 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #333;
    font-weight: 600;
  }
  .cert-box .address {
    font-size: 14px;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.35;
  }
    /* Box principal */
  .cert-container {
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
  }

 /* Right column - foto do mestre */
  .photo-wrap {
    flex: 0 0 200px;
    display: flex;
    justify-content: flex-end;
  }
  .photo-wrap img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
  }
  /* Informações (Faixa, Grau...) e situação legal */
  .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 30px;
    align-items: start;
    margin-top: 8px;
  }
  .info-grid .label {
    font-weight: 700;
    font-size: 10px;
  }
  .info-grid .value {
    font-size: 10px;
    color: #111;
  }
  .status {
    font-weight: 700;
    color: #2d9b1b; /* verde */
  }
  /* Area de tags (estilo "botões/etiquetas") */
  .tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .tag {
    background: #fff0f0;
    border: 1px solid #d46b6b;
    color: #8f1515;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1;
    display: inline-block;
  }
  /* Texto biográfico dentro do mesmo retângulo */
  .bio {
    margin-top: 16px;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.45;
    text-align: justify;
  }

/* =========================
   HEADER ROW / TOPO DO CERTIFICADO
========================= */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.header-left {
  display: flex;
  gap: 18px;
  align-items: center;
}
.log {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.header-texts {
    text-align:center 
}
.header-texts h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
}
.header-texts h2 {
    margin: 4px 0;
    font-size: 20px;
    font-weight: 700;
}
/* =========================
   TABELA 5 COLUNAS / INFORMAÇÕES
========================= */
.info-table {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
}
.label {
  font-weight: bold;
  margin-bottom: 6px;
}
.value {
  font-size: 10px;
}
.legal {
  color: #1ba41b;
  font-weight: bold;
}
/* =========================
  BIO / TAGS / PROFESSORES
========================= */
.bio-row {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}
.bio-left {
  display: flex;
  gap: 12px;
  flex: 1;
    max-width: 700px;
}
.photo {
  width: 150px;
  height: 190px;
  object-fit: cover;
  border-radius: 4px;
}
.bio {
  font-size: 15px;
  text-align: justify;
  line-height: 1.4;
}
/* Caixa das tags */
.tags-box {
  width: 260px;
  background: #f8f8f8;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 15px;
}
.tag-item {
  background: #ffe6e6;
  border-left: 4px solid #c93636;
  padding: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  border-radius: 4px;
}
.professores {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}
.professor-box {
  background-color: #f9f9f9;
  border: 2px solid #ccc;
  border-radius: 12px;
  width: 300px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.professor-box img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}
.professor-box h2 {
  font-size: 20px;
  margin-bottom: 5px;
}
.professor-box .in-memoriam {
  color: red;
  font-weight: bold;
  margin-bottom: 10px;
}
.professor-box .primeiros-socorros {
  color: #d00;
  font-weight: bold;
  margin-top: 10px;
}
/* =========================
CARDS COLORIDOS / INFO BOX
========================= */
.card1 {
  width: 75%;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.card2 {
  width: 50%;
  background: #9700d8;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
  margin: 0 auto; /* CENTRALIZA NO MEIO DA PÁGINA */
  display: block; /* Garante que funcione corretamente */
}
.card3 {
  width: 50%;
  background: #9a4d00;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
  margin: 0 auto; /* CENTRALIZA NO MEIO DA PÁGINA */
  display: block; /* Garante que funcione corretamente */
}
.card4 {
  width: 50%;
  background: #000000;
  color: white;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
  margin: 0 auto; /* CENTRALIZA NO MEIO DA PÁGINA */
  display: block; /* Garante que funcione corretamente */
}
.card5 {
  width: 80%;
  background: #e50505;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
  margin: 0 auto; /* CENTRALIZA NO MEIO DA PÁGINA */
  display: block; /* Garante que funcione corretamente */
}
.card6 {
  width: 100%;
  background: #e50505;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  text-align: center;
  margin: 0 auto; /* CENTRALIZA NO MEIO DA PÁGINA */
  display: block; /* Garante que funcione corretamente */
}
.bloco-info {
  color: #000000;             /* texto branco */
  padding: 20px;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 800px;           /* opcional, para não esticar demais */
  margin: 20px auto;          /* centraliza na página */
}
.bloco-info strong {
  font-size: 17px; 
}
/* =========================
LISTAS NUMERADAS
========================= */
.container .card ol {
  counter-reset: item;
  padding-left: 0;
}
.container .card li {
  list-style: none;
  counter-increment: item;
  margin: 8px 0;
  position: relative;
  padding-left: 28px;
  text-align: left;
}
.container .card li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
/* =========================
  extra
========================= */
.subtitle {
  margin: 3px 0;
  color: #a41e1e;
  font-size: 15px;
  font-weight: bold;
}
.address {
  font-size: 15px;
  margin-top: 6px;
}
.contact-btn {
  background: #e64c4c;
  border: none;
  padding: 10px 14px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.titulo-sucessores {
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
}
.sucessores {
    text-align: center;
    line-height: 1.8;
}

.ind {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
}
.inf{
    color: #dadada;
}
.titulo-sucessores,
.nome-item, .nome-lista {
  text-align: center;
  width: 100%;
  margin: 0 auto;
  margin-right: 10px; /* controla o espaço entre os nomes */
}
.irr{
    text-align: center;
    font-weight: bold; 
}
.Maior{
    font-size: 20px;
    color: #ffffff;
}


/* Imagem principal grande */
.img-main img {
    width: 100%;
    max-width: 650px; /* Ajuste se quiser maior */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: #000000 0 4px 12px;
}

/* Grupo das duas imagens menores */
.img-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Para não quebrar no mobile */
}

.img-group .img-small {
    width: 100%;
    max-width: 520px;
    border-radius: 10px;
    box-shadow: #000000 0 4px 12px;
}
.contact-btn-off {
  background: #b5b5b5;      /* cinza */
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: not-allowed;      /* seta desativada */
  opacity: 0.6;             /* visual de desabilitado */
}
.central{
    text-align: center;
    margin-top: 2px;
}
.center-btn {
  text-align: center;
}

.email-btn {
  display: inline-block;
  background-color: #dc0101;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.email-btn:hover {
  background-color: #222;
}
/* =========================
   RESPONSIVO OTIMIZADO
========================= */

/* -------------------------
   Desktop → Tablet (1024px)
-------------------------- */
@media (max-width: 1024px) {
.nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px; /* igual ao header */
    right: 3px;
    background: rgba(0,0,0,0.85);
    padding: 20px;
    border-radius: 10px;
    gap: 1rem;
    z-index: 9999;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-links a {
    font-size: 1.1rem;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .header {
    height: auto;
    padding: 12px 0;
  }

  .cert-box {
    max-width: 100%;
    padding: 16px;
    border-radius: 6px;
  }

  .bio-row {
    flex-direction: column;
  }

  .bio-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tags-box {
    width: 100%;
    max-width: 260px;
    margin-top: 15px;
  }

  .photo {
    width: 180px;
    height: 220px;
  }

  .logo {
    max-width: 160px;
  }

  .slide img {
    width: 100%;
    height: auto;
  }
    .canva-frame {
    width: 70%;
    padding-top: 45%;   /* aumenta a altura proporcional */
  }
}

/* Tablet / Celular Grande */
@media (max-width: 900px) {
  .img-main img {
    max-width: 90%;
  }
    .canva-frame {
    width: 80%;
    padding-top: 45%;
  }
  .img-group .img-small,
  .linha-superior img,
  .linha-inferior img,
  .linha-sup img,
  .imagens-vertical img {
    width: 48%; /* 2 imagens por linha */
  }
     .slider {
    max-width: 100%; /* ocupa quase toda a tela */
  }
}

/* -------------------------
   Menu Hamburger Mobile
-------------------------- */
@media (max-width: 850px) {
  .nav-links {
    display: none;
  }
  .canva-frame {
    width: 80%;
    padding-top: 45%;
  }
  .nav-toggle {
    display: block;
  }
     .slider {
    max-width: 100%; /* ocupa 100% da tela */
  }
}
/* -------------------------
   Tablet → Mobile (768px)
-------------------------- */
@media (max-width: 768px) {
  .header {
    height: auto;
    padding: 15px 0;
  }
    .canva-frame {
    width: 90%;
    padding-top: 65%;
  }

  .cert-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
    .nav-links {
    top: 120px; /* se header menor */
  }
  .logo {
    width: 80px;
    top: 8px;
    left: 10px;
  }
  .cert-head .logo-wrap img {
    width: 100px;
    height: 100px;
  }

  .cert-head .photo-wrap img {
    width: 150px;
    height: auto;
  }

  .photo {
    width: 160px;
    height: 200px;
  }

  .tags-box {
    width: 100%;
  }

  .bio-left {
    flex-direction: column;
    text-align: center;
  }

  .bio-row {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content h3,
  .Maior {
    font-size: 1.1rem !important;
  }
     .intro-image {
    margin: 10px 0; /* remove margens laterais no mobile */
  }

  .intro-image img {
    width: 100%;
  }
     .slider {
    max-width: 100%; /* ocupa 100% da tela */
  }
}

/* -------------------------
   Mobile Grande (600px)
-------------------------- */
@media (max-width: 600px) {
  .canva-frame {
    width: 100%;
  }
  .btn-red-ver {
    width: 90%;
    text-align: center;
    font-size: 1rem;
    padding: 14px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .intro-image {
    margin: 10px 0; /* remove margens que estouram */
  }
  .slide img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .image-center {
    max-width: 100%;
  }

  .nav-links a {
    font-size: 1rem;
  }
  .slider {
    max-width: 100%; /* ocupa 100% da tela */
  }
  .bio-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tags-box {
    width: 100%;
  }

  .cert-box {
    padding: 14px;
  }
  .canva-frame {
    width: 90%;
    padding-top: 55%;
  }
  .cert-box h1 {
    font-size: 18px;
  }

  .cert-box h2 {
    font-size: 16px;
  }

  .tag-item {
    font-size: 12px;
    padding: 5px 8px;
  }
}
/* Celular Médio / Pequeno */
@media (max-width: 500px) {
  .img-main img,
  .img-group .img-small,
  .linha-superior img,
  .linha-inferior img,
  .linha-sup img,
  .imagens-vertical img {
    width: 100%; /* 1 imagem por linha */
  }
    .canva-frame {
    width: 90%;
    padding-top: 55%;
  }
     .intro-image {
    margin: 8px 0;
  }
}
/* -------------------------
   Mobile Pequeno (480px)
-------------------------- */
@media (max-width: 480px) {
  .footer-logo {
    height: 120px;
  }

  .download-box {
    width: 90%;
    font-size: 0.85rem;
  }
    .canva-frame {
    width: 100%;
    padding-top: 80%;   /* fica bem grande no celular */
  }
  .logo {
    width: 60px;
    top: 5px;
    left: 5px;
  }
  .slider {
    max-width: 100%; /* ocupa 100% da tela */
  }
     .intro-image {
    margin: 5px 0;
  }
    .footer-grid { 
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    top: 100px; /* se header menor ainda */
  }
  .intro-cards {
    flex-direction: column;
    gap: 1.5rem;
  }

  .slide img {
    height: 200px;
  }

  .photo {
    width: 140px;
    height: 180px;
  }

  .tags-box {
    width: 100%;
  }

  .cert-box {
    padding: 12px;
  }

  .cert-box h1 {
    font-size: 16px;
  }

  .cert-box h2 {
    font-size: 14px;
  }

  .tag-item {
    font-size: 11px;
    padding: 4px 6px;
  }
}


