/* Remove margens padrões e define fonte */
html {
    scroll-behavior: smooth;
}body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: #333;
}

/* =========================
   HEADER / MENU (DESKTOP)
   ========================= */

.header{
  position: relative;
  z-index: 9999;
  display: grid;
  grid-template-columns: auto 1fr auto;  /* logo | menu | espaço */
  align-items: center;
  width: 100%;
  padding: 12px 40px;
  box-sizing: border-box;
  background: #fff;
}
/* Centraliza o menu perfeitamente */
.header .menu{
  justify-self: center;
}

/* logo */
.logo img{
  height: 42px;
  width: auto;
  display: block;
}

/* menu horizontal */
.menu{
  display: flex;
  align-items: center;
  gap: 32px;
}

/* links do menu */
.menu a{
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}

/* underline animado */
.menu a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #111827;
  transition: width 0.25s ease;
}

.menu a:hover{
  color: #111827;
}
.menu a:hover::after{
  width: 100%;
}

/* botão hamburguer: DESLIGADO (por enquanto) */
.menu-toggle{
  display: none !important;
}

.botao-whats {
    background-color: #233746;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.botao-whats:hover {
    opacity: 0.9;
}

/* HERO SECTION (primeira tela) */
.hero {
    background-image: url("imagens/banner-endo.jpg");
    background-size: 100% auto;   /* diminui o “zoom” em relação ao cover */
    background-position: center 15%;
    background-repeat: no-repeat;
    background-color: #111;
    padding: 90px 0 50px;
    color: #ffffff;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero * {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* Intensidade da sombra */
    z-index:0
}
.hero-conteudo {
    position: relative;
    z-index: 2;
}

.hero-conteudo {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-texto {
    flex: 1 1 340px;
}

.hero-selo {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    color: #c8d4e0;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0 0 18px;
    color: #ffffff;
}

.hero-descricao {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
    color: #e3edf5;
}

.hero-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.hero-lista li {
    font-size: 14px;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
    color: #dde6f0;
}

.hero-lista li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
    margin-top: 2px;
}

.grupo-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.botao-primario {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.botao-primario:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Botão secundário – "Cadastre-se" na hero */
.botao-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    margin-left: 12px;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;

    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: background-color 0.18s ease,
                color 0.18s ease,
                box-shadow 0.18s ease,
                border-color 0.18s ease,
                transform 0.18s ease;
}

.botao-secundario:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}

.hero-card {
    flex: 0 0 450px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 28px;
    border-radius: 14px;
}

.hero-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.hero-card ul {
    padding-left: 18px;
    margin: 0 0 10px;
    font-size: 14px;
    color: #e3edf5;
}

.hero-card ul li {
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 13px;
    color: #d5e0ec;
}
/* SEÇÕES GERAIS */

.secao {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.secao-servicos p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 28px auto;
    color: #233746;
}
/* SEÇÃO ESPECÍFICA: O QUE FAZEMOS / SERVIÇOS */
.secao-servicos {
    position: relative;
    text-align: center;
}

.secao h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #233746;
}

.secao-subtitulo {
    font-size: 18px;
    font-weight: 500;
    color: #34424e;
    margin-top: 6px;
    margin-bottom: 26px;
    line-height: 1.5;
}

/* CARD do formulário de cadastro (fica escondido e abre com animação) */
.cadastro-form {
  max-width: 600px;
  margin: 16px 0 0 auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

  /* efeito de aparecer / sumir */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

/* quando estiver aberto */
.cadastro-form.aberto {
  max-height: 2000px;   /* valor alto para caber todo o conteúdo */
  opacity: 1;
  transform: translateY(0);
}

/* CARDS DE SERVIÇOS */

.cards-servicos {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin: 36px auto;
    max-width: 1200px;
    padding: 0 16px;
}

.card-servico {
    position: relative;
    overflow: hidden;

    /* ESSA LINHA QUE FAZ FICAREM LADO A LADO */
    flex: 1 1 280px;      /* cada card tenta ter ~280px */
    max-width: 360px;     /* não passa muito disso */

    background: #ffffff;
    border-radius: 14px;
    padding: 24px 22px;
    border: 1px solid #dde3ee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

/* Barrinha de cor no topo do card */
.card-servico::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #233746, #4b8fbf);
}

/* Hover */
.card-servico:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    border-color: #4b8fbf;
    background-color: #f7fbff;
}

