/* ==========================================================================
   Franquia Legal — landing page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts — Poppins, latin subset (covers pt-BR accents and typographic quotes)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: only light;

  --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;

  /* Brand */
  --navy: #112a48;
  --navy-deep: #081628;
  --blue: #1f7ad1;
  --blue-050: #e9f2fb;
  --grad: linear-gradient(122deg, #f7941d 0%, #ec5a6b 36%, #7b3fd0 66%, #1f7ad1 100%);
  --grad-soft: linear-gradient(122deg, #fff4e6 0%, #fde7ec 45%, #e9f2fb 100%);
  /* The button gradient is a different ramp from --grad — do not merge them. */
  --grad-btn: linear-gradient(100deg, #f7941d 0%, #ec5a6b 48%, #7b3fd0 100%);

  /* Neutrals */
  --slate-100: #eef1f5;
  --slate-200: #e3e8ee;
  --slate-300: #cfd7e0;
  --slate-400: #9ca7b5;
  --slate-600: #4e5969;
  --slate-700: #3a4351;
  --bg-base: #f4f6f9;
  --surface-muted: #f7f8fa;
  --text-main: #2b323d;
  --text-muted: #6c7888;

  /* Text and surfaces on the navy sections */
  --on-navy-muted: #aabdd8;
  --on-navy-soft: #cfe0f4;
  --on-navy-icon: #ffbf6b;
  --footer-text: #cdd9ea;
  --footer-muted: #8fa6c4;
  --footer-dim: #7f97b8;

  --shadow-sm: 0 1px 3px rgba(29, 35, 44, .06), 0 1px 2px rgba(29, 35, 44, .04);
  --shadow-md: 0 6px 20px -6px rgba(29, 35, 44, .12), 0 2px 6px -2px rgba(29, 35, 44, .06);
  --shadow-lg: 0 18px 40px -12px rgba(29, 35, 44, .18), 0 6px 14px -6px rgba(29, 35, 44, .08);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  border-radius: 10px;
}

p,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  text-wrap: pretty;
}

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

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 32px;
}

.container--narrow {
  max-width: 1080px;
}

.container--prose {
  max-width: 900px;
}

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

.section-title {
  font-size: 2.4rem;
  letter-spacing: -.025em;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .68rem 1.5rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform .18s var(--ease-out),
    box-shadow .18s,
    background .18s,
    color .18s,
    border-color .18s,
    filter .18s;
}

.btn svg {
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: .95rem 2rem;
  font-size: 1.02rem;
}

.btn--primary {
  background-color: #ec5a6b;
  background-image: var(--grad-btn);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(236, 90, 107, .55);
}

.btn--primary:hover {
  /* Reproduces the original: on hover the gradient drops out and the button
     goes flat #ec5a6b. Delete this line to keep the gradient on hover. */
  background-image: none;
  filter: brightness(1.07);
  box-shadow: 0 16px 30px -12px rgba(236, 90, 107, .68);
}

.btn--quiet {
  background: #fff;
  border-color: var(--slate-300);
  color: var(--navy);
}

.btn--quiet:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn--on-navy {
  background: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.btn--on-navy:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Brand gradient accents
   -------------------------------------------------------------------------- */
.grad-text {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-bar {
  width: 56px;
  height: 4px;
  background-image: var(--grad);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Site header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}

.site-header__logo {
  display: flex;
  flex-shrink: 0;
}

/* Width stays auto so the intrinsic-size attributes only supply the aspect
   ratio (reserving space) rather than forcing the natural pixel width. */
.site-header__logo img {
  width: auto;
  height: 52px;
}

/* Both the nav and the actions push off `auto` margins: the nav floats to the
   middle of the free space and the actions pin to the right edge. */
.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--slate-600);
  font-size: 14.5px;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--slate-100);
  color: var(--text-main);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 130% at 20% 10%, #17345f 0%, #0c2142 48%, var(--navy-deep) 100%);
  color: #fff;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-block: 88px 96px;
}

.hero__title {
  font-size: 3.4rem;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

.hero__lead {
  max-width: 52ch;
  margin-bottom: 14px;
  color: var(--on-navy-muted);
  font-size: 1.2rem;
  line-height: 1.62;
}

.hero__kicker {
  margin-bottom: 34px;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__motif {
  display: flex;
  justify-content: center;
}

.hero__motif img {
  width: 100%;
  max-width: 290px;
  height: auto;
}

/* --------------------------------------------------------------------------
   Pull quote
   -------------------------------------------------------------------------- */
.quote {
  padding-block: 76px 10px;
  text-align: center;
}

.quote__mark {
  margin-bottom: 8px;
  font-size: 4.6rem;
  line-height: .6;
  font-weight: 800;
}

.quote__text {
  color: var(--slate-700);
  font-size: 1.5rem;
  line-height: 1.55;
}

.quote__text strong {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   "O que é" — intro + feature list
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: 76px;
}

.about__bar {
  margin-bottom: 20px;
}

.about__title {
  margin-bottom: 18px;
}

.about__text {
  color: var(--slate-600);
  font-size: 1.12rem;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-base);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 20px 22px;
}

.feature__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--blue-050);
  color: var(--blue);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature__title {
  margin-bottom: 2px;
  font-weight: 800;
}

