/* === VARIÁVEIS DE COR === */
:root {
    --marrom-principal: linear-gradient(135deg, #955b27, #b8a99a);
    --marrom-footer: linear-gradient(135deg, #4e331c, #b8a99a);
    --marrom-hover: #7D5A50;
    --bege-claro: #F5F0EC;
    --texto-marrom: #3D2C23;
}

/* === BASE === */
body {
    overflow-x: hidden;
}
p {
    font-size: 18px;
}
p.small {
    font-size: 16px;
}
a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: var(--marrom-hover);
}
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
}

/* === WATS=== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #968270;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
  filter: invert(100%) sepia(10%) saturate(300%) hue-rotate(10deg); /* deixa o ícone branco */
}


/* === WATS === */
/* === HR ESTILIZADO === */
hr.star-light,
hr.star-primary {
    padding: 0;
    border: 0;
    border-top: solid 3px;
    text-align: center;
}
hr.star-light:after,
hr.star-primary:after {
    content: "\f121";
    display: inline-block;
    position: relative;
    top: -0.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}
hr.star-light {
    border-color: #a6a1a1;
}
hr.star-light:after {
    color: #fff;
    background-color: var(--marrom-principal);
}
hr.star-primary {
    border-color: var(--marrom-principal);
}
hr.star-primary:after {
    color: var(--marrom-principal);
    background-color: #fff;
}

/* === HEADER === */
header {
    text-align: center;
    color: #564949;
    background: url('../img/background.png') no-repeat center center;
    background-size: cover;
    padding: 100px;
}

header .container {
    padding-top: 100px;
    padding-bottom: 50px;
}
header .intro-text .name {
    font-size: 2em;
    font-weight: 700;
}
header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}

/* === TEXTO / SOBRE === */
.texto {
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 10px;
    padding: 10px 20px;
    text-align: justify;
    margin-bottom: 15px;
    font-size: 16px;
    background-color: #fff;
    color: var(--texto-marrom);
}

/* === TITULAÇÃO DAS SEÇÕES === */
#about h2, #portfolio h2, #contact h2, header .name {
    font-size: 26px;
}

/* === LOGO === */
.logo {
    width: 120px;
    height: 90px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    border-radius: 50px;
}
.logo:hover {
    box-shadow: 0px 10px 15px rgba(250, 249, 249, 0.3);
}

/* === NAVBAR === */
.navbar {
    text-transform: uppercase;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
}
.navbar-default {
    background: var(--marrom-principal) !important;
    border: 0;
}
.navbar-default .navbar-nav > li > a {
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}
.navbar-default .navbar-nav > li > a:hover {
    color: var(--marrom-hover) !important;
    border-radius: 40px;
    box-shadow: 0px 10px 15px rgba(245, 236, 236, 0.979);
}

/* === SECTIONS === */
section {
    padding: 100px 0;
}
section h2 {
    margin: 0;
    font-size: 3em;
}
section.success {
    color: #fff;
    background: var(--marrom-principal);
}
section.success a {
    color: #fff;
}
@media(max-width:767px) {
    section {
        padding: 75px 0;
    }
    section.first {
        padding-top: 75px;
    }
}

/* === FORM CONTATO === */
#contactForm > div {
    border: none !important;
}
#contactForm .form-group {
    margin-bottom: 20px;
  }
  
/*************************************************************************/
/* Feedback visual dos inputs */
.was-validated input:invalid,
.was-validated textarea:invalid {
  border-color: #e74c3c;
}

.was-validated input:valid,
.was-validated textarea:valid {
  border-color: #2ecc71;
}

  
  .invalid-feedback {
    display: none;
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 4px;
  }
  
  /* Animação suave */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s ease forwards;
  }
  .fade-in:nth-child(2) { animation-delay: 0.1s; }
  .fade-in:nth-child(3) { animation-delay: 0.2s; }
  .fade-in:nth-child(4) { animation-delay: 0.3s; }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
/*************************************************************************/


.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0.5em;
    border: none !important;
    border-radius: 10px;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: none;
    box-shadow: none !important;
    resize: none;
}
.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.76em;
    opacity: 0;
    transition: top 0.3s ease, opacity 0.3s ease;
}
.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}
.floating-label-form-group-with-focus label {
    color: var(--marrom-hover);
}
#contactForm button {
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
}
#contactForm button:hover {
    color: #fff !important;
    border-radius: 40px;
    box-shadow: 0px 10px 15px rgba(10, 10, 10, 0.979);
}

/* === BUTTONS === */
.btn-success {
    background-color: var(--marrom-hover) !important;
    border-color: var(--marrom-hover) !important;
}
.btn-outline {
    margin-top: 15px;
    border: 2px solid #fff;
    font-size: 20px;
    color: #fff;
    background: none;
    transition: all .3s ease-in-out;
}
.btn-outline:hover {
    border-color: #fff;
    color: var(--marrom-hover);
    background: #fff;
}

/* === FOOTER === */
footer {
    color: #fff;
}
footer h3 {
    margin-bottom: 30px;
}
footer .footer-above {
    padding-top: 50px;
    background-color: var(--marrom-principal);
}
footer .footer-below {
    padding: 25px 0;
    background: var(--marrom-footer);
}
.footer-below a {
    color: #C5C5C5 !important;
}

/* === SOCIAL === */
.btn-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
}

/* === PORTFÓLIO === */
#portfolio .portfolio-item {
    margin: 0 0 15px;
}
#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 400px;
}
#portfolio .portfolio-item .portfolio-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(161, 134, 111, 0.85);
    transition: all ease 0.5s;
}
#portfolio .portfolio-item .portfolio-link .caption:hover {
    opacity: 0.7;
}
#portfolio .portfolio-item .portfolio-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}
@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

/* === SCROLL TOP === */
.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}
.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 28px;
}

/* === MODAL === */
.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    text-align: center;
    background-clip: border-box;
    box-shadow: none;
}
.portfolio-modal .modal-content h2 {
    margin: 0;
    font-size: 3em;
}
.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}
.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}
.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}
.portfolio-modal .close-modal .lr {
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: var(--marrom-principal);
    transform: rotate(45deg);
}
.portfolio-modal .close-modal .lr .rl {
    width: 1px;
    height: 75px;
    background-color: var(--marrom-principal);
    transform: rotate(90deg);
}
.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}
