/* =========================================
   CGF Global - Estilos Principais
   ========================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&family=Montserrat:wght@300;400;600;700&display=swap');

/* ---- Variáveis ---- */
:root {
  --color-primary: #1e2356;
  --color-accent: #c5a47e;
  --color-dark: #1a1a1a;
  --color-light: #f5f5f5;
  --color-gray: #cecece;
  --color-text: #555;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin-bottom: 0.75rem; }

h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2rem, 8vmin, 4rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fff;
}

h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.1875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #3d3d3d;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.5rem;
  color: #3d3d3d;
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3d3d3d;
}

h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
}

p { margin-bottom: 1.2rem; }

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent); }

ul { list-style: none; padding: 0; margin: 0; }

img { max-width: 100%; height: auto; display: block; }

.text-primary { color: var(--color-accent) !important; }
.text-white { color: #fff !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ---- Preloader ---- */
.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.sk-folding-cube {
  width: 48px;
  height: 48px;
  position: relative;
  transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  transform: scale(1.1);
}

.sk-folding-cube .sk-cube::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: var(--color-accent);
  animation: sk-foldCubeAngle 2.4s infinite ease both;
  transform-origin: 100% 100%;
}

.sk-folding-cube .sk-cube2 { transform: scale(1.1) rotateZ(90deg); }
.sk-folding-cube .sk-cube3 { transform: scale(1.1) rotateZ(180deg); }
.sk-folding-cube .sk-cube4 { transform: scale(1.1) rotateZ(270deg); }

.sk-folding-cube .sk-cube2::before { animation-delay: 0.3s; }
.sk-folding-cube .sk-cube3::before { animation-delay: 0.6s; }
.sk-folding-cube .sk-cube4::before { animation-delay: 0.9s; }

@keyframes sk-foldCubeAngle {
  0%, 10% { transform: perspective(140px) rotateX(-180deg); opacity: 0; }
  25%, 75% { transform: perspective(140px) rotateX(0deg); opacity: 1; }
  90%, 100% { transform: perspective(140px) rotateY(180deg); opacity: 0; }
}

/* ---- Page Lines Decoration ---- */
.page-lines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-lines .container {
  height: 100%;
  display: flex;
}

.col-line {
  flex: 1;
  position: relative;
}

.col-line .line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.06);
}

.col-line:nth-child(1) .line { right: 0; }
.col-line:nth-child(2) .line { right: 0; }
.col-line:nth-child(3) .line:first-child { left: 0; }
.col-line:nth-child(3) .line:last-child { right: 0; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Grid System ---- */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

[class*="col-"] {
  padding: 0 15px;
  width: 100%;
}

.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

/* Brand Panel (sidebar left) */
.brand-panel {
  position: fixed;
  left: 0; top: 0;
  height: 100vh;
  width: 80px;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 20px 0;
}

.brand-panel .brand {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

.brand-panel .brand .text-primary { color: var(--color-accent) !important; }

/* Vertical Panel (social links - right side) */
.vertical-panel-content {
  position: fixed;
  right: 0; top: 0;
  height: 100vh;
  width: 60px;
  background: rgba(30, 35, 86, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 0;
  z-index: 1001;
}

.social-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social-list a {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: var(--transition);
}

.social-list a:hover { color: var(--color-accent); }

/* Desktop Nav */
.navbar-desktop {
  position: fixed;
  top: 0; left: 80px;
  right: 60px;
  height: 0;
  z-index: 999;
  transition: var(--transition);
}

.navbar-desktop.scrolled {
  height: 70px;
  background: var(--color-primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-desktop .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 30px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transition: var(--transition);
}

.navbar-desktop.scrolled .nav-logo { opacity: 1; }
.nav-logo .text-primary { color: var(--color-accent); }

.nav-logo img { height: 36px; width: auto; display: inline-block; }

.navbar-desktop-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-desktop-menu li a {
  display: block;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  line-height: 70px;
}

.navbar-desktop-menu li a:hover,
.navbar-desktop-menu li.active a { color: var(--color-accent); }

/* Mobile Nav */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: var(--color-primary);
  z-index: 1002;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.navbar-mobile .nav-logo {
  opacity: 1;
  font-size: 0.9rem;
}

.navbar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 60px; left: 0;
  width: 100%;
  background: var(--color-primary);
  z-index: 1001;
  padding: 20px 0;
}

.mobile-menu-overlay.open { display: block; }

.mobile-menu-overlay ul li a {
  display: block;
  padding: 12px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-overlay ul li a:hover { color: var(--color-accent); }

/* Header Phone */
.header-phone {
  position: fixed;
  top: 20px;
  left: 90px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  z-index: 1000;
  transition: var(--transition);
}

.header-phone.hidden { opacity: 0; visibility: hidden; }

/* =========================================
   HERO / SLIDER
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-left: 80px;
  width: calc(100% - 140px);
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30, 35, 86, 0.75) 0%, rgba(30, 35, 86, 0.4) 60%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 10%;
  max-width: 580px;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.hero-btn:hover { background: var(--color-accent); border-color: var(--color-accent); }

.slide-counter {
  position: absolute;
  bottom: 50px;
  left: 10%;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  z-index: 2;
}

.slide-counter .current { color: var(--color-accent); font-size: 1.2rem; }

/* =========================================
   SECTIONS COMMON
   ========================================= */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h6 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 1.75rem;
  letter-spacing: 0.25em;
  color: #2d2d2d;
}

.section-title p {
  max-width: 600px;
  margin: 15px auto 0;
  color: #777;
}

.section-dark {
  background: var(--color-primary);
  color: rgba(255,255,255,0.8);
}

.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.7); }

.section-light { background: #f7f7f7; }

/* =========================================
   BTN
   ========================================= */
.btn {
  display: inline-block;
  padding: 13px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* =========================================
   SOBRE NÓS
   ========================================= */
.about-section {
  padding: 100px 0;
  background: #fff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.about-specs .spec-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.about-specs .spec-item:last-child { border-bottom: none; }

.spec-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 5px;
}

.spec-value {
  font-size: 0.875rem;
  color: #555;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img { transform: scale(1.05); }

/* =========================================
   SERVIÇOS
   ========================================= */
.services-section {
  padding: 100px 0;
  background: #f7f7f7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.service-card {
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card .service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.service-card h4 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 12px;
}

.service-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.service-link:hover::after { transform: translateX(4px); }

/* =========================================
   25 ANOS
   ========================================= */
.aniversario-section {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.aniversario-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-1.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.aniversario-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 360px;
}

.aniversario-numero {
  flex: 0 0 auto;
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
  position: relative;
}

.aniversario-numero::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(197,164,126,0.3);
}

.anos-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(7rem, 14vw, 11rem);
  font-weight: 400;
  line-height: 0.85;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  text-shadow: 0 0 80px rgba(197,164,126,0.2);
}

.anos-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  padding-left: 0.55em; /* compensar letter-spacing */
}

.aniversario-divider {
  width: 1px;
  display: none; /* controlado pelo ::after do número */
}

.aniversario-texto {
  flex: 1;
  padding: 60px 70px;
}

.aniversario-texto h6 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.aniversario-texto h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.2em;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.aniversario-texto p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 32px;
}

