/* CSS Variables */
:root {
  --primary-color: #f93a00;
  --secondary-color: #e7e7e7;
  --white: #ffffff;
  --black: #000000;
  --dark-gray: #333333;
  --light-gray: #f8f9fa;
  --text-gray: #666666;

  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Playfair Display", serif;

  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);

  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background: #e03300;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark-gray);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 50px;
  width: auto;
}

.nav-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0.9;
}

.hero-cta {
  background: var(--primary-color);
  color: var(--white);
  padding: 18px 35px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.hero-cta:hover {
  background: #e03300;
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.stat-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 100px 0;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.mvv-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
}

.mvv-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.mvv-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #ff6b35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  font-size: 2rem;
}

.mvv-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Team Section */
.team {
  padding: 100px 0;
  background: var(--light-gray);
}

.team-description {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ceo-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  border-left: 5px solid var(--primary-color);
  display: flex;
  gap: 30px;
  align-items: center;
}

.ceo-photo {
  flex-shrink: 0;
}

.ceo-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-medium);
}

.ceo-info {
  flex: 1;
}

.ceo-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.ceo-title {
  color: var(--text-gray);
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 20px;
}

/* Understanding Section */
.understanding {
  padding: 100px 0;
}

.understanding-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.understanding-text h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.stages {
  margin-top: 40px;
}

.stages h4 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.stage-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

.stage-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stage-content h5 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.understanding-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), #ff6b35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  font-size: 2.5rem;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

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

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-methods {
  margin: 40px 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

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

.contact-details h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-details a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.team-info {
  margin-top: 30px;
  padding: 25px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.team-info h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 58, 0, 0.1);
}

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

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  height: 160px;
  width: 160px;
}

.footer-brand h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  text-align: center;
  color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 30px;
  }

  .nav-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .understanding-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .full-image-content h2 {
    font-size: 2rem;
  }

  .full-image-content p {
    font-size: 1.1rem;
  }

  .hero-controls {
    bottom: 20px;
    gap: 15px;
  }

  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
  }

  .ceo-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .mvv-card,
  .service-card {
    padding: 25px;
  }

  .contact-form {
    padding: 25px;
  }

  .stage-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed header */
section {
  scroll-margin-top: 80px;
}

/* === Estrutura & Acolhimento (layout geral) === */
.estrutura { padding: 90px 0; background: #fff; }
.estrutura .section-header { text-align: center; margin-bottom: 18px; }
.estrutura .section-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 8px; }
.estrutura .section-subtitle { color: var(--text-muted, #666); max-width: 860px; margin: 0 auto; }
.estrutura .estrutura-text { max-width: 900px; margin: 18px auto 28px; text-align: center; color: var(--text-color, #333); }

/* === Slider === */
.estrut-slider { position: relative; }
.estrut-viewport { overflow: hidden; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.estrut-track { display: flex; transition: transform .45s ease; will-change: transform; }
.estrut-slide { min-width: 100%; user-select: none; }
.estrut-slide img { width: 100%; height: clamp(220px, 45vw, 520px); object-fit: cover; display: block; }

/* Botões */
.estrut-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(0,0,0,.55); color: #fff; cursor: pointer;
  display: grid; place-items: center; z-index: 5; transition: .2s ease;
}
.estrut-btn:hover { background: rgba(0,0,0,.8); transform: translateY(-50%) scale(1.05); }
.estrutur-prev { left: 10px; }
.estrutur-next { right: 10px; }

/* Dots */
.estrut-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.estrut-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; background: #cfcfcf; cursor: pointer;
}
.estrut-dots button[aria-selected="true"] { background: #333; }

/* Responsivo */
@media (max-width: 560px) {
  .estrutura { padding: 70px 0; }
  .estrut-btn { width: 38px; height: 38px; }
}

/* Garantir que a lista do track não tenha margem nem bullets */
.estrut-track { margin: 0; padding: 0; list-style: none; }

/* (Opcional) melhora foco via teclado no slider */
.estrut-slider:focus { outline: 2px solid rgba(0,0,0,.35); outline-offset: 4px; }

/* WhatsApp floating button */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  z-index: 1100;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover{
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}
.whatsapp-float .fa-whatsapp{ font-size: 1.8rem; color: #fff; }

/* fallback SVG se o Font Awesome não estiver carregado */
.whatsapp-float .wa-svg{
  width: 28px; height: 28px; fill: #fff; display: none;
}
/* mostra o SVG caso o FA não exista */
.whatsapp-float:not(:has(.fa-whatsapp)) .wa-svg{ display:block; }

/* opcional: esconder em telas muito pequenas se quiser
@media (max-width: 360px){
  .whatsapp-float{ width: 52px; height: 52px; right: 12px; bottom: 12px; }
} */

/* Corrige traço azul no botão flutuante */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  z-index: 1100;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none !important; /* 🔥 remove o sublinhado */
  color: inherit;                   /* garante cor neutra */
  outline: none;                    /* remove contorno de foco azul no clique */
}
.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
}