:root {
  --header-height: 150px;
  --primary-color: #0b1828;      /* Azul escuro marinho refinado */
  --secondary-color: #1a2533;    /* Azul chumbo/petróleo */
  --accent-color: #cda966;       /* Dourado/Bronze premium */
  --accent-hover: #b89352;
  --text-dark: #1f2329;
  --text-light: rgba(255, 255, 255, 0.85);
  --bg-light: #fafafb;
  --bg-white: #ffffff;
  --border-color: #eaeaea;
  
  --font-text: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1.5rem;
  --spacing-md: 3rem;
  --spacing-lg: 5rem;
  --spacing-xl: 8rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Image Logo Styles */
.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img-header {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover .logo-img-header {
  transform: scale(1.05);
}

.footer-brand-text {
  margin-top: 0.5rem;
}

/* Header & Compact Logo */
header {
  background-color: rgba(11, 24, 40, 0.98);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top {
  background-color: var(--secondary-color);
  font-size: 0.7rem;
  padding: 0.6rem 0;
  text-align: center;
  color: var(--text-light);
  letter-spacing: 1.5px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.header-main .brand-logo-name {
  font-size: 1.4rem;
}

nav ul {
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-light);
  text-transform: uppercase;
}

nav a:hover {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--header-height));
  padding-top: 60px;
  padding-bottom: 120px;
  background: linear-gradient(to bottom, rgba(11, 24, 40, 0.85), rgba(11, 24, 40, 0.95)), url('assets/images/hero_bg_premium.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 980px;
  padding-top: 0;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.logo-img-footer {
  display: block;
  width: 160px;
  height: auto;
  object-fit: contain;
}

.hero h1 {
  max-width: 960px;
  font-size: clamp(3rem, 5vw, 4.8rem);
  color: var(--bg-white);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-top: 0;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(234, 236, 240, 0.9);
  font-weight: 300;
  max-width: 650px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

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

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

.btn-outline {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--bg-white);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Sections General */
section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  font-weight: 300;
}

.divider {
  width: 40px;
  height: 1px;
  background-color: var(--accent-color);
  margin: 1.5rem auto;
}

/* Áreas de Atuação */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--bg-white);
  padding: 3.5rem 2.5rem;
  border: 1px solid var(--border-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  border-color: var(--accent-color);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.service-card h3 {
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* PTAM Section */
.ptam-section {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: var(--spacing-xl) 0;
}

.ptam-section h2 {
  color: var(--bg-white);
}

.ptam-section .section-header p {
  color: rgba(255,255,255,0.7);
}

.ptam-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.ptam-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 300;
}

.ptam-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ptam-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.ptam-list li i {
  color: var(--accent-color);
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

/* Quando Contratar */
.when-to-hire-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hire-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hire-col-center {
  height: 100%;
}

.hire-item {
  background: transparent;
  padding: 2rem;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.hire-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(205, 169, 102, 0.05) 0%, transparent 100%);
  z-index: -1;
}

.featured-hire-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-color);
  border-left: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-hire-item::before {
  display: none;
}

.hire-featured-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.featured-content {
  padding: 2rem;
  flex-grow: 1;
}

.featured-hire-item h4 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hire-item h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hire-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* Sobre */
.about {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text-col {
  text-align: left;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.about-subtitle {
  font-size: 0.9rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #444;
  font-size: 1.05rem;
  text-align: justify;
}

.about-image-wrapper {
  position: relative;
  border-radius: 6px;
  padding: 6px;
  border: 1px solid var(--accent-color); /* moldura fina discreta dourada/champagne */
  box-shadow: 0 10px 30px rgba(11, 24, 40, 0.08); /* sombra suave e sofisticada */
  background-color: var(--bg-white);
}

.about-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Contato */
.contact {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.contact .section-header h2 {
  color: var(--bg-white);
}

.contact .section-header p {
  color: rgba(255,255,255,0.7);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-top: 0.2rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-text);
  font-weight: 400;
}

.contact-item p, .contact-item a {
  color: var(--bg-white);
  font-size: 1.1rem;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-white);
  padding: 3rem;
}

/* Form Enhancements V3 */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  font-family: var(--font-text);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(205, 169, 102, 0.1);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b858;
  color: #FFF;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-light);
  padding: var(--spacing-xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--bg-white);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.testimonial-author h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--primary-color);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
footer {
  background-color: #050b12; /* Azul ainda mais escuro para o rodapé */
  color: var(--bg-white);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in,
  .fade-in.active,
  .btn,
  .service-card {
    transition: none !important;
    transform: none !important;
  }
}

/* Media Queries */
@media (max-width: 992px) {
  .ptam-list {
    grid-template-columns: 1fr;
  }
  .when-to-hire-layout {
    grid-template-columns: 1fr;
  }
  .hire-col-center {
    order: -1;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .header-main {
    padding: 1rem 1.5rem;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(11, 24, 40, 0.98);
    padding: 2rem 0;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.12;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }

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