.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}


:root {
  --bg-main: #f6efe8;
  --bg-light: #fff8f2;
  --text-main: #3a2f2a;
  --accent: #A0522D;
  --accent-soft: #B2593F;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Georgia", serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.7;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(
      rgba(246, 239, 232, 0.50),
      rgba(246, 239, 232, 0.50)
    ),
    url("../img/studio/hero.jpg") center 15%/ cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 720px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero.cover {
  position: relative;
  height: 85vh;
  overflow: hidden;
  background-color: #f6efe8;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.9);
}

.hero.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(246, 239, 232, 0.75);
}

.hero.cover .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  padding: 2rem;
}


.slogan {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta {
  display: block;
  width: fit-content;
  margin: 1.8rem auto 0;
  padding: 0.9rem 1.6rem;
  background-color: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}


.cta:hover {
  background-color: var(--accent-soft);
}

.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section.light {
  background-color: var(--bg-light);
}

.section.center {
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section ul {
  padding-left: 1.2rem;
}

.section ul li {
  margin-bottom: 0.6rem;
}

.closing {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-style: italic;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  background-color: var(--bg-light);
}

.hero-cover {
  width: 100%;
  height: 55vh;
  overflow: hidden;
  background: #f6efe8;
}

.hero-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

/* texto abaixo da foto */
.hero-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  background: #f6efe8;
}

/* ===== V2: CAPA + TEXTO ABAIXO (corrigido e estável) ===== */

.hero-cover {
  width: 100%;
  height: 55vh;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

/* texto abaixo da foto */
.hero-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--bg-main);
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* ===== Mobile (tudo dentro do @media) ===== */
@media (max-width: 480px) {
  .hero-cover {
    height: 45vh;
  }

  .hero-cover img {
    object-position: center 15%;
  }

  .hero-text {
    padding: 2.6rem 1.4rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-text .intro {
  font-size: 1.05rem;
  line-height: 1.6;
  } 

  /* ajustes gerais */
  .hero-content {
    width: 100%;
    max-width: 360px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0.6rem;
  }

  .slogan {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .intro {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }

  .cta {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.95rem 1rem;
  }

  .section {
    padding: 2.6rem 1.4rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }
}

.profile-figure{
  margin: 1.25rem 0;
  display: flex;
  justify-content: center;
}

.profile-photo{
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 18px;
  display: block;
}

@media (min-width: 900px){
  .profile-figure{
    float: right;
    margin: 0 0 1rem 2rem;
  }
}

/* --- Brand (logo) --- */
.brand{
  display:flex;
  justify-content:center;
  margin: 10px 0 6px;
}
.brand-logo{
  height: 100px;
  width: auto;
  display:block;
}
@media (max-width: 720px){
  .brand-logo{ height: 44px; }
}

/* --- Brand (logo) --- */
.brand{
  display:flex;
  justify-content:center;
  align-items:center;
}

.brand--hero{
  margin: 16px 0 10px;
}

.brand-logo{
  height: 72px;
  width: auto;
  max-width: 90%;
  display:block;
}

@media (max-width: 720px){
  .brand-logo{ height: 54px; }
}

/* --- Brand hero logo --- */
.brand--hero{
  display:flex;
  justify-content:center;
  margin: 18px 0 10px;
}
.brand-logo{
  height: 90px;
  width: auto;
  max-width: 92%;
  display:block;
}
@media (max-width: 720px){
  .brand-logo{ height: 64px; }
}

/* --- Brand hero logo (tuning) --- */
.brand--hero{
  display:flex;
  justify-content:center;
  margin: 10px 0 6px;
}
.brand-logo{
  height: 150px;   /* ajuste aqui se quiser maior/menor */
  width: auto;
  max-width: 92%;
  display:block;
}

@media (max-width: 720px){
  .brand-logo{ height: 84px; }
}

/* --- Mobile: logo mais legível --- */
.brand-logo{
  /* ajuda muito em SVG com traço fino */
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18)) drop-shadow(0 0 10px rgba(0,0,0,.06));
}

@media (max-width: 720px){
  .brand--hero{ margin: 10px 0 8px; }
  .brand-logo{ height: 120px; } /* ajuste fino: 110–140 */
}

/* --- NAV: tipografia e aparência --- */
nav[aria-label="Navegação do site"]{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: .2px;
}

nav[aria-label="Navegação do site"] a{
  color: #3b2f2a;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 10px;
}

nav[aria-label="Navegação do site"] a:hover{
  background: rgba(0,0,0,.06);
}

nav[aria-label="Navegação do site"] a:focus{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

/* Mobile: deixa mais “app-like” */
@media (max-width: 720px){
  nav[aria-label="Navegação do site"]{
    padding: 12px 10px !important;
  }
  nav[aria-label="Navegação do site"] a{
    padding: 8px 10px;
  }
}

/* --- Ajuste de legibilidade do logo no HERO (60+) --- */
.brand--hero{
  margin: 8px 0 6px !important;     /* menos espaço acima/abaixo */
}

.brand-logo{
  height: 150px;                     /* desktop: bem mais legível */
  width: auto;
  max-width: 92%;
  display:block;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18)) drop-shadow(0 0 10px rgba(0,0,0,.06));
}

