/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --light: #f7f9fc;
    --dark: #333;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--light);
    color: var(--dark);
    padding-top: 80px;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Imagens */
img,
iframe,
video {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Foco acessibilidade */
:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

/* Fonts Montserrat para logo */
.logo-typography {
    font-family: 'Montserrat', sans-serif;
}

/* Estilo Geral do Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 90px;
}

.logo-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #0a2e38;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  background-color: #0d3a48;
}

.logo-container:active {
  transform: scale(0.98);
}

.logo-container img {
  width: 80px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-container:hover img {
  transform: rotate(5deg) scale(1.1);
}

/* Navegação Principal */
.nav-list {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-link {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Botão CTA */
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 86, 76, 0.3);
    margin-right: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 86, 76, 0.4);
}

/* Menu Hamburguer Moderno */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Header Scroll Effect */
.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Cores modernas - Gradiente atualizado */
:root {
  --primary: #0a2e38;    /* Azul petróleo escuro */
  --secondary: #4fc3a1;  /* Turquesa vibrante */
  --accent: #ff7e5f;     /* Coral para destaques */
}

.hero-section {
  background: linear-gradient(135deg, 
    var(--primary) 0%, 
    var(--secondary) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

/* Efeito de profundidade com pseudo-elementos */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 70% 30%, 
    rgba(255, 255, 255, 0.1) 0%, 
    transparent 50%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 80%;
  height: 80%;
  background: rgba(79, 195, 161, 0.05);
  transform: rotate(45deg);
  border-radius: 30px;
}

/* Container do conteúdo */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  text-align: center;
  padding: 2rem;
  backdrop-filter: blur(2px);
}

/* Tipografia moderna */
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.9;
}

/* Estatísticas redesenhadas */
.hero-stats {
  display: inline-flex;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 1.5rem;
  border-radius: 16px;
  min-width: 150px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
  display: block;
}

/* Botões modernos */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.primary-btn {
  background: var(--accent);
  color: #0a2e38;
  box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 126, 95, 0.5);
}

.secondary-btn {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
}

/* Efeito de partículas sutil (opcional) */
.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Scroll Indicator - Apenas para desktop */
@media (min-width: 1025px) {
  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    animation: bounce 2s infinite;
  }

  .mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    margin-top: 5px;
    position: relative;
  }

  .wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
  }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 5px;
    }
    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Seções */
section {
    padding: 60px 20px;
    margin: 30px 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    scroll-margin-top: 100px;
}

section:hover {
    transform: scale(1.02);
}

section.visible {
    opacity: 1;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 25px;
}

/* Seção de Serviços */
#servicos {
    background: white;
    padding: 80px 20px;
    text-align: center;
    margin: 50px auto;
    max-width: 1200px;
}

#servicos h2 {
    font-size: 2.6rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    margin-bottom: 40px;
}

#servicos h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    border-radius: 2px;
}

.servicos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

.servico {
    background-color: #ecf0f1;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
    max-width: 350px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.servico:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    background-color: white;
}

.servico h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: bold;
}

.servico p {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.servico i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Animação delay para serviços */
.servico:nth-child(1) { animation-delay: 0.2s; }
.servico:nth-child(2) { animation-delay: 0.4s; }
.servico:nth-child(3) { animation-delay: 0.6s; }

/* Responsividade Serviços */
@media (max-width: 768px) {
    #servicos h2 {
        font-size: 2.2rem;
    }
    .servicos-container {
        grid-template-columns: 1fr;
    }
    .servico {
        padding: 25px;
    }
    .servico h3 {
        font-size: 1.6rem;
    }
    .servico p {
        font-size: 1rem;
    }
}

/* Indicador Mobile */
.mobile-indicator {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: none;
}

@media (max-width: 768px) {
    .mobile-indicator {
        display: block;
    }
}

