/* Reset e Variáveis */
:root {
  --primary-color: #0A3D62;
  --secondary-color: #1F7AA8;
  --accent-color: #C9A227;
  --tertiary-color: #2E8B8B;
  --text-color: #1d1d1f;
  --text-secondary: #6e6e73;
  --light-bg: #f5f5f7;
  --white: #FFFFFF;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 18px;
  --border-radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.47059;
  color: var(--text-color);
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header e Navegação */
header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1.2rem 0;
  background-color: #fbfbfd;
  user-select: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
}

.logo a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: block;
}

.logo a:visited {
  color: inherit;
  text-decoration: none;
}

.logo a:hover {
  opacity: 0.8;
}

.logo-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.logo-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #555;
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  font-size: 0.95rem;
  transition: var(--transition);
  opacity: 0.8;
}

.nav-menu a:visited {
  color: var(--text-color);
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--secondary-color);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
  position: relative;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 180px 0 120px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.15);
  padding: 60px 0;
}

.hero-content {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.4;
  letter-spacing: -0.01em;
  animation: fadeInUp 1s ease 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 980px;
  font-weight: 400;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  user-select: none;
}

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

.btn-primary:hover {
  background: #a87f1e;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.25);
}

/* Seções */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-title::after {
  display: none;
}

/* Serviços */
.servicos {
  background: #fbfbfd;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.servico-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.06);
}

.servico-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 16px;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.servico-card:hover .servico-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(31, 122, 168, 0.3);
}

.servico-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.servico-card p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  flex-grow: 1;
}

.servico-lista {
  list-style: none;
  padding: 0;
}

.servico-lista li {
  padding: 0.65rem 0;
  padding-left: 32px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.servico-lista li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servico-lista li::after {
  content: '✓';
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Sobre */
.sobre .section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sobre-descricao {
  margin: 0 auto 1.5rem;
  max-width: 800px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  text-align: center;
}

.diferenciais {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.diferencial {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.diferencial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.06);
}

.diferencial i {
  font-size: 1.25rem;
  color: white;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 10px;
  flex-shrink: 0;
}

.diferencial h4 {
  margin-bottom: 0.4rem;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.diferencial p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}



/* Contato */
.contato {
  background: #fbfbfd;
  position: relative;
}

.contato-subtitulo {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 4rem;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contato-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.telefone-contact a{
  color: inherit;
  text-decoration: underline;
}

.email-contact a {
  color: inherit;
  text-decoration: underline;
  word-break: break-all;
}

.contato-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.06);
}

.contato-item i {
  font-size: 1.5rem;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: 12px;
  flex-shrink: 0;
}

.contato-item h4 {
  margin-bottom: 0.4rem;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.contato-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contato-form {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #86868b;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(31, 122, 168, 0.08);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  align-items: stretch;
}

@media (max-width: 480px) {
  .form-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.contato-form .btn-primary {
  flex: 1;
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 12px;
  border: none;
  background: var(--secondary-color);
  color: white;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  min-width: 0;
}

.contato-form .btn-primary:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 122, 168, 0.25);
}

.contato-form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(31, 122, 168, 0.2);
}

.contato-form .btn-outline {
  flex-shrink: 0;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 400;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.contato-form .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contato-form .btn-outline:active {
  transform: scale(0.98);
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: all 0.1s;
}

/* Sempre exibir o botão Limpar */
.contato-form .btn-outline.btn-clear {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s 0s;
  width: 120px;
  min-width: 80px;
  max-width: 160px;
  margin: 0;
  display: inline-block;
}

@media (max-width: 480px) {
  .contato-form .btn-outline.btn-clear {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
  }
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.footer-info h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-info p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    padding: 2rem 0;
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.3s ease forwards;
  }

  .nav-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(2) {
    animation-delay: 0.15s;
  }

  .nav-menu.active li:nth-child(3) {
    animation-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(4) {
    animation-delay: 0.25s;
  }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .diferenciais {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .diferencial {
    padding: 1.25rem;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contato-form {
    padding: 2rem 1.5rem;
  }

  .contato-item {
    padding: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

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

  .servico-card {
    padding: 1.5rem;
  }
}
