/* =============================================
   JANAINA BREDA — IMMIGRATION LAW
   Design: Sóbrio & Institucional
   Cores: Azul Marinho + Dourado + Branco
   ============================================= */

:root {
  --navy:    #0d1b3e;
  --navy-dk: #080f24;
  --navy-md: #162552;
  --gold:    #c9a84c;
  --gold-lt: #e2c07a;
  --gold-dk: #a07830;
  --white:   #ffffff;
  --off-white: #f8f6f1;
  --gray-100: #f4f4f4;
  --gray-200: #e8e8e8;
  --gray-400: #9a9a9a;
  --gray-600: #555555;
  --gray-800: #2a2a2a;
  --text:    #1a1a2e;
  --radius:  6px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.15);
  --transition: .25s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --max-w: 1200px;
}

*, *::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.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-dk);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.35); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header--scrolled {
  background: var(--navy-dk);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: 12px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── LOGO ── */
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
}
.logo__tagline {
  font-size: .68rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── NAV ── */
.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link--cta {
  background: var(--gold);
  color: var(--navy-dk) !important;
  font-weight: 600;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--gold-lt); }

/* ── HEADER ACTIONS ── */
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  letter-spacing: .06em;
  transition: all var(--transition);
}
.lang-toggle:hover { background: var(--gold); color: var(--navy-dk); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy-md) 50%, #1a2f5e 100%);
  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");
  opacity: .4;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.08) 0%, transparent 60%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 140px 24px 100px;
  max-width: 760px;
}
.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero__badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.badge { text-align: center; }
.badge__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.badge__lbl {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

/* ── SECTION COMMONS ── */
.section { padding: 96px 0; }
.section__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-dk);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 56px;
}

/* ── SPECIALTIES / CARDS ── */
.specialties { background: var(--off-white); }
.specialties .section__title,
.specialties .section__eyebrow { text-align: center; }
.specialties .section__sub { margin: 0 auto 56px; text-align: center; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--featured { border-top: 4px solid var(--gold); }
.card__icon { font-size: 2.2rem; margin-bottom: 18px; }
.card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.card__text { color: var(--gray-600); font-size: .95rem; margin-bottom: 20px; }
.card__list { margin-bottom: 24px; }
.card__list li {
  padding: 6px 0;
  font-size: .9rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card__list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.card__link {
  color: var(--gold-dk);
  font-weight: 600;
  font-size: .9rem;
  transition: color var(--transition);
}
.card__link:hover { color: var(--navy); }

/* ── WHY US ── */
.why-us { background: var(--white); }
.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.photo-placeholder {
  aspect-ratio: 3/4;
  max-height: 540px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-md) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--gold) 0%, transparent 100%);
  opacity: .15;
}
.photo-placeholder__inner { text-align: center; z-index: 1; }
.photo-placeholder__icon { font-size: 5rem; display: block; margin-bottom: 16px; }
.photo-placeholder__text {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-family: var(--font-serif);
  line-height: 1.4;
}
.why-us__text { color: var(--gray-600); margin-bottom: 36px; line-height: 1.8; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item__icon { font-size: 1.5rem; flex-shrink: 0; }
.why-item strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: .95rem;
}
.why-item p { color: var(--gray-600); font-size: .88rem; }

/* ── PROCESS ── */
.process { background: var(--navy); }
.process .section__eyebrow { color: var(--gold); text-align: center; }
.process .section__title { color: var(--white); text-align: center; margin-bottom: 60px; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
}
.step__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: .85;
}
.step__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 600;
}
.step__text { color: rgba(255,255,255,.6); font-size: .88rem; }
.step__arrow {
  color: var(--gold);
  font-size: 1.6rem;
  padding-top: 48px;
  flex-shrink: 0;
  opacity: .6;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--off-white); }
