/* Julianna Pino — identidade visual e layout responsivo */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./assets/fonts/literata-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./assets/fonts/nunito-sans-latin.woff2") format("woff2");
}

:root {
  --purple: #26216b;
  --yellow: #f7c100;
  --paper: #faf9f5;
  --surface: #f0eee8;
  --white: #fff;
  --ink: #272535;
  --muted: #50505e;
  --line: #dcd9e3;
  --serif: "Literata", Georgia, serif;
  --sans: "Nunito Sans", Arial, sans-serif;
  --section-gap: clamp(80px, 9vw, 130px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
  border-radius: 3px;
}
::selection {
  background: var(--yellow);
  color: var(--purple);
}
.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--purple);
}
.skip-link:focus {
  transform: translateY(0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Coração original em vetor: branco e amarelo, sem fundo ou moldura. */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--purple);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 92px;
  gap: 12px 28px;
  padding-block: 12px;
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 16px;
  color: var(--white);
  white-space: nowrap;
}
.brand__mark {
  position: relative;
  display: block;
  flex: none;
  width: 58px;
  height: 41px;
}
.brand__heart {
  display: block;
  width: 100%;
  height: 100%;
  background: url("./assets/logo-coracao.svg") center / contain no-repeat;
}
.brand__name {
  font: 600 1.2rem/1.2 var(--serif);
  letter-spacing: -0.035em;
}
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 1.6vw, 24px);
  margin-left: auto;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  max-width: 100%;
}
.desktop-nav a,
.site-header__contact {
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease,
    transform 0.2s ease;
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 7px;
}
.desktop-nav a:hover {
  text-decoration-color: var(--yellow);
}
.site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 8px 18px;
  border: 1.5px solid var(--yellow);
  border-radius: 100px;
  background: var(--yellow);
  color: var(--purple);
  font-weight: 700;
  white-space: nowrap;
}
.site-header__contact:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--purple);
}
.site-header :focus-visible {
  outline-color: var(--yellow);
}
.mobile-menu {
  display: none;
}

/* Primeira dobra: respiro assimétrico, retrato em recorte orgânico e traço da marca. */
.hero {
  overflow: hidden;
  padding-top: clamp(50px, 7vw, 106px);
}
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
}
.hero__copy {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}
h1,
h2,
h3,
dt,
summary {
  overflow-wrap: break-word;
}
h1,
h2,
h3,
blockquote {
  color: var(--purple);
}
h1,
h2,
blockquote {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.055em;
}
.hero h1 {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(3rem, 4.7vw, 5.1rem);
  line-height: 1.08;
}
.hero__copy > p:first-of-type {
  max-width: 530px;
  margin-bottom: 22px;
  font-size: clamp(1.07rem, 1.45vw, 1.24rem);
  line-height: 1.6;
}
.hero__solutions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  max-width: 500px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.hero__solutions li {
  padding-left: 12px;
  border-left: 2px solid var(--yellow);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 16px;
}
.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 54px;
  justify-content: center;
  align-items: center;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  background: var(--yellow);
  color: var(--purple);
}
.button--primary:hover {
  background: var(--purple);
  color: var(--white);
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  border-bottom: 2px solid var(--yellow);
  color: var(--purple);
  font-weight: 700;
  line-height: 1.35;
  padding-bottom: 3px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.text-link:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
}
.hero__location {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero__visual {
  position: relative;
  width: min(100%, 502px);
  justify-self: end;
  padding: 24px 0 4px 22px;
}
.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 10%;
  right: -18%;
  width: 91%;
  aspect-ratio: 1;
  border-radius: 53% 47% 39% 61% / 54% 38% 62% 46%;
  background: var(--surface);
}
.hero__line {
  position: absolute;
  z-index: 0;
  top: -3%;
  right: -15%;
  width: 110%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.hero__line path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.88;
}
.hero__portrait {
  position: relative;
  z-index: 1;
  margin: 0;
}
.hero__portrait img {
  width: 100%;
  height: clamp(420px, 43vw, 570px);
  object-fit: cover;
  object-position: center top;
  border-radius: 49% 51% 19% 18% / 39% 39% 9% 10%;
  background: var(--white);
}
.hero__portrait figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
  padding-left: 18px;
  color: var(--purple);
  line-height: 1.4;
}
.hero__portrait figcaption strong {
  font: 600 1.1875rem/1.4 var(--serif);
}
.hero__portrait figcaption span {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Os seguros formam uma peça principal e uma lista editorial aberta. */
.solutions {
  padding-block: clamp(80px, 8vw, 120px) clamp(85px, 9vw, 130px);
}
.solutions__heading {
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: end;
  gap: 42px;
  margin-bottom: 54px;
}
.solutions__heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 3.8vw, 4.1rem);
  line-height: 1.15;
}
.solutions__heading p {
  margin: 0 0 7px;
  color: var(--muted);
  line-height: 1.55;
}
.solutions__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}
.solutions__health {
  position: relative;
  padding: clamp(34px, 5vw, 64px);
  min-height: 430px;
  border-radius: 34px 135px 34px 34px;
  background: var(--surface);
}
.solutions__health::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: -20px;
  width: 92px;
  height: 5px;
  border-radius: 5px;
  background: var(--yellow);
}
.service-icon {
  width: 31px;
  height: 31px;
  flex: none;
  color: var(--purple);
}
.solutions__health .service-icon {
  width: 39px;
  height: 39px;
  margin-bottom: 50px;
}
.solutions__health h3 {
  margin-bottom: 20px;
  font: 500 clamp(2.25rem, 3vw, 3rem) / 1.18 var(--serif);
  letter-spacing: -0.05em;
}
.solutions__health p {
  max-width: 350px;
  margin-bottom: 30px;
}
.solutions__others {
  padding-top: 54px;
}
.solution-entry {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--line);
}
.solution-entry:last-child {
  border-bottom: 1px solid var(--line);
}
.solution-entry h3 {
  margin-bottom: 8px;
  font: 500 clamp(1.5rem, 2vw, 1.9rem) / 1.28 var(--serif);
  letter-spacing: -0.04em;
}
.solution-entry p {
  max-width: 490px;
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.55;
}

