/*
Theme Name: R2 Midia
Theme URI: https://r2midia.com.br
Author: Alk Comunicação
Author URI: https://r2midia.com.br
Description: Midia OOH
Requires at least: 6.1
Tested up to: 6.6
Requires PHP: 8.0
Version: 1.0
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root{
    --mainColor: #111111;
    --corSecundaria: #ed3237;
    --white: #FFFFFF;
    --sombras: #474647;
    --lighter: #07003b;
    --brighterGreen: #FAECED;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Roboto", serif;
}

html, body{
    font-family: "Roboto", serif;
    scroll-behavior: smooth;
}

.clear{
    clear: both;
}

nav{
    width: 100%;
    padding: 30px 0;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    
}

.container{
    width: 85%;
    margin: 0 auto;
    text-align: center;
}

.nav-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
   
}

.nav-wrapper img{
    width: 120px;
    height: auto;
}

.nav-wrapper a{
    cursor: pointer;
}

.menu-desktop ul,
.social-media ul{
    list-style-type: none;
}

.menu-desktop ul li,
.social-media ul li{
    display: inline-block;
    margin: 0 10px;
    font-size: 1.2rem;
}

.menu-desktop a{
    text-decoration: none;
    cursor: pointer;
    color: var(--mainColor);
    transition: all 0.3s ease;
}

.menu-desktop a::after,
.social-media a::after{
    color: var(--corSecundaria);
}

.menu-desktop a:hover,
.social-media a:hover{
    color: var(--corSecundaria);
}


header{
    width: 100%;
    height: 70vh;
    background-image:url(img/banner.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;

}

.whats-icon {
    position: fixed;
    bottom: 5%;
    right: 5%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 999; /* fica acima de outros elementos */
    animation: pulse 2s infinite; /* loop */
    transition: transform 0.3s ease;
}

.whats-icon img {
    width: 80px;
    height: auto;
    
}

/* Animação de pulsar */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Quando o mouse passa, cresce mais */
.whats-icon:hover {
    transform: scale(1.2);
}

section.redline{
    background-color: var(--corSecundaria);
    padding: 5px 0;
}

.chamada1{
    width: 50%;
    text-align: left;
}

.chamada1 h1{
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 25px;
}

.chamada1 p{
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.orcamento{
    display: inline-block;
    background-color: var(--corSecundaria);
    color: var(--white);
    border: none;
    padding: 20px 30px;
    font-size: 1.2rem;
    border-radius: 35px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-top: 25px;
}

.orcamento:hover {
    transform: scale(1.1);
}

.orcamento:active {
    background-color: var(--corDestaque); /* ou qualquer cor que deseje para o clique */
    transform: scale(0.95);
}

section.produtos{
    background-color: var(--white);
    padding: 100px 0; 
 
}

section.produtos h3{
    color: var(--mainColor);
    font-size: 2rem;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}

.produtos-wrapper{
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
   
}

.w-25{
    width: 23%;
    background-color: var(--brighterGreen);
    padding: 40px 15px;
    border-radius: 30px;
    margin: 0 5px;
    min-height: 435px;
    display: flex;
    flex-direction: column;
   
    
}

.text-produtos{
    width: 90%;
    text-align: left;
    margin: 0 auto;
    flex: 1;
    padding: 20px;
}

.text-produtos i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--corSecundaria);
}

.text-produtos h2{
    font-size: 2rem;
    margin-bottom: 10px;

}

