/* =============================================================================
   🎨 Variáveis Globais
   ========================================================================== */
:root {
  --color-primary: #011029;
  --color-secondary: #00afef;
  --color-white: #ffffff;
  --color-light: #F7F9FA;
  --color-gray: #A0A0A0;
  --color-dark: #000000;

  --text-primary: #011029;
  --text-secondary: #00afef;
  --text-light: #F7F9FA;

  --hover-primary: #021b47;
  --hover-secondary: #0198cf;

  --font-primary: 'Trebuchet MS', sans-serif;
  --font-secondary: 'Rajdhani', sans-serif;

  --font-size-xs: 0.8rem;
  --font-size-sm: 1.0rem;
  --font-size-md: 1.2rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2.0rem;
  --font-size-xxl: 2.6rem;
  --font-size-xxxl: 3.6rem;

  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --radius-circle: 50%;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

  --transition-default: 0.3s ease;
}

/* =============================================================================
   🔧 Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
  /*Ajuste do target por conta do header, antes cortava as informações*/
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-light);
  color: var(--text-primary);
  overflow-x: hidden;
  font-size: var(--font-size-md);
}

body,
html {
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.text-center {
  text-align: center;
}

/* =============================================================================
   ⚙️ Utilitários Globais
   ========================================================================== */
.section {
  padding: var(--spacing-xl) var(--spacing-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================================================================
   🧽 Responsividade (Mobile First)
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    height: auto;
  }

  .hero .logo {
    max-width: 80%;
  }
}

/* =============================================================================
   🔗 Header Styles
   ============================================================================= */

#header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(8, 11, 28, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

#header .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header .logo img {
  height: 50px;
}

#header .menu ul {
  display: flex;
  gap: 2rem;
}

#header .menu ul li {
  list-style: none;
}

#header .menu ul li a {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-default), transform var(--transition-default);
}

#header .menu ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--color-secondary);
  left: 0;
  bottom: -5px;
  transition: width var(--transition-default);
}

#header .menu ul li a:hover,
#header .menu ul li a.active {
  color: var(--color-secondary);
}

#header .menu ul li a:hover::after,
#header .menu ul li a.active::after {
  width: 100%;
}

.header-btn .btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
  display: inline-block;
  transition: background-color var(--transition-default), transform var(--transition-default);
}

.header-btn .btn-primary:hover {
  background-color: var(--hover-secondary);
  transform: scale(1.05);
}

/* =============================================================================
   📱 Responsive Styles
   ============================================================================= */

@media (max-width: 991px) {
  #header .menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(1, 16, 41, 0.95);
    width: 220px;
    display: none;
    flex-direction: column;
    padding: 1rem;
    border-radius: 6px;
  }

  #header .menu ul {
    flex-direction: column;
    gap: 1rem;
  }

  #header .menu.active {
    display: flex;
  }
}


/* =============================================================================
   🏞️ Hero Section
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 100px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  max-height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 1));
  z-index: 2;
}

.hero .hero-title {
  color: var(--color-white);
  font-size: var(--font-size-xxl);
  text-align: center;
  position: relative;
  z-index: 3;
  margin: var(--spacing-xl) 22% var(--spacing-xl) 22%;
  animation: fadeIn 2s ease forwards;
}

.hero .hero-subtitle {
  color: var(--color-white);
  font-size: var(--font-size-md);
  margin: 0 22% 0 22%;
  text-align: center;
  position: relative;
  z-index: 3;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    justify-content: center;
    padding-bottom: 150px;
  }

  .hero .hero-title {
    font-size: var(--font-size-md);
    margin: var(--spacing-lg) 8% var(--spacing-md) 8%;
  }

  .hero .hero-subtitle {
    font-size: var(--font-size-sm);
    margin: 0 10% 0 10%;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .overlay {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.9));
  }
}

/* =============================================================================
   🔗 Header Hide on Mobile
   ============================================================================= */
@media (max-width: 768px) {
  #header {
    display: none;
  }
}

/* =============================================================================
   🏞️ Hero Logo on Mobile
   ============================================================================= */
.hero-logo {
  display: none;
}

