@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700;800;900&display=swap');

/* Estilos globais para links */
a:link, a:visited, a:hover, a:active {
	color: inherit;
	text-decoration: none;
}

/* Reset de margens e preenchimentos */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: #1e1e1e;
}

/* Ajuste da largura com padding */
#blocoG {
	width: 100%;
	padding: 2%;
	background: #fff;
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
	align-items: flex-start;
	position: relative;
	align-content: center;
	box-sizing: border-box;
}

#blocoG img {
	width: 60%;
	border-top-right-radius: 25px;
	border-bottom-left-radius: 25px;
}

/* Container do formulário e da seção de texto */
.container {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 60%;
    overflow: hidden;
    text-align: left;
    box-sizing: border-box;
    margin: 20px auto;
}

/* Seção de texto e imagem à esquerda */
.left-section {
    flex: 1;
    background-color: #f0f0f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: left;
    box-sizing: border-box;
}

.left-section h1 {
    margin: 0 0 20px;
    font-size: 2rem;
}

.left-section p {
    margin: 0 0 20px;
    font-size: 1rem;
}

.left-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Formulário à direita */
.right-section {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.formulario-contato-representante {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-size: 1rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group span {
    color: #d2171a;
    margin-left: 5px;
}

.btn-enviar {
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
}

.btn-enviar:hover {
    background-color: #555;
}

.form-footer {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    text-align: left;
}

.form-footer a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsividade de elementos */
A3 {
    color: #d2171a;
    font-size: 1.5rem;
    font-weight: 800;
}

p {
    font-size: 1rem;
    text-align: justify;
}

/* Responsividade */
@media (max-width: 1200px) {
    #blocoG img {
        width: 80%;
    }

    .left-section h1 {
        font-size: 1.75rem;
    }

    .left-section p {
        font-size: 0.9rem;
    }

    A3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 800px) {
    .container {
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    .left-section,
    .right-section {
        width: 100%;
        padding: 15px;
    }

    #blocoG img {
        width: 100%;
        border-radius: 0;
    }

    A3 {
        font-size: 6vw;
        font-weight: 800;
        line-height: 1.0;
    }

    p {
        text-align: justify;
        font-size: 1.5vw;
        width: 90%;
    }
    #blocoG img {
        width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }
    #blocoG {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

@media (max-width: 480px) {
    body, html {
        font-size: 3vw;
    }

    .left-section h1 {
        font-size: 1.5rem;
    }

    .left-section p {
        font-size: 0.85rem;
    }

    A3 {
        font-size: 5vw;
    }

    p {
        font-size: 2vw;
    }

    #blocoG img {
        width: 100%;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }
    #blocoG {
        width: 100%;
        padding: 0;
        margin: 0;
    }
}
