@media (max-width: 1080px) {
  #pai-andre-page { --page-gutter: clamp(24px, 5vw, 54px); }
  #pai-andre-page .header-inner { gap: 17px; }
  #pai-andre-page .desktop-nav { gap: 18px; }
  #pai-andre-page .desktop-nav a { font-size: .7rem; }
  #pai-andre-page .hero-inner { gap: 55px; }
  #pai-andre-page .welcome-card { padding-inline: 18px; }
  #pai-andre-page .welcome-card h3 { font-size: 1.35rem; }
  #pai-andre-page .footer-main { gap: 48px; }
}

@media (max-width: 820px) {
  #pai-andre-page { --sticky-header-height: 78px; }
  #pai-andre-page .desktop-nav { display: none; }
  #pai-andre-page .mobile-nav { display: block; }
  #pai-andre-page .header-inner { min-height: 76px; }
  #pai-andre-page .hero { padding-top: 72px; }
  #pai-andre-page .hero-inner { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); gap: 34px; }
  #pai-andre-page .hero h1 { font-size: clamp(3.8rem, 6.2vw, 4.6rem); }
  #pai-andre-page .hero-art-wrap { padding-right: 20px; }
  #pai-andre-page .hero-side-note { right: -7px; }
  #pai-andre-page .hero-actions { gap: 9px; }
  #pai-andre-page .hero-actions .button { min-height: 49px; gap: 12px; padding: 12px 15px; font-size: .75rem; }
  #pai-andre-page .story-intro-grid { grid-template-columns: 1fr 2fr; gap: 45px; }
  #pai-andre-page .timeline-item { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); }
  #pai-andre-page .timeline-card { width: min(100%, 360px); }
  #pai-andre-page .terreiro-grid { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 46px; }
  #pai-andre-page .buzios-grid { grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 58px; }
  #pai-andre-page .welcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pai-andre-page .welcome-card { min-height: 270px; border-bottom: 1px solid #c3c5c4; }
  #pai-andre-page .welcome-card:nth-child(3), #pai-andre-page .welcome-card:nth-child(4) { border-bottom: 0; }
  #pai-andre-page .welcome-card:nth-child(3) { border-left: 1px solid #c3c5c4; }
  #pai-andre-page .contact-layout { gap: 68px; }
  #pai-andre-page .footer-main { grid-template-columns: 145px 1fr auto; gap: 32px; }
  #pai-andre-page .footer-brand { width: 132px; }
}

