/* ============================================================
   AGÊNCIA KUO — SISTEMA DE DESIGN PRINCIPAL
   Paleta: Vinho (#7A1010), Bege (#F0D5A8), Escuro (#141414)
   Ritmo: Claro → Escuro → Claro → Escuro (alternado por seção)
   ============================================================ */

/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ============================================================
   VARIÁVEIS GLOBAIS
   ============================================================ */
:root {
  /* Cores principais */
  --wine:        #7A1010;
  --wine-light:  #9B1515;
  --wine-dark:   #5A0B0B;
  --wine-glow:   rgba(122, 16, 16, 0.25);

  /* Tons quentes (seções claras) */
  --sand:        #F0D5A8;
  --sand-light:  #F7E8CC;
  --sand-dark:   #E0C090;
  --cream:       #FAF5EC;

  /* Tons escuros (seções dark) */
  --dark:        #141414;
  --dark-2:      #1C1C1C;
  --dark-3:      #242424;
  --dark-card:   rgba(255,255,255,0.04);
  --dark-border: rgba(255,255,255,0.08);

  /* Texto claro */
  --text-on-light:       #1A1A1A;
  --text-muted-light:    #5A4A3A;
  --text-subtle-light:   #8A7060;

  /* Texto escuro */
  --text-on-dark:        #F5EEE4;
  --text-muted-dark:     #B8A898;
  --text-subtle-dark:    #7A6A5A;

  /* Tipografia */
  --font-serif:   'Montserrat', -apple-system, sans-serif;
  --font-sans:    'DM Sans', -apple-system, sans-serif;

  /* Tamanhos */
  --container:   1200px;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  /* Transições */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:  0.35s var(--ease-smooth);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-on-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ============================================================
   TIPOGRAFIA GLOBAL
   ============================================================ */
.display-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  max-width: 620px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ============================================================
   SEÇÕES — SISTEMA DE ALTERNÂNCIA CLARO/ESCURO
   ============================================================ */

/* SEÇÃO CLARA (bege/areia) */
.section-light {
  background: var(--cream);
  color: var(--text-on-light);
}
.section-light .section-title,
.section-light .display-title {
  color: var(--text-on-light);
}
.section-light .section-subtitle,
.section-light p {
  color: var(--text-muted-light);
}
.section-light .eyebrow {
  color: var(--wine);
}

/* SEÇÃO AREIA (mais quente) */
.section-sand {
  background: var(--sand-light);
  color: var(--text-on-light);
}
.section-sand .section-title,
.section-sand .display-title {
  color: var(--text-on-light);
}
.section-sand .section-subtitle,
.section-sand p {
  color: var(--text-muted-light);
}
.section-sand .eyebrow {
  color: var(--wine);
}

/* SEÇÃO ESCURA */
.section-dark {
  background: var(--dark);
  color: var(--text-on-dark);
}
.section-dark .section-title,
.section-dark .display-title {
  color: var(--text-on-dark);
}
.section-dark .section-subtitle,
.section-dark p {
  color: var(--text-muted-dark);
}
.section-dark .eyebrow {
  color: var(--sand);
}

/* SEÇÃO VINHO */
.section-wine {
  background: var(--wine);
  color: #fff;
}
.section-wine .section-title,
.section-wine .display-title {
  color: #fff;
}
.section-wine .section-subtitle,
.section-wine p {
  color: rgba(255,255,255,0.8);
}
.section-wine .eyebrow {
  color: var(--sand);
}

/* SEÇÃO DARK-2 (um pouco mais clara que dark) */
.section-dark-2 {
  background: var(--dark-2);
  color: var(--text-on-dark);
}
.section-dark-2 .section-title,
.section-dark-2 .display-title {
  color: var(--text-on-dark);
}
.section-dark-2 .section-subtitle,
.section-dark-2 p {
  color: var(--text-muted-dark);
}
.section-dark-2 .eyebrow {
  color: var(--sand);
}

/* Espaçamentos padrão de seção */
.section-pad {
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.section-pad-sm {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before {
  opacity: 1;
}

/* Botão primário (vinho) */
.btn-primary {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
  box-shadow: 0 4px 20px var(--wine-glow);
}
.btn-primary:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--wine-glow);
}

/* Botão outline claro */
.btn-outline-light {
  background: transparent;
  color: var(--text-on-light);
  border-color: var(--text-on-light);
}
.btn-outline-light:hover {
  background: var(--text-on-light);
  color: #fff;
  transform: translateY(-2px);
}

/* Botão outline em fundos escuros */
.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Botão areia */
.btn-sand {
  background: var(--sand);
  color: var(--wine-dark);
  border-color: var(--sand);
}
.btn-sand:hover {
  background: var(--sand-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,213,168,0.4);
}

/* Botão pequeno */
.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
}

