/* Dowser V2 - CSS Padronizado e Modular */

/* ===========================================
   BASE: Reset, Variáveis, Tipografia
=========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --color-primary: #0070F3;
  --color-secondary: #A4F6B9;
  --color-dark: #2D2D2D;
  --color-light: #FFFFFF;
  --color-muted: #888;
  --font-sans: 'Manrope', sans-serif;
  --font-title: 'Sora', sans-serif;
  --radius-md: 12px;
  --radius-lg: 24px;
  --max-width: 1200px;
}
body {
  font-family: var(--font-sans);
  background-color: var(--color-light);
  color: var(--color-dark);
  padding-top: calc(60px + 40px);
}
h1, h2, h3, h4 {
  font-family: var(--font-title);
  margin-bottom: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ===========================================
   LAYOUT: Container, Seções, Grid
=========================================== */
.container, section {
  padding: 40px 5%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.cta {
  text-align: center;
  margin-top: 80px;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ===========================================
   COMPONENTES: Botões, Cards, Header/Footer
=========================================== */
.btn, a.btn {
  background-color: rgba(0, 112, 243, 0.6); /* var(--color-primary) com transparência */
  color: var(--color-light);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #0059c9;
}

.btn-mosaic {
  background-color: rgba(0, 112, 243, 0.6); /* var(--color-primary) com transparência */
  margin-top: 16px; /* Espaçamento superior */
  color: var(--color-light); /* Alterado para branco */
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn-mosaic:hover {
  background-color: #0059c9;
}


/* === Seção Refinada === */

.section-title {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 64px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px auto;
}

.card-modern {
  background-color: var(--color-light);
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card-modern img {
  max-height: 64px;
  margin-bottom: 24px;
  object-fit: contain;
}

.card-modern h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.card-modern p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.card-wide {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.card-wide-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-wide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-light));
  pointer-events: none;
}

.card-wide-text {
  padding: 32px;
  text-align: center;
}

.card-wide-text h3 {
  font-family: var(--font-title);
  font-size: 1.6rem; /* antes era 1.3rem */
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.card-wide-text p {
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.7;
  letter-spacing: 0.01em;
}


.section-fullcards {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.section-fullcards .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 80px;
  margin-bottom: 40px;
  width: 100%;
  text-align: center;
}

/* container agora ocupa 100vw com margem zero */
.carousel-container {
  width: 100vw;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 48px;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

.carousel-track {
  display: flex;
  gap: 2px; /* reduzido para aproximar os cards */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0; /* sem padding lateral */
  width: 100vw;
  box-sizing: border-box;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.card-full {
  flex: 0 0 85%;
  max-width: 1200px;
  height: 680px;

  background-size: cover; /* ocupa todo o card */
  background-position: center top; /* âncora centralizada no topo */
  background-repeat: no-repeat;
  background-color: #FFFFFF;

  scroll-snap-align: center;
  display: flex;
  align-items: flex-end;
  position: relative;
  opacity: 0.3;
  transform: scale(0.92);
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 0;
}


/* 🧩 Adiciona margem para colar os extremos nas bordas */
.card-full:first-child {
  margin-left: calc((100vw - 85vw) / 2);
}
.card-full:last-child {
  margin-right: calc((100vw - 85vw) / 2);
}

.card-full.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.card-full-overlay {
  background: linear-gradient(to top, rgba(79, 78, 78, 0.9), transparent);
  color: white;
  padding: 24px;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center; /* 🔹 centraliza horizontalmente */
  justify-content: flex-end;
  text-align: center; /* 🔹 garante que o texto esteja centralizado */
  height: 160px;
  z-index: 1;
}

.card-full-overlay h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.card-full-overlay p {
  font-size: 1.3rem;
  color: #EEE;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* setas nas laterais do container */
.carousel-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 32px;
  pointer-events: none;
  z-index: 3;
}

.carousel-arrow {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: #000;
}

@media (max-width: 768px) {
  .carousel-track {
    padding: 0 16px;
  }

  .card-full {
    flex: 0 0 90%;
    height: 380px;
  }
}


/* ===========================================
   HEADER / MENU
=========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;

  background-color: rgba(255, 255, 255, 0.92); /* Leve transparência */
  backdrop-filter: blur(8px); /* Suaviza o fundo abaixo */
  border-bottom: 1px solid rgba(224, 224, 224, 0.6);
  z-index: 1000;
}


.logo {
  height: 60px;
}
nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
nav a {
  font-weight: 600;
  position: relative;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
nav a:hover::after {
  transform: scaleX(1);
}

/* Menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
}
.menu-toggle span {
  height: 3px;
  background-color: #000;
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.97);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 1050;
}
.mobile-modal.open {
  display: flex;
}
.mobile-modal a {
  font-size: 1.2rem;
  font-weight: 600;
}

/* ===========================================
   FOOTER
=========================================== */
footer {
  background-color: #F7F7F7;
  color: var(--color-dark);
  padding: 40px 5%;
  font-size: 0.9rem;
}
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-column {
  flex: 1 1 240px;
}
footer h4 {
  font-family: var(--font-title);
  margin-bottom: 8px;
}
footer a {
  color: var(--color-primary);
  text-decoration: underline;
}
footer a:hover {
  opacity: 0.8;
}
.copyright {
  text-align: center;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ===========================================
   RESPONSIVO
=========================================== */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero-content-inner img {
    margin-bottom: 56px;
    margin-top: 30px;
    max-height: 30%;
  }
}

/* === Hero Alignment Fix === */

/* Hero refinado com alinhamento perfeito */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

section.hero {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100vw;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 5%;
  background: rgba(104, 104, 104, 0.4); /* fundo escuro com transparência */
  z-index: 2;
}
.hero-content-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.hero-content img {
  margin-bottom: 80px;
}



/* === Hero Visual Fix === */

.hero-content-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content img {
  margin-bottom: 80px;
  max-width: 200px;
}

.hero-content h1 {
  font-family: var(--font-sans);
  font-size: 2.6rem;
  margin-bottom: 16px;
  color: var(--color-light);
  text-align: center;
}

.hero-content p {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--color-light);
  text-align: center;
}



/* === CTA Serviços Hme === */

.section-abordagens {
  padding: 80px 5%;
  text-align: center;
}

.section-abordagens .section-title {
  font-size: 2.5rem;
  font-family: var(--font-title);
  margin-bottom: 12px;
}

.section-abordagens .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto 40px;
}

.approach-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .approach-cards {
    flex-direction: row;
  }
}

.approach-card {
  flex: 1;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.approach-card:hover {
  transform: scale(1.02);
}

.approach-content {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
  color: white;
  padding: 32px;
  width: 100%;
  text-align: left;
}

.approach-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.approach-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #E0E0E0;
  max-width: 500px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.approach-button {
  font-weight: 600;
  font-size: 1rem;
  color: white;
  padding: 8px 20px;
  background-color: #0070F3;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.approach-insta {
  background-image: url('images/insta-ai-hero.png');
}
.approach-bespoke {
  background-image: url('images/solucao-bespoke-hero.png');
}


.approach-button:hover {
  background-color: #0059c9;
}

/* === CTA === */

.cta {
  padding: 70px 5%;
  text-align: center;
  background-color: #ffffff;
  color: #2D2D2D;
  margin-top: 30px;
}

.cta h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  max-width: 960px;
  margin: 0 auto 40px auto;
  line-height: 1.4;
  color: #000000;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta .btn {
  background-color: var(--color-primary); /* azul elétrico */
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta .btn:hover {
  background-color: #0056c1;
}

.cta .btn.alt {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.cta .btn.alt:hover {
  background-color: var(--color-primary);
  color: white;
}

/* === Matrix Canvas === */


.hero canvas#matrixCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

#matrix-canvas.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

#matrix-canvas.fade-out {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(6px);
}


#matrix-canvas.hero-only {
  clip-path: inset(0 0 calc(100% - 600px) 0); /* altura limitada ao hero */
}


/* Texto da seção de história */
.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  justify-content: center;
  width: 100%;
  margin-top: 40px;
}

.founders .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F7F7F7;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 280px;
  margin: 0 auto;
}

