@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Barlow+Condensed:wght@400;500;600&display=swap');

@font-face {
  font-family: 'NeutraText';
  src: url('../fonts/NeutraTextBookSCAlt.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'NeutraText';
  src: url('../fonts/NeutraTextDemiSCAlt.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'NeutraText';
  src: url('../fonts/NeutraTextDemiSCItalicAlt.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}

:root {
  --blue: #1a2c69;
  --blue-dark: #120645;
  --tejo: #2f8aa8;
  --bruma: #7a9178;
  --alfama: #de754b;
  --miradouro: #e5a923;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --text-body: #2a2a2a;
  --text-muted: #6b6b6b;
  --border: rgba(26,44,105,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'NeutraText', sans-serif;
  background: var(--white);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Libre Baskerville', serif; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 700; color: var(--blue); }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--blue); }
h3 { font-size: 1.3rem; font-weight: 400; color: var(--blue); }

.eyebrow {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tejo);
  margin-bottom: 1rem;
  display: block;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 120px;
}
.nav-logo img { height: 120px; display: block; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em;
  text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
  color: #1a2c69;
}
.nav-links a:hover { color: #e8b638; }
.nav-links a:visited { color: #7a9178 }
.nav-cta {
  font-family: 'NeutraText', sans-serif;
  background: var(--blue); color: var(--white);
  padding: 0.55rem 1.4rem; border-radius: 2px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); }

/* ── HERO ── */
#hero {
  min-height: 70vh;
  padding: 0;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr; 
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-left {
  padding: 10rem 0 0 0;
  max-width: 1200px;
  margin: 0;
}
.hero-left h1 { margin-bottom: 1.5rem; }
.hero-sub {
  font-family: 'NeutraText', sans-serif;
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 2.5rem;
  max-width: 480px; font-weight: 400;
}
.btn-primary {
  display: inline-block;
  background: var(--blue); color: var(--white);
  padding: 1rem 2.2rem;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--blue); color: var(--blue);
  padding: 0.95rem 2.2rem;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.hero-right {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-right img.hero-photo {
  width: 100%; height: 100%; object-fit: contain;
  opacity: 1;
}

.hero-badge {
  position: absolute; bottom: 3rem; right: 3rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 1.2rem 1.8rem;
  color: white;
  backdrop-filter: blur(8px);
}
.hero-badge p {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.2rem;
}
.hero-badge strong {
  font-family: 'NeutraText', sans-serif;
  font-size: 1rem; font-weight: 400;
}

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--blue);
  color: var(--white);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 3rem;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: 0.75;
  flex-shrink: 0;
}
.marquee-track .dot { color: var(--alfama); opacity: 1; font-size: 1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── ABOUT ── */
#about { background: var(--off-white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.about-text p {
  font-family: 'NeutraText', sans-serif;
  color: var(--text-muted); font-size: 1rem; line-height: 1.8;
  margin-bottom: 1.5rem; font-weight: 400;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 3rem;
}
.stat { border-left: 2px solid var(--tejo); padding-left: 1.2rem; }
.stat strong { display: block; font-family: 'Libre Baskerville', serif; font-size: 2rem; color: var(--blue); }
.stat span {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.88rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
}
.about-visual { position: relative; }
.about-tile-block {
  width: 100%; aspect-ratio: 4/5;
  background: var(--blue);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.tile-pattern {
  position: absolute; inset: 0;
  background-image: url('../images/azulejo-pattern.png');
  background-size: 280px auto;
  opacity: 0.15;
}
.about-tile-block .tile-text {
  position: relative; z-index: 1; text-align: center; color: white; padding: 2rem;
}
.about-tile-block .tile-text p {
  font-family: 'NeutraText', sans-serif;
  font-size: 1.15rem; font-style: italic; font-weight: 600; line-height: 1.65;
  color: white; margin: 0;
}
.about-tile-block .tile-text cite {
  display: block; margin-top: 1.5rem;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0.6; font-style: normal;
}
.since-badge {
  position: absolute; top: -1.2rem; right: -1.2rem;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--alfama);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white; text-align: center;
}
.since-badge span {
  font-family: 'NeutraText', sans-serif;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.85;
}
.since-badge span.year{
  font-size: 1rem;
}
.since-badge strong { font-family: 'Libre Baskerville', serif; font-size: 1.1rem; line-height: 1; }

/* ── PRODUCTS ── */
#products { background: var(--white); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p {
  font-family: 'NeutraText', sans-serif;
  color: var(--text-muted); font-size: 0.95rem; max-width: 480px; margin: 0 auto; line-height: 1.75; font-weight: 400;
}
.product-hero-img {
  width: 100%; margin-bottom: 4rem; overflow: hidden; border-radius: 2px;
}
.product-hero-img img {
  width: 100%; display: block; object-fit: cover; max-height: 520px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-card {
  background: var(--off-white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
  overflow: hidden;
}
.product-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.product-card:hover { background: var(--white); }
.product-card:hover::after { transform: scaleX(1); }
.product-card.featured { background: var(--blue); color: white; }
.product-card.featured::after { background: var(--alfama); }
.product-card.featured h3 { color: white; }
.product-card.featured p { color: rgba(255,255,255,0.7); }
.product-card.featured .product-tag { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.product-icon { width: 48px; height: 3px; background: var(--tejo); margin-bottom: 1.8rem; border-radius: 1px; }
.product-card.featured .product-icon { background: var(--alfama); }
.product-card h3 { margin-bottom: 0.6rem; font-size: 1.25rem; }
.product-card p {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.2rem; font-weight: 400;
}
.product-tag {
  display: inline-block;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  background: rgba(26,44,105,0.08);
  color: var(--blue);
  padding: 0.3rem 0.75rem; border-radius: 1px;
}

/* ── CATALOG ── */
#catalog { background: var(--blue); padding: 5rem 0; }
.catalog-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
}
.catalog-text h2 { color: white; margin-bottom: 1rem; }
.catalog-text p {
  font-family: 'NeutraText', sans-serif;
  color: rgba(255,255,255,0.7); max-width: 440px; font-size: 0.95rem; line-height: 1.75; font-weight: 400;
}
.catalog-text .eyebrow { color: var(--miradouro); }
.btn-white {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: white; color: var(--blue);
  padding: 1rem 2.2rem;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none; border-radius: 2px;
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

/* ── VALUES ── */
#values { background: var(--off-white); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; }
.value-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 3rem; color: var(--border); line-height: 1; margin-bottom: 1rem; font-style: italic;
}
.value-item h3 { font-size: 1.05rem; color: var(--blue); margin-bottom: 0.6rem; }
.value-item p {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; font-weight: 400;
}

/* ── LIFESTYLE ── */
#lifestyle { background: var(--white); }
.lifestyle-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.lifestyle-header p {
  font-family: 'NeutraText', sans-serif;
  max-width: 340px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; font-weight: 400;
}
.lifestyle-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2px; }
.lifestyle-img { overflow: hidden; background: var(--off-white); position: relative; }
.lifestyle-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.lifestyle-img:hover img { transform: scale(1.04); }
.lifestyle-img:first-child { aspect-ratio: 4/3; }
.lifestyle-img:not(:first-child) { aspect-ratio: 3/4; }
.lifestyle-tile {
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem; padding: 2rem; text-align: center;
  position: relative;
}
.lifestyle-tile .tile-pattern { position: absolute; inset: 0; }
.lifestyle-tile blockquote {
  font-family: 'NeutraText', sans-serif;
  font-size: 1.1rem; color: white; line-height: 1.6;
  position: relative; z-index: 1; font-style: italic; font-weight: 600;
}
.lifestyle-tile cite {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); position: relative; z-index: 1; font-style: normal;
}
.lifestyle-stats {
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center; padding: 2.5rem;
}
.lifestyle-stats-inner { text-align: center; }
.lifestyle-stats-inner .big-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem; color: var(--blue); line-height: 1; margin-bottom: 0.5rem;
}
.lifestyle-stats-inner .big-label {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
}
.lifestyle-stats-inner .divider {
  width: 40px; height: 2px; background: var(--alfama); margin: 1.5rem auto;
}

/* ── HALFDRUM ── */
#halfdrum { background: var(--white); padding: 4rem 0 0; overflow: hidden; }
#halfdrum .halfdrum-inner { text-align: center; }
#halfdrum p {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.95rem; color: var(--text-muted); max-width: 480px;
  margin: 0 auto; line-height: 1.75; font-weight: 400;
}
#halfdrum img {
  max-width: 400px; width: 100%; display: block;
  margin: 0 auto; object-fit: contain;
}

/* ── CONTACT ── */
#contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-left h2 { margin-bottom: 1rem; }
.contact-left p {
  font-family: 'NeutraText', sans-serif;
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.75;
  margin-bottom: 2.5rem; max-width: 420px; font-weight: 400;
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; fill: none; stroke: white; stroke-width: 1.8; }
.contact-item-text span {
  display: block;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tejo); font-weight: 600; margin-bottom: 0.2rem;
}
.contact-item-text a { color: var(--blue); text-decoration: none; font-size: 1rem; font-weight: 500; }
.contact-item-text a:hover { color: var(--tejo); }
.contact-form { background: white; padding: 2.5rem; border-radius: 2px; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 600;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--border); border-radius: 2px;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.95rem; color: var(--text-body); background: white;
  transition: border-color 0.2s; outline: none; appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%; cursor: pointer; border: none;
  background: var(--blue); color: var(--white);
  padding: 1rem 2.2rem;
  font-family: 'NeutraText', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ── FOOTER ── */
footer { background: var(--blue-dark); color: white; padding: 3.5rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 36px; margin-bottom: 1.2rem; display: block; filter: brightness(0) invert(1); }
.footer-brand p {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 220px; font-weight: 400;
}
.footer-col h4 {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-family: 'NeutraText', sans-serif;
  color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.88rem; transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; }
.footer-bottom p {
  font-family: 'NeutraText', sans-serif;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

.container .hero-left { padding: 10rem 0 2rem 0; max-width: 100%; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  
  #hero { grid-template-columns: 1fr; min-height: 35%; padding: 2rem 0; }
  .hero-badge{ display: none;}
  
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lifestyle-grid { grid-template-columns: 1fr; }
  .lifestyle-img:not(:first-child) { aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  #hero { padding: 2rem 0; }
  .products-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
