:root {
  --primary-color: #ff6600;
  --secondary-color: #f5f5f5;
  --background-color: #111;
  --text-color: #fff;
  --text-dark: #222;
  --link-color: #ff6600;
  --cta-hover-color: #e65700;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

@font-face {
  font-family: 'ArtegraSans';
  src: url('/assets/fonts/artegra-sans-font-artegra.woff2') format('woff2'),
    url('/assets/fonts/artegra-sans-font-artegra.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html,
body {
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #111;
  color: #f5f5f5;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Navigation */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.5rem;
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle-label span {
  display: block;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
}

.main-nav {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 4px 12px var(--shadow-color);
  z-index: 500;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
header.hero {
  position: relative;
  height: 92vh;
  background: url('/assets/imagens/oficina-fachada-exterior-ribeirao-preto.webp') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

header.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo{
  scale: 1.6;
}

.hero-logo:hover {
  transform: scale(1.3);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  max-width: 720px;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #fff;
}

.price-badge {
  display: inline-block;
  background: radial-gradient(circle at 30% 30%, #ff9900, #ff6600);
  color: #111;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 28px 36px;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  margin-bottom: 25px;
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
}

.promo-badge {
  background: #ff4500;
  color: #fff;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 15px;
  font-size: 1rem;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 15px rgba(255, 102, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
  }
}

.cta,
.cta-buttons .cta {
  display: inline-block;
  padding: 15px 32px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff6600, #ffaa00);
  color: #111;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.5);
  animation: cta-gloom 1.6s infinite ease-in-out;
}

.cta:hover,
.cta-buttons .cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.7);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* Benefits/Services Section */
section.services {
  padding: 60px 20px;
  background: #1a1a1a;
  text-align: center;
}

section.services h2 {
  color: #ff6600;
  margin-bottom: 40px;
  font-size: 2rem;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1100px;
  margin: auto;
  padding: 0 10px;
}

.benefit-card {
  background: #222 url('https://www.transparenttextures.com/patterns/asfalt-light.png');
  background-size: cover;
  padding: 28px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.benefit-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ff6600;
}

.benefit-card h3 {
  margin: 10px 0;
  font-size: 1.3rem;
  color: #ff6600;
}

/* Final CTA Section */
section.cta-final {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #111, #1a1a1a 40%, #ff6600 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.cta-final h2 {
  color: #fff200;
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.cta-final p {
  color: #fff;
  margin-bottom: 22px;
  font-size: 1.1rem;
  text-align: center;
}

.price-disclaimer {
  display: block;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff200;
  margin-bottom: 12px;
}

/* Testimonials Section */
.testimonials {
  background: #181818;
  padding: 50px 20px;
  text-align: center;
}

.testimonials h2 {
  color: #ff6600;
  margin-bottom: 30px;
  font-size: 1.7rem;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.testimonial {
  background: #232323;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 340px;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  color: #ff6600;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

footer a {
  color: #ff6600;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

footer a:hover {
  color: #ffaa00;
  transform: scale(1.2);
}

.footer-social {
  margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cta-gloom {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.5);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 8px 28px rgba(255, 102, 0, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.5);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

/* Scroll to top button */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary-color);
  color: var(--text-color);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--shadow-color);
  display: none;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--cta-hover-color);
}

/* Utility Classes */
.hidden {
  display: none !important;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  color: var(--text-color);
}

table th,
table td {
  padding: 0.75rem 1rem;
  border: 1px solid #444;
  text-align: left;
}

table th {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.dark-mode {
  background-color: #121212;
  color: var(--text-color);
}

.dark-mode .main-nav {
  background: rgba(20, 20, 20, 0.85);
}

.dark-mode .benefit-card {
  background-color: #222;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

.container,
section,
.hero-content,
.main-nav,
.cta-buttons {
  max-width: 100%;
  box-sizing: border-box;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 4.5rem;
    right: 1.5rem;
    left: auto;
    margin: 0;
    width: 80vw;
    max-width: 300px;
    transform: none;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.97);
    border-radius: 1rem;
    height: auto;
    overflow: hidden;
    z-index: 999;
    display: none;
    box-shadow: 0 4px 16px var(--shadow-color);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-toggle:checked + .nav-toggle-label + .main-nav {
    display: block;
    animation: dropdownFadeIn 0.25s;
  }
  @keyframes dropdownFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .social-top {
    margin-bottom: 2.5rem;
  }
  .overlay {
    padding-top: 1.6rem;
    padding-bottom: 2rem;
  }
  .hero-content {
    padding: 0.75rem 1rem;
    max-height: none;
  }
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    z-index: 10002;
  }
  .hero .cta,
  .cta-buttons .cta {
    width: clamp(220px, 80%, 420px);
    padding: 10px 18px;
    font-size: 1rem;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10003;
  }
  .promo-badge {
    margin-bottom: 8px;
  }
  .hero {
    min-height: calc(100vh - 76px);
  }
}

@media (min-width: 769px) {
  .main-nav {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 2.5rem;
    border-radius: 2rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    z-index: 1;
    display: flex;
    justify-content: center;
  }
  .overlay {
    align-items: center;
  }
  .social-top {
    margin: 0 0 1.5rem;
  }
  .floating-cta {
    right: 40px;
    bottom: 30px;
  }
  .floating-cta a {
    min-width: 180px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }
  .floating-cta a .label {
    font-size: 1rem !important;
    display: inline-block !important;
  }
  .floating-cta i {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 600px) {
  .benefits {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  body {
    padding: 0 !important;
    margin: 0 !important;
  }
  section,
  .cta-final,
  .testimonials,
  .services {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .hero-title {
    font-size: 1.1rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .cta-final h2 {
    font-size: 1.3rem;
  }
  .cta-final p {
    font-size: 1rem;
  }
  .cta,
  .cta-buttons .cta {
    font-size: 1rem;
    padding: 12px 18px;
  }
  .benefit-card {
    padding: 18px 8px;
  }
  .testimonials {
    padding: 30px 5px;
  }
  .services {
    padding: 30px 5px;
  }
}

@media (max-width: 420px) {
  .overlay {
    padding-top: 1.2rem;
    padding-bottom: 2.4rem;
  }
  .hero .cta,
  .cta-buttons .cta {
    width: calc(100% - 32px);
    padding: 10px 14px;
    font-size: 0.98rem;
  }
  .hero {
    min-height: calc(100vh - 90px);
  }
}