.founders .card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}


.founders .card h3 {
  color: var(--color-dark);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 12px 0 4px;
}

.founders .card p {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.founders .card a {
  color: var(--color-primary);
  text-decoration: underline;
  font-size: 0.95rem;
}

/* === Matrix Canvas - Instagram Version === */

.hero-instagram {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

#instaMatrixCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  clip-path: inset(0 0 0 0); /* igual ao matrixCanvas da home */
}

.section-feature-blocks {
  padding: 80px 5%;
  background: #FFFFFF;
  overflow: hidden;
}

.section-feature-blocks .section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2D2D2D;
  margin-bottom: 64px;
  overflow: hidden;
}

.insights-mosaic {
  padding: 0;
  margin: 0;
  width: 100vw;
  background: #fff;
}

.insights-mosaic .section-title {
  padding: 64px 5% 24px;
  text-align: center;
  max-width: 100vw;   /* atualizado */
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2px;
  width: 100vw;
  margin: 0;
  padding: 64px 0 24px;
}

.insight-tile {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 460px;
  overflow: hidden;
  gap: 6px;
  margin-bottom: 6px;
}

.insight-tile.reverse {
  flex-direction: row-reverse;
}

.insight-image {
  flex: 1;
  background-size: cover;
  background-position: center;
  min-width: 50%;
}