/* Ícone de seta no botão */
.btn-arrow::after {
  content: '→';
  margin-left: 0.25rem;
  transition: transform 0.25s var(--ease-bounce);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   HEADER / NAVEGAÇÃO
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              backdrop-filter 0.4s;
}

.header.at-top {
  background: transparent;
}

.header.scrolled {
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 32px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.header__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform var(--transition), opacity var(--transition);
  /* The JPEG has a white background — we keep it clean */
  background: transparent;
}

.header__logo:hover .header__logo-img {
  transform: scale(1.04);
  opacity: 0.9;
}

.header__logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wine);
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Navegação */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-light);
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
  transition: width var(--transition);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 60%;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--wine);
}

/* CTA do Header */
.header__cta {
  margin-left: 1rem;
}

/* Hamburguer (mobile) */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
  transition: var(--transition);
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.header__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.header__mobile-menu.open {
  display: flex;
}

.header__mobile-menu .header__nav-link {
  font-size: 1.5rem;
  padding: 0.75rem 1.5rem;
}

/* ============================================================
   HERO SECTION — CLARO (Início)
   ============================================================ */
.hero {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

/* Padrão de fundo sutil (símbolo KUO watermark) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 70% 50%, rgba(240,213,168,0.6) 0%, transparent 60%),
                    radial-gradient(ellipse at 20% 80%, rgba(122,16,16,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 90%;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='45' r='28' fill='none' stroke='%237A1010' stroke-width='1.5'/%3E%3Cpath d='M60 17 Q60 10 60 17' fill='none' stroke='%237A1010' stroke-width='1.5'/%3E%3Cpath d='M45 50 Q38 70 36 80 Q34 90 40 90 Q46 90 48 80' fill='none' stroke='%237A1010' stroke-width='1.5'/%3E%3Cpath d='M75 50 Q82 70 84 80 Q86 90 80 90 Q74 90 72 80' fill='none' stroke='%237A1010' stroke-width='1.5'/%3E%3Cpath d='M52 28 Q47 22 43 18 M60 17 Q60 10 60 5 M68 28 Q73 22 77 18' fill='none' stroke='%237A1010' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 5vw, 3rem);
}

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--wine);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--wine);
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-muted-light);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Painel visual do hero */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-display {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-bg {
  position: absolute;
  inset: 0;
  background: var(--sand-light);
  border-radius: 50%;
  opacity: 0.5;
}

.hero__logo-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid var(--sand-dark);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite;
}

.hero__logo-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--wine);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero__logo-main {
  position: relative;
  text-align: center;
}

.hero__logo-symbol {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
}

.hero__logo-wordmark {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--wine);
  letter-spacing: 0.12em;
  line-height: 1;
}

.hero__logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-muted-light);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Cards flutuantes */
.hero__float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-on-light);
  border: 1px solid rgba(0,0,0,0.06);
  animation: float 6s ease-in-out infinite;
}

.hero__float-card:nth-child(1) {
  top: 12%;
  right: -5%;
  animation-delay: 0s;
}
.hero__float-card:nth-child(2) {
  bottom: 18%;
  left: -8%;
  animation-delay: -2s;
}
.hero__float-card:nth-child(3) {
  bottom: 5%;
  right: 0%;
  animation-delay: -4s;
}

