/* =========================
   Qually — Visual fiel ao print
   Mantive todas as classes/IDs do seu HTML.
   ========================= */

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* cores principais idênticas ao print */
  --primary: #ffb400; /* amarelo dourado do site */
  --primary-dark: #f2a800;
  --white: #ffffff;
  --black: #0b0b0b;
  --muted-dark: #6b6b6b;
  --muted-light: rgba(0, 0, 0, 0.6);
  --section-light: #fafafa; /* branco das seções claras */
  --bg-page: #ffffff; /* geral para seções claras quando precisarem */
  --card-shadow: 0 10px 30px rgba(11, 11, 11, 0.12);
  --card-shadow-2: 0 6px 18px rgba(11, 11, 11, 0.1);
  --glass: rgba(255, 255, 255, 0.06);
  --transition: all 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
  --radius: 12px;
}

/* Body and typography */
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  color: #111;
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Headings */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 18px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 16px;
  }
}

/* Buttons (preserve classes) */
.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

/* Primary hero button */
.btn-hero {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.16);
  padding: 14px 26px;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(255, 180, 0, 0.18);
}

/* Outline button */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 18px;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* full width helper */
.btn-full {
  width: 100%;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: transparent;
  transition: var(--transition);
  padding: 10px 0;
}

#navbar.scrolled {
  background: rgba(11, 11, 11, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.logo span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.logo-white {
  color: #fff;
}
.logo-primary {
  color: var(--primary);
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s ease;
}
.nav-link:hover {
  color: var(--primary);
}

/* Mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* show mobile menu on small screens */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 11, 11, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-menu .btn {
    width: 100%;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/assets/hero-ferrari.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* dark overlay like print */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72) 10%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.45) 80%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  width: 100%;
}
.hero-text {
  max-width: 670px;
  color: #fff;
  animation: fadeIn 0.7s ease-out;
}
.hero-text h1 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.02;
}
.hero-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  margin-bottom: 20px;
}

/* hero buttons container */
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-icon {
  width: 30px;
  height: 46px;
  border: 2px solid var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6px;
}
.scroll-icon::before {
  content: "";
  width: 6px;
  height: 12px;
  background: var(--primary);
  border-radius: 3px;
  display: block;
  animation: scrollY 1.6s infinite;
}
@keyframes scrollY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Sections base */
section {
  padding: 64px 0;
}

/* Section header style that adapts by section type */
.section-header {
  text-align: center;
  margin-bottom: 42px;
}
.section-header h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
.section-header p {
  color: var(--muted-light);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  color: white;
  margin-top: 15px;
}

/* Header divider yellow small bar */
.header-divider {
  width: 72px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin: 18px auto 0;
}

/* ABOUT (section clara) */
.about {
  background: var(--section-light);
  color: #111;
}
.about-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-text p {
  color: #444;
  font-size: 16px;
  margin-bottom: 8px;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.stat-card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.stat-label {
  color: #777;
}

/* Differentials & partners as dark rounded boxes on light bg to match print */
.differentials,
.partners {
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.96),
    rgba(22, 22, 22, 0.94)
  );
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(11, 11, 11, 0.18);
}
.differentials h3,
.partners h3 {
  color: var(--primary);
  margin-bottom: 12px;
}
.differentials ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.differentials li {
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
}

/* ======== SEÇÃO DE SERVIÇOS ======== */
.services {
  background: #f6f6f6;
  padding: 80px 0;
  font-family: "Poppins", sans-serif;
}

.services .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.services .section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.services .section-header p {
  color: #666;
  font-size: 1rem;
  font-weight: 400;
}
.seguradoras h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.txtseguros1 {
  color: #444;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}
.txtseguros2 {
  color: #444;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 25px;
}

.seguradorastxt p {
  color: #444;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
  margin-top: 25px;
}

.seguradorastxt {
  display: flex;
  flex-direction: row;
  gap: 60px;
  justify-content: center;
}

.seguradorastxt p:hover {
  color: var(--primary);
}
/* ======== GRID ======== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

/* ======== CARD ======== */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ======== IMAGEM ======== */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid #ffb400;
}

/* ======== ÍCONE ======== */
.service-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.6rem;
  background: #ffb400;
  color: #000;
  border-radius: 8px;
  padding: 5px 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ======== TÍTULOS E TEXTOS ======== */
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin: 16px 20px 5px;
}

