/* =========================================================
   Target Learn · Roseane França — Landing Page
   ========================================================= */
:root {
  --navy: #1b2a5e;
  --navy-dark: #121d45;
  --red: #d7303c;
  --blue: #2a7fc1;
  --warm: #b8763a;
  --cream: #f8f5f0;
  --mist: #eef1f6;
  --text: #2e3550;
  --muted: #5b6380;
  --line: #dfe3ec;
  --white: #fff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", cursive;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(27, 42, 94, .10);
  --shadow-lg: 0 20px 50px rgba(27, 42, 94, .18);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
strong { color: var(--navy); font-weight: 600; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: 88px 0; }

.on { color: var(--red); font-style: italic; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.section__head { text-align: center; margin-bottom: 44px; }
.section__title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 0;
}
.section__title--left { text-align: left; margin-bottom: 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(27, 42, 94, .25); }
.btn--primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { color: var(--navy); border: 1.5px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 38px; font-size: 15px; }
.icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(27, 42, 94, .08); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header__logo { height: 44px; width: auto; }
.header__divider { width: 1px; height: 40px; background: var(--line); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { font-size: 13px; font-weight: 500; color: var(--navy); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 72px;
  background:
    linear-gradient(90deg, rgba(248, 245, 240, .97) 0%, rgba(248, 245, 240, .9) 50%, rgba(248, 245, 240, .55) 100%),
    url("../images/bg-hero-folhagem.jpg") right center / cover no-repeat;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.hero__logo { height: 64px; width: auto; margin-bottom: 26px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.02;
  margin: 0 0 18px;
}
.hero__lead { font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); color: var(--navy); line-height: 1.3; margin-bottom: 20px; }
.hero__text { max-width: 540px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__photo { margin: 0; position: relative; justify-self: end; width: 100%; max-width: 470px; }
.hero__photo::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--red); border-radius: 200px 200px var(--radius) var(--radius); opacity: .45;
}
.hero__photo img {
  position: relative; width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow-lg);
}

/* ---------- Testimonials carousel ---------- */
.testimonials { background: var(--white); }
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 22px) / 4);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__btn {
  position: absolute; top: calc(50% - 30px); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--navy); font-size: 20px;
  box-shadow: var(--shadow); cursor: pointer; transition: background .25s, color .25s, opacity .25s;
}
.carousel__btn:hover { background: var(--navy); color: var(--white); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel__btn--prev { left: -24px; }
.carousel__btn--next { right: -24px; }

.video-card { scroll-snap-align: start; display: block; }
.video-card__thumb {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 9 / 16;
  background: var(--mist); box-shadow: var(--shadow);
}
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.video-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 29, 69, .55));
}
.video-card__play {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--red);
  display: grid; place-items: center; transition: transform .3s, background .3s, color .3s;
}
.video-card__play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-card:hover .video-card__thumb img { transform: scale(1.05); }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); background: var(--red); color: var(--white); }
.video-card__name { margin-top: 14px; text-align: center; font-weight: 600; color: var(--navy); font-size: 14px; }

/* ---------- Target Learn ---------- */
.target {
  position: relative;
  padding: 110px 0;
  background:
    linear-gradient(90deg, rgba(248, 245, 240, .98) 0%, rgba(248, 245, 240, .93) 45%, rgba(248, 245, 240, .25) 75%, rgba(248, 245, 240, .1) 100%),
    url("../images/bg-target-escrita.jpg") center / cover no-repeat;
}
.target__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: start; gap: 40px; }
.target__content { max-width: 600px; }
.target__logo { height: 80px; width: auto; margin-bottom: 26px; }
.target__content p { color: var(--navy); }
.target__content .btn { margin-top: 10px; }
.target__script {
  font-family: var(--script);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  color: var(--navy);
  transform: rotate(-6deg);
  justify-self: end;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .85);
  margin: 0;
}

/* ---------- Áreas ---------- */
.areas { background: var(--cream); }
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.area {
  position: relative; padding: 10px 28px 18px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: background .3s;
}
.area:first-child { border-left: 0; padding-left: 0; }
.area__icon { width: 38px; height: 38px; color: var(--navy); margin-bottom: 18px; }
.area__icon--warm { color: var(--warm); }
.area__icon--blue { color: var(--blue); }
.area__icon--red { color: var(--red); }
.area h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 0 0 12px; }
.area p { font-size: 13.5px; color: var(--muted); flex: 1; }
.area__link { color: var(--navy); font-size: 20px; transition: transform .25s, color .25s; align-self: flex-start; }
.area:hover .area__link { transform: translateX(6px); color: var(--red); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 30% 1fr; background: var(--mist); }
.about__photo { margin: 0; min-height: 100%; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.about__body { display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; padding: 80px max(24px, calc((100vw - 1200px) / 2)) 80px 56px; align-items: center; }
.about__content p { font-size: 14.5px; }
.about__content .btn { margin-top: 6px; }
.about__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.about__gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.values { list-style: none; margin: 0; padding: 0 0 0 36px; border-left: 1px solid var(--line); display: grid; gap: 22px; }
.values li { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--navy); line-height: 1.4; }
.values svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--navy); }
.values .v-red { color: var(--red); }
.values .v-blue { color: var(--blue); }

