/* Css Contato */
:root {
    --primary-blue: #15194B;
    --secondary-blue: #0994B4;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.contact-section h1,
h2 {
    font-family: "Inria Sans", sans-serif;
    font-style: normal;
    text-align: left;
    font-weight: 700;
    font-size: 60px;
    color: white;
}

.contact-section h2 {
    font-size: 32px;
}

.contact-section h2 span {
    color: var(--secondary-blue);
}

.contact-section form {
    color: white;
    font-family: "Inria Sans", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 22px;
}

.blue-bg {
    position: relative;
    background-color: var(--primary-blue);
    overflow: hidden;
}

.contact-section {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.forms-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: 100%;
}

.forms-container h1 {
    margin-bottom: 20px;
}

.contact-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: clamp(300px, 80%, 1200px);
    object-fit: cover;
}

.contact-form input {
    width: 100%;
    height: 45px;
    padding: 10px;
    border-radius: 5px;
    border-width: 0;
    padding-left: 15px;
}

.contact-form input::placeholder {
    font-family: "Inria Sans", sans-serif;
    font-style: normal;
    color: black;
    font-size: 18px;
}

.contact-form textarea {
    width: 100%;
    height: 165px;
    padding: 10px;
    padding-left: 15px;
    border-radius: 5px;
}

.contact-form textarea::placeholder, .contact-form input {
    font-family: "Inria Sans", sans-serif;
    font-style: normal;
    color: black;
    font-size: 18px;
}

.contact-form button {
    cursor: pointer;
    background-color: var(--secondary-blue);
    width: 160px;
    height: 45px;
    justify-content: center;
    border: 1px solid white;
    color: white;
    border-radius: 5px;
    font-family: "Inria Sans", sans-serif;
    font-style: normal;
    font-size: 20px;
}

.contact-form {
    width: 82.5%;
}

.contact-form div {
    margin-top: 20px;
}

.contact-form .button-container {
    display: flex;
    justify-content: center;
}

.contact-form div input,
.contact-form div textarea {
    margin-top: 5px;
}

/* Transições */

.contact-form input,
.contact-form textarea,
.contact-form button {
  transition:
    box-shadow 0.3s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow:
    inset 0 0 0 2px var(--secondary-blue),
    0 4px 12px rgba(9, 148, 180, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  color: transparent;
  transform: translateY(-8px) scale(0.8);
  transform-origin: left top;
}

.contact-form button:hover {
  background-color: #0a8cae;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px) scale(1.02);
}

.contact-form button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(9, 148, 180, 0.4);
}

.contact-form button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px){
    .contact-img{
        display: none;
    }

    .blue-bg{
        background-image: url("../imgs/foto-contato-mobile.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }

    .forms-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .forms-container h1 {
        margin: 0 auto;
        text-align: left;
        align-self: flex-start;
    }

    .forms-container h1 span {
        display: block;           
        width: max-content;      
        margin: 0 auto;          
    }

    .forms-container h1 br {
        display: none;
    }

    .forms-container h2 { 
        margin-top: 10px;       
    }
}

@media (max-width: 800px ) {

    .forms-container h1 {
        font-size: 2rem;
    }

    .forms-container h2 {
        font-size: 1.5rem;
    }

    .forms-container label {
        font-size: 1.2rem;
    }

    .contact-form input::placeholder {
        font-size: 1rem;
    }

    .contact-form textarea::placeholder {
        font-size: 1rem;
    }
}

@media (min-width: 1201px) and (max-width: 1600px) { 
    .contact-section {
        max-width: 1100px;
        padding-top: 20px;
    }

    .contact-img {
        width: 70%;
    }

    .contact-section h1 {
        font-size: 45px;
    }

    .contact-section h2 {
        font-size: 24px;
    }

    .contact-form div {
        margin-top: 10px;
    }

    .contact-section form {
        font-size: 18px;
    }

    .forms-container h1 {
        margin-bottom: 5px;
    }

    .contact-form textarea {
        height: 120px;
    }
}

@media (min-width: 1601px) and (min-width: 2200px) {

    .contact-img {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 70%;
        object-fit:fill
    }

    .contact-section {
        max-width: clamp(1400px, 80vw, 2600px);;
    }

    .contact-section .forms-container h1 {
        font-size: 5rem;
    }

    .contact-section .forms-container h2 {
        font-size: 3rem;
    }

    .contact-section .forms-container input::placeholder,
    .contact-section .forms-container textarea::placeholder  {
        font-size: 2rem;
    }

    .contact-section .forms-container label {
        font-size: 2.5rem;
    }

    .contact-section .forms-container input {
        height: 75px;
    }

    .contact-section .forms-container textarea {
        height: 350px;
    }

    .contact-form button {
        width: 30%;
        height: 60px;
        font-size: 2rem;
        border: 2px solid white;
    }
}

@media (min-width: 3200px) {
    .contact-section .forms-container h1 {
        font-size: 7rem;
    }

    .contact-section .forms-container h2 {
        font-size: 5rem;
    }

    .contact-section .forms-container input::placeholder,
    .contact-section .forms-container textarea::placeholder  {
        font-size: 3rem;
    }

    .contact-section .forms-container label {
        display: block;
        font-size: 4rem;
        margin-bottom: 0rem;
    }

    .contact-section .forms-container input {
        height: 120px;
        padding: 0 0 0 1rem;
        margin: 0;
    }

    .contact-section .forms-container textarea {
        height: 450px;
        padding: 0 0 0 1rem;
        margin: 0;
    }

    .contact-form button {
        width: 30%;
        height: 90px;
        font-size: 3rem;
        border: 4px solid white;
    }

    .contact-form div {
        margin-top: 3rem;
    }
}

/* end css contato */