/* ==========================================================================
   KAROLYNE VELLOSO ADVOCACIA - DESIGN SYSTEM & STYLESHEET
   Harmonious Desktop Proportions, Responsive Scale & Sticky Navigation
   ========================================================================== */

:root {
  /* Wine & Mahogany Palette */
  --color-wine-dark: #380C0B;
  --color-wine-hero: #310908;
  --color-wine-deep: #250805;
  --color-wine-footer: #380C09;
  
  /* Gold & Champagne Palette */
  --color-gold: #BE955E;
  --color-gold-light: #DCB37B;
  --color-gold-hover: #E5C38F;
  --color-gold-line: #C49868;
  --color-gold-dark: #A47B49;
  --color-gold-border: rgba(190, 149, 94, 0.4);
  --color-gold-border-subtle: rgba(190, 149, 94, 0.2);

  /* Warm Cream & Ivory Backgrounds */
  --color-bg-page: #F8F4ED;
  --color-bg-bar: #F5EFE8;
  --color-bg-card: #FAF6F0;
  --color-bg-depoimentos: #F6F1EB;
  --color-border-card: #E4DCD3;

  /* Typography Colors */
  --color-text-dark: #280C0A;
  --color-text-title: #230806;
  --color-text-brown: #3A2318;
  --color-text-body: #55453E;
  --color-text-muted: #6E5D54;
  --color-text-tag: #7A6B63;
  --color-text-white: #FFFFFF;
  --color-text-cream: #E2D5CC;
  --color-text-light-cream: #FAF6F2;

  /* Typography Fonts */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout Constants */
  --container-max-width: 1240px;
  --header-height: 82px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS RESET & BASE CONFIGURATION
   ========================================================================== */
*, *::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-sans);
  background-color: var(--color-bg-page);
  color: var(--color-text-body);
  line-height: 1.6;
  padding-top: var(--header-height); /* Space for fixed sticky header */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button, input, textarea {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   SECTION HEADINGS & ACCENT LINES
   ========================================================================== */
.section-tag-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-text-tag);
  text-transform: uppercase;
}

.section-tag.text-gold {
  color: var(--color-gold-line);
}

.tag-line {
  display: inline-block;
  width: 48px;
  height: 1.5px;
  background-color: var(--color-gold-line);
  vertical-align: middle;
}

/* ==========================================================================
   1. HEADER / NAVBAR (Fixed & Sticky with Page Scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-wine-dark);
  z-index: 1000;
  border-bottom: 1px solid rgba(190, 149, 94, 0.15);
  box-shadow: 0 4px 20px rgba(20, 4, 3, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
  max-width: var(--container-max-width);
  width: 90%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  color: #EDE5DF;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.2s ease;
  position: relative;
}

/* User explicitly requested: NO underline on active link! */
.nav-link:hover,
.nav-link.active {
  color: var(--color-gold-light);
}

.header-action {
  display: flex;
  align-items: center;
}