.testimonials .section__eyebrow,
.testimonials .section__title { text-align: center; }
.testimonials .section__title { margin-bottom: 52px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.testimonial__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial__text { color: var(--gray-600); font-size: .95rem; line-height: 1.8; margin-bottom: 28px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; color: var(--navy); font-size: .95rem; }
.testimonial__author span { color: var(--gray-400); font-size: .8rem; }

/* ── FAQ ── */
.faq { background: var(--white); }
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 4px; }
.faq__item {
  border-bottom: 1px solid var(--gray-200);
  padding: 4px 0;
}
.faq__q {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq__q:hover { color: var(--gold-dk); }
.faq__q::after { content: '+'; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; font-weight: 300; }
details[open] .faq__q::after { content: '−'; }
.faq__a {
  padding: 0 0 18px;
  color: var(--gray-600);
  font-size: .92rem;
  line-height: 1.75;
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy-md) 100%);
  padding: 80px 0;
}
.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-section__text p { color: rgba(255,255,255,.7); }
.cta-section__actions { text-align: center; }
.cta-section__note { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: 12px; }

/* ── FOOTER ── */
.footer { background: var(--navy-dk); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
.footer__desc { color: rgba(255,255,255,.5); font-size: .88rem; margin-top: 16px; line-height: 1.7; }
.footer__links h4,
.footer__contact h4 {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__links ul li,
.footer__contact p {
  margin-bottom: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}
.footer__links a,
.footer__contact a {
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px;
}
.footer__bottom p {
  color: rgba(255,255,255,.35);
  font-size: .78rem;
  text-align: center;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy-md) 100%);
  padding: 160px 0 80px;
}
.page-hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.page-hero__text { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 620px; line-height: 1.75; }

/* ── CONTENT SECTIONS ── */
.content-section { padding: 80px 0; }
.content-section--alt { background: var(--off-white); }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.content__title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 700;
}
.content__text { color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; }
.check-list { margin: 24px 0; }
.check-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-600);
  font-size: .95rem;
}
.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}
.info-box {
  background: var(--navy);
  border-radius: 12px;
  padding: 36px;
  color: var(--white);
}
.info-box__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.info-box p, .info-box li { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.7; }
.info-box ul { padding-left: 0; }
.info-box li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.info-box li::before { content: '→ '; color: var(--gold); font-weight: 600; }

/* ── VISA TYPE CARDS ── */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.visa-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.visa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.visa-card__tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.visa-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}
.visa-card__text { color: var(--gray-600); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; }
.visa-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.visa-card__meta span {
  font-size: .8rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}
.about-photo {
  position: sticky;
  top: 100px;
}
.credentials-list { margin: 32px 0; }
.credential-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.credential-item__year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 54px;
  flex-shrink: 0;
}
.credential-item__text strong { display: block; color: var(--navy); margin-bottom: 2px; font-size: .95rem; }
.credential-item__text span { color: var(--gray-400); font-size: .85rem; }

/* ── PRIVACY / TERMS ── */
.legal-content { padding: 40px 0 80px; }
.legal-content h2 { font-family: var(--font-serif); color: var(--navy); font-size: 1.5rem; margin: 40px 0 14px; }
.legal-content h3 { color: var(--navy); font-size: 1.1rem; margin: 28px 0 10px; }
.legal-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { padding-left: 0; margin-bottom: 20px; }
.legal-content ul li {
  color: var(--gray-600);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: .95rem;
  line-height: 1.7;
}
.legal-content ul li::before { content: '•'; color: var(--gold); position: absolute; left: 0; }
.legal-content a { color: var(--gold-dk); text-decoration: underline; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 16px 0;
  font-size: .82rem;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--gold-dk); }
.breadcrumb a:hover { color: var(--navy); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .why-us__inner { grid-template-columns: 1fr; gap: 48px; }
  .photo-placeholder { max-height: 400px; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy-dk); z-index: 999; align-items: center; justify-content: center; }
  .nav--open { display: flex; }
  .nav__list { flex-direction: column; gap: 8px; text-align: center; }
  .nav__link { font-size: 1.1rem; padding: 12px 24px; }
  .hamburger { display: flex; z-index: 1000; }
  .hero__ctas { flex-direction: column; }
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-section__inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 36px; }
  .page-hero { padding: 120px 0 60px; }
  .hero__badges { gap: 16px; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .visa-grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 120px 0 80px; }
  .btn--lg { padding: 16px 28px; font-size: 1rem; }
}
