/* Variables */
:root {
  --primary: #0f4c81; /* azul profundo */
  --secondary: #009688; /* verde água */
  --light-bg: #f9fafc;
  --dark: #0a192f;
  --text: #1f2937;
  --muted: #6b7280;
  --gradient: linear-gradient(90deg, #0f4c81 0%, #009688 100%);
}

/* Reset e tipografia */
* {
  box-sizing: border-box;
}

/* Classe utilitária para esconder elementos visualmente, mantendo-os acessíveis */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--light-bg);
  line-height: 1.6;
  /* Impede rolagem horizontal em telas menores */
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

h2.section-title {
  font-size: 2rem;
}

p {
  margin: 0 0 1rem 0;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem 0;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.primary {
  background-color: var(--secondary);
  color: #fff;
}

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

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

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

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* Navigation */
.nav {
  background-color: #ffffffcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}
.logo {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}
.logo small {
  font-size: 0.7rem;
  color: var(--muted);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links li a {
  padding: 0.5rem 0.3rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}
.nav-links li a:hover {
  color: var(--secondary);
}
.contact-btn {
  margin-left: 1rem;
  background-color: var(--secondary);
  color: #fff;
}
.contact-btn:hover {
  background-color: var(--primary);
}

/* Hero */
.hero {
  background-image: url('../hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.hero h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #e0e8f0;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #dfe9f3;
}
.hero-buttons .btn {
  margin: 0.4rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section.light {
  background-color: #ffffff;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: 2rem;
}
.section-header p {
  color: var(--muted);
}
.highlight {
  color: var(--secondary);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.feature-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.feature-card h4 {
  margin-bottom: 0.3rem;
  color: var(--primary);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}
.service-card p {
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.service-card ul {
  list-style: disc;
  margin-left: 1rem;
  color: var(--text);
  font-size: 0.9rem;
}

/* Callout inside services */
.callout {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 8px;
  text-align: center;
}
.callout h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}
.callout p {
  margin-bottom: 0;
  color: #eef3f8;
}

/* Equipment */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.equipment-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.equipment-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

/* Subtítulo para equipamentos */
.equipment-card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}
.equipment-card p {
  color: var(--muted);
}
.equipment-card .tags {
  margin-top: 1rem;
}
.tag {
  display: inline-block;
  background-color: var(--light-bg);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  margin: 0.2rem;
  font-size: 0.8rem;
}
.equipment-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}
.feature-box {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.feature-box .icon {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}
.feature-box h4 {
  margin-bottom: 0.3rem;
  color: var(--primary);
}
.feature-box p {
  font-size: 0.85rem;
  color: var(--muted);
}

.safety-card {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--gradient);
  color: #fff;
  border-radius: 8px;
  text-align: center;
}
.safety-card h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}
.safety-card p {
  margin-bottom: 0;
  color: #eef3f8;
}

/* CTA section */
.cta {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}
.cta-container h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}
.cta-container p {
  margin-bottom: 1.5rem;
  color: #eef3f8;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.contact-left {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.contact-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
}
.contact-card .card-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.contact-card h4 {
  margin-bottom: 0.3rem;
  color: var(--secondary);
}
.contact-card small {
  color: var(--muted);
  font-size: 0.85rem;
}
.contact-card .btn {
  margin-top: 0.5rem;
}
.contact-right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.info-box {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.info-box h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.info-box p {
  color: var(--muted);
}
.cta-box {
  background: var(--gradient);
  color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.cta-box h4 {
  margin-bottom: 0.5rem;
  color: #fff;
}
.cta-box p {
  margin-bottom: 1rem;
  color: #eef3f8;
}
.cta-box .btn {
  background-color: #fff;
  color: var(--primary);
  border: none;
}
.cta-box .btn:hover {
  background-color: #f1f5f9;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #d1d5db;
  padding: 3rem 0 1rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  margin-bottom: 0.5rem;
  color: #fff;
}
.footer-col p {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-col small {
  color: #6b7280;
}
.footer-list {
  list-style: none;
  padding-left: 0;
}
.footer-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.copyright {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}
.equipment-note {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Media queries */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 1.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* Página de contato via QR Code (local/index.html) */
.contact-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--light-bg);
}

.contact-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.contact-icon {
  font-size: 2rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
  color: #fff;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.contact-icon:hover {
  background-color: var(--primary);
}