@font-face {
  font-family: "Athiti";
  src: url("../fonts/Athiti-ExtraLight.woff") format("woff");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Athiti";
  src: url("../fonts/Athiti-Light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Athiti";
  src: url("../fonts/Athiti-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Athiti";
  src: url("../fonts/Athiti-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Athiti";
  src: url("../fonts/Athiti-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Athiti";
  src: url("../fonts/Athiti-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: "Athiti", sans-serif;
    background-size: cover;
        background: #0F4963;
}

.grecaptcha-badge { 
    visibility: hidden; 
}

.warning-stating {
    color: rgb(197, 72, 72);
    text-align: center;
    font-style: italic;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1099px;
    margin: 0 auto;
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .container {
        max-width: 895px
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 669px
    }
}




/* FORMULÁRIO MENSAGENS*/ 
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.field-error {
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.field-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.field-error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-message,
.field-error-message {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #0c5460;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .form-message {
        padding: 12px;
        font-size: 0.9rem;
    }

    .title-secondary {
        font-size: 24px !important;
    }

    .button-link {
        width: 70%;
        font-size: 16px;
    }
    
    .field-error-message {
        font-size: 0.8rem;
    }
}


/* ANIMAÇÕES */
.animeStart {
    animation: reveal 1000ms 0ms 1 both;
}

@keyframes reveal {
    0% {
        transform: translate3d(0px, -20px, 0px);
    }
    
    100% {
        transform: none;
    }
}

[data-anime] .toOpacity {
  opacity: 0;
  transition: opacity 0.8s ease;    
}

[data-anime].animation .toOpacity {
  opacity: 1;   
}

[data-anime] .toLeft,
[data-anime] .toRight,
[data-anime] .toTop,
[data-anime] .flip {
  opacity: 0;
  transform: translateX(0) translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-anime] .toLeft {
  transform: translateX(-100px);
}

[data-anime] .toRight {
  transform: translateX(100px);
}

[data-anime] .toTop {
  transform: translateY(100px);
}

[data-anime].animation .toLeft,
[data-anime].animation .toRight,
[data-anime].animation .toTop,
[data-anime].animation .flip {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ── Footer ── */
footer {
    position: relative;
    padding: clamp(30px, 5vw, 60px);
}

footer a {
    color: #fff;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.75;
}

footer a:focus {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

footer .footer-bottom {
    margin: 0 auto;
}

@media (max-width: 767px) {
    footer .footer-bottom {
        max-width: 300px !important;
        text-align: center !important;
    }
    footer a {
        font-size: 0.75rem !important
    }
    .contato .container {
        height: auto;
    }
}


/* arrow scroll */
.arrow-scroll {
    width: 62px;
    height: 62px;
    cursor: pointer;
    position: fixed;
	right: 14px;
    bottom: 140px;;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.arrow-scroll.show {
    opacity: 1;
    visibility: visible;
}

.arrow-scroll::after {
    content: '';
    background: url(../images/arrow-scroll.svg) no-repeat;
    width: 62px;
    height: 62px;
    background-size: 62px;   
    display: block;
    transition: all .5s ease;
}

.arrow-scroll:hover::after {
    content: '';
    background: url(../images/arrow-scroll-hover.svg) no-repeat;
    width: 62px;
    height: 62px;
    background-size: 62px;   
    display: block;
}
