/* Importação das fontes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Classes para cada fonte */
.montserrat { font-family: 'Montserrat', sans-serif; }
.playfair { font-family: 'Playfair Display', serif; }
.roboto { font-family: 'Roboto', sans-serif; }
.lora { font-family: 'Lora', serif; }
.raleway { font-family: 'Raleway', sans-serif; }

/* ------------------------------------------------------------------------*/

/* Responsive Guidelines */

/* XS < 576px */
/* Responsive Screen - EXTRA SMALL */
/* @media (max-width: 576px) {} */

/* SM ≥ 576px */
/* Responsive Screen - EXTRA SMALL */
/* @media (min-width: 576px) {} */

/* MD ≥ 768px */
/* Responsive Screen - MEDIUM */
/* @media (min-width: 768px) {} */

/* LG ≥ 992px */
/* Responsive Screen - LARGE */
/* @media (min-width: 992px) {} */

/* XS ≥ 576px */
/* Responsive Screen - EXTRA SMALL */
/* @media (min-width: 576px) {} */

/* XL ≥ 1200px */
/* Responsive Screen - EXTRA LARGE */
/* @media (min-width: 1200px) {} */

/* XXL ≥ 1400px */
/* Responsive Screen - DOUBLE EXTRA LARGE */
/* @media (min-width: 1400px) {} */

/* ------------------------------------------------------------------------*/

/* GERAL */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

a {
    text-decoration: none;
}

.is-style-text-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.hide { display: none; }

/* Padding */
.p-0  { padding: 0 !important; }
.p-1  { padding: 4px !important; }
.p-2  { padding: 8px !important; }
.p-3  { padding: 16px !important; }
.p-4  { padding: 24px !important; }
.p-5  { padding: 32px !important; }

/* Padding vertical */
.py-0 { padding-top: 0px !important; padding-bottom: 0px !important; }
.py-1 { padding-top: 4px !important; padding-bottom: 4px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }
.py-5 { padding-top: 32px !important; padding-bottom: 32px !important; }

/* Padding horizontal */
.px-0 { padding-left: 0px !important; padding-right: 0px !important; }
.px-1 { padding-left: 4px !important; padding-right: 4px !important; }
.px-2 { padding-left: 8px !important; padding-right: 8px !important; }
.px-3 { padding-left: 16px !important; padding-right: 16px !important; }
.px-4 { padding-left: 24px !important; padding-right: 24px !important; }
.px-5 { padding-left: 32px !important; padding-right: 32px !important; }

/* Padding individual */
.pt-0 { padding-top: 0px !important; }
.pb-0 { padding-bottom: 0px !important; }
.pl-0 { padding-left: 0px !important; }
.pr-0 { padding-right: 0px !important; }

.pt-1 { padding-top: 4px !important; }
.pb-1 { padding-bottom: 4px !important; }
.pl-1 { padding-left: 4px !important; }
.pr-1 { padding-right: 4px !important; }

.pt-2 { padding-top: 8px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pl-2 { padding-left: 8px !important; }
.pr-2 { padding-right: 8px !important; }

.pt-3 { padding-top: 16px !important; }
.pb-3 { padding-bottom: 16px !important; }
.pl-3 { padding-left: 16px !important; }
.pr-3 { padding-right: 16px !important; }

.pt-4 { padding-top: 24px !important; }
.pb-4 { padding-bottom: 24px !important; }
.pl-4 { padding-left: 24px !important; }
.pr-4 { padding-right: 24px !important; }

.pt-5 { padding-top: 32px !important; }
.pb-5 { padding-bottom: 32px !important; }
.pl-5 { padding-left: 32px !important; }
.pr-5 { padding-right: 32px !important; }

/* Margin */
.m-0  { margin: 0 !important; }
.m-1  { margin: 4px !important; }
.m-2  { margin: 8px !important; }
.m-3  { margin: 16px !important; }
.m-4  { margin: 24px !important; }
.m-5  { margin: 32px !important; }

.my-0 { margin-top: 0px !important; margin-bottom: 0px !important; }
.my-1 { margin-top: 4px !important; margin-bottom: 4px !important; }
.my-2 { margin-top: 8px !important; margin-bottom: 8px !important; }
.my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.my-4 { margin-top: 24px !important; margin-bottom: 24px !important; }
.my-5 { margin-top: 32px !important; margin-bottom: 32px !important; }

.mx-0 { margin-left: 0px !important; margin-right: 0px !important; }
.mx-1 { margin-left: 4px !important; margin-right: 4px !important; }
.mx-2 { margin-left: 8px !important; margin-right: 8px !important; }
.mx-3 { margin-left: 16px !important; margin-right: 16px !important; }
.mx-4 { margin-left: 24px !important; margin-right: 24px !important; }
.mx-5 { margin-left: 32px !important; margin-right: 32px !important; }

.mt-0 { margin-top: 0px !important; }
.mb-0 { margin-bottom: 0px !important; }
.ml-0 { margin-left: 0px !important; }
.mr-0 { margin-right: 0px !important; }

.mt-1 { margin-top: 4px !important; }
.mb-1 { margin-bottom: 4px !important; }
.ml-1 { margin-left: 4px !important; }
.mr-1 { margin-right: 4px !important; }

.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }
.ml-2 { margin-left: 8px !important; }
.mr-2 { margin-right: 8px !important; }

