/* ===========================================================
   Fábio Ricardo Advocacia — Landing Page
   Paleta: grafite institucional + dourado da marca
   =========================================================== */

:root {
  --color-white: #ffffff;
  --color-offwhite: #f7f5f1;
  --color-offwhite-2: #f1ede5;

  --color-graphite-900: #17171a;
  --color-graphite-800: #1f1f22;
  --color-graphite-700: #2b2b2b;
  --color-graphite-600: #3a3a3a;

  --color-text-dark: #1a1a1a;
  --color-text-body: #4b4b4b;
  --color-text-muted: #767676;

  --color-text-light: #f6f3ec;
  --color-text-light-muted: #c9c4b6;

  --color-gold-100: #f3e6c4;
  --color-gold-400: #d9b76c;
  --color-gold-500: #c6a55c;
  --color-gold-600: #ad8a3f;
  --color-gold-700: #8a6c30;

  --gradient-gold: linear-gradient(135deg, #f3dc9d 0%, #d1a94c 45%, #9c7a2e 100%);
  --gradient-graphite: linear-gradient(160deg, #232326 0%, #17171a 100%);

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-card-dark: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 8px 20px rgba(173, 138, 63, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --max-width: 1160px;
  --section-pad: 96px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text-body);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--color-text-dark);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-500);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.section-head--light h2 {
  color: var(--color-text-light);
}

.section-head--light p {
  color: var(--color-text-light-muted);
}

/* Buttons -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-graphite-900);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(173, 138, 63, 0.45);
}

.btn-note {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-text-light-muted);
}

.btn-note--dark {
  color: var(--color-text-muted);
}

/* Photography -------------------------------------------------- */

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e5e0d3;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.img-placeholder-inner,
.img-placeholder-tag {
  display: none;
}

.img-placeholder--card {
  aspect-ratio: 16 / 10;
  margin: -38px -30px 0;
}

.case-card:nth-child(1) .img-placeholder--card {
  background-image: url("images/case-golpe-pix.png");
}

.case-card:nth-child(2) .img-placeholder--card {
  background-image: url("images/case-fraude-bancaria.png");
}

.case-card:nth-child(3) .img-placeholder--card {
  background-image: url("images/case-recuperacao-conta.png");
}

/* Header / Hero ---------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-rows: clamp(280px, 46svh, 420px) auto;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-graphite-900);
  color: var(--color-text-light);
}

.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  position: relative;
  z-index: 0;
  grid-row: 1;
  width: 100%;
  height: calc(100% + 120px);
  overflow: hidden;
}

.hero-media img {
  object-fit: cover;
  object-position: center top;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: calc(clamp(280px, 46svh, 420px) + 160px);
  background: linear-gradient(
    180deg,
    rgba(23, 23, 26, 0) 0%,
    rgba(23, 23, 26, 0.1) 26%,
    rgba(23, 23, 26, 0.45) 52%,
    rgba(23, 23, 26, 0.86) 76%,
    rgba(23, 23, 26, 1) 94%,
    rgba(23, 23, 26, 1) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100svh - clamp(280px, 46svh, 420px));
  margin-top: -30px;
  padding: 40px 24px;
}

.hero-header {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.hero-logo {
  height: 68px;
  width: auto;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  text-align: center;
}

.hero h1 {
  color: var(--color-text-light);
  font-size: clamp(1.9rem, 6.5vw, 2.6rem);
  margin-bottom: 20px;
}

.hero .subheadline {
  color: rgba(246, 243, 236, 0.88);
  font-size: 1.08rem;
  margin: 0 auto 28px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 36px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-bullets svg {
  flex-shrink: 0;
  color: var(--color-gold-500);
}

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

@media (min-width: 860px) {
  .hero {
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .hero-media img {
    object-position: center center;
  }

  .hero::before {
    inset: 0;
    z-index: -1;
    height: auto;
    background: linear-gradient(
        90deg,
        rgba(23, 23, 26, 0.93) 0%,
        rgba(23, 23, 26, 0.85) 38%,
        rgba(23, 23, 26, 0.55) 58%,
        rgba(23, 23, 26, 0.16) 78%,
        rgba(23, 23, 26, 0.08) 100%
      ),
      linear-gradient(180deg, rgba(23, 23, 26, 0.2), rgba(23, 23, 26, 0.05));
  }

  .hero-inner {
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: 0;
    padding: 72px 0;
  }

  .hero-header {
    justify-content: flex-start;
  }

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

  .hero .subheadline {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-bullets {
    justify-content: flex-start;
  }

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

  .hero h1 {
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  }
}

/* Dores / Cards ------------------------------------------------ */

.cases {
  padding: var(--section-pad) 0;
  background: var(--color-white);
}

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

.case-card {
  background: var(--color-offwhite);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.case-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -27px 0 22px;
  border: 4px solid var(--color-offwhite);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}

.case-icon svg {
  color: var(--color-graphite-900);
  width: 26px;
  height: 26px;
}

.case-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 0.96rem;
  color: var(--color-text-body);
}

/* Legislação / Autoridade -------------------------------------- */

.authority {
  background: var(--gradient-graphite);
  padding: var(--section-pad) 0;
}

.authority-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.authority-intro p {
  color: var(--color-text-light-muted);
  font-size: 1.05rem;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.law-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(198, 165, 92, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.law-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--color-gold-500);
}

.law-card h3 {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.law-card p {
  color: var(--color-text-light-muted);
  font-size: 0.94rem;
}

.authority-closing {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(198, 165, 92, 0.25);
}

.authority-closing p {
  color: var(--color-text-light);
  font-size: 1.02rem;
  padding-top: 32px;
  font-style: italic;
}

/* FAQ -------------------------------------------------------------- */

.faq {
  padding: var(--section-pad) 0;
  background: var(--color-offwhite-2);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
}

.faq-question .icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-gold-600);
  transition: transform 0.25s ease;
}

.faq-item[data-open="true"] .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 26px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  padding-bottom: 22px;
}

.faq-item[data-open="true"] .faq-answer {
  max-height: 320px;
}

/* Footer CTA --------------------------------------------------------- */

.footer-cta {
  background: var(--gradient-graphite);
  padding: 100px 0 48px;
  text-align: center;
}

.footer-cta h2 {
  color: var(--color-text-light);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 640px;
  margin: 0 auto 32px;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-logo {
  height: 40px;
  opacity: 0.9;
}

.footer-disclaimer {
  max-width: 640px;
  font-size: 0.78rem;
  color: var(--color-text-light-muted);
  line-height: 1.7;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 860px) {
  :root {
    --section-pad: 68px;
  }

  .img-placeholder--hero {
    background-position: 64% center;
  }

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

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

  .hero-bullets {
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .img-placeholder--hero {
    background-position: 70% center;
  }

  .hero-logo {
    height: 58px;
  }

  .btn {
    width: 100%;
    padding: 15px 20px;
  }

  .case-card,
  .law-card {
    padding: 28px 22px;
  }

  .img-placeholder--card {
    margin: -28px -22px 0;
  }
}
