/* ==========================================
   ESTUDIO A&R — MINIMALIST STYLES
   ========================================== */

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

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-2: #6b6b6b;
  --text-3: #999999;
  --accent: #1e2b38;
  --accent-lt: #2c3e50;
  --gold: #b89765;
  --gold-light: rgba(184, 151, 101, 0.08);
  --border: rgba(0,0,0,0.06);
  --border-h: rgba(0,0,0,0.12);
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --ease: 0.3s cubic-bezier(.4,0,.2,1);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  html {
    font-size: 16.5px;
  }
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ==========================================
   NAVBAR
   ========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1.15rem 0;
  transition: all var(--ease);
}
.nav--scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
  padding: 0.8rem 0;
}
.nav__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav__brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav__logo {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__name {
  font-family: var(--ff-serif); font-size: 1.1rem;
  font-weight: 600; color: var(--text);
}
.nav__tagline {
  font-size: 0.6rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3); font-weight: 400;
}
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__link {
  font-size: 0.73rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--text-2); font-weight: 400;
  transition: color var(--ease);
}
.nav__link:hover { color: var(--accent); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 950;
}
.nav__burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); transition: all var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 8rem 2rem 4rem; text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(250,250,248,0.85), rgba(250,250,248,0.96)), url('hero_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}
.hero__content {
  max-width: 720px; margin: 0 auto; position: relative; z-index: 2;
}
.hero__quote {
  font-size: 0.72rem; font-style: italic; color: var(--text-3);
  letter-spacing: 0.06em; margin-bottom: 2.5rem; line-height: 1.6;
}
.hero__quote span {
  display: block; margin-top: 0.3rem; font-style: normal;
  font-size: 0.65rem; opacity: 0.7;
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400; line-height: 1.15; color: var(--text);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-size: 1.15rem; font-weight: 300; letter-spacing: 0.15em;
  color: var(--accent); margin-top: 0.75rem;
}
.hero__desc {
  font-size: 0.92rem; color: var(--text-2);
  max-width: 540px; margin: 1.5rem auto 2.5rem; line-height: 1.8;
}
.hero__cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; transform: scaleY(0.4); transform-origin: top; }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--ff-sans); font-size: 0.73rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; cursor: pointer;
  border: none; border-radius: 4px;
  transition: all var(--ease);
}
.btn--solid {
  background: var(--accent); color: #fff;
}
.btn--solid:hover {
  background: var(--gold); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 151, 101, 0.25);
  color: #fff;
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(0,0,0,0.15);
}
.btn--ghost:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-light);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }
.btn--lg { padding: 1rem 2.5rem; font-size: 0.78rem; }

/* ==========================================
   SECTION HEAD
   ========================================== */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head--left { text-align: left; }
.section-head__label {
  display: inline-block;
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  padding: 0.35rem 1.1rem;
  border: 1px solid var(--gold); border-radius: 2rem;
  background: var(--gold-light);
}
.section-head__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400; line-height: 1.2; color: var(--text);
}
.section-head__title em { font-style: italic; color: var(--gold); }

/* ==========================================
   AREAS
   ========================================== */
