html, body {
    overflow-x: hidden; /* Impede scroll horizontal em toda a página */
    max-width: 100vw;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box; /* Garante que padding/border não aumentem o tamanho */
}



/* ========== HEADER STYLES ========== */

/* Header principal */
header {
    display: flex;
    justify-content: start;
    align-items: flex-start;
    gap: 24px;
    padding: 8px 24px;
}

/* Foto do Dr. (esquerda) */
header img[src="images/filipe.png"] {
    height: 1200px;
    width: auto;
    object-fit: cover;
    display: block;
}

/* Wrapper do logo + nav (direita) */
header > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Logo */
header img[src="images/marca_H.png"] {
    height: 800px;
    width: 1100px;
    display: block;
    position: relative;
    top: -120px;
    margin-left: -200px;
}

/* Navegação */
header nav {
    display: flex;
    gap: 60px;
    position: relative;
    top: -360px;
    margin-left: 100px;
}

/* Links de navegação */
header nav a {
    text-decoration: none;
    color: #8B1538;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease;
}

/* Hero section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -660px;
    margin-left: 70px;
    height: 100vh;
}

/* Texto do header */
.texto-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-top: -360px;
    margin-left: 70px;
    margin-right: 460px;
    height: auto;
}

/* ========== MEDIA QUERIES HEADER MOBILE ========== */

