:root {
  --bg-header: #e9e8e4;
  --bg-dark-1: #262626;
  --bg-dark-2: #0e0e0e;
  --bg-white: #ffffff;
  --ink: #17181a;
  --ink-soft: #4a4a4a;
  --paper: #d9d8d4;
  --paper-line: #c7c6c1;
  --orange: #ff7a1c;
  --orange-soft: #ffb87a;
  --green-1: #3ddc57;
  --green-2: #1fb843;
  --green-shadow: rgba(31, 184, 67, 0.35);
  --line-on-dark: rgba(255, 255, 255, 0.08);
  --font-display: "Sora", "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
}

.accent { color: var(--orange); }

/* ============================== BOTOES ============================== */

.btn {
  --pad-y: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
  white-space: nowrap;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--green-1), var(--green-2));
  color: #fff;
  box-shadow: 0 8px 22px -8px var(--green-shadow);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -8px var(--green-shadow);
  filter: brightness(1.05);
}

.btn-whatsapp:active { transform: translateY(-1px) scale(0.99); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-sm { padding: 11px 20px; font-size: 0.85rem; }

@media (min-width: 600px) {
  .btn { --pad-y: 16px; padding: var(--pad-y) 30px; font-size: 0.98rem; }
  .btn svg { width: 19px; height: 19px; }
  .btn-sm { padding: 12px 22px; font-size: 0.88rem; }
  .btn-sm svg { width: 18px; height: 18px; }
}

/* ============================== HEADER / NAV ==============================
   Mobile: botao hamburguer; nav vira painel lateral (off-canvas).
   Desktop (>= 780px): nav horizontal, links a esquerda, botao do
   WhatsApp fixo na extrema direita do header.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--bg-header);
  transition: box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding 0.35s var(--ease);
}

/* Nav: por padrao (mobile) e um painel fora da tela, ativado pelo hamburguer */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: min(84vw, 320px);
  background: var(--bg-header);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding: 40px 32px;
  transition: right 0.4s var(--ease);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  z-index: 200;
}

.main-nav.open { right: 0; }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.nav-links a {
  position: relative;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 1.15rem;
  padding: 4px 0;
  transition: color 0.25s ease;
  width: fit-content;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { width: 100%; }

.nav-cta { align-self: flex-start; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease; z-index: 150;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* --- >= 780px: nav horizontal fixa no header, hamburguer some,
       botao do WhatsApp fica encostado na direita --- */
@media (min-width: 780px) {
  .header-inner { padding: 22px 32px; }
  .site-header.is-scrolled .header-inner { padding: 14px 32px; }

  .main-nav {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    flex: 1;
  }

  .nav-links { flex-direction: row; align-items: center; gap: 36px; }

  .nav-links a { font-size: 1rem; }

  /* empurra o botao para a extrema direita do header */
  .nav-cta { margin-left: auto; align-self: center; }

  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
}

@media (min-width: 1000px) {
  .header-inner { padding: 26px 32px; }
  .site-header.is-scrolled .header-inner { padding: 15px 32px; }
}

/* ============================== HERO ============================== */

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.75) 10%, rgba(10,10,10,0.45) 100%);
}

.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-text { max-width: 100%; padding: 44px 0; }

.hero-text h1 {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.22;
  font-weight: 700;
}

.hero-text p {
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 16px;
}

.hero-cta { margin-top: 26px; }

.hero-full { min-height: 320px; }

.hero-full .hero-overlay {
  background: linear-gradient(180deg, rgba(5,5,5,0.15) 0%, rgba(5,5,5,0.55) 100%);
}

@media (min-width: 600px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 1.05rem; }
}

@media (min-width: 780px) {
  .hero { min-height: 560px; }
  .hero-full { min-height: 620px; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(10,10,10,0.72) 20%, rgba(10,10,10,0.35) 65%, rgba(10,10,10,0.15) 100%);
  }
  .hero-text { max-width: 620px; margin-left: auto; padding: 60px 0; }
  .hero-text h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
}

/* ============================== SECOES (base) ============================== */

section { position: relative; }

.section-pad { padding: 56px 0; }

