/* ========================= */
/*       VARIÁVEIS CSS       */
/* ========================= */
:root {
  --primary-color: #007bff;
  --hover-color: #0056b3;
  --text-color: #333;
  --bg-color: #fff;
  --header-bg: rgba(0, 0, 0, 0.8);
  --shadow-light: 0px 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.3s;
}

/* ========================= */
/*         RESET             */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, p {
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================= */
/*         HEADER            */
/* ========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  z-index: 1000;
  transition: background var(--transition-speed);
}

header .logo img {
  height: 50px;
}

/* MENU PADRÃO (Desktop) */
header nav ul {
  display: flex;
  gap: 1.2rem;
}

header nav ul li a {
  color: var(--bg-color);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  transition: all var(--transition-speed) ease;
}

header nav ul li a:hover {
  color: var(--primary-color);
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
}

/* RESPONSIVO HEADER (Mobile) */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 1rem 2%;
  }
  
  header nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
  }
}

/* ========================= */
/*       HERO SECTION        */
/* ========================= */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100vh;
  background: url('fotomeusite.jpg') no-repeat center center/cover;
  color: white;
  padding: 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 2;
  /* Utiliza clamp para ajuste fluido da tipografia */
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  margin-top: 10px;
  color: var(--bg-color);
}

/* Ajustes para dispositivos menores */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* ========================= */
/*    SEÇÃO DE CONTATO       */
/* ========================= */
.contact-section {
  width: 100%;
  padding: 100px 5% 60px;
  background-color: var(--bg-color);
  position: relative;
}

.contact-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-card {
  background: var(--bg-color);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-light);
  border: 1px solid #eee;
  border-radius: 8px;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.contact-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-card i {
  color: var(--primary-color);
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.contact-card a:hover {
  color: var(--hover-color);
}

/* Caixa do Mapa */
.map {
  padding: 2rem;
}

.map h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.map p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.map iframe {
  width: 100%;
  height: 400px;
  border: none;
  background: var(--bg-color);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
}

/* Responsividade para a Seção de Contato */
@media (max-width: 768px) {
  .contact-section {
    padding: 100px 2rem 40px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/*         FOOTER            */
/* ========================= */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: #fff;
  font-size: 12px;
}
