/*
  Expedito Ferreira 45222 — Landing Page
  CSS puro, sem frameworks. Design tokens replicados do projeto original (Lovable/Tailwind v4).
*/

/* ------------------------------------------------------------------ */
/* Reset básico                                                        */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-weight: 400;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--sun);
  color: var(--sun-foreground);
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: none;
  background-color: var(--royal);
  color: var(--royal-foreground);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.2s ease, color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: var(--sun);
  color: var(--sun-foreground);
}

.back-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .back-to-top {
    right: 2rem;
    bottom: 2rem;
  }
}

/* ------------------------------------------------------------------ */
/* Design tokens                                                       */
/* ------------------------------------------------------------------ */
:root {
  /* Cores da campanha */
  --royal: oklch(0.44 0.245 268);
  --royal-deep: oklch(0.35 0.21 268);
  --royal-foreground: oklch(0.99 0 0);
  --cyan: oklch(0.73 0.135 232);
  --cyan-soft: oklch(0.85 0.085 220);
  --sun: oklch(0.91 0.19 104);
  --sun-foreground: oklch(0.32 0.19 268);

  --background: oklch(0.99 0 0);
  --foreground: oklch(0.28 0.16 268);
  --card: oklch(1 0 0);
  --muted-foreground: oklch(0.5 0.06 260);

  --font-display: "Jost", system-ui, -apple-system, sans-serif;
  --font-body: "Jost", system-ui, -apple-system, sans-serif;

  --gradient-cyan: linear-gradient(180deg, var(--cyan-soft) 0%, oklch(0.9 0.06 215) 100%);
  --shadow-card: 0 24px 60px -28px oklch(0.35 0.21 268 / 0.55);

  --container-max: 72rem; /* 6xl */
  --container-4xl: 56rem;
  --container-5xl: 64rem;
}

/* Fallback para navegadores sem suporte a oklch (aproximação em sRGB) */
@supports not (color: oklch(0.5 0.1 200)) {
  :root {
    --royal: #2f3f9c;
    --royal-deep: #26327d;
    --royal-foreground: #fdfdfd;
    --cyan: #4fa7c9;
    --cyan-soft: #a3cfe0;
    --sun: #f4d840;
    --sun-foreground: #262f6e;
    --background: #fdfdfd;
    --foreground: #262a52;
    --card: #ffffff;
    --muted-foreground: #7b7f96;
    --gradient-cyan: linear-gradient(180deg, #a3cfe0 0%, #cfe6ea 100%);
    --shadow-card: 0 24px 60px -28px rgba(38, 50, 125, 0.55);
  }
}

/* ------------------------------------------------------------------ */
/* Layout helpers                                                      */
/* ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--4xl {
  max-width: var(--container-4xl);
}

.container--5xl {
  max-width: var(--container-5xl);
}

.section-pad {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-block: 6rem;
  }
}

/* ------------------------------------------------------------------ */
/* Header                                                               */
/* ------------------------------------------------------------------ */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1rem 1.25rem;
}

.brand {
  display: inline-block;
  line-height: 0;
}

.brand__logo {
  height: 2.5rem;
  width: auto;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  border-radius: 9999px;
  background-color: oklch(0.35 0.21 268 / 0.3);
  padding: 0.5rem 1.5rem;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.main-nav__link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: oklch(0.99 0 0 / 0.9);
  transition: color 0.2s ease;
}

.main-nav__link:hover,
.main-nav__link:focus-visible {
  color: var(--sun);
}

.main-nav__cta {
  border-radius: 0.125rem;
  background-color: var(--sun);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sun-foreground);
  transition: transform 0.2s ease;
}

.main-nav__cta:hover,
.main-nav__cta:focus-visible {
  transform: translateY(-0.125rem);
}

/* ------------------------------------------------------------------ */
/* Chevron decorativo                                                   */
/* ------------------------------------------------------------------ */
.chevron {
  position: relative;
  height: 0;
  z-index: 10;
}

.chevron__shape {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 6rem;
  height: 2.75rem;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.chevron__shape--royal {
  background-color: var(--royal);
}

.chevron__shape--cyan {
  background-color: var(--cyan);
}

/* ------------------------------------------------------------------ */
/* Faixa gráfica decorativa                                             */
/* ------------------------------------------------------------------ */
.faixa {
  height: 5rem;
  width: 100%;
  background-image: url("../img/Asset_Marca.webp");
  background-repeat: repeat-x;
  background-size: auto 100%;
}

@media (min-width: 768px) {
  .faixa {
    height: 6rem;
  }

  .faixa--half {
    margin-left: auto;
    width: 50%;
  }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                  */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background-image: url("../img/banner-topo.png");
  background-size: cover;
  background-position: 30% center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hero {
    background-position: left center;
  }
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 7rem 1.25rem 4rem;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 42% 1fr;
    min-height: 42rem;
    padding: 8rem 1.25rem 6rem;
  }
}

