/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

body {
  font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e1e1e;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --color-yellow: #e4c303;
  --color-dark: #1e1e1e;
  --color-ink: #111111;
}

/* ===== Hero ===== */
.hero {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    min-height: 700px;
  }
}

/* Light panel: logo + illustration */
.hero__light {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 5vw, 40px);
  padding: clamp(28px, 6vw, 48px) clamp(24px, 6vw, 56px) 0;
  text-align: center;
}

@media (min-width: 900px) {
  .hero__light {
    flex: 0 0 40%;
    max-width: 640px;
    align-items: center;
    text-align: center;
    border-radius: 0 32px 32px 0;
    padding: 56px clamp(32px, 5vw, 72px) 0;
    justify-content: flex-start;
  }
}

.hero__logo {
  width: 140px;
}

@media (min-width: 900px) {
  .hero__logo {
    width: 170px;
  }
}

.hero__hug {
  width: min(280px, 60vw);
  margin-top: 8px;
}

@media (min-width: 900px) {
  .hero__hug {
    width: 340px;
    margin: auto 0 0;
    align-self: center;
  }
}

/* Dark panel: headline + copy + CTA */
.hero__dark {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-color: #202020;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: clamp(36px, 10vw, 64px) clamp(24px, 6vw, 96px);
}

.hero__dark {
  background-image: url("images/hero-bg-mobile.webp");
  background-image: -webkit-image-set(
    url("images/hero-bg-mobile.webp") 1x,
    url("images/hero-bg-mobile@2x.webp") 2x
  );
  background-image: image-set(
    url("images/hero-bg-mobile.webp") 1x,
    url("images/hero-bg-mobile@2x.webp") 2x
  );
}

@media (min-width: 900px) {
  .hero__dark {
    justify-content: center;
    background-image: url("images/hero-bg-desktop.webp");
    background-image: -webkit-image-set(
      url("images/hero-bg-desktop.webp") 1x,
      url("images/hero-bg-desktop@2x.webp") 2x
    );
    background-image: image-set(
      url("images/hero-bg-desktop.webp") 1x,
      url("images/hero-bg-desktop@2x.webp") 2x
    );
  }
}

.hero__star {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 84px;
  opacity: 0.92;
}

@media (min-width: 900px) {
  .hero__star {
    top: 65%;
    right: clamp(24px, 6vw, 130px);
    width: 150px;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero__content {
    margin: 0;
  }
}

.hero__headline {
  margin-bottom: clamp(16px, 3vw, 24px);
}

.hero__headline img {
  width: 100%;
  max-width: 420px;
}

.hero__text {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  max-width: 38ch;
  margin: 0 auto clamp(24px, 5vw, 36px);
}

@media (min-width: 900px) {
  .hero__text {
    margin: 0 0 36px;
  }
}

.hero__cta {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(228, 195, 3, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

@media (min-width: 900px) {
  .hero__cta {
    margin: 0 0 0 clamp(16px, 3vw, 40px);
  }
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(228, 195, 3, 0.38);
}

.hero__cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* ===== Manifesto (video section) ===== */
/* Oculta temporariamente até termos o link do vídeo */
.manifesto {
  display: none;
  background: #efc726;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 80px);
}

.manifesto__inner {
  max-width: 1150px;
  margin: 0 auto;
}

.manifesto__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #191e1a;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.manifesto__video {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1153 / 412;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.manifesto__video:hover {
  box-shadow: 0 16px 40px rgba(25, 30, 26, 0.16);
}

.manifesto__video:focus-visible {
  outline: 3px solid #191e1a;
  outline-offset: 4px;
}

.manifesto__play {
  width: clamp(56px, 6vw, 76px);
  height: clamp(56px, 6vw, 76px);
  border-radius: 50%;
  background: var(--color-yellow);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.manifesto__video:hover .manifesto__play {
  transform: scale(1.08);
}

.manifesto__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #191e1a;
}

.manifesto__caption {
  margin-top: clamp(20px, 3vw, 28px);
  font-size: 16px;
  line-height: 1.6;
  color: #313027;
  max-width: 34ch;
}

/* ===== Materiais (education section) ===== */
.materiais {
  position: relative;
  color: #313027;
  text-align: center;
  background-color: #efc726;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 6vw, 80px) clamp(56px, 10vw, 100px);
}

.materiais__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.materiais__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.materiais__text {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.7;
  color: #313027;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.materiais__cta-wrap {
  position: relative;
  display: inline-block;
}

.materiais__button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #313027;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.materiais__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.38);
}

.materiais__button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* ===== Apoio (support options section) ===== */
.apoio {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 6vw, 80px) clamp(56px, 10vw, 100px);
}

.apoio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("images/apoio-textura-mobile.webp");
  background-image: -webkit-image-set(
    url("images/apoio-textura-mobile.webp") 1x,
    url("images/apoio-textura-mobile@2x.webp") 2x
  );
  background-image: image-set(
    url("images/apoio-textura-mobile.webp") 1x,
    url("images/apoio-textura-mobile@2x.webp") 2x
  );
}

