/* ==========================================================================
   Safe Roofing Pros — style.css (refatorado)
   - Organização por seções
   - Responsivo melhor (especialmente HERO)
   - Ajustes de performance mobile (menos blur/backdrop-filter pesado)
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- PALETA BLUE TECH (Safe Roofing) --- */
  --navy: #0f172a;
  --navy-light: #1e293b;
  --brand-blue: #0ea5e9;
  --brand-dark: #0284c7;

  --white: #ffffff;
  --bg-light: #f8fafc;

  /* --- CORES DE TEXTO --- */
  --text-main: #334155;   /* Slate 700 */
  --text-dark: #1e293b;   /* Slate 800 */
  --text-muted: #64748b;  /* Slate 500 */

  /* --- EFEITOS --- */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -5px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 0 15px rgba(14, 165, 233, 0.30);

  /* --- DIMENSÕES --- */
  --radius-btn: 999px;
  --radius-card: 16px;

  --header-height: 90px;
  --top-bar-height: 46px;
  --top-bar-mobile: 40px;

  /* --- LAYOUT --- */
  --container-max: 1240px;
  --container-pad: clamp(16px, 4vw, 24px);

  /* --- CAROUSEL (desktop default) --- */
  --card-width: 280px;
  --card-height: 380px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.8;
  padding-top: calc(var(--header-height) + var(--top-bar-height));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a,
button {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  width: 100%;
}

.section-padding {
  padding-block: clamp(72px, 10vw, 120px);
}

.bg-light {
  background: var(--white);
}

.highlight {
  color: var(--brand-blue);
  font-style: italic;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--navy);
}

h1 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 400;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--top-bar-height);
  background: var(--navy);
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.80);
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-item i {
  color: var(--brand-blue);
  font-size: 12px;
}

.top-item:hover {
  color: #ffffff;
}

.top-separator {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.15);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.70);
}

.top-social a:hover {
  color: var(--brand-blue);
  background: rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  position: fixed;
  top: var(--top-bar-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;

  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.btn-estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--navy);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  white-space: nowrap;

  border: 2px solid var(--navy);
}

.btn-estimate:hover {
  background: transparent;
  color: var(--navy);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Melhor respiro (menos “vazio” no mobile via media query) */
  padding-block: clamp(56px, 6vw, 90px);
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.06);
  filter: blur(2px);

  transition: opacity 1.4s ease, transform 6s ease, filter 1.4s ease;
  will-change: opacity, transform, filter;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    radial-gradient(
      circle at 18% 45%,
      rgba(15, 23, 42, 0.64) 0%,
      rgba(15, 23, 42, 0.86) 45%,
      rgba(15, 23, 42, 0.98) 100%
    );
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 0, 0, 0.00) 46%,
      rgba(0, 0, 0, 0.32) 100%
    );
}

/* Layout do conteúdo do hero (texto + carousel) */
.hero-content-wrapper {
  position: relative;
  z-index: 10;

  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;

  animation: heroFadeIn 1.0s ease forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Texto */
.hero-text-block {
  color: #ffffff;
  padding-right: 20px;
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 18px;
  border-radius: 999px;

  border: 1px solid rgba(14, 165, 233, 0.30);
  background: rgba(15, 23, 42, 0.45);
  color: #bae6fd;

  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;

  margin-bottom: 22px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform 0.25s ease, background-color 0.35s ease, border-color 0.35s ease;
  animation: fadeUp 0.6s ease both;
}

.badge-hero:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(14, 165, 233, 0.45);
}

.hero h1 {
  margin-bottom: 18px;
  color: #ffffff;
  line-height: 1.08;
  font-size: clamp(40px, 5vw, 72px);

  animation: fadeUp 0.85s ease both;
  animation-delay: 0.08s;
}

.hero .highlight {
  color: #e0f2fe;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 22px;

  font-size: 1.06rem;
  color: rgba(203, 213, 225, 0.92);
  font-weight: 350;
  line-height: 1.7;

  animation: fadeUp 0.95s ease both;
  animation-delay: 0.18s;
}