.mt-3 { margin-top: 16px !important; }
.mb-3 { margin-bottom: 16px !important; }
.ml-3 { margin-left: 16px !important; }
.mr-3 { margin-right: 16px !important; }

.mt-4 { margin-top: 24px !important; }
.mb-4 { margin-bottom: 24px !important; }
.ml-4 { margin-left: 24px !important; }
.mr-4 { margin-right: 24px !important; }

.mt-5 { margin-top: 32px !important; }
.mb-5 { margin-bottom: 32px !important; }
.ml-5 { margin-left: 32px !important; }
.mr-5 { margin-right: 32px !important; }

.mt-6 { margin-top: 48px !important; }
.mb-6 { margin-bottom: 48px !important; }
.ml-6 { margin-left: 48px !important; }
.mr-6 { margin-right: 48px !important; }

.mt-7 { margin-top: 64px !important; }
.mb-7 { margin-bottom: 64px !important; }
.ml-7 { margin-left: 64px !important; }
.mr-7 { margin-right: 64px !important; }

.w-full { width: 100% !important; }
/* Botões */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-filled {
    background-color: #c41e3a;
    color: #fff;
    border: none;
}

.btn-filled:hover {
    background-color: #9b1c2e;
}

.btn-elevated {
    background-color: #c41e3a;
    color: #fff;
    box-shadow: 0 4px 8px #00000033;
    border: none;
}

.btn-elevated:hover {
    background-color: #9b1c2e;
}

.btn-outlined {
    background-color: transparent;
    color: #c41e3a;
    border: 2px solid #c41e3a;
}

.btn-outlined:hover {
    background-color: #c41e3a;
    color: #fff;
}

.btn-text {
    background-color: transparent;
    color: #2a0000;
    border: none;
}

.btn-text:hover {
    color: #c41e3a;
}

.btn-tonal {
    background-color: #f3d6d6;
    color: #2a0000;
    border: none;
}

.btn-tonal:hover {
    background-color: #eac2c2;
}

.btn-icon {
    background-color: transparent;
    color: #c41e3a;
    border: none;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
}

.btn-icon:hover {
    background-color: #f0f0f0;
}

.btn-fab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c41e3a;
    text-decoration: none;
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 12px;
    font-weight: 500;
}

.btn-fab:hover {
    background-color: #9b1c2e;
}


/* Green */
.btn-green-filled {
    background-color: #4ac05f;
    color: #fff;
    border: none;
}

.btn-green-filled:hover {
    background-color: #57ab7a;
}

.btn-green-outlined {
    background-color: transparent;
    color: #4ac05f;
    border: 2px solid #4ac05f;
}

.btn-green-outlined:hover {
    background-color: #4ac05f;
    color: #fff;
}

/* White */
.btn-white-filled {
    background-color: #ffffff;
    color: #e0e0e0;
    border: none;
}

.btn-white-filled:hover {
    background-color: #e2e2e2;
}

