/* ============================================
   AKR Topografia — Main Stylesheet
   Colors: #ffc803 (gold) #1a1a1a (dark) #556B2F (olive)
   Background: #ffff99 (light yellow)
   ============================================ */

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

:root {
  --gold: #ffc803;
  --dark: #1a1a1a;
  --olive: #556B2F;
  --bg: #ffff99;
  --white: #ffffff;
  --gray-light: #f5f5e8;
  --gray: #666;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --radius: 12px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* --- Utility --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
p { margin-bottom: 16px; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 12px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--dark);
  color: var(--gold);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-olive {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}
.btn-olive:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: .85rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--gold); }
.top-bar a:hover { color: var(--white); }
.top-bar-social a {
  margin-left: 12px;
  font-size: 1rem;
}

/* --- Header / Navigation --- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo img {
  height: 70px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark);
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav .active > a {
  background: var(--gold);
  color: var(--dark);
}
/* Dropdown */
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 999;
}
.main-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown a {
  padding: 10px 20px;
  border-radius: 0;
  font-size: .85rem;
}
/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .25;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}
.hero-content h1 span { color: var(--gold); }
.hero-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Floating shapes for hero --- */
.hero-shapes {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  z-index: 1;
  overflow: hidden;
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
}
.hero-shapes .shape-1 {
  width: 400px; height: 400px;
  background: var(--gold);
  top: -100px; right: -50px;
}
.hero-shapes .shape-2 {
  width: 250px; height: 250px;
  background: var(--olive);
  bottom: 50px; right: 100px;
}
.hero-shapes .shape-3 {
  width: 150px; height: 150px;
  background: var(--gold);
  top: 50%; right: 30%;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-icon {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark);
}
.service-card-body { padding: 28px; }
.service-card-body h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.service-card-body p {
  color: var(--gray);
  font-size: .92rem;
  margin-bottom: 16px;
}
.service-card-link {
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--olive);
}
.service-card-link:hover { color: var(--gold); }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--dark);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.stat-item p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- About / CTA sections --- */
.about-section { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-image .experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--gold);
  color: var(--dark);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.3;
  box-shadow: var(--shadow);
}
.about-text h2 { margin-bottom: 16px; }
.about-text .feature-list { margin: 24px 0; }
.about-text .feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-weight: 500;
}
.about-text .feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 800;
}

/* --- Testimonials --- */
.testimonials-section { background: var(--gray-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: .4;
}
.testimonial-stars {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 20px;
  font-size: .95rem;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--dark);
  font-size: 1.1rem;
}
.testimonial-author-info h4 { font-size: .95rem; margin-bottom: 2px; }
.testimonial-author-info span { font-size: .82rem; color: var(--gray); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--olive) 0%, #3d4f22 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: var(--gold);
  opacity: .06;
  border-radius: 50%;
  top: -100px; right: -50px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.1rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark), #2a2a2a);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--gold);
  opacity: .05;
  border-radius: 50%;
  top: -200px; right: -100px;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .9rem;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.5); }

/* --- Service Detail --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.service-detail-content h2 { margin: 24px 0 12px; }
.service-detail-content ul { margin: 16px 0; }
.service-detail-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.service-detail-content ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.service-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.service-sidebar h3 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gold);
}
.service-sidebar ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.service-sidebar ul li:last-child { border: none; }
.service-sidebar ul li a {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-sidebar ul li a:hover { color: var(--gold); }
.service-image-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.service-image-banner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
}

/* --- Clients --- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  align-items: center;
}
.client-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  min-height: 120px;
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.client-card img {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: .6;
  transition: all var(--transition);
}
.client-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.contact-info-card:last-child { border: none; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-text p { font-size: .9rem; color: var(--gray); margin: 0; }
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0d0;
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 48px;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.footer-col p { font-size: .9rem; line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-logo img { height: 60px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
  font-size: .85rem;
}
.footer-bottom a { color: var(--gold); }

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
}

/* --- Responsive --- */
.nav-close { display: none; }
@media (max-width: 992px) {
  .about-grid,
  .service-detail-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 70vh; }
  .hero-shapes { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 9998;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
  }
  .main-nav.open { display: flex; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 320px;
  }
  .main-nav a {
    padding: 14px 20px;
    font-size: 1.05rem;
    text-align: center;
  }
  .main-nav .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0;
  }
  .nav-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
  }
  .top-bar .container { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-item h3 { font-size: 2rem; }
  .section-padding { padding: 48px 0; }
  .hero-content h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* Projetos atendidos (nossos-clientes) */
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px}
.project-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.08)}
.project-card img{width:100%;height:220px;object-fit:cover;display:block}
.project-card div{padding:18px 20px}.project-card h3{margin:0 0 6px;font-size:1.1rem}.project-card p{margin:0;font-size:.95rem;color:#555}