.text-produtos p{
    color: var(--sombras);
    font-size: 1.2rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.saiba{
    background-color:none;
    color: var(--mainColor);
    border-radius: 30px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.saiba:hover{
    color: var(--corSecundaria);
}

.saiba::after {
    content: '';
    position: absolute; 
    left: 0; 
    bottom: 0; 
    width: 0;
    height: 2px; 
    background-color: #ed3237; 
    transition: width 0.3s ease; /
}

.saiba:hover::after {
    width: 100%; 
}

.chamada{
    width: 100%;
    margin: 0 auto;
    background-color: var(--mainColor);
    padding: 50px 0;
 
}

.chamada-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.chamada-wrapper h3{
    color: var(--white);
    font-size: 2rem;
    max-width: 70%;
    font-weight: 300;
}

.chamada-button{
     display: inline-block;
    background-color: var(--corSecundaria);
    color: var(--white);
    border: none;
    padding: 20px 30px;
    font-size: 1.2rem;
    border-radius: 35px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;

}

.chamada-button:hover {
    transform: scale(1.1);
}

.chamada-button:active {
    background-color: var(--corDestaque); /* ou qualquer cor que deseje para o clique */
    transform: scale(0.95);
}

section.portfolio{
    width: 100%;
    padding: 50px 0;
    margin: 0 auto;
    background-color: var(--corSecundaria);
}



footer{
    width: 100%;
    padding: 80px 0;
    margin: 0 auto;
    background-color: var(--mainColor);
}


.footer-wrapper{
     width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  flex-wrap: wrap;
}

.footer-wrapper img{
    
    width: 200px;
    margin-bottom: 20px;
}

.mapa,
.footer-social{
    
    color: var(--white);
}

.mapa h3,
.footer-social h3,
.empresa h3{
    margin-bottom: 25px;
}

.mapa ul,
.footer-social ul{
    list-style-type: none;
     padding: 0;
}

.mapa ul li{
    line-height: 30px;
}

.footer-social ul li{
    display: inline-block;
    font-size: 2rem;
    margin: 0 10px;
}

.mapa a,
.footer-social a{

    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mapa a:hover,
.footer-social a:hover{

   color: var(--corSecundaria);
}  

.empresa{
    color: var(--white);
    width: 25%;
    text-align: justify;
}

.empresa p{
    line-height: 25px;
}

button.cta{
    background-color: var(--corSecundaria);
    padding: 20px 30px;
    color: var(--white);
    border-radius: 35px;
    margin-top: 25px;
    border: none;
    font-size: 1rem;
}

.copy{
    background-color: var(--white);
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
    color: var(--corSecundaria);
}

.copy h4{
    font-weight: 300;
}

section.form-area{
    width: 100%;
    padding: 70px 0;
    background-color: var(--white);
}

.form-wrapper{
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.w-50{
    width: 48%;
    gap: 15px;
    text-align: right;
}

.w-50 p{
    font-size: 1.2rem;
    text-align: right;
    margin-bottom: 20px;
    color: var(--sombras);
}

.wpcf7-form p{
    text-align: left!important;
    margin: 10px 0;
}

.w-50 h3{
    font-size: 2.5rem;
    color: var(--corSecundaria);
    max-width: 60%;
    text-align: right;
    margin: 0 auto;
    float: right;
}

/* Estilo geral do formulário */
.wpcf7-form {
    width: 100%!important;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

/* Container para cada campo */
.wpcf7-form .input-group {
    position: relative;
    margin-bottom: 20px;
}

/* Estilo dos inputs e textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    margin-top: 10px;
}

/* Estilo do placeholder (simulando label) */
.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form textarea::placeholder {
    color: transparent; /* Esconde o placeholder padrão */
}

/* Labels simulados */
.wpcf7-form .input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none; /* Impede que o label interfira no clique */
}

/* Quando o input está em foco ou preenchido, o label sobe */
.wpcf7-form input[type="text"]:focus + label,
.wpcf7-form input[type="text"]:not(:placeholder-shown) + label,
.wpcf7-form input[type="email"]:focus + label,
.wpcf7-form input[type="email"]:not(:placeholder-shown) + label,
.wpcf7-form textarea:focus + label,
.wpcf7-form textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: #007bff;
    background: #fff;
    padding: 0 5px;
}

/* Estilo do botão */
.wpcf7-form input[type="submit"] {
    
    padding: 20px 25px;
    background-color: var(--corSecundaria);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

/* Efeito ao passar o mouse no botão */
.wpcf7-form input[type="submit"]:hover {
    background-color: #0056b3;
}


section.parallax-form{
    width: 100%;
    padding: 120px 0;
    background-image:url(img/parallax.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
}

section.parallax-form h1{
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    font-size: 3rem;
    max-width: 80%;

}


/* ============ MODAL ============ */
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.modal-container.active {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
}

.fechar-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background: #e74c3c;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    transition: transform 0.2s;
}

.fechar-modal:hover {
    transform: scale(1.1);
}

.modal-imagem {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-texto {
    margin-top: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
    padding: 0 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/*media queries*/

@media screen and (max-width: 1596px){

    .w-25{
    width: 48%;
    min-height: initial;
        
}

}


@media screen and (max-width: 1386px) {
    .menu-desktop,
    .social-media{
        display: none;
    }

   .nav-wrapper{
    display: initial;
    margin: 0 auto;
   }
   
}


@media screen and (max-width: 1192px){

    .w-25{
    width: 90%;
    min-height: initial;   
    
}
}

@media screen and (max-width: 1122px) {
  .chamada1{
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

  
}

@media screen and (max-width: 960px) {
.w-50{
    width: 90%;
    margin: 0 auto;
}

.w-50 p{
    
    text-align: center;
   
}

.w-50 h3{
    
    text-align: center;
    max-width: initial;
    width: 90%;
    margin: 0 auto;
    float: none;  
  
}

.chamada-wrapper h3{
   
    max-width: initial;
    width: 90%;
    text-align: center;
    margin-bottom: 25px;
}

.chamada-button{
    background-color: var(--corSecundaria);
    color: var(--white);
    border: none;
    padding: 20px 30px;
    font-size: 1.2rem;
    border-radius: 35px;

}
}


@media screen and (min-width: 1209px) {
  .footer-wrapper {
    flex-direction: row;
    text-align: left;
  }
}

/* Entre 1209px e 768px - ajusta espaçamento e centraliza a quarta coluna */
@media screen and (max-width: 1209px) and (min-width: 768px) {
  .footer-wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
  }
  
  .footer-social {
    flex-basis: 100%;
    margin-top: 40px;
    text-align: center;
  }
}

/* Abaixo de 767px (mobile) - tudo empilhado em 1 coluna centralizada */
@media screen and (max-width: 767px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-wrapper img {
    margin-bottom: 20px;
  }

  .mapa,
  .empresa,
  .footer-social {
    width: 90%;
    margin-bottom: 30px;
    max-width: 500px; /* Limita largura para não ficar muito estreito */
  }

  .footer-social ul li {
    margin: 0 5px;
  }

  /* Ajusta tamanho mínimo de texto para não ficar minúsculo */
  .footer-wrapper p,
  .footer-wrapper li,
  .footer-wrapper a {
    font-size: 1rem;
    line-height: 1.5;
  }
}

    
