/* ==========================================================================
   CAOMBO GEST — CSS Principal
   ========================================================================== */

:root {
  /* Cores Principais */
  --azul-marinho:   #1B2E5E;   /* Cor principal — texto e headers */
  --azul-medio:     #2B4A9C;   /* Botões, destaques, links */
  --azul-claro:     #4DA8DA;   /* Acentos, ícones, bordas */
  --azul-agua:      #A8D8EA;   /* Backgrounds leves, cards */
  --branco:         #FFFFFF;   /* Background principal */
  --cinza-claro:    #F4F7FB;   /* Sections alternadas */
  --cinza-texto:    #4A5568;   /* Texto secundário */
  --cinza-escuro:   #2D3748;
  
  /* Gradientes & Sombras */
  --gradiente-hero: linear-gradient(135deg, #1B2E5E 0%, #2B4A9C 50%, #4DA8DA 100%);
  --sombra-card:    0 4px 24px rgba(27,46,94,0.08);
  --sombra-card-hover: 0 12px 40px rgba(27,46,94,0.16);
  --sombra-navbar:  0 4px 20px rgba(0,0,0,0.15);
  
  /* Tipografia */
  --font-display:   'Montserrat', sans-serif;
  --font-body:      'Open Sans', sans-serif;
  
  /* Transições */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--cinza-texto);
  background: var(--branco);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--azul-marinho);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: var(--azul-medio); transition: var(--transition-fast); }
a:hover { color: var(--azul-marinho); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section-alt { background: var(--cinza-claro); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--azul-claro);
  border-radius: 2px;
}
.section-title p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--cinza-texto);
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  gap: 10px;
}

.btn-primary {
  background: var(--azul-medio);
  color: var(--branco);
  box-shadow: 0 4px 15px rgba(43,74,156,0.3);
}
.btn-primary:hover {
  background: var(--azul-marinho);
  color: var(--branco);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,46,94,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--branco);
  border: 2px solid var(--branco);
}
.btn-outline:hover {
  background: var(--branco);
  color: var(--azul-marinho);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--azul-medio);
  border: 2px solid var(--azul-medio);
}
.btn-outline-primary:hover {
  background: var(--azul-medio);
  color: var(--branco);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: var(--branco);
  box-shadow: var(--sombra-navbar);
  transition: all var(--transition-normal);
  padding: 1rem 0;
}
.navbar.scrolled,
.navbar.solid {
  background: var(--branco);
  box-shadow: var(--sombra-navbar);
  padding: 1rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-logo {
  height: 50px;
  transition: all var(--transition-normal);
}
.navbar.scrolled .navbar-logo { height: 40px; }

.navbar-brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--azul-marinho);
  letter-spacing: 1px;
}
.brand-name { color: var(--azul-marinho); }
.brand-suffix { color: var(--azul-claro); }

.navbar-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}
.navbar-links a {
  color: var(--azul-marinho);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.navbar-links a:not(.btn-nav-cta):hover,
.navbar-links a:not(.btn-nav-cta).active {
  color: var(--azul-medio);
}
.navbar-links a:not(.btn-nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; width: 0; height: 2px;
  background: var(--azul-claro);
  transition: width var(--transition-fast);
}
.navbar-links a:not(.btn-nav-cta):hover::after,
.navbar-links a:not(.btn-nav-cta).active::after {
  width: 100%;
}

.btn-nav-cta {
  background: var(--azul-claro);
  color: var(--azul-marinho) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: all var(--transition-fast);
}
.btn-nav-cta:hover {
  background: var(--branco);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 25px; height: 3px;
  background: var(--azul-marinho);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--azul-marinho);
}

.slider-container {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  color: var(--branco);
  z-index: 3;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  transition-delay: 0.3s;
  opacity: 0;
}

.slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--branco);
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex; gap: 20px;
}

/* Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.slider-btn:hover { background: var(--azul-claro); }
.slider-btn.prev { left: 30px; }
.slider-btn.next { right: 30px; }

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 10;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dot.active { background: var(--azul-claro); width: 30px; border-radius: 10px; }

/* Onda no fundo */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
}
.hero-wave svg {
  display: block; width: 100%; height: 100px;
}