.hero__title {
  font-family: var(--font-body);
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--royal-foreground);
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2.4rem;
  }
}

.hero__title strong {
  font-weight: 600;
}

.hero__title em {
  font-style: normal;
  font-weight: 200;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 20rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: oklch(0.99 0 0 / 0.9);
}

.hero__highlight-wrap {
  margin-top: 0.75rem;
  max-width: 20rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.mark-sun {
  background-color: var(--sun);
  color: var(--sun-foreground);
  box-shadow: 0.35rem 0 0 var(--sun), -0.35rem 0 0 var(--sun);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.btn-cta {
  display: inline-flex;
  margin-top: 2.25rem;
  border-radius: 0.125rem;
  background-color: var(--sun);
  padding: 1rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sun-foreground);
  box-shadow: var(--shadow-card);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  transform: translateY(-0.125rem);
}

.btn-cta--pill {
  border-radius: 9999px;
}

/* ------------------------------------------------------------------ */
/* Quem é                                                                */
/* ------------------------------------------------------------------ */
.quem-e {
  position: relative;
  overflow: hidden;
  background-image: var(--gradient-cyan);
}

.quem-e__photo {
  pointer-events: none;
  position: absolute;
  inset-block: 0;
  left: 0;
  display: none;
  width: 52%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .quem-e__photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
}

.quem-e__photo img {
  height: 92%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}

.quem-e__grid {
  display: grid;
  align-items: stretch;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 5rem 1.25rem;
}

@media (min-width: 768px) {
  .quem-e__grid {
    grid-template-columns: 52% 1fr;
    gap: 2rem;
    padding-block: 6rem;
  }
}

.quem-e__spacer {
  display: none;
}

@media (min-width: 768px) {
  .quem-e__spacer {
    display: block;
  }
}

.quem-e__content {
  max-width: 100%;
}

@media (min-width: 768px) {
  .quem-e__content {
    max-width: 36rem;
    padding-top: 1rem;
  }
}

.eyebrow-bar {
  margin-bottom: 1rem;
  display: block;
  height: 0.375rem;
  width: 6rem;
  background-color: var(--royal);
}

@media (min-width: 768px) {
  .eyebrow-bar--right {
    margin-left: auto;
    margin-right: 1rem;
  }
}

.quem-e__title {
  font-size: 2.25rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--royal);
}

@media (min-width: 768px) {
  .quem-e__title {
    font-size: 3rem;
  }
}

.quem-e__text {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--royal);
}

@media (min-width: 768px) {
  .quem-e__text {
    text-align: justify;
  }
}

/* ------------------------------------------------------------------ */
/* Sua história                                                         */
/* ------------------------------------------------------------------ */
.historia {
  background-color: var(--royal);
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--royal-foreground);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title-bar {
  margin-inline: auto;
  margin-top: 1rem;
  display: block;
  height: 0.375rem;
  width: 6rem;
}

.section-title-bar--sun {
  background-color: var(--sun);
}

.section-title-bar--white {
  background-color: var(--royal-foreground);
}

.timeline {
  position: relative;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  border-left: 2px solid oklch(0.99 0 0 / 0.25);
  padding-left: 2rem;
}

.timeline__item {
  position: relative;
}

.timeline__dot {
  position: absolute;
  left: -2.6rem;
  top: 0.25rem;
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--sun);
  background-color: var(--royal);
}

.timeline__dot::after {
  content: "";
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background-color: var(--sun);
}

.timeline__text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: oklch(0.99 0 0 / 0.9);
}

/* ------------------------------------------------------------------ */
/* Currículo                                                             */
/* ------------------------------------------------------------------ */
.curriculo {
  background-color: var(--cyan);
}

.curriculo-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.curriculo-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.curriculo-list__check {
  margin-top: 0.125rem;
  display: flex;
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--royal-foreground);
}

.curriculo-list__check svg {
  height: 1rem;
  width: 1rem;
  color: var(--royal);
}

.curriculo-list__label {
  flex: 1;
  border-radius: 9999px;
  background-color: var(--royal);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--royal-foreground);
}

@media (min-width: 768px) {
  .curriculo-list__label {
    font-size: 0.95rem;
  }
}

/* ------------------------------------------------------------------ */
/* Atuação                                                               */
/* ------------------------------------------------------------------ */
.atuacao {
  position: relative;
  background-color: var(--royal);
}

.atuacao__grid {
  display: grid;
}

@media (min-width: 768px) {
  .atuacao__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.atuacao__media {
  position: relative;
  z-index: 1;
  min-height: 22rem;
}

.atuacao__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    135deg,
    oklch(0.2 0.08 268 / 0.88) 0%,
    oklch(0.2 0.08 268 / 0.55) 30%,
    oklch(0.2 0.08 268 / 0) 60%
  );
  pointer-events: none;
}

