/* =============================================
   RUAN TALEVI ADVOCACIA — Global Styles
   ============================================= */

:root {
  --navy:       #0d1b3e;
  --navy-light: #162550;
  --gold:       #c9a84c;
  --gold-light: #e8c96d;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --gray-100:   #f0efeb;
  --gray-200:   #e2e1db;
  --gray-600:   #6b6b6b;
  --gray-800:   #2d2d2d;
  --text:       #1a1a1a;

  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Source Sans 3', 'Segoe UI', sans-serif;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.10);
  --shadow-md:  0 4px 20px rgba(0,0,0,.15);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.20);
  --radius:     6px;
  --radius-lg:  12px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p  { line-height: 1.75; }

.gold { color: var(--gold); }
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .5rem;
}

/* ── Layout helpers ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--gray { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading p {
  max-width: 560px;
  margin: 1rem auto 0;
  color: var(--gray-600);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-green-pulse {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  animation: pulse-wpp 2.5s infinite;
}
.btn-green-pulse:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  animation: none;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  line-height: 1.1;
}
.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.logo-sub {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  padding: .25rem 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.dropdown-toggle:hover { color: var(--white); }
.dropdown-toggle svg { transition: transform var(--transition); }
.nav-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: .75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.25rem;
  color: var(--gray-800);
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover {
  background: var(--off-white);
  color: var(--navy);
}
.dropdown-item-icon {
  width: 36px; height: 36px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.dropdown-item:hover .dropdown-item-icon {
  background: var(--gold);
}

.btn-header {
  padding: .6rem 1.4rem;
  font-size: .9rem;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-light);
  padding: 1rem 1.5rem 1.5rem;
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--gold); }
.mobile-nav-sub {
  padding-left: 1rem;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f5e 60%, #0d1b3e 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.hero-badge {
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 100px;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }
.hero-desc {
  color: rgba(255,255,255,.80);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-info {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-info-item { text-align: center; }
.hero-info-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-info-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-top: .25rem;
}
.hero-photo-wrap {
  position: relative;
  width: 420px;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 32px rgba(201,168,76,.2);
  flex-shrink: 0;
  align-self: center;
  transition: box-shadow .35s ease;
}
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/foto-ruan-1.jpg') center 20% / cover no-repeat;
  transition: transform .45s ease;
}
.hero-photo-wrap:hover {
  box-shadow: 0 24px 72px rgba(0,0,0,.6), 0 0 52px rgba(201,168,76,.5);
}
.hero-photo-wrap:hover::before {
  transform: scale(1.06);
}

/* ── About ── */
.about-img-wrap {
  position: relative;
}
.about-img-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 8px 32px rgba(201,168,76,.25);
  transition: box-shadow .35s ease;
}
.about-img-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/foto-ruan-2.jpg') center 20% / cover no-repeat;
  transition: transform .45s ease;
}
.about-img-bg:hover {
  box-shadow: 0 12px 52px rgba(201,168,76,.55);
}
.about-img-bg:hover::before {
  transform: scale(1.06);
}
.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge strong { font-size: 1.5rem; font-family: var(--font-serif); display: block; }
.about-badge span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.about-content { padding-left: 2rem; }
.about-oab {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gray-100);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
}
.about-content h2 { margin-bottom: 1rem; }
.about-content p { color: var(--gray-600); margin-bottom: 1rem; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.tag {
  background: var(--navy);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: 100px;
}

/* ── Soluções ── */
.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.solution-card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.solution-card h3 { color: var(--navy); margin: 0; }
.solution-card p {
  color: var(--gray-600);
  font-size: .9rem;
  flex: 1;
}
.solution-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 700;
  transition: gap var(--transition);
}
.solution-card-link:hover { gap: .75rem; }

/* ── Diferenciais ── */
.diferencial-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.diferencial-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.diferencial-item h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .5rem; }
.diferencial-item p { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ── Reviews ── */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.stars { color: #f5a623; font-size: 1rem; margin-bottom: .75rem; }
.review-text { color: var(--gray-600); font-size: .9rem; font-style: italic; margin-bottom: 1rem; }
.review-author { font-weight: 700; font-size: .85rem; color: var(--navy); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray-600); margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.contact-item-text a { color: var(--gray-800); font-weight: 600; }
.contact-item-text a:hover { color: var(--navy); }

.social-row {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
}
.social-link {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background var(--transition), transform var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .83rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: .4rem;
  letter-spacing: .03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,62,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: .78rem;
  color: var(--gray-600);
  margin-top: 1rem;
  text-align: center;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wpp 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  animation: none;
}
@keyframes pulse-wpp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.75); }
}