/* Atendimento em coluna deslocada, com separadores leves. */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 11vw, 164px);
  padding-block: 56px clamp(80px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.approach__intro {
  max-width: 440px;
}
.approach h2 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 3.8vw, 4.1rem);
  line-height: 1.15;
}
.approach__intro p {
  max-width: 330px;
  margin-bottom: 23px;
  color: var(--muted);
}
.approach__steps {
  padding-top: 20px;
}
.approach__steps article {
  position: relative;
  max-width: 490px;
  padding: 0 0 24px 27px;
  margin-bottom: 26px;
  border-left: 2px solid var(--line);
}
.approach__steps article:last-child {
  margin-bottom: 0;
}
.approach__steps article::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.approach__steps h3 {
  margin-bottom: 6px;
  font: 600 1.26rem/1.3 var(--sans);
}
.approach__steps p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Posicionamento em uma composição ampla, sem faixa na largura da tela. */
.positioning {
  max-width: 1030px;
  padding: 18px 0 18px clamp(24px, 5vw, 70px);
  border-left: 4px solid var(--yellow);
}
.positioning h2 {
  max-width: 900px;
  margin-bottom: 32px;
  font-size: clamp(2.65rem, 4.5vw, 4.6rem);
  line-height: 1.18;
}
.positioning p {
  max-width: 590px;
  margin: 0 5% 0 auto;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Diferenciais abertos, com tipografia e divisores em vez de cards. */
.benefits {
  padding-block: var(--section-gap) clamp(75px, 8vw, 110px);
}
.benefits h2,
.faq h2,
.testimonials h2 {
  max-width: 640px;
  margin-bottom: 42px;
  font-size: clamp(2.5rem, 3.5vw, 3.7rem);
  line-height: 1.2;
}
.benefits__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
}
.benefits__list > div {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.benefits__list dt {
  margin-bottom: 12px;
  color: var(--purple);
  font: 600 1.1875rem/1.4 var(--sans);
}
.benefits__list dd {
  margin: 0;
  color: var(--muted);
}

/* Apresentação pessoal: abertura ampla e biografia em uma coluna de leitura. */
.about {
  padding-bottom: clamp(65px, 7vw, 105px);
}
.about__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(45px, 8vw, 110px);
  padding-block: clamp(55px, 7vw, 95px) 0;
  border-top: 1px solid var(--line);
}
.about__layout::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 9%;
  left: -4%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 51% 49% 64% 36% / 39% 64% 36% 61%;
  background: var(--surface);
  pointer-events: none;
}
.about__layout > * {
  position: relative;
  z-index: 1;
}
.about__intro {
  padding-top: 18px;
}
.about__intro p {
  max-width: 350px;
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.55;
  color: var(--purple);
}
.about__copy {
  max-width: 550px;
}
.about h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 3.5vw, 3.65rem);
  line-height: 1.2;
}
.about__copy p {
  margin-bottom: 18px;
}
.about__invitation {
  margin: 28px 0 16px;
  font: 600 1.1875rem/1.4 var(--sans);
}