@media (min-width: 900px) {
  .apoio::before {
    background-image: url("images/apoio-textura-desktop.webp");
    background-image: -webkit-image-set(
      url("images/apoio-textura-desktop.webp") 1x,
      url("images/apoio-textura-desktop@2x.webp") 2x
    );
    background-image: image-set(
      url("images/apoio-textura-desktop.webp") 1x,
      url("images/apoio-textura-desktop@2x.webp") 2x
    );
  }
}

.apoio__star {
  position: absolute;
  z-index: 0;
  top: -30px;
  left: -90px;
  width: clamp(180px, 26vw, 340px);
  height: auto;
  pointer-events: none;
}

.apoio__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.apoio__headline {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.apoio__headline img {
  width: min(320px, 80%);
  margin: 0 auto;
}

.apoio__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 800px) {
  .apoio__cards {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: clamp(24px, 4vw, 64px);
  }
}

.apoio__card {
  display: flex;
  flex-direction: column;
  background: #efc726;
  border-radius: 28px;
  padding: clamp(32px, 5vw, 48px) clamp(28px, 4vw, 40px);
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.apoio__card-big {
  font-size: clamp(32px, 5vw, 55px);
  font-weight: 700;
  line-height: 1;
  color: #313027;
  margin-bottom: 6px;
}

.apoio__card-small {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #313027;
  text-transform: uppercase;
  margin-bottom: clamp(16px, 2.5vw, 20px);
}

.apoio__card-text {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  color: #313027;
  margin-bottom: clamp(24px, 3vw, 32px);
}

.apoio__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: auto;
  background: #313027;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.apoio__card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.apoio__card-btn:focus-visible {
  outline: 3px solid #313027;
  outline-offset: 3px;
}

/* ===== Contatos (other emergency contacts) ===== */
.contatos {
  background-color: #efc726;
  background-image: url("images/contatos-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: clamp(110px, 18vw, 190px) clamp(24px, 6vw, 80px);
}

.contatos__inner {
  max-width: 1150px;
  margin: 0 auto;
}

.contatos__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.contatos__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .contatos__cards {
    flex-direction: row;
    gap: clamp(20px, 2.5vw, 30px);
  }
}

.contatos__card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 3vw, 32px);
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contatos__card-num {
  font-size: clamp(36px, 4.5vw, 55px);
  font-weight: 700;
  line-height: 1;
  color: #313027;
  margin-bottom: 12px;
}

.contatos__card-label {
  font-size: 18px;
  font-weight: 700;
  color: #313027;
  margin-bottom: 10px;
}

.contatos__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: #313027;
  max-width: 30ch;
}

/* ===== Duvidas (FAQ chat-style section) ===== */
.duvidas {
  position: relative;
  overflow: hidden;
  background: #efc726;
  padding: clamp(56px, 10vw, 100px) clamp(24px, 6vw, 80px);
}

.duvidas__star {
  position: absolute;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.duvidas__star--top {
  top: -88px;
  left: 62%;
  z-index: 0;
  width: 97%;
}

.duvidas__star--bottom {
  top: 85.6%;
  left: -5.5%;
  z-index: 0;
  width: clamp(160px, 16vw, 308px);
}

.duvidas__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
}

.duvidas__pair {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.duvidas__question {
  align-self: flex-start;
  background: #ffffff;
  color: #313027;
  font-weight: 600;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.3;
  padding: 18px 24px;
  border-radius: 20px 20px 20px 0;
  max-width: 320px;
}

.duvidas__answer {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  background: #1e1e1e;
  color: #ffffff;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  padding: 18px 24px;
  border-radius: 20px 20px 0 20px;
  max-width: 320px;
}

.duvidas__answer-wrap {
  position: relative;
  align-self: flex-end;
  max-width: 320px;
}

/* ===== Fechamento (closing message) ===== */
.fechamento {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: clamp(8px, 2vw, 20px) clamp(24px, 6vw, 80px) 0;
}

.fechamento__hug {
  display: block;
  width: min(240px, 60vw);
  margin: 0 auto 0;
}

@media (min-width: 900px) {
  .fechamento {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(24px, 4vw, 56px);
  }

  .fechamento__hug {
    width: clamp(220px, 20vw, 340px);
    margin: 0;
    flex-shrink: 0;
  }
}

.fechamento__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 900px) {
  .fechamento__inner {
    max-width: none;
    flex: 0 1 780px;
    align-self: center;
    margin: 0;
    padding-right: clamp(24px, 6vw, 100px);
    text-align: right;
  }
}

.fechamento__text {
  position: relative;
  z-index: 1;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.5;
  color: #313027;
}

.fechamento__star {
  position: absolute;
  z-index: 0;
  right: -10px;
  bottom: -24px;
  width: clamp(80px, 14vw, 130px);
  pointer-events: none;
}

@media (min-width: 900px) {
  .fechamento__star {
    right: -30px;
    bottom: -50px;
    width: clamp(160px, 14vw, 240px);
  }
}

.fechamento__logo {
  position: relative;
  z-index: 1;
  width: 120px;
  margin: clamp(24px, 4vw, 32px) auto 0;
}

@media (min-width: 900px) {
  .fechamento__logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== Rodapé (copyright) ===== */
.rodape {
  background: var(--color-dark);
  padding: 20px 24px;
}

.rodape__text {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
}
