﻿/*
 * custom.css
 * Page-specific rules extracted from inline style="" attributes and inline
 * <style> blocks that used to be scattered through index.html.
 * Uses the color/spacing variables defined in :root (style.css).
 */

@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Roboto:700');

/* Site-wide typography now standardized on Inter (see body/h1-h6/p rules
   in style.css) for all body copy and headings, with 'details' (Barlock)
   reserved as the display accent font on large section titles below. */

/* ---------- Header ---------- */
/* The transparent header sits directly on top of the hero photo, so its
   contrast depends entirely on how dark that particular photo is. Add a
   permanent gradient backdrop behind the logo/nav so it stays readable
   no matter what image is behind it. */
.header-area.header-transparent {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 65%, rgba(0, 0, 0, 0) 100%);
  padding-bottom: var(--space-md);
}

/* ---------- Hero / Slider ---------- */
.hero__welcome {
  font-size: 25px !important;
}

.hero__white {
  color: var(--color-white);
}

.hero__title {
  color: var(--color-primary);
}

.hero__cta {
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: var(--space-xs);
  padding-bottom: var(--space-xs) !important;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md) !important;
}

/* ---------- About ---------- */
.about-caption__title {
  margin-left: var(--space-xl);
}

.about-caption__text {
  text-align: left;
}

/* ---------- Section titles reused across the page ---------- */
.section-title--dark {
  font-family: details;
  color: var(--color-dark);
}

.section-title--theme {
  font-family: details;
  color: var(--color-primary) !important;
}

/* ---------- Timeline ---------- */
.timeline-container {
  position: relative;
  background: linear-gradient(to right, var(--color-timeline-start), var(--color-timeline-end));
  height: 150vh;
  overflow: hidden;
}

.timeline-text {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%) rotate(-90deg);
  color: var(--color-dark);
  font-size: 15em;
  font-weight: bold;
  letter-spacing: 0.06em;
  white-space: nowrap;
  font-family: 'details';
}

.blacker {
  color: var(--color-dark) !important;
}

.year {
  position: absolute;
  color: var(--color-white);
  font-size: 6em;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font-family: 'details';
}

/* Title / subtitle / body hierarchy inside each timeline event */
/* Inter (not the 'details' display font) because these titles carry
   Portuguese accents — Barlock has no Ç/Ã/Ó glyphs, so the browser
   falls back per character and the word renders in two mixed fonts. */
.event-title {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  color: var(--color-white);
  font-size: 1.45em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

.event-subtitle {
  font-family: 'details';
  font-weight: 700;
  font-size: 1.3em;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-dark);
}

.event-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  line-height: 1.6;
  color: #2c2c2c;
  margin: 0 0 0.6em;
}

.year2016 { top: 20%; left: 20%; }
.year2019 { top: 40%; left: 20%; }
.year2023 { top: 60%; left: 20%; }

.center-line {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 2px;
  height: 70%;
  background-color: var(--color-dark);
}

.event-description {
  position: absolute;
  left: 55%;
  width: 40%;
  color: var(--color-white);
  font-size: 1.5em;
  line-height: 1.4;
  text-align: left;
}

.event2016 { top: 20%; }
.event2019 { top: 40%; }
.event2023 { top: 60%; }

.timeline-event-img--sm { width: 20%; }
.timeline-event-img--lg { width: 30%; }

.animate-on-scroll {
  opacity: 0;
  transform: translateX(-50px);
  visibility: hidden;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .timeline-text { top: 40%; font-size: 12em; }
  .year2016 { top: 5%; }
  .year2019 { top: 25%; }
  .year2023 { top: 45%; }
  .event2016 { top: 5%; }
  .event2019 { top: 25%; }
  .event2023 { top: 45%; }
  .center-line { top: 5%; }
  .year { font-size: 3em; }
  .event-description { font-size: 1em; }
}

@media (max-width: 768px) {
  .year2016 { top: 5%; }
  .year2019 { top: 25%; }
  .year2023 { top: 45%; }
  .event2016 { top: 5%; }
  .event2019 { top: 25%; }
  .event2023 { top: 45%; }
  .center-line { top: 5%; left: 40%; }
  .timeline-text { top: 35%; font-size: 10em; left: 20%; }
  .year { font-size: 2em; left: 10%; }
  .event-description { left: 45%; width: 50%; font-size: 1em; }
  .blacker { font-size: 1em; }
  .oculter { display: none; }
}

@media (max-width: 480px) {
  .timeline-text { font-size: 7em; left: 15%; top: 27%; }
  .year { font-size: 2em; left: 5%; }
  .center-line { left: 30%; }
  .event-description { left: 35%; width: 60%; font-size: 0.8em; }
  .oculter { display: none; }
}

@media (max-width: 1192px) and (min-width: 769px) {
  .timeline-text { font-size: 10em; left: 15%; }
  .year { font-size: 3.5em; left: 15%; }
  .center-line { left: 45%; }
  .event-description { left: 50%; width: 45%; font-size: 1.2em; }
}

