* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f39c12;
  --secondary-color: #e67e22;
  --dark-bg: #1a252f;
  --darker-bg: #0f1419;
  --light-bg: #2d3748;
  --text-light: #ffffff;
  --text-dark: #333333;
  --gradient-primary: linear-gradient(135deg, #f39c12, #e67e22);
  --gradient-dark: linear-gradient(135deg, #1a252f, #2d3748);
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  scroll-behavior: smooth;
  background: #f8f9fa;
}

/* Header com o mesmo estilo da página principal */
header {
  background: var(--gradient-dark);
  color: var(--text-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.logo {
  background-image: url("/img/Proverá.png");
  background-repeat: no-repeat;
  background-size: 300px auto;
  background-position: center left;
  width: 250px;
  height: 60px;
  display: block;
  flex-shrink: 0;
}

.back-button {
  background: var(--gradient-primary);
  color: var(--text-light);
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.back-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
}

/* Hero Section para a página de privacidade */
.privacy-hero {
  position: relative;
  min-height: 60vh;
  padding: 80px 20px;

  background-image: url("/img/Banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: white;
  font-family: "Montserrat", sans-serif;
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/img/Banner.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.1);
  z-index: -1;
  will-change: transform;
  filter: brightness(0.6);
}

.privacy-hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  color: white;
  font-family: "Montserrat", sans-serif;
  position: relative;
  z-index: 1;
}

.privacy-hero h1 {
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.3;
}

.privacy-hero .subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.last-updated {
  background: rgba(243, 156, 18, 0.2);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  font-size: 1.1rem;
  border: 2px solid var(--primary-color);
}

/* Container principal do conteúdo */
.privacy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.privacy-content {
  background: var(--text-light);
  padding: 60px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin: 0 20px 30px 20px;
}

.section {
  margin-bottom: 3rem;
}

.section h2 {
  color: var(--dark-bg);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 4px solid var(--primary-color);
  font-family: "Montserrat", sans-serif;
}

.section h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  font-family: "Montserrat", sans-serif;
}

.section p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  text-align: justify;
  line-height: 1.7;
}

.section ul {
  margin: 1.5rem 0 1.5rem 2rem;
}

.section li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.highlight {
  background: linear-gradient(
    120deg,
    rgba(243, 156, 18, 0.15) 0%,
    rgba(243, 156, 18, 0.05) 100%
  );
  padding: 30px;
  border-radius: 15px;
  border-left: 5px solid var(--primary-color);
  margin: 2rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.highlight h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-family: "Montserrat", sans-serif;
}

.contact-box {
  background: var(--gradient-dark);
  color: var(--text-light);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-box h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-family: "Montserrat", sans-serif;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px 0;
  font-size: 1.1rem;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-item i {
  color: var(--primary-color);
  width: 25px;
  font-size: 1.3rem;
}

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 15px;
  overflow: hidden;
}

.privacy-table th {
  background: var(--gradient-primary);
  color: white;
  padding: 20px 15px;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: "Montserrat", sans-serif;
}

.privacy-table td {
  padding: 18px 15px;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.privacy-table tr:hover {
  background: rgba(243, 156, 18, 0.05);
}

.privacy-table tr:last-child td {
  border-bottom: none;
}

.warning-box {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 25px;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

.warning-box h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: "Montserrat", sans-serif;
}

/* Footer com o mesmo estilo da página principal */
.footer-privacy {
  background: var(--darker-bg);
  color: var(--text-light);
  text-align: center;
  padding: 60px 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  opacity: 0.8;
}

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Botão fixo do Instagram */
.instagram-fixo {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 64px;
  height: 64px;
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
  text-decoration: none;
  padding: 0;
  overflow: hidden;
}

.instagram-fixo i {
  font-size: 52px;
  line-height: 1;
  display: block;
}

.instagram-fixo:hover {
  transform: scale(1.1);
}

/* Botão de volta ao topo */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  z-index: 1000;
  font-size: 1.4rem;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
}

.electrical-highlight {
  color: var(--primary-color);
  font-weight: 400;
}

/* ============================================
             MEDIA QUERIES - RESPONSIVIDADE
      ============================================ */