/* Rounded Pill WhatsApp Button */
.btn-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid var(--color-gold-line);
  border-radius: 24px;
  background-color: transparent;
  color: var(--color-gold-line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-whatsapp-pill .icon-whatsapp {
  width: 15px;
  height: 15px;
  stroke: var(--color-gold-line);
  transition: stroke 0.2s ease;
}

.btn-whatsapp-pill:hover {
  background-color: var(--color-gold);
  color: var(--color-wine-dark);
  border-color: var(--color-gold);
}

.btn-whatsapp-pill:hover .icon-whatsapp {
  stroke: var(--color-wine-dark);
}

/* User request: white text and icon on hover in endereco-info-panel */
.endereco-info-panel .btn-whatsapp-pill:hover,
.endereco-info-panel .btn-whatsapp-pill:hover span {
  color: #FFFFFF !important;
}

.endereco-info-panel .btn-whatsapp-pill:hover .icon-whatsapp {
  stroke: #FFFFFF !important;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-gold-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--color-wine-dark);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 24px 32px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: #EDE5DF;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(190, 149, 94, 0.15);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-gold-light);
  font-weight: 600;
}

.mobile-nav-cta {
  padding-top: 12px;
}

.btn-whatsapp-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background-color: var(--color-gold-light);
  color: var(--color-wine-dark);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.btn-whatsapp-solid:hover {
  background-color: var(--color-gold-hover);
  color: var(--color-wine-deep);
}

.btn-whatsapp-solid .icon-whatsapp {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  stroke: var(--color-wine-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   2. HERO SECTION (Generous Desktop Scale & Atmosphere)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 580px;
  background-color: var(--color-wine-hero);
  background-image: 
    linear-gradient(to right, 
      #310908 0%, 
      #310908 38%, 
      rgba(49, 9, 8, 0.95) 50%, 
      rgba(49, 9, 8, 0.65) 65%, 
      rgba(49, 9, 8, 0.15) 82%, 
      rgba(49, 9, 8, 0) 100%), 
    url('assets/hero.webp');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 70px 0 80px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max-width);
  width: 90%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-text-white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 3.4vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text-white);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.highlight-gold {
  color: #BE955E;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-cream);
  font-weight: 300;
  margin-bottom: 34px;
  max-width: 520px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-btns-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  background-color: var(--color-gold-light);
  color: var(--color-wine-deep);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.btn-primary-gold:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

.icon-whatsapp-btn {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-instagram-btn {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-link-arrow {
  color: #EDE5DF;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.hero-link-arrow .arrow-symbol {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.hero-link-arrow:hover {
  color: var(--color-gold-light);
}

.hero-link-arrow:hover .arrow-symbol {
  transform: translateX(5px);
}

/* Floating Callout (Seu direito com quem entende) */
.hero-callout {
  position: absolute;
  right: 40px;
  bottom: 40px;
  border-left: 2.5px solid var(--color-gold-line);
  padding-left: 14px;
  z-index: 3;
}

.hero-callout-text {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.3;
}

.callout-lead {
  color: #FFFFFF;
}

.callout-gold {
  color: #DCB37B;
  font-weight: 500;
}

.callout-white {
  color: #FAF6F2;
}

/* ==========================================================================
   3. HIGHLIGHTS BAR (Spacious & Clean)
   ========================================================================== */
.highlights-bar {
  background-color: var(--color-bg-bar);
  border-bottom: 1px solid rgba(190, 149, 94, 0.16);
  padding: 42px 0;
}

.highlights-container {
  max-width: var(--container-max-width);
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--color-gold-border);
  min-height: 72px;
  justify-content: center;
  padding: 0 32px;
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-icon {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--color-gold);
}

.highlight-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-brown);
  font-weight: 500;
}

/* ==========================================================================
   4. SOBRE A ADVOGADA
   ========================================================================== */
.section-sobre {
  background-color: var(--color-bg-page);
  padding: 85px 0;
}

.sobre-container {
  max-width: var(--container-max-width);
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sobre-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 3vw, 48px);
  font-weight: 500;
  color: var(--color-text-title);
  margin: 10px 0 8px;
  letter-spacing: 0.01em;
}

.sobre-subtitle {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text-brown);
  margin-bottom: 20px;
}

.sobre-paragraph {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text-body);
  margin-bottom: 30px;
  max-width: 540px;
}

.sobre-paragraph:first-of-type {
  margin-bottom: 14px;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  background-color: transparent;
  color: var(--color-text-brown);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline-gold .arrow-symbol {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: #FFFFFF;
}

.btn-outline-gold:hover .arrow-symbol {
  transform: translateX(5px);
}

.sobre-image-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image-frame {
  width: 100%;
  max-width: 370px;
  height: 510px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(40, 12, 10, 0.11);
}

.sobre-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.image-frame:hover .sobre-img {
  transform: scale(1.025);
}

/* ==========================================================================
   5. ÁREAS DE ATUAÇÃO
   ========================================================================== */
.section-atuacao {
  background-color: var(--color-bg-page);
  padding: 85px 0 110px;
}

.atuacao-container {
  max-width: 1640px;
  width: 94%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(32px, 3.5vw, 56px);
  align-items: flex-start;
}

.atuacao-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 2.5vw, 44px);
  font-weight: 500;
  line-height: 1.18;
  color: var(--color-text-title);
  margin: 14px 0 18px;
}