.card-servico h3 {
    font-size: 20px;
    margin-top: 4px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #233746;
}

.card-servico p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: #2f3b45;
    font-weight: 500;    
}
/* Fundo levemente cinza para destacar a seção de serviços */
.secao-servicos {
    background-color: #f5f7fb;
}


/* CATÁLOGO DE EQUIPAMENTOS */
/* ===== CATÁLOGO – HOME (6 PRODUTOS) ===== */

.secao-catalogo {
    text-align: center;
}

.cards-catalogo {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));  /* 3 colunas fixas */
    gap: 24px;
    margin-top: 24px;
}

.card-catalogo {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 16px 18px;
    border: 1px solid #dde3ee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-catalogo img {
    width: 100%;
    max-height: 280px;        /* limita a altura */
    object-fit: cover;        /* corta um pouco a borda se precisar */
    border-radius: 10px;
    margin-bottom: 8px;
}


/* ===== PÁGINA DE CATÁLOGO COMPLETO ===== */

/* layout geral da página de catálogo */
.catalogo-page {
    max-width: 1200px;
    margin: 0 auto 40px;   /* reduz espaço acima */
    padding-top: 10px;     /* só um respiro mínimo */
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* ===== LATERAL DE FILTROS ===== */

.catalogo-filtros {
    width: 700px;                /* deixa a barra mais larga */
    background: #111827;         /* azul bem escuro, perto da Endo360 */
    color: #f9fafb;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.4);
    position: sticky;            /* fica “colada” ao rolar */
    top: 90px;                   /* distância do topo (ajusta se precisar) */
}

/* título "Filtros" */
.catalogo-filtros h2 {
    font-size: 18px;
    margin: 0 0 2px;
}

/* “Categoria”, “Marca”, “Disponibilidade” */
.filtro-bloco {
    margin-bottom: 2px;          /* bem compacto entre blocos */
}

.filtro-bloco h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1px;
}

/* linhas de checkbox */
.filtro-bloco label {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    line-height: 1.1;            /* deixa as linhas mais juntinhas */
    margin: 3px 0;
    padding: 2px 4px;
    border-radius: 4px;
    cursor: pointer;
    color: #e2e8f0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.filtro-bloco label:hover {
    background-color: rgba(148, 163, 184, 0.25);
}

/* caixinha do checkbox */
.filtro-bloco input[type="checkbox"] {
    transform: scale(0.85);
    margin-right: 2px;      /* ligeiramente menor */
    accent-color: #38bdf8;       /* azul mais vivo no check */
}

/* título dos grupos com cor clara */
.filtro-titulo {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f9fafb;
}

/* ===== CAIXA DA LISTA DE INTERESSE NA LATERAL ===== */

.lista-interesse {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #243447;
    background-color: #111827;
}

.lista-interesse h3 {
    font-size: 13px;
    margin-bottom: 4px;
}

.lista-interesse-texto {
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #cbd5f5;
}

#lista-itens {
    font-size: 12px;
    color: #e5e7eb;
    margin-bottom: 8px;
}

/* botão de WhatsApp na lateral */
#btn-enviar-whats {
    width: 100%;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background-color: #25d366;   /* verde WhatsApp */
    color: #ffffff;
    cursor: pointer;
}

#btn-enviar-whats:hover {
    opacity: 0.9;
}

/* Checkbox dentro dos cards */
.selecionar-produto {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #34424e;
}

.selecionar-produto input {
    margin-right: 6px;
}