/* Responsive 25 anos */
@media (max-width: 900px) {
  .aniversario-inner { flex-direction: column; }
  .aniversario-numero { width: 100%; padding: 50px 20px 30px; }
  .aniversario-numero::after { display: none; }
  .aniversario-texto { padding: 0 24px 50px; text-align: center; }
  .aniversario-texto p { margin-left: auto; margin-right: auto; }
  .anos-num { font-size: clamp(6rem, 20vw, 9rem); }
}

/* =========================================
   PORTFÓLIO / PROJETOS
   ========================================= */
.portfolio-section {
  padding: 100px 0;
  background: var(--color-primary);
}

.portfolio-section .section-title h2 { color: #fff; }
.portfolio-section .section-title h6 { color: var(--color-accent); }

.portfolio-carousel {
  position: relative;
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  transition: transform 0.6s ease;
}

.portfolio-item {
  min-width: calc(33.333% - 20px);
  margin-right: 30px;
  position: relative;
  overflow: hidden;
}

.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,35,86,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 8px;
}

.portfolio-overlay span {
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.carousel-nav button {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}

.carousel-nav button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* =========================================
   EXPERIÊNCIA / NÚMEROS
   ========================================= */
.experience-section {
  padding: 120px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.experience-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 35, 86, 0.88);
}

