/* =========================================================
   GILBERTO LUIZ — Psicólogo | Ansiedade
   Estilos do site
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* paleta terrosa */
  --ivory: #faf3e6;
  --camel: #d6c3a3;
  --chocolate: #5a3528;
  --burnt: #a8521f;
  --terracota: #9d3920;
  --mustard: #c08a32;
  --sage: #768a78;
  --olive: #4f5b35;
  --teal: #1d414b;
  --aubergine: #45293a;
  --blush: #d79d82;
  --rosewood: #6a2f2c;

  --text: #3e2a22;
  --text-mid: #6b5a50;
  --bg: var(--ivory);

  --sans: "Saira", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --header-h: 100px;
  --radius: 999px;
  --shadow-sm: 0 4px 18px rgba(90, 53, 40, 0.1);
  --shadow-md: 0 14px 40px rgba(90, 53, 40, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
strong {
  font-weight: 600;
  color: var(--text);
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

/* ---------- Marca ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__logo {
  width: auto;
  height: 50px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--chocolate);
}
.brand__crp {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
}

/* ---------- Navegação ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.25s var(--ease);
}
.nav a:hover,
.nav a.is-active {
  color: var(--terracota);
}

.nav .nav__cta {
  margin-left: 8px;
  padding: 13px 26px;
  font-size: 13px;
  color: #fff;
}
.nav .nav__cta:hover {
  color: #fff;
}

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}

.btn--primary {
  padding: 20px 40px;
  font-size: 14px;
  color: #fff;
  background: var(--terracota);
}
.btn--primary:hover {
  background: var(--rosewood);
}
.btn--primary i {
  font-size: 18px;
}

.btn--text {
  padding: 20px 8px;
  font-size: 14px;
  color: var(--terracota);
}
.btn--text:hover {
  color: var(--rosewood);
}
.btn__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.btn__play i {
  font-size: 14px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: var(--header-h);
  min-height: 100svh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      70% 85% at 85% 55%,
      rgba(215, 157, 130, 0.28) 0%,
      rgba(215, 157, 130, 0) 62%
    ),
    radial-gradient(
      50% 60% at 0% 100%,
      rgba(214, 195, 163, 0.35) 0%,
      rgba(214, 195, 163, 0) 70%
    ),
    var(--bg);
}


.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 24px;
}

/* ---------- Texto ---------- */
.hero__content {
  max-width: 700px;
}

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

.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 4.3vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--chocolate);
}
.hero__title .accent {
  font-weight: 600;
  color: var(--terracota);
  white-space: nowrap;
}

.hero__text {
  font-family: var(--body);
  margin-top: 18px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.68;
  color: var(--text-mid);
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ---------- Mídia ---------- */
.hero__media {
  position: relative;
  justify-self: center;
  align-self: end;
  width: 100%;
  height: calc(100svh - var(--header-h));
}

.hero__halo {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 195, 163, 0.55) 0%,
    rgba(214, 195, 163, 0) 70%
  );
}

.hero__photo {
  position: absolute;
  bottom: 0;
  left: 47.6%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 40px rgba(90, 53, 40, 0.18));
}

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wpp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 30px;
  color: #fff;
  background: #25d366;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease);
}
.wpp-float:hover {
  transform: scale(1.06);
}

/* =========================================================
   MODAL DE VÍDEO
   ========================================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] {
  display: none;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 26, 20, 0.78);
  backdrop-filter: blur(4px);
  animation: fade 0.25s var(--ease);
}
.video-modal__dialog {
  position: relative;
  width: min(940px, 100%);
  animation: modal-in 0.3s var(--ease);
}
.video-modal__el {
  display: block;
  width: 100%;
  max-height: 80vh;
  border-radius: 22px;
  background: #000;
  box-shadow: var(--shadow-md);
}
.video-modal__close {
  position: absolute;
  top: -54px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  color: var(--chocolate);
  background: var(--ivory);
  border-radius: 50%;
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.video-modal__close:hover {
  color: #fff;
  background: var(--terracota);
}

@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .header__inner {
    gap: 28px;
  }
  .nav {
    gap: 20px;
  }
  .nav a {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .brand__logo {
    height: 40px;
  }
  .brand__name {
    font-size: 22px;
  }
}

@media (max-width: 900px) {
  /* sem menu no mobile: apenas a marca centralizada */
  .nav {
    display: none;
  }
  .header {
    position: static;
    height: auto;
    padding-top: 24px;
    background: var(--bg);
  }
  .header__inner {
    justify-content: center;
  }

  .hero {
    padding-top: 36px;
    min-height: 0;
    height: auto;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .hero__content {
    margin-inline: auto;
  }
  .hero__text {
    margin-inline: auto;
  }
  .hero__actions {
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 8px;
  }
  .hero__media {
    justify-self: center;
    width: 100%;
    max-width: 460px;
    margin-right: 0;
    height: auto;
    aspect-ratio: 986 / 1080;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, var(--container));
  }
  /* marca empilhada: GL em cima, texto centralizado abaixo */
  .header .brand {
    flex-direction: column;
    gap: 8px;
  }
  .header .brand__text {
    align-items: center;
  }
  .brand__logo {
    height: 36px;
  }
  .brand__name {
    font-size: 16px;
  }
  .brand__crp {
    font-size: 9px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 10px;
  }
  .hero__title {
    font-size: clamp(32px, 9vw, 40px);
  }
  .hero__title .accent {
    white-space: normal;
  }
  .hero__text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
  }
  .hero__actions {
    flex-direction: column;
    gap: 4px;
  }
  .hero__media {
    max-width: 360px;
  }

  .wpp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    font-size: 27px;
  }
  .video-modal {
    padding: 16px;
  }
  .video-modal__el {
    border-radius: 16px;
  }
}

