/* =========================================
   Variáveis e Reset
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');


:root {
  --color-green: #23a455;
  --color-green-dark: #1c8a46;
  --color-orange: #e8c220;
  --color-orange-dark: #1c8a46;
  --color-yellow: #fdd947;
  --color-yellow-dark: #e8c220;
  --color-gold: #b8860b;
  --color-navy: #1e2a3a;
  --color-text: #2c3742;
  --color-muted: #55616e;
  --color-white: #ffffff;
  --color-light: #f6f7f9;
  --color-border: #e3e6ea;
  --color-dark: #17222c;
  --radius: 10px;
  --maxw: 1200px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  color-scheme: light;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-white);
}

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.section-eyebrow {
  font-style: italic;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  text-align: center;
}

/* Botões */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(35, 164, 85, 0.28);
}

.btn-primary:hover {
  background-color: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(35, 164, 85, 0.28);
}

.btn-secondary {
  background-color: var(--color-green-dark);
  color: var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-green-dark);
}

/* Ícones sociais */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s ease;
}

.social-icon:hover {
  background-color: var(--color-orange);
}

/* =========================================
   Header
========================================= */
.topbar {
  background-color: var(--color-dark);
  color: var(--color-white);
  font-size: 0.72rem;
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar-label {
  font-weight: 500;
}

.social-list {
  display: flex;
  gap: 0.4rem;
}

.topbar-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-inner {
  max-width: var(--maxw);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-image-header {
  width: auto;
  max-width: min(220px, 52vw);
  height: clamp(3.4rem, 6vw, 4.6rem);
  display: block;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0; /* evita encolher em contêineres flex */
  justify-content: flex-start;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto; /* Empurra para a direita */
}

.nav-toggle-bar {
  width: 26px;
  height: 3px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.is-open {
  display: block;
  opacity: 1;
}

.primary-nav {
  position: fixed;
  top: 0;
  right: -70%;
  width: 70%;
  max-width: 320px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.primary-nav.is-open {
  right: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 5rem 1.5rem 1.5rem;
}

.nav-link {
  display: block;
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-orange);
}

/* Botão de fechar no menu mobile */
.nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav-close:hover {
  color: var(--color-orange);
}

/* =========================================
   Hero
========================================= */
.hero {
  background-color: var(--color-dark);
  background-image:
    linear-gradient(135deg, rgba(35, 164, 85, 0.10) 0%, rgba(23, 34, 44, 0) 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 8px);
  color: rgba(255, 255, 255, 0.85);
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;

  top: 0;
  left: 0;
}

.hero-eyebrow {
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.hero-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.hero-tag {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-yellow);
  margin: 0.4rem 0 1rem;
}

.hero-description {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-brand {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hero-carousel {
  width: min(100%, 34rem);
  position: relative;
  padding-bottom: 2rem;
}

.hero-carousel-track {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 450ms ease, transform 450ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 17rem;
  object-fit: contain;
  border-radius: 0.75rem;
}

.hero-slide:nth-child(3) img,
.hero-slide:nth-child(4) img {
  object-fit: cover;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.hero-carousel-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-carousel-dot:hover,
.hero-carousel-dot:focus-visible {
  transform: scale(1.25);
}

.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

.hero-carousel-dot.is-active {
  background: var(--color-yellow);
}
/* =========================================
   Emergency CTA (Extensão da Hero)
========================================= */
.emergency-cta {
  position: relative;
  background-color: #FDD13B; /* Cor de fundo amarelo (fallback) */
  background-image: url("assets/mobile_man_locked.png");
  background-position: left; /* Alinha a imagem à direita, centralizada verticalmente */
  background-repeat: no-repeat; /* Não repete a imagem */
  background-size: auto 100%; /* Altura 100% da div, largura automática */
  padding: 5rem 1.25rem;
  overflow: hidden;
}

.emergency-cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2; /* Garante que o conteúdo fique acima da imagem de fundo */
}

.emergency-content {
  flex: 1;
  text-align: center;
  max-width: 500px;
}

.emergency-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2C3E2D;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.emergency-description {
  font-size: 1rem;
  color: #2C3E2D;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Botão de Emergência (Verde) */
.btn-emergency {
  display: inline-block;
  background-color: var(--color-green);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(35, 164, 85, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-emergency:hover {
  background-color: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 194, 32, 0.5);
}

/* =========================================
   Desktop (768px+)
========================================= */
@media (min-width: 768px) {
  .emergency-cta {
    padding: 4rem 1.25rem;
    background-size: auto 100%; /* Mantém altura total */
    background-image: url("assets/man_locked_out3_edit.png");
  }

  .emergency-cta-inner {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .emergency-content {
    text-align: left;
    flex: 1;
  }

  .emergency-title {
    font-size: 2.2rem;
  }
}

/* Mobile: reserva a metade superior para a imagem e posiciona o conteúdo abaixo. */
@media (max-width: 768px) {
  .emergency-cta {
    min-height: 44rem;
    padding: 0 1.25rem 2.5rem;
    background-position: center top;
  }

  .emergency-cta-inner {
    min-height: 41.5rem;
    display: grid;
    grid-template-rows: 50% 50%;
    gap: 0;
  }

  .emergency-content {
    grid-row: 2;
    align-self: start;
    width: 100%;
  }
}

/* =========================================
   Large Desktop (992px+)
========================================= */
@media (min-width: 992px) {
  .emergency-cta {
     background-position: center right;
  background-repeat: no-repeat;
  background-size: 80% auto; /* <--- Faz a imagem cobrir tudo */
  }

  .emergency-title {
    font-size: 2.5rem;
  }

  .emergency-description {
    font-size: 1.1rem;
  }
}

/* =========================================
   Benefits / Stats
========================================= */
.benefits {
  background-color: var(--color-white);
}

.benefits-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.stat-label {
  font-style: italic;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.benefit-icon {
  font-size: 2rem;
  color: var(--color-navy);
}

.benefit-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
}

.benefit-text {
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: 40ch;
}

.ceo-logo {
  border-radius: 100px;
}

/* =========================================
   Sobre
========================================= */
.about-intro {
  background-color: var(--color-white);
  border-bottom: 2px solid var(--color-yellow);
}

.about-intro-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2rem;
  text-align: center;
  color: var(--color-navy);
}

.about-intro-eyebrow {
  margin-bottom: 0.3rem;
  color: var(--color-yellow);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.about-intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.about-intro-line {
  display: block;
  width: min(100%, 22.5rem);
  height: 2px;
  margin: 0 auto 0.9rem;
  background-color: var(--color-yellow);
}

.about-intro-inner > p:last-child {
  line-height: 1.5;
}

.about {
  background-color: var(--color-yellow);
}

.about-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-media {
  position: relative;
}

.about-carousel {
  position: relative;
  padding-bottom: 2rem;
}

.about-carousel-track {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 1rem;
}

.about-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 450ms ease, transform 450ms ease;
  pointer-events: none;
}

.about-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.about-slide img {
  display: block;
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.about-carousel-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.about-carousel-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(44, 62, 45, 0.45);
  cursor: pointer;
}

.about-carousel-dot.is-active {
  background: var(--color-white);
}

.about-carousel-dot:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

.about-text {
  font-size: 1rem;
  color: var(--color-navy);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-align: left;
}

.about-content .section-eyebrow {
  color: var(--color-white);
  text-align: left;
  font-style: normal;
  text-transform: uppercase;
}

.about-content .section-title {
  color: var(--color-navy);
  text-align: left;
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 1.25rem;
}

.btn-about {
  background-color: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(35, 164, 85, 0.28);
  padding: 1rem 1.5rem;
}

.btn-about:hover {
  background-color: var(--color-green-dark);
}

.about-carousel-dot:hover {
  transform: scale(1.2);
}

.about-carousel-dot {
  transition: transform 180ms ease, background-color 180ms ease;
}

/* =========================================
   Serviços
========================================= */
.differentials {
  background-color: #1d2b34;
  background-image:
    linear-gradient(135deg, rgba(35, 164, 85, 0.10) 0%, rgba(23, 34, 44, 0) 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 8px);
  color: #fff;
  border-top: 2px solid var(--color-yellow);
}
.differentials-inner { max-width:60rem; margin:auto; padding:3.5rem 1.25rem; text-align:center; }
.differentials-inner > p:first-child { color:var(--color-yellow); font-weight:700; text-transform:uppercase; margin-bottom:.35rem; }
.differentials h2 { font-size:clamp(1.9rem,4vw,2.7rem); line-height:1.15; }
.differentials-inner > span { display:block; width:22rem; max-width:100%; height:2px; background:var(--color-yellow); margin:1rem auto; }
.differentials-lead { line-height:1.55; }
.differentials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin:2rem 0; }
.differential-icon { width:11rem; height:11rem; margin:auto auto 1rem; border-radius:50%; background:var(--color-yellow); display:grid; place-items:center; font-size:5rem; }
.differential-icon img { width:6rem; height:6rem; object-fit:contain; }
.differentials h3 { font-size:1.25rem; text-transform:uppercase; line-height:1.2; }
.services-legacy, .how-legacy { display:none; }
@media (max-width: 640px) { .differentials-grid { grid-template-columns:1fr; gap:1.5rem; } }
.services {
  background-color: #f5a623;
  color: var(--color-white);
}

.services-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services-intro .section-eyebrow,
.services-intro .section-title {
  color: var(--color-white);
}

.services-text {
  font-size: 0.9rem;
  opacity: 0.95;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.service-icon {
  font-size: 1.8rem;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.service-text {
  font-size: 0.88rem;
  opacity: 0.95;
  max-width: 34ch;
}

/* =========================================
   Como Funciona
========================================= */
.how {
  background-color: var(--color-light);
}

.how-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  text-align: center;
}

.how-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.how-icon {
  font-size: 2rem;
  color: var(--color-navy);
}

.how-step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* =========================================
   Qualidade
========================================= */
.quality {
  background-color: var(--color-white);
}

.quality-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: var(--color-orange);
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
}

.quality-eyebrow {
  font-style: italic;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1rem;
}

.quality-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.quality-cert-image {
  max-width: 280px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0 auto;
}

/* =========================================
   Clientes
========================================= */
.clients {
  background-color: #1d2b34;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(120deg, rgba(0, 0, 0, 0.16), transparent 55%);
  background-size: 14px 14px, 100% 100%;
}

.clients-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  text-align: center;
}

.clients-eyebrow {
  margin-bottom: 0.25rem;
  color: var(--color-yellow);
}

.clients-title {
  margin-bottom: 2rem;
  color: var(--color-white);
}

/* Carrossel de Clientes */
.clients-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.clients-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  will-change: transform;
  
  touch-action: pan-y;
  
  padding: 2rem 0;
  margin: -1rem 0;
}

.clients-grid:active {
  cursor: grabbing;
}

.client-logo {
  flex: 0 0 180px;
  min-width: 180px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .clients-grid {
    touch-action: pan-y;
  }
  
  .client-logo {
    flex: 0 0 150px;
    min-width: 150px;
    height: 65px;
  }
}

/* =========================================
   Suporte ao Cliente
========================================= */
.support {
  background-color: var(--color-white);
}

.support-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  text-align: center;
}

.support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.support-title {
  margin-bottom: 1rem;
}

.support-lead {
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.support-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.support-email {
  color: var(--color-orange);
  font-weight: 600;
}

.support-whatsapp {
  margin-top: 1rem;
}

.support-whatsapp-label {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
}

.support-phone {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  border: 2px solid var(--color-orange);
  border-radius: 999px;
  padding: 0.25rem 1.25rem;
  margin-top: 0.5rem;
}

/* =========================================
   CTA - Orçamento + Contato
========================================= */
.cta {
  background-color: var(--color-light);
}

.cta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.quote-panel {
  padding: 3rem 1.25rem;
}

.quote-subtitle {
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  background-color: var(--color-white);
  color: var(--color-text);
}

.form-input:focus {
  outline: 2px solid var(--color-orange);
  outline-offset: 1px;
}

.form-textarea {
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
  letter-spacing: 0.2em;
}

.form-feedback {
  font-size: 0.85rem;
  color: #2e7d32;
  font-weight: 600;
  min-height: 1.2rem;
}

.contact-panel {
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 3rem 1.25rem;
}

.contact-title {
  color: var(--color-white);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.contact-icon {
  flex-shrink: 0;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-advantages {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.contact-advantages li {
  position: relative;
  padding-left: 1rem;
}

.contact-advantages li::before {
  content: "\2022";
  position: absolute;
  left: 0;
}

/* =========================================
   Mapa
========================================= */
.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* =========================================
   Footer
========================================= */
.site-footer {
  background-color: var(--color-light);
  color: var(--color-text);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-orange);
}

.footer-faq dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 0.5rem;
}

.footer-faq dd {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.footer-brand {
  text-align: center;
  padding: 1rem 1.25rem;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
}

.logo-image-footer {
  /* Responsivo: tamanho mínimo 120px, ideal baseado em viewport, máximo 220px */
  width: clamp(140px, 18vw, 220px);
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* garante proporção correta sem corte */
  flex-shrink: 0; /* evita encolher em contêineres flex */
}

.footer-bottom {
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 0.4rem;
}

/* =========================================
   WhatsApp flutuante
========================================= */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 3.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  z-index: 60;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* =========================================
   Media Queries - Tablet
========================================= */
@media (min-width: 640px) {
  .form-row {
    flex-direction: row;
  }

  .benefits-grid,
  .services-grid,
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================
   Media Queries - Desktop
========================================= */
@media (min-width: 1282px) {

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    width: 100%;
    display: block;
    position: static;
    box-shadow: none;
    overflow: visible;
    height: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end; /* Alinha os links à DIREITA da tela */
    gap: 2rem; /* Espaço entre os links */
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    white-space: nowrap;
  }
  .topbar-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .topbar-info {
    flex-direction: row;
    gap: 1.5rem;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    padding: 4rem 1.25rem 5rem;
  }

  .hero-content {
    flex: 1;
  }

  .hero-brand {
    flex: 1;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-logo-2 {
    font-size: 4rem;
  }

  .benefits-inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }

  .stat {
    flex-shrink: 0;
  }

  .benefits-grid {
    flex: 1;
  }

  .benefit-card {
    align-items: flex-start;
    text-align: left;
  }

  .about-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .about-media {
    flex: 1;
  }

  .about-content {
    flex: 1.3;
  }

  .about-carousel-track,
  .about-slide img {
    min-height: 29rem;
    height: 29rem;
  }

  .services-inner {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    align-items: start;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-inner {
    flex-direction: row;
  }

  .quote-panel {
    flex: 1.2;
    padding: 4rem 3rem;
  }

  .contact-panel {
    flex: 1;
    padding: 4rem 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1.4fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .map-frame {
    height: 420px;
  }

 .navbar-inner {
    position: relative; /* Fundamental para o posicionamento absoluto da logo */
    height: 100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Mantém estrutura flexível */
  }

  .logo {
    position: absolute;
    left: 1.25rem;
    transform: none;
    margin: 0;
    z-index: 5;
  }

  .logo-image-header {
    width: auto;
    height: clamp(3.4rem, 6vw, 4.6rem);
    margin-right: 0; /* Remove a margem gigante que estava atrapalhando */
  }
}

/* =========================================
   Avaliações do Google
========================================= */
.reviews {
  background-color: #f5f6f8;
  color: var(--color-dark);
  padding: 4rem 0;
  overflow: hidden;
}

.reviews-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 0 1.25rem;
}

.reviews-head { text-align: center; }
.reviews-google { order: 2; margin-top: 2rem; }
.reviews-summary { order: 1; }
.reviews-write { order: 3; }
.reviews-head .reviews-rating { display: none; }
.reviews-title::before { content: "O QUE FALAM SOBRE NÓS"; display:block; color:var(--color-yellow); font-size:1rem; text-transform:uppercase; margin-bottom:.5rem; }
.reviews-title { font-size:2rem; }
.review-image { padding: 0; overflow: hidden; border: 8px solid var(--color-yellow); }
.review-image img { display:block; width:100%; height:100%; object-fit:cover; }
.reviews-track .review-card:not(.review-image) { display:none; }

.reviews-google {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -1px;
}

.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

.reviews-title {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.reviews-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.reviews-score {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2630;
}

.reviews-stars {
  color: #fbbc05;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.reviews-count {
  color: #70757a;
  font-size: 0.85rem;
}

.reviews-write {
  margin-top: 0.5rem;
}

/* Carrossel */
.reviews-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.5rem 0.75rem;
  padding-left: calc(50% - 170px);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.reviews-track:active {
  cursor: grabbing;
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

/* Carrossel de avaliações por páginas */
.reviews-carousel {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

.reviews-track {
  width: 200%;
  padding: 0;
  gap: 1rem;
  cursor: default;
  transition: transform 450ms ease;
}

.review-image {
  display: block;
  box-sizing: border-box;
  flex: 0 0 calc((50% - 2rem) / 3);
  width: calc((50% - 2rem) / 3);
  height: 29rem;
  margin: 0;
  border: 10px solid var(--color-yellow);
  border-radius: 1.25rem;
  box-shadow: none;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1rem;
}

.reviews-dots button {
  width: .65rem;
  height: .65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #aaa;
  cursor: pointer;
}

.reviews-dots button.is-active { background: var(--color-yellow); }

.reviews-summary {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.reviews-google {
  display: block;
  width: max-content;
  margin: 2rem auto 1rem;
}

.reviews-write {
  display: table;
  margin: 0 auto;
}

@media (max-width: 899px) {
  .reviews-track { width: 600%; }
  .review-image { flex-basis: calc(100% / 6); width: calc(100% / 6); height: 30rem; margin: 0; }
}

.review-card {
  position: relative;
  flex: 0 0 auto;
  width: 340px;
  background-color: var(--color-white);
  border: 1px solid #e4e6eb;
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.review-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #70757a;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-right: 1.5rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-author {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 700;
  color: #1f2630;
}

.review-author-meta {
  font-size: 0.8rem;
  color: #70757a;
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.review-stars {
  color: #fbbc05;
  font-size: 1rem;
  letter-spacing: 1px;
}

.review-time {
  font-size: 0.8rem;
  color: #70757a;
}

.review-text {
  color: #3c4043;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.review-translate {
  display: inline-block;
  color: #1a73e8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.review-translate:hover {
  text-decoration: underline;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e4e6eb;
}

.review-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: #70757a;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.review-action:hover {
  color: #1f2630;
}

.review-action-icon {
  font-size: 1.1rem;
}

.review-action-share {
  font-size: 1rem;
}

/* =========================================
   Seção de Certificados (Substitui Quality Image)
========================================= */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 800px; /* Limita largura para não ficar muito esticado */
  margin-top: 1rem;
}

/* Card do Certificado */
.cert-card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--color-orange);
}

/* Área de Preview (Miniatura) */
.cert-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.414; /* Proporção A4 */
  background-color: #f0f0f0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Simulação Visual da Folha A4 (CSS Puro) */
.pdf-page-simulation {
  width: 85%;
  height: 90%;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 15% 10% 10% 10%; /* Espaço para cabeçalho simulado */
  box-sizing: border-box;
}

/* Elementos Decorativos Internos da Miniatura */
.pdf-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdf-lines .line {
  display: block;
  background-color: #e0e0e0;
  border-radius: 2px;
}

.pdf-lines .title-line {
  height: 12px;
  width: 60%;
  background-color: var(--color-navy);
  margin-bottom: 4px;
}

.pdf-lines .sub-line {
  height: 8px;
  width: 40%;
  background-color: var(--color-muted);
  margin-bottom: 12px;
}

.pdf-lines .text-line {
  height: 6px;
  width: 80%;
}

.pdf-lines .text-line:nth-child(4) { width: 60%; }
.pdf-lines .text-line:nth-child(5) { width: 30%; }

/* Detalhes Específicos SENAI (Cores baseadas no PDF) */
.pdf-header-senai {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 15%;
  background: linear-gradient(to right, #004587 0%, #004587 100%); /* Azul SENAI aprox */
}
.pdf-stamp-senai {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.6rem;
  font-weight: bold;
  color: #004587;
  border: 2px solid #004587;
  padding: 2px 6px;
  transform: rotate(-15deg);
  opacity: 0.7;
}

/* Detalhes Específicos ARGOS (Cores baseadas no PDF) */
.pdf-header-argos {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 15%;
  background: linear-gradient(to right, #f1660b 0%, #f1660b 100%); /* Laranja ARGOS */
}
.pdf-stamp-argos {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.6rem;
  font-weight: bold;
  color: #f1660b;
  border: 2px solid #f1660b;
  padding: 2px 6px;
  transform: rotate(-15deg);
  opacity: 0.7;
}

/* Overlay de Hover */
.cert-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(43, 58, 85, 0.8); /* --color-navy com transparência */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--color-white);
}

.cert-card:hover .cert-overlay {
  opacity: 1;
}

/* Informações do Card */
.cert-info {
  padding: 1.25rem;
  text-align: center;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.cert-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* =========================================
   Modal de PDF
========================================= */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.pdf-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.pdf-modal-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pdf-modal.is-open .pdf-modal-content {
  transform: scale(1);
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: var(--color-light);
  border-bottom: 1px solid var(--color-border);
}

.pdf-modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
}

.pdf-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.pdf-modal-close:hover {
  background-color: rgba(0,0,0,0.05);
  color: var(--color-navy);
}

.pdf-modal-body {
  flex: 1;
  position: relative;
  background-color: #525659; /* Cor padrão de fundo de viewers PDF */
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================================
   Modal de Aviso de Alteração de Cores
========================================= */
.color-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.color-warning-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.color-warning-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.color-warning-container {
  position: relative;
  width: 70vw;
  height: 70vh;
  max-width: 600px;
  max-height: 500px;
  background-color: var(--color-white);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Slides Principais */
.color-warning-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--color-white);
}

.color-warning-slide.is-active {
  transform: translateX(0);
}

.color-warning-slide.is-exiting-left {
  transform: translateX(-100%);
}

/* Header do Aviso */
.color-warning-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 2rem 1rem;
  gap: 1rem;
}

.color-warning-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #fff3cd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #856404;
}

.color-warning-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  text-align: center;
}

/* Conteúdo do Aviso */
.color-warning-content {
  flex: 1;
  padding: 1rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.color-warning-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.color-warning-text-strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: center;
  margin: 0;
}

/* Ações do Aviso */
.color-warning-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 2rem 2rem;
}

.color-warning-btn-primary,
.color-warning-btn-secondary {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.color-warning-btn-primary {
  background-color: var(--color-yellow);
  color: var(--color-navy);
  border: none;
}

.color-warning-btn-primary:hover {
  background-color: var(--color-yellow-dark);
  transform: translateY(-2px);
}

.color-warning-btn-secondary {
  background-color: var(--color-yellow);
  color: var(--color-navy);
  border: 2px solid var(--color-yellow);
}

.color-warning-btn-secondary:hover {
  background-color: var(--color-yellow-dark);
  color: var(--color-navy);
}

/* Container do Tutorial (Slider) */
.color-warning-slider-container {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* Slides do Tutorial */
.tutorial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-slide.is-active {
  transform: translateX(0);
}

.tutorial-slide.is-exiting-left {
  transform: translateX(-100%);
}

.tutorial-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  background-color: var(--color-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tutorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin: 0;
}

.tutorial-description {
  font-size: 1rem;
  color: var(--color-text);
  text-align: center;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

/* Navegação do Tutorial */
.tutorial-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem 2rem;
  gap: 1rem;
}

.tutorial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-navy);
  background-color: var(--color-white);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tutorial-arrow:hover:not(:disabled) {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.tutorial-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tutorial-close {
  flex: 1;
  max-width: 200px;
}

/* Responsividade */
@media (max-width: 768px) {
  .color-warning-container {
    width: 90vw;
    height: 80vh;
    max-width: none;
    max-height: none;
  }
  
  .color-warning-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .color-warning-content {
    padding: 1rem 1.5rem;
  }
  
  .color-warning-actions {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .tutorial-slide {
    padding: 1.5rem;
  }
  
  .tutorial-navigation {
    padding: 1rem 1.5rem 1.5rem;
  }

  .pdf-modal-content {
    width: 95vw;
    height: 90vh;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr; /* Empilha no mobile */
  }

  .reviews-track {
    padding-left: calc(50% - 150px);
    touch-action: pan-y; /* Permite scroll vertical, bloqueia horizontal do navegador */
  }

  .clients-grid {
    touch-action: pan-y;
  }
  
  .client-logo {
    flex: 0 0 150px;
    min-width: 150px;
    height: 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  .reviews-head {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .reviews-rating {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .navbar-inner {
    height: 100px;
    justify-content: space-between;
  }

  /* ===== MENU - Novo comportamento a partir de 768px ===== */
  .nav-toggle {
    display: none;
  }

  .nav-close {
    display: none;
  }

  .menu-overlay {
    display: none !important;
  }

  .primary-nav {
    width: 100%;
    display: block;
    position: static;
    box-shadow: none;
    overflow: visible;
    height: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-end; /* Alinha os links à DIREITA da tela */
    gap: 2rem; /* Espaço entre os links */
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    white-space: nowrap;
  }

  .navbar-inner {
    position: relative; /* Fundamental para o posicionamento absoluto da logo */
    height: 100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Mantém estrutura flexível */
  }

  .logo {
    position: absolute;
    left: 1.25rem;
    transform: none;
    margin: 0;
    z-index: 5;
  }

  .logo-image-header {
    width: auto;
    height: clamp(3.4rem, 6vw, 4.6rem);
    margin-right: 0; /* Remove a margem gigante que estava atrapalhando */
  }
}

/* Ação do menu: exibida somente acima de 768px. */
.nav-cta-item {
  display: none;
}

@media (min-width: 769px) {
  .primary-nav {
    margin-left: auto;
  }

  .nav-list {
    justify-content: flex-end;
    gap: clamp(0.7rem, 1.4vw, 2rem);
  }

  .nav-cta-item {
    display: flex;
    align-items: center;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    background-color: var(--color-yellow);
    color: var(--color-navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .nav-cta:hover {
    background-color: var(--color-yellow-dark);
    transform: translateY(-2px);
  }
}
