/* ===== Variáveis (azul e dourado – tema escuro) ===== */
:root {
  --color-navy: #0d1b2a;
  --color-navy-alt: #1a2433;
  --color-navy-card: #16202d;
  --color-gold: #c9a227;
  --color-gold-light: #d4af37;
  --color-gold-muted: #a68b2a;
  --color-cta: #c9a227;
  --color-cta-hover: #d4af37;
  --color-text: #ffffff;
  --color-text-muted: #94a3b8;
  --color-bg: #0d1b2a;
  --color-bg-alt: #16202d;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.25);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.2);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 720px;
}

/* ===== Header (tema escuro) ===== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  max-width: none;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 2.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.nav a {
  font-size: calc(1.3125rem + 2px);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
  position: relative;
  display: inline-block;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: none;
}

.nav a:hover {
  color: var(--color-gold);
  -webkit-animation: text-focus-in 0.3s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
          animation: text-focus-in 0.3s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.nav a:hover::after {
  width: 100%;
  transition: width 0.3s ease;
}

@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}

@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}

@media (max-width: 639px) {
  .nav {
    gap: 1rem;
  }
  .nav a {
    font-size: calc(1.25rem + 2px);
  }
}

/* ===== Folds ===== */
.fold {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .fold {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .fold {
    padding: 6rem 0;
  }
}

/* ===== Hero (duas colunas + área visual – tema escuro) ===== */
.fold-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
  width: 100%;
  background-image: url('../image/background.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--color-bg);
}

@media (min-width: 900px) {
  .fold-hero {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to right, rgba(13, 27, 42, 0.35) 0%, rgba(13, 27, 42, 0.5) 45%, rgba(13, 27, 42, 0.88) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding-bottom: 2rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Formulário hero (direita) */
.hero-form-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 2rem;
}

/* Evita o “retângulo” em volta da meia largura ao focar #contato (âncora / JS) */
#contato:focus {
  outline: none;
}

#contato:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

@media (min-width: 900px) {
  .hero-content {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding-left: clamp(0.75rem, 2.5vw, 1.75rem);
    padding-right: clamp(0.75rem, 2.5vw, 1.75rem);
    padding-bottom: 0;
    text-align: center;
  }

  .hero-content .hero-headline,
  .hero-content .hero-subheadline,
  .hero-content .cta-block--left {
    max-width: 28rem;
    width: 100%;
  }

  .hero-content .cta-block--left {
    text-align: center;
  }

  .hero-content .btn-hero-cta {
    align-self: center;
  }

  .hero-form-wrap {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding-bottom: 0;
    padding-left: clamp(0.75rem, 2.5vw, 1.75rem);
    padding-right: clamp(0.75rem, 2.5vw, 1.75rem);
  }

  .hero-form {
    width: 100%;
    max-width: 22rem;
  }
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.5rem 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(13, 27, 42, 0.72);
  border: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.hero-form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.hero-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: rgba(10, 20, 32, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form-input::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

.hero-form-input:hover {
  border-color: rgba(201, 162, 39, 0.45);
}

.hero-form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25);
}

.hero-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
}

.hero-form-wa-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: #128c7e;
}

.hero-content .cta-block--left {
  text-align: inherit;
}

.fold-hero .cta-support {
  color: var(--color-text-muted);
}

/* Retângulo de trás (deslocado para baixo-direita) — camada “sombra” */

/* Formas decorativas (dourado) */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape--wave {
  position: absolute;
  top: -10%;
  right: -20%;
  width: 85%;
  height: 120%;
  background: var(--color-navy-alt);
  border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
  transform: rotate(-8deg);
  opacity: 0.95;
}

.shape--circle {
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 140px;
  height: 140px;
  background: var(--color-gold-muted);
  border-radius: 50%;
  opacity: 0.5;
}

.shape--dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

.shape--dot1 { top: 25%; left: 15%; }
.shape--dot2 { top: 60%; left: 8%; }
.shape--dot3 { bottom: 30%; left: 25%; }

.shape--triangle {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
}

.shape--tri1 {
  top: 20%;
  right: 35%;
  border-width: 0 0 20px 24px;
  border-color: transparent transparent var(--color-gold-muted) transparent;
  opacity: 0.9;
}

.shape--tri2 {
  bottom: 25%;
  right: 25%;
  border-width: 14px 0 0 14px;
  border-color: transparent transparent transparent var(--color-gold);
  opacity: 0.7;
}

.hero-visual img,
.hero-image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  z-index: 1;
}

.hero-visual img {
  display: block;
}

.hero-image-placeholder {
  background: linear-gradient(135deg, var(--color-navy-alt) 0%, var(--color-gold-muted) 30%);
  opacity: 0.9;
}

@media (min-width: 900px) {
  .hero-image-placeholder {
    min-height: 380px;
  }
}

/* Se tiver imagem: .hero-visual img { position: relative; z-index: 1; width: 100%; object-fit: cover; border-radius: var(--radius-lg); } */

.hero-headline {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-gold);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 2.5rem;
  }
}

.hero-subheadline {
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .hero-subheadline {
    font-size: 1.25rem;
  }
}