@media (max-width: 768px) {
  .hero-logo {
    display: block;
    max-width: 220px;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 4;
    animation: fadeIn 2s ease forwards;
  }
}

/* =============================================================================
   🔵 Botão Saiba Mais
   ========================================================================== */
.btn-saiba-mais {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 12px var(--spacing-xl);
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  font-weight: 600;
  display: inline-block;
  position: relative;
  animation: fadeIn 2s ease forwards;
  z-index: 4;
  transition: background-color var(--transition-default), transform var(--transition-default);
}

.btn-saiba-mais:hover {
  background-color: var(--hover-secondary);
  transform: scale(1.05) !important;
}

/* =============================================================================
   🔽 Scroll Down Icon
   ========================================================================== */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0.7;
  transition: opacity var(--transition-default), transform var(--transition-default);
}

.scroll-down:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
}

.scroll-down svg path:nth-child(2) {
  animation: arrowMove 1.6s infinite;
}

@keyframes arrowMove {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .scroll-down {
    bottom: 95px;
  }
}

/* =============================================================================
  ⚫ Divider Section Styles
============================================================================= */

.divider-section {
  background-color: var(--color-dark);
  position: relative;
  padding: var(--spacing-xxl) var(--spacing-md);
  text-align: center;
  overflow: hidden;
  z-index: 2;
  margin-top: -2px;
}

.divider-section .divider-title {
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  max-width: 850px;
  margin: 0 auto var(--spacing-lg) auto;
  z-index: 3;
  position: relative;
  font-weight: 200;
}

.btn-divider {
  background-color: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 0.7rem 2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
  display: inline-block;
  transition: background-color var(--transition-default), color var(--transition-default), transform var(--transition-default);
  position: relative;
  z-index: 3;
}

.btn-divider:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: scale(1.05);
}

/* 🔳 Wrapper que segura as duas logos sobrepostas */
.watermark-wrapper {
  position: relative;
  width: 100%;
  height: 650px;
  /* controla altura da marca d'água */
  margin: var(--spacing-md) auto 0 auto;
}

/* 🔳 Logo preta (base) */
.watermark-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* 🔵 Logo azul (animação) */
.watermark-logo-blue {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  z-index: 3;
  transition: opacity 1.5s ease-in-out;
}

/* =============================================================================
   📱 Divider Section Responsive
   ============================================================================= */
@media (max-width: 768px) {
  .watermark-wrapper {
    height: 400px; /* 🔧 Reduz a altura no mobile */
  }

  .divider-section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .divider-section .divider-title {
    font-size: var(--font-size-lg);
  }

  .divider-section .watermark-logo,
  .divider-section .watermark-logo-blue {
    max-width: 320px;
    margin-top: var(--spacing-md);
  }
}

/* =============================================================================
   🔢 Numbers Floating Over Card
============================================================================= */

.numbers-floating {
  position: relative;
  margin-top: -120px;
  z-index: 10;
}

.numbers-floating .container {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.number-item {
  flex: 1 1 200px;
  text-align: center;
}

.number-item i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xs);
}

.number-value {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xxl);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.number-label {
  font-family: var(--font-secondary);
  color: var(--color-gray);
  font-size: var(--font-size-sm);
}

/* =============================================================================
   📱 Responsive Numbers Floating
============================================================================= */
@media (max-width: 768px) {
  .numbers-floating {
    margin-top: -80px;
  }

  .numbers-floating .container {
    flex-direction: row;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }

  .number-item {
    flex: 1 1 140px;
    max-width: 150px;
  }

  .number-item i {
    font-size: 1.8rem;
  }

  .number-value {
    font-size: var(--font-size-xl);
  }

  .number-label {
    font-size: var(--font-size-xs);
  }
}

@media (max-width: 480px) {
  .numbers-floating {
    margin-top: -60px;
  }

  .numbers-floating .container {
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
  }

  .number-item {
    flex: 1 1 120px;
    max-width: 120px;
  }

  .number-item i {
    font-size: 1.5rem;
  }

  .number-value {
    font-size: var(--font-size-lg);
  }

  .number-label {
    font-size: var(--font-size-xs);
  }
}

