/* ===================================================================
   RA Consultoria — Design tokens
=================================================================== */
:root {
  --teal: #17464E;
  --teal-dark: #0f333a;
  --teal-light: #2a6672;
  --purple: #5A3A5E;
  --purple-light: #7a5480;
  --cream: #F7F4EF;
  --cream-tint: #EFEAE1;
  --ink: #26312f;
  --ink-soft: #55625f;
  --line: #ddd5c8;
  --white: #ffffff;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 40px -20px rgba(23, 70, 78, 0.25);
  --shadow-sm: 0 8px 20px -12px rgba(23, 70, 78, 0.3);

  --container: 1120px;
  --container-narrow: 760px;
}

/* ===================================================================
   Reset
=================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; margin: 0; color: var(--teal); }
p { margin: 0; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container.narrow { max-width: var(--container-narrow); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ===================================================================
   Shared bits
=================================================================== */
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}
.eyebrow--center { text-align: center; }
.eyebrow--onteal { color: #c9b8cc; }

.rule {
  width: 56px;
  height: 3px;
  background: var(--purple);
  border-radius: 3px;
  margin: 18px 0 26px;
}
.rule--center { margin-left: auto; margin-right: auto; }
.rule--onteal { background: var(--purple-light); }

h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.center { text-align: center; }
.narrow-text { max-width: 620px; margin: 0 auto; }

.accent-phrase {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--teal);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.5;
}
.accent-phrase.center { text-align: center; max-width: 640px; margin: 40px auto 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--purple-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* dot grid decoration */
.dot-grid {
  position: absolute;
  width: 130px;
  height: 110px;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.6px);
  background-size: 20px 20px;
  color: var(--line);
  opacity: 0.9;
  pointer-events: none;
}
.dot-grid--hero { left: 24px; bottom: 30px; }
.dot-grid--purpose { right: 24px; top: 40px; color: rgba(247,244,239,0.18); }

.blob-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  width: var(--size);
  height: var(--size);
  top: var(--top, auto);
  left: var(--left, auto);
  right: var(--right, auto);
  bottom: var(--bottom, auto);
  background: var(--color);
  opacity: var(--op, 0.35);
  filter: blur(calc(var(--size) * 0.28));
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.anim-a { animation-name: float-a; animation-duration: 8s; }
.anim-b { animation-name: float-b; animation-duration: 10s; }
.anim-c { animation-name: float-c; animation-duration: 7s; }
.anim-d { animation-name: float-d; animation-duration: 11s; }
.anim-e { animation-name: float-e; animation-duration: 9s; }
.anim-f { animation-name: float-f; animation-duration: 9.5s; }

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-70px, 40px) scale(1.15); }
  50% { transform: translate(-90px, 100px) scale(1.35); }
  75% { transform: translate(-30px, 70px) scale(1.1); }
}
@keyframes float-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(75px, -30px) scale(0.85); }
  50% { transform: translate(100px, -85px) scale(0.65); }
  75% { transform: translate(45px, -60px) scale(0.9); }
}
@keyframes float-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-55px, -35px) scale(1.2); }
  50% { transform: translate(-80px, -95px) scale(1.45); }
  75% { transform: translate(-25px, -60px) scale(1.15); }
}
@keyframes float-d {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(-65px, -80px) scale(1.25) rotate(18deg); }
  50% { transform: translate(20px, -40px) scale(0.9) rotate(35deg); }
  75% { transform: translate(85px, 55px) scale(0.75) rotate(-20deg); }
}
@keyframes float-e {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, 45px) scale(1.15); }
  50% { transform: translate(90px, 100px) scale(1.5); }
  75% { transform: translate(25px, 65px) scale(1.1); }
}
@keyframes float-f {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -40px) scale(0.9); }
  50% { transform: translate(65px, -100px) scale(0.65); }
  75% { transform: translate(15px, -55px) scale(0.95); }
}