.btn-hero-cta {
  align-self: flex-start;
  background-color: var(--color-gold);
  color: var(--color-navy);
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color 0.2s;
}

.btn-hero-cta:hover,
.btn-hero-cta:focus {
  background-color: var(--color-gold-light);
  color: var(--color-navy);
}

.hero-form .hero-form-submit.btn-hero-cta {
  display: inline-flex;
  text-transform: none;
  font-size: 1rem;
  align-self: stretch;
}

.cta-block--left {
  text-align: left;
}

.cta-block {
  text-align: center;
  margin-top: 0;
}

.cta-support {
  font-size: 1.3125rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 1.3125rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background-color: var(--color-cta);
  color: #0d1b2a;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-cta-hover);
  color: #0d1b2a;
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.4);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(201, 162, 39, 0.15);
  color: var(--color-gold-light);
}

/* ===== Títulos das secções ===== */
.section-tag {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-tag--left {
  text-align: left;
}

.fold-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.fold-title--left {
  text-align: left;
  margin-bottom: 1rem;
}

.fold-subtitle {
  font-size: 1.375rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 2rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .fold-title {
    font-size: 2.125rem;
  }
  .fold-subtitle {
    margin-bottom: 2.5rem;
  }
}

/* ===== Segunda dobra: Value Proposition (3 colunas – tema escuro) ===== */
.fold-why {
  position: relative;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-navy-alt) 50%, var(--color-bg) 100%);
}

.fold-why .fold-wrap {
  position: relative;
}

.cards-three {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cards-three .card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cards-three .card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scale up suave (ex.: título "Nossa equipe") */
.scale-up-center {
  -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
          animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

/* Títulos / textos / botões das seções com animação suave */
.fold-why .section-tag,
.fold-why .fold-title,
.fold-why .fold-subtitle,
.fold-why .cta-block,
.fold-team .section-tag,
.fold-team .fold-title,
.fold-team .fold-subtitle--team {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fold-why .section-tag.is-visible,
.fold-why .fold-title.is-visible,
.fold-why .fold-subtitle.is-visible,
.fold-why .cta-block.is-visible,
.fold-team .section-tag.is-visible,
.fold-team .fold-title.is-visible,
.fold-team .fold-subtitle--team.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .cards-three {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.cards-value .card-value {
  background: linear-gradient(145deg, var(--color-navy-card) 0%, rgba(22, 32, 45, 0.98) 50%, var(--color-navy-alt) 100%);
  border: 1px solid rgba(201, 162, 39, 0.18);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
}

.card-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.25) 0%, rgba(166, 133, 35, 0.15) 100%);
  border: 2px solid var(--color-gold-muted);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.card-icon-svg {
  width: 36px;
  height: 36px;
  color: var(--color-gold);
}

.card-value .card-icon {
  font-size: 2.125rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 1.3125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.card {
  background: var(--color-navy-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

/* ===== Terceira dobra: 3 passos (cards tema escuro) ===== */
.fold-steps {
  background:
    linear-gradient(180deg, rgba(13,27,42,0.96) 0%, rgba(13,27,42,0.96) 70%, rgba(13,27,42,1) 100%),
    url('../image/escritorioVertical2.jpeg') center/cover no-repeat;
}

.steps-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .steps-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--color-navy-card);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.step-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(201, 162, 39, 0.2);
  border: 2px solid var(--color-gold-muted);
  border-radius: 50%;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-gold);
}

.step-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.step-card-text {
  font-size: 1.3125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ===== Quarta dobra: About (bloco escuro + linhas douradas) ===== */
.fold-about {
  background-color: var(--color-bg);
  position: relative;
}

.fold-about .about-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.fold-about .container {
  position: relative;
  z-index: 1;
}

.about-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-wrap {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.about-visual {
  position: relative;
  min-height: 260px;
  order: 1;
}

@media (min-width: 900px) {
  .about-visual {
    min-height: 320px;
  }
}

.about-decor-lines {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.about-decor-lines span {
  width: 2px;
  background: var(--color-gold-muted);
  border-radius: 1px;
  opacity: 0.8;
}

.about-decor-lines span:nth-child(1) { height: 60%; }
.about-decor-lines span:nth-child(2) { height: 80%; }
.about-decor-lines span:nth-child(3) { height: 40%; }
.about-decor-lines span:nth-child(4) { height: 70%; }

.about-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape--wave-about {
  top: -5%;
  right: -15%;
  width: 90%;
  height: 110%;
  background: var(--color-navy-alt);
  border-radius: 40% 50% 55% 45% / 50% 45% 55% 50%;
  transform: rotate(5deg);
}

.shape--dot4 { top: 20%; right: 20%; background: var(--color-gold); }
.shape--dot5 { bottom: 25%; right: 10%; background: var(--color-gold); }

.about-visual img,
.about-image-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image-placeholder {
  background: linear-gradient(145deg, var(--color-navy-alt) 0%, var(--color-gold-muted) 40%);
  opacity: 0.8;
}

@media (min-width: 900px) {
  .about-image-placeholder {
    min-height: 320px;
  }
}

.about-content {
  order: 2;
}

/* Animação de entrada lateral na seção Sobre nós */
.fold-about .about-visual,
.fold-about .about-content {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fold-about .about-visual {
  transform: translateX(-40px);
}

.fold-about .about-content {
  transform: translateX(40px);
}

.fold-about .about-visual.is-visible,
.fold-about .about-content.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.about-text {
  font-size: 1.375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== Seção Equipe (2 perfis) ===== */
.fold-team {
  background:
    radial-gradient(circle at top, rgba(201,162,39,0.1) 0%, transparent 55%),
    linear-gradient(180deg, rgba(13,27,42,0.96) 0%, rgba(13,27,42,0.96) 75%);
  color: var(--color-text);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.fold-team .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.fold-team::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12%;
  width: 140px;
  background-image:
    linear-gradient(to bottom, transparent 0%, rgba(201,162,39,0.6) 20%, rgba(201,162,39,0.15) 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(201,162,39,0.6) 20%, rgba(201,162,39,0.15) 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(201,162,39,0.6) 20%, rgba(201,162,39,0.15) 80%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(201,162,39,0.6) 20%, rgba(201,162,39,0.15) 80%, transparent 100%);
  background-repeat: no-repeat;
  background-position:
    0 0,
    40px 0,
    80px 0,
    120px 0;
  background-size:
    4px 80%,
    4px 80%,
    4px 80%,
    4px 80%;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.fold-team .section-tag,
.fold-team .fold-title {
  color: var(--color-text);
}

.fold-subtitle--team {
  color: var(--color-text-muted);
  margin-bottom: 2.75rem;
}

.fold-team .cards-three {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  gap: 3rem;
}

.team-card {
  text-align: center;
  min-width: 0; /* permite shrink no grid */
  background: rgba(22, 32, 45, 0.85);
  border-radius: 12px;
  padding: 2.5rem 2rem 2.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201, 162, 39, 0.18);
  backdrop-filter: blur(10px);
}

@media (min-width: 900px) {
  .team-card {
    min-width: 420px; /* evita quebra do nome em uma linha */
  }
  .team-card-name {
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  .team-card-name {
    white-space: normal;
  }
}

.team-card-photo {
  width: 210px;
  height: 210px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-gold-muted);
}

.team-card-photo-placeholder {
  width: 230px;
  height: 230px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-navy-card);
  border: 3px solid var(--color-gold-muted);
}

.team-card-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.team-card-role {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 0.85rem;
}

.team-card-bio {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ===== Quinta dobra: FAQ + Rodapé (tema escuro) ===== */
.fold-faq {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.96) 60%, rgba(13,27,42,1) 100%),
    url('../image/escritorioVertical4.jpeg') center/cover no-repeat;
}

.faq-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--color-gold-muted);
  opacity: 0.2;
  border-radius: var(--radius);
}

.fold-faq .fold-subtitle {
  margin-bottom: 1.5rem;
}

.faq {
  width: 95vw;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  overflow: hidden; /* para conter os floats */
}

.faq-column {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.5rem;
}

@media (min-width: 900px) {
  .faq-column {
    width: 50%;
  }
}

.faq-item {
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-navy-card);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1.375rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
}

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 0.5rem;
  border-right: 2px solid var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.faq-question:hover,
.faq-question:focus {
  background-color: rgba(201, 162, 39, 0.08);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: -2px;
}

.faq-answer {
  padding: 0 1.25rem 1rem;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 1.3125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-top: 0.25rem;
}

.footer {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  margin-top: 0;
  background-color: var(--color-navy-alt);
}

.footer-inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1.2fr;
    align-items: flex-start;
  }
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-mark {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-gold);
}

