/* ==========================================================================
   PeopleAI — Landing Page
   ========================================================================== */

:root {
  --color-primary: #006699;
  --color-primary-dark: #004d73;
  --color-primary-light: #e6f2f8;
  --color-text: #000000;
  --color-text-muted: rgba(0, 0, 0, 0.65);
  --color-text-soft: rgba(0, 0, 0, 0.5);
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-white: #ffffff;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 10px 30px rgba(0, 102, 153, 0.28);

  --container-width: 1160px;
  --transition: 0.25s ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

main section[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 102, 153, 0.36);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

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

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
}

.logo span {
  color: var(--color-primary);
}

.logo__img {
  height: 24px;
  width: auto;
  display: block;
}

.logo__img--footer {
  height: 30px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
  border-radius: 2px;
  box-shadow: 0 1px 12px rgba(255, 255, 255, 0.5);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 104px 0 36px;
  background-color: var(--color-primary-light);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 32%, rgba(255, 255, 255, 0.55) 58%, rgba(255, 255, 255, 0.75) 100%),
    url('img/hero-bg-mobile.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(26px, 7.5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 24px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Phone mock com chat de IA */
.phone-mock {
  width: min(280px, 90vw);
  background-color: #0d1b21;
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  order: 2;
}

.phone-mock__screen {
  background-color: var(--color-bg-alt);
  border-radius: 24px;
  min-height: 380px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.4;
  animation: fadeUp 0.5s ease both;
}

.chat-bubble--in {
  align-self: flex-start;
  background-color: var(--color-white);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chat-bubble--out {
  align-self: flex-end;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  background-color: var(--color-white);
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-text-soft);
  animation: blink 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.floating-card {
  position: static;
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
}

.floating-card strong {
  font-size: 16px;
  color: var(--color-primary);
  font-weight: 800;
}

.floating-card span {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.floating-card--1 {
  order: 1;
}

.floating-card--2 {
  order: 3;
}

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats {
  background-color: var(--color-primary);
  padding: 36px 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Clientes (prova social)
   ========================================================================== */
.clients {
  padding: 44px 0;
  background-color: #05161d;
}

.clients__label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
}

.clients__logo {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity var(--transition);
}

.clients__logo:hover {
  opacity: 1;
}

.clients__logo img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* ==========================================================================
   Section head (shared)
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 15.5px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Produtos / Soluções
   ========================================================================== */
.products {
  padding: 72px 0;
  background-color: var(--color-bg-alt);
}

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-primary);
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.product-card__desc {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.product-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.product-card__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--color-text);
  font-weight: 500;
}

.product-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%23006699' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ==========================================================================
   Depoimentos / Cases
   ========================================================================== */
.testimonials {
  padding: 72px 0;
  background-color: var(--color-bg);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.testimonial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.testimonial-card__media:hover img {
  transform: scale(1.05);
}

.testimonial-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
  transition: transform var(--transition);
}

.testimonial-card__media:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.testimonial-card__body {
  padding: 24px;
}

.testimonial-card__body p {
  font-size: 14.5px;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.6;
}

.testimonial-card__author strong {
  display: block;
  font-size: 15px;
  color: var(--color-text);
}

.testimonial-card__author span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Quem somos (time)
   ========================================================================== */
.team {
  padding: 72px 0;
  background-color: var(--color-bg-alt);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}

.team-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 2px;
}

.team-card__role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.team-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  transition: background-color var(--transition), color var(--transition);
}

.team-card__linkedin:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   Como funciona
   ========================================================================== */
.process {
  padding: 72px 0;
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 0 8px;
}

.process-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 18px;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

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

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 72px 0;
  background-color: var(--color-bg-alt);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 32px 18px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA Final
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 72px 0;
}

.final-cta__inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #05161d;
  color: rgba(255, 255, 255, 0.75);
  padding: 36px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 20px;
  padding-bottom: 28px;
}

.footer__brand {
  grid-column: 1 / -1;
}

.footer__brand .logo--footer {
  color: var(--color-white);
  margin-bottom: 10px;
  display: inline-block;
}

.footer__brand p {
  font-size: 14px;
  max-width: 320px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: background-color var(--transition), color var(--transition);
}

.footer__social a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.footer__col h4 {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  width: fit-content;
}

.footer__col a:hover {
  color: var(--color-white);
}

.footer__location {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__location__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__location__text h4 {
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer__location__text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 420px;
}

.footer__location__map {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.footer__location__map iframe {
  pointer-events: none;
}

.footer__location__map-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  transition: box-shadow var(--transition);
}

.footer__location__map-link:hover,
.footer__location__map-link:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.footer__bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  z-index: 400;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Modal de vídeo
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.video-modal__content {
  position: relative;
  width: 100%;
  max-width: 800px;
  z-index: 1;
}

.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #000;
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition);
}

.video-modal__close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsivo — Tablet (>= 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .logo__img {
    height: 32px;
  }

  .header__actions {
    gap: 16px;
  }

  .btn--sm {
    padding: 10px 20px;
    font-size: 14px;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__location__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .footer__location__text p {
    max-width: 360px;
  }

  .footer__location__map {
    width: 220px;
    height: 100px;
    flex-shrink: 0;
  }

  .hero__title {
    font-size: 36px;
  }
}

/* ==========================================================================
   Responsivo — Desktop (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 116px 0 72px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 30%, rgba(255, 255, 255, 0.55) 56%, rgba(255, 255, 255, 0.18) 76%, rgba(255, 255, 255, 0.04) 100%),
      url('img/hero-bg.jpg');
    background-position: center right;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .hero__content {
    flex: 1;
    max-width: 560px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .hero__visual {
    flex: 1;
    flex-direction: row;
    justify-content: center;
  }

  .phone-mock {
    width: 280px;
    order: initial;
  }

  .floating-card {
    position: absolute;
    flex-direction: column;
    padding: 12px 18px;
    border-radius: var(--radius-md);
  }

  .floating-card strong {
    font-size: 20px;
  }

  .floating-card--1 {
    order: initial;
    top: 8%;
    left: -4%;
  }

  .floating-card--2 {
    order: initial;
    bottom: 10%;
    right: -4%;
  }

  .stats__inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat strong {
    font-size: 36px;
  }

  .products {
    padding: 100px 0;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .testimonials {
    padding: 100px 0;
  }

  .final-cta {
    padding: 96px 0;
  }

  .final-cta h2 {
    font-size: 32px;
  }
}

/* ==========================================================================
   Menu mobile (aberto)
   ========================================================================== */
@media (max-width: 1023px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .nav.is-open {
    display: flex;
    max-height: 260px;
  }

  .nav__link {
    width: 100%;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    text-shadow: none;
  }
}