/* scroll reveal — only hides content once JS has confirmed it can reveal it again */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   Header
=================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { border-radius: 50%; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; color: var(--teal); }
.brand-sub { font-family: var(--font-heading); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.03em; color: var(--purple); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--purple); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
}

/* ===================================================================
   Hero
=================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 84px;
  text-align: center;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-mark { border-radius: 50%; margin-bottom: 28px; box-shadow: var(--shadow); }
.hero .eyebrow { font-size: 0.85rem; }
.hero h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero .accent-phrase { max-width: 620px; margin-bottom: 30px; }

.tag-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
}
.tag-row li {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: 999px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.hero-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ===================================================================
   Sections
=================================================================== */
.section { padding: 96px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--tint { background: var(--cream-tint); }

/* about / "Quem somos" */
.about-section { overflow: hidden; }

.about-watermark {
  position: absolute;
  top: 50%;
  right: -90px;
  width: 460px;
  height: 460px;
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.dot-grid--about { right: 6%; top: 18%; }

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--cream);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-sm);
}

.about-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08rem;
  color: var(--ink);
}
.about-text p:nth-child(1) { transition-delay: 0.05s; }
.about-text p:nth-child(2) { transition-delay: 0.2s; }
.about-text p:nth-child(3) { transition-delay: 0.35s; }

/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-card--teal:hover { box-shadow: 0 22px 40px -18px rgba(23, 70, 78, 0.45); border-color: var(--teal); }
.service-card--purple:hover { box-shadow: 0 22px 40px -18px rgba(90, 58, 94, 0.45); border-color: var(--purple); }
.service-card:hover { transform: translateY(-10px); }
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-10deg);
}
.service-card:hover h3 { color: var(--purple); }
.service-card--teal:hover h3 { color: var(--teal); }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  margin-bottom: 18px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}
.service-icon svg { width: 24px; height: 24px; }
.service-icon--teal { background: var(--teal); }
.service-icon--purple { background: var(--purple); }
.service-card--teal:hover .service-icon { box-shadow: 0 0 0 8px rgba(23, 70, 78, 0.12); }
.service-card--purple:hover .service-icon { box-shadow: 0 0 0 8px rgba(90, 58, 94, 0.14); }
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--ink); transition: color 0.3s ease; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

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

/* check list */
.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-weight: 500;
  font-size: 1.02rem;
}
.check-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}
.check-list li:nth-child(even) .check-icon { background: var(--purple); }

/* founder */
.founder { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.founder-photo {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.founder-name { font-size: 1.4rem; color: var(--ink); margin-bottom: 4px; }
.founder-role { font-weight: 600; color: var(--purple); font-size: 0.92rem; margin-bottom: 20px; }
.founder .accent-phrase { margin-bottom: 22px; max-width: 560px; }
.founder-bio { color: var(--ink-soft); max-width: 560px; }

/* purpose band */
.purpose {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--cream);
  padding: 110px 0;
  text-align: center;
}
.purpose-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.3;
  color: var(--white);
}
.purpose-text {
  color: rgba(247, 244, 239, 0.82);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* contact */
.contact-intro { color: var(--ink-soft); margin: 14px auto 40px; max-width: 520px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-tint);
  color: var(--teal);
  margin-bottom: 16px;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}
.contact-value { display: block; font-size: 0.95rem; color: var(--ink); overflow-wrap: break-word; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   Footer
=================================================================== */
.site-footer { background: var(--teal-dark); color: rgba(247, 244, 239, 0.85); padding: 56px 0 26px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(247, 244, 239, 0.15);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-sub { color: #c9b8cc; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; font-weight: 500; }
.footer-nav a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-social a { font-size: 0.88rem; font-weight: 600; }
.footer-social a:hover { color: var(--cream); }
.footer-copy { text-align: center; font-size: 0.8rem; color: rgba(247, 244, 239, 0.55); margin-top: 24px; }

/* ===================================================================
   Floating WhatsApp button
=================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(90, 58, 94, 0.55);
  z-index: 90;
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); background: var(--purple-light); }