/* ==========================================================================
   ESTATÍSTICAS
   ========================================================================== */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.stat-card {
  background: var(--branco);
  padding: 25px;
  border-radius: 20px;
  box-shadow: var(--sombra-card);
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(27,46,94,0.05);
  transition: all var(--transition-normal);
  opacity: 0;
  transform: translateY(20px);
}
.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-card-hover);
}

.stat-icon {
  width: 60px; height: 60px;
  background: var(--azul-agua);
  color: var(--azul-marinho);
  border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.stat-card:hover .stat-icon {
  background: var(--azul-marinho);
  color: var(--branco);
  transform: scale(1.1);
}

.stat-info {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--azul-marinho);
  line-height: 1;
  margin-bottom: 5px;
}
.stat-text {
  color: var(--cinza-texto);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION IMPACTO / CTA
   ========================================================================== */
.cta-impact {
  background-image: url('https://images.unsplash.com/photo-1573164713988-8665fc963095?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  position: relative;
  margin: 80px 0;
  overflow: hidden;
}

.cta-overlay {
  background: linear-gradient(90deg, rgba(27,46,94,0.9) 0%, rgba(27,46,94,0.6) 100%);
  padding: 100px 0;
}

.cta-content {
  max-width: 700px;
  color: var(--branco);
}

.cta-subtitle {
  display: inline-block;
  background: var(--azul-claro);
  color: var(--branco);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cta-content h2 {
  font-size: 2.8rem;
  color: var(--branco);
  line-height: 1.2;
  margin-bottom: 25px;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.9);
}

.cta-actions {
  display: flex;
  gap: 20px;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid var(--branco);
  color: var(--branco);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-fast);
  display: inline-block;
}
.btn-outline-white:hover {
  background: var(--branco);
  color: var(--azul-marinho);
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-servico {
  background: var(--branco);
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: var(--sombra-card);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27,46,94,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
}

.card-servico.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-servico::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: var(--gradiente-azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-servico:hover {
  transform: translateY(-12px);
  box-shadow: var(--sombra-card-hover);
}

.card-servico:hover::after {
  transform: scaleX(1);
}

.icon-wrapper {
  width: 70px; height: 70px;
  background: var(--azul-agua);
  color: var(--azul-marinho);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 25px;
  transition: all var(--transition-fast);
}

.card-servico:hover .icon-wrapper {
  background: var(--azul-marinho);
  color: var(--branco);
  border-radius: 50%;
  transform: rotate(10deg);
}

.card-servico h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--azul-marinho);
  font-weight: 700;
}

.card-servico p {
  color: var(--cinza-texto);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.btn-link {
  color: var(--azul-claro);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
  font-size: 0.9rem;
}
.btn-link::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
.btn-link:hover {
  color: var(--azul-marinho);
  gap: 12px;
}

/* ==========================================================================
   SOBRE / SPLIT LAYOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra-card);
}
.about-img img {
  width: 100%;
  display: block;
}
.about-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border: 8px solid var(--azul-marinho);
  border-radius: 20px;
  opacity: 0.1;
  transform: scale(0.95);
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.about-content .lead {
  font-size: 1.15rem;
  color: var(--azul-marinho);
  font-weight: 600;
  margin-bottom: 20px;
}
.about-content p {
  margin-bottom: 25px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.feature-icon {
  color: var(--azul-claro);
  font-size: 1.5rem;
}
.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

/* ==========================================================================
   PORTFÓLIO
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--branco);
  border: 1px solid var(--cinza-claro);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--cinza-texto);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--azul-medio);
  color: var(--branco);
  border-color: var(--azul-medio);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--sombra-card);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27, 46, 94, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
  text-align: center;
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h4 { color: var(--branco); margin-bottom: 5px; transform: translateY(20px); transition: transform 0.3s; }
.portfolio-overlay p { color: var(--azul-agua); font-size: 0.9rem; transform: translateY(20px); transition: transform 0.3s; transition-delay: 0.1s; }
.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p { transform: translateY(0); }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 2001;
}

/* ==========================================================================
   DEPOIMENTOS
   ========================================================================== */
.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 10px 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonials-slider::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 400px;
  background: var(--branco);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--sombra-card);
  scroll-snap-align: center;
}

