@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --cream: #F6F3EC;
  --cream-dark: #EDE8DC;
  --ink: #201D18;
  --ink-soft: #55503F;
  --gold: #A9814B;
  --gold-dark: #7C5F38;
  --forest: #1E2620;
  --forest-light: #2B362E;
  --line: rgba(32, 29, 24, 0.12);
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth; 
  margin: 0;
  padding: 0;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page {
  max-width: 460px;
  margin: 0 auto;
  background: var(--cream);
  min-height: 100vh;
  position: relative;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- HEADER ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 30;
  border-bottom: 1px solid transparent;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.2px;
  line-height: 1;
}

.logo em {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  margin-top: 2px;
  color: var(--gold-dark);
}

.cta-pill {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .2s ease-out;
}

.cta-pill:hover {
  background: var(--ink-soft);
  color: var(--cream);
  transform: translateY(-2px);
}

.cta-pill:active {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(0);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  margin: 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, #8f9a95 0%, #5c6863 30%, #33403a 62%, #1c241f 100%);
}

.hero-background-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Aplica apenas o gradiente por cima da imagem */
  background: linear-gradient(to bottom, transparent 50%, var(--cream) 95%);
  z-index: 1;
}

.hero::after {
  /* leaf silhouette corner, echoing the source photo */
  content: "";
  position: absolute;
  right: -40px;
  bottom: 60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(ellipse at 30% 30%, rgba(60, 80, 55, 0.55), transparent 70%);
  filter: blur(2px);
  z-index: 1;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 34px;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-copy h1 {
  font-family: 'Poppins';
  color: black;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.discover {
  font-weight: 700;
  color: black;
  font-size: 13px;
  letter-spacing: 0.5px;
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.25s ease;
}

.discover:hover {
  opacity: 0.8;
}

.discover svg {
  stroke: black;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

/* ---------- SECTION SHARED ---------- */
section {
  padding: 54px 22px 0;
}

.eyebrow-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 26px;
}

.eyebrow-title h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0;
}

.eyebrow-title span {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
}

/* ---------- PROJECTS ---------- */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover {
  transform: scale(1.03);
}

.project-card .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.p1 {
  background-image: url('/img/p01.png');
  background-size: cover;
  background-position: center;
}

.p2 {
  background-image: url('/img/p2.png');
  background-size: cover;
  background-position: center;
}

.p3 {
  background-image: url('/img/p3.png');
  background-size: cover;
  background-position: center;
}

.p4 {
  background-image: url('/img/p04.png');
  background-size: cover;
  background-position: center;
}

.p5 {
  background-image: url('/img/p05.png');
  background-size: cover;
  background-position: center;
}

.p6 {
  background-image: url('/img/p06.png');
  background-size: cover;
  background-position: center;
}
.p7 {
  background-image: url('/img/p07.png');
  background-size: cover;
  background-position: center;
}

/* ---------- AREAS CAROUSEL ---------- */
.areas-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Para rolagem programática suave */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.areas-scroll::-webkit-scrollbar {
  display: none;
}

.area-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
    padding: 22px 20px;
    padding-left: 40px;
}

.area-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: black;
}

.area-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.dots span.active {
  background: var(--gold-dark);
}

/* ---------- CARROSSEL DE ÁREAS - NAVEGAÇÃO ---------- */
.carousel-content-wrapper {
  position: relative;
  /* Negative margin to counteract section padding and allow buttons to be at edges */
  margin: 0 -22px;
  /* Apply padding to the wrapper itself to align areas-scroll content */
  padding: 0 22px;
}

.carousel-nav-button {
  --scale: 1;
  position: absolute;
  top: 50%;
  background-color: #000000;
  color: #fbfbfb;
  border: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%) scale(var(--scale));
  transition: background-color 0.3s ease, transform 0.2s ease-out, border-color 0.3s ease;
}

.carousel-nav-button:hover {
  --scale: 1.08;
  background-color: var(--gold);
  color: var(--cream);
  /* Arrow color changes on hover */
  border-color: var(--gold);
}

.carousel-nav-button:active {
  --scale: 0.98;
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* ---------- SOBRE NOS ---------- */
.sobre p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- FOOTER ---------- */
footer {
  gap: 40px;
    align-items: center;
    display: flex;
    margin-top: 60px;
    background:#000000d4;
    color: #EFEAE0;
    padding: 20px;
}

footer h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 22px;
}

.contact-line {
  display: block;
  font-size: 10px;
  line-height: 1.9;
  color: #D9D4C6;
}

.contact-line strong {
  color: #fff;
  font-weight: 600;
}

.foot-bottom {
  padding: 20px;
  align-items: center;
}

.foot-logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: #fff;
}

.foot-logo em {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: 13px;
  margin-top: 2px;
  color: var(--gold);
}

.copyright {
    padding: 10px;
    text-align: center;
    font-size: 8px;
    color: #8b8a7f;
}

@media (min-width:461px) {
  .page {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.06);
  }
}