@media (max-width: 768px) {
    /* Header mobile - layout em coluna */
    header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 15px 20px;
        text-align: center;
    }

    /* Foto do Dr. mobile */
    header img[src="images/filipe.png"] {
        height: 300px;
        width: auto;
        max-width: 100%;
    }

    /* Wrapper mobile */
    header > div {
        align-items: center;
        width: 100%;
    }

    /* Logo mobile */
    header img[src="images/marca_H.png"] {
        height: 200px;
        width: auto;
        max-width: 100%;
        top: 0;
        margin-left: 0;
        position: static;
    }

    /* Navegação mobile */
    header nav {
        top: 0;
        margin-left: 0;
        position: static;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    /* Hero section mobile */
    .hero-section {
        margin-top: 0;
        margin-left: 0;
        height: auto;
        padding: 20px 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-section h1 {
        font-size: 24px;
        letter-spacing: 1px;
        white-space: normal !important;
        line-height: 1.3;
        word-wrap: break-word;
        max-width: 100%;
        width: 100%;
        overflow-wrap: break-word;
    }

    /* Texto header mobile */
    .texto-header {
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0 20px;
        text-align: center;
    }

    .texto-header p {
        font-size: 16px;
        text-align: left;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
        gap: 15px;
    }

    /* Foto ainda menor em mobile pequeno */
    header img[src="images/filipe.png"] {
        height: 250px;
    }

    /* Logo ainda menor */
    header img[src="images/marca_H.png"] {
        height: 150px;
    }

    /* Navegação mobile pequeno */
    header nav {
        gap: 15px;
    }

    header nav a {
        font-size: 14px;
    }

    .hero-section {
        padding: 15px 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-section h1 {
        font-size: 16px;
        letter-spacing: 0px;
        white-space: normal !important;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: calc(100vw - 20px);
        width: 100%;
        padding: 0;
        margin: 0;
        hyphens: auto;
    }


    .texto-header p {
        font-size: 15px;
        line-height: 1.5;
    }

    .texto-header {
        padding: 0 15px;
    }
}




/* Layout do header (pode ficar no seu style.css) */
.site-header{
  display: flex;
  justify-content: space-between; /* foto à esquerda, logo à direita */
  align-items: flex-end;          /* alinha pela base, como na sua referência */
  gap: 24px;
  padding: 16px 24px;
}

/* Opcional: limite de largura do container da página */
.container{
  max-width: 1200px;
  margin: 0 auto;
}

nav a {
  text-decoration: none;         /* Remove o sublinhado dos links */
  color: #8B1538;                /* Cor da fonte */
  font-size: 16px;               /* Tamanho da fonte */
  font-weight: bold;              /* Peso da fonte (negrito) */
  font-family: 'Roboto', sans-serif;  /* Define a fonte */
  transition: color 0.3s ease;   /* Transição suave de cor no hover */
}

/* Estilo para o título (h1) */
.hero-section h1 {
  font-size: 38px;        /* Tamanho da fonte */
  font-weight: 300;       /* Peso da fonte (fina) */
  color: #8B1538;         /* Cor do texto */
  white-space: nowrap;    /* Impede quebra de linha */
  font-family: 'Roboto', sans-serif;  /* Fonte Central */
  text-transform: uppercase; /* Maiúsculas */
  letter-spacing: 4px;    /* Aumenta o espaçamento entre as letras */
  text-align: center;     /* Centraliza o texto */
  margin: 0 auto;         /* Centraliza a div horizontalmente */
  width: 100%;            /* Garante que o h1 ocupe toda a largura da tela */
}

/* Estilo para os parágrafos dentro da classe .texto-header */
.texto-header p {
  font-size: 20px;          /* Tamanho da fonte */
  color: #333;              /* Cor do texto */
  line-height: 1.6;         /* Altura da linha para melhor legibilidade */
  max-width: 800px;         /* Limita a largura do texto */
  font-family: 'Roboto', sans-serif; /* Fonte */
  margin: 10px 0;           /* Margem entre os parágrafos */
  font-weight: bold
}


.compromisso-section {
    max-width: 1200px;
    margin: -40px auto 0;
    padding: 140px 20px;
    display: flex;
    align-items: center;
    gap: 80px;
    min-height: 400px;
}

.compromisso-text {
    flex: 0 0 300px;
}

.compromisso-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    line-height: 0.9;
    color: #8B1538;
    text-transform: uppercase;
    text-align: right;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.compromisso-title .line {
    display: block;
}

.compromisso-content {
    flex: 1;
    font-size: 20px;
    color: #000;
    line-height: 1.8;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.compromisso-first-paragraph {
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .compromisso-section {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        margin-top: 40px; /* ← MUDANÇA: era -50px, agora positivo */
    }

    .compromisso-title {
        font-size: 3rem;
        letter-spacing: 0.2em;
        text-align: center;
    }

    .compromisso-text {
        flex: none;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .compromisso-section {
        padding: 30px 15px;
        margin-top: 30px; /* ← MUDANÇA: era -30px, agora positivo */
    }

    .compromisso-title {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }
}

/* section quem sou */

.quem-sou-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    min-height: 600px;
    position: relative;
    margin-top: -95px;
}

.doctor-image-container {
    flex: 0 0 350px;
    position: relative;
}

.doctor-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.content-area {
    flex: 1;
    position: relative;
}

.quem-sou-title {
    background-color: #8dc5c5;
    color: #8B1538;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-align: left;
    padding: 15px 40px;
    margin-bottom: 40px;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.bio-text {
    font-size: 20px;
    color: black;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
    font-family: 'Roboto', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quem-sou-section {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        text-align: center;
    }

    .doctor-image-container {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .quem-sou-title {
        font-size: 2rem;
        letter-spacing: 0.1em;
        padding: 12px 30px;
    }

    .bio-text {
        font-size: 15px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .quem-sou-title {
        font-size: 1.5rem;
        padding: 10px 20px;
    }

    .bio-text {
        font-size: 14px;
    }

    .quem-sou-section {
        padding: 30px 15px;
    }
}


.servicos-section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px; /* AJUSTE MANUAL: valores negativos = mais próximo da seção anterior */
    padding: 60px 20px;
    position: relative;
}

/* Linha vermelha no topo */
.top-line {
    position: absolute;
    top: 40px;
    left: -200px; /* AJUSTE MANUAL: estende a linha para a esquerda */
    right: -200px; /* AJUSTE MANUAL: estende a linha para a direita */
    height: 1px;
    background-color: #8B1538;
    z-index: 1;
}

/* Botão WhatsApp */
.whatsapp-container {
    position: absolute;
    top: 120px; /* AJUSTE MANUAL: posição vertical do botão */
    right: -20px; /* AJUSTE MANUAL: posição horizontal do botão */
    z-index: 3;
}

.whatsapp-button {
    background-color: white;
    border: 2px solid #8B1538;
    border-radius: 25px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #8B1538;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(139, 21, 56, 0.1);
}

.whatsapp-button:hover {
    background-color: #8B1538;
    color: white;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
}

/* Título da seção */
.servicos-title-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px; /* AJUSTE MANUAL: para alinhar com a linha vermelha */
    margin-bottom: 40px;
    margin-left: 0;
}

.servicos-title {
    background-color: #8dc5c5;
    color: #8B1538;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-align: left;
    padding: 15px 40px; /* ← CORRIGIDO: removido o 920px */
    font-family: 'Roboto', sans-serif;
    margin-left: -50px;
    width: calc(100% + 90px); /* ← ADICIONAR: compensa a largura */
}

/* Introdução */
.servicos-intro {
    font-size: 20px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
    max-width: 800px;
    font-family: 'Roboto', sans-serif;
}

/* Container principal dos serviços */
.servicos-content {
    display: flex;
    gap: 40px; /* AJUSTE MANUAL: distância entre imagem e texto */
    align-items: flex-start;
}


.servicos-list {
    flex: 1;
}

.servico-item {
    margin-bottom: 25px;
}

.servico-text {
    font-size: 16px;
    color: #000;
    line-height: 1.7;
    font-family: 'Roboto', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .servicos-section {
        padding: 40px 15px;
        margin-top: -30px;
    }

    .servicos-title-container {
        margin-left: 0px;
        margin-right: 0px;
    }

    .servicos-title {
        font-size: 2rem;
        padding: 12px 20px;
        margin-left: 0;
        text-align: center;
        width: 100%;
        letter-spacing: 0.1em;
    }

    .whatsapp-container {
        right: 15px;
    }

    .servicos-content {
        flex-direction: column;
        gap: 30px;
    }

    .servicos-image-container {
        flex: none;
        max-width: 250px;
        margin: 0 auto;
    }

    .servicos-intro {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .servicos-title-container {
        margin-left: 0px;
        margin-right: 0px;
    }

    .servicos-title {
        font-size: 1.5rem;
        padding: 10px 15px;
        margin-left: 0;
        text-align: center;
        width: 100%;
        letter-spacing: 0.05em;
    }

    .whatsapp-button {
        font-size: 12px;
        padding: 6px 15px;
    }

    .servico-text {
        font-size: 15px;
    }
}
/* Continuação da seção serviços */
.servicos-section-completa {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -30px; /* AJUSTE MANUAL: proximidade da seção anterior */
    padding: 40px 20px;
}

/* Seção introdutória */
.intro-section {
    font-size: 18px;
    color: #000;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 50px;
    font-family: 'Roboto', sans-serif;
}

/* Container para cada procedimento */
.procedimento-container {
    display: flex;
    gap: 40px; /* AJUSTE MANUAL: distância entre imagem e texto */
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.procedimento-image {
    flex: 0 0 250px; /* AJUSTE MANUAL: largura da imagem */
}

.procedimento-content {
    flex: 1;
}

.procedimento-list {
    list-style: none;
}

.procedimento-item {
    margin-bottom: 30px;
}

.procedimento-text {
    font-size: 16px;
    color: #000;
    line-height: 1.7;
    font-family: 'Roboto', sans-serif;
}

/* Botão WhatsApp final */
.whatsapp-final-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    position: relative;
}

.whatsapp-final-button {
    background-color: white;
    border: 2px solid #8B1538;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #8B1538;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.2);
    position: relative;
    z-index: 2;
}

.whatsapp-final-button:hover {
    background-color: #8B1538;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.3);
}

.whatsapp-final-icon {
    width: 24px;
    height: 24px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.whatsapp-final-button:hover .whatsapp-final-icon {
    background-color: #128C7E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .servicos-section-completa {
        margin-top: -20px;
    }

    .procedimento-container {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }

    .procedimento-image {
        flex: none;
        max-width: 200px;
        margin: 0 auto;
    }

    .intro-section {
        font-size: 16px;
    }

    .procedimento-text {
        font-size: 15px;
    }

    .whatsapp-final-button {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .servicos-section-completa {
        padding: 20px 15px;
    }

    .procedimento-text {
        font-size: 14px;
    }

    .whatsapp-final-button {
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* Estilo para o botão do WhatsApp personalizado */
.custom-whatsapp-button-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-left: -880px;
    margin-top: -320px;
}

.custom-whatsapp-button {
    display: flex;
    flex-direction: column; /* Alinha o ícone e o texto verticalmente */
    align-items: center; /* Centraliza o conteúdo */
    justify-content: center;
    background-color: #fff;
    border: 2px solid #e74c3c; /* Borda vermelha */
    border-radius: 15px; /* Borda arredondada */
    padding: 15px;
    width: 200px; /* Ajuste o tamanho do botão */
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Efeito de hover do botão */
.custom-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: #c0392b;
}

/* Estilo para o ícone do WhatsApp */
.custom-whatsapp-icon {
    width: 50px;
    height: 50px;
    background-color: #25d366;
    border-radius: 50%; /* Ícone circular */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px; /* Espaço entre o ícone e o texto */
    flex-shrink: 0;
}

/* Ajustando o ícone dentro do botão */
.custom-whatsapp-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Estilo para o texto */
.custom-whatsapp-text {
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}

/* Exemplo de outros estilos de botão WhatsApp */
.custom-whatsapp-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.custom-whatsapp-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.custom-whatsapp-floating svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.locais-section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -180px; /* AJUSTE MANUAL: proximidade da seção anterior */
    padding: 60px 20px;
    position: relative;
}

/* Título da seção */
.locais-title-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.locais-title {
    background-color: #8dc5c5;
    color: #8B1538;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-align: center;
    padding: 15px 240px; /* AJUSTE MANUAL: tamanho horizontal do fundo */
    font-family: 'Roboto', sans-serif;
}

/* Introdução */
.locais-intro {
    font-size: 20px;
    color: #000;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Roboto', sans-serif;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Container principal */
.locais-content {
    display: flex;
    gap: 60px; /* AJUSTE MANUAL: distância entre imagem e informações */
    align-items: flex-start;
}

/* Imagem do celular */
.phone-image-container {
    flex: 0 0 300px; /* AJUSTE MANUAL: largura da imagem */
}

/* Lista de locais */
.locais-list {
    flex: 1;
}

.local-item {
    margin-bottom: 25px;
}

.local-telefone {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
}

.local-whatsapp {
    font-size: 14px;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Roboto', sans-serif;
}

.local-nome {
    font-size: 16px;
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
}

.local-endereco {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .locais-section {
        padding: 40px 15px;
        margin-top: -30px;
    }

    .locais-title {
        font-size: 2rem;
        padding: 12px 40px;
    }

    .locais-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .phone-image-container {
        flex: none;
        max-width: 250px;
        margin: 0 auto;
    }

    .locais-intro {
        font-size: 16px;
    }

    .local-item {
        text-align: left;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .locais-title {
        font-size: 1.5rem;
        padding: 10px 30px;
    }

    .locais-intro {
        font-size: 15px;
    }

    .local-telefone,
    .local-nome {
        font-size: 15px;
    }

    .local-whatsapp,
    .local-endereco {
        font-size: 13px;
    }
}

/* Botão WhatsApp para seção de locais */
.whatsapp-locais-container {
    width: 100%;
    max-width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    padding-right: 50%; /* AJUSTE MANUAL: posição horizontal do botão */
    overflow-x: hidden;
    box-sizing: border-box;
    margin-top: -40px; /* AJUSTE MANUAL: distância da seção anterior */
}

.whatsapp-locais-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #8B1538;
    z-index: 1;
    width: 100%;
}

.whatsapp-locais-button {
    position: relative;
    z-index: 2;
    background-color: white;
    border: 2px solid #8B1538;
    border-radius: 25px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #8B1538;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(139, 21, 56, 0.1);
    font-family: 'Roboto', sans-serif;
}

.whatsapp-locais-button:hover {
    background-color: #8B1538;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 21, 56, 0.2);
}

.whatsapp-locais-icon {
    width: 20px;
    height: 20px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.whatsapp-locais-button:hover .whatsapp-locais-icon {
    background-color: #128C7E;
}

@media (max-width: 768px) {
    .whatsapp-locais-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .whatsapp-locais-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .whatsapp-locais-container {
        padding-right: 5%;
    }
}

.formulario-section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -50px; /* AJUSTE MANUAL: proximidade da seção anterior */
    padding: 60px 20px;
}

/* Header do formulário */
.formulario-header {
    background-color: #8dc5c5;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.formulario-icon {
    flex-shrink: 0;
}

.formulario-texto {
    flex: 1;
}

.formulario-titulo {
    color: #8B1538;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.formulario-subtitulo {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}

.campos-obrigatorios {
    color: #8B1538;
    font-size: 12px;
    text-align: right;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

/* Formulário */
.formulario-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.half-width {
    grid-column: span 1;
}

label {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: 'Roboto', sans-serif;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #8B1538;
    background-color: white;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkboxes */
.checkbox-group {
    grid-column: 1 / -1;
    margin: 20px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
}

/* Botão enviar */
.enviar-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-enviar {
    background-color: #8B1538;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.btn-enviar:hover {
    background-color: #6d1129;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 21, 56, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .formulario-section {
        padding: 40px 15px;
        margin-top: -30px;
    }

    .formulario-header {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .formulario-titulo {
        font-size: 1.5rem;
    }

    .formulario-container {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.half-width {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .formulario-header {
        padding: 20px;
    }

    .formulario-titulo {
        font-size: 1.3rem;
    }

    .formulario-container {
        padding: 20px;
    }
}

.footer-minimal {
    background-color: #000;
    color: #fff;
    padding: 10px 0; /* AJUSTE MANUAL: altura vertical */
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* E adicione no body ou container pai: */
body {
    margin: 0;
    padding: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nome {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

.footer-especialidade {
    font-size: 14px;
    color: #aaa;
    font-family: 'Roboto', sans-serif;
}

.footer-contato {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-copyright {
    font-size: 14px;
    color: #aaa;
    font-family: 'Roboto', sans-serif;
}

.footer-dev {
    font-size: 12px;
    color: #666;
    font-family: 'Roboto', sans-serif;
}

.footer-dev-link {
    color: #8dc5c5;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-dev-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-contato {
        align-items: center;
    }

    
    .footer-minimal {
        padding: 20px 0; /* DIMINUÍDO: era 30px 0 */
    }
}

.whatsapp-container {
    width: 100%;
    max-width: 100vw; /* Limita à largura da viewport */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    padding-right: 20%;
    overflow-x: hidden; /* Impede scroll horizontal */
    box-sizing: border-box;
    margin-top: -170px;
}

.whatsapp-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #c41e3a;
    z-index: 1;
    width: 100%; /* Garante que a linha não ultrapasse o container */
}

.whatsapp-button {
    position: relative;
    z-index: 2;
    background-color: white;
    border: 2px solid #c41e3a;
    border-radius: 25px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #c41e3a;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(196, 30, 58, 0.1);
}

.whatsapp-button:hover {
    background-color: #c41e3a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.2);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.whatsapp-button:hover .whatsapp-icon {
    background-color: #128C7E;
}

@media (max-width: 768px) {
    .whatsapp-container {
        position: static;
        margin-top: 20px;
        margin-bottom: 20px;
        padding-right: 10%;
        justify-content: center;
    }

    .whatsapp-line {
        position: static;
    }

    .whatsapp-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .whatsapp-icon {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Radio buttons */
.radio-group {
    grid-column: 1 / -1;
    margin: 20px 0;
}

.radio-group > label {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
}


/* ========== MENU HAMBÚRGUER MOBILE ========== */

/* Esconder por padrão (desktop) */
.hamburger-menu,
.mobile-nav-overlay {
    display: none;
}

/* Estilos apenas para mobile */
@media (max-width: 768px) {
    /* Esconder nav original no mobile */
    header nav {
        display: none !important;
    }

    /* Botão hambúrguer */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        background-color: #8B1538;
        border: none;
        border-radius: 8px;
        padding: 8px;
        cursor: pointer;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        box-shadow: 0 4px 10px rgba(139, 21, 56, 0.3);
        transition: all 0.3s ease;
    }

    .hamburger-menu:hover {
        background-color: #6d1129;
        transform: scale(1.05);
    }

    .hamburger-menu span {
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Overlay do menu */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 80px 30px 30px;
        animation: slideIn 0.3s ease;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    /* Botão fechar */
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        border: 2px solid #8B1538;
        border-radius: 50%;
        color: #8B1538;
        font-size: 30px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .close-menu:hover {
        background-color: #8B1538;
        color: white;
    }

    /* Links do menu mobile */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .mobile-nav-link {
        text-decoration: none;
        color: #8B1538;
        font-size: 18px;
        font-weight: bold;
        font-family: 'Roboto', sans-serif;
        padding: 15px 20px;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
        display: block;
    }

    .mobile-nav-link:hover {
        border-left-color: #8B1538;
        background-color: #f5f5f5;
        padding-left: 25px;
    }

    /* Backdrop quando menu aberto */
    .mobile-nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .mobile-nav-backdrop.active {
        display: block;
    }
}

/* Desktop grande - mantém layout original */
@media (min-width: 1400px) {
    .hero-section {
        margin-top: -660px;
        margin-left: 70px;
    }
    
    .texto-header {
        margin-top: -360px;
        margin-right: 460px;
    }
}

/* Notebooks e telas menores - corrige sobreposição */
@media (max-width: 1399px) {
    .hero-section {
        margin-top: 40px !important;
        margin-left: 0 !important;
        padding: 40px 20px;
    }
    
    .texto-header {
        margin-top: 40px !important;
        margin-left: 40px !important;
        margin-right: 40px !important;
        max-width: 700px;
    }
}