.atuacao-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.atuacao-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 310px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: 8px;
  padding: 32px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(40, 12, 10, 0.09);
  border-color: var(--color-gold);
}

.card-icon {
  margin-bottom: 20px;
}

.card-icon svg {
  width: 42px;
  height: 42px;
  stroke: var(--color-gold);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--color-text-title);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.card-link {
  border: none;
  background: transparent;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--color-text-brown);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: var(--transition-smooth);
}

.card-link .arrow-symbol {
  font-size: 15px;
  transition: transform 0.2s ease;
}

.service-card:hover .card-link {
  color: var(--color-gold-dark);
}

.service-card:hover .card-link .arrow-symbol {
  transform: translateX(4px);
}

/* ==========================================================================
   6. NOSSO ENDEREÇO (Full-Bleed Split Panel)
   ========================================================================== */
.section-endereco {
  width: 100%;
  background-color: var(--color-wine-deep);
  min-height: 340px;
}

.endereco-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: 340px;
}

.endereco-info-panel {
  background-color: var(--color-wine-deep);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 50px 40px 50px max(24px, calc((100vw - var(--container-max-width)) / 2 + 24px));
}

.endereco-inner-wrapper {
  width: 100%;
  max-width: 680px;
  padding-right: 36px;
}

.endereco-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.2vw, 36px);
  font-weight: 500;
  color: var(--color-text-white);
  margin: 8px 0 24px;
}

.endereco-details-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.endereco-left-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: opacity 0.2s ease;
}

.address-block:hover {
  opacity: 0.88;
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-text p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-cream);
}

.parking-block .info-text p {
  line-height: 1.35;
}

.endereco-v-divider {
  width: 1px;
  height: 105px;
  background-color: var(--color-gold-border);
  margin: 0 32px;
  flex-shrink: 0;
}

.endereco-right-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light-cream);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-line:hover {
  color: var(--color-gold-light);
}

.contact-line .info-icon svg {
  width: 18px;
  height: 18px;
  margin-top: 0;
}

.endereco-right-col .btn-whatsapp-pill {
  margin-top: 10px;
  width: fit-content;
  color: #DCB37B;
  border-color: var(--color-gold);
  padding: 8px 20px;
  font-size: 12.5px;
}

.endereco-right-col .btn-whatsapp-pill .icon-whatsapp {
  stroke: #DCB37B;
}

.endereco-right-col .btn-whatsapp-pill:hover,
.endereco-right-col .btn-whatsapp-pill:hover span {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #FFFFFF !important;
}

.endereco-right-col .btn-whatsapp-pill:hover .icon-whatsapp {
  stroke: #FFFFFF !important;
}

/* Map Right Panel */
.endereco-map-panel {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.map-link-container {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.map-link-container:hover .map-image {
  transform: scale(1.025);
}

/* ==========================================================================
   7. CONFIANÇA QUE VEM DE PESSOAS REAIS
   ========================================================================== */
.section-depoimentos {
  width: 100%;
  background-color: var(--color-bg-depoimentos);
  min-height: 240px;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: 33% 67%;
  min-height: 240px;
}

.depoimentos-img-col {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.depoimentos-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.depoimentos-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.img-fade-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(to right, rgba(246, 241, 235, 0) 0%, var(--color-bg-depoimentos) 100%);
}

.depoimentos-content-col {
  padding: 40px max(24px, calc((100vw - var(--container-max-width)) / 2 + 24px)) 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  touch-action: pan-y;
}

.depoimentos-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 18px;
}

.arrow-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #7A6B63;
  padding: 8px;
  margin: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
}

.arrow-btn:hover {
  color: var(--color-wine-dark);
  transform: scale(1.15);
}

.carousel-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-height: 120px;
  position: relative;
  margin-bottom: 14px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.carousel-container:active {
  cursor: grabbing;
}

