@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --font-base: 'Jost', sans-serif;
    --font-title: 'Jost', serif;

    --color-text: #222;
    --color-soft: #777;
    --primary: #115b66;
}

body{
    background-color: #e9e7e7;

}
/*HEADER*/

.header-contato {
    padding: 120px 20px 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-height: 200px;
    background-color: #115b6662;
}

.header-contato-content {
    max-width: 900px;
}

.header-contato h1 {
    font-size: 60px;
    font-weight: 400;
    color: var(--color-text);
    font-family: var(--font-title);
    margin-bottom: 20px;
}

.header-contato span{
    color: var(--primary);
}

.header-contato h3 {
    font-size: 40px;
    font-weight: 300;
    color: var(--color-text);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Jost', sans-serif;
}

/* CONTAINER */

.contato-wrapper {
    padding: 60px 40px;
}

.formulario {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
    width: 100%;
}

/* FORMULÁRIO */

.contato-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 45px;
    flex: 1;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.contato-form h1 {
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--primary);
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contato-form label {
    font-weight: 500;
    color: var(--color-soft);
    margin-bottom: -8px;
}

.contato-form input, .contato-form textarea {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #d7d7d7;
    font-size: 16px;
    font-family: var(--font-base);
    transition: all 0.2s ease-in-out;
}

.contato-form input:focus, .contato-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(17, 91, 102, 0.2);
}

.btn-enviar {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enviar:hover {
    background-color: rgb(11, 57, 63)
}

.btn-enviar:active{
    background-color: #000000;
}


/* MAPA */

.contato-map {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.contato-map iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 8px;
}

.map-info {
    margin-top: 18px;
    font-size: 18px;
    color: var(--color-text);
}

.map-info i {
    color: var(--primary);
    margin-right: 5px;
}

.map-info p {
    line-height: 1.6;
}

/* CATALOGO */

.catalogo {
	padding: 28px 0;
	text-align: center;
}

.catalogo p {
	font-size: 18px;
	color: var(--color-soft);
}

.link-pdf {
	background: none;
	border: none;
	color: #115b66;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	font: inherit;
}

.link-pdf:hover {
	opacity: 0.8;
}

.pdf-container {
	display: none;
	margin-top: 20px;
	width: 100%;
	height: 80vh;
	border-radius: 12px;
	overflow: hidden;
}

.pdf-container iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.catalogo-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.catalogo-modal.active {
	display: flex;
}

.catalogo-box {
	position: relative;
	width: 90%;
	height: 90%;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	animation: zoomIn 0.3s ease;
}

.catalogo-box iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.close-catalogo {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	font-size: 18px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}

/*Whatsapp link*/
.whatsapp {
	margin: 20px auto;
	text-align: center;
}

.whatsapp-fixed {
	padding: 10px;
	background-color: #25D366;
	color: #fff;
	font-size: 32px;
	text-decoration: none;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
	animation: blink 3.3s infinite ease-in-out;
	border-radius: 5px;
}

/* Keyframe for whats link */
@keyframes blink {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* hover effect */
.whatsapp-float:hover {
    transform: scale(1.2);
    transition: 0.3s;
}

/*Tela de sucesso pós envio do formulrio*/

.success-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.success-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    animation: fadeIn 0.4s ease;
}

.success-box h2 {
    color: #2ecc71;
    margin-bottom: 10px;
}

.success-box span {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*REPONSIVIDADE*/

/*1024px*/
@media (max-width: 1024px) {

    /* HEADER */
    .header-contato h1 {
        font-size: 2.6rem;
    }
    .header-contato h3 {
        font-size: 1.5rem;
    }

    /* FORM + MAPA */
    .formulario {
        flex-direction: column; 
        align-items: center;
        gap: 40px;
        padding: 20px;
    }

    .contato-form, .contato-map {
        width: 100%; 
        max-width: 800px;
    }

    .contato-map iframe {
        height: 400px;
    }

    /* FORMULÁRIO  */
    .contato-form input, .contato-form textarea {
        font-size: 1rem;
    }

    /* MAP */
    .map-info {
        font-size: 1rem;
        text-align: center;
    }
}

/*768px*/
@media (max-width: 768px) {

    /* CONTAINER PRINCIPAL */
    .formulario {
        margin: 40px auto;
        max-width: 600px;
        width: 100%;
    }

    /* FORMULÁRIO */
    .contato-form {
        padding: 30px 25px;
    }

    .contato-form h1 {
        font-size: 28px;
        text-align: center;
    }

    /* WHATSAPP FLOAT */
    .whatsapp-float {
        width: 48px;
        height: 48px;
    }
}

/*480px*/
@media (max-width: 480px) {

    .formulario {
        box-sizing: border-box !important;
    }
}