.insight-content {
  flex: 1;
  background: linear-gradient(to top, rgba(216, 216, 216, 0.82), transparent 55%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.insight-content h3 {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.insight-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2D2D2D;
  margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
  .insight-tile,
  .insight-tile.reverse {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 10px; /* ✅ espaçamento entre os cards */
  }

  .insight-image {
    width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    display: block;
  }

  .insight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
  }

  .insight-content h3,
  .insight-content p,
  .insight-content strong {
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  }

  .insight-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .insight-content p {
    font-size: 1rem;
    margin-bottom: 8px;
  }
}


/* Hero canvas bespoke: matriz preta/cinza */
.hero canvas#matrixCanvasBespoke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-color: #ffffff;
}

/* === Mosaico Visual Estilo Apple === */

.section-mosaic {
  padding: 0;
  margin: 0;
  width: 100vw;
}

.section-mosaic-header {
  padding: 64px 5% 24px;
  text-align: center;
  max-width: 100vw;   /* atualizado */
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2px;
  width: 100vw;
  margin: 0;
  padding: 64px 0 24px;
}

.section-mosaic-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--color-dark);
  margin-bottom: 12px;
  grid-column: 1 / -1; /* ocupa as duas colunas */
  text-align: center;
  margin: 0 auto;
}

.section-mosaic-header p {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 800px;
  margin: 0 auto;
  grid-column: 1 / -1; /* ocupa as duas colunas */
  text-align: center;
  margin: 0 auto;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 100vw;
}

.mosaic-card {
  position: relative;
  height: 460px;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.mosaic-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: linear-gradient(to top, rgba(216, 216, 216, 0.82), transparent 55%);
  padding: 32px;
  box-sizing: border-box;
}

.mosaic-overlay h3 {
  font-size: 1.9rem;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mosaic-overlay p {
  font-size: 1.3rem;
  color: #000;
  line-height: 1.6;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.mosaic-overlay-white {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: linear-gradient(to top, rgba(216, 216, 216, 0.82), transparent 55%);
  padding: 32px;
  box-sizing: border-box;
}

.mosaic-overlay-white h3 {
  font-size: 1.9rem;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.mosaic-overlay-white p {
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.6;
}

/* === Posicionamentos Individuais === */
.overlay-bottom-right {
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  padding: 32px 48px;
}

.overlay-bottom-right h3 {
  max-width: 320px;
  width: 100%;
  text-align: right;
}

.overlay-bottom-right p {
  max-width: 320px;
  width: 100%;
  text-align: right;
}

.overlay-top-left {
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 30px 40px 0 40px;
}
.overlay-top-left h3 {
  max-width: 320px;
  width: 100%;
  text-align: left;
}
.overlay-top-left p {
  max-width: 320px;
  width: 100%;
  text-align: left;
}

.overlay-bottom-left {
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 32px 48px;
}
.overlay-bottom-left h3 {
  max-width: 320px;
  width: 100%;
  text-align: left;
}
.overlay-bottom-left p {
  max-width: 320px;
  width: 100%;
  text-align: left;
}

.overlay-middle-left {
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 0 40px;
}

.overlay-top-right {
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
  padding: 32px 18px;
}
.overlay-top-right h3 {
  max-width: 320px;
  width: 100%;
  text-align: right;
}
.overlay-top-right p {
  max-width: 320px;
  width: 100%;
  text-align: right;
}

@media (max-width: 1024px) {
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-card {
    height: 320px;
  }

  .mosaic-overlay {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .mosaic-overlay h3 {
    font-size: 1.4rem;
    max-width: 220px;
  }

  .mosaic-overlay p {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 400;
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .mosaic-overlay h3 {
    font-size: 1.2rem;
    max-width: 220px;
  }

  .mosaic-overlay p {
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 400;
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .mosaic-overlay-white h3 {
    font-size: 1.4rem;
    max-width: 180px;
  }

  .mosaic-overlay-white p {
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 180px;
    font-weight: 400;
  }
}

@media (max-width: 480px) {
  .mosaic-overlay-white h3 {
    font-size: 1.2rem;
  }

  .mosaic-overlay-white p {
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 400;
  }
}

/* ===========================================
   CONTATO: Estilo V2 Dowser
=========================================== */
.contato-section {
  padding: 70px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 60px;
}

.form-container {
  flex: 1 1 480px;
}

/* ===== Full-bleed Vimeo, sem borda preta ===== */
section.video-fullwidth {
  position: relative;
  display: block;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important; /* remove fundo preto */
  overflow: hidden; /* mantém só o vídeo */
}

/* wrapper responsivo usando aspect-ratio */
section.video-fullwidth .vimeo-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* iframe ocupa 100% da área */
section.video-fullwidth .vimeo-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* evita scroll horizontal em mobile */
html, body {
  margin: 0;
  overflow-x: hidden;
}

.visual video {
  flex: 1 1 480px;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  object-fit: cover;
}

.form-container h2 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 24px;
  color: #000000;
}

form {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  font-weight: 600;
}

input, select, textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
}

.hidden {
  display: none;
}

.success-message {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background-color: #A4F6B9;
  color: #000;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.success-message button {
  margin-top: 16px;
}

@media (max-width: 768px) {
  .contato-section {
    flex-direction: column;
    align-items: center;
  }
}