/* Botão de detalhes do catálogo */
.botao-detalhes {
    align-self: flex-start;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #233746;
    background: transparent;
    color: #233746;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.botao-detalhes:hover {
    background: #233746;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* BOTÃO VER TODOS OS PRODUTOS */
.catalogo-botao-container {
    text-align: center;
    margin: 40px 0 20px 0;
}

.catalogo-botao-ver {
    padding: 12px 28px;
    background-color: #233746;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.catalogo-botao-ver:hover {
    background-color: #1a2832;
    transform: translateY(-3px);
}
/* MANUTENÇÃO & SUPORTE */
.secao-manutencao {
    background-color: #f5f7fb;
}

.manutencao-conteudo {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.manutencao-conteudo > div {
    flex: 1 1 320px;
}

.manutencao-conteudo h3 {
    color: #0a4e96;
    margin-top: 0;
}

.manutencao-conteudo ul,
.manutencao-conteudo ol {
    color: #555;
    font-size: 14px;
    padding-left: 18px;
}

.botao-manutencao {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #0a4e96;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.botao-manutencao:hover {
    opacity: 0.9;
}/* SOBRE A ENDO360 */
.sobre-conteudo {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.sobre-conteudo > div {
    flex: 1 1 320px;
}

.sobre-conteudo h3 {
    color: #0a4e96;
    margin-top: 0;
}

.sobre-conteudo p,
.sobre-conteudo ul {
    color: #555;
    font-size: 14px;
}/* CONTATO & ORÇAMENTO */
.secao-contato {
    background-color: #f5f7fb;
}

.contato-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contato-grid > div {
    flex: 1 1 320px;
}

.botao-whats-contato {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #0a4e96;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.botao-whats-contato:hover {
    opacity: 0.9;
}

.form-contato {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 14px;
    color: #555;
}

.form-contato label {
    display: block;
    margin-bottom: 12px;
}

.form-contato input,
.form-contato select,
.form-contato textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-contato textarea {
    resize: vertical;
}

.botao-enviar {
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #0a4e96;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.botao-enviar:hover {
    opacity: 0.9;
}
.secao-encomenda {
    padding: 40px 20px;
}
/* EQUIPAMENTOS SOB ENCOMENDA */
.secao-encomenda {
    background-color: #ffffff;
}

.encomenda-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.item-encomenda {
    flex: 1 1 300px;
}

.item-encomenda h3 {
    color: #233746;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-encomenda ul {
    color: #555;
    font-size: 14px;
    padding-left: 18px;
}

.botao-encomenda {
    display: inline-block;
    padding: 12px 20px;
    background-color: #233746;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.botao-encomenda:hover {
    opacity: 0.85;
}

/* FORMULÁRIO DE ENCOMENDA */
.form-encomenda {
    margin-top: 15px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 14px;
    color: #555;
    max-width: 700px;
}

.form-encomenda label {
    display: block;
    margin-bottom: 12px;
}

.form-encomenda input,
.form-encomenda textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-encomenda textarea {
    resize: vertical;
}

.botao-enviar-encomenda {
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #233746;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.botao-enviar-encomenda:hover {
    opacity: 0.9;
}
.botao-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background-color: #25D366;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.botao-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    background-color: #1ebe5d;
}

.whats-icone {
    font-size: 20px;
}
.whats-flutuante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    z-index: 999;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.whats-flutuante:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
    background-color: #1ebe5d;
}

.icone-whats {
    width: 28px;
    height: 28px;
    display: block;
}
/* ========================= */
/*  ESTILOS PARA CELULAR     */
/* ========================= */
@media (max-width: 768px) {

    .header {
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    /* Mostrar o botão de menu no celular */
    .menu-toggle {
        display: block;
        margin-left: auto;
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
        color: #233746; /* azul escuro da marca */
    }

    /* Menu inicialmente escondido no celular */
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    /* Quando o menu estiver "aberto" (classe adicionada pelo JS) */
    .menu.menu-aberto {
        display: flex;
    }

    .menu a {
        padding: 10px 0;
        border-top: 1px solid #e0e0e0;
    }

    /* Botão de orçamento ocupa largura toda no celular */
    .botao-whats {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .card-servico {
    flex: 1 1 100%;
    text-align: center;
    }

   
}

@media (max-width: 768px) {
    .catalogo-page {
        flex-direction: column;
    }

    .catalogo-filtros {
        position: static;
        width: 100%;
        max-height: none;
        overflow: visible;
    }

    .cards-catalogo {
        grid-template-columns: 1fr;   /* 1 coluna no celular */
        max-width: 100%;
    }
}

/* ===== FORMULÁRIO DE AVALIAÇÃO (MANUTENÇÃO) ===== */

.form-avaliacao {
  background: #ffffffee;          /* branco levemente translúcido */
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px auto 0;
  max-width: 700px;
  border: 1px solid #dde3ee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* prepara a animação de abrir/fechar */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* quando o formulário estiver aberto */
.form-avaliacao.aberto {
  max-height: 1000px;  /* valor alto só para garantir */
  opacity: 1;
  transform: translateY(0);
}

/* título dentro do card */
.form-avaliacao h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #233746;
}

/* cada “linha” do formulário */
.linha-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 14px;
}

/* duas colunas (marca / modelo, etc.) */
.linha-dupla {
  display: flex;
  gap: 16px;
}

.linha-dupla > div {
  flex: 1;
}

/* labels */
.linha-form label {
  font-weight: 500;
  color: #34424e;
}

/* textos embaixo do label (small) */
.linha-form small {
  font-size: 12px;
  color: #6c7a89;
}

/* inputs e textarea */
.linha-form input[type="text"],
.linha-form textarea {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccd4e0;
  font-size: 14px;
  outline: none;
}

.linha-form input[type="text"]:focus,
.linha-form textarea:focus {
  border-color: #2b7fff;
  box-shadow: 0 0 0 1px rgba(43, 127, 255, 0.25);
}

/* radios e grupo de opções */
.label-titulo {
  font-weight: 600;
  color: #34424e;
}

.grupo-opcoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.grupo-opcoes label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

/* botões do rodapé do formulário */
.botoes-form {
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* botão secundário (cancelar) reutilizando seu estilo base */
.botao-secundario {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #d0d7e3;
  background: #f4f6fb;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
}

/* botão principal já herda .botao-manutencao, só refinando um pouco */
.form-avaliacao .botao-manutencao {
  padding: 8px 22px;
  font-size: 14px;
}

/* responsivo: em telas menores, a linha-dupla vira uma coluna */
@media (max-width: 768px) {
  .linha-dupla {
    flex-direction: column;
  }

  .form-avaliacao {
    margin: 16px 0 0;
  }
}
/* ===== SEÇÃO CADASTRO ===== */

.secao-cadastro {
  margin-top: 40px;
}

.cadastro-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  align-items: flex-start;
}

.cadastro-texto {
  flex: 1 1 260px;
  font-size: 14px;
  color: #374151;
}

.cadastro-texto h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #233746;
}

.cadastro-texto ul {
  margin: 8px 0 16px;
  padding-left: 18px;
}

.cadastro-texto li {
  margin-bottom: 4px;
}

.cadastro-lgpd {
  font-size: 12px;
  color: #6b7280;
}

/* Card do formulário */
.form-cadastro {
  flex: 1 1 320px;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #dde3ee;
}

/* Ajustes finos reaproveitando classes existentes */
.form-cadastro .linha-form {
  margin-bottom: 14px;
}

.form-cadastro input[type="text"],
.form-cadastro input[type="email"],
.form-cadastro input[type="tel"],
.form-cadastro textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
}

