/* VARIÁVEIS GLOBAIS E RESET */
:root {
	--primary-color: #FF6B00;
    --primary-color-rgb: 255, 107, 0; /* Adicionado para efeitos de sombra */
	--secondary-color: #333;
	--dark-bg-color: #1a1a1a;
	--light-bg-color: #f8f8f8;
	--white-color: #ffffff;
	--text-color: #555;
	--heading-color: #222;
	--blue-highlight-color: #3b82f6;
	--font-primary: 'Montserrat', sans-serif;
	--font-secondary: 'Open Sans', sans-serif;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-secondary);
	line-height: 1.6;
	color: var(--text-color);
	background: var(--white-color);
}
.container {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}
section {
    padding: 5rem 0;
    overflow: hidden; /* Evita barras de rolagem por causa das animações */
}

/* ESTILOS DE TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	color: var(--heading-color);
	margin-bottom: 1rem;
}
h1 {
	font-size: 2.8rem;
	line-height: 1.2;
}
h2 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
    text-align: center;
}
h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
}
p {
	margin-bottom: 1rem;
}
a {
	color: var(--primary-color);
	text-decoration: none;
}

/* ANIMAÇÕES GLOBAIS */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ESTILOS DE BOTÕES */
.btn {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	border-radius: 5px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 0.9rem;
	border: none;
	cursor: pointer;
}
.btn-primary {
	background: var(--primary-color);
	color: var(--white-color);
	text-transform: none;
}
.btn-primary:hover {
	background: #dd5e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--primary-color-rgb), 0.3);
	text-decoration: none;
}
.btn-outline {
	background: transparent;
	color: var(--white-color);
	border: 1px solid var(--white-color); /* Borda fina */
    padding: 0.6rem 1.2rem; /* Mais fino verticalmente */
    border-radius: 50px; /* Cantos bem arredondados */
    font-weight: 500;
    text-transform: none;
    font-size: 0.9rem;
    display: inline-flex; /* Alinhar o texto e o ícone */
    align-items: center;
    gap: 0.5rem; /* Espaço entre o texto e a seta */
}

.btn-outline:hover {
	background: var(--white-color);
	color: var(--dark-bg-color);
	text-decoration: none;
}

/* Animação sutil para a seta */
.btn-outline i {
    transition: transform 0.3s ease;
}

.btn-outline:hover i {
    transform: translateX(3px);
}
.btn-tertiary {
	background: transparent;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}
.btn-tertiary:hover {
	background: var(--primary-color);
	color: var(--white-color);
	text-decoration: none;
}