/* =============================================================================
   🏢 About Section Styles
   ============================================================================= */

.about-section {
  background-color: var(--color-light);
  position: relative;
  padding: var(--spacing-xxl) var(--spacing-md);
  overflow: hidden;
}

.about-wrapper {
  display: flex;
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.about-text {
  flex: 1 1 55%;
  border-left: 4px solid var(--color-secondary);
  padding-left: var(--spacing-lg);
}

.about-text h2 {
  color: var(--text-primary);
  font-size: var(--font-size-xxl);
  margin-bottom: var(--spacing-md);
}

.about-text p {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

/* 🔸 Quote destacada no meio */
.about-quote {
  background-color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-left: 4px solid var(--color-secondary);
  margin: var(--spacing-md) 0;
  color: var(--color-gray);
  font-style: italic;
}

.about-text .quote {
  color: var(--color-secondary);
  font-weight: 600;
  margin-top: var(--spacing-lg);
}

.about-values {
  flex: 1 1 40%;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.about-values:hover {
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-default);
}

.about-values h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.about-values p {
  color: var(--color-gray);
  margin-bottom: var(--spacing-md);
}

.about-values ul {
  list-style: none;
  padding-left: 0;
}

.about-values li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.about-values li::before {
  content: "🔹";
  /* ou 🎯 💼 ✔️ 🔹 */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-secondary);
  font-size: 16px;
}

.about-values ul li {
  margin-bottom: var(--spacing-xs);
}

/* =============================================================================
   📱 Responsive
   ============================================================================= */
@media (max-width: 768px) {
  .about-section {
    font-size: 0.95rem;
    /* ou 15px */
  }

  .about-section .section-title {
    font-size: 1.6rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }

  .about-section blockquote {
    font-size: 0.9rem;
  }
}

/* =============================================================================
   📜 Timeline Horizontal Styles
   ============================================================================= */

.timeline-section {
  background-color: var(--color-light);
  padding: var(--spacing-xxl) var(--spacing-md);
  text-align: center;
}

.timeline-section .section-title {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-lg);
  position: relative;
  padding: 0 var(--spacing-md);
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-secondary);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-item {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 260px;
  position: relative;
  z-index: 2;
  flex: 1;
}

.timeline-item:hover {
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-default);
}

.timeline-item .icon {
  background-color: var(--color-secondary);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm) auto;
  font-size: 22px;
}

.timeline-item h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.timeline-item p {
  color: var(--color-gray);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* 🔥 Conectar ponto no centro */
.timeline-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-secondary);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-circle);
  z-index: 3;
}

@media (min-width: 992px) {
  .timeline-item p {
    margin-top: var(--spacing-lg);
  }
}

/* =============================================================================
   📱 Responsivo - Timeline Horizontal vira Vertical
   ============================================================================= */