@media (max-width: 600px) {
  #pai-andre-page { --page-gutter: 22px; --section-space: 84px; --sticky-header-height: 72px; }
  #pai-andre-page .header-inner { min-height: 70px; }
  #pai-andre-page .brand-signature { height: 56px; }
  #pai-andre-page .header-actions { gap: 8px; }
  #pai-andre-page .header-actions > .button { min-height: 42px; padding: 9px 11px; font-size: .64rem; }
  #pai-andre-page .mobile-nav summary { width: 38px; height: 39px; }
  #pai-andre-page .hero { padding-top: 48px; padding-bottom: 85px; }
  #pai-andre-page .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  #pai-andre-page .hero-copy { padding-block: 10px 0; }
  #pai-andre-page .hero h1 { margin-top: 22px; font-size: clamp(2.65rem, 10.5vw, 4rem); }
  #pai-andre-page .hero-subtitle { margin-top: 24px; font-size: 1.35rem; }
  #pai-andre-page .hero-description { margin-top: 12px; font-size: .88rem; }
  #pai-andre-page .hero-actions { margin-top: 24px; }
  #pai-andre-page .hero-actions .button { min-height: 49px; padding-inline: 14px; font-size: .72rem; }
  #pai-andre-page .hero-actions .button-icon { display: none; }
  #pai-andre-page .hero-note { margin-top: 18px; font-size: .66rem; }
  #pai-andre-page .hero-art-wrap { width: min(100%, 390px); justify-self: center; padding: 0 19px 26px 0; }
  #pai-andre-page .hero-side-note { top: 17%; right: -8px; font-size: .48rem; }
  #pai-andre-page .scroll-cue { right: var(--page-gutter); bottom: 27px; font-size: .53rem; }
  #pai-andre-page .story-intro { padding-top: 12px; }
  #pai-andre-page .story-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  #pai-andre-page .section-heading { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  #pai-andre-page .story-intro-copy { margin-top: 18px; font-size: .9rem; }
  #pai-andre-page .timeline-section { padding-top: 64px; }
  #pai-andre-page .timeline-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 52px; }
  #pai-andre-page .timeline-heading .section-heading { margin-top: 13px; }
  #pai-andre-page .timeline { width: calc(100% - (var(--page-gutter) * 2)); padding-left: 29px; }
  #pai-andre-page .timeline-line, #pai-andre-page .timeline-progress { left: 7px; transform: none; }
  #pai-andre-page .timeline-progress { transform: scaleY(var(--timeline-progress, 0)); transform-origin: top center; }
  #pai-andre-page .timeline-item { display: block; padding-bottom: 70px; }
  #pai-andre-page .timeline-card { width: 100%; }
  #pai-andre-page .timeline-item.is-left .timeline-card, #pai-andre-page .timeline-item.is-right .timeline-card { justify-self: auto; }
  #pai-andre-page .timeline-node { top: 7px; left: -22px; width: 12px; height: 12px; border-width: 2px; transform: none; }
  #pai-andre-page .timeline-item.is-active .timeline-node { transform: scale(1.05); }
  #pai-andre-page.js-enabled .timeline-item .timeline-mono-layer { clip-path: inset(0 0 0 var(--photo-reveal, 0%)); }
  #pai-andre-page .timeline-copy { padding: 19px 1px 0; }
  #pai-andre-page .timeline-copy h3 { font-size: 1.85rem; }
  #pai-andre-page .timeline-copy > p:last-child { font-size: .81rem; }
  #pai-andre-page .terreiro-grid { grid-template-columns: 1fr; gap: 40px; }
  #pai-andre-page .terreiro-copy h2 { margin-top: 23px; font-size: clamp(2.8rem, 13vw, 4rem); }
  #pai-andre-page .terreiro-art figcaption { flex-direction: column; gap: 3px; font-size: .55rem; }
  #pai-andre-page .terreiro-ornament { top: 8%; right: -6%; font-size: 2.2rem; }
  #pai-andre-page .buzios-grid { grid-template-columns: 1fr; gap: 43px; }
  #pai-andre-page .buzios-art-column { width: min(86%, 365px); margin-inline: auto; }
  #pai-andre-page .art-stamp { right: -33px; bottom: 23px; width: 82px; height: 82px; font-size: .43rem; }
  #pai-andre-page .buzios-copy .section-heading { margin-top: 14px; }
  #pai-andre-page .buzios-lead { font-size: .87rem; }
  #pai-andre-page .service-point { grid-template-columns: 38px 1fr; gap: 8px; }
  #pai-andre-page .welcome-heading { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 35px; }
  #pai-andre-page .welcome-heading .section-heading { margin-top: 15px; }
  #pai-andre-page .welcome-heading > p { font-size: .81rem; }
  #pai-andre-page .welcome-grid { grid-template-columns: 1fr; }
  #pai-andre-page .welcome-card { min-height: 0; padding: 23px 20px 25px; border-right: 1px solid #c3c5c4; border-bottom: 1px solid #c3c5c4 !important; border-left: 1px solid #c3c5c4; }
  #pai-andre-page .welcome-card:last-child { border-bottom: 0 !important; }
  #pai-andre-page .welcome-card h3 { max-width: 280px; margin-top: 20px; font-size: 1.55rem; }
  #pai-andre-page .welcome-card p { max-width: 340px; }
  #pai-andre-page .contact-layout { grid-template-columns: 1fr; gap: 46px; }
  #pai-andre-page .contact-copy h2 { margin-top: 22px; font-size: clamp(3rem, 14vw, 4.4rem); }
  #pai-andre-page .contact-copy > p:not(.eyebrow):not(.contact-feedback):not(.contact-pending) { font-size: .88rem; }
  #pai-andre-page .contact-detail > p, #pai-andre-page .detail-action { font-size: 1.2rem; }
  #pai-andre-page .contact-bottom-rule { margin-top: 55px; font-size: .47rem; letter-spacing: .13em; }
  #pai-andre-page .footer-main { grid-template-columns: 124px 1fr; gap: 22px; padding-block: 44px 35px; }
  #pai-andre-page .footer-brand { width: 120px; }
  #pai-andre-page .footer-copy > .footer-description { font-size: .72rem; }
  #pai-andre-page .footer-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 11px 23px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 12%); }
  #pai-andre-page .footer-legal { min-height: 75px; flex-wrap: wrap; justify-content: flex-start; gap: 5px 18px; padding-block: 12px; font-size: .57rem; }
  #pai-andre-page .footer-legal span:nth-child(2) { flex-basis: 100%; order: 1; }
  #pai-andre-page .footer-legal a { margin-left: auto; }
  #pai-andre-page .whatsapp-float { right: 15px; bottom: 15px; width: 50px; height: 50px; }
  #pai-andre-page .contact-feedback-float { right: 76px; bottom: 15px; max-width: calc(100vw - 103px); }
}

@media (max-width: 360px) {
  #pai-andre-page { --page-gutter: 18px; }
  #pai-andre-page .brand-signature { height: 50px; }
  #pai-andre-page .header-actions > .button { padding-inline: 8px; font-size: .58rem; }
  #pai-andre-page .hero-actions { flex-direction: column; align-items: stretch; }
  #pai-andre-page .hero-actions .button { justify-content: space-between; }
}

