/* G CAR'S Automotive Services - Red/Black trust design */
:root {
  --primary: #E30613;
  --primary-dark: #B0000C;
  --primary-light: #FF3B3F;
  --accent: #FF1A1A;
  --dark: #0A0A0A;
  --dark-2: #151515;
  --gray-50: #F8F8F8;
  --gray-100: #F0F0F0;
  --gray-200: #E0E0E0;
  --gray-300: #C0C0C0;
  --gray-500: #888888;
  --gray-600: #666666;
  --gray-700: #444444;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.08);
  --shadow: 0 4px 12px -2px rgb(0 0 0 / 0.15);
  --shadow-lg: 0 12px 24px -4px rgb(0 0 0 / 0.2);
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227,6,19,0.3);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 1rem;
}
.logo-link {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 800; font-size: 1.4rem; color: white; letter-spacing: -0.02em;
}
.logo-link img { height: 48px; width: auto; object-fit: contain; }
.logo-text span { color: var(--primary); }

.nav-links { display: none; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: #ccc; }
.nav-links a:hover, .nav-links a.active { color: white; }

.nav-cta { display: none; gap: 0.6rem; align-items: center; }
.lang-switch {
  display: flex; gap: 0.25rem; background: rgba(255,255,255,0.1);
  border-radius: 9999px; padding: 0.2rem;
}
.lang-switch button {
  background: transparent; border: none; color: #aaa; font-weight: 600;
  font-size: 0.8rem; padding: 0.3rem 0.6rem; border-radius: 9999px; cursor: pointer;
}
.lang-switch button.active { background: var(--primary); color: white; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; padding: 0.75rem 1.5rem;
  border-radius: 9999px; border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white !important;
  box-shadow: 0 4px 14px 0 rgba(227, 6, 19, 0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(227, 6, 19, 0.5);
  color: white !important;
}
.btn-secondary {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.1); color: white !important; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-whatsapp { background: #25D366; color: white !important; }
.btn-whatsapp:hover { background: #1da851; color: white !important; }

.mobile-toggle {
  display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.mobile-toggle span { display: block; width: 24px; height: 2.5px; background: white; border-radius: 2px; }

.mobile-menu {
  display: none; position: absolute; top: 76px; left: 0; right: 0;
  background: var(--dark); border-bottom: 1px solid rgba(227,6,19,0.3);
  padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.85rem 0; font-weight: 500; color: #ccc;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu .btn { margin-top: 1rem; width: 100%; }

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0A0A0A 0%, #1A0505 40%, #3A0000 100%);
  color: white; padding: 4.5rem 0 5rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E30613' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(227,6,19,0.15); border: 1px solid rgba(227,6,19,0.4);
  padding: 0.4rem 0.9rem; border-radius: 9999px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--primary-light); }
.hero-sub { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; max-width: 560px; line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; font-size: 0.9rem; opacity: 0.9; }
.hero-trust-item { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--primary); }

/* SECTIONS */
.section { padding: 4.5rem 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--dark); color: white; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem); font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 0.75rem; color: var(--dark);
}
.section-dark .section-header h2 { color: white; }
.section-header p { color: var(--gray-600); font-size: 1.1rem; }
.section-dark .section-header p { color: #aaa; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-card {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.75rem; transition: all 0.25s; display: flex; flex-direction: column; height: 100%;
}
.service-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px; background: linear-gradient(135deg, #FEE2E2, #FECACA);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--primary);
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.service-card p { color: var(--gray-600); font-size: 0.95rem; flex-grow: 1; margin-bottom: 1.25rem; }
.service-price { font-weight: 700; color: var(--primary); font-size: 1.1rem; margin-bottom: 1rem; }
.service-card .btn { width: 100%; }

/* WHY / STATS */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.why-card { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-num {
  flex-shrink: 0; width: 48px; height: 48px; background: var(--primary); color: white;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35rem; }
.why-card p { color: var(--gray-600); font-size: 0.95rem; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.review-card {
  background: white; border-radius: var(--radius-lg); padding: 1.75rem;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.review-stars { color: #FBBF24; font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-text { font-size: 1rem; color: var(--gray-700); margin-bottom: 1.25rem; line-height: 1.65; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), #FF6B6B);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
}
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-source { font-size: 0.8rem; color: var(--gray-500); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.blog-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all 0.25s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-img {
  height: 160px; background: linear-gradient(135deg, #0A0A0A, #E30613);
  display: flex; align-items: center; justify-content: center; color: white; font-size: 2.5rem;
}
.blog-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block; background: #FEE2E2; color: var(--primary-dark);
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 9999px; margin-bottom: 0.75rem;
}
.blog-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card p { color: var(--gray-600); font-size: 0.9rem; flex-grow: 1; margin-bottom: 1rem; }
.blog-meta { font-size: 0.8rem; color: var(--gray-500); }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; padding: 3.5rem 0; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.75rem; font-size: 1.1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* FOOTER */
.footer { background: var(--dark); color: #aaa; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo-link { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; line-height: 1.65; max-width: 280px; }
.footer h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a { color: #aaa; font-size: 0.95rem; }
.footer a:hover { color: white; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 0.85rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; font-size: 0.85rem;
}

/* BOOKING */
.booking-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.booking-form-card {
  background: white; border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-300);
  border-radius: 10px; font-size: 1rem; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(227,6,19,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.service-options { display: grid; gap: 0.75rem; }
.service-option { position: relative; }
.service-option input { position: absolute; opacity: 0; }
.service-option label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.15rem; border: 2px solid var(--gray-200); border-radius: 12px;
  cursor: pointer; transition: all 0.2s; font-weight: 500;
}
.service-option input:checked + label { border-color: var(--primary); background: #FEF2F2; }
.service-option label:hover { border-color: var(--primary-light); }
.time-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.time-slot { position: relative; }
.time-slot input { position: absolute; opacity: 0; }
.time-slot label {
  display: block; text-align: center; padding: 0.7rem; border: 2px solid var(--gray-200);
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: all 0.2s;
}
.time-slot input:checked + label { border-color: var(--primary); background: var(--primary); color: white; }
.time-slot label:hover { border-color: var(--primary-light); }
.booking-sidebar {
  background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.75rem;
  border: 1px solid var(--gray-200); height: fit-content;
}
.booking-sidebar h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-item { display: flex; gap: 0.75rem; margin-bottom: 1.1rem; font-size: 0.95rem; }
.sidebar-item svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }

/* ABOUT */
.about-hero { display: grid; gap: 2.5rem; align-items: center; }
.about-content h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.about-content p { color: var(--gray-600); margin-bottom: 1rem; font-size: 1.05rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.stat-box {
  background: var(--gray-50); border-radius: var(--radius); padding: 1.25rem; text-align: center;
  border: 1px solid var(--gray-200);
}
.stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--gray-600); margin-top: 0.25rem; }

/* ARTICLE */
.article { max-width: 780px; margin: 0 auto; }
.article header { margin-bottom: 2.5rem; }
.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.25;
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--gray-500); font-size: 0.9rem; margin-bottom: 1.5rem; }
.article-content h2 { font-size: 1.45rem; font-weight: 700; margin: 2rem 0 0.85rem; color: var(--dark); }
.article-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.65rem; }
.article-content p { margin-bottom: 1.15rem; color: var(--gray-700); font-size: 1.05rem; line-height: 1.75; }
.article-content ul, .article-content ol { margin: 0 0 1.25rem 1.5rem; color: var(--gray-700); }
.article-content li { margin-bottom: 0.5rem; line-height: 1.65; }
.article-content strong { color: var(--dark); }
.callout {
  background: #FEF2F2; border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin: 1.75rem 0;
}
.callout p { margin: 0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); height: 350px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: #FEE2E2; color: var(--primary-dark); font-size: 0.8rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: 9999px;
}

.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; padding: 0.75rem 1rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  z-index: 999; gap: 0.75rem;
}
.mobile-sticky-cta .btn { flex: 1; }

/* LANG */
[data-lang="pt"] { display: none; }
body.lang-pt [data-lang="en"] { display: none; }
body.lang-pt [data-lang="pt"] { display: block; }
body.lang-pt span[data-lang="pt"] { display: inline; }
body.lang-pt .btn span[data-lang="pt"] { display: inline; }

/* RESPONSIVE */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .mobile-toggle { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .about-hero { grid-template-columns: 1.1fr 0.9fr; }
  .booking-layout { grid-template-columns: 1.4fr 0.9fr; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3.25rem 0; }
}
