/* ==========================================================================
   CSS Stylesheet - Ailton Santos Advocacia Previdenciária (OAB/SP 540-213)
   ========================================================================== */

:root {
  /* TEMA CLARO (Padrão) */
  --gov-blue-darkest: #071d41;
  --gov-blue-dark: #0c326f;
  --gov-blue-primary: #1351b4;
  --gov-blue-light: #2670e8;
  --gov-blue-soft: #f0f5fc;
  --gov-blue-surface: #e5eeff;

  --gov-yellow: #d97706;
  --gov-yellow-bright: #ffcd07;

  /* Superfícies */
  --color-bg-primary: #f8fafc;
  --color-bg-secondary: #f0f5fc;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #fcfdfe;
  --color-border-card: rgba(19, 81, 180, 0.14);
  --color-border-hover: rgba(19, 81, 180, 0.4);

  /* Ação / WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba5a;
  --color-whatsapp-shadow: rgba(37, 211, 102, 0.35);

  /* Textos */
  --color-text-heading: #0c326f;
  --color-text-body: #334155;
  --color-text-muted: #64748b;

  /* Hero */
  --hero-bg: linear-gradient(135deg, #f0f5fc 0%, #e2edfc 60%, #ffffff 100%);
  --hero-border: rgba(19, 81, 180, 0.2);

  /* Timeline & Badges */
  --timeline-line-color: linear-gradient(180deg, #1351b4 0%, rgba(19, 81, 180, 0.2) 100%);
  --timeline-badge-bg: #1351b4;
  --timeline-badge-color: #ffffff;

  /* Accordion Body */
  --accordion-body-bg: #f8fafc;
  --accordion-border-active: rgba(19, 81, 180, 0.08);

  /* Toggle Button */
  --toggle-bg: #ffffff;
  --toggle-border: #1351b4;
  --toggle-text: #0c326f;
  --toggle-shadow: 0 4px 18px rgba(12, 50, 111, 0.18);

  /* Brand Badge */
  --brand-bg: #ffffff;
  --brand-border: #1351b4;
  --brand-text-main: #0c326f;
  --brand-text-sub: #1351b4;
  --brand-icon-color: #1351b4;

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Montserrat', sans-serif;

  /* Transições & Raios */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-card: 0 10px 25px -5px rgba(12, 50, 111, 0.07), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 35px -5px rgba(12, 50, 111, 0.14), 0 8px 16px -4px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   TEMA ESCURO (Dark Mode)
   ========================================================================== */
body.dark-theme {
  --color-bg-primary: #071d41;
  --color-bg-secondary: #092452;
  --color-bg-card: #0d3675;
  --color-bg-card-hover: #124491;
  --color-border-card: rgba(38, 112, 232, 0.25);
  --color-border-hover: #ffcd07;

  --color-text-heading: #ffcd07;
  --color-text-body: #e2e8f0;
  --color-text-muted: #94a3b8;

  --hero-bg: radial-gradient(circle at 75% 35%, #185ec9 0%, #0c326f 40%, #071d41 85%);
  --hero-border: #ffcd07;

  --timeline-line-color: linear-gradient(180deg, #ffcd07 0%, rgba(38, 112, 232, 0.3) 100%);
  --timeline-badge-bg: #ffcd07;
  --timeline-badge-color: #071d41;

  --accordion-body-bg: rgba(7, 29, 65, 0.5);
  --accordion-border-active: rgba(38, 112, 232, 0.2);

  --toggle-bg: #0c326f;
  --toggle-border: #ffcd07;
  --toggle-text: #ffcd07;
  --toggle-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);

  --brand-bg: rgba(13, 54, 117, 0.9);
  --brand-border: #ffcd07;
  --brand-text-main: #ffffff;
  --brand-text-sub: #ffcd07;
  --brand-icon-color: #ffcd07;

  --shadow-card: 0 10px 30px -5px rgba(3, 15, 34, 0.6);
  --shadow-hover: 0 20px 40px -5px rgba(3, 15, 34, 0.85);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-primary);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (TOP RIGHT)
   ========================================================================== */
.theme-toggle-wrapper {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10000;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--toggle-bg);
  border: 2px solid var(--toggle-border);
  color: var(--toggle-text);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--toggle-shadow);
  transition: var(--transition-smooth);
  user-select: none;
}

.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 25px rgba(19, 81, 180, 0.3);
}

body.dark-theme .theme-toggle-btn:hover {
  box-shadow: 0 8px 25px rgba(255, 205, 7, 0.4);
}

.theme-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.theme-svg {
  display: block;
  transition: transform 0.3s ease;
}

/* No tema claro: mostra a LUA */
body:not(.dark-theme) .sun-svg {
  display: none !important;
}
body:not(.dark-theme) .moon-svg {
  display: block !important;
}

/* No tema escuro: mostra o SOL */
body.dark-theme .sun-svg {
  display: block !important;
}
body.dark-theme .moon-svg {
  display: none !important;
}

/* ==========================================================================
   BRAND LOGO (Ailton José dos Santos - Imagem do Escritório)
   ========================================================================== */
.brand-logo-container {
  margin-bottom: 24px;
}

.brand-logo-link {
  display: inline-block;
  text-decoration: none;
}

.brand-office-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border-card);
  box-shadow: var(--shadow-card), 0 8px 24px rgba(12, 50, 111, 0.15);
  transition: var(--transition-smooth);
  display: block;
}

