/* ==========================================================================
   Daniele Kallas, estilo compartilhado
   ========================================================================== */

:root {
  --color-bg: #f4f2ef;
  --color-bg-alt: #eeece7;
  --color-text: #1c1a22;
  --color-text-soft: #4a4752;
  --color-purple: #7b7fe8;
  --color-purple-dark: #5f61c9;
  --color-purple-deep: #2b1541;
  --color-white: #ffffff;
  --radius-pill: 999px;
  --radius-card: 18px;
  --shadow-card: 0 10px 30px rgba(43, 21, 65, 0.08);
  --max-width: 1200px;
  --font-heading: "Quicksand", "Poppins", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

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

section {
  padding: 96px 0;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn-primary {
  background: var(--color-purple);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(123, 127, 232, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--color-purple-deep);
  color: var(--color-white);
}

.btn-dark:hover {
  background: #1c0e2c;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
}

.logo sup {
  font-size: 0.6em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.85;
}

.nav-links a:not(.btn):hover {
  opacity: 1;
}

.nav-links a.active {
  color: var(--color-purple-dark);
  opacity: 1;
}

.lang-switch {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-pill);
  padding: 6px 14px !important;
  opacity: 1 !important;
}

.lang-switch:hover {
  border-color: var(--color-purple);
  color: var(--color-purple-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: 0.2s;
}

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

.hero {
  background: linear-gradient(135deg, #2b1541 0%, #46356f 30%, #6b6fc7 62%, #9db0cf 100%);
  color: var(--color-white);
  padding: 140px 0 120px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.88);
}

/* Trajectory / about preview -------------------------------------------------- */

.trajectory {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

.trajectory-photo {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg-alt);
  aspect-ratio: 4 / 5;
}

.trajectory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trajectory-photo .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--color-purple-deep);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  padding: 8px;
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.trajectory-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.trajectory-copy p {
  color: var(--color-text-soft);
  font-size: 1.02rem;
}

/* Logos strip (empresas e instituicoes) ----------------------------------------- */

.logos-strip {
  padding: 0 0 96px;
}

.logos-strip .eyebrow {
  text-align: center;
  width: 100%;
  margin-bottom: 32px;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 8px;
}

/* cada logo fica numa caixa do mesmo tamanho, para equilibrar visualmente
   arquivos com proporcoes e "respiro" internos bem diferentes entre si */
.logo-chip {
  width: 150px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.logo-chip img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-chip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Cases de sucesso (carrossel) ------------------------------------------------------ */

.carousel {
  max-width: 640px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--color-white);
  color: var(--color-purple-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.carousel-btn:hover {
  background: var(--color-purple);
  color: var(--color-white);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(43, 21, 65, 0.18);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--color-purple-dark);
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  text-align: left;
}

.case-card .case-logo {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: grayscale(100%);
  opacity: 0.85;
}

.case-card .case-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-purple-dark);
  margin-bottom: 10px;
}

.case-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.case-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* Quote ------------------------------------------------------------------------ */

.quote-section {
  background: var(--color-purple);
  color: var(--color-white);
  text-align: center;
  padding: 110px 0;
  position: relative;
  clip-path: ellipse(75% 100% at 50% 50%);
  margin: -1px 0;
}

.quote-section blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  max-width: 820px;
  margin: 0 auto 20px;
  font-weight: 500;
}

.quote-section cite {
  font-style: italic;
  opacity: 0.85;
}

/* Services grid ------------------------------------------------------------------ */

.services-intro h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 48px;
}

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.service-card .service-photo {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.service-card .service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .service-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-soft);
  font-size: 0.96rem;
  flex: 1;
}

.service-card .btn {
  margin-top: 18px;
  align-self: flex-start;
}

/* Quiz / CTA banner ---------------------------------------------------------------- */