.stars { color: #F59E0B; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 15px; display: block;}
.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--cinza-escuro);
}
.testimonial-author h4 {
  font-size: 1.1rem; margin-bottom: 5px;
}
.testimonial-author p {
  font-size: 0.9rem; color: var(--cinza-texto);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-section {
  background: var(--azul-marinho);
  color: var(--branco);
  text-align: center;
  padding: 100px 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(77,168,218,0.2) 0%, transparent 70%);
}
.cta-content { position: relative; z-index: 1; }
.cta-section h2 { color: var(--branco); font-size: 2.5rem; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; margin-bottom: 40px; color: var(--azul-agua); }


/* ==========================================================================
   FORMULÁRIOS (Contacto & Orçamento)
   ========================================================================== */
.form-container {
  background: var(--branco);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--sombra-card);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--azul-marinho);
}
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 3px rgba(77,168,218,0.2);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  background: var(--azul-marinho);
  color: var(--branco);
  padding: 40px;
  border-radius: 16px;
  height: 100%;
}
.contact-info h3 { color: var(--branco); margin-bottom: 30px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.contact-item-icon {
  font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.contact-item a { color: var(--branco); }
.contact-item a:hover { color: var(--azul-claro); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #0F1A36; /* Azul mais escuro que o marinho */
  color: rgba(255,255,255,0.7);
  padding: 80px 0 20px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-card {
  background: var(--branco);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.footer-logo {
  height: 60px;
  width: auto;
  display: block;
}

.footer-tagline { color: var(--azul-agua); font-weight: 700; margin-bottom: 10px; font-size: 1.1rem; }
.footer-slogan { font-size: 0.95rem; margin-bottom: 25px; color: var(--branco); font-weight: 600; opacity: 0.9; }

.footer-social { display: flex; gap: 15px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--branco);
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--azul-medio);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--branco);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--azul-claro);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--azul-claro); padding-left: 5px; }

.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  line-height: 1.5;
}
.footer-icon { color: var(--azul-claro); }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--azul-claro); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.footer-admin a { color: rgba(255,255,255,0.4); }
.footer-admin a:hover { color: var(--branco); }

/* ==========================================================================
   WHATSAPP & SCROLL TOP
   ========================================================================== */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: #25D366; color: white;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse 2s infinite;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.scroll-top {
  position: fixed; bottom: 30px; right: 100px; z-index: 998;
  background: var(--azul-marinho); color: white;
  width: 45px; height: 45px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: var(--sombra-card);
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  transform: translateY(20px);
}
.scroll-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top:hover { background: var(--azul-medio); }

/* ==========================================================================
   PÁGINAS INTERNAS (Header Pequeno)
   ========================================================================== */
.page-hero {
  padding: 150px 0 80px;
  background: var(--azul-marinho);
  color: var(--branco);
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--branco); font-size: 3rem; margin-bottom: 10px; }
.breadcrumb {
  display: flex; justify-content: center; gap: 10px;
  list-style: none; font-size: 0.95rem; color: var(--azul-agua);
}
.breadcrumb a { color: var(--branco); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 10px; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   ALERTS (Mensagens de Sucesso/Erro)
   ========================================================================== */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #10B981; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #EF4444; }

/* ==========================================================================
   RESPONSIVIDADE (Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-servicos, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: -30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title h2 { font-size: 2rem; }
  
  .navbar { padding: 1rem 0; background: var(--azul-marinho); }
  .hamburger { display: flex; }
  
  .navbar-links {
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--azul-marinho);
    flex-direction: column;
    padding: 20px 0;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
  }
  .navbar-links.active {
    transform: translateY(0);
    opacity: 1; visibility: visible;
  }
  
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .hero-buttons { flex-direction: column; }
  
  .grid-servicos, .portfolio-grid, .about-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  
  .form-container { padding: 25px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  
  .scroll-top { right: 20px; bottom: 100px; }
}

@media (max-width: 480px) {
  .stats-container { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 300px; padding: 25px; }
  .page-hero h1 { font-size: 2.2rem; }
}
