/* Estilos Gerais - Versão Mobile */

/* Regras adicionais para garantir responsividade em todos os dispositivos */
* {
    box-sizing: border-box;
    max-width: 100vw;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

/* Media queries para diferentes tamanhos de tela */
@media screen and (max-width: 480px) {
    body, html {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .container {
        padding: 0 10px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .product-image {
        height: 250px;
        width: 100% !important;
    }
    
    .hero-text-container h1 {
        font-size: 24px;
    }
    
    .hero-text-container h2 {
        font-size: 18px;
    }
    
    /* Forçar largura em todos os elementos */
    div, section, header, footer, nav, main, article, aside {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

img {
    max-width: 100%;
    height: auto;
}
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff6b00;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
    font-size: 14px;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

section {
    padding: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    margin-bottom: 10px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    width: 100%;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    font-size: 16px;
    color: var(--gray-color);
}

/* Header Mobile */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 10px 0;
}

.mobile-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.logo-image {
    max-height: 58px;
    width: auto;
    object-fit: contain;
    margin-left: 10%;
    animation-duration: 3s; /* Duração aumentada para 3 segundos */
    border: 1px solid rgba(0, 0, 0, 0.4); /* Borda preta transparente */
    padding: 0; /* Sem espaçamento para a borda ficar encostada */
}

@keyframes logoSlide {
    0% {
        transform: translateX(45.5%);
        opacity: 0; /* Começa completamente transparente */
    }
    100% {
        transform: translateX(0);
        opacity: 1; /* Termina com opacidade máxima */
    }
}

.logo-slide {
    animation: logoSlide 1.5s ease-out forwards;
}

.mobile-menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-nav {
    background-color: white;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.show {
    max-height: 300px;
}

.mobile-nav ul {
    list-style: none;
    padding: 0 15px;
}

.mobile-nav ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    display: block;
}

.mobile-nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 400px;
    background-image: url('../../images/eInt.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 60px;
    padding-top: 0;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* Removido o gradiente azul para mostrar a imagem original */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    margin-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-container {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    padding: 15px 10px;
    margin-bottom: 20px;
    width: 80%;
    max-width: 80%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow: hidden;
}

.hero-content h1,
.hero-content h2,
.hero-content p {
    margin-bottom: 10px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: center;
}

.hero-title span {
    display: block;
    width: 100%;
    text-align: center;
}

.hero-title .accessibility {
    font-size: 18px;
    letter-spacing: -0.5px;
    word-break: break-word;
    max-width: 100%;
    display: inline-block;
}

.hero-content h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 90%;
}

/* Serviços */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    color: #25D366;
    transition: var(--transition);
    margin-top: 10px;
    font-size: 1.1em; /* Aumento de 10% no tamanho da fonte */
    text-align: center;
    width: 100%;
}

.whatsapp-link:hover {
    color: #20ba5a;
    transform: translateY(-2px);
}

.product-whatsapp {
    margin-top: auto;
    padding-top: 15px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

/* Produtos */
.products {
    background-color: white;
}

.products-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.product-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    width: 100%;
    box-sizing: border-box;
}

.product-image {
    height: 300px; /* Aumentado para acomodar imagens na vertical */
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2/3; /* Proporção para imagens verticais (600x900) */
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* Por que escolher a Engelev */
.why-choose-us {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* Sobre Nós */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 86, 179, 0.05);
    border-radius: var(--border-radius);
}

.stat-item h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 12px;
    color: var(--gray-color);
}

/* Depoimentos */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 15px;
    position: relative;
}

.testimonial-content .rating {
    margin-bottom: 10px;
    color: #FFD700; /* Cor dourada para as estrelas */
    font-size: 16px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 0;
}

.author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 12px;
}

/* Contato */
.contact {
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.contact-item p {
    margin-bottom: 0;
    font-size: 14px;
}

.contact-item p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--accent-color);
}

.contact-image {
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    height: auto;
    box-shadow: none;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    max-height: 346px; /* Aumentado em mais 20% */
    transform: scale(1.2); /* Escala adicional de 20% */
}

.contact-form {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

/* Mapa */
.map {
    padding: 0;
}

/* Rodapé */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-social h3 {
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
}

 .social-icons a i {
    line-height: 1;
    transform: translateY(5px) !important;
    display: inline-block;
 }

 .social-icons a i::before {
    transform: translateY(5px) !important;
    display: inline-block;
 }

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.desktop-version {
    color: #ccc;
    text-decoration: underline;
    font-size: 12px;
}

.desktop-version:hover {
    color: white;
}

/* Botão do WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: white;
}

.whatsapp-float i {
    margin-top: 0;
    transform: translateY(4px) !important;
    display: inline-block;
}