.hero__float-icon {
  width: 32px;
  height: 32px;
  background: var(--wine);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-subtle-light);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--wine), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ============================================================
   CARDS — GENÉRICOS
   ============================================================ */

/* Card claro */
.card-light {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card-light:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.card-light:hover::before {
  transform: scaleX(1);
}

/* Card escuro (glassmorphism) */
.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card-dark:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.card-dark:hover::before {
  transform: scaleX(1);
}

/* Card ícone */
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card__icon-wine {
  background: var(--wine-glow);
  color: var(--wine);
}

.card__icon-sand {
  background: rgba(240,213,168,0.2);
  color: var(--sand-dark);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.card__text {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================
   BLOCO DE AUTORIDADE / NÚMEROS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
}

.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(0,0,0,0.08);
}

.section-dark .stat-item + .stat-item {
  border-left: 1px solid var(--dark-border);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--wine);
  display: block;
  margin-bottom: 0.5rem;
}

.section-dark .stat-number {
  color: var(--sand);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SECTION HEADER (reutilizável)
   ============================================================ */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

.section-header .eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-header .section-title {
  margin-bottom: 1rem;
}

/* Linha decorativa */
.title-underline {
  width: 48px;
  height: 3px;
  background: var(--wine);
  border-radius: 2px;
  margin-top: 1rem;
}

.section-header--center .title-underline {
  margin: 1rem auto 0;
}

/* ============================================================
   GRID DE SERVIÇOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   PROBLEMAS / PAIN POINTS
   ============================================================ */
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.pain-item:hover {
  border-color: var(--wine);
  background: #fff;
}

.pain-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pain-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-light);
  line-height: 1.5;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.section-dark .faq-item {
  border-bottom: 1px solid var(--dark-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light);
  transition: color var(--transition);
}

.section-dark .faq-question {
  color: var(--text-on-dark);
}

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

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted-light);
}

.section-dark .faq-answer p {
  color: var(--text-muted-dark);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ============================================================
   MÉTODO — LINHA DO TEMPO
   ============================================================ */
.method-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.method-timeline::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: var(--dark-border);
}

.method-step {
  padding: 0 1.5rem 3rem;
  position: relative;
  text-align: center;
}

.method-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.method-step:hover .method-step__number {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px var(--wine-glow);
}

.method-step__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-on-dark);
}

.method-step__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted-dark);
}

/* ============================================================
   CASES / PORTFOLIO
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.case-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.07);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.case-card__thumb {
  aspect-ratio: 16/9;
  background: var(--sand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.case-card:hover .case-card__thumb img {
  transform: scale(1.06);
}

.case-card__thumb-placeholder {
  width: 60px;
  height: 60px;
  background: var(--sand-dark);
  border-radius: 50%;
  opacity: 0.4;
}

.case-card__segment {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--wine);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}

.case-card__body {
  padding: 1.75rem;
}

.case-card__client {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-on-light);
}

.case-card__challenge {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted-light);
  margin-bottom: 1.25rem;
}

.case-card__result {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wine);
  margin-bottom: 1.25rem;
  padding: 0.6rem 1rem;
  background: var(--wine-glow);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ============================================================
   SEGMENTOS
   ============================================================ */
.segments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.segment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
  transition: var(--transition);
}

.segment-tag-light {
  border-color: rgba(0,0,0,0.15);
  color: var(--text-on-light);
  background: transparent;
}

.segment-tag-light:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  transform: translateY(-2px);
}

.segment-tag-dark {
  border-color: var(--dark-border);
  color: var(--text-on-dark);
  background: transparent;
}

.segment-tag-dark:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   FORMULÁRIO DE CONTATO
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted-dark);
  text-transform: uppercase;
}

.form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-on-dark);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-control::placeholder {
  color: var(--text-subtle-dark);
}

.form-control:focus {
  border-color: var(--wine);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px var(--wine-glow);
}