/* Fallback se usar <p> sem classe */
.hero p {
  max-width: 520px;
  margin-bottom: 38px;

  font-size: 1.125rem;
  color: #cbd5e1;
  font-weight: 300;
  line-height: 1.8;

  animation: fadeUp 0.95s ease both;
  animation-delay: 0.18s;
}

/* Trust pills */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: -16px 0 28px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 12px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(226, 232, 240, 0.92);

  font-size: 13px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform 0.25s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.hero-trust span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botões do hero */
.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;

  animation: fadeUp 1.05s ease both;
  animation-delay: 0.28s;
}

/* Botões */
.btn-primary,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 36px;
  border-radius: var(--radius-btn);

  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;

  cursor: pointer;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  border: 0;

  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.25);
  transition: transform 0.25s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.40);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform 0.25s ease, border-color 0.35s ease, background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.btn-outline-white:hover {
  border-color: rgba(14, 165, 233, 0.75);
  color: #bae6fd;
  background: rgba(14, 165, 233, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.18);
}

/* ==========================================================================
   HERO — CAROUSEL
   ========================================================================== */
.carousel-section-wrapper {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  position: relative;

  animation: fadeUp 1.15s ease both;
  animation-delay: 0.35s;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1000px;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.carousel-card {
  position: absolute;
  width: var(--card-width);
  height: var(--card-height);

  background: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;

  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);

  will-change: transform, opacity;
  backface-visibility: hidden;

  transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
}

.carousel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.55);
  border-color: rgba(186, 230, 253, 0.95);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Nav buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 48px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: transform 0.25s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav-btn:hover {
  background: rgba(14, 165, 233, 0.22);
  border-color: rgba(14, 165, 233, 0.65);
  transform: translateY(-50%) scale(1.10);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.22);
}

.nav-btn.left {
  left: -25px;
}

.nav-btn.right {
  right: -25px;
}

/* Carousel info */
.carousel-info {
  text-align: center;
  margin-top: 18px;
}

.carousel-info h3 {
  color: #e0f2fe;
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.carousel-info p {
  margin: 0;
  font-size: 14px;
  color: rgba(148, 163, 184, 0.95);
}

.fade-text {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.3s ease, background-color 0.3s ease, width 0.3s ease;
}

.dot.active {
  background: var(--brand-blue);
  transform: scale(1.4);
  width: 18px;
  border-radius: 999px;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.bg-texture {
  background-color: var(--bg-light);
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 32px 32px;
}

.sub-heading {
  display: block;
  text-align: center;

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-blue);

  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin: 0 auto 80px;
  max-width: 760px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}

.line-decorator {
  width: 80px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-blue);
  margin: 0 auto 25px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 650px;
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  background: #ffffff;
  padding: 50px 40px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow-sm);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.10);
  transform: scale(1.03);
  z-index: 2;
}

.service-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);

  background: var(--brand-blue);
  color: #ffffff;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;

  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.40);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f0f9ff;
  color: var(--brand-blue);
  font-size: 28px;

  margin-bottom: 30px;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.service-card.featured .icon-box,
.service-card:hover .icon-box {
  background: var(--brand-blue);
  color: #ffffff;
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--navy);
}

.service-card p {
  width: 100%;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.link-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 14px;
  font-weight: 800;
  color: var(--navy);

  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.link-arrow:hover {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

/* ==========================================================================
   ABOUT & GALLERY
   ========================================================================== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.img-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: visible;
  box-shadow: 20px 20px 0 rgba(14, 165, 233, 0.10);
  margin-bottom: 20px;
}

.img-frame img {
  width: 100%;
  border-radius: var(--radius-card);
}

.exp-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 18px;

  background: var(--navy);
  color: #ffffff;
  padding: 25px 35px;
  border-radius: var(--radius-card);

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.30);
}

.exp-badge .years {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  color: var(--brand-blue);
  line-height: 1;
}

.exp-badge .text {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 42px;
  margin-bottom: 25px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-main);
}

.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-sm);
}

.feature-item i {
  color: var(--brand-blue);
  font-size: 22px;
}

.feature-item h4 {
  margin: 0 0 4px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.feature-item small {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Gallery filters */
.filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.chip {
  padding: 12px 28px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;

  cursor: pointer;

  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);

  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.chip:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-1px);
}