.experience-section .container { position: relative; z-index: 1; }

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-item h3 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.counter-item p {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* =========================================
   CLIENTES
   ========================================= */
.clients-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.clients-section h6 {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 40px;
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.client-logo {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
}

.client-logo:hover { opacity: 1; filter: none; }

/* =========================================
   CONTATO
   ========================================= */
.contact-section {
  padding: 100px 0;
  background: #f7f7f7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.contact-info p {
  color: #666;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail .detail-text h5 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-detail .detail-text p {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #333;
  transition: border-color 0.3s ease;
  appearance: none;
  outline: none;
  border-radius: 0;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: #fff;
}

textarea.form-control {
  height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  padding: 16px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.875rem;
  margin-top: 16px;
  text-align: center;
}

.form-error {
  display: none;
  padding: 16px;
  background: #ffebee;
  color: #c62828;
  font-size: 0.875rem;
  margin-top: 16px;
  text-align: center;
}

/* =========================================
   COTAÇÃO
   ========================================= */
.cotacao-section {
  padding: 80px 0;
  background: var(--color-primary);
  text-align: center;
}

.cotacao-section h2 { color: #fff; margin-bottom: 12px; }
.cotacao-section p { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* =========================================
   MAPA
   ========================================= */
.map-section {
  position: relative;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: 500px;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%);
}

.map-info {
  background: var(--color-primary);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h4 {
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}

.map-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.map-detail i {
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-detail p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
  background: #111;
  padding: 50px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-brand .brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: #fff;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-brand .brand img { height: 36px; width: auto; }
.footer-brand .brand .text-primary { color: var(--color-accent); }

.footer-links {
  text-align: center;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin: 0 10px;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--color-accent); }

.footer-copy {
  text-align: right;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* =========================================
   INNER PAGES - PAGE HEADER
   ========================================= */
.page-hero {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 80px;
  width: calc(100% - 140px);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,35,86,0.75);
}

.page-hero .hero-text {
  position: relative;
  z-index: 1;
  padding-left: 10%;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.page-hero .breadcrumb a { color: var(--color-accent); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }

/* =========================================
   MAIN CONTENT WRAPPER
   ========================================= */
.main-content {
  margin-left: 80px;
  margin-right: 60px;
}

/* =========================================
   RASTREAMENTO
   ========================================= */
.tracking-section {
  padding: 80px 0;
  background: #f7f7f7;
  text-align: center;
}

.tracking-box {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 50px 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
}

.tracking-box h2 {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.tracking-box p {
  color: #777;
  margin-bottom: 30px;
  font-size: 0.875rem;
}

.tracking-input-group {
  display: flex;
  gap: 0;
}

.tracking-input-group .form-control {
  flex: 1;
  border-right: none;
}

.tracking-input-group .btn {
  flex-shrink: 0;
  padding: 12px 24px;
}

.tracking-result {
  display: none;
  margin-top: 30px;
  padding: 20px;
  background: #f7f7f7;
  text-align: left;
}

/* =========================================
   COTAÇÃO FORM PAGE
   ========================================= */
.cotacao-form-section {
  padding: 80px 0;
}

.cotacao-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.form-section-title {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.form-section-title:first-of-type {
  padding-top: 0;
  border-top: none;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.wow { visibility: hidden; }

.fadeIn { animation-name: fadeIn; }
.fadeInUp { animation-name: fadeInUp; }
.fadeInLeft { animation-name: fadeInLeft; }
.fadeInRight { animation-name: fadeInRight; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   UNIDADES — LAYOUT ALTERNADO (ZIGZAG)
   ========================================= */
.unidades-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card base */
.unidade-card {
  display: flex;
  flex-direction: row;
  min-height: 280px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.unidade-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}

/* Itens pares: mapa à direita, info à esquerda */
.unidade-card:nth-child(even) {
  flex-direction: row-reverse;
}

/* Mapa ocupa metade */
.unidade-map {
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: #eee;
}

.unidade-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(25%);
  transition: filter 0.3s ease;
}

.unidade-card:hover .unidade-map iframe { filter: none; }

/* Info ocupa a outra metade */
.unidade-body {
  width: 50%;
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

/* Item par: fundo levemente diferente para ritmo visual */
.unidade-card:nth-child(even) .unidade-body {
  background: var(--color-light);
}

.unidade-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-gray);
}

.unidade-flag {
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  width: 36px;
  height: auto;
}

.unidade-pais {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 3px;
}

.unidade-cidade {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-weight: 400;
  margin: 0;
}

.unidade-info .map-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.unidade-info .map-detail:last-child { margin-bottom: 0; }

.unidade-info .map-detail i {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}

.unidade-info .map-detail p {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

.unidade-info .map-detail p a {
  color: var(--color-text);
  transition: color 0.2s;
}

.unidade-info .map-detail p a:hover { color: var(--color-accent); }

@media (max-width: 768px) {
  .unidade-card,
  .unidade-card:nth-child(even) { flex-direction: column; }
  .unidade-map { width: 100%; height: 220px; }
  .unidade-body { width: 100%; padding: 28px 24px; }
}

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--color-primary); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 992px) {
  .about-content { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-container { grid-template-columns: 1fr; height: auto; }
  .map-frame { height: 350px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-copy { text-align: center; }
  .portfolio-item { min-width: calc(50% - 15px); }
}

@media (max-width: 768px) {
  /* Show mobile nav, hide desktop */
  .navbar-mobile { display: flex; }
  .navbar-desktop { display: none; }
  .brand-panel { display: none; }
  .vertical-panel-content { display: none; }
  .header-phone { display: none; }

  /* Full width content on mobile */
  .hero { margin-left: 0; width: 100%; margin-top: 60px; height: calc(100vh - 60px); }
  .main-content { margin-left: 0; margin-right: 0; }
  .page-hero { margin-left: 0; width: 100%; height: 280px; }

  .section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item { min-width: calc(100% - 0px); margin-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .cotacao-form-wrap { padding: 24px; }

  h2 { font-size: 1.4rem; letter-spacing: 0.15em; }
  .hero-content h1 { font-size: 1.8rem; }

  .col-md-4, .col-md-6, .col-md-8, .col-md-3, .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .counters-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .counter-item h3 { font-size: 2.5rem; }
  .tracking-input-group { flex-direction: column; }
  .tracking-input-group .form-control { border-right: 1px solid #ddd; }
}