/* Tablets grandes e desktops pequenos (1024px e abaixo) */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .container_topo {
    padding: 0 15px;
  }

  nav {
    padding: 0 15px;
  }

  .privacy-hero h1 {
    font-size: 2.4rem;
    letter-spacing: 2px;
  }

  .privacy-hero .subtitle {
    font-size: 1.1rem;
    letter-spacing: 1.2px;
  }

  .privacy-hero-content {
    padding: 0 30px;
  }

  .privacy-content {
    padding: 40px;
  }
}

/* Tablets (768px e abaixo) */
@media (max-width: 768px) {
  /* Header/Navigation */
  nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 15px;
  }

  /* Logo ajustes */
  .logo {
    background-size: 200px auto;
    width: 180px;
    height: 50px;
  }

  /* Hero Section */
  .privacy-hero {
    min-height: 50vh;
    padding: 60px 15px;
    background-attachment: scroll;
  }

  .privacy-hero::before {
    background-attachment: scroll;
  }

  .privacy-hero h1 {
    font-size: 2rem;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }

  .privacy-hero .subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .privacy-hero-content {
    padding: 0 20px;
  }

  .privacy-container {
    padding: 40px 0;
  }

  .privacy-content {
    padding: 30px 25px;
    margin: 0 15px 30px 15px;
  }

  .section h2 {
    font-size: 1.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section h3 {
    font-size: 1.3rem;
  }

  .highlight {
    padding: 20px;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .privacy-table {
    font-size: 0.9rem;
  }

  .privacy-table th,
  .privacy-table td {
    padding: 12px 10px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  /* Instagram fixo */
  .instagram-fixo {
    width: 56px;
    height: 56px;
    bottom: 15px;
    left: 15px;
  }

  .instagram-fixo i {
    font-size: 44px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
  }
}

/* Smartphones (480px e abaixo) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .container_topo {
    padding: 0 10px;
  }

  nav {
    padding: 0 10px;
  }

  .logo {
    background-size: 160px auto;
    width: 140px;
    height: 40px;
  }

  .privacy-hero {
    min-height: 45vh;
    padding: 40px 10px;
  }

  .privacy-hero h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 1.2;
  }

  .privacy-hero .subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .privacy-hero-content {
    padding: 0 15px;
  }

  .privacy-container {
    padding: 30px 0;
  }

  .privacy-content {
    padding: 20px 15px;
    margin: 0 10px 30px 10px;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .section h3 {
    font-size: 1.2rem;
  }

  .section p,
  .section li {
    font-size: 1rem;
  }

  .highlight {
    padding: 15px;
  }

  .contact-box {
    padding: 25px 15px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .privacy-table th,
  .privacy-table td {
    padding: 8px 6px;
    font-size: 0.85rem;
  }

  .instagram-fixo {
    width: 50px;
    height: 50px;
    bottom: 10px;
    left: 10px;
    border-radius: 12px;
  }

  .instagram-fixo i {
    font-size: 38px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
    font-size: 1.1rem;
  }
}

/* Smartphones muito pequenos (360px e abaixo) */
@media (max-width: 360px) {
  .privacy-hero h1 {
    font-size: 1.4rem;
  }

  .privacy-hero .subtitle {
    font-size: 0.85rem;
  }

  .privacy-content {
    padding: 15px 12px;
  }

  .section h2 {
    font-size: 1.3rem;
  }

  .contact-box {
    padding: 20px 12px;
  }

  .instagram-fixo {
    width: 45px;
    height: 45px;
  }

  .instagram-fixo i {
    font-size: 34px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* Ajustes para orientação paisagem em tablets */
@media (max-width: 1024px) and (orientation: landscape) {
  .privacy-hero {
    min-height: 50vh;
  }

  .privacy-hero h1 {
    font-size: 2rem;
  }

  .privacy-container {
    padding: 50px 0;
  }
}

/* Ajustes para telas muito altas */
@media (min-height: 900px) {
  .privacy-hero {
    min-height: 70vh;
  }
}

/* Ajustes para hover em dispositivos touch */
@media (hover: none) and (pointer: coarse) {
  .contact-item:hover {
    background: none;
  }

  .back-to-top:hover,
  .back-button:hover {
    transform: none;
  }

  .instagram-fixo:hover {
    transform: none;
  }
}