.form-cadastro input:focus,
.form-cadastro textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.form-cadastro .linha-dupla {
  display: flex;
  gap: 12px;
}

.form-cadastro .linha-dupla > div {
  flex: 1;
}

.checkbox-lgpd {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
}

.checkbox-lgpd input {
  margin-top: 2px;
}

/* Responsivo: empilha texto e formulário no mobile */
@media (max-width: 768px) {
  .cadastro-grid {
    flex-direction: column;
  }

  .form-cadastro {
    padding: 20px 16px;
  }
}

/*relativo a secção contato e links*/
.contato-links {
    margin-top: 24px;
}

.contato-links h4 {
    margin-bottom: 8px;
    font-size: 18px;
}

.contato-links ul {
    list-style: none;
    padding: 0;
}

.contato-links li {
    margin: 6px 0;
}

.contato-links a {
    color: #1b3d8c;
    text-decoration: none;
    font-weight: 500;
}

.contato-links a:hover {
    text-decoration: underline;
}
.secao-contato {
  padding-top: 60px;
  padding-bottom: 60px;
}

.secao-contato p,
.secao-contato li {
  line-height: 1.6;
}

.secao-contato ul {
  margin-top: 12px;
}
.secao-contato i {
  color: #006aff;
  width: 20px;
}
/* Botão Solicitar Detalhes */
.btn-catalogo {
  display: inline-block;
  padding: 8px 18px;
  margin-top: 8px;
  border-radius: 20px;
  background-color: #ffffff;
  color: #233746;
  border: 2px solid #233746;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-catalogo:hover {
  background-color: #233746;
  color: #ffffff;
}