@media (max-width: 820px) {
  #pai-andre-page .story-opening-grid { grid-template-columns: minmax(145px, .6fr) minmax(0, 1.4fr); gap: 32px; }
  #pai-andre-page .story-opening-label { position: static; }
  #pai-andre-page .buzios-grid { grid-template-columns: minmax(235px, .8fr) minmax(0, 1.2fr); gap: 38px; }
  #pai-andre-page .buzios-art-column { position: static; width: 100%; }
  #pai-andre-page .terreiro-grid { grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: 34px; }
  #pai-andre-page .terreiro-visual { min-height: 360px; padding: 18px; }
  #pai-andre-page .terreiro-stats { right: 16px; bottom: 16px; left: 16px; }
  #pai-andre-page .terreiro-stats > div { padding: 11px; }
  #pai-andre-page .welcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #pai-andre-page .welcome-card:last-child { grid-column: 1 / -1; }
  #pai-andre-page .welcome-card:nth-child(3) { border-left: 1px solid #c3c5c4; }
}

@media (max-width: 600px) {
  #pai-andre-page .hero-inner { grid-template-columns: minmax(0, 1fr); }
  #pai-andre-page .hero-art-frame { aspect-ratio: 4 / 5; }
  #pai-andre-page .story-opening-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  #pai-andre-page .story-opening-label { position: static; }
  #pai-andre-page .story-opening-aside { margin-top: 12px; font-size: 1.1rem; }
  #pai-andre-page .story-opening-copy .section-heading { margin-bottom: 22px; }
  #pai-andre-page .story-opening-copy blockquote { padding-left: 17px; font-size: 1.25rem; }
  #pai-andre-page .story-opening-reflection, #pai-andre-page .story-uncle-note { margin-left: 17px; }
  #pai-andre-page .buzios-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "foto" "texto" "video"; grid-template-rows: auto; gap: 35px; }
  #pai-andre-page .buzios-art-column { width: min(100%, 390px); margin-inline: auto; }
  #pai-andre-page .buzios-film { width: min(100%, 390px); margin-inline: auto; }
  #pai-andre-page .buzios-art { aspect-ratio: 4 / 4.2; }
  #pai-andre-page .buzios-stat { padding: 16px; }
  #pai-andre-page .buzios-purpose { padding: 19px; }
  #pai-andre-page .terreiro-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #pai-andre-page .terreiro-copy h2 { font-size: clamp(2.5rem, 11vw, 3.8rem); }
  #pai-andre-page .terreiro-visual { min-height: 0; padding: 18px; }
  #pai-andre-page .terreiro-visual-mark { top: 30px; font-size: 6rem; transform: translateX(-50%); }
  #pai-andre-page .terreiro-stats { position: relative; right: auto; bottom: auto; left: auto; grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  #pai-andre-page .terreiro-stats > div { min-height: 75px; padding-inline: 16px; }
  #pai-andre-page .terreiro-stats strong { font-size: 1.55rem; }
  #pai-andre-page .welcome-grid { grid-template-columns: minmax(0, 1fr); }
  #pai-andre-page .welcome-card, #pai-andre-page .welcome-card:nth-child(3), #pai-andre-page .welcome-card:last-child { grid-column: auto; border-left: 1px solid #c3c5c4; border-bottom: 1px solid #c3c5c4 !important; }
  #pai-andre-page .welcome-card:last-child { border-bottom: 0 !important; }
  #pai-andre-page .welcome-card { min-height: 0; padding: 24px 20px; }
  #pai-andre-page .welcome-card h3 { margin-top: 20px; }
  #pai-andre-page .contact-layout { grid-template-columns: minmax(0, 1fr); }
  #pai-andre-page .contact-copy h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  #pai-andre-page .footer-nav { border-color: rgb(0 0 0 / 18%); }
  #pai-andre-page .story-opening { padding-block: 72px; }
}

@media (max-width: 360px) {
  #pai-andre-page .header-actions > .button { max-width: 147px; }
  #pai-andre-page .header-actions > .button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 820px) {
  #pai-andre-page .terreiro-carousel-track { grid-auto-columns: calc((100% - var(--carousel-gap)) / 2); }
}

@media (max-width: 600px) {
  #pai-andre-page .terreiro-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 46px; }
  #pai-andre-page .terreiro-gallery-image { aspect-ratio: 1 / 1; }
  #pai-andre-page .terreiro-gallery figcaption { padding-top: 10px; flex-direction: column; align-items: flex-start; }
  #pai-andre-page .terreiro-gallery-place { gap: 7px; font-size: .65rem; letter-spacing: .035em; }
  #pai-andre-page .terreiro-gallery-place > [aria-hidden] { font-size: .55rem; }
  #pai-andre-page .terreiro-carousel-track { grid-auto-columns: calc(100% - 42px); }
  #pai-andre-page .terreiro-visual-photo { min-height: 210px; }
}

@media (max-width: 600px) {
  #pai-andre-page .header-actions > .button { display: none; }
  #pai-andre-page .header-inner { gap: 12px; }
  #pai-andre-page .mobile-nav summary { width: 40px; height: 40px; }
}

