/* ============================================================
   TÉTHYS — home.css
   Réplica exata do design de referência
   Paleta: #9e6f79, #8d574b, #9a6052, #703a43, #7c625d, #faf2e1
   Fontes: Amaranth (display) + Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Amaranth:ital,wght@0,400;0,700;1,400;1,700&family=Jost:wght@300;400;500;600;700&display=swap');

/* ── VARIÁVEIS ─────────────────────────────────────────────── */
:root {
  color-scheme: light only;

  --rose:    #9a6052;   /* sobre section bg */
  --terra:   #8d574b;   /* acentos */
  --sand:    #8d574b;   /* manifesto bg */
  --header:  #9b6153;
  --plum:    #6f3a42;   /* footer, strip topo */
  --brown:   #7c625d;
  --cream:   #faf2e1;   /* hero panel, contact strip */

  --font-d: 'Amaranth', Georgia, serif;
  --font-b: 'Jost', Arial, sans-serif;
  --section-title-size: clamp(1.1875rem, 1.7vw, 1.6875rem);
  --section-copy-padding-y: clamp(3rem, 4.8vw, 4.5rem);

  --nav-h: 177px;
  --ease: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: #3a2420;
  background: var(--cream);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-b); }
.registered-symbol { color: #fff; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar-wrap {
  position: relative;
  z-index: 100;
  background: var(--header);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: visible;
}

.navbar-inner {
  position: relative;
  background: var(--header);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 16px;
}

.brand-logo {
  width: 300px;
  height: auto;
  max-height: calc(var(--nav-h) - 24px);
  object-fit: contain;
}

/* Desktop nav */
.main-nav {
  position: absolute;
  top: 101px;
  right: 85px;
  bottom: 63px;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.4rem);
}

.nav-link {
  font-family: var(--font-b);
  font-size: clamp(0.6rem, 0.72vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.78);
  padding: 0.3em 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--cream); font-weight: 600; }

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.75rem;
  right: -0.75rem;
  height: 1rem;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  z-index: 200;
  min-width: 13.5rem;
  padding: 0.7rem 0;
  background: rgba(111,58,66,0.96);
  color: var(--cream);
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown--right {
  left: auto;
  right: 0;
  transform: translate(0, 8px);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.nav-item:hover .nav-dropdown--right,
.nav-item:focus-within .nav-dropdown--right {
  transform: translate(0, 0);
}

.nav-dropdown a {
  display: block;
  padding: 0.42rem 0.85rem;
  font-family: var(--font-b);
  font-size: clamp(0.6rem, 0.72vw, 0.72rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.78);
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus {
  background: rgba(250,242,225,0.1);
  color: var(--cream);
}

/* Hamburger → MENU text */
.hamburger {
  display: none;
  align-items: center;
  padding: 4px 2px;
  color: rgba(250,242,225,0.78);
  transition: color 0.18s ease;
}
.hamburger:hover { color: var(--cream); }
.hamburger-text {
  font-family: var(--font-b);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--header);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(5%);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.mobile-close {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--font-b);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.5);
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(250,242,225,0.18);
  transition: color 0.18s ease, border-color 0.18s ease;
}
.mobile-close:hover {
  color: var(--cream);
  border-color: rgba(250,242,225,0.45);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 5.5rem 2rem 3rem;
  gap: 0;
  height: 100%;
  overflow-y: auto;
}

.mobile-nav > a,
.mobile-nav-group > a {
  font-family: var(--font-b);
  font-size: clamp(1.35rem, 5vw, 1.6rem);
  font-weight: 400;
  color: var(--cream);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(250,242,225,0.08);
  text-align: left;
  transition: color 0.18s ease;
}
.mobile-nav > a:hover,
.mobile-nav-group > a:hover { color: rgba(250,242,225,0.72); }

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.4rem 0 0.6rem 1rem;
  border-bottom: 1px solid rgba(250,242,225,0.08);
}

