:root {
    --ink: #eef1ee;
    --ink-muted: #8ba894;
    --bg: #0f1a17;
    --bg-2: #152521;
    --bg-card: #1a2c27;
    --sage: #8ba894;
    --sage-dim: #4d6459;
    --clay: #c98657;
    --clay-hover: #da9566;
    --line: rgba(238,241,238,0.12);
  }
  
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
  }

  .serif { font-family: 'Playfair Display', 'Iowan Old Style', 'Georgia', serif; }
  ::selection { background: var(--clay); color: #0f1a17; }

  .wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
  }

  /* Ambient Glow Background */
  .glow {
    position: fixed;
    top: -20%; left: 50%;
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(201,134,87,0.16) 0%, rgba(201,134,87,0) 65%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
    animation: drift 16s ease-in-out infinite alternate;
  }
  @keyframes drift {
    0% { transform: translateX(-54%) translateY(0); }
    100% { transform: translateX(-46%) translateY(40px); }
  }

  /* Navigation */
  nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(15,26,23,0.78);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
  }
  nav.scrolled { border-bottom-color: var(--line); }
  .brandline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 13px;
    letter-spacing: .02em;
  }
  .brandline .name { color: var(--ink); font-weight: 700; letter-spacing: 0.05em; }
  .brandline .tag { 
    color: var(--clay); 
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(201, 134, 87, 0.1);
    border: 1px solid rgba(201, 134, 87, 0.2);
    transition: all 0.3s ease;
  }
  .brandline .tag:hover { background: var(--clay); color: #0f1a17; }

  /* Hero Section */
  .hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0 60px;
  }
  .eyebrow-word {
    display: inline-block;
    font-size: 13px;
    color: var(--sage);
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    animation: rise .7s ease forwards .1s;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 3.8rem);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .hero h1 span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .hero h1 span:nth-child(1) { animation-delay: .15s; }
  .hero h1 span:nth-child(2) { animation-delay: .28s; color: var(--clay); }
  
  @keyframes rise {
    to { transform: translateY(0); opacity:1; }
  }

  .hero .role {
    margin-top: 20px;
    font-size: 16px;
    color: var(--sage);
    max-width: 46ch;
    line-height: 1.65;
    opacity: 0;
    animation: fadeup .8s ease forwards .5s;
  }
  .hero .location {
    margin-top: 16px;
    font-size: 13px;
    color: var(--ink);
    opacity: 0;
    animation: fadeup .8s ease forwards .62s;
  }
  .hero .location b { color: var(--clay); font-weight: 600; background: rgba(201,134,87,0.12); padding: 2px 8px; border-radius: 4px; }

  @keyframes fadeup {
    from { opacity:0; transform: translateY(14px); }
    to { opacity:1; transform: translateY(0); }
  }

  /* Featured Photo Frame */
  .photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-2);
    opacity: 0;
    animation: fadein 1s ease forwards .3s;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
    border: 1px solid var(--line);
    cursor: pointer;
  }
  @keyframes fadein { to { opacity:1; } }
  .photo-frame img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    filter: saturate(0.95) contrast(1.02);
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .photo-frame:hover img { transform: scale(1.05); }
  .photo-tag {
    position: absolute;
    left: 16px; bottom: 16px;
    background: rgba(15,26,23,0.85);
    backdrop-filter: blur(8px);
    color: var(--ink);
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .photo-tag::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
  }

  .divider { height: 1px; background: var(--line); width: 100%; margin: 8px 0; }

  /* Stats Section */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 0;
  }
  .stat-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
  }
  .stat b {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--clay);
    line-height: 1.1;
  }
  .stat span {
    font-size: 13px;
    color: var(--sage);
  }

  /* Gallery Section */
  .gallery-section {
    padding: 60px 0 40px;
  }
  .gallery-header {
    text-align: center;
    margin-bottom: 40px;
  }
  .gallery-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .gallery-header p {
    color: var(--sage);
    font-size: 14px;
  }
 .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 580px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
  .gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-2);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }
  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
  }
  .gallery-card:hover {
    transform: translateY(-6px);
    border-color: var(--clay);
    box-shadow: 0 16px 32px -10px rgba(201,134,87,0.3);
  }
  .gallery-card:hover img {
    transform: scale(1.08);
  }
  .gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15,26,23,0.9) 0%, rgba(15,26,23,0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
  }
  .gallery-card:hover .gallery-card-overlay {
    opacity: 1;
  }
  .gallery-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }
  .gallery-card-sub {
    font-size: 11px;
    color: var(--clay);
  }

  /* Focus Areas */
  .focus {
    padding: 56px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .focus-item {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 32px 26px;
    transition: background .35s ease, transform .35s ease, border-color .35s ease;
  }
  .focus-item:hover {
    background: var(--bg-card);
    transform: translateY(-4px);
    border-color: rgba(139, 168, 148, 0.4);
  }
  .focus-item h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--ink);
  }
  .focus-item p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--sage);
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.in { opacity:1; transform:translateY(0); }

  /* Call To Action */
  .cta { padding: 64px 0 84px; text-align: center; }
  .cta h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    font-weight: 500;
    max-width: 26ch;
    margin: 0 auto 32px;
  }
  .buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    font-size: 15px;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    white-space: nowrap;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease;
  }
  .btn:active { transform: scale(.97); }
  .btn-primary {
    background: var(--clay);
    color: #14201c;
    font-weight: 600;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(201,134,87,0.5); background: var(--clay-hover); }
  .btn-secondary {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
  }
  .btn-secondary:hover { transform: translateY(-2px); border-color: var(--sage); background: rgba(139,168,148,0.08); }
  .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

  /* Lightbox Modal */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 15, 0.92);
    backdrop-filter: blur(16px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
  }
  .lightbox.active { opacity: 1; pointer-events: auto; }
  .lightbox-box {
    position: relative;
    max-width: 850px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .lightbox-box img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    border: 1px solid var(--line);
  }
  .lightbox-caption {
    margin-top: 16px;
    color: var(--ink);
    font-size: 14px;
    text-align: center;
  }
  .lightbox-close {
    position: absolute;
    top: -40px;
    right: -10px;
    background: transparent;
    border: none;
    color: var(--ink);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
  }
  .lightbox-close:hover { color: var(--clay); }

  footer {
    padding: 28px 0 calc(40px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    color: var(--sage-dim);
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
  }

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

  @media (max-width: 720px) {
    .hero { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 40px; text-align: center; }
    .hero .photo-frame { max-width: 300px; margin: 0 auto; order: -1; }
    .stats { grid-template-columns: 1fr; gap: 16px; }
    .focus { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    footer { flex-direction: column; gap: 6px; text-align: center; }
  }
  .cta-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap; /* Permite que os botões passem para a linha seguinte se não couberem */
  align-items: center;
  gap: 12px; /* Espaçamento entre os botões */
  width: 100%;
}
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  border-color: #20ba5a;
  transform: translateY(-1px);
}
.btn-outline {
  background-color: #ffffff;
  color: #2d3748;
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

/* Regra para Dispositivos Móveis (Ecrãs com 576px ou menos) */
@media (max-width: 576px) {
  .cta-actions {
    flex-direction: column; /* Empilha os botões no telemóvel para facilitar o toque */
    align-items: stretch;
  }
  
  .btn {
    width: 100%; /* Botões ocupam a largura total no telemóvel */
  }
}