.section-dark { background: var(--bg-dark-1); color: #f2f2f0; }
.section-black { background: var(--bg-dark-2); color: #f2f2f0; }
.section-white { background: var(--bg-white); color: var(--ink); }

.section-head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.section-head h2 { font-size: 1.5rem; font-weight: 700; }

.section-head p {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(240,240,238,0.78);
}

.section-white .section-head p { color: var(--ink-soft); }

@media (min-width: 600px) {
  .section-pad { padding: 72px 0; }
  .section-head h2 { font-size: 1.9rem; }
}

@media (min-width: 1000px) {
  .section-pad { padding: 92px 0; }
  .section-head { margin-bottom: 56px; }
  .section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
  .section-head p { font-size: 1.08rem; }
}

/* ============================== CARDS DE SERVICO ============================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.card {
  background: var(--paper);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--ink);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  opacity: 0;
  transform: translateY(24px);
}

.card.in-view { opacity: 1; transform: translateY(0); }

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -16px rgba(0,0,0,0.45);
  background: #e6e5e0;
}

.card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #201f1d;
  color: var(--orange);
}

.card-icon svg { width: 21px; height: 21px; }

.card h3 { font-size: 1rem; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.card p { font-size: 0.9rem; line-height: 1.5; color: #333230; margin: 0; }

.center-copy {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(240,240,238,0.82);
}

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

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
  .card { padding: 26px 24px; }
  .card-icon { width: 44px; height: 44px; }
  .card-icon svg { width: 22px; height: 22px; }
  .card h3 { font-size: 1.02rem; }
  .card p { font-size: 0.92rem; }
  .center-copy { font-size: 1.08rem; margin-bottom: 44px; }
}

/* ============================== BIO (Prazer, eu sou) ============================== */

.bio-split { display: grid; grid-template-columns: 1fr; }

.bio-split .bio-img { position: relative; overflow: hidden; height: 320px; }

.bio-split .bio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.bio-split:hover .bio-img img { transform: scale(1.04); }

.bio-split .bio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 24px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.bio-copy h2 { font-size: 2rem; font-weight: 800; margin: 10px 0 18px; color: #fff; }

.bio-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 480px;
}

.bio-copy .btn {
  align-self: flex-start;
  margin-top: 26px;
  padding: 13px 24px;
  font-size: 0.9rem;
}

.bio-copy .btn svg { width: 17px; height: 17px; }

@media (min-width: 780px) {
  .bio-split { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; min-height: 560px; }
  .bio-split .bio-img { height: auto; }
  .bio-copy { padding: 60px 60px 60px 70px; }
  .bio-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
  .bio-copy p { font-size: 1.08rem; }
}

/* ============================== PUBLICO-ALVO ============================== */

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 44px;
}

.audience-grid h2 { font-size: 1.7rem; font-weight: 800; line-height: 1.25; }

.tags-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.tag-pill {
  background: #fbfbfa;
  color: var(--ink);
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  opacity: 0;
  transform: translateY(18px);
}

.tag-pill.in-view { opacity: 1; transform: translateY(0); }

.tag-pill:hover {
  transform: translateY(-4px);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(255,122,28,0.6);
}

.audience-bottom {
  text-align: center;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 40px;
}

.audience-bottom h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.audience-bottom p { color: rgba(240,240,238,0.78); margin-bottom: 26px; }

@media (min-width: 600px) {
  .audience-grid h2 { font-size: 2rem; }
}

@media (min-width: 780px) {
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 60px; }
  .audience-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
  .tags-grid { gap: 14px; }
  .tag-pill { padding: 16px 20px; font-size: 0.98rem; }
  .audience-bottom { padding-top: 52px; }
  .audience-bottom h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
  .audience-bottom p { margin-bottom: 30px; }
}

/* ============================== DEPOIMENTOS ============================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-bottom: 44px;
}

.testimonial {
  padding: 8px 0 8px 20px;
  border-left: 3px solid var(--orange-soft);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.35s ease;
}

.testimonial.in-view { opacity: 1; transform: translateY(0); }
.testimonial:hover { border-color: var(--orange); }

.testimonial p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #2b2b2b;
  font-style: italic;
  margin: 0;
}

.testimonial strong { color: var(--ink); font-style: normal; }

.closing-copy {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (min-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}

@media (min-width: 1000px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 40px; margin-bottom: 60px; }
  .testimonial p { font-size: 0.98rem; line-height: 1.62; }
  .closing-copy { font-size: 1.08rem; margin-bottom: 40px; }
}

/* ============================== RODAPE ============================== */

.site-footer { background: var(--bg-header); padding: 22px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  gap: 14px;
  text-align: center;
}

.footer-inner p { margin: 0; font-size: 0.86rem; color: var(--ink-soft); }

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}

.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

.social-links svg { width: 17px; height: 17px; }

@media (min-width: 600px) {
  .site-footer { padding: 26px 0; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-inner p { font-size: 0.9rem; }
  .social-links a { width: 38px; height: 38px; }
  .social-links svg { width: 18px; height: 18px; }
}

/* ============================== SOBRE MIM: TEXTO + CERTIFICADOS ============================== */

.about-copy {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240,240,238,0.9);
}

.about-copy strong { color: #fff; }

.about-headline { text-align: center; margin: 48px auto 32px; max-width: 880px; }
.about-headline h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.3; }

.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 44px;
}

.cert-card {
  background: #191919;
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

.cert-card.in-view { opacity: 1; transform: translateY(0); }

.cert-card:hover {
  transform: translateY(-6px);
  background: #212121;
  box-shadow: 0 18px 32px -16px rgba(0,0,0,0.5);
}

.cert-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--orange); }

.cert-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--orange); margin-bottom: 3px; }
.cert-card span { font-size: 0.78rem; color: #a3a3a0; }

.about-closing { text-align: center; }
.about-closing h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }

@media (min-width: 600px) {
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .about-headline h2 { font-size: 1.9rem; }
}

@media (min-width: 780px) {
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .about-copy { gap: 22px; font-size: 1.06rem; }
  .about-headline { margin: 66px auto 40px; }
  .about-headline h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
  .certs-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 60px; }
  .cert-card { padding: 20px 18px; }
  .cert-icon { width: 30px; height: 30px; }
  .cert-card h3 { font-size: 0.94rem; }
  .cert-card span { font-size: 0.8rem; }
  .about-closing h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 30px; }
}

/* ============================== REVEAL GENERICO ============================== */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* foco visivel para acessibilidade */
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