/* CABEÇALHO (HEADER) */
@keyframes slideDown {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}
header {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	padding: 1rem 0;
	transition: all 0.4s ease;
}
header.header-sticky {
	position: fixed;
	padding: 0.5rem 0;
	background: rgba(30, 30, 30, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	animation: slideDown 0.5s ease-in-out forwards;
}
header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header .logo img {
	height: 40px;
	transition: height 0.3s ease;
}
header.header-sticky .logo img {
	height: 35px;
}
header .main-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
}
header .main-nav ul li { margin: 0 1rem; }
header .main-nav ul li a {
	color: var(--white-color);
	font-weight: 500;
	font-size: 0.9rem;
	padding: 0.5rem 0;
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}
header .main-nav ul li a::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 0; height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}
header .main-nav ul li a:hover::after { width: 100%; }
.main-nav .dropdown { position: relative; }
.main-nav .fa-chevron-down { font-size: 0.7rem; transition: transform 0.3s ease; }
.main-nav .dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.main-nav .dropdown .dropdown-menu {
	display: none;
	position: absolute;
	left: 0; top: 100%;
	background-color: var(--white-color);
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.15);
	min-width: 220px;
	list-style: none;
	padding: 0.5rem 0;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
}
.main-nav .dropdown:hover .dropdown-menu {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.main-nav .dropdown-menu li { margin: 0; width: 100%; }
.main-nav .dropdown-menu li a {
	color: var(--text-color) !important;
	padding: 0.8rem 1.5rem;
}
.main-nav .dropdown-menu li a::after { display: none; }
.main-nav .dropdown-menu li a:hover {
	background-color: var(--light-bg-color);
	color: var(--primary-color) !important;
}
.header-cta { margin-left: 2rem; }
header .hamburger-menu { display: none; font-size: 1.8rem; cursor: pointer; color: var(--white-color); }

/* SEÇÃO HERO */
.hero-section {
	background-color: var(--dark-bg-color);
	color: var(--white-color);
	padding: 12rem 0 8rem 0;
	position: relative;
	display: flex;
	align-items: center;
	background-image: url('img/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hero-section::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(10, 10, 10, 0.5);
	z-index: 0;
}
.hero-section .container {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}
.hero-content-left { flex: 1; max-width: 50%; }
.hero-partner-logo img { max-width: 150px; margin-bottom: 2rem; }
.hero-section h1 {
	color: var(--white-color);
	font-size: 2.3rem;
	line-height: 1.3;
    text-align: left;
}
.hero-section h1 .highlight-blue { color: var(--blue-highlight-color); }
.hero-section h1 .highlight-orange { color: var(--primary-color); }
.hero-content-left > p {
	font-size: 1.1rem;
	margin-bottom: 2rem;
	color: #ccc;
}
.hero-content-right { flex: 1; max-width: 40%; margin-top: 6rem; }
.hero-text-box {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 2rem;
	border-radius: 8px;
}

/* SEÇÃO NÚMEROS E DIFERENCIAIS */
.numbers-features-section {
    background-color: var(--white-color);
}

/* Novo layout de 2 colunas */
.features-split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

/* Coluna da Esquerda (Imagem) */
.features-image-col {
    flex-basis: 45%; /* A imagem ocupa 45% da largura */
}
.features-image-col img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Coluna da Direita (Conteúdo) */
.features-content-col {
    flex-basis: 55%; /* O conteúdo ocupa 55% */
}

/* Barra de números */
.numbers-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    background-color: #e0d9d9; /* Cor um pouco mais visível */
    padding: 1.5rem 1rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
}
.number-item h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.number-item p {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

/* Grid de diferenciais agora com 2 colunas */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* FORÇA 2 COLUNAS */
    gap: 1.5rem;
}

.feature-item {
    background: var(--white-color);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: left; /* Alinha o texto do card à esquerda */
    border: 1px solid #eeeeee;
    transition: all 0.3s ease-in-out;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

/* Estilo para os ícones */
.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #fff7f0;
    border-radius: 50%;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.feature-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}


/* Responsividade para o layout dividido (VERSÃO MOBILE HARMONIOSA) */
@media (max-width: 992px) {
    .features-split-layout {
        flex-direction: column; /* Empilha as colunas */
    }

    /* Esconde a imagem grande em telas menores */
    .features-image-col {
        display: none;
    }

    /* Garante que a coluna de conteúdo ocupe todo o espaço */
    .features-content-col {
        flex-basis: 100%;
    }

    /* Ajusta a barra de números para o mobile */
    .numbers-grid {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    /* MUITO IMPORTANTE: Organiza os cards em 2 colunas no mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Ajustes finos nos cards para caberem melhor */
    .feature-item {
        padding: 1.5rem;
        text-align: center; /* Centraliza o conteúdo do card no mobile */
    }
    .feature-item i {
        margin-left: auto;
        margin-right: auto;
    }
    .feature-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    /* Em telas bem pequenas, se preferir, pode voltar para 1 coluna */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* SEÇÃO DE SERVIÇOS - ESTILO INTERATIVO */
.services-section-interactive {
    background-color: var(--white-color); /* Alterado para branco, conforme imagem */
    padding: 8rem 0;
}

.interactive-services-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Coluna da Esquerda (Texto) */
.service-text-content {
    flex-basis: 50%;
    z-index: 5;
    text-align: center; /* Centraliza todo o conteúdo de texto */
}
.service-text-content h2 {
    font-size: 2.5rem;
    color: #666; /* Cor mais suave para o título fixo */
    text-transform: uppercase;
}

/* Estilos para o H3 e P dinâmicos */
#service-title { /* Esta é a regra do H3 */
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem; /* REDUZIDO */
    min-height: 50px; /* REDUZIDO */
    line-height: 1.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-bottom: 1rem; /* REDUZIDO */
}

#service-description { /* Esta é a regra do Parágrafo */
    font-size: 1.1rem;
    min-height: 60px; /* REDUZIDO */
    margin-bottom: 2rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animação de fade-out para H3 e P */
#service-title.fade-out, #service-description.fade-out {
    opacity: 0;
    transform: translateY(10px);
}


/* Coluna da Direita (Ícones) */
.service-icon-selectors {
    flex-basis: 50%;
    position: relative; 
    height: 450px;
}

.service-icon {
    width: 85px;
    height: 85px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 2px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: absolute;
}
.service-icon img {
    max-width: 55%;
    height: auto;
}
.service-icon:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.15);
}
.service-icon.active {
    transform: scale(1.15);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.2);
}

