/* =========================================================
   MUNDO DE BLUE
   Tema: Fairycore + floresta fantástica + toque Wicca
   ========================================================= */

:root {
  --forest: #263d2d;
  --forest-dark: #17271d;
  --forest-light: #3f5d43;
  --moss: #71825b;

  --cream: #f2ead8;
  --paper: #e9dec6;
  --parchment: #d9c8a8;

  --brown: #5c4433;
  --brown-dark: #3b2b22;

  --gold: #b89a5b;
  --gold-light: #d8bf7a;

  --lavender: #9c91a8;
  --sage: #9ba989;

  --text: #332c25;
  --text-light: #eee7d8;

  --shadow: 0 18px 50px rgba(34, 29, 21, 0.16);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-magic: "Uncial Antiqua", Georgia, serif;

  --container: 1160px;
  --radius: 18px;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100vh;
  color: var(--text);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--cream);
  background: var(--forest);
}

/* ACESSIBILIDADE */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--cream);
  background: var(--forest-dark);
  border-radius: 0 0 8px 8px;
}

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

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

/* GERAL */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-kicker,
.eyebrow {
  color: var(--gold);
  font-size: 0.90rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-heading h2,
.about-content h2,
.universe-content h2,
.cta h2 {
  margin-top: 8px;
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.98;
}

.section-heading p:last-child {
  margin-top: 20px;
  color: #665d52;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--cream);
  background: var(--forest);
  box-shadow: 0 10px 25px rgba(38, 61, 45, 0.2);
}

.button-primary:hover {
  background: var(--forest-dark);
}

.button-ghost {
  color: var(--forest);
  border-color: rgba(38, 61, 45, 0.35);
  background: transparent;
}

.button-ghost:hover {
  color: var(--cream);
  border-color: var(--forest);
  background: var(--forest);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--cream);
  /*background: rgba(23, 39, 29, 0.94);*/
  background: #718000;
  border-bottom: 1px solid rgba(216, 191, 122, 0.18);
  backdrop-filter: blur(14px);
}