.service-card p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 20px 15px;
}

/* ======== LISTA ======== */
.service-card ul {
  list-style: none;
  margin: 0 20px 20px;
  padding: 0;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.service-card ul li {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 6px;
  position: relative;
  padding-left: 15px;
}

.service-card ul li::before {
  content: "•";
  color: #ffb400;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* ======== RESPONSIVO ======== */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card img {
    height: 160px;
  }
}

/* BEFORE/AFTER (dark band like print) */
.before-after {
  background: linear-gradient(180deg, rgba(11, 11, 11, 1), rgba(30, 30, 30, 1));
  color: #fff;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 12px;
}
.project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  color: #111;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}
.image-container {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
  position: absolute;
  top: 0;
  left: 0;
}
.before-img {
  opacity: 1;
}
.after-img {
  opacity: 0;
}
.project-card:hover .before-img {
  opacity: 0;
}
.project-card:hover .after-img {
  opacity: 1;
}
.image-label {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 12px;
}
.before-label {
  left: 12px;
}
.after-label {
  right: 12px;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.project-card:hover .after-label {
  opacity: 1;
}
.hover-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  transform: scale(0.9);
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover .hover-indicator {
  opacity: 1;
  transform: scale(1);
}
.project-info {
  padding: 16px;
}
.project-info h3 {
  color: #111;
  margin-bottom: 6px;
}
.project-info p {
  color: #666;
}

.txt2 {
  color-interpolation-filters: yellow;
}

/* PORTFOLIO section (light background in print) */
.portfolio {
  background: var(--section-light);
  color: #111;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow-2);
  transition: var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
}
.portfolio-image {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  overflow: hidden;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0px;
}

/* Testimonials (dark strip like print) */
.testimonials {
  background: linear-gradient(180deg, rgba(11, 11, 11, 1), rgba(25, 25, 25, 1));
  color: #fff;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 15px;
  width: 100%;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 18px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  height: 272px;
  width: 320px;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}
.quote-icon {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 8px;
}
.stars {
  color: var(--primary);
  margin-bottom: 10px;
}
.testimonial-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}
.testimonial-author {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 8px;
  color: rgba(255, 255, 255, 0.8);
}

/* LOCATIONS */
.locations {
  background: var(--section-light);
  color: #111;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.location-card {
  border-radius: 12px;
  overflow: hidden;
  transition: ease 0.3s var(--transition);
}

.location-card:hover {
  transform: scale(1.1)
  box-shadow: var(--card-shadow);
}
.location-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  object-fit: contain; /* Mostra a imagem inteira */
  object-position: center; /* Centraliza */
  border-radius: 12px; /* opcional */
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}
.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.44), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #fff;
}

/* CONTACT */
.contact {
  background: var(--section-light);
  color: #111;
}
.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.info-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--card-shadow-2);
  color: #111;
}
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow-2);
}
.contact-form {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  box-shadow: var(--card-shadow-2);
  color: #111;
}
.contact-form h3 {
  color: #111;
  margin-bottom: 12px;
}
.form-group label {
  color: #333;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  color: #111;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: var(--primary);
}