.cta-banner {
  position: relative;
  color: var(--color-white);
  text-align: center;
  padding: 130px 0;
  background: linear-gradient(rgba(20, 10, 35, 0.55), rgba(20, 10, 35, 0.55)),
    linear-gradient(120deg, #4b3f7a, #7c93c4);
  background-size: cover;
  background-position: center;
}

/* variante com foto real de fundo (overlay escuro para manter contraste do texto) */
.cta-banner-photo {
  background-image: linear-gradient(rgba(20, 10, 35, 0.6), rgba(20, 10, 35, 0.6)),
    url("../assets/home-cta-fundo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  max-width: 780px;
  margin: 0 auto 14px;
}

.cta-banner p {
  margin-bottom: 34px;
  opacity: 0.92;
}

.cta-banner .cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Contact section -------------------------------------------------------------------- */

.contact-section {
  background: var(--color-purple);
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field .required {
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.78rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a879a;
}

.form-status {
  min-height: 24px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #cdf7d8;
}

.form-status[data-state="error"] {
  color: #ffd0d0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

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

.site-footer {
  background: var(--color-bg);
  border-top: 4px solid var(--color-purple);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .footer-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-purple-dark);
}

.site-footer .footer-role {
  font-weight: 700;
  font-size: 0.9rem;
}

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

.site-footer .footer-email {
  color: var(--color-purple-dark);
  font-weight: 500;
  text-decoration: underline;
}

.site-footer .footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer .footer-legal {
  color: var(--color-text-soft);
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Inner page hero (Sobre / Servicos) ------------------------------------------------------ */

.page-hero {
  background: linear-gradient(135deg, #2b1541 0%, #46356f 40%, #6b6fc7 100%);
  color: var(--color-white);
  padding: 100px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 820px;
  margin: 0 auto 16px;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

/* Sobre page content ------------------------------------------------------------------------ */

.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 120px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg-alt);
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h2 {
  font-size: 1.6rem;
  margin-top: 2.2em;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.about-copy p {
  color: var(--color-text-soft);
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.highlight-list li {
  background: var(--color-white);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  color: var(--color-text-soft);
  font-size: 0.98rem;
}

/* Timeline (Sobre) --------------------------------------------------------------------- */

.timeline {
  list-style: none;
  margin: 48px auto 0;
  padding: 0;
  max-width: 720px;
}

.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 36px;
  border-left: 2px solid rgba(123, 127, 232, 0.3);
}

.timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-purple-dark);
  box-shadow: 0 0 0 3px var(--color-bg-alt);
}

.timeline-year {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-purple-dark);
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--color-text-soft);
  margin: 0;
}

.timeline-content p a,
.about-copy p a,
.service-detail-copy p a {
  color: var(--color-purple-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.timeline-content p a:hover,
.about-copy p a:hover,
.service-detail-copy p a:hover {
  color: var(--color-purple);
}

.credentials-strip {
  background: var(--color-bg-alt);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.credentials-grid .credential-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-purple-dark);
}

.credentials-grid .credential-label {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Servicos page ------------------------------------------------------------------------------ */

.audience-tabs {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) .service-detail-media {
  order: 2;
}

.service-detail-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-copy .eyebrow {
  margin-bottom: 10px;
}

.service-detail-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.service-detail-copy p {
  color: var(--color-text-soft);
}

.service-detail-copy ul {
  padding-left: 20px;
  color: var(--color-text-soft);
  margin-bottom: 24px;
}

.service-detail-copy li {
  margin-bottom: 8px;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 18px 0;
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 4px 28px 4px 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-purple-dark);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--color-text-soft);
  margin: 12px 0 0;
}

/* Legal pages (Privacy Policy) ----------------------------------------------------------------- */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 48px 0 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-soft);
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 1em;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.legal-content .legal-notice {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg, 16px);
  padding: 20px 24px;
  margin: 0 0 40px;
  font-size: 0.92rem;
}

/* Utility ------------------------------------------------------------------------------------- */

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

.section-alt {
  background: var(--color-bg-alt);
}

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

@media (max-width: 900px) {
  .trajectory,
  .about-layout,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-media {
    order: 0;
  }

  .about-photo {
    position: static;
  }

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

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 32px;
    gap: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  section {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-section {
    clip-path: none;
    padding: 70px 0;
  }

  .credentials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .logo-chip {
    width: 110px;
    height: 56px;
  }

  .case-card .case-logo {
    height: 34px;
  }
}