.brand-office-img:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--gov-blue-primary);
  box-shadow: var(--shadow-hover), 0 12px 30px rgba(19, 81, 180, 0.25);
}

body.dark-theme .brand-office-img {
  border-color: var(--gov-yellow-bright);
  box-shadow: var(--shadow-card), 0 0 20px rgba(255, 205, 7, 0.2);
}

body.dark-theme .brand-office-img:hover {
  box-shadow: var(--shadow-hover), 0 0 30px rgba(255, 205, 7, 0.35);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.section {
  padding: 80px 0;
  transition: background-color 0.3s ease;
}

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

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

.section-header {
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.3rem;
  color: var(--color-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gov-blue-primary);
  margin: 10px auto 0;
  border-radius: var(--radius-full);
}

body.dark-theme .section-title::after {
  background: var(--gov-yellow-bright);
}

.section-title.text-left::after {
  margin: 10px 0 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 750px;
  margin: 0 auto;
  font-weight: 400;
}

/* WhatsApp Buttons */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 25px var(--color-whatsapp-shadow);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-whatsapp .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-large {
  padding: 18px 44px;
  font-size: 1.15rem;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  background: var(--hero-bg);
  padding: 0 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--hero-border);
  transition: background 0.3s ease;
}

.hero-full-banner {
  width: 80%;
  max-width: 80vw;
  max-height: 380px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--hero-border);
  border-radius: var(--radius-md);
  margin: 30px auto 45px;
  background-color: #05142e;
  box-shadow: var(--shadow-card);
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.hero-full-banner:hover .hero-banner-img {
  transform: scale(1.01);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 2.8rem;
  font-family: var(--font-serif);
  color: var(--color-text-heading);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--color-text-body);
  margin-bottom: 30px;
  line-height: 1.65;
  max-width: 580px;
}

body.dark-theme .hero-desc {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 28px rgba(12, 50, 111, 0.18));
  animation: heroFloat 6s ease-in-out infinite alternate;
}

body.dark-theme .hero-img {
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.7));
}

@keyframes heroFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ==========================================================================
   2. DIREITOS PREVIDENCIÁRIOS SECTION
   ========================================================================== */
.rights-section {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-card);
  border-bottom: 1px solid var(--color-border-card);
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.right-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

body.dark-theme .right-card {
  background: linear-gradient(180deg, #0d3675 0%, #092857 100%);
}

.right-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gov-blue-primary), var(--gov-blue-light));
  opacity: 0;
  transition: var(--transition-smooth);
}

body.dark-theme .right-card::before {
  background: linear-gradient(90deg, transparent, var(--gov-yellow-bright), transparent);
}