@media (max-width: 991px) {
  .timeline-horizontal {
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .timeline-horizontal::before {
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    transform: none;
  }

  .timeline-item {
    max-width: 100%;
    padding-left: calc(var(--spacing-md) + 20px);
    text-align: left;
  }

  .timeline-item .icon {
    margin: 0 0 var(--spacing-sm) 0;
  }

  .timeline-item::after {
    left: 20px;
    top: var(--spacing-md);
    transform: none;
  }
}

/* =============================================================================
   🌍 Coverage Section Styles
   ========================================================================== */

.coverage-section {
  background-color: var(--color-light);
  padding: var(--spacing-xxl) var(--spacing-md);
}

.coverage-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.coverage-content {
  flex: 1 1 300px;
}

.coverage-content .section-title {
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.coverage-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.coverage-item i {
  background-color: var(--color-secondary);
  color: var(--color-white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.coverage-item i:hover {
  transform: scale(1.1);
}

.coverage-item h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
  font-size: var(--font-size-md);
}

.coverage-item p {
  color: var(--color-gray);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* =============================================================================
   🎯 Coverage Info
   ========================================================================== */

.coverage-info {
  flex: 1 1 300px;
}

.coverage-info h3 {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

.coverage-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.coverage-info li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.coverage-info li i {
  color: var(--color-secondary);
  font-size: 1.8rem;
}

.coverage-info li div {
  display: flex;
  flex-direction: column;
}

.coverage-info li div strong {
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--font-size-md);
}

.coverage-info li div span {
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

/* =============================================================================
  🗺️ Coverage Map e Legenda
========================================================================== */

.coverage-map {
  flex: 1 1 400px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.coverage-map h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
  font-size: var(--font-size-lg);
}

.coverage-map svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  overflow: visible;
}

/* 🗺️ Map Colors */
.coverage-map svg path {
  stroke: var(--color-primary);
  stroke-width: 1.2;
  fill: var(--color-light);
  transition: all 0.3s ease;
}

#BR-BA,
#BR-PE,
#BR-PB,
#BR-RN,
#BR-CE,
#BR-PI,
#BR-MA,
#BR-AL,
#BR-SE {
  fill: var(--color-secondary);
}

#BR-RS,
#BR-SC,
#BR-PR,
#BR-SP,
#BR-RJ,
#BR-ES,
#BR-MG,
#BR-GO,
#BR-MS,
#BR-DF,
#BR-MT,
#BR-PA,
#BR-AM,
#BR-RR,
#BR-AP,
#BR-AC,
#BR-RO,
#BR-TO {
  fill: hsl(196, 100%, 88%);
}

.coverage-map svg path {
  stroke: var(--color-primary);
  stroke-width: 1.2;
  fill: var(--color-light);
  transition: all 0.3s ease;
}

.coverage-map svg path:hover {
  transform: scale(1.02);
  filter: brightness(1.1) drop-shadow(0 0 2px rgba(0,0,0,0.5));
  cursor: pointer;
  position: relative;
  z-index: 10;
}


/* 🎯 Textos gerais do SVG */
.coverage-map svg text {
  font-family: var(--font-primary);
  fill: var(--text-primary);
  user-select: none;
  pointer-events: none;
}

/* 📍 Pinos */
.coverage-map svg text.headquarter,
.coverage-map svg text.warehouse,
.coverage-map svg text.branch {
  font-size: 30px;
}

/* 🔖 Legenda */
.coverage-map svg g#legend text {
  font-size: 12px;
}

.coverage-map svg g#legend text:first-child {
  font-size: 14px;
  font-weight: bold;
}

/* 🔲 Caixa da legenda */
.coverage-map svg g#legend rect {
  fill: #fff;
  stroke: var(--color-primary);
  stroke-width: 1;
  rx: 8;
  ry: 8;
}

#map-tooltip {
  display: none;
  position: fixed;
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: var(--font-size-xs);
  pointer-events: none;
  z-index: 999999;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* =============================================================================
   📱 Responsividade
   ========================================================================== */
@media (max-width: 991px) {
  .coverage-map {
    max-width: 100%;
    width: 100%;
  }

  .coverage-map svg {
    width: 100%;
  }

  .coverage-map h3 {
    text-align: center;
  }
}

/* =============================================================================
   🚛 Carousel Frota - Refinado e Balanceado
   ========================================================================== */
.fleet-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--color-light);
  text-align: center;
}

.fleet-section .section-title {
  color: var(--text-primary);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
}

/* 🎠 Carousel */
.carousel-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  position: relative;
}

/* 🎯 Card base */
.carousel-item {
  flex: 0 0 auto;
  width: 580px;
  height: 360px;
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.15;
  transform: scale(0.7);
  filter: brightness(0.7) blur(1px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    filter 0.6s ease,
    box-shadow 0.6s ease,
    z-index 0.6s ease;
  pointer-events: none;
  z-index: 1;
  margin: 0 -90px;
}

/* 🔥 Ativo (Centro) */
.carousel-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 5;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  filter: none;
  pointer-events: auto;
  margin: 0;
}

/* ➡️⬅️ Laterais */
.carousel-item.prev,
.carousel-item.next {
  opacity: 0.4;
  transform: scale(0.6);
  z-index: 2;
  filter: brightness(0.8) blur(2px);
  margin: 0 -90px;
}