/* ── Footer ── */
.site-footer {
  background: #060d1f;
  color: rgba(255,255,255,.6);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo-name { font-size: 1.1rem; }
.footer-desc {
  font-size: .85rem;
  margin-top: .75rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-oab {
  display: inline-block;
  margin-top: 1rem;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.footer-heading {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-link {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-bottom a { color: var(--gold); }

/* ── Landing Page Specifics ── */
.lp-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f5e 100%);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.lp-hero-content { color: var(--white); }
.lp-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.lp-hero-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }
.lp-hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.lp-hero-card h3 { margin-bottom: 1.5rem; }

/* Centered full-width hero (no form) */
.lp-hero-centered {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 0;
}
.lp-hero-centered h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.lp-hero-centered .lp-sub {
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.lp-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-trust-bar {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.lp-trust-item {
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}
.lp-trust-item strong {
  display: block;
  color: var(--gold);
  font-size: 1.3rem;
  font-family: var(--font-serif);
  margin-bottom: .2rem;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
}
.step-body h4 { font-size: 1rem; margin-bottom: .25rem; color: var(--navy); }
.step-body p { font-size: .88rem; color: var(--gray-600); }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.faq-question {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
}
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding var(--transition);
}
.faq-item.open .faq-answer { max-height: 400px; padding-top: .75rem; }
.faq-answer p { color: var(--gray-600); font-size: .92rem; }

.risk-banner {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  text-align: center;
}
.risk-banner h2 { color: var(--navy); }
.risk-banner p { color: var(--navy); opacity: .8; margin: .75rem 0 1.75rem; }

/* ── Platform Cards (Marketplace) ── */
.platform-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: border-color .25s, transform .2s, box-shadow .25s;
}
.platform-card:hover { transform: translateY(-4px); }
.platform-card-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.platform-card h3 { color: var(--navy); margin-bottom: .65rem; font-size: 1.05rem; }
.platform-card p { color: var(--gray-600); font-size: .875rem; line-height: 1.6; }
.platform-card--ml:hover     { border-color: #FFE600; box-shadow: 0 6px 24px rgba(255,230,0,.25); }
.platform-card--shopee:hover  { border-color: #EE4D2D; box-shadow: 0 6px 24px rgba(238,77,45,.2); }
.platform-card--amazon:hover  { border-color: #FF9900; box-shadow: 0 6px 24px rgba(255,153,0,.2); }
.platform-card--shopify:hover { border-color: #96BF48; box-shadow: 0 6px 24px rgba(150,191,72,.2); }

/* ── Solution Card Expandable ── */
.solution-card-expand {
  cursor: pointer;
  user-select: none;
}
.solution-card-toggle {
  display: flex;
  flex-direction: column;
  gap: inherit;
}
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
}
.card-header-row h3 { margin: 0; flex: 1; }
.expand-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform .3s ease;
  margin-top: .2rem;
}
.solution-card-expand.open .expand-arrow { transform: rotate(180deg); }
.solution-card-sublinks {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .4s ease, opacity .3s ease, margin .3s ease, padding .3s ease;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  border-top: 1px solid rgba(201,168,76,.25);
  margin-top: 0;
  padding-top: 0;
}
.solution-card-expand.open .solution-card-sublinks {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
  padding-top: .75rem;
}
.solution-card-sublink {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: .875rem;
  padding: .45rem .6rem;
  border-radius: 6px;
  transition: background .15s;
  text-decoration: none;
}
.solution-card-sublink:hover { background: rgba(13,27,62,.07); }
.solution-card-sublink span { margin-left: auto; color: var(--gold); font-size: .8rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-2, .hero-inner, .lp-hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-photo-wrap { display: none; }
  .about-content { padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 2.5rem; }
  .lp-hero-card { order: -1; }
}
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .hero-info { gap: 1.25rem; }
  .risk-banner { padding: 2rem 1.5rem; }
  .lp-hero { padding: 4rem 0 3rem; }
  .hero { min-height: auto; }
  .hero-inner { padding: 2.5rem 0; }
}
