/* ==========================================================================
   AVIÁRIO SEGURO — DESIGN SYSTEM & STYLESHEET
   Baseado no Design System Institucional (Vinho & Bege Dourado)
   Tipografia: Cormorant Garamond (Display) & Jost (Body)
   ========================================================================== */

/* --- TOKENS E VARIÁVEIS CSS --- */
:root {
  /* Cores Primárias */
  --wine: #56090F;
  --wine-deep: #3D060A;
  --wine-dark: #240306;
  --wine-tint: rgba(86, 9, 15, 0.06);
  --wine-glass: rgba(61, 6, 10, 0.88);
  
  /* Cores Secundárias e Acentos */
  --beige: #CD9E6C;
  --beige-hover: #b88b59;
  --beige-light: #E8D5B8;
  --beige-subtle: #F6EFE6;
  --beige-glow: rgba(205, 158, 108, 0.35);
  --brown: #9F6B41;
  --brown-dark: #7a4f2b;

  /* Neutros & Superfícies */
  --cream: #FAF6F0;
  --cream-alt: #F4EFEA;
  --gray-light: #F3EDE5;
  --gray-border: #E5DCD1;
  --gray-mid: #6B6259;
  --gray-dark: #2B2621;
  --black: #0E0D0C;
  --white: #FFFFFF;

  /* Suporte e Status */
  --success: #2B7A4B;
  --success-bg: #EAF5EE;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Raios de Borda */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-med: 0 10px 30px rgba(86, 9, 15, 0.08);
  --shadow-hard: 0 20px 45px rgba(61, 6, 10, 0.14);
  --shadow-card-hover: 0 18px 40px rgba(86, 9, 15, 0.12);
  --shadow-gold: 0 8px 25px rgba(205, 158, 108, 0.3);

  /* Transições */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Dimensões */
  --header-height: 84px;
  --container-max: 1240px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- SCROLLBAR MODERNA & REFINADA (ELIMINA A BARRA NATIVA CINZA DO WINDOWS) --- */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--beige);
  border-radius: var(--radius-full);
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brown);
}

/* Suporte Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--beige) var(--cream);
}

/* Trava de scroll para quando qualquer modal ou pop-up estiver aberto */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background-color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- TIPOGRAFIA EDITORIAL --- */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--wine-deep);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

p {
  color: var(--gray-mid);
  font-size: 1.05rem;
  line-height: 1.7;
}

p.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--gray-dark);
}

em {
  font-style: italic;
  color: var(--beige-hover);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--beige);
}

.section-label--light {
  color: var(--beige-light);
}

.section-label--light::before {
  background-color: var(--beige-light);
}

/* --- CONTAINER & ESTRUTURA --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section--sm {
  padding: 60px 0;
}

.section--dark {
  background-color: var(--wine-deep);
  color: var(--cream);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark p {
  color: rgba(250, 246, 240, 0.82);
}

.section--white {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.15rem;
}

/* --- BOTÕES & CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.btn:focus-visible {
  outline: 3px solid var(--beige);
  outline-offset: 3px;
}

.btn--primary {
  background-color: var(--wine);
  color: var(--white);
  border: 1px solid var(--wine);
}

.btn--primary:hover {
  background-color: var(--wine-deep);
  border-color: var(--wine-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-med);
}

.btn--beige {
  background-color: var(--beige);
  color: var(--wine-deep);
  border: 1px solid var(--beige);
  font-weight: 600;
}

.btn--beige:hover {
  background-color: var(--beige-hover);
  color: var(--white);
  border-color: var(--beige-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background-color: transparent;
  color: var(--wine);
  border: 1.5px solid var(--wine);
}

.btn--outline:hover {
  background-color: var(--wine);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--cream);
  border: 1.5px solid var(--beige-light);
}

.btn--outline-light:hover {
  background-color: var(--beige-light);
  color: var(--wine-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-dark);
  border: none;
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--wine);
  background: rgba(86, 9, 15, 0.05);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}

.btn--full {
  width: 100%;
}

.btn svg {
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.spin-icon {
  animation: spin 0.9s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- BADGES & CHIPS --- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background-color: var(--white);
  border: 1px solid var(--beige-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-dark);
  box-shadow: var(--shadow-soft);
}

.trust-badge svg {
  color: var(--beige);
}

.trust-badge--wine {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(205, 158, 108, 0.4);
  color: var(--cream);
}

/* --- HEADER FIXO --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(159, 107, 65, 0.15);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(86, 9, 15, 0.06);
  height: 74px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-dark);
  position: relative;
  padding: 6px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--wine);
  transition: width var(--transition-fast);
}

.nav__link:hover {
  color: var(--wine);
}

.nav__link:hover::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  padding: 10px;
  color: var(--wine);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, #F5ECE0 100%);
  padding: 60px 0 90px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 158, 108, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

.hero__content h1 {
  margin-bottom: 22px;
  color: var(--wine-deep);
}

.hero__sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-mid);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(159, 107, 65, 0.2);
}

.hero__trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(205, 158, 108, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  flex-shrink: 0;
}

.hero__trust-text {
  font-size: 0.92rem;
  color: var(--gray-dark);
  font-weight: 500;
}

.hero__media {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  border: 4px solid var(--white);
  background-color: var(--wine-deep);
}

.hero__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero__frame:hover .hero__image {
  transform: scale(1.02);
}

/* Floating Badges na Imagem Hero */
.hero__floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-med);
  border: 1px solid rgba(205, 158, 108, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero__floating-card--bottom {
  bottom: -20px;
  left: -20px;
}

.hero__floating-card--top {
  top: 24px;
  right: -16px;
  animation-delay: -3s;
}

.floating-icon {
  width: 40px;
  height: 40px;
  background-color: var(--wine-deep);
  color: var(--beige);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-info h4 {
  font-size: 0.92rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--wine-deep);
}

.floating-info p {
  font-size: 0.78rem;
  color: var(--gray-mid);
  margin: 0;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- SEÇÃO PROBLEMA / RISCO OPERACIONAL --- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--beige);
}

