/* ===========================
   Ribeirão Cold Log — Style 2
   Light Theme: White & Blue
   =========================== */

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

:root {
  /* Blue Palette */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a5f;

  --white: #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --green-wpp: #25D366;

  --gradient-blue: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  --gradient-blue-soft: linear-gradient(135deg, var(--blue-500), var(--blue-700));

  --ff-heading: 'Outfit', sans-serif;
  --ff-body:    'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .1);

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--ff-body);
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Tags & Titles ---------- */
.section-tag {
  font-family: var(--ff-heading);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 99, 235, .25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, .35);
}

.btn--outline {
  background: var(--green-wpp);
  color: var(--white);
  border: 1.5px solid var(--green-wpp);
  box-shadow: 0 4px 16px rgba(37, 211, 102, .25);
}
.btn--outline:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .35);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--green-wpp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, .25);
}
.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .35);
  filter: brightness(1.08);
}

.btn--large {
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(248, 250, 252, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(248, 250, 252, .95);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.logo-img {
  height: 44px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--ff-heading);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover { color: var(--blue-600); }
.nav-link:hover::after { width: 100%; }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  background: var(--gradient-blue);
  color: var(--white);
  transition: var(--transition);
}
.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .3);
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('imagens/bongo2.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 58, 95, .82) 0%,
    rgba(30, 64, 175, .72) 40%,
    rgba(30, 58, 95, .88) 100%
  );
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero .gradient-text {
  background: linear-gradient(135deg, var(--blue-200), #e0f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--ff-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--blue-200);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .2);
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

.about__text {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__text strong {
  color: var(--gray-900);
}

.about__content .btn {
  margin-top: 12px;
}

.about__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-800);
  transition: var(--transition);
}
.about__card:hover {
  background: var(--blue-100);
  transform: translateX(6px);
  border-color: var(--blue-300);
  box-shadow: var(--shadow-card);
}
.about__card span {
  font-size: 1.6rem;
}

.about__card--1 { animation: floatCard 6s ease-in-out infinite; }
.about__card--2 { animation: floatCard 6s ease-in-out infinite 1s; }
.about__card--3 { animation: floatCard 6s ease-in-out infinite 2s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 0;
  background: var(--gray-50);
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.service-card__title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---------- Diferenciais ---------- */
.differentials {
  margin-top: 20px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-200);
}

.differentials__title {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 36px;
}

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

.differential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  text-align: left;
}
.differential-item:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.differential-item__icon {
  flex-shrink: 0;
  color: var(--blue-500);
}

.differential-item span {
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ========== FLEET ========== */
.fleet {
  padding: 100px 0;
  background: var(--white);
}

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

.fleet__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.fleet__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.fleet__image:hover img {
  transform: scale(1.03);
}

.fleet__text {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  position: relative;
}

.contact__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contact__text {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 550px;
  margin: 0 auto 20px;
}

.contact__region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--blue-600);
  margin-bottom: 32px;
}

.contact__phone {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 20px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 40px;
}

.footer__tagline {
  color: var(--gray-400);
  font-size: .9rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--ff-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer__links a:hover {
  color: var(--blue-300);
  transform: translateX(4px);
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--gray-400);
  transition: var(--transition);
}
.footer__contact a:hover { color: var(--blue-300); }

.footer__region {
  font-size: .85rem;
  color: var(--gray-500);
  margin-top: 8px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: .8rem;
  color: var(--gray-500);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-wpp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
  transition: var(--transition);
  color: var(--white);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, .5);
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .about__inner,
  .fleet__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 24px;
    transition: right .4s cubic-bezier(.4, 0, .2, 1);
    border-left: 1px solid var(--gray-200);
    z-index: 998;
  }
  .header__nav.open { right: 0; }

  .header__cta { display: none; }
  .header__toggle { display: flex; }

  .header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header__toggle.active span:nth-child(2) { opacity: 0; }
  .header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__title { font-size: 1.9rem; }
  .hero__subtitle { font-size: 1rem; letter-spacing: 2px; }

  .differentials__grid {
    grid-template-columns: 1fr;
  }

  .fleet__inner {
    grid-template-columns: 1fr;
  }
  .fleet__image { order: -1; }
}