@media (min-height: 623px) {
  .timeline-container { height: 170vh; }
  .event2019 { top: 30% !important; }
  .year2019 { top: 30%; }
  .year2023 { top: 50%; }
  .event2016 { top: 5%; }
  .event2023 { top: 50%; }
}

@media (min-height: 734px) and (max-height: 796px) {
  .event2019 { top: 30% !important; }
  .year2019 { top: 30%; }
  .year2023 { top: 50%; }
  .event2016 { top: 5%; }
  .event2023 { top: 50%; }
}

/* ---------- Pricing ---------- */
.pricing-section {
  padding-bottom: var(--space-lg) !important;
}

.pricing-row--offset {
  margin-top: -100px;
}

.pricing-plans-heading {
  margin-top: 100px;
}

/* ---------- Plans (Nossos Planos) ---------- */
/* Grid of 3 cards on desktop; horizontal scroll-snap carousel on mobile,
   so the three plans no longer stack with huge repeated blocks of text. */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 767px) {
  .plans-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: var(--color-white);
  border: 1px solid #eee;
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.plan-card__name {
  font-family: 'details';
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  margin: 0 0 var(--space-xs);
  line-height: 1.1;
}

.plan-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-xs);
}

.plan-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #888;
}

.plan-card__highlight {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #4a4a4a;
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

.plans-benefits-title {
  text-align: center;
  font-family: 'details';
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: var(--space-lg) 0 var(--space-md);
  letter-spacing: 0.02em;
}

.plans-benefits {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-md);
  list-style: none;
  columns: 2;
  column-gap: var(--space-lg);
}

.plans-benefits li {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #3a3a3a;
  margin-bottom: var(--space-sm);
  break-inside: avoid;
  font-weight: 500;
  line-height: 1.5;
}