.areas { padding: 7rem 2rem; background: var(--bg); }
.areas__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.card {
  background: var(--surface); padding: 2.5rem 2rem;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: all var(--ease); cursor: default;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transition: transform var(--ease);
  transform-origin: left;
}
.card:hover::before {
  transform: scaleX(1);
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(184, 151, 101, 0.08);
}
.card__icon {
  width: 32px; height: 32px; color: var(--accent);
  margin-bottom: 1.5rem; opacity: 0.65;
  transition: color var(--ease), opacity var(--ease);
}
.card:hover .card__icon {
  color: var(--gold); opacity: 1;
}
.card--featured {
  background: var(--gold-light);
  border-color: rgba(184, 151, 101, 0.25);
  box-shadow: 0 4px 15px rgba(184, 151, 101, 0.03);
}
.card--featured::before {
  transform: scaleX(1);
  opacity: 0.6;
}
.card--featured .card__icon {
  color: var(--gold);
  opacity: 0.85;
}
.card__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.15rem 0.6rem;
  border-radius: 2rem;
  background: var(--surface);
  line-height: 1;
}
.card__title {
  font-family: var(--ff-serif); font-size: 1.3rem;
  font-weight: 500; margin-bottom: 0.5rem; color: var(--text);
}
.card__text {
  font-size: 0.84rem; color: var(--text-2); line-height: 1.7;
}
.card__list {
  display: none; list-style: none;
  padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 1rem;
}
.card.card--open .card__list { display: block; }
.card__list li {
  font-size: 0.8rem; color: var(--text-2);
  padding: 0.3rem 0 0.3rem 1rem; position: relative;
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 0.65rem;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: 0.4;
}
.card__toggle {
  background: none; border: none; cursor: pointer;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; padding: 0; font-family: var(--ff-sans); font-weight: 500;
  transition: color var(--ease);
}
.card__toggle:hover { color: var(--accent-lt); }
.card__arrow {
  width: 14px; height: 14px; transition: transform 0.3s ease;
}
.card.card--open .card__arrow { transform: rotate(180deg); }

/* ==========================================
   ABOUT
   ========================================== */
.about { padding: 7rem 2rem; background: var(--surface); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.about__highlight {
  font-size: 1.05rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.04em; margin-bottom: 1rem; margin-top: 0.5rem;
}
.about__text {
  font-size: 0.9rem; color: var(--text-2); line-height: 1.85; margin-bottom: 2rem;
}
.about__values { display: flex; flex-direction: column; gap: 1.25rem; }
.value {
  padding: 1.25rem; background: var(--bg); border-radius: 6px;
}
.value__title {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em;
  font-weight: 600; color: var(--accent); margin-bottom: 0.4rem;
}
.value__text { font-size: 0.84rem; color: var(--text-2); line-height: 1.7; }

.about__quote-card {
  padding: 2.5rem; background: var(--bg); border-radius: var(--radius);
  position: relative; margin-bottom: 2rem;
}
.about__quote-card::before {
  content: '\201C'; position: absolute; top: 0.5rem; left: 1.5rem;
  font-family: var(--ff-serif); font-size: 4rem; color: var(--accent);
  line-height: 1; opacity: 0.15;
}
.about__quote {
  font-family: var(--ff-serif); font-size: 1.12rem;
  font-style: italic; line-height: 1.5; color: var(--text);
}
.about__quote-author {
  font-size: 0.73rem; color: var(--text-3); display: block; margin-top: 0.75rem;
  font-family: var(--ff-sans); font-style: normal;
}

/* ==========================================
   TEAM
   ========================================== */
.team__title {
  font-family: var(--ff-serif); font-size: 1.1rem;
  font-weight: 500; margin-bottom: 1.25rem; color: var(--text);
}
.team__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
.team__member { text-align: center; padding: 1.25rem 0.5rem; }
.team__avatar-container {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 0.75rem;
  overflow: hidden;
  border: 2px solid rgba(184, 151, 101, 0.15);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all var(--ease);
}
.team__member:hover .team__avatar-container {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 151, 101, 0.15);
}
.team__img {
  width: 100%; height: 100%; object-fit: cover;
}
.team__avatar-container--accent {
  background: rgba(44,62,80,0.05);
  color: var(--accent);
  border-color: transparent;
}
.team__avatar-text {
  font-size: 1.5rem; font-weight: 300; font-family: var(--ff-serif);
}
.team__name { font-size: 0.82rem; font-weight: 500; color: var(--text); }
.team__role { font-size: 0.7rem; color: var(--text-3); }
.team__link {
  color: var(--accent); display: inline-flex; margin-top: 0.3rem;
  opacity: 0.6; transition: opacity var(--ease);
}
.team__link:hover { opacity: 1; }

/* ==========================================
   AGENDA
   ========================================== */
