body{
margin:0;
background:url('images/fundo.png') no-repeat center center fixed;
background-size:cover;
}
.navbar{
background:#ff6700;
padding:8px 16px;
display:flex;
justify-content:space-between;
align-items:center;
}
.navbar img{
display:block;
height: 7vw;
width:auto;
}
.navbar-contact{
font-family:'Montserrat Alternates', sans-serif;
color:#fff;
font-size:clamp(0.9rem, 1.5vw, 1.2rem);
display:flex;
align-items:center;
gap:8px;
}
.navbar-phone{
font-family:'Montserrat Alternates', sans-serif;
font-weight:700;
}
@media (max-width: 768px){
.navbar-contact{
font-size:clamp(0.7rem, 2vw, 0.9rem);
}
}
@media (max-width: 500px){
.navbar-contact{
flex-direction:column;
gap:2px;
text-align:right;
font-size:0.7rem;
line-height:1.2;
}
}
.hero{
position:relative;
font-family:'Montserrat Alternates', sans-serif;
}
.hero img{
width:100%;
height:auto;
display:block;
}

/* Seção de formulário mobile (oculta por padrão) */
.mobile-form-section{
    display: none;
}

/* Botão mobile: oculto por padrão, exibido apenas < 500px */
.mobile-cta{
    display: none;
}

/* Formulário do hero */
.hero-form {
    position: absolute;
    right: 10%; /* Alinhado com o conteúdo de texto */
    top: 45%; /* Posicionado abaixo do texto */
    height: 580px; /* Mantém proporção do iframe */
    z-index: 100; /* Garantir que fique acima do texto e overlay */
    background: linear-gradient(90deg, #ce0000, #ff5c00); /* Gradiente linear 90 graus */
    border-radius: 8px; /* Bordas arredondadas para um visual mais suave */
    padding: 1rem 1rem 0 1rem; /* Padding para acomodar o título */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}

/* Iframe do formulário dentro do card */
.hero-form iframe{
    display: block;
    width: 100% !important;
    height: calc(100% - 2.5rem) !important; /* Desconta o título/padding */
    border: none !important;
}

/* Título do formulário */
.hero-form-title {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Responsivo fluido: mín 0.9rem, ideal 2% viewport, máx 1.1rem */
    color: white;
    text-align: center;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

@media (max-width: 1124px){
.hero{
min-height:85vh;
}
.hero img{
width:100%;
height:85vh;
object-fit:contain;
object-position:bottom;
}
}

.hero__content{
position:absolute;
top: 5%;
right: 2%;
bottom: 0%;
display:flex;
flex-direction:column;
align-items:flex-start;
text-align:left;
max-width: 46%;
color:#911010;
}

.hero__title{
font-size: 3vw;
margin: 0 0 32px 0;
}

.description{
font-size: 1.5vw;
}

.hero__title + .description{
margin-top: 0;
}


@media (max-width: 790px){
.hero__content{
position:absolute;
top: 2%;
left: 4%;
bottom: 0%;
display:flex;
flex-direction:column;
align-items:flex-start;
text-align:left;
max-width: 92%;
color:#911010;
}
        
.hero__title{
font-size: 3.5vw;
line-height: 1.15;
margin: 0 0 12px 0;
}
        
.description{
font-size: 3vw;
max-width: 92%;
}

/* Abaixo de 500px: esconder hero-form e mostrar seção mobile */
@media (max-width: 500px){
.hero-form{ display: none; }
.hero{
    min-height:85vh;
    }
.mobile-form-section{
    display: block;
    background: #ff6700; /* mesma cor da navbar */
    padding: 24px 16px 32px 16px;
}
.mobile-form-section iframe{
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}
/* Botão mobile abaixo do texto, alinhado à direita */
.mobile-cta{
    display: block;
    margin: 16px 0 0 auto; /* empurra para a direita */
    width: min(280px, 60vw);
}
.mobile-cta img{
    display: block;
    width: 100%;
    height: auto;
}
}
.hero-form {
    position: absolute;
    right: 2%; /* Alinhado com o conteúdo de texto */
    top: 42%; /* Posicionado abaixo do texto */
    height: 300px; /* Mantém proporção do iframe */
    width: 200px;
    z-index: 100; /* Garantir que fique acima do texto e overlay */
    background: linear-gradient(90deg, #ce0000, #ff5c00); /* Gradiente linear 90 graus */
    border-radius: 8px; /* Bordas arredondadas para um visual mais suave */
    padding: 1rem 1rem 0 1rem; /* Padding para acomodar o título */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra sutil */
}
}