@media (min-width: 768px) {
  .atuacao__media {
    min-height: 38rem;
  }
}

.atuacao__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 55% 35%;
}

@supports not (color: oklch(0.5 0.1 200)) {
  .atuacao__media::before {
    background: linear-gradient(
      135deg,
      rgba(38, 50, 125, 0.88) 0%,
      rgba(38, 50, 125, 0.55) 30%,
      rgba(38, 50, 125, 0) 60%
    );
  }
}

.atuacao__caption {
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  z-index: 10;
}

@media (min-width: 768px) {
  .atuacao__caption {
    left: 3rem;
    top: 4rem;
  }
}

.atuacao__caption h2 {
  font-size: 2.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--royal-foreground);
}

@media (min-width: 768px) {
  .atuacao__caption h2 {
    font-size: 3rem;
  }
}

.atuacao__caption .section-title-bar {
  margin-inline: 0;
  margin-top: 1rem;
  width: 8rem;
}

.atuacao__content-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.atuacao__content-col > .faixa {
  height: auto;
  aspect-ratio: 1920 / 639;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.atuacao__card {
  position: relative;
  background-color: var(--card);
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .atuacao__card {
    flex: none;
    margin: 1.5rem 3.5rem 3rem -3rem;
    max-width: 35rem;
    padding: 3rem;
    box-shadow: var(--shadow-card);
  }
}

.atuacao__card::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 3.5rem;
  display: none;
  height: 3.5rem;
  width: 1.5rem;
  background-color: var(--card);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

@media (min-width: 768px) {
  .atuacao__card::before {
    display: block;
  }
}

.atuacao__card-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--royal);
}

@media (min-width: 768px) {
  .atuacao__card-text {
    text-align: justify;
  }
}

/* ------------------------------------------------------------------ */
/* Formulário                                                           */
/* ------------------------------------------------------------------ */
.formulario {
  background-color: var(--cyan);
}

.formulario__title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.25;
  color: #fff;
}

@media (min-width: 768px) {
  .formulario__title {
    font-size: 2.75rem;
  }
}

.formulario__title br.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .formulario__title br.desktop-only {
    display: block;
  }
}

.formulario__grid {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .formulario__grid {
    grid-template-columns: minmax(0, 16rem) 1fr;
  }
}

.formulario__intro {
  color: #fff;
}

@media (min-width: 768px) {
  .formulario__intro {
    text-align: right;
  }
}

.formulario__intro p:first-child {
  font-size: 1.05rem;
  line-height: 1.6;
}

.formulario__intro-highlight {
  color: var(--sun);
  font-weight: 500;
}

.formulario__social-label {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sun);
}

.formulario__social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

@media (min-width: 768px) {
  .formulario__social-links {
    justify-content: flex-end;
  }
}

.formulario__social-links a {
  color: #fff;
  transition: color 0.2s ease;
}

.formulario__social-links a:hover,
.formulario__social-links a:focus-visible {
  color: var(--sun);
}

.formulario__social-links svg {
  height: 1.75rem;
  width: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-form__input {
  width: 100%;
  border: none;
  border-radius: 9999px;
  background-color: var(--card);
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  color: var(--royal-deep);
  outline: none;
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow 0.2s ease;
}

.contact-form__input::placeholder {
  color: var(--muted-foreground);
}

.contact-form__input--compact {
  width: 45%;
  min-width: 9rem;
}

.contact-form__input:focus-visible {
  box-shadow: 0 0 0 2px var(--royal);
}

.contact-form__submit {
  margin-top: 0.75rem;
  align-self: flex-start;
}

.contact-form__success {
  padding-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  display: none;
}

.contact-form__success.is-visible {
  display: block;
}

.contact-form__success.is-error {
  color: #ffb4b4;
}

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

.site-footer__info {
  padding: 2rem 1.25rem 0;
  text-align: center;
}

.site-footer__grid {
  display: grid;
  align-items: end;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer__grid .faixa {
  background-repeat: no-repeat;
  background-position: right center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__brand {
    justify-content: flex-start;
  }
}

.site-footer__logo {
  height: 3.5rem;
  width: auto;
}

.site-footer__email {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--royal-deep);
  transition: color 0.2s ease;
}

.site-footer__email:hover,
.site-footer__email:focus-visible {
  color: var(--sun);
}

.site-footer__legal {
  max-width: 28rem;
  margin-inline: auto;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: oklch(0.35 0.21 268 / 0.85);
}

@supports not (color: oklch(0.5 0.1 200)) {
  .site-footer__legal {
    color: rgba(38, 50, 125, 0.85);
  }
}
