/* ============================================================
   RH Suporte — Design System
   Consultoria Especializada em TOTVS Linha RM
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --navy:        #0F2B5B;
  --blue:        #1A56DB;
  --blue-light:  #3B82F6;
  --blue-pale:   #DBEAFE;
  --blue-bg:     #EFF6FF;

  --gray-900:    #0F172A;
  --gray-800:    #1E293B;
  --gray-700:    #334155;
  --gray-600:    #475569;
  --gray-500:    #64748B;
  --gray-400:    #94A3B8;
  --gray-300:    #CBD5E1;
  --gray-200:    #E2E8F0;
  --gray-100:    #F1F5F9;
  --gray-50:     #F8FAFC;

  --white:       #FFFFFF;
  --whatsapp:    #25D366;
  --whatsapp-dk: #128C7E;
  --danger:      #DC2626;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing (8px system) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-30: 120px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(15,43,91,.05);
  --shadow-md:  0 4px 12px rgba(15,43,91,.08);
  --shadow-lg:  0 8px 24px rgba(15,43,91,.10);
  --shadow-xl:  0 16px 48px rgba(15,43,91,.12);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .25s;

  /* Layout */
  --max-width: 1200px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--navy); }

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
}

.section--alt {
  background: var(--gray-50);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--blue {
  background: linear-gradient(135deg, var(--navy) 0%, #162e5e 100%);
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-16);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: var(--sp-4);
}

.section--dark .section__label,
.section--blue .section__label {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
}

.section__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section--dark .section__title,
.section--blue .section__title {
  color: var(--white);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.section--dark .section__subtitle,
.section--blue .section__subtitle {
  color: rgba(255,255,255,.7);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

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

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--gray-200);
}
.btn--secondary:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
  color: var(--blue);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--navy);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dk);
  border-color: var(--whatsapp-dk);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-group {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--dur) var(--ease);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__list {
  display: flex;
  gap: var(--sp-5);
}

.nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: var(--sp-2) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--dur) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--blue);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__cta {
  font-size: .875rem;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  padding: 0;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + var(--sp-10));
  padding-bottom: var(--sp-10);
  background: linear-gradient(160deg, var(--white) 0%, var(--gray-50) 50%, var(--blue-bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 600;
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.hero__title span {
  color: var(--blue);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: var(--sp-10);
  max-width: 540px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero__illustration {
  width: 100%;
  max-width: 480px;
  position: relative;
}

/* Abstract tech illustration using CSS */
.hero__abstract {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.hero__abstract-circle {
  position: absolute;
  border-radius: 50%;
}

.hero__abstract-circle--lg {
  width: 85%;
  height: 85%;
  top: 7.5%;
  left: 7.5%;
  background: linear-gradient(135deg, var(--blue-bg), rgba(26,86,219,.06));
  border: 1px solid var(--blue-pale);
}

.hero__abstract-circle--md {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  background: linear-gradient(135deg, var(--blue-pale), rgba(26,86,219,.1));
  border: 1px solid rgba(26,86,219,.15);
}

.hero__abstract-circle--sm {
  width: 35%;
  height: 35%;
  top: 32.5%;
  left: 32.5%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__abstract-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.hero__abstract-icon--1 { top: 5%; left: 50%; transform: translateX(-50%); }
.hero__abstract-icon--2 { top: 30%; right: 2%; }
.hero__abstract-icon--3 { bottom: 15%; right: 8%; }
.hero__abstract-icon--4 { bottom: 5%; left: 15%; }
.hero__abstract-icon--5 { top: 40%; left: 0%; }

/* ---------- Interactive Tabs (Featured Solutions) ---------- */
.solutions__tabs {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-8);
  box-shadow: var(--shadow-md);
}

.tabs__header {
  display: flex;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--dur) var(--ease);
}

.tab-btn:hover {
  color: var(--blue);
  background: var(--white);
}

.tab-btn.active {
  color: var(--blue);
  background: var(--white);
}

.tab-btn.active::after {
  background: var(--blue);
}

.tabs__content {
  position: relative;
  min-height: 400px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

.tab-pane__inner {
  display: flex;
  gap: var(--sp-10);
  padding: var(--sp-10);
}

.tab-pane__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tab-pane__visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tab-pane__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tab-pane__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--sp-4);
}

.tab-pane__title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.tab-pane__desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

.tab-pane__list {
  list-style: none;
  margin-bottom: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.tab-pane__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: .9375rem;
  color: var(--gray-700);
  font-weight: 500;
}

.tab-pane__list li svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

/* ---------- Solutions Grid ---------- */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.solution-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}

.solution-card:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: inherit;
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  transition: all var(--dur) var(--ease);
}

.solution-card__icon svg { width: 24px; height: 24px; }

.solution-card:hover .solution-card__icon {
  background: var(--blue);
  color: var(--white);
}

.solution-card__badge {
  display: none;
}

.solution-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.solution-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex-grow: 1;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
}

.solution-card__link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.solution-card:hover .solution-card__link svg { transform: translateX(4px); }

/* ---------- Hiring Models ---------- */
.hiring__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
}

.hiring-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
}

.hiring-card:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-md);
}

.hiring-card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
}

.hiring-card__icon svg { width: 24px; height: 24px; }

.hiring-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.hiring-card__desc {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ---------- Differentials ---------- */
.diffs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.diff-item {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.diff-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
}

.diff-item__icon svg { width: 22px; height: 22px; }

.diff-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-1);
}