/* POSIÇÕES PARA O ARCO "(" PERFEITO E SUAVE */
.service-icon:nth-child(1) { top: 0%;   left: 70%; }
.service-icon:nth-child(2) { top: 15%;  left: 50%; }
.service-icon:nth-child(3) { top: 35%;  left: 40%; }
.service-icon:nth-child(4) { top: 60%;  left: 40%; }
.service-icon:nth-child(5) { top: 80%;  left: 50%; }
.service-icon:nth-child(6) { top: 95%;  left: 70%; }


/* SEÇÃO SOBRE (MISSÃO) */
.about-section { background: var(--dark-bg-color); color: #ccc; }
.about-section h2, .about-section h3 { color: var(--white-color); text-align: center; }
.about-section h3 { font-weight: 400; font-size: 1.2rem; margin-top: -1rem; }
.about-section > .container > p { text-align: center; font-size: 1.2rem; margin: 2rem 0; }
.mission-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.mv-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
}
.mv-item h4 { color: var(--primary-color); }

/* SEÇÃO CTA SECUNDÁRIA */
.secondary-cta-section {
    background-color: transparent;
    padding: 2rem 0;
}

.cta-container {
    background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3e%3cpath d='M0,70 C20,40 40,100 60,70 S80,40 100,70 V100 H0 Z' fill='rgba(255,255,255,0.08)'%3e%3c/path%3e%3c/svg%3e");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    
    padding: 3rem 4rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.3);

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-text h2 {
    color: var(--white-color); /* Título volta a ser branco */
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.cta-text p {
    color: #000; /* Subtítulo volta a ser preto */
    font-weight: 600;
    margin: 0;
    font-size: 1rem;
}

.btn-cta-white {
    /* Estilos completos para o botão reaparecer */
    background: var(--white-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-cta-white i {
    transition: transform 0.3s ease;
}

.btn-cta-white:hover i {
    transform: translateX(5px);
}

/* Responsividade para a seção CTA */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }
    .cta-text h2 {
        text-align: center;
    }
}

/* SEÇÃO CASES (DEPOIMENTOS) */
.cases-outer-container {
    background-color: var(--dark-bg-color); /* Fundo preto */
    padding: 5rem 0; /* Espaçamento interno */
    margin: 4rem auto; /* Margens superior/inferior e centralização automática */
    max-width: 1200px; /* Largura máxima do bloco preto */
    border-radius: 15px; /* Cantos arredondados */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* Sombra suave para destacar */
}
.cases-section .container {
    max-width: 960px; /* Largura interna para o conteúdo */
    margin: 0 auto; /* Centraliza o conteúdo dentro do bloco preto */
    padding: 0 1.5rem; /* Padding lateral para o conteúdo */
}
.section-header-dark {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.section-header-dark .header-accent {
    width: 10px;
    height: 25px;
    background-color: var(--primary-color);
    position: relative;
}
.section-header-dark .header-accent::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -15px;
    width: 10px;
    height: 15px;
    background-color: var(--primary-color);
}
.section-header-dark h2 {
    color: var(--white-color);
    text-align: left;
    font-size: 2rem;
    margin: 0;
}
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Espaço entre os cards */
}
.testimonial-card {
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 2rem;
    transition: background-color 0.3s ease;
}
.testimonial-card:hover {
    background-color: #333;
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}
.testimonial-author-info h4 {
    color: var(--white-color);
    font-size: 1.1rem;
    margin: 0;
}
.testimonial-author-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}
.testimonial-body p {
    color: #ccc;
    line-height: 1.7;
    margin: 0;
}