/* ⛔️ Escondidos */
.carousel-item.hidden {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.6) blur(3px);
  margin: 0;
}

/* 🖼️ Imagens */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  border-radius: 12px;
  display: block;
}

/* 🔵 Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gray);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dots button.active {
  background-color: var(--color-primary);
}

.carousel-dots button:hover {
  background-color: var(--hover-primary);
}

/* 📱 Responsivo Cards */
@media (max-width: 1200px) {
  .carousel-item {
    width: 500px;
    height: 320px;
    margin: 0 -70px;
  }
}

@media (max-width: 992px) {
  .carousel-item {
    width: 440px;
    height: 280px;
    margin: 0 -60px;
  }

  .carousel-item.prev,
  .carousel-item.next {
    transform: scale(0.55);
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: 90%;
    height: 250px;
    margin: 0 -40px;
  }

  .carousel-item.prev,
  .carousel-item.next {
    transform: scale(0.5);
    opacity: 0.25;
  }

  .carousel-dots button {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 500px) {
  .carousel-item {
    width: 95%;
    height: 200px;
    margin: 0 -30px;
  }

  .carousel-item.prev,
  .carousel-item.next {
    transform: scale(0.45);
    opacity: 0.2;
  }

  .carousel-dots button {
    width: 6px;
    height: 6px;
  }
}

/* =============================================================================
   ✉️ Contact Section
============================================================================= */

.contact-section {
  background: 
    linear-gradient(to bottom, rgba(1, 43, 110, 0.2) 0%, rgba(1, 43, 110, 0.7) 100%),
    url('../images/poster.webp') no-repeat center center/cover;
  position: relative;
  min-height: 100vh;
  padding: 160px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(2px); /* 🔥 Desfoque leve */
  -webkit-backdrop-filter: blur(2px);
}


/* =============================================================================
   🪪 Contact Wrapper (Container Interno)
============================================================================= */

.contact-wrapper {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  padding: 0 var(--spacing-md);
}

/* =============================================================================
   💎 Card (Contato ou Formulário)
============================================================================= */

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  padding: var(--spacing-lg) var(--spacing-md);
  width: 100%;
  text-align: center;
}

/* =============================================================================
   🎨 Logo e Títulos
============================================================================= */

.logo-contact {
  max-width: 180px;
  display: block;
  margin: 0 auto 16px;
}

.contact-title {
  font-family: var(--font-secondary);
  color: var(--color-light);
  font-size: var(--font-size-xl);
  margin-bottom: 24px;
  text-align: center;
}

/* =============================================================================
  📞 Box de Informações de Contato
============================================================================= */

.contact-box {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}

.contact-box .box {
  background: rgba(255, 255, 255, 0.08);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  flex: 1;
  min-width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box .box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-box .box p {
  margin: 0;
  color: var(--text-light);
}

.address {
  font-size: var(--font-size-sm);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
}


/* =============================================================================
   📱 Disposição no Mobile
============================================================================= */
@media (max-width: 600px) {
  .contact-box {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .contact-box .box {
    min-width: 100%;
  }
}

/* =============================================================================
   📄 Informações Detalhadas
============================================================================= */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.contact-info .info-item {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-primary); 
}

.contact-info a {
  color: var(--text-light);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-box .box p strong,
.address strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* =============================================================================
   🧠 Formulário
============================================================================= */

form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

input,
textarea {
  width: 100%;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--color-secondary);
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.form-note {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  text-align: center;
  margin-top: var(--spacing-xs);
}

/* =============================================================================
   🔘 Botões
============================================================================= */

.btn-submit,
.btn-cta {
  background-color: var(--color-secondary);
  color: var(--color-light);
  padding: var(--spacing-sm);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-md);
  width: 100%;
  transition: background-color var(--transition-default), transform var(--transition-default);
}

.btn-submit:hover,
.btn-cta:hover {
  background-color: var(--hover-secondary);
  transform: scale(1.04);
}

/* 🔥 Botões Secundários → Agora são os de voltar */
.btn-back,
.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: var(--spacing-xs) var(--spacing-sm);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-md);
  transition: background-color var(--transition-default), transform var(--transition-default);
}