/* =====================
   RODAPÉ LEGAL
===================== */

.rodape {
  background: #f5f7fa;
  border-top: 1px solid #e0e0e0;
  margin-top: 60px;
  padding: 30px 20px;
}

.rodape-conteudo {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.rodape-copy {
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

/* =========================
   MOBILE AJUSTES (INDEX)
   ========================= */
@media (max-width: 768px) {

  /* geral */
  .secao {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 18px 0 22px;
  }

  .hero-conteudo {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero-texto h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .hero-descricao {
    font-size: 15px;
    line-height: 1.45;
  }

  /* botões do hero em coluna */
  .hero-botoes,
  .botoes-hero,
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .hero-botoes a,
  .hero-botoes button,
  .botoes-hero a,
  .botoes-hero button,
  .hero-actions a,
  .hero-actions button {
    width: 100%;
  }

  /* card "Destaques Endo360" (caixa sobreposta) */
  .destaques,
  .card-destaques,
  .destaques-endo360 {
    max-width: 100%;
    margin: 10px 0 0;
    border-radius: 14px;
  }

  /* seção "O que fazemos" cards */
  .cards-servicos {
    gap: 14px;
  }

  .card-servico {
    width: 100%;
  }
}

/* =========================
   MOBILE AJUSTES — CATÁLOGO COMPLETO
   ========================= */
@media (max-width: 768px) {

  /* container geral */
  .catalogo-container,
  .catalogo-conteudo,
  .catalogo-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* título principal */
  .catalogo-header h1,
  .titulo-catalogo {
    font-size: 28px;
    line-height: 1.2;
  }

  .catalogo-header p,
  .subtitulo-catalogo {
    font-size: 15px;
    line-height: 1.45;
  }

  /* painel de filtros */
  .filtros,
  .catalogo-filtros {
    position: relative;
    width: 100%;
    margin: 16px 0 18px;
    border-radius: 14px;
  }

  /* área dos produtos */
  .catalogo-lista,
  .lista-produtos,
  .cards-catalogo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* cards de produto */
  .card-produto,
  .card-catalogo {
    width: 100%;
    border-radius: 14px;
  }

  .card-produto img,
  .card-catalogo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .card-produto h3,
  .card-catalogo h3 {
    font-size: 18px;
  }

  .card-produto p,
  .card-catalogo p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* botão WhatsApp da lista de interesse */
  .lista-interesse,
  .painel-interesse {
    border-radius: 14px;
    margin-top: 16px;
  }

  .lista-interesse button,
  .painel-interesse button {
    width: 100%;
    font-size: 15px;
  }
}
/* ===== MOBILE - Catálogo Completo (corrige corte/deslocamento) ===== */
@media (max-width: 768px) {

  main.catalogo-page{
    display: block;           /* sai do layout lado-a-lado */
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }

  aside.catalogo-filtros{
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;       /* filtros em cima, com espaço */
    box-sizing: border-box;
  }

  section.catalogo-lista{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

}

/* ===== AJUSTE MOBILE - CATÁLOGO COMPLETO ===== */
@media (max-width: 768px) {

  /* o "miolo" do catálogo ocupa a tela toda */
  main.catalogo-page{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;

    box-sizing: border-box;
  }

  /* filtros viram bloco normal (sem ficar "deslocado") */
  aside.catalogo-filtros{
    width: 100% !important;
    max-width: 100% !important;
    position: static !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  /* lista vira 1 coluna no mobile */
  section.catalogo-lista{
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    box-sizing: border-box;
  }

  /* garante que cards/imagens não "estourem" a largura */
  section.catalogo-lista img{
    max-width: 100%;
    height: auto;
    display: block;
  }
}

/* ===== POLIMENTO VISUAL MOBILE ===== */
@media (max-width: 768px){

  aside.catalogo-filtros{
    border-radius: 14px;
    padding: 16px !important;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
  }

  .lista-interesse button,
  .lista-interesse .whatsapp-btn,
  .lista-interesse a{
    width: 100%;
  }

  section.catalogo-lista{
    padding-top: 8px;
  }

  section.catalogo-lista h2,
  section.catalogo-lista h3{
    text-align: center;
  }

  .card-produto,
  .produto-card{
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(0,0,0,.12);
  }

  .card-produto img,
  .produto-card img{
    border-radius: 0;
  }
}

/* ===== CORREÇÃO: CARD CORTANDO NA DIREITA (MOBILE) ===== */
@media (max-width: 768px){

  /* evita qualquer vazamento horizontal */
  html, body{
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* garante cálculo correto de largura com padding */
  *, *::before, *::after{
    box-sizing: border-box;
  }

  /* container principal do catálogo */
  main.catalogo-page{
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* área da lista */
  section.catalogo-lista{
    width: 100%;
    max-width: 100%;
  }

  /* se a lista estiver em grid, trava 1 coluna */
  section.catalogo-lista{
    display: grid;
    grid-template-columns: 1fr !important;
  }

  /* cards: nunca podem passar de 100% */
  .card-produto,
  .produto-card{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .card-produto img,
  .produto-card img{
    max-width: 100%;
    height: auto;
    display: block;
  }
}

/* ===== ACABAMENTO: CENTRALIZAÇÃO MOBILE ===== */
@media (max-width: 768px){

  /* centraliza todo o conteúdo da lista */
  section.catalogo-lista{
    justify-items: center;
  }

  /* centraliza cada card */
  .card-produto,
  .produto-card{
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* centraliza textos e botão dentro do card */
  .card-produto,
  .produto-card{
    text-align: center;
  }

  .card-produto button,
  .produto-card button{
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

/* ===== MICRO AJUSTE DE LATERAIS DOS CARDS ===== */
@media (max-width: 768px){

  section.catalogo-lista{
    padding-left: 12px;
    padding-right: 12px;
  }

  .card-produto,
  .produto-card{
    width: 100%;
    max-width: calc(100% - 0px);
  }
}

/* ===== TRAVA DEFINITIVA DE LARGURA ===== */
*, *::before, *::after {
  box-sizing: border-box;
}
@media (max-width: 768px){
  section.catalogo-lista {
    padding-left: 12px;
    padding-right: 12px;
  }

  .card-produto,
  .produto-card {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px){
  /* centraliza a área onde os cards ficam */
  .catalogo-lista{
    width: 100%;
    margin: 0 auto;
    padding-left: 14px;
    padding-right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* garante que cada card fique centralizado e não “puxe” para um lado */
  .produto-card,
  .card-produto{
    width: 100%;
    max-width: 420px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* MOBILE — centralizar os cards SEM mexer no filtro */
@media (max-width: 768px) {

  /* a lista (grid) passa a centralizar os itens */
  .catalogo-lista{
    grid-template-columns: 1fr;
    justify-items: center;
  }

  /* o card ocupa 100% mas com limite pra ficar “bonito” e central */
  .catalogo-lista .produto-card{
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* === OVERRIDE FINAL (força o header no mobile) === */
.header{
  display: grid !important;
  grid-template-columns: auto 1fr auto !important; /* logo | espaço | botão */
  align-items: center !important;

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 16px !important;
  box-sizing: border-box !important;
}

.header .logo{ justify-self: start !important; }

.menu-toggle{
  position: relative !important;  /* mata absolute/fixed que jogam pra lateral */
  top: auto !important;
  right: auto !important;
  left: auto !important;

  justify-self: end !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  line-height: 1 !important;
}
/* === FIX DEFINITIVO: hambúrguer preso no canto direito do header === */
.header{
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.menu-toggle{
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  margin: 0 !important;
  padding: 10px !important;
  line-height: 1 !important;
}

/* === FIX DEFINITIVO: hambúrguer preso no canto direito do header === */
.header{
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.menu-toggle{
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  margin: 0 !important;
  padding: 10px !important;
  line-height: 1 !important;
}