/* =========================================================
   TOKENS COMPLEMENTARES (seções internas)
   ========================================================= */
:root {
  --cream: #fffbf5; /* fundo claro */
  --sand: #f4eadb; /* fundo alternado */
  --tint: #efe2cf; /* ícones / badges */
  --line: #eadcc7; /* bordas suaves */
  --shadow-card: 0 22px 54px -26px rgba(90, 53, 40, 0.38);
}

/* =========================================================
   ELEMENTOS COMPARTILHADOS ENTRE AS SEÇÕES
   ========================================================= */
ul,
ol {
  list-style: none;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .section-text {
  margin-inline: auto;
}

.section-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--chocolate);
}
.section-title .accent {
  font-weight: 600;
  color: var(--terracota);
}
.section-title--light {
  color: #fff;
}
.section-title--light .accent {
  color: var(--camel);
}

.section-text {
  font-family: var(--body);
  margin-top: 18px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-mid);
}

.eyebrow--light {
  color: var(--camel);
}

.icon-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--terracota);
  font-size: 19px;
}
.icon-badge--light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--camel);
}

.card-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: var(--chocolate);
}
.card-text {
  font-family: var(--body);
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
}

.section-cta {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

.actions-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.section-cta.actions-row {
  margin-top: 52px;
  justify-content: center;
}

.btn--light {
  padding: 20px 40px;
  font-size: 14px;
  color: var(--chocolate);
  background: var(--ivory);
}
.btn--light:hover {
  background: var(--camel);
}
.btn--light i {
  font-size: 18px;
}

/* =========================================================
   DOR
   ========================================================= */
.pain {
  padding: 110px 0;
  background: var(--cream);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card {
  padding: 32px 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.pain-card .icon-badge {
  margin-bottom: 20px;
}

/* =========================================================
   SOLUÇÃO / COMO FUNCIONA
   ========================================================= */
.solution {
  padding: 110px 0;
  background: var(--sand);
  overflow: hidden;
}
.solution__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.solution__media,
.about__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
/* foto recortada: a parte de cima sai do hexágono, a de baixo é
   cortada pelas bordas do hexágono (--hw = largura, em relação à foto) */
.cutout {
  --hw: 104cqw;
  --hh: calc(var(--hw) * 1.1547); /* hexágono regular, ponta para cima */
  position: relative;
  width: 100%;
  max-width: 480px;
  container-type: inline-size;
}
.photo-shape {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--hw);
  height: var(--hh);
  transform: translateX(-50%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgba(214, 195, 163, 0.55);
}
.cutout img {
  position: relative;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47' preserveAspectRatio='none'%3E%3Cpolygon points='50,0 100,28.87 100,86.6 50,115.47 0,86.6 0,28.87'/%3E%3C/svg%3E");
  mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115.47' preserveAspectRatio='none'%3E%3Cpolygon points='50,0 100,28.87 100,86.6 50,115.47 0,86.6 0,28.87'/%3E%3C/svg%3E");
  -webkit-mask-size:
    100% calc(100% - var(--hh) / 2),
    var(--hw) var(--hh);
  mask-size:
    100% calc(100% - var(--hh) / 2),
    var(--hw) var(--hh);
  -webkit-mask-position: top, 50% 100%;
  mask-position: top, 50% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* variação sem foto: só o hexágono, com o logo centralizado */
.cutout--logo {
  --hw: 100cqw;
  aspect-ratio: 1 / 1.1547;
  display: grid;
  place-items: center;
}
.cutout--logo img {
  width: auto;
  height: calc(var(--hh) * 0.56);
  -webkit-mask-image: none;
  mask-image: none;
}


/* =========================================================
   BENEFÍCIOS
   ========================================================= */
.benefits {
  padding: 0 0 110px;
  background: var(--sand);
}
.benefits__box {
  padding: 90px 64px;
  border-radius: 36px;
  background: var(--chocolate);
}
.benefits__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 40px;
}
.benefit {
  text-align: center;
}
.benefit .icon-badge {
  margin: 0 auto 18px;
}
.benefit .card-title {
  color: #fff;
}
.benefit .card-text {
  color: rgba(250, 243, 230, 0.78);
}

/* =========================================================
   SOBRE MIM
   ========================================================= */
.about {
  padding: 110px 0;
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 72px;
}
.about__title {
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 50px);
}
.about__content .section-text:first-of-type {
  margin-top: 26px;
}


.diff-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 72px;
}
.diff-topic {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px 30px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.diff-topic .card-title {
  font-size: 18px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: 110px 0;
  background: var(--sand);
}
.faq__inner {
  max-width: 880px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  padding: 4px 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: box-shadow 0.25s var(--ease);
}
.faq-item[open] {
  box-shadow: var(--shadow-card);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
  color: var(--chocolate);
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--terracota);
  font-size: 14px;
  transition:
    transform 0.3s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--terracota);
  color: #fff;
}
.faq-item__a {
  padding-bottom: 24px;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
}
.faq-item__a p {
  max-width: 68ch;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  padding: 110px 0;
  background: var(--cream);
}
.cta-box {
  padding: 90px 40px;
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(
      90% 120% at 50% 0%,
      rgba(215, 157, 130, 0.35) 0%,
      rgba(215, 157, 130, 0) 70%
    ),
    var(--sand);
}
.cta-box .section-title {
  max-width: 760px;
  margin-inline: auto;
}
.cta-box .section-text {
  margin-inline: auto;
  max-width: 58ch;
}
.cta-box .btn {
  margin-top: 36px;
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer {
  padding: 32px 0;
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-footer .brand__logo {
  height: 42px;
}
.footer__credit {
  text-align: right;
}
.footer__credit-label {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-mid);
}
.footer__credit-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--chocolate);
}
.footer__credit-name:hover {
  color: var(--terracota);
}