/* Estilo Minimalista para Contato */
.contact-minimal {
    padding: 2rem 1rem;
    background: #f8fafc;
    text-align: center;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    display: block !important;
    opacity: 1 !important;
    font-size: 1.1rem !important;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.contact-card:active {
    transform: scale(0.98);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.contact-card:hover .card-icon {
    transform: rotate(10deg) scale(1.1);
}

.phone .card-icon {
    background: #3b82f6;
}

.email .card-icon {
    background: var(--primary);
}

.instagram .card-icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.card-content p {
    color: #1e293b;
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.phone .card-link {
    background: #eff6ff;
    color: #3b82f6;
}

.email .card-link {
    background: #f0fdf4;
    color: var(--primary);
}

.instagram .card-link {
    background: #fff1f2;
    color: #e11d48;
}

.contact-card:hover .card-link {
    transform: scale(1.05);
}

/* Responsividade contato */
@media (max-width: 600px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* Seção Sobre */
.about-section {
    position: relative;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.about-header {
    position: relative;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
    isolation: isolate;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title span {
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    color: #ffffff;
}

/* Timeline Moderna */
.about-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Cards Missão, Visão e Valores */
.mvw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.mvw-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition);
}

.mvw-card:focus-within,
.mvw-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.5rem;
}

.card-content {
    padding: 1.5rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.values-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.values-list span {
    font-weight: 600;
    color: var(--primary);
}

/* Seção Equipe */
.team-section {
    margin-top: 4rem;
    text-align: center;
}

.team-section h3 {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Botões modernos */
button,
.btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    border: none;
    color: white;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

/* Slider */
.slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    background-size: cover;
    background-position: center;
}

/* Ícones personalizados para serviços */
.servico:nth-child(1) i {
    /* Caça Vazamento */
    content: "\f773";
}

.servico:nth-child(3) i {
    /* Elétrica */
    content: "\f0e7";
}

/* Preferências para usuários que reduzem animações */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsivo geral */

@media (max-width: 992px) {
    .cta-button {
        padding: 8px 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    /* Header Content ajuste */
    .header-content {
        padding: 0 10px;
    }

    /* Hero Section ajustes */
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 15px;
        flex-direction: column;
    }

    .stat-item {
        padding: 15px;
        min-width: 120px;
        width: 100%;
        max-width: 200px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    /* Video oculto no mobile */
    .hero-video {
        display: none;
    }

    /* Fallback imagem hero */
    .hero-section {
        background: url('./src/img/img.jpg') center/cover no-repeat;
    }

    /* Navegação responsiva */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .hamburger {
        background: transparent;
    }

    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    /* Footer responsivo */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links a {
        margin: 0 0.75rem;
    }

    /* Contato cards para mobile */
    .contact-cards {
        grid-template-columns: 1fr;
    }

    /* Hero títulos menores */
    .hero h2 {
        font-size: 2.5rem;
    }

    /* Ajustes gerais para servicos e galeria */
    .galeria {
        flex-direction: column;
        gap: 20px;
    }

    #contato form {
        padding: 20px;
    }
}

/* Responsivo muito pequeno */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .nav-btn {
        width: 30px;
        height: 30px;
    }

}

/* Scroll Indicator Animações */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h2,
h3,
p {
    animation: slideUp 1s ease-out forwards;
}

/* Parallax */
.featured-project {
    position: relative;
    animation: pulse 2s infinite;
}

.parallax-project {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 139, 87, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 139, 87, 0);
    }
}

/* ESTILOS DO FOOTER SIMPLIFICADO */
.footer-simplificado {
      background: linear-gradient(135deg, 
    var(--primary) 0%, 
    var(--secondary) 100%);
    color: #e0f2f1;
    padding: 3rem 1rem 1.5rem;
    font-size: 0.95rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a5d8c5;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Elementos animados */
.animated-element {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .servico {
        padding: 20px !important;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .stat-item {
        padding: 10px 15px !important;
        min-width: 120px !important;
    }
    
    .cta-btn {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    
}

/* Ajustes para telas menores que 400px */
@media (max-width: 400px) {
  .hero-section {
    min-height: 80vh; /* Ajusta a altura mínima */
    padding: 20px 15px; /* Aumenta o padding lateral */
  }

  .hero-title {
    font-size: 1.8rem !important; /* Reduz ainda mais o tamanho do título */
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem !important; /* Reduz o subtítulo */
    margin-bottom: 1.5rem;
  }

  .hero-stats {
    flex-direction: column; /* Empilha os itens de estatística */
    gap: 10px;
    margin: 1.5rem 0;
  }

  .stat-item {
    width: 100%;
    max-width: none;
    padding: 12px 15px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.95rem;
    justify-content: center;
  }

  .scroll-indicator {
    bottom: 15px;
    font-size: 0.7rem;
  }

  .mouse {
    width: 20px;
    height: 30px;
  }
}

/* Ajustes adicionais para telas muito pequenas (menos de 350px) */
@media (max-width: 350px) {
  .hero-title {
    font-size: 1.6rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  .stat-item {
    padding: 10px 12px;
  }

  .stat-number {
    font-size: 1.3rem;
  }
}

/* Adicione esta media query específica para mobile */
@media (max-width: 768px) {
    .hero-section {
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
        /* Opcional: pode adicionar um overlay escuro para melhor legibilidade */
        position: relative;
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3); /* Overlay escuro */
        z-index: 0;
    }
    
    .hero-content {
        position: relative;
        z-index: 1;
    }
}

/* Ajustes específicos para iPhone XR e similares */
@media only screen 
  and (device-width: 414px) 
  and (device-height: 896px) 
  and (-webkit-device-pixel-ratio: 2) {
    
    .hero-section {
      min-height: 90vh;
      padding-top: 60px;
    }
    
    .hero-title {
      font-size: 2.2rem !important;
      margin-bottom: 1rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem !important;
      max-width: 90%;
      margin: 0 auto 2rem;
    }
    
    .hero-stats {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin: 2rem 0;
    }
    
    .stat-item {
      min-width: 150px;
      padding: 15px;
    }
    
    .hero-cta {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .cta-btn {
      min-width: 180px;
    }
    
    .scroll-indicator {
      bottom: 30px;
    }
}

/* Ajustes para quando a orientação for landscape */
@media only screen 
  and (device-width: 414px) 
  and (device-height: 896px) 
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: landscape) {
    
    .hero-section {
      min-height: 100vh;
    }
    
    .hero-content {
      padding-top: 40px;
    }
    
    .hero-title {
      font-size: 1.8rem !important;
    }
    
    .hero-stats {
      display: none; /* Pode remover se quiser manter */
    }
}

/* Remove scroll indicator em todos os dispositivos móveis */
@media only screen and (max-width: 1024px) and (hover: none) {
  .scroll-indicator {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 0;
  }
}

/* Ajustes para iPhones 12/13/14/15 - Todas as versões */
@media only screen and (max-device-width: 428px) {
    .hero-section {
        min-height: 90vh;
        padding: 20px 15px;
        background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        margin: 2rem 0;
    }

    .stat-item {
        width: 100%;
        max-width: 220px;
        padding: 15px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-top: 1.5rem;
    }

    .cta-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        justify-content: center;
    }
}

/* Ajustes específicos para modo paisagem */
@media only screen and (max-device-width: 428px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        max-width: 150px;
        padding: 12px;
    }
}


/* Configurações base para todos os iPhones */
@media only screen and (max-device-width: 430px) {
  .hero-section {
    min-height: 90vh;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  }

  .hero-content {
    padding-top: 10px;
  }

  .hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 1.2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1.15rem !important;
    margin-bottom: 1.8rem;
    max-width: 90%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
    margin: 2.5rem 0;
  }

  .stat-item {
    width: 100%;
    max-width: 240px;
    padding: 18px;
    margin: 0 auto;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
  }

  .cta-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
  }
}

