/* ABIS - Estilos Principais */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #4a5568;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #3d4f5f;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

/* Variáveis CSS */
:root {
  --primary: #4a6572;
  --primary-dark: #3d4f5f;
  --accent: #f5881f;
  --accent-hover: #03c4eb;
  --background: #ffffff;
  --text-gray: #718096;
  --section-meta: #f7fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 40px -10px rgba(74, 101, 114, 0.15);
  --shadow-hover: 0 20px 50px -15px rgba(74, 101, 114, 0.25);
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--background);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
  top: calc(100vh - 70px);
  transition: all 0.3s ease;
}

.header.fixed {
  position: fixed;
  top: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 230px;
  height: auto;
}

.nav {
  display: none;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-gray);
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: var(--accent-hover);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  transition: all 0.3s;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: var(--background);
  padding-top: 96px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

.mobile-menu a {
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #475569;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(74, 101, 114, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #ffffff;
  padding: 0 16px;
}

.hero h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.hero h1 .rotating-word {
  display: inline-block;
  transition: opacity 0.5s, transform 0.5s;
}

.hero p {
  font-size: 1.125rem;
  font-weight: 600;
  max-width: 48rem;
  margin: 0 auto 32px;
}

.btn-hero {
  display: inline-block;
  padding: 16px 32px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: all 0.3s;
  border-radius: 2px;
}

.btn-hero:hover {
  background-color: #ffffff;
  color: var(--primary);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero p {
    font-size: 1.5rem;
  }
}

/* Sections */
.section {
  padding: 125px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-meta {
  background-color: var(--section-meta);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  color: var(--text-gray);
  line-height: 1.75;
}

/* About Section */
.partners-img,
.map-img {
  display: block;
  max-width: 100%;
  margin: 0 auto 48px;
}

.phases-list {
  text-align: left;
  max-width: 40rem;
  margin: 0 auto;
  color: var(--text-gray);
}

.phases-list h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

.phases-list ul {
  list-style: disc;
  padding-left: 24px;
}

.phases-list li {
  margin-bottom: 8px;
}

/* Video Section */
.video-section {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(74, 101, 114, 0.6);
}

.video-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #ffffff;
}

.play-btn {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.play-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.play-btn i {
  font-size: 1.875rem;
  margin-left: 4px;
  color: #ffffff;
}

.video-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 56rem;
  margin: 0 auto;
  color: #ffffff;
}

@media (min-width: 768px) {
  .video-section h2 {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .video-section {
    padding: 192px 0;
  }

  .video-section h2 {
    font-size: 2.25rem;
  }
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.video-modal.open {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 56rem;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  font-size: 1.5rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.video-modal-close:hover {
  color: var(--accent-hover);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

.testimonial-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.testimonial-card .quote {
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(74, 101, 114, 0.7);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  padding: 16px;
  font-size: 0.875rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.875rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--accent-hover);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.875rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--accent-hover);
}

.lightbox-content {
  max-width: 64rem;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-content p {
  color: #ffffff;
  margin-top: 16px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  text-align: center;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card .image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.3s;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card .hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 196, 235, 0);
  transition: background-color 0.3s;
}

.team-card:hover .hover-overlay {
  background-color: rgba(3, 196, 235, 0.2);
}

.team-card h5 {
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.3s;
}

.team-card:hover h5 {
  color: var(--accent-hover);
}

/* Contact Section */
.contact-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background-color: var(--background);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-hover);
  box-shadow: 0 0 0 3px rgba(3, 196, 235, 0.2);
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 12px 32px;
  background-color: var(--accent-hover);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: filter 0.3s;
}

.contact-form button:hover {
  filter: brightness(1.1);
}

.contact-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-info h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-gray);
  margin-bottom: 32px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

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

.contact-icon i {
  color: #ffffff;
}

.contact-item span,
.contact-item a {
  color: var(--text-gray);
}

.contact-item a {
  color: var(--accent-hover);
  transition: text-decoration 0.3s;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  color: #ffffff;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.social-links a {
  color: #ffffff;
  transition: color 0.3s;
}

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

.social-links i {
  font-size: 2rem;
}

/* Copyright */
.copyright {
  background-color: var(--section-meta);
  padding: 16px 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-gray);
  position: relative;
}

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

.copyright a:hover {
  text-decoration: underline;
}

.scroll-top {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(113, 128, 150, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.scroll-top:hover {
  background-color: var(--accent-hover);
}

.scroll-top i {
  color: var(--text-gray);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 500;
  z-index: 200;
  transform: translateX(150%);
  transition: transform 0.3s;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  background-color: #48bb78;
}

.toast.error {
  background-color: #f56565;
}

/* Team Member Pages */
.team-header {
  background-color: var(--background);
  padding: 16px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.1);
}

.team-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-header .logo img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .team-header .logo img {
    height: 64px;
  }
}

.team-hero {
  position: relative;
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

@media (min-width: 768px) {
  .team-hero {
    height: 320px;
  }
}

.team-hero .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.team-hero h1 {
  position: relative;
  z-index: 10;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .team-hero h1 {
    font-size: 2.25rem;
  }
}

.team-content {
  padding: 48px 0;
}

@media (min-width: 768px) {
  .team-content {
    padding: 64px 0;
  }
}

.team-content .content-inner {
  max-width: 56rem;
  margin: 0 auto;
}

.team-content p {
  color: var(--text-gray);
  line-height: 1.8;
  text-align: justify;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.mb-16 {
  margin-bottom: 64px;
}