/* FAQ nativo: funciona com teclado e sem JavaScript. */
.faq {
  max-width: 960px;
  padding-block: 24px var(--section-gap);
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 21px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--purple);
  font: 600 1.125rem/1.5 var(--sans);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font: 400 1.8rem/1 var(--sans);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 5px;
}
.faq__answer {
  max-width: 770px;
  padding: 0 48px 24px 4px;
  color: var(--muted);
}
.faq__answer p {
  margin-bottom: 0;
}
.testimonials {
  padding-bottom: var(--section-gap);
}
.testimonials__list figure {
  margin: 0;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}
.testimonials__list blockquote {
  max-width: 760px;
  margin: 0 0 16px;
  font: 500 1.4rem/1.6 var(--serif);
}

/* Convite final como peça interna, sem faixa amarela na largura toda. */
.contact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  min-height: 330px;
  padding: clamp(40px, 6vw, 76px);
  border-radius: 32px 122px 32px 32px;
  background: var(--purple);
  color: var(--white);
}
.contact__content {
  max-width: 670px;
}
.contact h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.35rem, 3.65vw, 3.85rem);
  line-height: 1.2;
}
.contact p {
  max-width: 520px;
  margin-bottom: 0;
}
.button--light {
  flex: none;
  background: var(--yellow);
  color: var(--purple);
}
.button--light:hover {
  background: var(--white);
}
.contact :focus-visible {
  outline-color: var(--yellow);
}

.site-footer {
  margin-top: clamp(95px, 10vw, 150px);
  padding-block: 40px 96px;
  background: var(--purple);
  color: var(--white);
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 50px;
  align-items: start;
  padding-block: 42px 55px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.brand--footer {
  align-self: center;
  justify-self: start;
  max-width: 100%;
  gap: 18px;
}
.brand--footer .brand__mark {
  width: 80px;
  height: 60px;
}
.brand--footer .brand__name {
  font-size: clamp(1.25rem, 1.6vw, 1.45rem);
}
.brand__identity {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}
.brand__identity .brand__name {
  white-space: normal;
}
.brand__role {
  font: 400 0.875rem/1.4 var(--sans);
  color: #f3f1ff;
}
.site-footer__main > p {
  max-width: 325px;
  margin: 4px 0 0;
  color: #f3f1ff;
  font-size: 0.96rem;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.site-footer__contact > span {
  font-weight: 700;
}
.site-footer__contact > a {
  font: 500 1.2rem/1.3 var(--serif);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 5px;
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #f3f1ff;
  font-size: 0.875rem;
}
.site-footer__links {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: 30px;
  font-size: 0.9375rem;
}
.site-footer__navigation,
.site-footer__information {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}
.site-footer__links a:hover {
  text-decoration-color: var(--yellow);
}
.site-footer__legal a {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.site-footer__legal a:hover {
  color: var(--yellow);
}
.site-footer :focus-visible {
  outline-color: var(--yellow);
}
.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: #1d2822;
  box-shadow: 0 12px 30px rgba(13, 22, 17, 0.28);
  color: var(--white);
  transition:
    opacity 0.2s ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    visibility 0.2s ease;
}
.whatsapp-float__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: #25d366;
  color: var(--white);
}
.whatsapp-float__icon svg {
  width: 25px;
  height: 25px;
}
.whatsapp-float__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}
.whatsapp-float__copy strong {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
}
.whatsapp-float__copy small {
  color: #c3d2c9;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}
.whatsapp-float:hover {
  background: #253a2d;
  box-shadow: 0 17px 36px rgba(13, 22, 17, 0.32);
  transform: translateY(-2px);
}
.whatsapp-float:focus-visible {
  outline-color: var(--purple);
  box-shadow: 0 0 0 2px var(--white);
}
.whatsapp-float.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Páginas informativas compartilham as fontes e a identidade do site. */
.legal-header__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: auto;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 5px;
}
.legal-content {
  max-width: 800px;
  padding-block: clamp(48px, 7vw, 90px) 24px;
}
.legal-content h1 {
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 4.8vw, 4rem);
  line-height: 1.15;
}
.legal-content h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.3;
}
.legal-content p,
.legal-content li {
  max-width: 760px;
}
.legal-content .text-link {
  margin-top: 12px;
}
.legal-page .site-footer__legal {
  flex-wrap: wrap;
}
.legal-page .site-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.legal-page .site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 980px) {
  .desktop-nav {
    gap: 18px;
  }
  .site-header__inner {
    gap: 18px;
  }
  .solutions__layout {
    gap: 52px;
  }
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 25px 46px;
  }
  .site-footer__contact {
    grid-column: 2;
  }
}

