/* ============================================
   Igor Carneiro — Assessoria Jurídica
   Modern UI/UX Stylesheet
   ============================================ */

:root {
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #1a3358;
  --navy-600: #234878;
  --gold-400: #c9a84c;
  --gold-500: #b8943f;
  --gold-300: #dfc06e;
  --cream: #f8f6f1;
  --cream-dark: #ede9e0;
  --white: #ffffff;
  --gray-100: #f4f4f5;
  --gray-300: #d4d4d8;
  --gray-500: #71717a;
  --gray-700: #3f3f46;
  --green-whatsapp: #25d366;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-400);
  display: block;
  margin-bottom: 24px;
  animation: pulse 1.5s ease infinite;
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: var(--navy-700);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-progress {
  height: 100%;
  width: 0;
  background: var(--gold-400);
  border-radius: 3px;
  animation: loadBar 1.2s ease forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
}

.nav-cta {
  background: var(--gold-400);
  color: var(--navy-900) !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--gold-300);
  transform: translateY(-1px);
}

.nav-cta.active::after { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-400);
}

.btn-primary:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-whatsapp {
  background: var(--green-whatsapp);
  color: var(--white);
  border-color: var(--green-whatsapp);
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-full { width: 100%; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 25% 25%, var(--gold-400) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--gold-400) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-300);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-text > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  text-align: left;
}

.stat strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.stat span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-400);
}

.stat small {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 380px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-card-img {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  padding: 40px;
  display: flex;
  justify-content: center;
}

.hero-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-700));
  border: 3px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.3);
}

.hero-avatar.has-photo,
.sobre-avatar.has-photo {
  overflow: hidden;
  padding: 0;
}

.hero-avatar .avatar-img,
.sobre-avatar .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sobre-avatar.has-photo {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.sobre-img-frame .sobre-avatar.has-photo .avatar-img {
  border-radius: 0;
}

.hero-card-info {
  padding: 28px;
  text-align: center;
}

.hero-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-card-info > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hero-card-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-card-tags span {
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--gold-300);
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-800);
  animation: floatBadge 4s ease-in-out infinite;
}

.hero-float svg {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
}

.hero-float-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
  z-index: 1;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-500);
}

/* ---- Sobre ---- */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.sobre-img {
  position: relative;
}

.sobre-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-avatar svg {
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, 0.2);
}

.sobre-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold-400);
  color: var(--navy-900);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.sobre-experience strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.sobre-experience span {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.sobre-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.sobre-content p {
  margin-bottom: 16px;
  color: var(--gray-500);
  line-height: 1.8;
}

.sobre-credentials {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.credential:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.credential-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-400);
}

.credential strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.credential span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ---- Areas ---- */
.areas { background: var(--cream); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.area-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.2);
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.area-card:hover .area-icon {
  transform: scale(1.1);
}

.area-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-400);
}

.area-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.area-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.area-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-500);
  transition: gap var(--transition);
}

.area-link:hover { gap: 10px; }

.area-link svg {
  width: 16px;
  height: 16px;
}

/* ---- Depoimentos ---- */
.depoimentos {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.depoimentos::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.depoimentos .section-header h2 { color: var(--white); }
.depoimentos .section-header p { color: rgba(255, 255, 255, 0.5); }

.depoimentos-slider {
  position: relative;
  overflow: hidden;
}

.depoimentos-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.depoimento-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), transform var(--transition);
}

.depoimento-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.depoimento-stars {
  color: var(--gold-400);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.depoimento-card blockquote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.depoimento-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.depoimento-author strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
}

.depoimento-author span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.depoimentos-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  border-color: var(--gold-400);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--gold-400);
  width: 24px;
  border-radius: 4px;
}

/* ---- Local ---- */
.local { background: var(--white); }

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.local-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: transform var(--transition);
}

.local-card:hover {
  transform: translateX(6px);
}

.local-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.local-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-400);
}

.local-card h3 {
  font-size: 1rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.local-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.local-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.local-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ---- Contato ---- */
.contato { background: var(--cream); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contato-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contato-icon {
  width: 48px;
  height: 48px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.contato-item:hover .contato-icon {
  transform: scale(1.1);
}

.contato-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-400);
}

.contato-item h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contato-item a {
  font-size: 1rem;
  color: var(--navy-900);
  font-weight: 500;
}

.contato-item a:hover {
  color: var(--gold-500);
}

.contato-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 12px;
  background: rgba(37, 211, 102, 0.1);
  color: #16a34a;
  border-radius: var(--radius-sm);
  font-weight: 500;
  margin-top: 16px;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--green-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ---- Animations on Scroll ---- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .depoimento-card {
    flex: 0 0 calc(50% - 12px);
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-float-1 { left: 0; }
  .hero-float-2 { right: 0; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-900);
    padding: calc(var(--header-h) + 24px) 32px 32px;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }

  .sobre-grid,
  .local-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .sobre-experience {
    right: 10px;
    bottom: -10px;
    padding: 16px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .depoimento-card {
    flex: 0 0 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contato-form {
    padding: 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat strong {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
