/* =========================================
   COPPOLA & ZAMPIERI ADVOCACIA
   Pensão Alimentícia — Landing Page
   Mobile-First, Conversion-Optimized
   ========================================= */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #9A7830;
  --navy: #0D1B2A;
  --navy-mid: #152438;
  --navy-light: #1E3352;
  --cream: #F7F3EC;
  --cream-dark: #EDE8DF;
  --white: #FFFFFF;
  --gray: #6B7280;
  --gray-light: #F1F0EE;
  --text: #1A1A1A;
  --text-light: #4A4A4A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.10);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.18);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TYPOGRAPHY --- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 48px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-primary.btn--light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-primary.btn--light:hover {
  background: var(--cream);
  border-color: var(--cream);
}

.btn-primary.btn--xl {
  font-size: 1.05rem;
  padding: 20px 36px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 15px 24px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-outline--white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.25s ease;
}

.btn-outline--white:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-header {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--gold-light);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__symbol {
  font-size: 1.5rem;
  color: var(--gold);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo__sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 20px 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 70% 30%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.05) 0%, transparent 50%),
    var(--navy);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(201,168,76,0.025) 80px,
      rgba(201,168,76,0.025) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(201,168,76,0.025) 80px,
      rgba(201,168,76,0.025) 81px
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.7s ease both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeSlideUp 0.8s 0.1s ease both;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}

.hero__guarantee {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  animation: fadeSlideUp 0.8s 0.4s ease both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1.2s 1s ease both;
}

.hero__arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: arrowPulse 1.8s ease-in-out infinite;
}

/* --- URGENCY STRIP --- */
.urgency-strip {
  background: linear-gradient(135deg, #8B0000, #C0392B);
  padding: 14px 20px;
}

.urgency-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.urgency-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF6B6B;
  box-shadow: 0 0 0 4px rgba(255,107,107,0.3);
  animation: pulse 1.5s ease-in-out infinite;
}

.urgency-strip p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.9);
}

.urgency-strip strong {
  color: var(--white);
}

/* --- PROBLEMS --- */
.problems {
  padding: 80px 0;
  background: var(--cream);
}

.problems__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  border-left: 4px solid var(--gold);
}

.problem-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-left-color: var(--gold-dark);
}

.problem-card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* --- MID CTA --- */
.mid-cta {
  background: var(--navy-mid);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.mid-cta__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mid-cta__inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

.mid-cta__inner h2 em {
  font-style: italic;
  color: var(--gold-light);
}

/* --- DIFERENCIAIS --- */
.diferenciais {
  padding: 80px 0;
  background: var(--white);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.diferencial {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--cream-dark);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
}

.diferencial.visible {
  opacity: 1;
  transform: translateY(0);
}

.diferencial:last-child {
  border-bottom: none;
}

.diferencial__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 6px;
}

.diferencial h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.diferencial p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- PROCESSO --- */
.processo {
  padding: 80px 0;
  background: var(--cream);
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-16px);
  transition: all 0.5s ease;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step__circle {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(201,168,76,0.35);
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 10px;
}

.step__content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.step__line {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), rgba(201,168,76,0.1));
  margin: 8px 0 8px 25px;
}

/* --- DEPOIMENTOS --- */
.depoimentos {
  padding: 80px 0;
  background: var(--navy);
}

.depoimentos .section-title {
  color: var(--white);
}

.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.depoimento {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
}

.depoimento.visible {
  opacity: 1;
  transform: translateY(0);
}

.depoimento__stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.depoimento p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.depoimento__autor {
  display: flex;
  align-items: center;
  gap: 14px;
}

.depoimento__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.depoimento__autor strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.depoimento__autor span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* --- FAQ --- */
.faq {
  padding: 80px 0;
  background: var(--white);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq__item {
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.faq__item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq__item summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  transition: background 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item[open] summary {
  background: var(--navy);
  color: var(--white);
}

.faq__item p {
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
}

/* --- FINAL CTA --- */
.final-cta {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.12) 0%, transparent 60%),
    var(--navy-light);
}

.final-cta__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta__badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.final-cta__title em {
  font-style: italic;
  color: var(--gold);
}

.final-cta__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin-bottom: 36px;
}

.final-cta__actions .btn-primary.btn--xl,
.final-cta__actions .btn-outline--white {
  width: 100%;
  justify-content: center;
}

.final-cta__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.83rem;
}

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  padding: 40px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__brand .logo__symbol {
  font-size: 1.4rem;
  color: var(--gold);
}

.footer__brand strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer__brand span {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
}

/* --- FLOATING WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: all 0.25s ease;
  animation: floatIn 0.6s 1.2s ease both;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}

/* --- ANIMATIONS --- */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,107,107,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,107,0.1); }
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.1); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================
   TABLET: 640px+
   ========================================= */
@media (min-width: 640px) {
  .problems__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diferenciais__grid .diferencial {
    border-bottom: none;
    border-right: 1px solid var(--cream-dark);
    padding: 0 28px 0 0;
  }

  .diferenciais__grid .diferencial:nth-child(even) {
    border-right: none;
    padding-right: 0;
    padding-left: 28px;
  }

  .depoimentos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta__actions {
    flex-direction: row;
    max-width: 620px;
  }

  .final-cta__actions .btn-primary.btn--xl,
  .final-cta__actions .btn-outline--white {
    width: auto;
  }

  .final-cta__info {
    flex-direction: row;
    gap: 28px;
  }
}

/* =========================================
   DESKTOP: 900px+
   ========================================= */
@media (min-width: 900px) {
  .hero {
    padding: 120px 40px 100px;
  }

  .problems__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .diferenciais__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .diferenciais__grid .diferencial {
    border-right: 1px solid var(--cream-dark);
    padding: 0 32px 0 0;
  }

  .diferenciais__grid .diferencial:nth-child(even) {
    border-right: 1px solid var(--cream-dark);
    padding-left: 0;
  }

  .diferenciais__grid .diferencial:nth-child(3n) {
    border-right: none;
    padding-right: 0;
  }

  .depoimentos__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    flex-direction: row;
    align-items: flex-start;
  }

  .step {
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
  }

  .step__line {
    width: auto;
    flex: 0 0 60px;
    height: 2px;
    margin: 26px 0 0;
    background: linear-gradient(to right, rgba(201,168,76,0.5), rgba(201,168,76,0.1));
  }

  .step__content {
    padding: 0 12px;
  }

  .step__content h3 {
    margin-top: 16px;
  }

  .container {
    padding: 0 40px;
  }

  .problems,
  .diferenciais,
  .processo,
  .depoimentos,
  .faq {
    padding: 100px 0;
  }
}

/* =========================================
   LARGE DESKTOP: 1100px+
   ========================================= */
@media (min-width: 1100px) {
  .hero__title {
    font-size: 5.5rem;
  }
}

/* =========================================
   SMALL MOBILE: < 380px
   ========================================= */
@media (max-width: 380px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 16px;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}