/* =========================================================
   Magno Prime - Landing Page
   ========================================================= */

:root {
  --bg: #f4f1ec;
  --bg-alt: #f8f6f2;
  --dark: #2f2a25;
  --dark-2: #3a332d;
  --text: #3b3530;
  --text-soft: #6f655d;
  --muted: #a8968a;
  --accent: #8a7a6e;
  --line: #d9d2c9;
  --white: #ffffff;
  --font-title: "Sintony", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s, opacity .25s, background .25s; }
img { display: block; max-width: 100%; }

/* Jost apenas para títulos; Manrope para os textos */
h1, h2, h3, h4, .brand { font-family: var(--font-title); }

/* ---------- Shared ---------- */
.section { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--text);
  margin-bottom: 18px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 1px;
  height: 11px;
  background: currentColor;
  opacity: .6;
}
.eyebrow-light { color: #e9e2d9; }

.section-title {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: .03em;
  color: var(--text);
  margin: 0;
}
.section-title .muted { color: var(--muted); }

.side-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  padding-bottom: 2px;
  /* sublinhado apenas sob o texto (não sob a seta) */
  background: linear-gradient(currentColor, currentColor) 0 100% / calc(100% - 28px) 1px no-repeat;
}
.link-arrow i { font-size: 16px; transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow-light { color: #e9e2d9; }

.img-frame {
  overflow: hidden;
  background: #d8cfc4;
  border-radius: 4px;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

/* ---------- Buttons ---------- */
.btn-light-aurora,
.btn-dark-aurora {
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  padding: 13px 28px;
  letter-spacing: .02em;
  border: 1px solid transparent;
}
.btn-light-aurora { background: var(--white); color: var(--dark); }
.btn-light-aurora:hover { background: var(--dark); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-dark-aurora { background: var(--dark); color: var(--white); }
.btn-dark-aurora:hover { background: var(--accent); color: var(--white); }

.link-underline-light-aurora {
  color: var(--white);
  font-size: 13px;
  font-weight: 400;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.link-underline-light-aurora:hover { color: #e6dbcf; border-color: #e6dbcf; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; line-height: 1; padding: 0; }
.brand-logo { display: block; height: 58px; width: auto; }
/* logo original é preta: inverte para branco sobre fundos escuros */
.brand-logo-light { filter: brightness(0) invert(1); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  height: 100svh;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(30,24,19,.72) 0%, rgba(30,24,19,.35) 50%, rgba(30,24,19,.1) 100%),
    linear-gradient(180deg, rgba(30,24,19,.35) 0%, rgba(30,24,19,0) 30%);
}

.site-nav { position: relative; z-index: 10; padding: 28px 0; }
.site-nav .nav-link {
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  opacity: .9;
}
.site-nav .nav-link:hover { opacity: 1; color: #e6dbcf !important; }
.nav-icons a { color: var(--white); font-size: 18px; }
.nav-icons a:hover { color: #e6dbcf; }

.hero-content {
  position: relative;
  z-index: 5;
  height: calc(100% - 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-title {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: .03em;
  margin-bottom: 22px;
}
.hero-text {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
  margin-bottom: 26px;
}

.hero-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 70px;
  max-width: 260px;
  font-size: 12px;
  font-weight: 400;
}
.hero-bar { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.3); }
.hero-bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--white); transition: width .6s ease; }

/* Glass cards */
.glass-card {
  position: absolute;
  background: rgba(220,210,200,.22);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  color: var(--white);
}
.clients-card {
  top: 6%;
  right: 12px;
  padding: 16px 22px 18px;
  min-width: 170px;
}
.clients-card strong { display: block; font-size: 26px; font-weight: 400; line-height: 1; }
.clients-card span { display: block; font-size: 12px; margin: 6px 0 10px; opacity: .9; }
.clients-card em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 12px; }
.clients-card:hover { color: var(--white); background: rgba(220,210,200,.32); }

.project-card {
  right: -40px;
  bottom: 30px;
  width: 300px;
  padding: 22px 26px 26px;
  border-radius: 14px;
}
.project-card:hover { color: var(--white); background: rgba(220,210,200,.32); }
.project-card .pin { font-size: 18px; display: block; margin-bottom: 18px; }
.project-card .arrow-circle {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(60,50,42,.55);
  font-size: 13px;
}
.project-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.project-card p { font-size: 12px; line-height: 1.55; margin: 0; opacity: .85; }

/* =========================================================
   VALUES
   ========================================================= */
.section-values { background: var(--bg); padding-top: 70px; }

.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid #bdb3a8;
}
.mini-list li + li { margin-top: 6px; }

.values-img { height: 100%; min-height: 300px; border-radius: 6px; }
.value-item h4 { font-size: 17px; font-weight: 400; margin: 14px 0 6px; color: var(--text); }
.value-item p { font-size: 13.5px; line-height: 1.6; color: var(--text-soft); margin: 0; max-width: 300px; }
.value-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: #e8e2da;
  border-radius: 3px;
  font-size: 16px;
  color: var(--text);
}

/* =========================================================
   SERVICES
   ========================================================= */
.section-services { background: var(--bg-alt); padding-top: 60px; }
.section-services .container { max-width: 1260px; }
.service-card { display: block; color: var(--text); }
.service-card .img-frame { aspect-ratio: 3 / 2; }
.service-card h4 { font-size: 17px; font-weight: 400; margin: 14px 0 4px; }
.service-card p { font-size: 13px; color: var(--text-soft); margin: 0; }
.service-card:hover { color: var(--text); }
.service-card:hover img,
.project-item:hover img,
.post-card:hover img { transform: scale(1.06); }

/* =========================================================
   PROJECTS
   ========================================================= */
.section-projects { background: var(--dark); color: #e9e2d9; padding: 30px 0 30px; }
.projects-title { position: relative; z-index: 2; color: #f1ebe3 !important; }
.projects-row { margin-top: -40px; padding-left: 3%; }
.project-item { display: block; color: #e9e2d9; }
.project-item .img-frame { aspect-ratio: 16 / 10; border-radius: 0; }
.project-item .img-frame img { filter: brightness(.88); }
.project-meta {
  display: flex;
  gap: 18px;
  padding: 10px 0 0;
}
.project-meta .num { font-size: 12px; padding-right: 14px; border-right: 1px solid rgba(255,255,255,.3); height: 20px; margin-left: -40px; width: 40px; text-align: right; }
.project-item h4 { font-size: 16px; font-weight: 400; margin: 0 0 2px; color: #f1ebe3; }
.project-item p { font-size: 12.5px; margin: 0; opacity: .75; }
.project-item:hover { color: var(--white); }
.projects-row > div:not(:first-child) .project-meta { padding-left: 40px; }

/* =========================================================
   MARCAS
   ========================================================= */
.section-process { background: var(--bg-alt); }
.brands-grid { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-item {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.brand-item:hover { background: var(--bg); }
.brand-item h4 { font-size: 18px; font-weight: 400; letter-spacing: .02em; margin: 0 0 4px; color: var(--text); }
.brand-item p { font-size: 12.5px; line-height: 1.5; color: var(--text-soft); margin: 0; }

/* =========================================================
   MAGNO ESPECIALIZADA + CTA
   ========================================================= */
.split-section { overflow: hidden; }
.testimonial-side {
  position: relative;
  background:
    linear-gradient(90deg, rgba(232,224,214,.15), rgba(232,224,214,.92) 90%),
    url('../img/magno-especializada.jpg') left center / cover no-repeat,
    #e8e0d6;
  min-height: 440px;
  display: flex;
  align-items: center;
}
.testimonial-inner { margin-left: 40%; max-width: 360px; padding: 50px 20px; }
.quote-mark { font-size: 34px; line-height: 1; color: var(--text); display: block; margin-bottom: 4px; }
.testimonial-inner .eyebrow { display: flex; margin-top: 14px; }
.specialist-title { font-size: 28px; font-weight: 300; letter-spacing: .02em; color: var(--text); margin-bottom: 12px; }
.specialist-text { font-size: 15px; line-height: 1.6; color: var(--text-soft); margin-bottom: 18px; }

.cta-side {
  position: relative;
  min-height: 440px;
  background:
    linear-gradient(90deg, rgba(60,48,40,.75) 0%, rgba(60,48,40,.35) 45%, rgba(60,48,40,0) 75%),
    url('../img/atendimento-whatsapp.jpg') center / cover no-repeat,
    var(--dark-2);
  display: flex;
  align-items: center;
}
.cta-inner { padding: 50px 40px 50px 5%; }
.cta-inner h2 {
  color: #f1ebe3;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

/* =========================================================
   INSTAGRAM
   ========================================================= */
.section-insights { background: var(--bg-alt); padding: 70px 0; }
.section-insights .section-title { font-size: clamp(28px, 2.8vw, 38px); }
.post-card { display: block; color: var(--text); }
.post-card .img-frame { aspect-ratio: 16 / 10; }
.post-card h4 { font-size: 14px; font-weight: 400; line-height: 1.45; margin: 14px 0 4px; max-width: 240px; }
.insta-stats { list-style: none; padding: 0; margin: 22px 0 6px; }
.insta-stats li { font-size: 13px; color: var(--text-soft); padding: 8px 0; border-bottom: 1px solid var(--line); }
.insta-stats strong { font-family: var(--font-title); font-size: 20px; font-weight: 400; color: var(--text); margin-right: 6px; }
.post-card:hover { color: var(--text); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--dark); color: #e9e2d9; padding: 34px 0 20px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.site-footer .brand-logo { height: 52px; }
.footer-nav { list-style: none; display: flex; gap: 52px; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-nav a, .footer-social a { font-size: 13px; color: #e9e2d9; }
.footer-nav a:hover, .footer-social a:hover { color: var(--white); opacity: .7; }
.footer-social { display: flex; gap: 26px; }
.footer-social a { font-size: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  font-size: 11.5px;
  opacity: .8;
}

.footer-cookies {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.footer-cookies:hover { border-bottom-color: currentColor; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  color: var(--white);
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: transform .25s;
}
.whatsapp-float:hover { color: var(--white); transform: scale(1.08); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 110;
  width: calc(100% - 40px);
  max-width: 820px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(47,42,37,.18);
  opacity: 0;
  transform: translate(-50%, 30px);
  transition: opacity .5s ease, transform .5s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.show { opacity: 1; transform: translate(-50%, 0); }
.cookie-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  color: var(--accent);
  font-size: 22px;
}
.cookie-text { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-soft); }
.cookie-actions { flex: 0 0 auto; display: flex; gap: 10px; }
.cookie-btn { padding: 11px 24px; }
.btn-outline-aurora {
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-outline-aurora:hover { border-color: var(--dark); color: var(--dark); background: transparent; }

@media (max-width: 575.98px) {
  .cookie-banner {
    flex-wrap: wrap;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 16px;
    gap: 12px;
  }
  .cookie-icon { display: none; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1399.98px) {
  .project-card { right: 12px; }
}

@media (max-width: 991.98px) {
  .section { padding: 60px 0; }
  .site-nav { padding: 18px 0; }
  .site-nav .navbar-collapse {
    background: rgba(40,33,28,.95);
    padding: 16px 20px;
    margin-top: 12px;
    border-radius: 8px;
  }
  .hero { height: auto; max-height: none; min-height: 100vh; }
  .hero-content { height: auto; padding: 60px 12px 260px; }
  .clients-card { top: auto; bottom: 200px; right: auto; left: 12px; }
  .project-card { bottom: 24px; left: 12px; right: auto; width: calc(100% - 24px); max-width: 340px; }
  .hero-progress { margin-top: 40px; }

  .projects-row { margin-top: 24px; padding-left: 0; }
  .project-meta .num { margin-left: 0; width: auto; }
  .projects-row > div:not(:first-child) .project-meta { padding-left: 0; }
  .projects-row > div { margin-bottom: 24px; }

  .brand-logo { height: 48px; }

  .testimonial-inner { margin: 0 auto; }
  .testimonial-side {
    background:
      linear-gradient(rgba(232,224,214,.88), rgba(232,224,214,.88)),
      url('../img/magno-especializada.jpg') center / cover no-repeat,
      #e8e0d6;
  }
  .cta-side { min-height: 360px; }
  .cta-inner { padding: 50px 24px; }

  .footer-top { justify-content: center; text-align: center; }
  .footer-nav { gap: 24px; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 575.98px) {
  .hero-content { padding-bottom: 290px; }
  .clients-card { bottom: 215px; }
  .testimonial blockquote { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .reveal, .img-frame img, .cookie-banner { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
