/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Nova Paleta DOMINANTE */
  --primary-color: #77ccdb;
  --secondary-color: #055269;
  --tertiary-color: #0b92a9;
  --quaternary-color: #0a819e;
  --accent-color: #FFD700;
  --text-color: #FFFFFF;
  --text-dark: #212529;
  --text-light: #E8F4F8;
  --white-color: #FFFFFF;
  --light-blue: rgba(119, 204, 219, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-hero: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color) 0%, var(--quaternary-color) 100%);
  --gradient-section: linear-gradient(135deg, var(--quaternary-color) 0%, var(--primary-color) 100%);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Font Sizes */
  --h1-font-size: 3rem;
  --h2-font-size: 2.25rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  
  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media screen and (max-width: 768px) {
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--gradient-hero);
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: var(--font-bold);
  line-height: 1.2;
  color: var(--white-color);
}

ul {
  list-style: none;
}

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

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

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xxl) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--white-color);
  margin-bottom: var(--spacing-sm);
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--white-color);
  color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn--tertiary {
  background: var(--gradient-tertiary);
  color: var(--white-color);
  box-shadow: var(--shadow-md);
}

.btn--tertiary:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--large {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1.1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--secondary-color);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-fixed);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav__link {
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  color: var(--white-color);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white-color);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--tertiary-color);
  position: relative;
  overflow: hidden;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero__content {
  z-index: 2;
}

.hero__title {
  font-size: var(--h1-font-size);
  color: var(--white-color);
  margin-bottom: var(--spacing-sm);
}

.hero__title-highlight {
  color: var(--white-color);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: var(--font-semibold);
  margin-bottom: var(--spacing-sm);
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
}

.hero__img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero__scroll {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white-color);
  border-radius: 50%;
  color: var(--secondary-color);
  box-shadow: var(--shadow-md);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--tertiary-color);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about__description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.2);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--white-color);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 1.2rem;
}

.feature__title {
  font-size: 1.1rem;
  color: var(--white-color);
  margin-bottom: 0.25rem;
}

.feature__description {
  color: var(--text-light);
  font-size: var(--small-font-size);
}

.about__img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== EQUIPMENT SECTION ===== */
.equipment {
  background: var(--tertiary-color);
}

.equipment__categories {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.equipment__category {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.category__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

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

.category__title {
  font-size: var(--h3-font-size);
  color: var(--white-color);
}

.category__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.equipment__card {
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
}

.equipment__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--white-color);
  background: rgba(255, 255, 255, 0.1);
}

.card__image {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.equipment__card:hover .equipment__img {
  transform: scale(1.05);
}

.card__title {
  font-size: 1.1rem;
  color: var(--white-color);
  margin-bottom: var(--spacing-xs);
}

.card__description {
  color: var(--text-light);
  font-size: var(--small-font-size);
}

/* ===== COVERAGE SECTION ===== */
.coverage {
  background: var(--tertiary-color);
}

.coverage__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.coverage__title {
  font-size: var(--h2-font-size);
  color: var(--white-color);
  margin-bottom: var(--spacing-md);
}

.coverage__description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.coverage__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.coverage__feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: var(--font-medium);
  color: var(--white-color);
}

.coverage__feature i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.coverage__map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map__container {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--gradient-primary);
  color: var(--white-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.map__container i {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
}

.map__container h3 {
  font-size: var(--h3-font-size);
  margin-bottom: var(--spacing-xs);
}

/* ===== VALUES SECTION ===== */
.values {
  background: var(--tertiary-color);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.value__card {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.value__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 0.15);
}

.value__card:nth-child(1) .value__icon {
  background: var(--white-color);
  color: var(--secondary-color);
}

.value__card:nth-child(2) .value__icon {
  background: var(--white-color);
  color: var(--secondary-color);
}

.value__card:nth-child(3) .value__icon {
  background: var(--white-color);
  color: var(--secondary-color);
}

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

.value__title {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: var(--spacing-sm);
}

.value__description {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: var(--tertiary-color);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact__info-title {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: var(--spacing-sm);
}

.contact__info-description {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.contact__detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--white-color);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 1.2rem;
}

.contact__detail-content h4 {
  font-size: 1.1rem;
  color: var(--white-color);
  margin-bottom: 0.25rem;
}

.contact__detail-content p,
.contact__detail-content a {
  color: var(--text-light);
  transition: var(--transition);
}

.contact__detail-content a:hover {
  color: var(--primary-color);
}

/* ===== FORM ===== */
.form {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.form__group {
  margin-bottom: var(--spacing-md);
}

.form__input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.form__input:focus {
  outline: none;
  border-color: var(--white-color);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary-color);
  color: var(--white-color);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer__logo-img {
  height: 60px;
  width: auto;
  margin-bottom: var(--spacing-sm);
  filter: brightness(0) invert(1);
}

.footer__description {
  color: var(--text-light);
  line-height: 1.7;
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white-color);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer__link {
  color: var(--text-light);
  transition: var(--transition);
}

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

.footer__social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer__copy {
  color: var(--text-light);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-tooltip);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1024px) {
  .hero__container,
  .about__container,
  .coverage__container,
  .contact__container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .hero__content {
    text-align: center;
    order: 2;
  }
  
  .hero__image {
    order: 1;
  }
  
  .category__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary-color);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    z-index: var(--z-modal);
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .nav__link {
    font-size: 1.2rem;
  }
  
  .nav__toggle,
  .nav__close {
    display: block;
  }
  
  .nav__close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
  }
  
  .nav__actions .btn {
    display: none;
  }
  
  .hero__actions {
    justify-content: center;
  }
  
  .hero__actions .btn {
    flex: 1;
    min-width: 0;
  }
  
  .category__grid {
    grid-template-columns: 1fr;
  }
  
  .values__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .card__image {
    height: 180px;
  }
}

@media screen and (max-width: 480px) {
  .hero__container {
    margin-top: 5em;
  }
  .container {
    padding: 0 var(--spacing-xs);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__actions .btn {
    width: 100%;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* ===== MOBILE FIXES ===== */
/* Prevenir overflow horizontal em todos os elementos */
*, *::before, *::after {
  max-width: 100%;
}

/* Garantir que o html e body não tenham overflow horizontal */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Prevenir zoom em inputs no iOS */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    transform: scale(1);
  }
}

/* Ajustes específicos para mobile muito pequeno */
@media screen and (max-width: 375px) {
  .container {
    padding: 0 10px;
  }
  
  .hero__title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero__actions {
    gap: 10px;
  }
  
  .hero__actions .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .nav__logo-img {
    max-width: 120px;
  }
  
  .section__title {
    font-size: 1.5rem;
  }
  
  .equipment__card,
  .value__card {
    padding: 1rem;
  }
  
  .card__title,
  .value__title {
    font-size: 1rem;
  }
  
  .card__image {
    height: 150px;
  }
}

/* Garantir que imagens não causem overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevenir que elementos com largura fixa causem overflow */
.hero__container,
.about__container,
.coverage__container,
.contact__container {
  width: 100%;
  max-width: 100%;
}

/* Ajustar grid para não causar overflow */
.category__grid,
.values__grid {
  width: 100%;
  overflow: hidden;
}

/* Garantir que botões não quebrem o layout */
.btn {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ajustar formulário para mobile */
@media screen and (max-width: 768px) {
  .form__input,
  .form__textarea {
    width: 100%;
    box-sizing: border-box;
  }
  
  .contact__container {
    gap: 2rem;
  }
}