/* Ajustes específicos para Pro Max e Plus (telas maiores) */
@media only screen and (min-device-width: 428px) and (max-device-width: 430px) {
  .hero-title {
    font-size: 2.4rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.2rem !important;
  }
  
  .stat-item {
    max-width: 260px;
  }
}

/* iPhone 12/13/14/15 Pro */
@media only screen and (max-device-width: 390px) {
  .hero-title {
    font-size: 2.1rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
}

/* iPhone Mini */
@media only screen and (max-device-width: 375px) {
  .hero-title {
    font-size: 1.9rem !important;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
  }
  
  .stat-item {
    padding: 15px;
  }
}

/* Modo paisagem para todos os modelos */
@media only screen and (max-device-width: 930px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  
  .hero-title {
    font-size: 1.9rem !important;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .stat-item {
    max-width: 160px;
    padding: 12px;
    margin: 0;
  }
  
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cta-btn {
    width: auto;
    min-width: 180px;
  }
}

/* Ajustes específicos para a hero section em mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh; /* Garante que ocupe toda a tela */
        padding: 20px 15px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        padding: 0 15px;
        margin-top: -30px; /* Compensa o espaço do header */
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.5;
        max-width: 100% !important;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
        margin: 1.5rem 0;
    }

    .stat-item {
        width: 100%;
        max-width: 220px;
        padding: 12px 15px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .cta-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none; /* Ocultar em mobile */
    }
}

/* Ajustes extras para telas muito pequenas */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .stat-item {
        padding: 10px 12px;
    }
}

@supports (padding: max(0px)) {
    .hero-section {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

.whatsapp-float {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 30px;
            box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
            z-index: 999;
            transition: all 0.3s ease;
        }

        .whatsapp-float:hover {
            transform: scale(1.1) translateY(-5px);
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
        }

        /* ===== REGRAS GERAIS ===== */
@media (max-width: 1200px) {
  .header-container,
  .hero-content,
  .servicos-container,
  .about-section,
  .contact-container,
  .footer-grid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ===== MOBILE (até 768px) ===== */
@media (max-width: 768px) {
  /* Header */
  .header-container {
    padding: 1rem;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    transition: left 0.3s ease;
    padding-top: 5rem;
    z-index: 999;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
  }

  /* Hero */
  .hero-section {
    padding-top: 5rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* Serviços */
  .servicos-container {
    grid-template-columns: 1fr;
  }

  /* Sobre */
  .mvw-grid {
    grid-template-columns: 1fr;
  }

  /* Contato */
  .contact-cards {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ===== TABLET (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .servicos-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .mvw-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== DESKTOP PEQUENO (1025px - 1200px) ===== */
@media (min-width: 1025px) and (max-width: 1200px) {
  .servicos-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== AJUSTES ESPECÍFICOS ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}

/* Adicione isto ao seu CSS existente */
.hero-cta {
  position: relative;
  z-index: 1;
}

.cta-btn {
  position: relative;
  display: inline-block;
  margin: 0.5rem;
}