.agenda {
  padding: 7rem 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-lt) 100%);
  color: #fff;
}
.section-head--light {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head__label--light {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}
.section-head__title--light {
  color: #fff;
}
.section-head__title--light em {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.agenda__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.agenda__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--ease);
  backdrop-filter: blur(8px);
  width: 100%;
}
.agenda__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.agenda__card-icon {
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.agenda__card-icon svg {
  width: 100%;
  height: 100%;
}
.agenda__card-title {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #fff;
}
.agenda__card-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex: 1;
}
.btn--white {
  background: #fff;
  color: var(--accent);
}
.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}
.btn--mp {
  background: #009ee3;
  color: #fff;
}
.btn--mp:hover {
  background: #008cd1;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 158, 227, 0.3);
}
.agenda__info {
  max-width: 900px;
  margin: 3.5rem auto 0;
  padding: 2.2rem;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}
.agenda__info-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.agenda__info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.agenda__info-list li {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
  text-align: left;
}
.agenda__info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
}
.agenda__info-list a {
  color: #fff;
  text-decoration: underline;
}
.agenda__info-list a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact { padding: 7rem 2rem; background: var(--bg); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.contact__desc {
  font-size: 0.9rem; color: var(--text-2);
  margin: 1.25rem 0 2rem; line-height: 1.8;
}
.contact__items { display: flex; flex-direction: column; gap: 1rem; }
.contact__item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact__icon { font-size: 1rem; line-height: 1.5; }
.contact__label {
  font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.contact__value { font-size: 0.86rem; color: var(--text-2); }
.contact__value--link {
  color: var(--accent); text-decoration: none; transition: color var(--ease);
}
.contact__value--link:hover { text-decoration: underline; }

.form {
  background: var(--surface); padding: 2.5rem;
  border-radius: var(--radius); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1.15rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; }
.form__group label {
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500; margin-bottom: 0.4rem;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%; padding: 0.8rem 1rem;
  background: var(--bg); border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px; font-family: var(--ff-sans);
  font-size: 0.86rem; color: var(--text);
  outline: none; transition: border-color var(--ease);
  appearance: none; resize: none;
}
.form__group select { cursor: pointer; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus { border-color: var(--accent); }
.form__group input::placeholder,
.form__group textarea::placeholder { color: #bbb; }
.form__note {
  font-size: 0.68rem; color: var(--text-3);
  text-align: center; margin-top: 0.25rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 3rem 2rem; background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem; text-align: center;
}
.footer__brand {
  display: flex; align-items: center; gap: 0.6rem;
}
.footer__brand .nav__name { font-size: 1rem; }
.footer__logo {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
}
.footer__links { display: flex; gap: 1.75rem; flex-wrap: wrap; justify-content: center; }
.footer__links a {
  font-size: 0.7rem; color: var(--text-2); text-decoration: none;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color var(--ease);
}
.footer__links a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 1rem; }
.footer__social-link {
  color: var(--text-3); transition: color var(--ease);
}
.footer__social-link:hover { color: var(--accent); }
.footer__copy { font-size: 0.7rem; color: var(--text-3); }

/* ==========================================
   FABs (WhatsApp + Chat)
   ========================================== */
.fab {
  position: fixed; z-index: 800; border-radius: 50%;
  border: none; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.fab--wa {
  bottom: 2rem; right: 2rem; width: 52px; height: 52px;
  background: #25d366;
  box-shadow: 0 4px 18px rgba(37,211,102,0.3);
  text-decoration: none;
}
.fab--wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
}
.fab--chat {
  bottom: 2rem; right: 5.5rem; width: 48px; height: 48px;
  background: var(--accent);
  box-shadow: 0 4px 18px rgba(44,62,80,0.25);
}
.fab--chat:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(44,62,80,0.35);
}
.fab__badge {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #e74c3c; color: #fff;
  font-size: 0.58rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: notifPulse 2s infinite;
}
@keyframes notifPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(231,76,60,0); }
}

/* ==========================================
   CHAT WINDOW
   ========================================== */