.btn-white-outlined {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-white-outlined:hover {
    background-color: #ffffff;
    color: #000;
}

/* Navbar container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    background: linear-gradient(to right, #f5f5f5, #eaeaea);
    box-shadow: 0 2px 4px #0000000D;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .btn-text {
    padding-top: 32px;
    padding-bottom: 32px;
}

/* Navbar minimalista quando rolar */
.navbar.minimalist {
    background: #FFFFFFF2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px #0000001A;
}

.navbar.minimalist .logo-img {
    height: 25px;
}

.navbar.minimalist .btn {
    padding: 8px 16px;
    font-size: 14px;
}

.navbar.minimalist .btn-text {
    padding-top: 24px;
    padding-bottom: 24px;
}


/* Logo */
.logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

.logo span {
    font-weight: normal;
    margin-left: 4px;
    color: #c41e3a;
}

/* Menu */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    gap: 16px;
}

/* Mega Menu Styles */
.menu-item {
    position: relative;
}

.over-menu {
    display: flex;
}

.over-menu.float {
    position: fixed;
    top: 50px; /* Altura da navbar normal */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 8px 16px #0000001A;
    display: none;
    z-index: 999;
    overflow: hidden;
}

/* Ajustar top quando a navbar está minimalista */
.navbar.minimalist + main .over-menu {
    top: 54px; /* Altura aumentada da navbar minimalista */
}

.menu-item:hover .over-menu {
    display: flex;
}

.over-menu-left {
    width: 25%;
    background-color: #f8f8f8;
    padding: 20px 0;
    border-right: 1px solid #eee;
}

.over-menu-right {
    width: 75%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.over-menu-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    display: flex;
    gap: 16px;
    align-items: center;
}

.over-menu-item:hover {
    background-color: #f0f0f0;
    border-left-color: #c41e3a;
}

.over-menu-item.active {
    background-color: #fff;
    border-left-color: #c41e3a;
}

.over-menu-item h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.dashicons {
    font-size: 25px !important;
    height: 25px !important;
    color: #c41e3a;
  
    display: inline-block;
}




/* Conteúdo dinâmico do lado direito - versão enxuta */
.over-menu-content {
    display: none;
    animation: fadeIn 0.5s ease;
    max-width: 800px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.over-menu-content.active {
    display: block;
}

.over-menu-content h2 {
    color: #c41e3a;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 400;
}

.over-menu-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.over-menu-cta {
    margin-top: 20px;
}

/* Dropdown do Contato */
.contato-dropdown {
    position: relative;
}

.contato-dropdown-content {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: #c41e3a;
    min-width: 320px;
    box-shadow: 0 8px 16px #00000033;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    display: none;
    z-index: 1001;
}

.contato-dropdown:hover .contato-dropdown-content {
    display: block;
}

.contato-dropdown-content h3 {
    color: #fff;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.contato-form .form-group {
    margin-bottom: 15px;
}

.contato-form label {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
}

.contato-form input,
.contato-form select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.contato-form button {
    width: 100%;
    margin-top: 10px;
}

/* hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 120px 64px;
    background-image: linear-gradient(to left, #00000099, #0000004D),
                        url('https://redcon.com.br/wp-content/uploads/2023/10/banners-redcon-trabalho-moderno.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 80vh;
    text-align: right;
    overflow: hidden;
    position: relative;
    margin-top: 70px; /* Altura da navbar */
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translate(700px, -50%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    max-width: 600px;
    text-align: right;
}

.hero-content.is-visible {
    transform: translate(0, -50%);
    opacity: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #c41e3a;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #9b1c2e;
}

/* excelencia */
.highlight-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 60px 0;
    flex-wrap: wrap;
    font-family: 'Montserrat';
}

.lado-esquerdo {
    text-align: right;
    font-size: 45px;
    font-weight: 400;
    color: #999;
    min-width: 200px;
    letter-spacing: 0.3px;
    line-height: 100%;
}

.divisor {
    font-size: 32px;
    color: #c41e3a;
}

.lado-direito {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    min-width: 220px;
    text-transform: uppercase;
}

/* carrossel */
.carrossel {
    overflow: hidden;
    width: 100%;
    background-color: #f9f9f9;
    padding: 100px 0;
}

.carrossel-track {
    display: flex;
    gap: 140px;
    animation: scroll 15s linear infinite;
}

.carrossel-track img {
    max-height: 80px;
    filter: grayscale(100%) brightness(0.9);
    transition: filter 0.3s ease;
}

.carrossel-track img:hover {
    filter: none;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Serviços */        
.solucoes-corporativas {
    padding: 80px 40px;
    font-family: 'Inter', sans-serif;
    color: #2a0000;
    background-color: #f9f9f9;
}

.solucoes-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #c41e3a;
    margin-bottom: 8px;
}