@media (max-width: 1024px) {
  .site-header__inner {
    min-height: 78px;
    justify-content: space-between;
  }
  .desktop-nav,
  .site-header__contact {
    display: none;
  }
  .mobile-menu {
    position: relative;
    display: block;
    color: var(--white);
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 88px;
    min-height: 44px;
    justify-content: flex-end;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu__lines,
  .mobile-menu__lines::before,
  .mobile-menu__lines::after {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transition: transform 0.2s ease;
  }
  .mobile-menu__lines {
    position: relative;
  }
  .mobile-menu__lines::before,
  .mobile-menu__lines::after {
    position: absolute;
    content: "";
    left: 0;
  }
  .mobile-menu__lines::before {
    top: -6px;
  }
  .mobile-menu__lines::after {
    top: 6px;
  }
  .mobile-menu[open] .mobile-menu__lines {
    background: transparent;
  }
  .mobile-menu[open] .mobile-menu__lines::before {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-menu[open] .mobile-menu__lines::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 17px);
    right: -1px;
    width: min(310px, calc(100vw - 32px));
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    background: var(--purple);
    box-shadow: 0 12px 28px rgba(38, 33, 107, 0.14);
  }
  .mobile-menu nav a {
    display: block;
    padding: 11px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
  }
  .mobile-menu nav a:last-child {
    border-bottom: 0;
    color: var(--yellow);
  }
  .benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
  }
  .site-footer__links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 820px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    gap: 10px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
  }
  .hero__portrait img {
    height: 460px;
  }
  .solutions__heading {
    grid-template-columns: 1fr 230px;
  }
  .solutions__health {
    padding: 37px;
  }
  .contact {
    align-items: start;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .whatsapp-float {
    right: calc(15px + env(safe-area-inset-right, 0px));
    bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    min-height: 56px;
    justify-content: center;
    padding: 5px;
  }
  .whatsapp-float__copy {
    display: none;
  }
}