.problem-card__icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background-color: var(--gray-light);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition-fast);
}

.problem-card:hover .problem-card__icon {
  background-color: var(--wine);
  color: var(--beige-light);
}

.problem-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.98rem;
}

/* Callout Box do Problema */
.problem-highlight {
  background: linear-gradient(135deg, var(--white) 0%, var(--beige-subtle) 100%);
  border-left: 4px solid var(--wine);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.problem-highlight__text h4 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--wine-deep);
  margin-bottom: 10px;
}

.problem-highlight__text p {
  font-size: 1.05rem;
  max-width: 680px;
}

/* --- SEÇÃO COBERTURAS --- */
.coverages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

.coverage-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.coverage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--wine), var(--beige));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.coverage-card:hover {
  transform: translateY(-4px);
  border-color: var(--beige-light);
  box-shadow: var(--shadow-card-hover);
}

.coverage-card:hover::before {
  opacity: 1;
}

.coverage-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.coverage-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--wine-tint);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.coverage-card:hover .coverage-card__icon {
  background-color: var(--wine-deep);
  color: var(--beige);
}

.coverage-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.coverage-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.coverage-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Card Destaque Plantel com Imagem */
.coverage-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--wine-deep);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
}

.coverage-featured__media {
  position: relative;
  min-height: 320px;
}

.coverage-featured__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coverage-featured__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coverage-featured__content h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.coverage-featured__content p {
  color: rgba(250, 246, 240, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.coverage-disclaimer {
  font-size: 0.85rem;
  color: var(--gray-mid);
  font-style: italic;
  text-align: center;
  margin: 28px auto 36px auto;
  max-width: 820px;
}

.coverages-cta-center {
  text-align: center;
}

/* --- SEÇÃO DIFERENCIAIS --- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.diff-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  border: 4px solid var(--white);
}

.diff-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.diff-items-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.diff-item {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
}

.diff-item:hover {
  transform: translateX(6px);
  border-color: var(--beige);
  box-shadow: var(--shadow-med);
}

.diff-item__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--beige-subtle);
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-item h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--wine-deep);
}

.diff-item p {
  font-size: 0.95rem;
  color: var(--gray-mid);
  margin: 0;
}

/* --- SEÇÃO PARA QUEM É (SEGMENTAÇÃO) --- */
.profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 10px;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-med);
  border: 1px solid var(--gray-border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hard);
}

.profile-card--highlight {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%);
  border-color: var(--beige);
}

.profile-card__badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--wine-tint);
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.profile-card h3 {
  font-size: 1.9rem;
  color: var(--wine-deep);
  margin-bottom: 16px;
}

.profile-card__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-dark);
  margin-bottom: 14px;
}

.profile-card p {
  font-size: 1rem;
  margin-bottom: 32px;
  flex-grow: 1;
}

