/* ==========================================================================
   POLIANA TEIXEIRA ADVOCACIA - SYSTEM STYLESHEET
   Palette: Soft Pastel Brown, Nude Beige, Warm Sand & Soft Salmon / Blush
   ========================================================================== */

:root {
  /* Color Palette - Soft, Warm, Professional & Humanized */
  --bg-primary: #FAF7F5;          /* Warm linen / off-white */
  --bg-secondary: #F3ECE7;        /* Light sand / soft pastel nude */
  --bg-card: #FFFFFF;             /* Pure crisp white for cards */
  --bg-card-hover: #FDFBF9;
  --bg-accent-soft: #F9EFEA;      /* Extremely soft pastel blush */

  --text-primary: #2B231F;        /* Deep espresso brown for high contrast legibility */
  --text-secondary: #594D46;      /* Muted warm taupe brown */
  --text-light: #8A7B72;          /* Light taupe for captions and labels */
  --text-white: #FFFFFF;

  --accent-brown: #8C6D58;        /* Primary pastel warm brown */
  --accent-brown-dark: #6D5240;   /* Deeper brown for hover/active states */
  --accent-brown-light: #BCA290;  /* Lighter soft brown */

  --accent-salmon: #E5A395;       /* Primary soft pastel salmon */
  --accent-salmon-hover: #D78E7F; /* Darker salmon for active buttons */
  --accent-salmon-light: #FDF2EF; /* Very light salmon background fill */
  --accent-salmon-border: #F3CFC6;/* Delicate salmon border */

  --gold-accent: #CFA47B;         /* Subtle champagne gold details */
  --gold-light: #FAF3EC;

  --border-color: #E6DCD5;        /* Soft warm border */
  --border-color-light: #F2EAE4;  /* Ultra subtle border */

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(43, 35, 31, 0.04);
  --shadow-md: 0 10px 30px -8px rgba(43, 35, 31, 0.07);
  --shadow-lg: 0 20px 45px -10px rgba(43, 35, 31, 0.12);
  --shadow-hover: 0 18px 40px -10px rgba(140, 109, 88, 0.2);
  --shadow-salmon: 0 10px 25px rgba(229, 163, 149, 0.35);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--accent-salmon-hover);
  outline-offset: 4px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-accent {
  color: var(--accent-brown);
}

.text-salmon {
  color: var(--accent-salmon-hover);
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--accent-salmon-light);
  border: 1px solid var(--accent-salmon-border);
  color: var(--accent-brown-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-salmon-hover);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-salmon) 0%, var(--accent-salmon-hover) 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-salmon);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(215, 142, 127, 0.45);
  background: linear-gradient(135deg, var(--accent-salmon-hover) 0%, var(--accent-brown) 100%);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--accent-salmon-light);
  border-color: var(--accent-salmon-border);
  color: var(--accent-brown-dark);
  transform: translateY(-2px);
}

.btn-outline-brown {
  background-color: transparent;
  color: var(--accent-brown-dark);
  border: 1.5px solid var(--accent-brown);
}

.btn-outline-brown:hover {
  background-color: var(--accent-brown);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */

.top-bar {
  background-color: var(--accent-brown-dark);
  color: var(--bg-primary);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2D7CF;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-salmon);
}

.top-bar-link {
  color: #FFF;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-bar-link:hover {
  color: var(--accent-salmon);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 247, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(250, 247, 245, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-container {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-brown);
  margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-salmon);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-brown-dark);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 4rem 0 5rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 163, 149, 0.15) 0%, rgba(250, 247, 245, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-brown-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--accent-brown);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(229, 163, 149, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-salmon-light);
  border: 1px solid var(--accent-salmon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-brown-dark);
}

.trust-icon-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.trust-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Hero Media Column */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-card);
  background-color: var(--bg-card);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.lawyer-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(230, 220, 213, 0.8);
  box-shadow: var(--shadow-md);
}

.badge-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-oab {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-brown);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.badge-spec {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-card-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-salmon) 0%, var(--accent-brown) 100%);
  border-radius: 6px 0 0 6px;
}