.plans-benefits li::before {
  content: "✓ ";
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

@media (max-width: 575px) {
  .plans-benefits {
    columns: 1;
  }
}

.plans-cta {
  display: block;
  width: fit-content;
  margin: var(--space-md) auto 0;
}

/* ---------- Pricing Section Layout Fix ---------- */
/* Hide pricing-img2 on screen sizes where it overlaps the pricing cards */
@media (max-width: 1400px) {
  .best-pricing .pricing-img .pricing-img2 {
    display: none !important;
  }
}

/* Pricing section - proper spacing and layering */
.best-pricing.pricing-section {
  position: relative;
  z-index: 1;
  background-color: var(--color-white);
  padding-top: var(--space-xl) !important;
  padding-bottom: var(--space-xl) !important;
  margin-top: var(--space-lg);
}

/* Benefits/Partners section - center only title */
.best-pricing.benefits-section {
  position: relative;
  z-index: 5;
}

.best-pricing.benefits-section .section-tittle {
  text-align: center;
}

.best-pricing.benefits-section .section-tittle h2 {
  margin: 0 auto;
}

/* About section - center only title, left-align content */
.about-area .section-tittle {
  text-align: center;
}

.about-area .section-tittle h2 {
  margin: 0 auto;
}

.about-area .row > div {
  text-align: left;
}

.pricing-plans-heading {
  position: relative;
  z-index: 12;
  margin-bottom: var(--space-lg);
}

.pricing-plans-heading h2 {
  margin-bottom: var(--space-md);
}

.pricing-plans-heading hr {
  margin-bottom: var(--space-md);
}

/* Ensure plan cards don't get covered by images */
.pricing-list {
  position: relative;
  z-index: 11;
  background-color: var(--color-white);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}


/* ---------- Benefits / Partners ---------- */
.benefits-section {
  background-color: var(--color-bg-light);
  padding: 30px;
}

.partner-logo {
  max-width: 70%;
  text-align: center;
  margin-left: var(--space-md);
}

.partner-logo--offset-lg {
  max-width: 70%;
  text-align: center;
  margin-left: 55px;
}

.partner-logo--no-offset {
  max-width: 70%;
  text-align: center;
}

.partner-logo--small {
  max-width: 55%;
  margin-left: var(--space-md);
}

.partner-address {
  color: var(--color-dark);
  margin-left: 12%;
}

.partner-address--tight {
  color: var(--color-dark);
  margin-left: 12%;
  margin-top: -5%;
}

.partner-address--offset-20 {
  color: var(--color-dark);
  margin-left: 20%;
}

.partner-address--offset-10 {
  color: var(--color-dark);
  margin-left: 10%;
}

.partner-address--offset-7 {
  color: var(--color-dark);
  margin-left: 7%;
}

.partner-heading--offset-5 {
  margin-left: 5%;
}

.partner-phone {
  color: var(--color-phone);
}

/* ---------- Gallery ---------- */
.gallery-area--offset {
  margin-top: -100px;
}

/* ---------- Mobile nav (slicknav) ---------- */
/* The dropdown panel rendered with no visible background over the hero
   photo, making the menu links unreadable. Force a solid backdrop above
   the hero slider. */
/* Mobile menu - keep button in navbar, prevent position shift */
.mobile_menu {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 50px;
  flex-shrink: 0;
  flex-grow: 0;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.mobile_menu .slicknav_btn {
  position: relative;
  top: 0 !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  z-index: 101;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 0;
}

@media (max-width: 700px) {
  .mobile_menu {
    height: inherit;
    align-self: center;
  }

  .mobile_menu .slicknav_btn {
    padding: 6px 10px !important;
  }
}

.mobile_menu .slicknav_menu {
  position: relative;
  z-index: 100;
}

.mobile_menu .slicknav_menu .slicknav_nav {
  background: var(--color-white) !important;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 99;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  width: 250px;
}

/* ---------- Footer ---------- */
.footer-map {
  max-width: 100%;
  max-height: 150px;
  border: 0;
}

.footer-signature-name {
  font-size: 16px;
}

/* Developer signature ("Pixel Pair") */
.footer-copy-right .apple {
  background: url('../../bg-1.png');
  -webkit-background-clip: text;
  color: transparent;
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 900;
  animation: slice 3s, dynamic 7s infinite alternate linear;
  white-space: nowrap;
  user-select: none;
}

@media screen and (max-width: 480px) {
  .footer-copy-right .apple {
    font-size: 24px;
  }
}

@keyframes slice {
  0% { line-height: 0%; }
  100% { line-height: 100%; }
}

@keyframes dynamic {
  0% { background-position: 0%; }
  100% { background-position: 100%; }
}

/* Hero message colors stay identical across both slider states. */
.slider-area .hero__caption h1 .hero__white {
  color: var(--color-primary) !important;
}

.slider-area .hero__caption .hero__welcome .hero__white {
  color: var(--color-white) !important;
}
/* Hero CTA */
.slider-area .hero__caption .hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(203, 30, 36, 0.34);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.slider-area .hero__caption .hero__cta::before {
  display: none;
}

.slider-area .hero__caption .hero__cta:hover,
.slider-area .hero__caption .hero__cta:focus {
  color: var(--color-white);
  background: #a9171d;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(203, 30, 36, 0.42);
}
/* When the side photography is not part of the layout, the pricing content
   occupies the visual center instead of retaining an image-sized offset. */
@media (max-width: 1199px) {
  .best-pricing.pricing-section .pricing-img {
    display: none;
  }

  .best-pricing.pricing-section .pricing-row--offset {
    justify-content: center !important;
    margin-top: 0;
  }

  .best-pricing.pricing-section .pricing-row--offset > .col-xl-7,
  .best-pricing.pricing-section .pricing-row--offset > .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .best-pricing.pricing-section .section-tittle,
  .best-pricing.pricing-section .pricing-plans-heading {
    text-align: center;
  }
}
/* The plans heading is a direct child of the pricing row, so give it its
   own full-width row before centering its content. */
.best-pricing.pricing-section .pricing-plans-heading {
  flex: 0 0 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.best-pricing.pricing-section .pricing-plans-heading h2,
.best-pricing.pricing-section .pricing-plans-heading hr {
  margin-left: auto;
  margin-right: auto;
}

.best-pricing.pricing-section .plans-grid,
.best-pricing.pricing-section .plans-carousel {
  margin-left: auto;
  margin-right: auto;
}
/* Final direct alignment for the plans heading inside the nested pricing row. */
.best-pricing.pricing-section .pricing-plans-heading,
.best-pricing.pricing-section .pricing-plans-heading h2 {
  display: block;
  width: 100% !important;
  text-align: center !important;
}

.best-pricing.pricing-section .pricing-plans-heading hr {
  display: block;
  width: 72px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 1199px) {
  .best-pricing.pricing-section .pricing-row--offset > .col-xl-7.col-lg-7 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}
/* Stronger hero conversion CTA. */
.slider-area .hero__caption .hero__cta {
  min-height: 58px;
  padding: 10px 15px;
  border-radius: 14px;
  font-size: clamp(1rem, 3vw, 1.18rem);
  font-weight: 850;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
/* Breathing room between the transparent navigation and hero copy. */
.slider-area .hero__caption {
  transform: translateY(48px);
}

@media (max-width: 767px) {
  .slider-area .hero__caption {
    transform: translateY(34px);
  }
}
/* Compact, square-leaning hero CTA with true optical centering. */
.slider-area .hero__caption .hero__cta {
  width: 228px;
  height: 58px;
  min-height: 58px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1 !important;
  white-space: nowrap;
  text-align: center;
}
/* Clear hierarchy inside each plan card. */
.plan-card__name {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.plan-card__price {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 850;
  line-height: 1;
  margin: 0 0 20px;
}

.plan-card__highlight {
  display: inline-block;
  margin: 0 auto;
  color: #3d3d3d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.plan-card__highlight::before {
  content: '✓ ';
  color: var(--color-primary);
  font-weight: 850;
}
/* Larger CTA label without changing the button footprint. */
.slider-area .hero__caption .hero__cta {
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}
/* Restored original hero appointment CTA. */
.slider-area .hero__caption .hero__cta {
  display: inline-block;
  width: auto;
  height: auto;
  min-height: 0;
  padding: var(--space-xs);
  padding-bottom: var(--space-xs) !important;
  border: 0;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2 !important;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  transform: none;
}

.slider-area .hero__caption .hero__cta:hover,
.slider-area .hero__caption .hero__cta:focus {
  transform: none;
  box-shadow: none;
}