/* 
  AC Consultoria - Design System & Stylesheet
  Inspirado em AJ Empresas, focado em agilidade e excelência corporativa.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #0f172a;       /* Slate 900 */
  --primary-light: #1e293b; /* Slate 800 */
  --accent: #d97706;        /* Amber 600 - Ouro corporativo */
  --accent-hover: #b45309;  /* Amber 700 */
  --accent-light: #fef3c7;   /* Amber 100 */
  --text-main: #334155;     /* Slate 700 */
  --text-muted: #64748b;    /* Slate 500 */
  --text-light: #f8fafc;    /* Slate 50 */
  --bg-light: #f8fafc;      /* Fundo suave */
  --bg-dark: #0f172a;       /* Fundo escuro */
  --white: #ffffff;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 110px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-bg-dark h2, .section-bg-dark h3 {
  color: var(--white);
}

.text-accent {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-light:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 90px;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--glass-border);
}

header.scrolled .nav-link {
  color: var(--primary);
}

header.scrolled .logo-container img {
  height: 68px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 82px;
  width: auto;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  padding: 8px 0;
}

header.scrolled .nav-link {
  color: var(--primary-light);
}

header.scrolled .nav-link:hover, 
.nav-link:hover {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

header.scrolled .social-icon {
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--primary);
}

.social-icon:hover {
  background-color: var(--accent);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

header.scrolled .menu-toggle span {
  background-color: var(--primary);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&q=80&w=1920') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: var(--header-height);
  position: relative;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--accent) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating Elements for Premium Feel */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 1;
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-bg-dark .section-desc {
  color: rgba(248, 250, 252, 0.7);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 28px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--accent);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Brand Divider Section */
.brand-divider-section {
  background-color: #031833;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.brand-divider-logo-wrapper {
  display: inline-block;
  position: relative;
  transition: var(--transition);
}

.brand-divider-logo {
  max-height: 270px;
  width: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(217, 119, 6, 0.3); /* Borda fina cor ouro corporativo */
  box-shadow: 0 10px 30px rgba(3, 24, 51, 0.5), 0 0 20px rgba(217, 119, 6, 0.1);
  transition: var(--transition);
}

.brand-divider-logo-wrapper:hover .brand-divider-logo {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(3, 24, 51, 0.6), 0 0 30px rgba(217, 119, 6, 0.25);
}

/* About Us Section */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  position: relative;
}

.about-experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--accent);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.about-experience-badge span:first-child {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-features {
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--white);
}

.about-feature-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Contact & Info Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-card {
  background-color: var(--white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-card h3 {
  font-size: 1.75rem;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--primary);
  background-color: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

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

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-box {
  background-color: var(--primary-light);
  padding: 30px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.info-box:hover {
  transform: translateX(5px);
  background-color: #1e293b;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(217, 119, 6, 0.15);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.info-details p, .info-details a {
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.95rem;
}

.info-details a:hover {
  color: var(--accent);
}

/* Footer */
footer {
  background-color: #020617;
  color: rgba(248, 250, 252, 0.75);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 90px;
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20ba5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Element Scroll Fade Classes */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--primary);
    flex-direction: column;
    padding: 60px 40px;
    gap: 30px;
    transition: var(--transition);
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    color: var(--white) !important;
    font-size: 1.15rem;
  }
  
  .nav-actions {
    display: none;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