.profile-card__points {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-card__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-dark);
}

.profile-card__points li svg {
  color: var(--beige);
  flex-shrink: 0;
}

/* Banner de Imagem Múltiplos Galpões */
.infra-banner {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-hard);
  border: 4px solid var(--white);
}

.infra-banner img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.infra-banner__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(36, 3, 6, 0.92) 100%);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.infra-banner__overlay h4 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 6px;
}

.infra-banner__overlay p {
  color: var(--beige-light);
  font-size: 0.98rem;
  max-width: 600px;
  margin: 0;
}

/* --- SEÇÃO COMO FUNCIONA (STEPS) --- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(205, 158, 108, 0.25);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--beige);
  transform: translateY(-5px);
}

.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--beige);
  line-height: 1;
}

.step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(205, 158, 108, 0.15);
  color: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--white);
}

.step-card p {
  font-size: 0.95rem;
  color: rgba(250, 246, 240, 0.78);
  line-height: 1.6;
}

/* --- SEÇÃO DE CONVERSÃO / AGENDAMENTO --- */
.conversion-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}

.conversion-header {
  background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 100%);
  color: var(--white);
  padding: 44px 48px;
  text-align: center;
  position: relative;
}

.conversion-header h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.conversion-header p {
  color: var(--beige-light);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Tab selector */
.conversion-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 24px 0 24px;
  background-color: var(--cream);
  border-bottom: 1px solid var(--gray-border);
}

.tab-btn {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-mid);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--wine);
}

.tab-btn.active {
  color: var(--wine);
  border-bottom-color: var(--wine);
  background: var(--white);
  border-top-left-radius: var(--radius-sm);
  border-top-right-radius: var(--radius-sm);
}

.tab-content {
  display: none;
  padding: 48px;
}

.tab-content.active {
  display: block;
}

.conversion-body {
  padding: 48px;
  background-color: var(--white);
}

/* Formulário de Cotação */
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-border);
  background-color: var(--white);
  color: var(--gray-dark);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(86, 9, 15, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6259' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 42px;
}

/* Radio Cards (Perfil & Interesses) */
.radio-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--white);
}

.radio-card:hover {
  border-color: var(--beige);
  background: var(--cream);
}

.radio-card input[type="radio"],
.radio-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--wine);
  cursor: pointer;
}

.radio-card span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-dark);
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.form-privacy-note {
  font-size: 0.85rem;
  color: var(--gray-mid);
  text-align: center;
  margin-top: 14px;
}

/* Aba Calendar / Container Incorporado */
.calendar-embed-box {
  min-height: 580px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.calendar-placeholder {
  border: 2px dashed var(--beige-light);
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  border-radius: var(--radius-md);
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-grow: 1;
}

.calendar-placeholder__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-placeholder h3 {
  font-size: 1.8rem;
  color: var(--wine-deep);
}

.calendar-placeholder p {
  max-width: 540px;
  margin: 0 auto;
}

.calendar-preview-slots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.calendar-slot-pill {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wine-deep);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-slot-pill:hover,
.calendar-slot-pill.active {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}

/* Contêiner real do iframe do Calendar */
.calendar-iframe-container {
  width: 100%;
  height: 650px;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* --- FAQ ACCORDION --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--beige);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wine-deep);
  text-align: left;
  background: none;
  cursor: pointer;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--wine);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gray-mid);
}