.right-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-hover);
}

.right-card:hover::before {
  opacity: 1;
}

.right-card .card-icon {
  color: var(--gov-blue-primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--gov-blue-surface);
  border: 1px solid rgba(19, 81, 180, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

body.dark-theme .right-card .card-icon {
  color: var(--gov-yellow-bright);
  background-color: rgba(255, 205, 7, 0.12);
  border-color: rgba(255, 205, 7, 0.25);
}

.right-card:hover .card-icon {
  background-color: var(--gov-blue-primary);
  color: #ffffff;
  transform: scale(1.08);
}

body.dark-theme .right-card:hover .card-icon {
  background-color: var(--gov-yellow-bright);
  color: var(--gov-blue-darkest);
}

.right-card .card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

body.dark-theme .right-card .card-title {
  color: #ffffff;
}

.right-card .card-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.55;
}

/* ==========================================================================
   3. DIFERENCIAIS SECTION
   ========================================================================== */
.differentials-section {
  background-color: var(--color-bg-primary);
}

.differentials-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.differentials-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(19, 81, 180, 0.15);
}

body.dark-theme .differentials-image img {
  border: 2px solid rgba(38, 112, 232, 0.3);
}

.differentials-lead {
  font-size: 1.05rem;
  color: var(--color-text-body);
  margin-bottom: 30px;
  line-height: 1.7;
}

.differentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.differential-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--color-bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

body.dark-theme .differential-item {
  background-color: var(--color-bg-card);
}

.differential-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-hover);
}

