/* ========================================
   RYAN MONTADOR - IDENTIDADE VISUAL
======================================== */

:root {
  --primary: #ffbc16;
  --primary-dark: #d99b00;
  --black: #171717;
  --text: #252525;
  --muted: #666b73;
  --white: #ffffff;
  --ice: #f7f8fa;
  --light: #f1f3f5;
  --border: #e7e9ed;

  --radius: 18px;
  --shadow: 0 12px 35px rgba(0, 0, 0, 0.055);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 105px 0;
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: #a57300;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  color: var(--black);
  line-height: 1.18;
  letter-spacing: -0.6px;
}

h2 {
  font-size: clamp(30px, 3.6vw, 43px);
  margin-bottom: 18px;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
}

/* BOTÕES */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding: 12px 23px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--black);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #d5d8dc;
  color: var(--black);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--black);
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-content {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 145px;
  height: 82px;
  object-fit: contain;
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s;
}

.nav a:hover {
  color: #b98000;
}

.header-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
}

/* HERO */

.hero {
  background:
    radial-gradient(circle at 85% 15%, #fff5d9 0, transparent 40%), var(--ice);
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 65px;
}

.hero h1 {
  font-size: clamp(39px, 5vw, 64px);
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #c68e00;
}

.hero-content > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 550px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-highlights {
  margin-top: 37px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-highlights span {
  font-size: 12px;
  font-weight: 800;
  padding: 8px 13px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.hero-highlights span::before {
  content: "●";
  color: var(--primary-dark);
  margin-right: 7px;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 25px -20px -20px 30px;
  background: var(--primary);
  border-radius: 25px;
  opacity: 0.25;
}

.hero-visual img {
  position: relative;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 25px;
  box-shadow: var(--shadow);
}

/* SERVIÇOS */

.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #f2d57c;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  border-radius: 13px;
  background: #fff5d8;
  color: #9f7200;
  font-weight: 900;
  margin-bottom: 26px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 13px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

/* SOBRE */

.about {
  background: var(--ice);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-content p {
  color: var(--muted);
  margin-bottom: 20px;
}

.about-content .btn {
  margin-top: 12px;
}

/* DIFERENCIAIS */

.advantages {
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  padding: 34px;
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.advantage-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--primary);
  color: var(--black);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  font-weight: 900;
  margin-bottom: 23px;
}

.advantage-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.advantage-card p {
  color: var(--muted);
  font-size: 14px;
}

/* PORTFÓLIO */

.portfolio {
  background: var(--ice);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9eaec;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* COMO FUNCIONA */

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.process-step {
  text-align: center;
  padding: 25px 20px;
}

.process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background: #fff3d1;
  color: #9e7100;
  font-size: 21px;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 23px;
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

/* CONTATO */

.contact {
  background: var(--ice);
}

.contact-box {
  background: var(--black);
  padding: 80px 35px;
  border-radius: 26px;
  text-align: center;
}

.contact-box .eyebrow {
  color: var(--primary);
}

.contact-box h2 {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 20px;
}

.contact-box > p {
  max-width: 580px;
  margin: 0 auto 28px;
  color: #cacaca;
}

.contact-box .contact-region {
  margin: 25px auto 0;
  font-size: 13px;
}

/* FOOTER */

.footer {
  background: #121212;
  color: var(--white);
  padding-top: 55px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-brand h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-location p {
  color: #b7b7b7;
  font-size: 14px;
}

.footer-location {
  text-align: right;
}

.footer-location a {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #303030;
  padding: 21px 0;
  text-align: center;
}

.footer-bottom p {
  color: #999;
  font-size: 12px;
}

/* RESPONSIVIDADE */

@media (max-width: 1024px) {
  .header-cta {
    display: none;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-visual img {
    height: 420px;
  }

  .about-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .section {
    padding: 75px 0;
  }

  .header-content {
    height: 76px;
  }

  .brand img {
    width: 120px;
    height: 68px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: var(--ice);
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 12px 8px;
  }

  .hero {
    padding: 65px 0 80px;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(37px, 8vw, 52px);
  }

  .hero-visual img {
    height: 380px;
  }

  .services-grid,
  .advantages-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-image img {
    height: auto;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual img {
    height: 310px;
  }

  .hero-visual::before {
    inset: 15px -8px -10px 15px;
  }

  .services-grid,
  .advantages-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .service-card,
  .advantage-card {
    padding: 27px;
  }

  .about-image img {
    height: auto;
  }

  .portfolio-item img {
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
  }

  .contact-box {
    padding: 55px 22px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-location {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================
   HERO MOBILE - RYAN MONTADOR
========================================= */

@media (max-width: 768px) {
  .hero {
    padding: 42px 0 55px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(30px, 7.5vw, 38px);
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin-bottom: 17px;
  }

  .hero-content > p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-actions {
    flex-direction: row;
    gap: 10px;
  }

  .hero-actions .btn {
    width: auto;
    min-height: 45px;
    padding: 10px 17px;
    font-size: 13px;
  }

  .hero-actions .btn-outline {
    display: none;
  }

  .hero-highlights {
    display: none;
  }

  .hero-visual img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
  }

  .hero-visual::before {
    inset: 12px -5px -8px 12px;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero-visual img {
    height: 290px;
  }
}

/* =========================================
   MENU INFERIOR MOBILE - RYAN MONTADOR
========================================= */

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;

    background: #ffffff;
    border-top: 1px solid #e7e9ed;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.06);

    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    min-width: 0;
    min-height: 52px;
    padding: 5px 2px;

    color: #555555;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    border-radius: 10px;
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .bottom-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #555555;
  }

  .bottom-nav__icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    transition: stroke 0.2s ease;
  }

  /* Destaque da seção ativa */
  .bottom-nav a.active {
    background: #fff3d0;
    color: #171717;
  }

  .bottom-nav a.active .bottom-nav__icon {
    color: #b98300;
  }

  .bottom-nav a.active span:last-child {
    font-weight: 800;
  }

  .bottom-nav a:hover,
  .bottom-nav a:focus-visible {
    background: #fff4d8;
    color: #171717;
  }

  .bottom-nav a:focus-visible {
    outline: 2px solid #d99b00;
    outline-offset: 2px;
  }

  .bottom-nav a:active {
    background: #ffbc16;
  }

  /* Impede que o menu esconda o rodapé */
  .footer {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
  }
}

/* =========================================
   ANIMAÇÕES AO ROLAR A PÁGINA
   ESTILO SALVATECK
========================================= */

.reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);

  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animações mais leves no celular */
@media (max-width: 768px) {
  .reveal-ready .reveal-on-scroll {
    transform: translateY(18px);

    transition-duration: 0.55s;
  }
}

/* Respeita a preferência por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