.chat {
  position: fixed; bottom: 5.5rem; right: 5rem; z-index: 850;
  width: 360px; max-height: 560px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transform: translateY(16px) scale(0.96);
  opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.chat.chat--open {
  transform: translateY(0) scale(1);
  opacity: 1; visibility: visible;
}
.chat__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem; border-bottom: 1px solid var(--border);
}
.chat__head-info { display: flex; align-items: center; gap: 0.6rem; }
.chat__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-lt));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: #fff;
}
.chat__name { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.chat__status {
  font-size: 0.66rem; color: var(--text-3);
  display: flex; align-items: center; gap: 0.35rem;
}
.chat__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #25d366; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.chat__close {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); padding: 4px;
  transition: color var(--ease);
}
.chat__close:hover { color: var(--text); }
.chat__disclaimer {
  background: rgba(44,62,80,0.04);
  padding: 0.45rem 1.15rem; font-size: 0.63rem; color: var(--accent);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.chat__body {
  flex: 1; overflow-y: auto; padding: 1.15rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  scroll-behavior: smooth; min-height: 200px; max-height: 300px;
}
.chat__body::-webkit-scrollbar { width: 2px; }
.chat__body::-webkit-scrollbar-thumb { background: var(--border-h); }

.msg { display: flex; gap: 0.4rem; animation: msgIn 0.25s ease; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.msg--user { flex-direction: row-reverse; }
.msg__avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center;
  justify-content: center; font-size: 0.6rem; color: var(--accent);
  flex-shrink: 0;
}
.msg--user .msg__avatar { background: rgba(44,62,80,0.08); }
.msg__bubble {
  max-width: 82%; padding: 0.7rem 0.9rem;
  border-radius: 10px; font-size: 0.8rem; line-height: 1.6;
}
.msg--bot .msg__bubble {
  background: var(--bg); border: 1px solid rgba(0,0,0,0.04); color: var(--text);
}
.msg--user .msg__bubble {
  background: var(--accent); color: #fff;
  border-radius: 10px 10px 2px 10px;
}

.typing { display: flex; align-items: center; gap: 3px; padding: 0.2rem 0; }
.typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-3); display: inline-block;
  animation: typingDot 1.4s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40%            { opacity: 1; transform: scale(1); }
}

.chat__chips {
  padding: 0 1rem 0.6rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.chip {
  background: none; border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-2); font-size: 0.66rem;
  padding: 0.3rem 0.65rem; border-radius: 2rem;
  cursor: pointer; font-family: var(--ff-sans);
  transition: all var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.chat__input {
  display: flex; align-items: flex-end; gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-top: 1px solid var(--border);
}
.chat__input textarea {
  flex: 1; background: var(--bg);
  border: 1px solid rgba(0,0,0,0.06); border-radius: 6px;
  color: var(--text); padding: 0.55rem 0.75rem;
  font-family: var(--ff-sans); font-size: 0.8rem;
  resize: none; outline: none; max-height: 100px;
  overflow-y: auto; transition: border-color var(--ease); line-height: 1.5;
}
.chat__input textarea:focus { border-color: var(--accent); }
.chat__input textarea::placeholder { color: #bbb; }
.chat__send {
  background: var(--accent); border: none; border-radius: 6px;
  color: #fff; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: background var(--ease);
}
.chat__send:hover { background: var(--accent-lt); }

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1; transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links {
    display: none; flex-direction: column; gap: 1.5rem;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    align-items: center; justify-content: center;
    z-index: 940;
  }
  .nav__links.nav__links--open { display: flex; }
  .nav__link { font-size: 1rem; color: var(--text); }
  .nav__burger { display: flex; }
  .areas__grid { grid-template-columns: 1fr; }
  .agenda__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding-top: 6rem; }
  .form__row { grid-template-columns: 1fr; }
  .chat { width: calc(100vw - 2rem); right: 1rem; bottom: 5rem; }
  .fab--chat { right: 4.5rem; }
  .fab--wa { right: 1rem; }
}

@media (max-width: 480px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .team__avatar { width: 40px; height: 40px; font-size: 0.75rem; }
  .footer__links { gap: 1rem; }
}