.carousel-slide {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(4px);
  display: block;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.depoimentos-lead {
  font-family: var(--font-serif);
  font-size: clamp(21px, 1.7vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text-dark);
  max-width: 680px;
}

.depoimentos-quote {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  max-width: 640px;
}

.depoimentos-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.05em;
  display: block;
  font-style: normal;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.dot:hover {
  transform: scale(1.3);
  border-color: var(--color-wine-dark);
}

.dot.active {
  background-color: var(--color-wine-dark);
  border-color: var(--color-wine-dark);
  transform: scale(1.15);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-wine-footer);
  color: var(--color-text-light-cream);
}

.footer-top {
  padding: 32px 0;
  display: flex;
  align-items: center;
}

.footer-container {
  max-width: var(--container-max-width);
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-nav-list a {
  color: var(--color-text-light-cream);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--color-gold-light);
}

.nav-divider {
  color: var(--color-gold-border);
  font-size: 12px;
}

.footer-right-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  color: var(--color-text-light-cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  color: var(--color-gold-light);
  transform: translateY(-2px);
}

.social-label {
  font-size: 13px;
  color: var(--color-text-cream);
  margin-left: 2px;
}

.footer-v-divider {
  width: 1px;
  height: 26px;
  background-color: var(--color-gold-line);
  margin: 0 8px;
}

.footer-badge {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--color-text-cream);
}

.footer-bottom {
  border-top: 1px solid var(--color-gold-border-subtle);
  padding: 16px 0;
  display: flex;
  align-items: center;
}

.footer-container.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright, .oab-text {
  font-size: 11.5px;
  color: #A89890;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   INTERACTIVE MODAL DIALOG
   ========================================================================== */
.service-modal {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  position: fixed;
  inset: 0;
  margin: auto;
  box-shadow: 0 25px 60px rgba(25, 6, 5, 0.45);
  background-color: var(--color-bg-card);
  overflow-y: scroll;
  overflow-x: hidden;

  /* Custom Wine Scrollbar for Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--color-wine-footer) rgba(190, 149, 94, 0.15);
}

/* Custom Wine Vertical Scrollbar for WebKit (Chrome, Safari, Edge, Mobile) */
.service-modal::-webkit-scrollbar {
  width: 7px;
  display: block;
}

.service-modal::-webkit-scrollbar-track {
  background: rgba(190, 149, 94, 0.12);
  border-left: 1px solid rgba(190, 149, 94, 0.22);
}

.service-modal::-webkit-scrollbar-thumb {
  background-color: var(--color-wine-footer);
  border-radius: 4px;
}

.service-modal::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-wine-dark);
}

.service-modal::backdrop {
  background: rgba(25, 6, 5, 0.72);
  backdrop-filter: blur(5px);
}

.modal-box {
  padding: 28px 24px 20px;
  position: relative;
  min-height: 100%;
}

/* Sticky Close Button: Follows scroll continuously */
.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 100;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid rgba(190, 149, 94, 0.35);
  box-shadow: 0 4px 12px rgba(25, 6, 5, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-wine-dark);
  cursor: pointer;
  margin-top: -6px;
  margin-right: -4px;
  margin-bottom: -36px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.modal-close .close-icon {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  pointer-events: none;
}

.modal-close:hover {
  background-color: var(--color-wine-dark);
  color: #FFFFFF;
  border-color: var(--color-wine-dark);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(25, 6, 5, 0.25);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  padding-right: 42px; /* space so title doesn't touch close button */
  border-bottom: 1px solid var(--color-border-card);
}

.modal-icon-container svg {
  width: 38px;
  height: 38px;
  stroke: var(--color-gold);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-text-title);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 13.5px;
  color: var(--color-text-muted);
}

.modal-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.modal-section-title {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-title);
  margin-top: 18px;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.modal-section-title:first-of-type {
  margin-top: 14px;
}

.modal-body ul {
  margin: 10px 0 14px 20px;
}