.btn-back:hover,
.btn-secondary:hover {
  background-color: var(--hover-primary);
  transform: scale(1.04);
}

/* 🔧 Estado Desabilitado */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: scale(1);
}

/* =============================================================================
   📱 Botões — Mobile
============================================================================= */
@media (max-width: 600px) {
  .btn-submit,
  .btn-cta,
  .btn-back,
  .btn-secondary {
    font-size: var(--font-size-sm); /* 🔥 Reduz no mobile */
  }
}

/* =============================================================================
   🎯 Estados
============================================================================= */

.form-hidden {
  display: none;
}

/* =============================================================================
   📱 Responsivo
============================================================================= */

@media (max-width: 600px) {
  .contact-wrapper {
    padding: 0 var(--spacing-sm);
  }

  .contact-card {
    padding: var(--spacing-md) var(--spacing-sm);
  }
}

/* =============================================================================
   🔗 Footer
============================================================================= */

#footer {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: visible;
}

/* Camada de fundo */
.back-panel {
  background-color: rgba(0, 119, 197, 0.85);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  gap: 0.5rem;

  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* Camada da frente */
.front-panel {
  background-color: rgba(1, 16, 41);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 100px;
  z-index: 2;

  box-shadow:
    1px 1px 0 rgba(0, 0, 0, 0.5),
    2px 2px 0 rgba(0, 0, 0, 0.5),
    3px 3px 0 rgba(0, 0, 0, 0.5),
    4px 4px 0 rgba(0, 0, 0, 0.5),
    5px 5px 0 rgba(0, 0, 0, 0.5),
    6px 6px 0 rgba(0, 0, 0, 0.5),
    7px 7px 0 rgba(0, 0, 0, 0.5),
    8px 8px 0 rgba(0, 0, 0, 0.5),
    9px 9px 0 rgba(0, 0, 0, 0.5),
    10px 10px 0 rgba(0, 0, 0, 0.5),
    11px 11px 0 rgba(0, 0, 0, 0.5),
    12px 12px 0 rgba(0, 0, 0, 0.5),
    13px 13px 0 rgba(0, 0, 0, 0.5),
    14px 14px 0 rgba(0, 0, 0, 0.5),
    15px 15px 0 rgba(0, 0, 0, 0.5);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Texto interno */
.footer-info {
  color: var(--text-light);
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  text-align: center;
}

/* Ícone LinkedIn */
.back-panel .linkedin-link i {
  font-size: var(--font-size-md);
  vertical-align: middle;
  color: var(--text-light);
  transition: color 0.3s;
}

.back-panel .linkedin-link:hover i {
  color: #0e76a8;
}

/* Crédito do desenvolvedor */
.back-panel .developer-credit a {
  color: var(--text-light);
  text-decoration: underline;
  transition: color 0.3s;
}

.back-panel .developer-credit a:hover {
  color: #ffffff;
}

/* 🔧 Responsivo */
@media (max-width: 992px) {

  /* 1. Footer vira coluna flexível */
  #footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0;
    margin-top: 20px;
  }

  /* 2. Front + back ficam estáticos e 100% largura */
  .front-panel,
  .back-panel {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0.5rem 1rem;
  }

  /* 3. Texto copyright menor e centrado */
  .front-panel .footer-info {
    font-size: var(--font-size-xs);
    text-align: center;
    color: var(--text-light);
  }

  /* 4. Back-panel em coluna, icon + crédito centralizados */
  .back-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background-color: var(--hover-primary);
  }

  .back-panel .linkedin-link i {
    font-size: var(--font-size-sm);
  }

  .back-panel .developer-credit {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-align: center;
    white-space: normal;
  }
}

/* =============================================================================
   🟢 Botão WhatsApp Flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
  animation: shake 2.5s infinite;
  font-size: var(--font-size-xl);
  cursor: pointer;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: scale(1.1) !important;
}

.whatsapp-float i {
  font-size: var(--font-size-xxl);
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(10deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(6deg);
  }

  80% {
    transform: rotate(-6deg);
  }

  100% {
    transform: rotate(0deg);
  }
}