.diff-item__desc {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

/* ---------- Methodology ---------- */
.method__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-6);
  position: relative;
}

/* Connecting line */
.method__steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.method-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.method-step__num {
  width: 52px;
  height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto var(--sp-5);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.method-step__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.method-step__desc {
  font-size: .8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ---------- Team / Partners ---------- */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-10);
}

.team-card {
  display: flex;
  gap: var(--sp-8);
  padding: var(--sp-8);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--dur) var(--ease);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
}

.team-card__photo {
  flex-shrink: 0;
  width: 160px;
  height: 200px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: .75rem;
  text-align: center;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__info {
  flex: 1;
}

.team-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.team-card__role {
  font-size: .875rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.team-card__skill {
  padding: var(--sp-1) var(--sp-3);
  background: var(--blue-bg);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 500;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue);
}

.team-card__linkedin svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--gray-200);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  gap: var(--sp-4);
}

.faq-item__question:hover { color: var(--blue); }

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease);
}

.faq-item.open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}

.faq-item.open .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding-bottom: var(--sp-5);
  font-size: .9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- Contact Section ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-12);
  align-items: start;
}

.contact__info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.contact__info p {
  color: var(--gray-600);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.contact__whatsapp-box {
  padding: var(--sp-6);
  background: var(--blue-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--blue-pale);
}

.contact__whatsapp-box p {
  margin-bottom: var(--sp-4);
  font-size: .9375rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-4);
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--sp-2);
}

.form__input,
.form__select,
.form__textarea {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .9375rem;
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  width: 100%;
  margin-top: var(--sp-4);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: var(--sp-20) 0;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.cta-banner p {
  font-size: 1.125rem;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto var(--sp-8);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-top: var(--sp-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand p {
  font-size: .875rem;
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 300px;
}

.footer__col h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-5);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-3); }

.footer__col a {
  font-size: .875rem;
  color: var(--gray-400);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-6) 0;
  font-size: .8125rem;
}

.footer__bottom a { color: var(--gray-400); }
.footer__bottom a:hover { color: var(--white); }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 90;
  transition: all var(--dur) var(--ease);
  border: none;
}

.whatsapp-fab:hover {
  background: var(--whatsapp-dk);
  transform: scale(1.08);
  color: var(--white);
}

.whatsapp-fab svg { width: 28px; height: 28px; }

/* ---------- Internal Page Layout ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-16);
  background: linear-gradient(160deg, var(--navy) 0%, #1a3a6b 100%);
  color: var(--white);
}

.page-hero__breadcrumb {
  display: flex;
  gap: var(--sp-2);
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-6);
}

.page-hero__breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero__breadcrumb a:hover { color: var(--white); }

.page-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 640px;
  line-height: 1.7;
}

.page-content {
  padding: var(--sp-20) 0;
}

.page-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}

.page-content p {
  margin-bottom: var(--sp-5);
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}

.page-content ul li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-3);
  line-height: 1.7;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

/* Credibility placeholder section */
.placeholder-section {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  background: var(--gray-50);
}

.placeholder-section__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-400);
  margin-bottom: var(--sp-2);
}

.placeholder-section__desc {
  font-size: .875rem;
  color: var(--gray-400);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__title { font-size: 2.5rem; }
  .solutions__featured { grid-template-columns: repeat(2, 1fr); }
  .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .method__steps { grid-template-columns: repeat(3, 1fr); }
  .method__steps::before { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .section { padding: var(--sp-10) 0; }
  .section__header { margin-bottom: var(--sp-8); }
  .section__title { font-size: 1.5rem; }

  .mobile-toggle { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-8);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
    z-index: 105;
  }

  .header__nav.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-6);
  }

  .nav__link { font-size: 1.125rem; }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle { margin: 0 auto var(--sp-8); font-size: 1rem; }
  .hero__title { font-size: 1.75rem; }
  .btn-group { flex-direction: column; width: 100%; gap: var(--sp-4); }
  .btn-group .btn { width: 100%; justify-content: center; }
  .hero__visual { display: none; }

  .tabs__header { flex-direction: column; overflow-x: visible; }
  .tab-btn { justify-content: center; width: 100%; border-bottom: 1px solid var(--gray-200); }
  .tab-pane__inner { flex-direction: column-reverse; padding: var(--sp-6); gap: var(--sp-6); }
  .tab-pane__visual { width: 100%; }

  .solutions__featured { grid-template-columns: 1fr; }
  .solutions__grid { grid-template-columns: 1fr; }
  .diffs__grid { grid-template-columns: 1fr; }
  .method__steps { grid-template-columns: 1fr; gap: var(--sp-8); }
  .method__steps::before { display: none; }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-card__skills { justify-content: center; }

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

  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__brand p { margin: var(--sp-4) auto 0; }
  .footer__bottom { flex-direction: column; gap: var(--sp-3); text-align: center; }

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

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

  .page-hero__title { font-size: 1.75rem; }
  .cta-banner h2 { font-size: 1.5rem; }
}

/* ---------- Clients Section ---------- */
.clients-section {
  padding: var(--sp-8) 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.clients-section__title {
  text-align: center;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: var(--sp-6);
}

.clients-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: var(--sp-12) 0;
}

.clients-slider::before,
.clients-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.clients-slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.clients-slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.clients-slider__track {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
  align-items: center;
}

.clients-slider__track img {
  width: 150px;
  height: 80px;
  margin: 0 var(--sp-6);
  object-fit: contain;
  will-change: transform;
  position: relative;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