.mobile-subnav a {
  font-family: var(--font-b);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: none;
  color: rgba(250,242,225,0.45);
  padding: 0.35rem 0;
  transition: color 0.18s ease;
}
.mobile-subnav a:hover { color: rgba(250,242,225,0.8); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  width: 100%;
  background: var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: clamp(420px, 52vw, 680px);
  overflow: hidden;
}

/* Imagem */
.hero-img {
  grid-column: span 3;
  overflow: hidden;
  position: relative;
}

/* Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  will-change: opacity;
}

.hero-carousel.carousel-ready .hero-slide {
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Painel creme direito */
.hero-panel {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.25rem, 5vw, 6rem) clamp(1.75rem, 4vw, 5rem);
}

/* Bloco superior: "Bem-vindos..." */
.hero-panel-top {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding-bottom: 1.5rem;
}

.hero-welcome {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--rose);
  letter-spacing: 0.01em;
}

/* Bloco inferior: linhas descritivas */
.hero-panel-bottom {
  padding-top: 0;
}

.hero-lines {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--rose);
  line-height: 1.35;
  margin: 0;
}

/* ── SOBRE ─────────────────────────────────────────────────── */
/*
   4 colunas horizontais:
   col1 (título italic) | col2 (parágrafos) | col3 (parágrafos) | col4 (foto)
   Fundo: #9a6052 (terra/rose médio)
*/
.sobre {
  background: var(--rose);
  overflow: visible;
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  overflow: visible;
}