/* FOOTER — dark like print */
.footer {
  background: linear-gradient(180deg, rgba(9, 9, 9, 1), rgba(20, 20, 20, 1));
  color: #fff;
  padding: 44px 0 28px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.footer-logo img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-logo span {
  font-weight: 700;
  color: #fff;
}
.text-primary {
  color: var(--primary);
  font-weight: 700;
}
.footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer a:hover {
  color: var(--primary);
}

/* Social icons */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}
.social-icon:hover {
  transform: translateY(-4px);
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #000;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* WhatsApp floating button (keeps your class) */
.whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1400;
  width: 75px;
  height: 75px;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 30px rgba(255, 180, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(255, 180, 0, 0.22);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  bottom: 28px;
  background: #111;
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  z-index: 1600;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes scrollY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
  .hero-text h1 {
    font-size: 42px;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero-text h1 {
    font-size: 28px;
  }
  .nav-menu {
    gap: 12px;
    padding: 16px;
  }
  .section-header {
    margin-bottom: 28px;
  }

  .section-header p {
    font-size: 0.95rem;
    color: white;
  }

  .project-card,
  .service-card,
  .portfolio-card {
    border-radius: 10px;
  }
}

/* keep smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ======== AJUSTES MOBILE ======== */
@media (max-width: 991px) {
  /* Cabeçalho */
  header,
  .navbar {
    background: #111;
  }

  .navbar-brand img {
    height: 28px;
  }

  .navbar-nav {
    background: #111;
    padding: 20px;
    border-radius: 8px;
  }

  .navbar-nav a {
    color: #fff !important;
    padding: 10px 0;
    display: block;
    font-weight: 500;
  }

  .navbar-toggler {
    border: none;
    background: transparent;
  }

  /* Hero */
  .hero {
    padding: 100px 20px 60px;
    text-align: center;
    background-size: cover;
    background-position: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .hero .btn,
  .hero a.btn {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
  }

  /* Seções gerais */
  section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* Cards de serviço */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    border-radius: 10px;
  }

  .service-card img {
    height: 200px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin: 15px 16px 5px;
  }

  .service-card p {
    font-size: 0.9rem;
    margin: 0 16px 12px;
  }

  .service-card ul {
    margin: 0 16px 16px;
  }

  .service-icon {
    top: 12px;
    left: 12px;
    font-size: 1.3rem;
    padding: 4px 7px;
  }

  /* Footer */
  footer {
    text-align: center;
  }
  footer .col {
    margin-bottom: 20px;
  }

  /* Botão flutuante (whatsapp, etc) */
  .floating-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa a tela inteira */
  background: url("/hero-ferrari.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

/* camada escura sobre a imagem */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.248); /* escurece o fundo */
  z-index: 1;
}

/* conteúdo por cima da imagem */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 900px;
  padding: 0 1rem;
}

/* título e texto */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e5e5e5;
}

/* botões */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn-hero {
  background: #ffc300;
  color: #000;
  font-weight: 700;
  border: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero .btn-hero:hover {
  background: #ffb100;
  transform: scale(1.05);
}

.hero .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hero .btn-outline:hover {
  background: #fff;
  color: #000;
}

/* scroll indicador */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-icon {
  width: 26px;
  height: 42px;
  border: 2px solid #ffc300;
  border-radius: 16px;
  position: relative;
}

.scroll-icon::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #ffc300;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================
   AJUSTES DE DESIGN MOBILE FINAL
   ============================= */

@media (max-width: 768px) {
  /* GERAL */
  body {
    font-size: 15px;
    overflow-x: hidden;
  }

  section {
    padding: 50px 16px;
  }

  .container {
    padding: 0 14px;
  }

  /* HERO */
  .hero {
    min-height: 90vh;
    text-align: center;
    padding: 100px 20px 60px;
    background-position: center;
  }

  .hero-content {
    text-align: center;
    padding: 0 10px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
  }

  .btn-hero,
  .btn-outline {
    width: 100%;
    max-width: 320px;
    font-size: 1rem;
    padding: 14px 20px;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  /* NAVBAR */
  #navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 8px 0;
  }

  .nav-content {
    height: 60px;
  }

  .nav-menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    padding: 25px 0;
  }

  /* SOBRE / ABOUT */
  .about {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  /* SERVIÇOS */
  .services {
    padding: 60px 0;
  }

  .service-card img {
    height: 200px;
  }

  .services .section-header h2 {
    font-size: 1.8rem;
  }

  /* TESTEMUNHOS */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    width: 100%;
    height: auto;
  }

  /* LOCALIZAÇÕES */
  .locations-grid {
    grid-template-columns: 1fr;
  }

  /* FOOTER */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  /* BOTÃO WHATSAPP */
  .whatsapp-btn {
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 15px;
  }
}

/* =============================
   AJUSTE SEÇÃO SEGURADORAS
   ============================= */

.seguradoras {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.seguradoras h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.seguradoras p {
  color: #333;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 12px;
}

/* Grid das seguradoras */
.seguradorastxt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  margin: 18px auto;
  max-width: 800px;
}

.seguradorastxt p {
  font-weight: 600;
  color: #222;
  background: #f9f9f9;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .seguradoras {
    padding: 40px 14px;
  }

  .seguradoras h2 {
    font-size: 1.8rem;
  }

  .seguradoras p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .seguradorastxt {
    gap: 10px 12px;
    justify-content: center;
  }

  .seguradorastxt p {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