.about-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-salmon-light);
  color: var(--accent-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.highlight-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.highlight-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SOLUTION & BENEFITS GRID
   ========================================================================== */

.solution-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-md);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.benefit-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-salmon-border);
  background-color: var(--accent-salmon-light);
  box-shadow: var(--shadow-md);
}

.benefit-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-salmon);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}

.benefit-check svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.solution-cta-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--accent-salmon-light) 100%);
  border: 1px solid var(--accent-salmon-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.banner-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   PROCESS TIMELINE (ETAPAS)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.4rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-brown);
  box-shadow: var(--shadow-hover);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-salmon);
  line-height: 1;
  margin-bottom: 1.2rem;
  position: relative;
}

.step-number::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--accent-brown-light);
  margin-top: 8px;
  border-radius: 2px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.step-note-box {
  margin-top: 3rem;
  text-align: center;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.step-note-box p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* ==========================================================================
   CAMINHOS JURÍDICOS (EXTRAJUDICIAL VS JUDICIAL)
   ========================================================================== */

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.pathway-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.pathway-card:hover {
  border-color: var(--accent-brown);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pathway-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background-color: var(--accent-salmon-light);
  border: 1px solid var(--accent-salmon-border);
  color: var(--accent-brown-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.pathway-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.pathway-desc {
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

.pathway-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.pathway-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-primary);
  font-weight: 500;
}

.pathway-feature-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-salmon-hover);
  flex-shrink: 0;
}

/* ==========================================================================
   DOCUMENTATION CHECKLIST
   ========================================================================== */

.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.doc-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-salmon-border);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-card-hover);
}

.doc-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--accent-salmon-light);
  border: 1px solid var(--accent-salmon-border);
  color: var(--accent-brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.doc-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.doc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.doc-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   TESTIMONIALS (DEPOIMENTOS)
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #F5A623;
  margin-bottom: 1.2rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-color-light);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-salmon) 0%, var(--accent-brown) 100%);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.author-tag {
  font-size: 0.82rem;
  color: var(--accent-brown);
  font-weight: 600;
}

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--accent-salmon-border);
  box-shadow: var(--shadow-md);
}

.faq-button {
  width: 100%;
  padding: 1.5rem 1.8rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  transition: color var(--transition-fast);
}

.faq-button:hover {
  color: var(--accent-brown);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--text-primary);
  transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-icon {
  background-color: var(--accent-salmon-light);
  border-color: var(--accent-salmon-border);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon svg {
  fill: var(--accent-brown-dark);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
  padding: 0 1.8rem 1.5rem 1.8rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   CONVERSION CTA BANNER SECTION
   ========================================================================== */

.cta-banner-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--accent-brown-dark) 0%, #4D392C 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 163, 149, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  color: var(--text-white);
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1.25rem;
}

.cta-banner-content p {
  color: #E2D7CF;
  font-size: 1.18rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: #231C18;
  color: #B8ACA3;
  padding: 5rem 0 2rem 0;
  font-size: 0.95rem;
  border-top: 1px solid #362D27;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: #A3968D;
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-legal-badge {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--accent-salmon);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #A3968D;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-salmon);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #A3968D;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-salmon);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-disclaimer-box {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  margin-bottom: 3rem;
  text-align: center;
}

.footer-disclaimer-box p {
  color: #8C7F77;
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: #8C7F77;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  position: relative;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 15px 32px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-tooltip {
  background-color: var(--text-primary);
  color: var(--text-white);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: fadeInRight 0.5s ease forwards;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media-wrapper {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1360px) {
  .nav-menu {
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .brand-sub {
    display: none;
  }
}

@media (max-width: 1200px) {
  .brand-text-container {
    display: none;
  }
}

@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    padding: 3rem 2rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-menu.is-active {
    transform: translateX(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta-btn {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .pathways-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .solution-cta-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .top-bar {
    display: none; /* Hide top bar on very small mobile to save viewport height */
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .floating-tooltip {
    display: none; /* Hide tooltip label on small mobile screens */
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .solution-container {
    padding: 2rem 1.25rem;
  }

  .pathway-card {
    padding: 2rem 1.5rem;
  }
}
