/* ==========================================================================
   responsive.css — Adaptação para notebooks pequenos, tablets e celulares
   - ≥ 1180px  : layout desktop original (container de 980px)
   - 1000–1179 : mesmo layout desktop, levemente reduzido (zoom)
   - < 1000px  : layout empilhado baseado na versão móvel do Wix
   ========================================================================== */

/* ---------- Notebooks pequenos ---------- */
@media (min-width: 1100px) and (max-width: 1179px) {
  main > .section,
  .site-footer {
    zoom: 0.93;
  }

  .main-nav {
    margin-left: 40px;
  }

  .main-nav__link {
    padding-inline: 26px;
  }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  main > .section,
  .site-footer {
    zoom: 0.85;
  }

  .main-nav {
    margin-left: 24px;
  }

  .main-nav__link {
    padding-inline: 22px;
  }
}

/* Telas muito largas: nada a fazer — o conteúdo fica centralizado
   e os fundos ocupam toda a largura, como no original. */

/* =====================================================================
   TABLET E CELULAR (< 1000px)
   Layout empilhado e fluido: mesmas cores, fontes e conteúdo do
   desktop, com textos maiores e blocos que ocupam a largura da tela.
   ===================================================================== */
@media (max-width: 999px) {

  /* ---------- Base ---------- */
  :root {
    --color-text-soft: #6b6182;   /* subtítulo mais legível em tela pequena */
    --mobile-gutter: 20px;
    --mobile-max: 560px;
  }

  .container {
    width: calc(100% - var(--mobile-gutter) * 2);
    max-width: var(--mobile-max);
  }

  .section,
  .hero,
  .sobre,
  .metodologia,
  .avaliacoes,
  .contato,
  .site-footer {
    height: auto;
  }

  .title--section,
  .sobre__title,
  .metodologia__title,
  .avaliacoes__title {
    font-size: clamp(30px, 8vw, 38px);
    text-align: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    height: 50px;
    font-size: 16px;
  }

  /* ---------- Cabeçalho ---------- */
  .site-header__inner {
    width: calc(100% - 40px);
    padding-bottom: 0;
  }

  .site-header__logo {
    width: 51px;
    height: 50px;
    margin-top: 0;
  }

  .main-nav,
  .btn--header {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-right: -8px;
  }

  .mobile-menu__link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.02em;
  }

  /* ---------- Botões flutuantes ---------- */
  .whatsapp-float {
    display: none;
  }

  .back-to-top {
    display: flex;
  }

  /* ---------- Início ---------- */
  .hero__inner {
    padding: 56px 0 72px;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__title {
    width: auto;
    max-width: 560px;
    font-size: clamp(34px, 9.5vw, 52px);
    line-height: 1.08;
  }

  .hero__text {
    width: auto;
    max-width: 34em;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.6;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 32px;
  }

  .hero__actions .btn {
    max-width: none;
  }

  .hero__illustration {
    position: static;
    width: min(78%, 320px);
    height: auto;
    aspect-ratio: 1;
    margin: 44px auto 0;
  }

  .hero__cloud-1        { top: 18px;   left: auto; right: 4px;   width: 84px; height: 63px; }
  .hero__balloon-yellow { top: 96px;   left: auto; right: 10px;  width: 34px; height: 43px; }
  .hero__balloon-red    { top: auto; bottom: 250px; left: 14px;  width: 42px; height: 53px; }
  .hero__balloon-teal   { top: auto; bottom: 96px;  left: auto; right: 12px; width: 42px; height: 53px; }
  .hero__cloud-2        { top: auto; bottom: 20px;  left: 18px;  right: auto; width: 70px; height: 53px; }

  /* ---------- Sobre mim ---------- */
  .sobre__inner {
    display: flex;
    flex-direction: column;
    padding: 64px 0 72px;
  }

  .sobre__content {
    display: contents;
  }

  .sobre .eyebrow     { order: 1; text-align: center; font-size: 14px; letter-spacing: 0.08em; }
  .sobre__title       { order: 2; margin-top: 8px; }
  .sobre__media       { order: 3; }
  .sobre__text        { order: 4; }
  .checklist          { order: 5; }
  .sobre__btn         { order: 6; }

  /* Foto + hexágonos: proporções do layout móvel original, em %,
     para crescer junto com a tela */
  .sobre__media {
    position: relative;
    inset: auto;
    align-self: center;
    width: min(100%, 420px);
    aspect-ratio: 320 / 356;
    margin-top: 28px;
  }

  .sobre__photo { top: 0; left: 7.81%; width: 84.375%; height: 97.47%; }

  .sobre__hex--1 { top: 30.06%; left: 3.44%;  width: 34.375%; height: 26.69%; }
  .sobre__hex--2 { top: 8.99%;  left: 11.25%; width: 28.125%; height: 21.91%; }
  .sobre__hex--3 { top: 20.51%; left: 44.06%; width: 34.375%; height: 26.69%; }
  .sobre__hex--4 { top: 38.76%; left: 65.63%; width: 34.375%; height: 26.69%; }
  .sobre__hex--5 { top: 64.61%; left: 70%;    width: 28.125%; height: 21.91%; }
  .sobre__hex--6 { top: 65.45%; left: 3.44%;  width: 28.125%; height: 21.91%; }

  .sobre__bar {
    display: block;
    top: auto;
    bottom: 0;
    left: 50%;
    z-index: 2;
    width: 100vw;
    height: 18px;
    background: var(--color-pink);
    transform: translateX(-50%);
  }

  .sobre__text {
    width: auto;
    margin-top: 32px;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
  }

  .sobre__text p + p {
    margin-top: 18px;
  }

  .checklist {
    grid-template-columns: 1fr;
    row-gap: 12px;
    margin-top: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
  }

  .checklist__item {
    white-space: normal;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
  }

  .sobre__btn {
    align-self: center;
    margin-top: 32px;
  }

  /* ---------- Metodologia ---------- */
  .metodologia__inner {
    padding: 64px 0 72px;
  }

  .metodologia__grid {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 28px;
  }

  .metodologia__col,
  .metodologia__col--left,
  .metodologia__col--right {
    display: contents;
  }

  /* foto em arco no topo da seção */
  .metodologia__photo {
    order: -1;
    align-self: center;
    width: min(56%, 230px);
    height: auto;
    aspect-ratio: 245 / 363;
    margin-bottom: 12px;
  }

  .method,
  .metodologia__col--right .method {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    align-items: start;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    text-align: left;
  }

  /* ícone ao lado do título; descrição ocupa toda a largura do cartão */
  .method__body {
    display: contents;
  }

  .method__title {
    align-self: center;
  }

  .method__icon {
    width: 56px;
    height: 56px;
  }

  .method__title,
  .method__title--narrow {
    max-width: none;
    font-size: 24px;
    line-height: 1.12;
  }

  .method__text,
  .metodologia__col--left .method:first-child .method__text,
  .metodologia__col--left .method--wide .method__text,
  .metodologia__col--right .method:first-child .method__text,
  .metodologia__col--right .method:last-child .method__text {
    grid-column: 1 / -1;
    max-width: none;
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.6;
  }

  /* ---------- Avaliações ---------- */
  .avaliacoes__inner {
    padding: 64px 0 72px;
  }

  .avaliacoes .stars {
    margin-top: 12px;
    gap: 8px;
  }

  .avaliacoes .stars img {
    width: 24px;
    height: 24px;
  }

  .testimonials {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 28px;
  }

  .testimonials__photo {
    position: relative;
    top: auto;
    left: auto;
    width: min(66%, 260px);
    height: auto;
    aspect-ratio: 327 / 437;
  }

  .carousel {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin-top: -48px;
    border-radius: 24px;
    overflow: hidden;
  }

  /* altura acompanha o depoimento mais longo */
  .carousel__viewport {
    position: relative;
    inset: auto;
  }

  .carousel__track {
    height: auto;
    align-items: stretch;
  }

  .carousel__slide {
    height: auto;
    justify-content: flex-start;
    padding: 76px 24px 64px;
  }

  .testimonial__quote {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.01em;
  }

  .testimonial__author {
    margin-top: 16px;
    font-size: 16px;
  }

  .carousel__arrow {
    display: none;
  }

  .carousel__dots {
    top: auto;
    bottom: 18px;
    gap: 6px;
  }

  .carousel__dot {
    width: 24px;
    height: 24px;
    padding: 8px;
    border-radius: 50%;
  }

  /* ---------- Contato ---------- */
  .contato__inner {
    padding: 64px 0 40px;
  }

  .contact-card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    padding: 40px 28px;
    border-radius: 36px;
  }

  .contact-card__title {
    margin-top: 18px;
    font-size: 20px;
  }

  .contact-card__info {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.5;
  }

  .contact-card__info p + p {
    margin-top: 14px;
  }

  .contact-card__city,
  .contact-card__label {
    font-weight: 400;
  }

  .contact-card__info a {
    color: var(--color-pink);
    font-weight: 600;
    overflow-wrap: anywhere;
  }

  .contact-card .social {
    gap: 28px;
    margin-top: 28px;
  }

  .social a,
  .social img {
    width: 28px;
    height: 28px;
  }

  /* arte (criança, nuvem e balões) em %, crescendo com a tela */
  .contato__art {
    position: relative;
    inset: auto;
    width: min(100%, 440px);
    aspect-ratio: 320 / 294;
    margin: 32px auto 0;
  }

  .contato__photo         { top: 26.87%; left: 6.875%; width: 87.5%;  height: 53.4%; }
  .contato__photo img     { width: 100%; height: 100%; }
  .contato__cloud         { top: 63.27%; left: 8.44%;  width: 85.94%; height: 36.73%; }
  .contato__balloon-blue  { top: 0;      left: 65.63%; width: 18.75%; height: 25.85%; }
  .contato__balloon-lilac { top: 5.44%;  left: 20%;    width: 18.75%; height: 25.51%; }
  .contato__balloon-pink  { top: 27.89%; left: 6.875%; width: 10.94%; height: 14.97%; }

  /* ---------- Rodapé ---------- */
  .site-footer__inner {
    padding: 28px 0 32px;
  }

  .site-footer__logo {
    width: 60px;
    height: 59px;
  }

  .site-footer__name {
    margin-top: 8px;
    font-size: 26px;
  }

  .site-footer__line {
    margin-top: 14px;
  }

  .site-footer__copy {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
  }
}

/* ---------- Celulares estreitos ---------- */
@media (max-width: 359px) {
  .contact-card {
    padding-inline: 22px;
  }

  .contact-card__info {
    font-size: 15.5px;
  }
}

/* ---------- Tablets (700–999px): duas colunas onde cabe ---------- */
@media (min-width: 700px) and (max-width: 999px) {
  :root {
    --mobile-max: 680px;
  }

  .hero__actions {
    flex-direction: row;
  }

  .hero__actions .btn {
    flex: 1;
  }

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

  .metodologia__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .metodologia__photo {
    grid-column: 1 / -1;
    justify-self: center;
    width: 230px;
  }
}