/* Se o hero-text estiver empurrando muito o conteúdo */
.hero-text{
  padding-top: 10px !important;
}

/* Mobile: logo ainda maior e menos “respiro” */
@media (max-width: 720px){
  .brand--hero{ margin: 6px 0 4px !important; }
  .brand-logo{ height: 120px; }
}

/* --- HERO: logo horizontal bem legível (override) --- */
.brand--hero{ margin: 6px 0 6px !important; }

.brand--hero .brand-logo{
  height: 170px !important;   /* desktop */
  width: auto !important;
  max-width: 560px;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.18)) drop-shadow(0 0 10px rgba(0,0,0,.06));
}

@media (max-width: 720px){
  .brand--hero .brand-logo{
    height: 130px !important; /* celular */
    max-width: 92%;
  }
}

/* --- NAV: empurra WhatsApp pra direita e evita "perdido" --- */
nav[aria-label="Navegação do site"] > div{
  justify-content: space-between;
}

nav[aria-label="Navegação do site"] > div a:last-child{
  margin-left: auto;          /* gruda na direita quando couber */
  white-space: nowrap;
}

/* Se ele quebrar de linha, continua alinhado à direita */
nav[aria-label="Navegação do site"] > div a:last-child{
  text-align: right;
}
/* Ajuste Fino: Onde Estamos (Desktop) */
@media (min-width: 768px) {
    .hero-onde-estamos, img[src*="onde_estamos"] {
        display: block;
        margin: 20px auto; /* Centraliza a foto */
        width: 450px !important; /* Largura idêntica ao canvas de texto */
        height: auto !important; /* Mantém a proporção original sem cortes */
        border-radius: 8px; /* Opcional: um leve arredondado para suavizar */
        object-fit: contain !important; 
    }
}
/* Estilos para a Página de Grupos */
.grid-integrantes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-integrante {
    background: #fffcf9;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}

.foto-aluna {
    width: 120px;          /* Diminuímos de 150px para 120px */
    height: 120px;         /* Mantemos quadrado para o círculo ser perfeito */
    border-radius: 50%;
    object-fit: cover;     /* Mantém o preenchimento */
    object-position: top;  /* MÁGICA: Prioriza o topo da imagem (as cabeças) */
    border: 3px solid #d4a373;
    margin-bottom: 15px;
    background-color: #fff; /* Fundo branco caso a imagem demore a carregar */
}

.tagline {
    display: block;
    font-style: italic;
    color: #8b5e34;
    margin-bottom: 10px;
    font-weight: bold;
}