.nav-wrapper {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand,
.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.brand-mark {
  color: var(--gold-light);
  font-size: 1.4rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(242, 234, 216, 0.82);
  font-size: 0.85rem;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover {
  color: var(--cream);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid rgba(242, 234, 216, 0.3);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--cream);
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 15% 30%,  #6b8e23, transparent 30%),
    radial-gradient(circle at 85% 70%, #6b8e23, transparent 28%),
    linear-gradient(145deg, #1a2d20 0%, #263d2d 48%, #344a35 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.15;
  background-image:
    radial-gradient(circle, rgba(242, 234, 216, 0.55) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -35%;
  width: 70%;
  height: 75%;
  content: "";
  border: 1px solid rgba(216, 191, 122, 0.16);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  max-width: 850px;
  margin: 22px auto;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(242, 234, 216, 0.78);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero .button-ghost {
  color: var(--cream);
  border-color: rgba(242, 234, 216, 0.35);
}

.hero .button-ghost:hover {
  color: var(--forest-dark);
  background: var(--cream);
  border-color: var(--cream);
}

.hero-symbols {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 65px;
  color: var(--gold-light);
  font-size: 1.25rem;
  opacity: 0.7;
}

.hero-symbols span:nth-child(2),
.hero-symbols span:nth-child(4) {
  font-size: 0.7rem;
}

.hero-mist {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.09;
  background: var(--sage);
}

.hero-mist-left {
  top: 5%;
  left: -200px;
}

.hero-mist-right {
  right: -180px;
  bottom: 5%;
  background: var(--lavender);
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fern {
  position: absolute;
  color: rgba(216, 191, 122, 0.16);
  font-size: 16rem;
}

.fern-one {
  right: -70px;
  bottom: -130px;
  transform: rotate(-25deg);
}

.fern-two {
  bottom: -120px;
  left: -70px;
  transform: rotate(35deg) scaleX(-1);
}

/* SOBRE */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 90px;
}

.image-placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--forest-light);
  background:
    linear-gradient(145deg, rgba(155, 169, 137, 0.35), rgba(156, 145, 168, 0.18)),
    var(--paper);
}

.image-placeholder::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(92, 68, 51, 0.22);
  border-radius: inherit;
  content: "";
}

.about-image {
  min-height: 560px;
  border-radius: 50% 50% 16px 16px;
  box-shadow: var(--shadow);
}

.about-image img,
.art-image img,
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.about-content .lead {
  margin-top: 28px;
  color: var(--brown);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.35;
}

.about-content p:not(.lead) {
  margin-top: 18px;
  color: #5f564c;
}

.about-signature {
  margin-top: 32px;
  color: var(--forest);
  font-family: var(--font-magic);
  font-size: 1.25rem;
}

/* ARTES */
.arts {
  background: #e8dfcc;
}

.arts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.art-card {
  overflow: hidden;
  background: rgba(242, 234, 216, 0.72);
  border: 1px solid rgba(92, 68, 51, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(53, 43, 31, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.art-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.art-image {
  position: relative;
  height: 300px;
  border-radius: 0;
}

.art-card-content {
  position: relative;
  padding: 28px;
}

.art-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.art-card h3 {
  margin-top: 4px;
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.art-card p {
  margin-top: 10px;
  color: #675e54;
  font-size: 0.9rem;
}

/* UNIVERSO */
.universe {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background: darkolivegreen;
}

.universe::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  background-image:
    radial-gradient(circle, #f2ead8 1px, transparent 1px);
  background-size: 75px 75px;
}

.universe-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 100px;
}

.moon {
  position: relative;
  width: min(360px, 70vw);
  aspect-ratio: 1;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 50%;
  background: #cfc6b0;
  box-shadow:
    0 0 0 12px rgba(216, 191, 122, 0.05),
    0 0 80px rgba(216, 191, 122, 0.12);
}

.moon::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 45%);
}

.moon-crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(101, 93, 78, 0.14);
}

.crater-one {
  width: 65px;
  height: 65px;
  top: 23%;
  left: 23%;
}

.crater-two {
  width: 38px;
  height: 38px;
  right: 25%;
  bottom: 25%;
}

.crater-three {
  width: 85px;
  height: 85px;
  right: 13%;
  top: 25%;
}

.universe-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.universe-content h2 {
  color: var(--cream);
}

.universe-content p:not(.section-kicker) {
  margin-top: 22px;
  color: rgba(242, 234, 216, 0.75);
}

.ornament {
  margin-top: 35px;
  color: var(--gold-light);
  letter-spacing: 0.25em;
}

/* GALERIA */
.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}



/* TABLET */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 220px;
  }
}

/* CELULAR */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item {
    height: 180px;
  }
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  background: #d9c8a8;
}

.cta::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image:
    radial-gradient(circle, var(--forest) 1px, transparent 1px);
  background-size: 50px 50px;
}

.cta-inner {
  position: relative;
  max-width: 800px;
}

.cta h2 {
  margin-top: 10px;
}

.cta > .container > p:not(.section-kicker) {
  max-width: 600px;
  margin: 22px auto 0;
  color: #635648;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* FOOTER */
.site-footer {
  color: rgba(242, 234, 216, 0.72);
  background: var(--forest-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 55px 0;
}

.footer-brand {
  color: var(--cream);
  font-size: 1.25rem;
}

.footer-grid p {
  margin-top: 8px;
  font-size: 0.82rem;
}

.footer-links,
.footer-social {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links a,
.footer-social a {
  width: fit-content;
  font-size: 0.85rem;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(242, 234, 216, 0.1);
  font-size: 0.72rem;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .about-grid,
  .universe-inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-image {
    max-width: 600px;
    width: 100%;
    min-height: 500px;
    margin-inline: auto;
  }

  .universe-inner {
    text-align: center;
  }

  .universe-content {
    margin-inline: auto;
  }

  .arts-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5) {
    transform: none;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 75px 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 14px 18px;
    background: rgba(23, 39, 29, 0.98);
    border-bottom: 1px solid rgba(216, 191, 122, 0.15);
    transform: translateY(-150%);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
  }

  .hero {
    min-height: calc(100svh - 74px);
  }

  .hero-content {
    padding: 75px 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-symbols {
    margin-top: 45px;
  }

  .about-image {
    min-height: 400px;
  }

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

  .gallery-item {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .contact-buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .about-image {
    min-height: 350px;
  }

  .moon {
    width: 260px;
  }
}

/* REDUÇÃO DE MOVIMENTO */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