/* SEÇÃO DE CONTATO */
.contact-section { 
    background-color: var(--light-bg-color); 
}
.contact-header-content { 
    margin-bottom: 3rem; 
    text-align: center; 
}
.contact-header-content h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}
.contact-header-content h2::after {
    content: '';
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px; 
    height: 3px;
    background-color: var(--primary-color);
}
.contact-header-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
}
.contact-main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.contact-image { 
    flex: 1; 
    max-width: 500px; 
}
.contact-image img { 
    max-width: 100%; 
}
.contact-form-wrapper {
    flex: 1;
    max-width: 500px;
    text-align: left;
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.contact-form .form-group { 
    margin-bottom: 1.5rem; 
}
.contact-form label { 
    display: block; 
    margin-bottom: 0.6rem; 
    font-weight: 600; 
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
    outline: none;
}
.contact-form button.btn-primary { 
    width: 100%; 
    padding: 1rem; 
}

/* RODAPÉ (FOOTER) */
footer {
    background: #111;
    color: #ccc;
    padding: 4rem 0 2rem 0;
    text-align: left;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-col .footer-logo { height: 35px; margin-bottom: 1rem; }
.footer-col h4 {
    font-family: var(--font-primary);
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 40px; height: 2px;
    background-color: var(--primary-color);
}
.footer-col p { color: #a0a0a0; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #a0a0a0; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-col p i { color: var(--primary-color); margin-right: 10px; width: 20px; text-align: center; }
.social-links { margin-top: 1.5rem; }
.social-links a {
    display: inline-block;
    height: 40px; width: 40px;
    line-height: 40px; text-align: center;
    border-radius: 50%;
    background: #333; color: var(--white-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p, .footer-bottom a { font-size: 0.9rem; color: #a0a0a0; }
.footer-bottom a:hover { color: var(--white-color); }

/* ESTILOS DO BOTÃO FLUTUANTE DO WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* Cor oficial do WhatsApp */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    margin-top: 16px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.3);
}

/* ESTILOS DO POP-UP DE SUCESSO */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--white-color);
    padding: 2.5rem 3rem;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-content h2 {
    color: var(--heading-color);
    font-size: 1.8rem;
    margin-top: 1.5rem;
}

.popup-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Animação do ícone de check (V) */
.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}
.popup-icon-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.popup-icon-checkmark {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #7ac142;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}


/* ESTILOS RESPONSIVOS */

/* TABLET (e telas menores) */
@media (max-width: 992px) {
    .mission-values-grid {
        grid-template-columns: 1fr;
    }
    .contact-main-content {
        flex-direction: column;
    }
    .contact-image {
        max-width: 60%;
        margin-bottom: 2rem;
    }
    .interactive-services-container {
        flex-direction: column;
        gap: 3rem;
    }
    .service-text-content { 
        text-align: center;
        order: 1; /* TÍTULO VEM PRIMEIRO */
    }
    .service-icon-selectors {
        order: 2; /* BOLHAS VÊM DEPOIS */
    }
    .service-text-content h2,
    .service-text-content h3 {
        text-align: center;
    }
    .service-text-content h3, .service-text-content p {
        min-height: initial;
    }
    .service-icon-selectors {
        position: static;
        height: auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .service-icon {
        position: static;
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
}

/* MOBILE (e telas menores) */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    /* Header e Menu Mobile */
header .main-nav, header .header-cta { 
    display: none; 
}
header .hamburger-menu { 
    display: block; 
}

header .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background: rgba(30, 30, 30, 0.9); /* Um pouco mais de opacidade */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding: 0; /* Removido padding daqui para colocar nos links */
}

header .main-nav.active {
    max-height: 100vh;
    padding-bottom: 1rem; /* Um respiro no final */
}

header .main-nav ul { 
    flex-direction: column; 
    width: 100%; 
    align-items: center; 
}
header .main-nav ul li { 
    margin: 0; 
    width: 100%; 
    text-align: center; 
}

/* Estilo principal dos links no menu */
header .main-nav ul li a {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 1rem 0; /* Aumenta o espaçamento vertical */
    font-size: 1.1rem; /* Aumenta o tamanho da fonte */
    font-weight: 600;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Separador sutil */
    transition: background-color 0.2s ease;
}

/* Remove a borda do último item */
header .main-nav ul li:last-child a {
    border-bottom: none;
}

/* Efeito de toque */
header .main-nav ul li a:active {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Estilos para o Submenu Dropdown no Mobile */
header .main-nav .dropdown .dropdown-menu {
    position: static; /* ESSENCIAL: Impede que o menu flutue sobre os outros */
    list-style: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0.5rem 0 0 0;
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

/* Mostra o submenu quando a classe .open é adicionada */
header .main-nav .dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
}

/* Estilo dos links dentro do submenu */
header .main-nav .dropdown-menu li a {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    color: #ccc;
    border-bottom: none;
}
header .main-nav .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
}

/* Gira a seta para baixo quando o menu está aberto */
header .main-nav .dropdown.open > a .fa-chevron-down {
    transform: rotate(180deg);
}

    /* Seções Específicas */
    .hero-section .container { flex-direction: column; text-align: center; }
    .hero-section h1 { text-align: center; }
    .hero-content-left, .hero-content-right { max-width: 100%; margin-top: 2rem; }
    .numbers-grid { flex-direction: column; }
    .features-grid, .services-grid, .testimonials-grid { grid-template-columns: 1fr; }

    /* Rodapé */
    .footer-grid { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* MOBILE PEQUENO */
@media (max-width: 576px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .service-icon {
        width: 80px;
        height: 80px;
    }
}