.modal-body li {
  margin-bottom: 7px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-cta {
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
  font-size: 14px;
}

/* Didactic Scroll Hint */
.modal-scroll-hint {
  position: sticky;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--color-wine-footer);
  color: #FAF4EF;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 10px auto 0;
  box-shadow: 0 4px 14px rgba(25, 6, 5, 0.35);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 50;
  width: fit-content;
}

.modal-scroll-hint.scrolled {
  opacity: 0 !important;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.scroll-arrow-icon {
  width: 13px;
  height: 13px;
  stroke: var(--color-gold-light);
  animation: bounceDown 1.6s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --header-height: 75px;
  }

  .atuacao-container {
    max-width: 100%;
    width: 92%;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .atuacao-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

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

  .endereco-info-panel {
    padding: 40px 32px;
  }

  .endereco-inner-wrapper {
    max-width: 100%;
  }

  .endereco-map-panel {
    height: 280px;
  }

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

  .depoimentos-img-col {
    height: 200px;
  }

  .depoimentos-content-col {
    padding: 32px 32px 36px;
  }
}

@media (max-width: 820px) {
  .main-nav, .header-action {
    display: none;
  }

  .header-container {
    width: 92%;
  }

  .brand-logo {
    max-width: calc(100% - 50px);
  }

  .logo-img {
    max-width: 100%;
    height: 44px;
    object-fit: contain;
  }

  .mobile-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .hero-section {
    min-height: 480px;
    padding: 50px 0;
    background-position: 75% center;
  }

  .hero-container {
    width: 92%;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
  }

  .hero-callout {
    display: none;
  }

  .highlights-bar {
    padding: 38px 0;
  }

  .highlights-container {
    width: 92%;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .highlight-item {
    height: auto;
    padding: 10px 16px;
  }

  .highlight-item:nth-child(2) {
    border-right: none;
  }

  .sobre-container {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sobre-image-col {
    justify-content: center;
  }

  .atuacao-container {
    width: 92%;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .endereco-details-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .endereco-v-divider {
    display: none;
  }

  .footer-container {
    width: 92%;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-right-col {
    flex-direction: column;
    gap: 14px;
  }

  .footer-v-divider {
    display: none;
  }

  .footer-container.bottom-row {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .logo-img {
    height: 38px;
  }

  .hero-section {
    min-height: auto;
    padding: 44px 0 50px;
  }

  .hero-title {
    font-size: clamp(26px, 7.2vw, 34px);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: 100%;
  }

  .hero-btns-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .btn-primary-gold {
    width: 100%;
    justify-content: center;
  }

  .hero-link-arrow {
    justify-content: center;
  }

  .highlights-bar {
    padding: 38px 0;
  }

  .highlights-container {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid rgba(190, 149, 94, 0.22);
    padding: 0 16px 28px;
    height: auto;
  }

  .highlight-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .highlight-icon {
    margin-bottom: 12px;
  }

  .highlight-title {
    font-size: 15px;
    line-height: 1.45;
  }

  .section-atuacao {
    padding: 55px 0 70px;
  }

  .atuacao-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .atuacao-cards-grid .service-card:nth-child(n) {
    grid-column: auto;
  }

  .service-card {
    min-height: auto;
    padding: 26px 20px 22px;
  }

  .image-frame {
    max-width: 320px;
    height: 440px;
    margin: 0 auto;
  }

  .endereco-info-panel {
    padding: 36px 20px;
  }

  .depoimentos-content-col {
    padding: 30px 20px 34px;
  }

  .service-modal {
    width: 92%;
    max-height: 84vh;
    border-radius: 10px;
  }

  .modal-box {
    padding: 24px 18px 18px;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-header {
    padding-right: 36px;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    font-size: 20px;
    top: 10px;
    margin-right: -2px;
    margin-bottom: -32px;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Fixed Bottom Right - Desktop & Mobile)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float-btn:active {
  transform: scale(0.94);
}

.whatsapp-float-icon {
  width: 34px;
  height: 34px;
  fill: #FFFFFF;
  display: block;
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
}

