/* Ajustes por largura, preservando a composição da abertura no computador. */
.mobile-menu {
  display: none;
}
.strip-copy {
  display: none;
}
.hero > *,
.everyday > *,
.journey-grid > *,
.profession-panel > *,
.conditions-grid > *,
.about-editorial > *,
.faq-grid > *,
.closing-editorial > * {
  min-width: 0;
}
dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.dialog-close {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1000px) and (min-width: 761px) {
  .profession-copy {
    padding: 32px 26px;
  }
  .profession-copy h3 {
    font-size: 33px;
  }
  .profession-copy .button {
    width: 100%;
    gap: 12px;
  }
  .journey-grid {
    gap: 32px;
  }
  .how-editorial .steps article {
    gap: 16px;
  }
  .how-editorial .steps h3 {
    font-size: 22px;
  }
  .everyday {
    column-gap: 36px;
  }
  .about-editorial {
    gap: 32px;
  }
  .about-copy h2 {
    font-size: 35px;
  }
  .photo-cases .case-body {
    padding: 22px 18px;
  }
  .photo-cases h3 {
    font-size: 24px;
    padding-right: 20px;
  }
  .case-arrow {
    font-size: 26px;
    right: 12px;
  }
  .profession-tabs {
    gap: 8px;
  }
  .profession-tab {
    padding: 12px 16px;
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .header {
    position: relative;
  }
  .header > a {
    order: 0;
  }
  .header > nav,
  .header > .button {
    display: none;
  }
  .mobile-menu {
    display: block;
    order: 1;
    margin-left: auto;
    z-index: 10;
  }
  .mobile-menu summary {
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary > span:last-child {
    font-size: 19px;
  }
  .mobile-menu[open] summary {
    background: var(--paper);
  }
  .header .mobile-menu nav {
    display: flex;
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 15px 35px #1d293d20;
    border-radius: 12px;
  }
  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 10px 8px;
    border-bottom: 1px solid #edf0f4;
    font-size: 14px;
  }
  .mobile-menu nav .button {
    margin-top: 12px;
    min-height: 48px;
  }
  .closing-editorial {
    grid-template-columns: 1fr;
  }
  .closing-editorial .closing-photo {
    min-height: 360px;
  }
  .closing-photo img {
    object-position: center top;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(52px, 17.8vw, 76px);
    letter-spacing: -2px;
  }
  .title-arrow {
    font-size: clamp(58px, 20vw, 88px);
    right: 0;
  }
  .hero .lead {
    font-size: 16px;
  }
  .hero-offer p {
    font-size: 12px;
  }
  .fine,
  .closing small {
    font-size: 11px;
    line-height: 1.6;
  }
  .hero-visual .float-tag {
    font-size: 10px;
    right: 0;
    top: 18px;
    padding: 11px 13px;
  }
  .photo-frame {
    height: clamp(330px, 110vw, 480px);
  }
  .visual-note {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
    font-size: 11px;
  }
  .strip-inner b {
    display: none;
  }
  .section {
    padding-block: 52px;
  }
  .section-intro,
  .everyday > div > p:not(.eyebrow) {
    font-size: 15px;
  }
  .case-link {
    min-height: 44px;
  }
  .photo-cases .case-body p,
  .how-editorial .steps p,
  .profession-copy > p,
  .about-copy > p:not(.eyebrow),
  .faq details p {
    font-size: 14px;
  }
  .profession-tab {
    min-height: 44px;
    font-size: 12px;
  }
  .profession-copy h3 {
    font-size: clamp(29px, 8.5vw, 36px);
  }
  .profession-copy .eyebrow {
    overflow-wrap: anywhere;
  }
  .profession-copy .button {
    min-height: 50px;
    font-size: 12px;
  }
  .calculator #calc-note {
    font-size: 11px;
    line-height: 1.65;
  }
  .calc-top {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .calculator label,
  .calc-row,
  .calc-total {
    font-size: 12px;
  }
  .calc-row {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .calc-total {
    flex-wrap: wrap;
  }
  .calculator output {
    font-size: clamp(36px, 11vw, 49px);
  }
  .calculator input {
    min-height: 44px;
    margin: 0;
  }
  .faq summary {
    min-height: 56px;
    font-size: 14px;
    line-height: 1.5;
    align-items: center;
  }
  .faq-grid > div:first-child {
    text-align: center;
  }
  .faq-grid > div:first-child > .eyebrow {
    justify-content: center;
  }
  .faq-grid > div:first-child > .faq-art {
    margin-inline: auto;
  }
  .everyday > div:first-child,
  .how-editorial .section-heading,
  .audience-heading,
  .about-copy > h2,
  .about-copy > .eyebrow {
    text-align: center;
  }
  .everyday > div:first-child > .eyebrow,
  .how-editorial .section-heading .eyebrow,
  .audience-heading .eyebrow,
  .about-copy > .eyebrow {
    justify-content: center;
  }
  .faq summary span {
    flex-shrink: 0;
  }
  .faq-list details p {
    margin-right: 0;
  }
  .closing-editorial .closing-photo {
    min-height: 320px;
  }
  .closing-editorial p:not(.eyebrow) {
    font-size: 14px;
  }
  .footer-bottom {
    font-size: 11px;
  }
  footer .footer-top {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding-bottom: 24px;
  }
  footer .footer-top > a:last-child {
    width: auto;
    margin: 0;
    justify-content: center;
  }
  footer .footer-top > span {
    font-size: 12px;
  }
  footer .footer-bottom {
    align-items: center;
    text-align: center;
    gap: 18px;
    padding-top: 24px;
  }
  footer .footer-bottom > p {
    max-width: 440px;
    margin-inline: auto;
    line-height: 1.8;
  }
  .footer-top > a:last-child {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  dialog {
    padding: 32px 24px 24px;
  }
  dialog > p:not(.eyebrow) {
    font-size: 14px;
  }
  dialog .button {
    width: 100%;
    min-height: 50px;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .wrap,
  .header {
    width: calc(100% - 32px);
  }
  .header .logo {
    width: 132px;
  }
  .hero {
    padding-top: 30px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  h2,
  .audience-heading h2 {
    font-size: 31px;
  }
  .photo-cases .case-body,
  .profession-copy {
    padding: 24px 20px;
  }
  .photo-cases h3 {
    font-size: 27px;
  }
  .calculator {
    padding: 22px 18px;
  }
  .journey-phone {
    width: 215px;
  }
  .journey-sticker {
    right: 0;
    font-size: 11px;
    padding: 13px 14px;
  }
  .closing-editorial > div:first-child {
    padding: 30px 22px;
  }
  .closing-editorial h2 {
    font-size: 34px;
  }
}

/* Duas sequencias identicas garantem a passagem continua da faixa. */
@media all {
  .promise-strip {
    overflow: hidden;
  }
  .promise-track {
    display: flex;
    width: max-content;
    animation: promise-scroll 24s linear infinite;
  }
  .promise-strip .strip-inner {
    display: flex;
    flex: 0 0 auto;
    justify-content: space-around;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100vw;
    margin: 0;
    padding: 20px 24px;
    gap: 30px;
    white-space: nowrap;
    font-size: 12px;
  }
  .promise-strip .strip-inner b,
  .promise-strip .strip-inner b:nth-of-type(2) {
    display: block;
    color: #b08aff;
    font-size: 22px;
    font-weight: 400;
  }
  .promise-strip .strip-inner::after {
    content: "✳";
    color: #b08aff;
    font-size: 22px;
    line-height: 1.65;
  }
}
@keyframes promise-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .promise-track {
    animation: none;
    width: 100%;
  }
  .promise-strip {
    overflow-x: auto;
  }
  .promise-strip .strip-copy {
    display: none;
  }
}