.chip.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.card {
  position: relative;
  height: 360px;
  overflow: hidden;
  cursor: pointer;

  background: #ffffff;
  border-radius: var(--radius-card);
}

.card-img-wrap {
  width: 100%;
  height: 100%;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.8s ease;
  will-change: transform;
}

.card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.card-info {
  position: absolute;
  inset: auto 0 0 0;
  transform: translateY(100%);
  will-change: transform;

  padding: 24px;
  background: #ffffff;
  border-top: 4px solid var(--brand-blue);

  transition: transform 0.4s ease;
}

.card:hover .card-info {
  transform: translateY(0);
}

.card-info span {
  display: block;
  margin-bottom: 5px;

  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-blue);
}

.card-info h3 {
  margin: 0;
  font-size: 20px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
#contact {
  position: relative;
  z-index: 1;
  padding-block: 120px;

  background-image: url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 23, 42, 0.92);
}

.contact-card-wrapper {
  display: flex;
  overflow: hidden;

  background: transparent;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.50);
}

.contact-info-panel {
  flex: 1.5;
  background: var(--navy);
  color: #ffffff;

  padding: 80px 50px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-panel {
  flex: 2;
  background: #ffffff;
  padding: 80px 60px;
}

.contact-info-panel h3 {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 40px;
  line-height: 1.2;
}

.contact-info-panel p {
  margin-bottom: 60px;
  color: #94a3b8;
  font-size: 16px;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);

  color: var(--brand-blue);
  font-size: 20px;
  flex-shrink: 0;
}

.label {
  display: block;
  margin-bottom: 6px;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #64748b;
}

.c-item p {
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.form-header h4 {
  margin-bottom: 40px;
  color: var(--navy);
  font-size: 32px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 0;

  border: 0;
  border-bottom: 1px solid #cbd5e1;

  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;

  outline: none;
  background: transparent;
  color: var(--navy);

  transition: border-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--brand-blue);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.btn-primary.w-100 {
  width: 100%;
  margin-top: 20px;
}

/* ==========================================================================
   FOOTER & UTILS
   ========================================================================== */
footer {
  background: var(--navy);
  color: #ffffff;
  padding: 80px 0 40px;
  text-align: center;
  border-top: 5px solid var(--brand-blue);
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 10px;
}

.footer-brand span {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.6;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.40);
}