.feature__text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Benefícios
   -------------------------------------------------------------------------- */
.benefits {
  background: var(--bg-base);
  border-block: 1px solid var(--slate-200);
}

.benefits__inner {
  padding-block: 76px;
}

.benefits__title {
  margin-bottom: 36px;
}

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

.benefit-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.benefit-card__media {
  height: 190px;
  overflow: hidden;
}

.benefit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Focal points: the subject of these two photos sits above centre. */
.benefit-card--economia .benefit-card__media img {
  object-position: center 38%;
}

.benefit-card--controle .benefit-card__media img {
  object-position: center 42%;
}

.benefit-card__body {
  padding: 22px 24px 26px;
}

.benefit-card__title {
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.018em;
}

.benefit-card__text {
  color: var(--text-muted);
  line-height: 1.65;
}

.benefits__cta {
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   Principais serviços
   -------------------------------------------------------------------------- */
.services {
  background: radial-gradient(120% 130% at 85% 0%, #17345f 0%, #0c2142 55%, var(--navy-deep) 100%);
  color: #fff;
}

.services__inner {
  padding-block: 80px;
}

.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 40px;
}

.services__title {
  margin-bottom: 16px;
}

.services__text {
  color: var(--on-navy-muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.services__note {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 20px 22px;
  color: var(--on-navy-soft);
  line-height: 1.65;
}

.services__note strong {
  color: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 22px;
}

.service:hover {
  background: rgba(255, 255, 255, .12);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  color: var(--on-navy-icon);
}

.service__icon svg {
  width: 21px;
  height: 21px;
}

.service__label {
  font-weight: 700;
  line-height: 1.4;
}

.service--highlight {
  background: var(--grad);
  border: 0;
  color: #fff;
}

.service--highlight:hover {
  background: var(--grad);
}

.service--highlight .service__icon {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}

.service--highlight .service__label {
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  padding-block: 80px;
}

.faq__title {
  margin-bottom: 30px;
  text-align: center;
}

.accordion {
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--slate-200);
}

.accordion__item:last-child {
  border-bottom: 0;
}

.accordion__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-muted);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: background-color .15s ease;
}

.accordion__trigger::-webkit-details-marker {
  display: none;
}

/* Chevron: a square with two borders, rotated 45° (down) / -135° (up). */
.accordion__trigger::after {
  content: '';
  width: .5rem;
  height: .5rem;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
  transition: transform .2s ease-in-out;
}

.accordion__trigger:hover {
  background: var(--slate-100);
}

.accordion__item[open] > .accordion__trigger {
  border-bottom: 1px solid var(--slate-200);
}

.accordion__item[open] > .accordion__trigger::after {
  transform: rotate(-135deg);
}

.accordion__content {
  padding: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contact {
  background: var(--grad-soft);
  border-top: 1px solid var(--slate-200);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 76px;
}

.contact__logo {
  width: auto;
  height: 32px;
  margin-bottom: 22px;
}

.contact__title {
  margin-bottom: 16px;
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.contact__text {
  margin-bottom: 22px;
  color: var(--slate-600);
  line-height: 1.7;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--slate-700);
  font-weight: 600;
}

.contact__channels a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact__channels svg {
  width: 18px;
  height: 18px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 32px 30px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--slate-400);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.contact-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-card__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  list-style: none;
  line-height: 1.6;
}

.contact-card__list svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--footer-text);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-block: 56px 40px;
}

.site-footer__logo {
  width: auto;
  height: 30px;
  margin-bottom: 18px;
}

.site-footer__about {
  margin-bottom: 18px;
  color: var(--footer-muted);
  font-size: 14px;
  line-height: 1.7;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.social a:hover {
  background: rgba(255, 255, 255, .18);
}

.social svg {
  width: 18px;
  height: 18px;
}

.site-footer__col-title {
  margin-bottom: 14px;
  color: var(--footer-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__links a {
  font-weight: 600;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 18px 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--footer-dim);
  font-size: 13px;
}

.site-footer__bottom a {
  font-weight: 600;
}

.site-footer__bottom a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.whatsapp-float:hover {
  filter: brightness(1.07);
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
}

/* --------------------------------------------------------------------------
   Reveal on scroll — see assets/js/reveal.js
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity .75s var(--ease-out),
    transform .75s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    padding-inline: 20px;
  }

  .site-nav {
    display: none;
  }

  .hero__inner,
  .about,
  .services__head,
  .contact__inner {
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__motif {
    display: none;
  }

  .hero__title {
    font-size: 2.3rem;
  }

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