.footer-slogan {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 18rem;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-links--contact span {
  font-weight: 600;
  color: var(--color-text);
}

.footer-links--contact a {
  color: var(--color-gold);
}

.footer-links--contact a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  transform: translateY(-1px);
}

.footer-social a svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

.footer-social a:last-child svg {
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.whatsapp-float__icon {
  width: 1.85rem;
  height: 1.85rem;
}

@media (max-width: 479px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.5rem;
    height: 3.5rem;
  }

  .whatsapp-float__icon {
    width: 1.7rem;
    height: 1.7rem;
  }
}

/* ===== Responsivo ===== */
@media (max-width: 479px) {
  .btn {
    width: 100%;
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .hero-content {
    text-align: center;
  }
  .hero-form-wrap {
    max-width: none;
  }
  .cta-block--left {
    text-align: center;
  }
  .about-content .cta-block--left {
    text-align: center;
  }
  .fold-title--left {
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
  .fold-about .about-visual {
    display: none;
  }
}

/* ===== Correções produção (Hostinger / cache / conflito .btn) ===== */
.hero-form .hero-form-submit.btn-hero-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 100%;
  max-width: 100%;
  min-height: unset;
  padding: 0.75rem 1.25rem !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  box-sizing: border-box;
}

.hero-form .hero-form-submit-text {
  font-size: 1rem;
  line-height: 1.35;
}

.hero-form .hero-form-wa-icon {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px !important;
}

.whatsapp-float {
  position: fixed !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483000;
  margin: 0 !important;
  transform: none;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}