/* =========================================================
   RESPONSIVO — SEÇÕES INTERNAS
   ========================================================= */
@media (max-width: 1080px) {
  .diff-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits__box {
    padding: 72px 40px;
  }
}

@media (max-width: 900px) {
  .pain,
  .solution,
  .about,
  .faq,
  .cta-final {
    padding: 76px 0;
  }
  .benefits {
    padding-bottom: 76px;
  }

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

  .solution__grid,
  .about__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .solution__content,
  .about__content {
    text-align: center;
  }
  .solution__content .section-text,
  .about__content .section-text {
    margin-inline: auto;
  }
  .solution .actions-row {
    justify-content: center;
  }
  .cutout {
    width: 88%;
    max-width: 360px;
  }
  .about__media {
    order: -1;
  }

  .footer__inner {
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }
  .footer__credit {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .section-head {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: clamp(25px, 7vw, 30px);
  }
  .section-text,
  .faq-item__a {
    font-size: 15px;
    line-height: 1.6;
  }
  .card-title,
  .diff-topic .card-title {
    font-size: 18px;
  }
  .card-text {
    font-size: 15px;
  }

  .cards-grid,
  .benefits__list,
  .diff-list {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    gap: 14px;
  }
  .pain-card {
    padding: 26px 22px;
  }

  .actions-row {
    flex-direction: column;
    gap: 4px;
  }
  .section-cta.actions-row {
    margin-top: 40px;
  }
  .section-cta {
    margin-top: 40px;
  }

  .benefits__box,
  .cta-box {
    padding: 54px 22px;
    border-radius: 26px;
  }
  .benefits__list {
    gap: 32px;
  }

  .faq-item {
    padding: 2px 20px;
  }
  .faq-item__q {
    font-size: 17px;
    padding: 20px 0;
  }

  .site-footer .brand__logo {
    height: 32px;
  }

  /* botões menores no mobile */
  .btn--primary,
  .btn--light {
    padding: 15px 26px;
    font-size: 13px;
    gap: 10px;
  }
  .btn--primary i,
  .btn--light i {
    font-size: 16px;
  }
  .btn--text {
    padding-block: 14px;
    font-size: 13px;
  }
}

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

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 6px;
}