.form-control.error {
  border-color: #e74c3c;
}

.form-control select option {
  background: var(--dark-2);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23B8A898' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================================
   INNER HERO (páginas internas)
   ============================================================ */
.page-hero {
  background: var(--cream);
  padding: calc(90px + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(240,213,168,0.5) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-on-light);
  margin-bottom: 1rem;
  line-height: 1.08;
}

.page-hero__title span {
  color: var(--wine);
  font-style: italic;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  max-width: 560px;
  line-height: 1.75;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-subtle-light);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-subtle-light);
  transition: color 0.2s;
}

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

.breadcrumb__sep {
  opacity: 0.4;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
}

.cta-section .section-title {
  margin-bottom: 1rem;
}

.cta-section .section-subtitle {
  margin: 0 auto 2.5rem;
}

.cta-section__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--text-on-dark);
  padding: 5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--dark-border);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer__logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: 0.08em;
}

/* Logo real no footer (JPEG branco — mostramos com bordinha clara) */
.footer__logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  /* Leve moldura para destacar no fundo escuro */
  box-shadow: 0 0 0 1px rgba(240,213,168,0.2);
  transition: opacity var(--transition);
}

.footer__logo-img:hover {
  opacity: 0.85;
}

/* Logo real grande na seção hero */
.hero__logo-img-main {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted-dark);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-muted-dark);
}

.footer__social-link:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle-dark);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--sand);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-bottom: 0.6rem;
}

.footer__contact-item span:first-child {
  font-size: 1rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  font-size: 0.8rem;
  color: var(--text-subtle-dark);
}

.footer__bottom-right {
  display: flex;
  gap: 1.5rem;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--wine);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 900;
  box-shadow: 0 4px 16px var(--wine-glow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--wine-dark);
  box-shadow: 0 8px 24px var(--wine-glow);
  transform: translateY(-2px);
}

/* WhatsApp fixo */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 900;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA (Intersection Observer)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
}

/* Delays encadeados */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

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

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.7); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

/* ============================================================
   DIVISOR / SEPARADOR DE SEÇÃO
   ============================================================ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-dark), transparent);
}

.section-divider-dark {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-wine     { color: var(--wine); }
.text-sand     { color: var(--sand); }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.italic        { font-style: italic; }
.font-serif    { font-family: var(--font-serif); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.flex          { display: flex; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.gap-1         { gap: 0.5rem; }
.gap-2         { gap: 1rem; }
.gap-3         { gap: 1.5rem; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Tags / Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.badge-wine {
  background: var(--wine-glow);
  color: var(--wine);
}

.badge-sand {
  background: rgba(240,213,168,0.25);
  color: var(--sand-dark);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

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

  .method-timeline::before {
    display: none;
  }

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

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

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .header__nav,
  .header__cta {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 4rem;
  }

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

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

  .method-timeline {
    grid-template-columns: 1fr;
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

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

  .stat-item + .stat-item {
    border-left: none;
  }

  .stat-item:nth-child(odd) + .stat-item {
    border-left: 1px solid rgba(0,0,0,0.08);
  }

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

  .hero__float-card {
    display: none;
  }

  .cta-section__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile pequeno (≤ 480px) */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   SVG LOGO INLINE — estilo do símbolo KUO
   ============================================================ */
.kuo-symbol {
  display: inline-block;
}

/* ============================================================
   SERVIÇO DETALHE (página serviços)
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.service-block + .service-block {
  border-top: 1px solid var(--dark-border);
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block__icon {
  width: 64px;
  height: 64px;
  background: var(--wine-glow);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-block__number {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 300;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  position: absolute;
  top: 0;
  right: 0;
}

.service-block__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-block__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted-dark);
  margin-bottom: 1.5rem;
}

.service-block__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.service-block__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted-dark);
}

.service-block__benefit::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--wine);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-block__visual {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-visual-icon {
  font-size: 5rem;
  opacity: 0.15;
}

@media (max-width: 768px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .service-block.reverse {
    direction: ltr;
  }
}
