/* ============================================================
   ARMONIA DO SER — Sistema visual partilhado
   Calmo, natural, premium · Dourado + Azul-marinho + Creme
   ============================================================ */

:root {
  --navy:        #091930;
  --navy-700:    #16263f;
  --navy-soft:   #1d3050;
  --gold:        #caa34f;
  --gold-deep:   #b08c38;
  --gold-soft:   #e3cf9f;
  --gold-tint:   #f3ead4;
  --cream:       #faf6ef;
  --sand:        #f1e9db;
  --sand-deep:   #e7dcc8;
  --white:       #ffffff;
  --ink:         #14202f;
  --muted:       #6f7785;
  --muted-warm:  #8a8275;
  --line:        rgba(9, 25, 48, 0.10);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 2px 14px rgba(9, 25, 48, 0.06);
  --shadow-md: 0 18px 50px -24px rgba(9, 25, 48, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(9, 25, 48, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }

.section-pad { padding-block: clamp(72px, 11vw, 150px); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
  box-shadow: 0 14px 30px -16px rgba(202,163,79,0.8);
  text-align: center;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 42px -18px rgba(202,163,79,0.9); }
.btn-gold { --bg: var(--gold); --fg: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost {
  --bg: transparent; --fg: var(--navy);
  border-color: rgba(9,25,48,0.25);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); box-shadow: var(--shadow-md); }
.btn-light {
  --bg: transparent; --fg: var(--cream);
  border-color: rgba(255,255,255,0.35);
  box-shadow: none;
}
.btn-light:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.btn-arrow { gap: 8px; }
.btn-arrow svg { transition: transform .4s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

.text-link {
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.text-link:hover { gap: 14px; color: var(--gold-deep); }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(9,25,48,0.045) 0 2px, transparent 2px 11px),
    var(--sand);
  border: 1px solid var(--sand-deep);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted-warm);
}
.ph span {
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(250,246,239,0.85);
  padding: 7px 12px;
  border: 1px solid var(--sand-deep);
  border-radius: 4px;
  z-index: 2;
}
.ph.round { border-radius: 50%; }
.ph.soft { border-radius: 26px; }
/* Any real image dropped into a .ph frame fills it edge-to-edge */
.ph > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
/* Monogram avatar for testimonials (no photo needed) */
.avatar { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--navy); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; font-weight: 600; }

/* ---------- Decorative shapes ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250,246,239,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 14px;
  border-bottom-color: var(--line);
}
.nav.dark-text .brand, .nav.dark-text .nav-links a { color: var(--navy); }
.brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.brand .mark {
  width: 30px; height: 30px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
  position: relative;
}
.brand .mark::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2px;
}
.brand > span:last-child { display: flex; flex-direction: column; white-space: nowrap; line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  position: relative;
  transition: color .3s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a.btn { padding: 11px 22px; font-size: 13px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: currentColor; display: block; transition: .3s; }
  .nav { color: var(--cream); }
  .nav.dark-text { color: var(--navy); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.66);
  padding-block: 70px 40px;
  position: relative;
  overflow: hidden;
}
.footer h3 { color: var(--cream); }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col h4 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 13px; gap: 16px; flex-wrap: wrap;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].reveal-instant { transition: none !important; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }
[data-reveal][data-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reusable cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }

.icon-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  flex: none;
  color: var(--gold-deep);
  background: var(--gold-tint);
}
.icon-ring svg { width: 24px; height: 24px; }

/* star rating */
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }

/* section header block */
.sec-head { max-width: 680px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
