:root {
  --brand-navy: #183153;
  --brand-blue: #2ea3f2;
  --brand-blue-dark: #0f7fd1;
  --brand-yellow: #f0b939;
  --brand-yellow-dark: #d9a022;
  --brand-light: #f4f8fc;
  --whats-green: #25d366;
  --whats-green-dark: #1ebe5b;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: #1c2b3a;
  background: #ffffff;
}

h1, h2, h3, .section-title {
  font-family: 'Poppins', sans-serif;
}

/* ===== Header ===== */
.site-header {
  background: var(--brand-navy);
  border-top: 4px solid var(--brand-yellow);
}

.logo-img {
  height: 46px;
  width: auto;
}

.small-tel {
  font-size: 0.95rem;
}

/* ===== Buttons ===== */
.btn-whats {
  background-color: var(--whats-green);
  border-color: var(--whats-green);
  color: #fff;
}
.btn-whats:hover, .btn-whats:focus {
  background-color: var(--whats-green-dark);
  border-color: var(--whats-green-dark);
  color: #fff;
}

.btn-cta {
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
}

.btn-cta-wide {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(135deg, rgba(24,49,83,0.55) 0%, rgba(15,127,209,0.45) 100%),
    url('../img/banner-home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.badge-local {
  display: inline-flex;
  align-items: center;
  background: rgba(240,185,57,0.15);
  border: 1px solid rgba(240,185,57,0.4);
  color: var(--brand-yellow);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-local-dark {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--brand-yellow);
}

.hero-title {
  font-size: 0.85rem;
  font-weight: 200;
  line-height: 1.25;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 25px;
  margin-bottom: 25px;
}

.hero-subtitle {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 10px;
}

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

.hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 0.9rem;
}

.hero-lead {
  font-weight: 700;
  color: #fff;
  font-size: 1.15rem;
}

.trust-strip {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.trust-strip::-webkit-scrollbar {
  display: none;
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-strip i {
  color: var(--brand-yellow);
}

.hero-photo {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

.hero-carousel {
  position: relative;
  cursor: grab;
  user-select: none;
}

.hero-carousel:active {
  cursor: grabbing;
}

.hero-carousel .hero-photo {
  box-shadow: none;
  border-radius: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
  pointer-events: none;
}

.hero-carousel .carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  margin-top: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #d6e0eb;
  padding: 0;
  transition: background .2s ease;
}

.carousel-dots button.active {
  background: var(--brand-yellow);
}

/* ===== Sections ===== */
.section-title {
  font-weight: 700;
  font-size: 2rem;
  color: var(--brand-navy);
}

.section-sub {
  color: #5b6b7c;
  font-size: 1.05rem;
}

.bg-light-section {
  background: var(--brand-light);
}

/* ===== Sinais de defeito ===== */
.sign-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--brand-light);
  border: 1px solid #e3ecf5;
  border-left: 3px solid var(--brand-yellow);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--brand-navy);
  height: 100%;
}

.sign-item i {
  font-size: 1.4rem;
  color: var(--brand-yellow-dark);
  flex-shrink: 0;
}

/* ===== Serviços ===== */
.service-card {
  background: #fff;
  border: 1px solid #e3ecf5;
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10,37,64,0.1);
}

.service-card i {
  font-size: 2rem;
  color: var(--brand-blue);
  margin-bottom: 14px;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.service-card p {
  color: #5b6b7c;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Marcas Parceiras ===== */
.brand-card {
  background: var(--brand-light);
  border: 1px solid #e3ecf5;
  border-radius: 14px;
  padding: 14px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-yellow);
  box-shadow: 0 12px 28px rgba(240,185,57,0.25);
}

.brand-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.brand-logo-crop {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.brand-logo-crop img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 0;
}

.brand-logo-crop--lg { aspect-ratio: 500 / 145; }
.brand-logo-crop--samsung { aspect-ratio: 500 / 150; }
.brand-logo-crop--midea { aspect-ratio: 500 / 150; }
.brand-logo-crop--philco { aspect-ratio: 500 / 195; }

/* ===== Códigos de erro ===== */
.error-card {
  background: #fff;
  border: 1px solid #e3ecf5;
  border-left: 3px solid var(--brand-blue);
  border-radius: 14px;
  padding: 22px 20px;
  height: 100%;
}

.error-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.error-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.error-codes span {
  background: var(--brand-light);
  color: var(--brand-blue-dark);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #e3ecf5;
}

/* ===== Por que escolher ===== */
.why-section {
  background: var(--brand-navy);
}

.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 18px;
  color: #fff;
  font-weight: 600;
  height: 100%;
}

.why-item i {
  color: var(--brand-yellow);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ===== Depoimentos ===== */
.testimonial-card {
  background: #fff;
  border: 1px solid #e3ecf5;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-media {
  height: 190px;
  overflow: hidden;
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stars {
  color: var(--brand-yellow);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.testimonial-text {
  color: #33465a;
  font-size: 0.95rem;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-navy);
  margin-top: 10px;
}

.google-icon {
  width: 16px;
  height: 16px;
}

.google-icon-btn {
  width: 20px;
  height: 20px;
}

.btn-google {
  background-color: #fff;
  border: 1px solid #dadce0;
  color: #3c4043;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-google:hover, .btn-google:focus {
  background-color: #f8f9fa;
  border-color: #dadce0;
  color: #3c4043;
}

.google-logo-full-inline {
  height: 18px;
  width: auto;
}

/* ===== Selo Google ===== */
.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 600px;
  background: var(--brand-light);
  border: 1px solid #e3ecf5;
  border-radius: 14px;
  padding: 18px 28px;
}

.google-badge-logo {
  height: 28px;
  width: auto;
}

.google-badge-stars {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.google-badge-stars .stars {
  margin-bottom: 2px;
}

.google-badge-stars span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
}

/* ===== FAQ ===== */
.accordion-item {
  border-left: 3px solid transparent;
}

.accordion-button:not(.collapsed) {
  background-color: var(--brand-light);
  color: var(--brand-blue-dark);
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-left-color: var(--brand-yellow);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(240,185,57,0.35);
}

/* ===== CTA final ===== */
.final-cta {
  background:
    linear-gradient(135deg, rgba(15,127,209,0.55) 0%, rgba(24,49,83,0.6) 100%),
    url('../img/banner-home.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.final-cta h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2rem;
}

.final-cta a.text-white:hover {
  color: var(--brand-yellow) !important;
}

.map-wrap {
  max-width: 960px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-navy);
  border-top: 3px solid var(--brand-yellow);
}

.social-link {
  color: #fff;
  transition: color .2s ease;
}

.social-link:hover {
  color: var(--brand-yellow);
}

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: var(--whats-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}

.whats-float:hover {
  background: var(--whats-green-dark);
  color: #fff;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsivo ===== */
@media (max-width: 767.98px) {
  .hero-subtitle { font-size: 1.7rem; }
  .section-title { font-size: 1.6rem; }
  .map-wrap iframe { height: 280px; }
  .trust-strip li { font-size: 0.85rem; padding: 7px 10px; gap: 6px; }
  .trust-strip { gap: 8px !important; }
}
