/*
Theme Name: Sakura
Author: Bunkyo
Description: Tema simples customizado
Version: 1.2
*/

/* ==========================================================================
   GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --rosa: #fc7386;
  --rosa-claro: #fcb0bb;
  --creme-rosado: #fad9c8;
  --vinho: #990723;
  --azul: #3692d4;
  --verde: #2a8a3e;
  --marrom: #401b1f;
  --cinza: #333333;
  --creme: #faf2ed;
  --branco: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.3s;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  color: var(--cinza);
  background: var(--creme);
  line-height: 1.7;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--vinho);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top .2s;
  font-size: 1rem;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--marrom);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--marrom);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
nav {
  background: var(--branco);
  border-bottom: 3px solid var(--rosa);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--vinho);
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}

.nav-logo span {
  display: block;
  font-size: .78rem;
  color: var(--rosa);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: .1rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--marrom);
  text-decoration: none;
  padding: .42rem .68rem;
  border-radius: 8px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--creme-rosado);
  color: var(--vinho);
  outline: none;
}

.nav-links a.active,
.nav-links .current-menu-item>a,
.nav-links .current_page_item>a {
  background: var(--rosa);
  color: var(--branco);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--rosa);
  border-radius: 8px;
  padding: .4rem .55rem;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--vinho);
  border-radius: 2px;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--creme) 0%, var(--creme-rosado) 100%);
  padding: 3.5rem 0;
}

.page-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.breadcrumb {
  font-family: 'Quicksand', sans-serif;
  font-size: .85rem;
  color: var(--rosa);
  margin-bottom: .75rem;
}

.breadcrumb a {
  color: var(--rosa);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--marrom);
  color: var(--creme);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

footer h3 {
  font-family: 'Quicksand', sans-serif;
  color: var(--rosa-claro);
  font-size: 1rem;
  margin-bottom: 1rem;
}

footer p,
footer a {
  font-size: .9rem;
  color: var(--creme-rosado);
  text-decoration: none;
}

footer a:hover {
  color: var(--rosa);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-social {
  display: flex;
  gap: .7rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}

.social-btn {
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: .38rem .72rem;
  font-size: .85rem;
  color: var(--creme);
  text-decoration: none;
  transition: background .18s;
}

.social-btn:hover {
  background: var(--rosa);
  border-color: var(--rosa);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.4rem;
  font-size: .82rem;
  color: rgba(250, 217, 200, .55);
  text-align: center;
}

/* ==========================================================================
   REUSABLE COMPONENTS
   ========================================================================== */
.tag {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--branco);
  background: var(--rosa);
  padding: .28rem .9rem;
  border-radius: 99px;
  margin-bottom: .9rem;
}

.btn-p {
  display: inline-block;
  background: var(--vinho);
  color: var(--branco);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 1.8rem;
  border-radius: 99px;
  text-decoration: none;
  transition: background .2s, transform .1s;
  border: none;
  cursor: pointer;
}

.btn-p:hover,
.btn-p:focus {
  background: var(--marrom);
  transform: translateY(-2px);
  outline: 3px solid var(--rosa-claro);
  outline-offset: 3px;
}

.btn-s {
  display: inline-block;
  background: transparent;
  color: var(--vinho);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .76rem 1.65rem;
  border-radius: 99px;
  text-decoration: none;
  border: 2px solid var(--vinho);
  transition: background .2s, color .2s;
}

.btn-s:hover,
.btn-s:focus {
  background: var(--vinho);
  color: var(--branco);
  outline: none;
}

.img-block {
  width: 100%;
  background: var(--creme-rosado);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--rosa);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  border: 2px dashed var(--rosa-claro);
  padding: 2rem 1rem;
  text-align: center;
}

.img-icon {
  width: 40px;
  height: 40px;
  display: block;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.shimmer-animation {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  animation:
    load-fill 2s ease-out forwards,
    shimmer 3s infinite linear;
  background: linear-gradient(to right, #ffa9ba 5%, #ee728a 25%, #ffa9ba 35%);
  background-size: 1000px 100%;
  transform-origin: left;
}

@keyframes load-fill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes shimmer {
  from {
    background-position: -1000px 0;
  }

  to {
    background-position: 1000px 0;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media(max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--branco);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 2px solid var(--rosa-claro);
    gap: .25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}