/* ---------- Tokens ---------- */
:root {
  --blue-50:  #EEF6FA;
  --blue-100: #D8EAF2;
  --blue-200: #B4D8E8;
  --blue-300: #8CC2DA;
  --blue-400: #67AECC;
  --blue-500: #4797C1;
  --blue-600: #3A80A7;
  --blue-700: #2E698C;

  --navy-500: #0F4570;
  --navy-700: #093A5F;
  --navy-800: #07385E;
  --navy-900: #052840;
  --navy-950: #041D30;

  --cream: #FBFAF8;
  --white: #FFFFFF;
  --ink: #1C2B34;
  --ink-soft: #4A5A63;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent: 'Accent Graphic', 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 2px 10px rgba(7, 56, 94, 0.08);
  --shadow-md: 0 10px 30px rgba(7, 56, 94, 0.12);
  --shadow-lg: 0 20px 50px rgba(7, 56, 94, 0.18);

  --section-pad: 110px;
}

@media (max-width: 720px) {
  :root { --section-pad: 72px; }
}

@font-face {
  font-family: 'Accent Graphic';
  src: url('assets/accentgraphicmedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
p { line-height: 1.7; color: var(--ink-soft); font-size: 17px; margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy-900); margin: 0; }

.section-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.section-kicker--center { text-align: center; }
.section-kicker--light { color: var(--blue-300); }

.section-title {
  font-family: var(--accent);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-title--left { text-align: left; margin-left: 0; }
.section-title--light { color: var(--white); }

@media (max-width: 720px) {
  .section-title { font-size: 30px; margin-bottom: 40px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn--whatsapp {
  background: var(--white);
  color: var(--navy-800);
  border: 1px solid var(--blue-200);
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.icon-wa { width: 18px; height: 18px; fill: #3A80A7; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--large { padding: 18px 40px; font-size: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7, 56, 94, 0.08);
}
.navbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 8px;
}
.navbar__symbol { height: 63px; width: auto; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar__menu a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--blue-500);
  transition: right 0.25s ease;
}
.navbar__menu a:hover { color: var(--blue-600); }
.navbar__menu a:hover::after { right: 0; }

@media (max-width: 980px) {
  .navbar__menu {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(7, 56, 94, 0.08);
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .navbar__menu::-webkit-scrollbar { display: none; }
  .navbar__menu a { white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 200px 28px 0;
  background: radial-gradient(circle at 80% 10%, var(--blue-50) 0%, var(--white) 55%);
  overflow: hidden;
}
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 90px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--accent);
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 10px;
}
.hero__subtitle {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy-700);
  margin-bottom: 28px;
}
.hero__lead {
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.hero__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-100) 0%, transparent 70%);
  filter: blur(10px);
}
.hero__symbol {
  position: relative;
  width: 260px;
  filter: drop-shadow(0 20px 40px rgba(7, 56, 94, 0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero__divider { line-height: 0; }
.hero__divider svg {
  width: 100%;
  height: 12px;
  display: block;
}
.hero__divider path {
  fill: none;
  stroke: var(--blue-200);
  stroke-width: 1.5;
}

@media (max-width: 860px) {
  .hero { padding-top: 210px; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; padding-bottom: 60px; }
  .hero__title { font-size: 46px; }
  .hero__visual { order: -1; height: 220px; }
  .hero__symbol { width: 170px; }
  .hero__lead { max-width: 100%; }
}

/* ---------- About (asymmetric) ---------- */
.about { background: var(--cream); padding: var(--section-pad) 28px; }
.about__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__text p:last-child { margin-bottom: 0; }
.about__image {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(7, 56, 94, 0.08);
}
.about__image img { width: 100%; height: auto; }

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__image { order: -1; }
}

/* ---------- Services ---------- */
.services { background: var(--white); padding: var(--section-pad) 28px; }
.services__inner { max-width: 1180px; margin: 0 auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(7, 56, 94, 0.08);
  border-radius: 16px;
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.card__number {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--blue-200);
  margin-bottom: 10px;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card p { font-size: 15px; margin-bottom: 0; }

@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Results (before/after carousel) ---------- */
.results { background: var(--blue-50); padding: var(--section-pad) 28px; }
.results__inner { max-width: 1180px; margin: 0 auto; }
.results__photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}
.results__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Carousel (generic) ---------- */
.carousel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.carousel__viewport {
  overflow: hidden;
  border-radius: 18px;
}
.carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(7, 56, 94, 0.1);
  background: var(--white);
  color: var(--navy-800);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.carousel__arrow:hover { transform: translateY(-50%) scale(1.08); background: var(--blue-50); }
.carousel__arrow--prev { left: -22px; }
.carousel__arrow--next { right: -22px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--blue-200);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active { background: var(--blue-600); transform: scale(1.2); }

@media (max-width: 640px) {
  .carousel { max-width: 100%; padding: 0 8px; }
  .carousel__arrow--prev { left: 0; }
  .carousel__arrow--next { right: 0; }
}

/* video carousel variant */
.carousel--video { max-width: 380px; }
.carousel--video .video-frame { border-radius: 18px; }

/* ---------- Diferenciais (dark contrast section) ---------- */
.diferenciais {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 70%);
  padding: var(--section-pad) 28px;
}
.diferenciais__inner { max-width: 1180px; margin: 0 auto; }
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.diferencial__mark {
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-300);
  margin-bottom: 20px;
  position: relative;
}
.diferencial__mark::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--blue-400);
}
.diferencial h3 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 10px;
}
.diferencial p {
  color: var(--blue-100);
  font-size: 15px;
  margin-bottom: 0;
}

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

/* ---------- Videos ---------- */
.videos { background: var(--navy-950); padding: var(--section-pad) 28px; }
.videos__inner { max-width: 1180px; margin: 0 auto; }
.videos .section-kicker { color: var(--blue-300); }
.videos .section-title { color: var(--white); }
.video-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}
.video-frame video {
  width: 100%;
  max-height: 560px;
  display: block;
}
.video-frame--narrow { max-width: 360px; margin: 0 auto; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); padding: var(--section-pad) 28px; }
.testimonials__inner { max-width: 1180px; margin: 0 auto; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  margin: 0;
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 30px 28px;
  border: 1px solid rgba(7, 56, 94, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--blue-300);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.testimonial p {
  font-style: italic;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 18px;
}
.testimonial footer {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-600);
  text-transform: uppercase;
}
.testimonial-video { margin-top: 56px; }

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

/* ---------- CTA ---------- */
.cta {
  background: radial-gradient(circle at 30% 20%, var(--blue-600), var(--navy-800) 65%);
  padding: var(--section-pad) 28px;
  text-align: center;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta__title {
  font-family: var(--accent);
  font-weight: 500;
  color: var(--white);
  font-size: 36px;
  margin-bottom: 16px;
}
.cta__lead {
  color: var(--blue-100);
  font-size: 17px;
  margin-bottom: 32px;
}
.cta__phone {
  margin: 22px 0 0;
  color: var(--blue-100);
  font-size: 14px;
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .cta__title { font-size: 28px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  padding: 56px 28px 40px;
  text-align: center;
}
.footer__logo {
  height: 56px;
  width: auto;
  margin: 0 auto 18px;
}
.footer__note {
  display: inline-block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__note:hover {
  color: var(--blue-300);
  border-color: var(--blue-300);
}