.float-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.float-call {
  width: 64px;
  height: 64px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--brand-blue);
  color: #ffffff;
  font-size: 24px;

  box-shadow: var(--shadow-glow);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.float-call:hover {
  transform: scale(1.08);
  background: var(--brand-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.card.hidden-item {
  display: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-text-block {
    padding-right: 0;
  }

  .carousel-section-wrapper {
    max-width: 680px;
  }

  .nav-btn.left {
    left: -14px;
  }

  .nav-btn.right {
    right: -14px;
  }
}

/* Mobile header/menu + hero layout */
@media (max-width: 900px) {
  body {
    padding-top: calc(var(--top-bar-mobile) + 70px);
  }

  /* PERFORMANCE MOBILE: remover blur pesado */
  .top-bar,
  header,
  .badge-hero,
  .hero-trust span,
  .btn-outline-white,
  .nav-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .top-bar {
    height: var(--top-bar-mobile);
    background: var(--navy) !important;
    justify-content: center;
  }

  header {
    top: var(--top-bar-mobile) !important;
    height: 70px;
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .top-bar-inner {
    justify-content: center;
    gap: 15px;
  }

  .top-info {
    font-size: 11px;
    justify-content: center;
    gap: 15px;
  }

  .top-separator {
    display: none;
  }

  .top-social {
    gap: 15px;
  }

  .top-social a {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand-blue) !important;
  }

  .logo-img {
    max-height: 40px;
  }

  /* MENU MOBILE */
  .nav-links,
  .btn-estimate {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--top-bar-mobile) + 70px);
    left: 0;
    right: 0;
    bottom: 0;

    background: var(--navy);
    padding: 56px 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 36px;

    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;

    height: calc(100svh - (var(--top-bar-mobile) + 70px));
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .nav-links a {
    color: #ffffff;
    font-size: 22px;
    font-family: "Playfair Display", Georgia, serif;
    letter-spacing: 0.8px;
  }

  .btn-estimate {
    display: inline-flex;
    width: 100%;
    justify-content: center;

    padding: 16px;
    font-size: 15px;

    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
    background: transparent;
  }

  /* HERO MOBILE: menos altura, melhor leitura */
  .hero {
    min-height: auto;
    padding-block: 42px 60px;
  }

  .hero-content-wrapper {
    text-align: center;
    gap: 38px;
  }

  .badge-hero {
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(30px, 8.8vw, 44px);
    line-height: 1.10;
  }

  .hero-subtitle,
  .hero p {
    margin-inline: auto;
    max-width: 38rem;
    font-size: 16px;
    margin-bottom: 26px;
  }

  .hero-trust {
    justify-content: center;
    margin: -10px 0 22px;
  }

  .hero-trust span {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 14px;
  }

  .btn-primary,
  .btn-outline-white {
    width: 100%;
    padding: 16px 18px;
  }

  /* PERFORMANCE: no mobile, tirar blur do slide para deixar mais “limpo” */
  .hero-slide {
    filter: none;
    transform: scale(1.03);
    transition: opacity 1.1s ease, transform 5s ease;
  }

  /* Carousel responsivo usando variáveis */
  :root {
    --card-width: min(78vw, 320px);
    --card-height: min(92vw, 380px);
  }

  .carousel-wrapper {
    height: min(430px, 92vw);
  }

  .carousel-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .nav-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-btn.left {
    left: 10px;
  }

  .nav-btn.right {
    right: 10px;
  }

  /* Ajustes gerais */
  .section-padding {
    padding-block: 80px;
  }

  .section-header {
    padding-inline: 12px;
    margin-bottom: 50px;
  }

  .service-card.featured {
    transform: none;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .img-frame {
    box-shadow: 10px 10px 0 rgba(14, 165, 233, 0.10);
  }

  .exp-badge {
    right: 0;
    bottom: -20px;
    padding: 15px 25px;
  }

  .exp-badge .years {
    font-size: 32px;
  }

  .contact-card-wrapper {
    flex-direction: column;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .contact-info-panel {
    padding: 50px 24px;
  }

  .contact-form-panel {
    padding: 50px 24px;
  }

  .contact-info-panel h3 {
    font-size: 32px;
  }

  .c-item {
    align-items: flex-start;
    gap: 15px;
  }

  .c-item p {
    font-size: 18px;
  }

  .float-wrapper {
    bottom: 90px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .badge-hero {
    font-size: 11px;
    padding: 7px 14px;
  }

  .carousel-info h3 {
    font-size: 16px;
  }

  .carousel-info p {
    font-size: 13px;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .hero-content-wrapper,
  .badge-hero,
  .hero h1,
  .hero p,
  .hero-subtitle,
  .hero-btns,
  .carousel-section-wrapper {
    animation: none !important;
  }

  .hero-slide {
    transition: opacity 0.01s linear !important;
    transform: none !important;
    filter: none !important;
  }

  .btn-primary,
  .btn-outline-white,
  .nav-btn,
  .carousel-card,
  .dot,
  a,
  button {
    transition: none !important;
  }
}