@media (max-width: 650px) {
  html {
    scroll-padding-top: 75px;
  }
  .container {
    width: min(100% - 36px, 520px);
  }
  .brand__mark {
    width: 52px;
    height: 37px;
  }
  .brand__name {
    font-size: 1.04rem;
  }
  .hero {
    padding-top: 44px;
  }
  .hero__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }
  .hero__copy {
    padding-bottom: 0;
  }
  .hero h1 {
    max-width: 560px;
    margin-bottom: 21px;
    font-size: clamp(2.55rem, 9.3vw, 3.75rem);
  }
  .hero__copy > p:first-of-type {
    margin-bottom: 27px;
    font-size: 1.06rem;
  }
  .hero__actions {
    gap: 15px;
  }
  .hero__location {
    margin-top: 25px;
  }
  .hero__visual {
    width: min(88%, 390px);
    align-self: center;
    padding-left: 0;
  }
  .hero__portrait img {
    height: clamp(390px, 100vw, 520px);
  }
  .hero__line {
    right: -12%;
  }
  .solutions {
    padding-block: 72px 85px;
  }
  .solutions__heading {
    display: block;
    margin-bottom: 31px;
  }
  .solutions__heading h2 {
    font-size: clamp(2.3rem, 7.5vw, 3.25rem);
    margin-bottom: 17px;
  }
  .solutions__heading p {
    max-width: 440px;
  }
  .solutions__layout {
    display: block;
  }
  .solutions__health {
    min-height: auto;
    padding: 39px 31px 45px;
    border-radius: 29px 100px 29px 29px;
  }
  .solutions__health .service-icon {
    margin-bottom: 32px;
  }
  .solutions__health h3 {
    font-size: 2.35rem;
  }
  .solutions__others {
    padding-top: 67px;
  }
  .solution-entry {
    gap: 13px;
  }
  .approach {
    display: block;
    padding-block: 48px 76px;
  }
  .approach h2 {
    font-size: clamp(2.55rem, 8vw, 3.6rem);
  }
  .approach__steps {
    padding-top: 50px;
  }
  .about {
    padding-bottom: 65px;
  }
  .about__layout {
    display: block;
    padding-block: 54px 0;
  }
  .about__layout::before {
    top: 5%;
    width: 60%;
  }
  .about__intro {
    padding-top: 0;
  }
  .about__intro p {
    max-width: 440px;
  }
  .about__copy {
    max-width: 490px;
    margin: 34px 0 0;
  }
  .positioning {
    padding-left: 22px;
  }
  .positioning h2 {
    font-size: clamp(2.35rem, 7.8vw, 3.35rem);
    margin-bottom: 24px;
  }
  .positioning p {
    margin: 0;
    font-size: 1.0625rem;
  }
  .benefits {
    padding-block: 72px 65px;
  }
  .benefits h2,
  .faq h2 {
    font-size: clamp(2.25rem, 7.5vw, 3.2rem);
    margin-bottom: 30px;
  }
  .benefits__list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .benefits__list > div {
    padding-top: 20px;
  }
  .faq {
    padding-block: 10px 75px;
  }
  .faq summary {
    gap: 16px;
    font-size: 1.0625rem;
  }
  .faq__answer {
    padding-right: 32px;
  }
  .contact {
    min-height: auto;
    padding: 40px 30px 45px;
    border-radius: 26px 75px 26px 26px;
  }
  .contact h2 {
    font-size: clamp(2.3rem, 7.5vw, 3.3rem);
  }
  .site-footer {
    margin-top: 90px;
  }
  .site-footer__main {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-block: 36px 39px;
  }
  .site-footer__main > p {
    margin-top: 0;
  }
  .brand--footer {
    align-self: flex-start;
    gap: 16px;
  }
  .brand--footer .brand__mark {
    width: 70px;
    height: 52px;
  }
  .brand--footer .brand__name {
    font-size: 1.25rem;
  }
  .site-footer__contact {
    gap: 4px;
  }
  .site-footer__legal {
    flex-direction: column;
    gap: 8px;
  }
  .site-footer__navigation,
  .site-footer__information {
    gap: 4px 20px;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 12px;
  }
  .brand__mark {
    width: 46px;
    height: 33px;
  }
  .brand__name {
    font-size: 0.95rem;
  }
  .hero__portrait img {
    height: 375px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy,
  .hero__visual {
    animation: arrive 0.65s ease-out both;
  }
  .hero__visual {
    animation-delay: 0.13s;
  }
  .hero__line path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw-line 1.7s ease-out 0.3s forwards;
  }
  .faq details[open] .faq__answer {
    animation: arrive 0.22s ease-out;
  }
  .motion-ready .reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.8s ease,
      transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .motion-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .solution-entry:nth-child(2),
  .approach__steps article:nth-child(2) {
    --reveal-delay: 85ms;
  }
  .solution-entry:nth-child(3),
  .approach__steps article:nth-child(3) {
    --reveal-delay: 170ms;
  }
  .brand__heart,
  .service-icon {
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .brand:hover .brand__heart,
  .solution-entry:hover .service-icon,
  .solutions__health:hover .service-icon {
    transform: translateY(-3px);
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes draw-line {
    to {
      stroke-dashoffset: 0;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