.solucoes-header p {
    font-size: 18px;
    color: #666;
    margin-bottom: 48px;
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.card-servico {
    border: 2px solid #c41e3a;
    border-radius: 12px;
    padding: 24px;
    background-color: transparent;
    transition: all 0.3s ease;
    text-align: left;
    color: #2a0000;
}

.card-servico:hover {
    background-color: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

.card-servico:hover svg {
    color: #fff;
}

.card-icon {
    margin-bottom: 16px;
    color: #c41e3a;
    transition: color 0.3s ease;
}

.card-servico h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-servico p {
    font-size: 14px;
    line-height: 1.5;
}

/* Timeline */
.timeline-section {
    padding: 100px 20px;
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #f8f8f8;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-container h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 80px;
    color: #333;
    letter-spacing: -1px;
}

.timeline-items {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-items::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #c41e3a;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 55%; /* Aumentado o afastamento do centro */
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 55%; /* Aumentado o afastamento do centro */
}

/* Ícone da timeline - fundo sólido */
.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c41e3a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 6px #f8f8f8;
    font-size: 20px;
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 380px;
    width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px #0000001A;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px #00000026;
    border-color: #c41e3a;
}

.timeline-content h3 {
    font-size: 32px;
    font-weight: 600;
    color: #c41e3a;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Seção de Exemplos */
.exemplos-section {
    padding: 80px 40px;
    background-color: #fff;
}

.exemplos-container {
    max-width: 1400px;
    margin: 0 auto;
}

.exemplos-header {
    text-align: center;
    margin-bottom: 60px;
}

.exemplos-header h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.exemplos-header p {
    font-size: 18px;
    color: #666;
}

.exemplos-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.exemplo-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px #0000000D;
    transition: all 0.3s ease;
    min-width: 350px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

.exemplo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px #0000001A;
}

.exemplo-card h3 {
    font-size: 24px;
    color: #c41e3a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Exemplo de Fontes */
.font-exemplo {
    margin-bottom: 15px;
}

.font-exemplo h4 {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.font-exemplo p {
    font-size: 18px;
    margin: 0;
    line-height: 1.5;
}

/* Exemplo de Botões */
.botoes-exemplo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

/* Rodapé */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 31px;
    margin-bottom: 20px;
    color: #f9f9f9;
    position: relative;
    padding-bottom: 10px;
    font-weight: 400;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #c41e3a;
}

.footer-column p, .footer-column a {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #c41e3a;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-map {
    grid-column: span 2;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #c41e3a;
    color: #fff;
    transform: translateY(-3px);
}

.footer-legal {
    border-top: 1px solid #333;
    margin-top: 20px;
    padding-top: 20px;
}

.footer-logo {
    text-align: center;
    padding: 40px 0;
}

.footer-logo img {
    width: 800px;
    max-width: 100%;
    height: auto;
    opacity: .3;
}

.footer-bottom {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom, .footer-bottom a {
    background-color: #0d0d0d;
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    color: #999;
    font-size: 14px;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: #c41e3a;
    /* font-style: italic; */
}

/* Chat Flutuante */
.chat-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 25px #00000033;
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(calc(100% - 60px));
}

.chat-whatsapp.expanded {
    transform: translateY(20px);
}

.chat-header {
    background-color: #4ac05f;
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.chat-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header i {
    font-size: 24px;
}

.chat-toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    /* max-height: 400px;
    overflow-y: auto; */
    background-color: #e5ddd578;
}

/* TODO: provisório */
.chat-form input,
.chat-form textarea {
    width: 92% !important;
}

.chat-form .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.chat-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.chat-form input,
.chat-form textarea {
    /* width: 100%; */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.chat-form textarea {
    resize: none;
    height: 80px;
}

.chat-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.chat-buttons .btn {
    flex: 1;
    padding: 10px;
    font-size: 14px;
}

/* Aviso de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-text a {
    color: #c41e3a;
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Testimonials */
.testimonials-section {
    padding: 50px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px #0000001A;
}

.carousel-container {
    /* TODO: 90% */
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: carousel-move 30s linear infinite;
}

@keyframes carousel-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 300px;
    max-width: 350px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 0 10px;
    box-shadow: 0 2px 4px #0000000D;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background-color: #4285f4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 15px;
}

.stars {
    color: #fbbc04;
    font-size: 1em;
    margin-top: 5px;
}

.testimonial-content {
    height: 100%;
}

.testimonial-content p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

.testimonial-footer {
    margin-top: 15px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
    font-size: 0.9em;
}

.testimonial-company {
    font-size: 0.8em;
    color: #777;
}

/* STATS */
.stats-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; /* Permite que os itens quebrem a linha em telas menores */
    max-width: 1200px;
    margin: 0 auto;
}

.stats-item {
    text-align: center;
    margin: 20px; /* Adiciona espaçamento entre os blocos */
}

.stat-number {
    font-size: 5rem; /* Número grande e destacado */
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #c0c0c0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos para a seção de blog */
.blog-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 15px;
}

.blog-category-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #000;
}