.diff-icon {
  color: var(--gov-blue-primary);
  background-color: var(--gov-blue-surface);
  border: 1px solid rgba(19, 81, 180, 0.15);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.dark-theme .diff-icon {
  color: var(--gov-yellow-bright);
  background-color: rgba(255, 205, 7, 0.12);
  border-color: rgba(255, 205, 7, 0.25);
}

.diff-text h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

body.dark-theme .diff-text h4 {
  color: #ffffff;
}

.diff-text p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   4. CTA STRIP SECTION
   ========================================================================== */
.cta-strip {
  background: linear-gradient(135deg, #0c326f 0%, #1351b4 100%);
  padding: 50px 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

body.dark-theme .cta-strip {
  border-top: 2px solid var(--gov-yellow-bright);
  border-bottom: 2px solid var(--gov-yellow-bright);
}

.cta-strip-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 24px;
  font-family: var(--font-serif);
}

body.dark-theme .cta-strip-title {
  color: var(--gov-yellow-bright);
}

/* ==========================================================================
   5. COMO FUNCIONA (TIMELINE) SECTION
   ========================================================================== */
.timeline-section {
  background-color: var(--color-bg-secondary);
  position: relative;
}

.timeline-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 30px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--timeline-line-color);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step.step-left {
  justify-content: flex-start;
}

.timeline-step.step-right {
  justify-content: flex-end;
}

.step-card {
  width: calc(50% - 50px);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

body.dark-theme .step-card {
  background: linear-gradient(180deg, #0d3675 0%, #092857 100%);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-hover);
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

body.dark-theme .step-title {
  color: var(--gov-yellow-bright);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.55;
}

.step-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--timeline-badge-bg);
  color: var(--timeline-badge-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(19, 81, 180, 0.35);
  border: 3px solid #ffffff;
  z-index: 3;
}

body.dark-theme .step-badge {
  box-shadow: 0 0 16px rgba(255, 205, 7, 0.4);
  border-color: #071d41;
}

body.dark-theme .step-badge {
  box-shadow: 0 0 15px rgba(255, 205, 7, 0.35);
}

.timeline-cta {
  margin-top: 20px;
}

/* ==========================================================================
   6. OUTROS SERVIÇOS SECTION
   ========================================================================== */
.other-services-section {
  background-color: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-card);
  border-bottom: 1px solid var(--color-border-card);
}

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--color-bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

body.dark-theme .service-item {
  background: linear-gradient(180deg, #0d3675 0%, #092857 100%);
}

.service-item:hover {
  background-color: var(--gov-blue-surface);
  border-color: var(--color-border-hover);
  transform: translateX(4px);
}

body.dark-theme .service-item:hover {
  background: linear-gradient(180deg, #124491 0%, #0d3675 100%);
}

.service-check {
  color: var(--gov-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .service-check {
  color: var(--gov-yellow-bright);
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-heading);
}

body.dark-theme .service-title {
  color: #ffffff;
}

/* ==========================================================================
   7. QUEM SOMOS E COMO AJUDAMOS SECTION
   ========================================================================== */
.about-section {
  background-color: var(--color-bg-secondary);
}

.about-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}

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

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 81, 180, 0.15);
  box-shadow: var(--shadow-card);
}

body.dark-theme .about-img {
  border: 2px solid rgba(38, 112, 232, 0.3);
}

.badge-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gov-blue-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.dark-theme .badge-tag {
  color: var(--gov-yellow-bright);
}

.about-title {
  font-size: 2.4rem;
  color: var(--color-text-heading);
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

body.dark-theme .about-title {
  color: #ffffff;
}

.about-bio p {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-cta {
  margin-top: 28px;
}

/* ==========================================================================
   8. FAQ SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-card);
}

.faq-container {
  max-width: 850px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition-smooth);
}

body.dark-theme .accordion-item {
  background: linear-gradient(180deg, #0d3675 0%, #092857 100%);
}

.accordion-item:hover {
  border-color: var(--color-border-hover);
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--color-text-heading);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

body.dark-theme .accordion-header {
  color: #ffffff;
}

.accordion-header:hover {
  color: var(--gov-blue-primary);
}

body.dark-theme .accordion-header:hover {
  color: var(--gov-yellow-bright);
}

.accordion-arrow {
  color: var(--gov-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

body.dark-theme .accordion-arrow {
  color: var(--gov-yellow-bright);
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-item.active .accordion-header {
  color: var(--gov-blue-primary);
}

body.dark-theme .accordion-item.active .accordion-header {
  color: var(--gov-yellow-bright);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 24px;
  background-color: var(--accordion-body-bg);
  border-top: 1px solid transparent;
}

.accordion-item.active .accordion-body {
  padding: 16px 24px 20px;
  border-top-color: var(--accordion-border-active);
}

.accordion-body p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* ==========================================================================
   9. FOOTER SECTION
   ========================================================================== */
.footer-section {
  background-color: #071d41;
  border-top: 3px solid var(--gov-blue-primary);
  padding: 60px 0 0;
}

body.dark-theme .footer-section {
  background-color: #05142e;
  border-top: 2px solid var(--gov-yellow-bright);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: #ffcd07;
  margin-bottom: 18px;
}

.footer-text {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.contact-icon {
  color: #ffcd07;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-list a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #0c326f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: #ffcd07;
  color: #071d41;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  background-color: #041229;
}

.disclaimer-text {
  font-size: 0.8rem;
  color: #94a3b8;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   10. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  background-color: var(--color-whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: var(--transition-smooth);
  animation: pulseWhatsapp 2s infinite;
}

.floating-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-logo-container {
    display: flex;
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
  }

  .rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .differentials-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .section-title.text-left {
    text-align: center;
  }

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

  .about-image {
    max-width: 450px;
    margin: 0 auto;
  }

  .about-cta {
    display: flex;
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .theme-toggle-wrapper {
    top: 12px;
    right: 12px;
  }

  .theme-toggle-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .hero-full-banner {
    width: 92%;
    max-width: 100%;
    max-height: 220px;
    margin: 20px auto 30px;
  }

  .hero-banner-img {
    max-height: 220px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-img {
    max-height: 300px;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

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

  .services-list-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline Mobile */
  .timeline-line {
    left: 24px;
  }

  .timeline-step, 
  .timeline-step.step-left, 
  .timeline-step.step-right {
    justify-content: flex-start;
    padding-left: 64px;
    margin-bottom: 36px;
  }

  .step-card {
    width: 100%;
  }

  .step-badge {
    left: 24px;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}