/* ---------- Para quem ---------- */
.audience { background: var(--cream); }
.audience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); color: var(--white); }
.aud-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.aud-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18, 29, 69, .85)); }
.aud-card__label { position: absolute; z-index: 1; left: 18px; right: 70px; bottom: 18px; font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.aud-card__arrow {
  position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 18px; transition: background .3s, color .3s;
}
.aud-card:hover img { transform: scale(1.06); }
.aud-card:hover .aud-card__arrow { background: var(--red); color: var(--white); }

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0 120px;
  background:
    linear-gradient(180deg, rgba(248, 245, 240, .95) 0%, rgba(248, 245, 240, .72) 45%, rgba(248, 245, 240, .1) 100%),
    url("../images/bg-cta-por-do-sol.jpg") center 65% / cover no-repeat;
}
.cta__inner { display: grid; grid-template-columns: 1.4fr auto auto; align-items: center; gap: 48px; }
.cta__title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.2; color: var(--navy); margin: 0 0 24px; }
.cta__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.cta__tags li { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); padding: 0 14px; border-left: 1px solid var(--navy); }
.cta__tags li:first-child { padding-left: 0; border-left: 0; }
.cta__brand { text-align: center; }
.cta__brand img { width: 130px; height: auto; margin: 0 auto; }
.cta__script { display: block; font-family: var(--script); font-size: 32px; line-height: 1; color: var(--navy); transform: rotate(-6deg); margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 56px 0 24px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__brand img { height: 40px; width: auto; background: var(--white); border-radius: 6px; padding: 4px 8px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.footer__nav a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  display: grid; place-items: center; color: var(--white); transition: background .25s, border-color .25s;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__social svg { width: 18px; height: 18px; }
.footer__copy { text-align: center; font-size: 12px; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 120;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before { animation: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 12px; }
  .header__logo { height: 36px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .section { padding: 72px 0; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 24px 24px;
    box-shadow: 0 20px 30px rgba(27, 42, 94, .12);
    transform: translateY(-110%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; justify-content: center; }

  .hero__inner { gap: 36px; }
  .carousel__track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .carousel__btn--prev { left: -8px; }
  .carousel__btn--next { right: -8px; }

  .target__inner { grid-template-columns: 1fr; }
  .target__script { justify-self: start; transform: rotate(-4deg); }
  .target { background-position: 70% center; }

  .areas__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .area:nth-child(3) { border-left: 0; padding-left: 0; }

  .about { grid-template-columns: 1fr; }
  .about__photo img { min-height: 0; aspect-ratio: 16 / 10; object-position: center 25%; }
  .about__body { grid-template-columns: 1fr; padding: 64px 24px; }
  .values { border-left: 0; padding-left: 0; grid-template-columns: 1fr 1fr; }

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

  .cta__inner { grid-template-columns: 1fr auto; }
  .cta__brand { display: none; }
}

@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 32px); background-position: 70% center; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { order: -1; justify-self: center; max-width: 340px; margin-right: 22px; }
  .hero__content { text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__text { margin-inline: auto; }
  .hero__actions { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .header__brand { gap: 10px; }
  .header__logo { height: 30px; }
  .header__divider { height: 28px; }

  .hero__actions .btn { width: 100%; justify-content: center; }

  .carousel__track { grid-auto-columns: 72%; gap: 16px; }
  .carousel__btn { display: none; }

  .target { padding: 72px 0; background: linear-gradient(rgba(248, 245, 240, .93), rgba(248, 245, 240, .93)), url("../images/bg-target-escrita.jpg") center / cover; }
  .target__logo { height: 60px; }

  .areas__grid { grid-template-columns: 1fr; row-gap: 0; }
  .area, .area:first-child, .area:nth-child(3) { border-left: 0; padding: 24px 0; border-top: 1px solid var(--line); }
  .area:first-child { border-top: 0; padding-top: 0; }

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

  .audience__grid { grid-template-columns: 1fr; }
  .aud-card { aspect-ratio: 16 / 10; }

  .cta { padding: 64px 0 220px; background-position: center bottom; }
  .cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta__inner > .btn { justify-self: start; }
  .cta__tags { flex-direction: column; }
  .cta__tags li, .cta__tags li:first-child { border-left: 2px solid var(--red); padding-left: 12px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }

  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