.blog-category-btn:hover {
    background-color: #f0f0f0;
}

.blog-category-btn.active {
    background-color: #c41e3a;
    color: white;
    border-color: #c41e3a;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px #0000000D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px #0000001A;
}

.small-blog-post {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px #0000000D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: min-content;
}

.small-blog-post-image {
    height: 150px;
    padding: 30px 20px;
    text-shadow: #000;
    background-size: cover;

    position: relative;
}

.small-blog-post-image h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;

    position: absolute;
    bottom: 0;
    margin-right: 20px
}

.small-blog-post-image .category {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid #fff;
    padding: 4px 10px;
    border-radius: 50px;
}

.small-blog-post-image h3,
.small-blog-post-image .category,
.small-blog-post-image .date  {
    color: #fff;
}

.blog-post-image {
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 25px;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-post-category {
    color: #c41e3a;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.blog-post-date {
    color: #666;
}

.blog-post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #333;
}

.blog-post-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.blog-post-link {
    color: #c41e3a;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.blog-post-link:hover {
    transform: translateX(5px);
}

.blog-post-link i {
    margin-left: 5px;
    font-size: 14px;
}

.blog-pagination {
    text-align: center;
}

/* md ≤ 768px */
/* Responsive Screen - MEDIUM */
@media (max-width: 768px) {
    /* .hero {
        padding: 90px 20px;
        justify-content: center;
        text-align: center;
    } */

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;

        background-color: #fff;
        width: 100%;

    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .over-menu {
        display: contents !important;
    }

    .over-menu-content h2 {
        font-size: 28px;
        text-align: center;
    }

    .timeline-content h3 {
        font-size: 24px;
    }


    .menu-item {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    /* Stats */
    .stats-container {
        flex-direction: column;
    }

    .stat-number {
        font-size: 4rem;
    }

    /* Timeline */
    .timeline-items::before {
        left: 20px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }

    .timeline-icon {
        left: 20px;
        transform: translateX(-50%);
        box-shadow: 0 0 0 4px #f8f8f8;
    }

    .timeline-content {
        margin-left: 50px;
    }
    
    .over-menu-left,
    .over-menu-right {
        width: 100%;
    }
    
    .over-menu-right {
        padding: 20px;
        display: none;
    }
    
    .over-menu {
        flex-direction: column;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .exemplos-grid {
        flex-direction: column;
    }

    .exemplo-card {
        min-width: auto;
    }

    /* .footer-map {
        grid-column: span 1;
    } */

    .chat-whatsapp {
        width: 280px;
        right: 10px;
    }

    .cookie-banner {
        flex-direction: column;
        padding: 15px;
    }

    .cookie-text {
        margin-bottom: 15px;
    }

    .cookie-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    /* Blog */
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    /* .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    } */
    
    .blog-categories::-webkit-scrollbar {
        height: 5px;
    }
    
    .blog-categories::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .blog-categories::-webkit-scrollbar-thumb {
        background: #c41e3a;
        border-radius: 10px;
    }

    .footer-map {
        grid-column: span 1;
    }

    /* HIGHLIGHT LINE */
    .highlight-line {
        margin-top: 0;
        margin-left: 20px;
        margin-right: 20px;
        gap: 0;
    }

    .highlight-line .lado-esquerdo {
        text-align: center;
        margin-bottom: 0;
        margin-top: 0;
    }

    .highlight-line .lado-direito {
        text-align: center;
    }

    .highlight-line .divisor {
        display: none;
    }

    /* .footer-logo {
        text-align: center;
        padding: 40px 0;
    }

    .footer-logo img {
        max-width: 800px;
        height: auto;
        opacity: .3;
    } */
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
