/* ============================================================
   VICOLO — Arquitetura & Design
   Design System & Estilos Globais
   Layout fidedigno ao design de referência
   ============================================================ */

/* ---------- 1. Variáveis CSS (Design Tokens) ---------- */
:root {
  /* Paleta */
  --bg-color: #F3EFE7;
  --brand-color: #8C4A2A;
  --brand-hover: #6D3820;
  --text-dark: #1A1A1A;
  --text-muted: #6B6B6B;
  --white: #FFFFFF;
  --border-color: rgba(26, 26, 26, 0.12);
  --olive-dark: #5C5C42;

  /* Transição padrão */
  --transition: all 0.3s ease;
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-hover);
}

ul {
  list-style: none;
}

/* ---------- 3. Tipografia ---------- */

/* Título VICOLO grande na home */
.vicolo-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6vw + 1rem, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: var(--brand-color);
  text-transform: uppercase;
}

.vicolo-title sup {
  font-size: 0.3em;
  vertical-align: super;
  letter-spacing: 0;
}

.vicolo-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--brand-color);
  margin-top: 0.5rem;
}

/* Títulos de seção (labels) */
.section-label-bold {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

/* Título de seção grande */
.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* Texto do corpo (seções sobre/abordagem) */
.body-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
}

.body-text strong {
  font-weight: 600;
}

.body-text em {
  font-style: italic;
}

.body-text u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Microcópias / Footer */
.micro-text {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ---------- 4. Navbar / Header ---------- */

.navbar-vicolo {
  background-color: var(--bg-color);
  padding: 1.25rem 0;
  border-bottom: none;
  position: relative;
}

/* Área do logo (símbolo geométrico) */
.navbar-logo-symbol {
  display: flex;
  align-items: center;
}

.navbar-logo-symbol svg {
  width: 44px;
  height: 44px;
}

/* Links de navegação */
.navbar-vicolo .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem !important;
  transition: var(--transition);
}

.navbar-vicolo .nav-link:hover {
  color: var(--text-dark);
}

.navbar-vicolo .nav-link.active {
  color: var(--text-dark);
  font-weight: 600;
}

/* Ícones sociais */
.social-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.social-icons a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-dark);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--brand-color);
  color: var(--white);
}

/* Hamburger */
.navbar-vicolo .navbar-toggler {
  border: none;
  padding: 0.5rem;
  box-shadow: none !important;
}

.navbar-vicolo .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(26,26,26,0.8)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Menu mobile colapsado */
@media (max-width: 991.98px) {
  .navbar-vicolo .navbar-collapse {
    background-color: var(--bg-color);
    margin-top: 0.75rem;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .navbar-vicolo .nav-link {
    padding: 0.6rem 0 !important;
  }

  .social-icons {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }
}

/* ---------- 5. Seção Principal Home (3 colunas) ---------- */

.home-main {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

/* Coluna do título VICOLO */
.home-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
}

/* Coluna "Sobre" */
.home-sobre-col {
  border-left: 1px solid var(--border-color);
  padding-left: clamp(1.25rem, 2vw, 2rem);
  padding-right: clamp(1rem, 2vw, 2rem);
}

/* Coluna "Nossa abordagem" */
.home-approach-col {
  border-left: 1px solid var(--border-color);
  padding-left: clamp(1.25rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .home-sobre-col,
  .home-approach-col {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .home-brand-col {
    padding-right: 0;
  }
}

/* ---------- 6. Botão CTA ---------- */

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  background-color: var(--brand-color);
  color: var(--white);
  border: 2px solid var(--brand-color);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-cta:hover {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-cta .arrow {
  font-size: 1.1em;
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn-cta:hover .arrow {
  transform: translate(3px, -2px);
}

/* ---------- 7. Galeria de Imagens (Home) ---------- */

.gallery-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .gallery-row {
    grid-template-columns: 35% 65%;
  }
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Controla altura das imagens na galeria */
@media (min-width: 768px) {
  .gallery-item {
    height: clamp(280px, 30vw, 420px);
  }
}

@media (max-width: 767.98px) {
  .gallery-item {
    height: 260px;
  }
}

/* ---------- 8. Footer Minimalista ---------- */

.footer-vicolo {
  border-top: 1px solid var(--border-color);
  padding: 1.25rem 0;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
}

.footer-item {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  line-height: 1.5;
}

.footer-item strong {
  font-weight: 700;
  display: block;
  margin-bottom: 0.1rem;
}

.footer-right {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--text-dark);
}

@media (max-width: 767.98px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ---------- 9. Página Quem Somos ---------- */

/* Duas colunas de texto */
.qs-text-section {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.qs-col-left {
  padding-right: clamp(1.5rem, 3vw, 3rem);
}

.qs-col-right {
  border-left: 1px solid var(--border-color);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

@media (max-width: 991.98px) {
  .qs-col-right {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }

  .qs-col-left {
    padding-right: 0;
  }
}

/* Texto da história — parágrafos com destaques */
.qs-body-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-dark);
}

.qs-body-text strong {
  font-weight: 600;
}

.qs-body-text .highlight {
  color: var(--brand-color);
  font-weight: 500;
}

.qs-body-text p + p {
  margin-top: 1rem;
}

/* ---------- 10. Banner CTA (Quem Somos - Inferior) ---------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--brand-color);
}

.cta-banner-bg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 250px;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(2rem, 5vw, 6rem);
}

.cta-banner-brand {
  position: relative;
  z-index: 2;
}

.cta-banner-brand .vicolo-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  opacity: 0.95;
}

.cta-banner-brand .vicolo-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.cta-banner-cta {
  position: absolute;
  right: clamp(2rem, 5vw, 6rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  z-index: 2;
}

@media (max-width: 767.98px) {
  .cta-banner-overlay {
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 1.5rem;
  }

  .cta-banner-cta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
  }
}

/* ---------- 11. Utilitários ---------- */

.text-brand { color: var(--brand-color) !important; }
.fw-300 { font-weight: 300 !important; }

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Separador horizontal decorativo */
.separator-line {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
}
