/* ==========================================================================
   FANBASE SOCIAL — Landing Page
   ========================================================================== */

:root {
  --green-900: #0F2419;
  --green-800: #1B4332;
  --green-700: #1E5538;
  --green-600: #2B7A4B;
  --green-500: #3E9B63;
  --green-400: #52B788;
  --green-300: #8FD4A4;
  --green-200: #B7E4C7;
  --green-100: #D8F3DC;
  --green-50:  #F0FFF4;
  --gold-500: #C9A84C;
  --gold-300: #E8D590;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;
  --font: 'Montserrat', system-ui, sans-serif;
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--gray-700); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font); line-height: 1.2; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
.section-title--center { text-align: center; }
.section-title--white { color: var(--white); }
.section-subtitle { text-align: center; font-size: 1rem; color: var(--gray-500); margin-bottom: 2.5rem; }
.text-gold { color: var(--gold-500); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font); font-weight: 700; font-size: 0.875rem; padding: 10px 24px; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn--primary { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(43,122,75,0.3); }
.btn--outline-green { background: transparent; color: var(--green-600); border-color: var(--green-600); }
.btn--outline-green:hover { background: var(--green-50); }
.btn--green { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.btn--green:hover { background: var(--green-700); }
.btn--lg { padding: 14px 36px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   HEADER — fundo branco para o logo aparecer
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: 0 1px 8px rgba(0,0,0,0.08); transition: box-shadow var(--transition); }
.header--scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo img { height: 34px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 10px; }
.header__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.header__toggle span { display: block; width: 22px; height: 2px; background: var(--green-800); border-radius: 2px; transition: all var(--transition); }
.header__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { display: flex; align-items: center; padding: 94px 0 24px; background: url('../assets/images/hero-bg.jpg') center center / cover no-repeat; background-color: var(--white); }
.hero__inner { display: flex; justify-content: center; min-height: 440px; align-items: center; }
.hero__content { max-width: 480px; text-align: center; }
.hero__title { font-size: clamp(1.75rem, 4.5vw, 2.75rem); font-weight: 700; color: var(--gray-800); margin-bottom: 1rem; line-height: 1.15; }
.hero__title span { color: var(--green-600); }
.hero__subtitle { font-size: clamp(0.85rem, 1.5vw, 1rem); color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.65; }

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */
.como-funciona { padding: 80px 0; background: url('../assets/images/como-funciona-bg.png') center center / cover no-repeat; background-color: #0a0a0a; }
.como-funciona__content { max-width: 480px; margin-left: 22%; }
.como-funciona__content p { font-size: 0.9375rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.como-funciona__content strong { color: var(--white); }
.como-funciona__green { color: var(--green-400) !important; }
.como-funciona__green strong { color: var(--green-400) !important; }
.como-funciona__sep { width: 50px; height: 2px; background: var(--green-400); margin: 12px 0; }
.como-funciona__destaque { margin-top: 0.5rem; font-size: 1.25rem !important; color: var(--gold-500) !important; line-height: 1.4 !important; }
.como-funciona__destaque strong { color: var(--gold-500) !important; }

/* ==========================================================================
   POR QUE FUNCIONA — texto sobre a foto, posição diferente em cada card
   ========================================================================== */
.por-que { padding: 80px 0; background: var(--gray-50); }
.por-que .section-title { margin-bottom: 2.5rem; }
.section-title--underline { position: relative; padding-bottom: 1rem; }
.section-title--underline::after { content: ''; display: block; width: 80px; height: 3px; background: var(--green-600); margin: 0.75rem auto 0; border-radius: 2px; }

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

.por-que__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; display: flex; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
.por-que__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.por-que__text { position: relative; z-index: 1; padding: 32px 24px 24px; display: flex; flex-direction: column; justify-content: flex-start; }
.por-que__text h3 { font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-800); margin-bottom: 0.6rem; }
.por-que__text p { font-size: 0.8rem; color: var(--gray-700); line-height: 1.55; margin-bottom: 0.4rem; }
.por-que__destaque { font-size: 1.1rem !important; font-weight: 700; color: var(--green-800) !important; }
.por-que__small { font-size: 0.75rem !important; color: var(--gray-500) !important; font-style: italic; }

.por-que__card--right .por-que__text { margin-left: auto; width: 55%; text-align: right; }
.por-que__card--center .por-que__text { width: 100%; text-align: center; align-items: center; }
.por-que__card--left .por-que__text { margin-right: auto; width: 55%; text-align: left; }

/* ==========================================================================
   6 PASSOS — layout tabela 2 colunas × 3 linhas
   ========================================================================== */
.passos { padding: 80px 0; background: url('../assets/images/passos-bg.png') center center / cover no-repeat; background-color: var(--green-800); }
.passos .section-title { margin-bottom: 2.5rem; }

.passos__table { display: flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; }
.passos__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.passos__cell { display: flex; align-items: center; gap: 16px; padding: 24px 28px; background: rgba(15,36,25,0.85); }
.passos__icon { width: 60px; height: 60px; flex-shrink: 0; object-fit: contain; }
.passos__cell h3 { font-size: 0.9375rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.passos__cell p { font-size: 0.8125rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ==========================================================================
   PREÇOS — badge "PACOTE" saindo do card, fundo cinza, texto centralizado
   ========================================================================== */
.precos { padding: 80px 0; background: url('../assets/images/precos-bg.png') center top / cover no-repeat; background-color: var(--white); }
.precos .section-title { margin-bottom: 0.25rem; }
.precos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; }

.precos__card { background: var(--gray-100); border-radius: var(--radius-lg); padding: 50px 22px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; transition: all var(--transition); }
.precos__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.precos__badge { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); padding: 10px 28px 12px; border-radius: 14px; color: var(--white); text-align: center; min-width: 140px; }
.precos__badge-label { display: block; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.precos__badge-name { display: block; font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; }
.precos__badge--1 { background: #7EDDC2; }
.precos__badge--2 { background: #2ECDA7; }
.precos__badge--3 { background: #3AA67D; }
.precos__badge--4 { background: #3B6B52; }

.precos__desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 1.25rem; flex-grow: 1; text-align: center; }

.btn--contratar { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font); font-weight: 700; font-size: 0.8rem; padding: 8px 28px; border-radius: 8px; background: var(--green-800); color: var(--white); border: none; cursor: pointer; letter-spacing: 0.03em; transition: all var(--transition); }
.btn--contratar:hover { background: var(--green-700); transform: translateY(-1px); }

/* ==========================================================================
   FAQ — título centralizado + 2 colunas de perguntas
   ========================================================================== */
.faq { padding: 80px 0; background: url('../assets/images/faq-bg.jpg') left center / cover no-repeat; background-color: var(--green-800); }
.faq .section-title { margin-bottom: 2.5rem; }

.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-left: 12%; }

.faq__col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #E53935; padding: 12px 0; border-bottom: 2px solid #E53935; margin-bottom: 4px; }

.faq__item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq__question { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-family: var(--font); font-size: 0.8125rem; font-weight: 400; color: rgba(255,255,255,0.8); cursor: pointer; list-style: none; user-select: none; font-style: italic; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: '⌄'; font-size: 1.1rem; font-weight: 700; color: #E53935; flex-shrink: 0; margin-left: 12px; font-style: normal; }
details[open] .faq__question::after { content: '⌃'; }
.faq__question:hover { color: var(--white); }
.faq__answer { padding: 0 0 14px; }
.faq__answer p { color: rgba(255,255,255,0.55); font-size: 0.8rem; line-height: 1.7; }

.faq__col--alt .faq__question { color: var(--green-400); }
.faq__col--alt .faq__question::after { color: var(--green-400); }
.faq__col--alt .faq__question:hover { color: var(--green-300); }
.faq__col--alt .faq__col-title { color: var(--green-400); border-bottom-color: var(--green-400); }

/* ==========================================================================
   DEPOIMENTOS — card horizontal: foto esquerda + texto direita
   ========================================================================== */
.depoimentos { padding: 80px 0; background: url('../assets/images/depoimentos-bg.jpg') center center / cover no-repeat; background-color: var(--green-600); }
.depoimentos .section-title { margin-bottom: 2.5rem; }
.depoimentos__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.depoimentos__grid { padding-top: 48px; }

.depoimentos__card { background: url('../assets/images/depoimento-box.jpg') top center / cover no-repeat; background-color: rgba(235,240,235,0.93); border-radius: var(--radius-lg); padding: 56px 18px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; transition: all var(--transition); }
.depoimentos__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.depoimentos__photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-400); position: absolute; top: -40px; left: 50%; transform: translateX(-50%); background: var(--gray-100); }

.depoimentos__card h4 { font-size: 0.9375rem; font-weight: 700; color: var(--green-800); margin-bottom: 2px; }
.depoimentos__role { font-size: 0.7rem; color: var(--gray-500); margin-bottom: 10px; display: block; }
.depoimentos__quote { font-size: 0.8125rem; font-weight: 700; color: var(--green-800); line-height: 1.4; margin-bottom: 8px; }
.depoimentos__body { font-size: 0.75rem; color: var(--gray-500); line-height: 1.55; margin-bottom: 12px; flex-grow: 1; }
.depoimentos__stars { height: 16px; width: auto; }

/* ==========================================================================
   FOOTER — fundo verde com textura, linha de separação
   ========================================================================== */
.footer { padding: 0; background: url('../assets/images/passos-bg.png') center center / cover no-repeat; background-color: var(--green-800); }
.footer__line { height: 1px; background: rgba(255,255,255,0.15); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 24px; }

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__brand img { height: 30px; margin-bottom: 8px; }
.footer__slogan { font-size: 0.7rem; color: rgba(255,255,255,0.45); line-height: 1.4; text-transform: uppercase; letter-spacing: 0.04em; }

.footer__center { text-align: center; }
.footer__center h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 4px; font-weight: 700; }
.footer__center a { color: var(--white); font-size: 0.875rem; font-weight: 700; display: block; margin-bottom: 6px; }
.footer__center a:hover { color: var(--green-300); }
.footer__copy { font-size: 0.7rem; color: rgba(255,255,255,0.35); }

.footer__social { text-align: right; }
.footer__social h4 { font-size: 0.8rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer__social-links { display: flex; gap: 12px; justify-content: flex-end; }
.footer__social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.6); transition: all var(--transition); }
.footer__social-links a:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.footer__social-links img { width: 22px; height: 22px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .precos__grid { grid-template-columns: repeat(2, 1fr); }
  .depoimentos__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__toggle { display: flex; }
  .header__nav { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 40px; transition: right var(--transition); box-shadow: -4px 0 20px rgba(0,0,0,0.15); }
  .header__nav.active { right: 0; }
  .hero { padding: 80px 0 40px; }
  .hero__inner { min-height: 280px; }
  .por-que__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .passos__row { grid-template-columns: 1fr; }
  .precos__grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .faq__grid { grid-template-columns: 1fr; }
  .depoimentos__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer__inner { flex-direction: column; text-align: center; }
}