/* --- SEÇÃO FINAL CTA (BANNER IMPACTO) --- */
.final-cta {
  background: radial-gradient(circle at center, var(--wine) 0%, var(--wine-deep) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background-image: radial-gradient(rgba(205, 158, 108, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}

.final-cta p.lead {
  color: var(--beige-light);
  margin-bottom: 24px;
}

.final-cta p.next-step {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 36px;
  font-family: var(--font-display);
}

.final-cta__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.final-cta__note {
  font-size: 0.85rem;
  color: rgba(232, 213, 184, 0.7);
  font-style: italic;
}

/* --- FOOTER INSTITUCIONAL --- */
.footer {
  background-color: var(--wine-dark);
  color: var(--cream);
  padding: 80px 0 36px 0;
  border-top: 1px solid rgba(205, 158, 108, 0.2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__brand p {
  color: rgba(250, 246, 240, 0.75);
  margin-top: 16px;
  max-width: 320px;
}

.footer__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--beige-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: rgba(250, 246, 240, 0.75);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--beige);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(250, 246, 240, 0.8);
  font-size: 0.95rem;
}

.footer__contact-item svg {
  color: var(--beige);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer__copy {
  font-size: 0.9rem;
  color: rgba(250, 246, 240, 0.6);
}

.footer__legal {
  font-size: 0.82rem;
  color: rgba(250, 246, 240, 0.45);
  font-style: italic;
  max-width: 800px;
}

/* --- MODAL DE AGENDAMENTO (CALENDAR POPUP) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(36, 3, 6, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-normal);
  border: 1px solid var(--beige-light);
  position: relative;
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.5rem;
}

.modal-header p {
  color: var(--beige-light);
  font-size: 0.88rem;
  margin: 0;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 32px;
}

/* Demo Calendar no Modal */
.modal-calendar-picker {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-step-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wine-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.date-chip {
  padding: 12px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.date-chip .day-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray-mid);
  display: block;
}

.date-chip .day-num {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--wine-deep);
}

.date-chip:hover,
.date-chip.active {
  border-color: var(--wine);
  background-color: var(--wine-tint);
}

.time-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.time-chip {
  padding: 10px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.time-chip:hover,
.time-chip.active {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
}

/* --- OVERRIDES DE DESIGN PARA O POPUP DO CALENDLY --- */
.calendly-overlay {
  background: rgba(36, 3, 6, 0.78) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
}

.calendly-overlay .calendly-popup {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
  border: 1px solid var(--beige-light) !important;
  max-height: 88vh !important;
}

.calendly-overlay .calendly-popup .calendly-popup-content {
  border-radius: inherit !important;
  overflow: hidden !important;
}

.calendly-overlay .calendly-popup .calendly-popup-content iframe {
  border-radius: inherit !important;
}

.calendly-overlay .calendly-close-overlay {
  top: 20px !important;
  right: 24px !important;
  opacity: 0.8 !important;
  transition: opacity var(--transition-fast), transform var(--transition-fast) !important;
}

.calendly-overlay .calendly-close-overlay:hover {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* --- WHATSAPP FLOATING CTA --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #25D366;
  color: var(--white);
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --- TOAST DE FEEDBACK / NOTIFICAÇÃO --- */
.toast-msg {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-35px);
  width: calc(100% - 32px);
  max-width: 440px;
  background: linear-gradient(135deg, rgba(86, 9, 15, 0.98) 0%, rgba(46, 5, 8, 0.98) 100%);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(205, 158, 108, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-msg__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(205, 158, 108, 0.16);
  border: 1px solid rgba(205, 158, 108, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-msg--error {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(239, 68, 68, 0.4);
}

.toast-msg--error .toast-msg__icon {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.4);
}

.toast-msg__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.toast-msg__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF;
  line-height: 1.25;
}

.toast-msg__text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(250, 246, 240, 0.88);
  line-height: 1.35;
}

@media (max-width: 640px) {
  .toast-msg {
    top: 16px;
    width: calc(100% - 24px);
    padding: 12px 16px;
    gap: 12px;
  }

  .toast-msg__icon {
    width: 36px;
    height: 36px;
  }

  .toast-msg__title {
    font-size: 0.9rem;
  }

  .toast-msg__text {
    font-size: 0.8rem;
  }
}

/* --- RESPONSIVIDADE (MEDIA QUERIES) --- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__floating-card--bottom {
    bottom: -10px;
    left: 10px;
  }

  .hero__floating-card--top {
    top: 10px;
    right: 10px;
  }

  .problem-grid,
  .coverages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-featured {
    grid-column: span 2;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .diff-image-wrapper {
    order: -1;
  }

  .diff-image {
    height: 380px;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 74px;
  }

  .header__nav {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 30px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 2px solid var(--beige-light);
    box-shadow: var(--shadow-hard);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .header__nav.open {
    transform: translateY(0);
  }

  .header__cta .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .problem-grid,
  .coverages-grid,
  .profiles-grid,
  .quote-form,
  .radio-cards-grid,
  .interests-grid,
  .steps-container {
    grid-template-columns: 1fr;
  }

  .coverage-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .coverage-featured__content {
    padding: 32px 24px;
  }

  .coverage-featured__media {
    min-height: 220px;
  }

  .problem-highlight {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .conversion-tabs {
    flex-direction: column;
    padding: 16px;
  }

  .conversion-body,
  .tab-content {
    padding: 32px 20px;
  }

  .form-full {
    grid-column: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .infra-banner__overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .date-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}

/* Acessibilidade - Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