.sobre-col {
  min-width: 0;
  padding: 0 clamp(1.35rem, 2.6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

/* Col 1 — título grande italic */
.sobre-col--title {
  background: var(--rose);
}

.sobre-col--text {
  background: var(--rose);
}

.sobre-title {
  font-family: var(--font-d);
  font-size: var(--section-title-size);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: right;
}

.sobre-body {
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 0.85em;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.sobre-body:last-child { margin-bottom: 0; }

/* Col 4 — foto */
.sobre-col--photo {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  position: relative;
}
.sobre-col--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.sobre-col--photo.reveal {
  opacity: 1;
  transform: none;
}

/* ── MANIFESTO ─────────────────────────────────────────────── */
.manifesto {
  background: var(--sand);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.manifesto-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.manifesto-quotes {
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 0.55;
  color: rgba(250,242,225,0.95);
  margin: 0 auto 0.75rem;
}

.manifesto-quote {
  font-family: var(--font-d);
  font-size: var(--section-title-size);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 0 auto 1rem;
  text-wrap: balance;
}

.manifesto-author {
  font-family: var(--font-b);
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.55);
}

/* ── CONTACTO STRIP ────────────────────────────────────────── */
.contact-strip {
  background: #e4d8cc;
  border-top: 1px solid rgba(112,58,67,0.1);
  border-bottom: 1px solid rgba(112,58,67,0.1);
  padding: clamp(1.2rem, 2vw, 1.8rem) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: min(1200px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin: 0 auto;
}

.contact-label {
  font-family: var(--font-d);
  font-size: var(--section-title-size);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #5f363b;
}

.contact-phone {
  text-align: right;
}
.contact-phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 400;
  color: #5f363b;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid rgba(112,58,67,0.15);
  border-radius: 6px;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.contact-phone a:hover { color: var(--plum); }
.contact-phone svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.contact-insta {
  text-align: left;
}
.contact-insta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 400;
  color: #5f363b;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid rgba(112,58,67,0.15);
  border-radius: 6px;
  transition: color 0.18s ease;
  white-space: nowrap;
}
.contact-insta a:hover { color: var(--plum); }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: #6f3a42;
  padding-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-inner {
  width: min(1200px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(250,242,225,0.16);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Brand */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem;
}

.footer-logo {
  width: 340px;
  max-width: 100%;
  height: auto;
}

/* Columns */
.footer-col-title {
  font-family: var(--font-b);
  font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.78);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  font-weight: 400;
  color: rgba(250,242,225,0.86);
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--cream); }

/* Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
  color: rgba(250,242,225,0.7);
  letter-spacing: 0.03em;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}
.footer-social a {
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.72);
  transition: color 0.18s ease;
}
.footer-social a:hover { color: var(--cream); }

.about-footer {
  padding-top: clamp(2.4rem, 4.2vw, 3.8rem);
}

.about-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  box-sizing: border-box;
}

.about-footer-logo {
  margin-bottom: 0;
}

.about-footer-logo img {
  width: 100%;
  max-width: 220px;
}

.about-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}

.about-contact-links a {
  display: inline-flex;
  background: transparent;
  color: rgba(250,242,225,0.86);
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  font-weight: 400;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.55rem;
  border: 1px solid rgba(250,242,225,0.3);
  border-radius: 6px;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.about-contact-links a:hover {
  border-color: rgba(250,242,225,0.65);
  color: var(--cream);
}


.about-footer-copy {
  color: rgba(250,242,225,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.image-edit-button {
  position: absolute;
  z-index: 9999;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #faf2e1;
  color: #6f3a42;
  border: 2px solid #6f3a42;
  box-shadow: 0 6px 18px rgba(58,36,32,0.28);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.image-editor-trigger {
  display: block;
  margin: 1.25rem auto 0;
  opacity: 0.22;
  color: rgba(250,242,225,0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.45rem;
}

.image-editor-trigger:hover,
.image-editor-trigger:focus {
  opacity: 0.9;
  color: var(--cream);
}

.image-editor-badge {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9999;
  background: #6f3a42;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.7rem;
  box-shadow: 0 8px 24px rgba(58,36,32,0.22);
}

.image-editor-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1001;
  width: min(22rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: rgba(250,242,225,0.97);
  color: #5f363b;
  border: 1px solid rgba(95,54,59,0.18);
  box-shadow: 0 18px 50px rgba(58,36,32,0.22);
  padding: 1rem;
}

.image-editor-panel h2 {
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.image-editor-name {
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(95,54,59,0.72);
  margin-bottom: 0.85rem;
}

.image-editor-controls label {
  display: grid;
  grid-template-columns: 4.8rem 1fr 3rem;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.image-editor-controls input[type="range"] {
  width: 100%;
}

.image-editor-controls output {
  text-align: right;
  font-size: 0.7rem;
  font-weight: 700;
}

.image-editor-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0.85rem 0;
}

.image-editor-actions {
  display: flex;
  gap: 0.5rem;
}

.image-editor-actions button {
  background: #6f3a42;
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.65rem;
}

.image-editor-code {
  margin-top: 0.8rem;
  background: rgba(95,54,59,0.08);
  color: #5f363b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  white-space: pre-wrap;
  padding: 0.7rem;
}

/* ── HERO PANEL ENTRANCE ───────────────────────────────────── */
.hero-panel--animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.hero-panel--animate.hero-panel--in {
  opacity: 1;
  transform: translateY(0);
}

/* Desactivar fade-in em páginas não-home */
.sessoes-page .reveal,
.therapy-page .reveal,
.about-page .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── TIPOGRAFIA GLOBAL ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 400;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* ── RESPONSIVIDADE ────────────────────────────────────────── */

/* Ecrãs grandes 1200px+ — navbar com logo mais equilibrada */
@media (max-width: 1200px) {
  .brand-logo {
    width: clamp(180px, 24vw, 300px);
    height: auto;
    max-height: calc(var(--nav-h) - 24px);
  }
}

/* Tablet grande 1024px */
@media (max-width: 1024px) {
  :root { --nav-h: 130px; }

  .main-nav {
    top: auto;
    bottom: 14px;
    right: clamp(1rem, 3vw, 2.5rem);
    gap: clamp(0.5rem, 1vw, 1rem);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .about-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-footer-message {
    grid-column: span 2;
  }

}

/* Tablet médio 900px — sobre comprime, contact empilha */
@media (max-width: 900px) {
  :root { --nav-h: 100px; }

  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    height: auto;
    overflow: visible;
  }
  .sobre-col--photo {
    grid-column: 1 / -1;
    height: clamp(330px, 96vw, 520px);
    min-height: 0;
    order: -1;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .contact-label { text-align: center; }
  .contact-phone,
  .contact-insta {
    grid-column: auto;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-footer-message {
    grid-column: 1 / -1;
  }

}

/* Tablet 768px */
@media (max-width: 768px) {
  .main-nav {
    position: static;
    display: none;
  }
  .hamburger { display: flex; }

  .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }
  .hero-img {
    grid-column: auto;
    height: clamp(300px, 82vw, 420px);
    min-height: 0;
  }
  .hero-panel {
    min-height: auto;
    padding: 1.5rem 1rem;
    align-items: center;
    text-align: center;
  }
  .hero-panel-top {
    justify-content: center;
    padding-bottom: 1rem;
  }
  .hero-welcome {
    font-size: 22px;
    line-height: 1.35;
    max-width: 22rem;
    text-align: center;
  }
  .hero-welcome br {
    display: none;
  }
  .hero-panel-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 0.25rem;
    width: min(100%, 24rem);
  }
  .hero-lines {
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
  }
  .sobre-col {
    align-items: flex-start;
    padding: 0 1.5rem;
    text-align: left;
  }
  .sobre-title {
    text-align: left;
    font-size: clamp(1rem, 4.5vw, 1.4rem);
  }
  .contact-label {
    font-size: clamp(1rem, 4.5vw, 1.4rem);
    line-height: 1.35;
  }
  .contact-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .contact-label {
    grid-column: 1 / -1;
  }
  .contact-phone,
  .contact-insta {
    grid-column: auto;
    text-align: center;
  }
  .contact-phone a,
  .contact-insta a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 6px clamp(8px, 2.5vw, 12px);
    font-size: clamp(0.72rem, 3.4vw, 0.88rem);
    text-align: center;
  }
  .sobre-body { text-align: left; }
  .sobre-col--photo {
    padding: 0;
    height: clamp(330px, 96vw, 520px);
    min-height: 0;
    order: -1;
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }

  .about-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-footer-message {
    grid-column: 1 / -1;
  }

}

/* Mobile 480px */
@media (max-width: 480px) {
  :root { --nav-h: 116px; }

  .brand {
    padding-left: 0;
  }
  .brand-logo {
    width: 210px;
    height: auto;
    max-height: calc(var(--nav-h) - 18px);
  }
  .hero-img { height: clamp(360px, 105vw, 560px); }
  .hero-panel { padding: 1.5rem 1.35rem; }
  .hero-welcome { font-size: 18px; }
  .hero-lines { font-size: 13px; }

  .sobre-col { padding: 0 1.35rem; }
  .sobre-col--photo { padding: 0; }

  .manifesto {
    padding: 0 1.5rem;
  }

  .contact-inner { width: calc(100% - 2.7rem); }

  .footer {
    padding-top: 2rem;
  }

  .about-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.2rem;
    row-gap: 1.4rem;
  }
  .about-footer-message {
    grid-column: 1 / -1;
    order: -1;
  }
  .about-contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .footer-col-title {
    font-size: 0.68rem;
    margin-bottom: 0.6rem;
  }

  .footer-links {
    gap: 0.35rem;
  }

  .footer-links a {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .about-contact-links a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    margin-bottom: 0;
    padding: 0.55rem clamp(0.35rem, 2vw, 0.55rem);
    font-size: 0.68rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
  }

}

/* Mobile pequeno 360px */
@media (max-width: 360px) {
  .brand-logo {
    width: 180px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .about-footer-grid { grid-template-columns: 1fr; }
}
