﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --cdl-navy-900: #0b1d39;
  --cdl-navy-800: #0f264a;
  --cdl-blue-700: #1f4fb2;
  --cdl-blue-500: #2f6de0;
  --cdl-teal-500: #0f8b8d;
  --cdl-sand-500: #f7d37a;
  --cdl-ink-900: #0e1523;
  --cdl-ink-700: #2b3447;
  --cdl-ink-500: #4f5b6b;
  --cdl-ink-200: #d9dee6;
  --cdl-ink-100: #eef1f5;
  --cdl-cream-100: #f8f6f1;
  --white: #ffffff;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 60px rgba(15, 38, 74, 0.18);
  --shadow-md: 0 18px 36px rgba(15, 38, 74, 0.14);
  --shadow-sm: 0 10px 20px rgba(15, 38, 74, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--cdl-cream-100);
  color: var(--cdl-ink-900);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(0.98); }

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

.btn-primary:hover { box-shadow: var(--shadow-md); }

.home-hero {
  background: url("../assets/image/home/curraisnovos.png") center/cover no-repeat;
  color: var(--white);
  padding: clamp(48px, 7vw, 84px) 0;
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(9, 20, 38, 0.78), rgba(9, 20, 38, 0.45));
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 28px;
  align-items: center;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.home-hero__content {
  display: grid;
  gap: 18px;
}

.home-hero__benefits {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

.home-hero__cta { justify-self: flex-start; }

.home-hero__media {
  display: grid;
  justify-items: end;
}

.home-hero__media img {
  width: min(520px, 100%);
  margin-right: -24px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
  transition: transform 0.35s ease, filter 0.35s ease;
  animation: hero-float 6s ease-in-out infinite;
}

.home-hero__media img:hover {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 24px 46px rgba(0,0,0,0.4));
}

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

.impact-band {
  background: #1f3f86;
  color: var(--white);
  border-radius: 0;
  margin: 0;
  padding: clamp(20px, 4.5vw, 36px) 0;
}

.impact-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: grid;
  gap: 8px;
}

.impact-band__title {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.impact-band__subtitle {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.news-cards {
  padding: 24px 0 4px;
  background: var(--cdl-cream-100);
}

.news-cards__inner {
  display: grid;
  gap: 12px;
}

.news-cards__header {
  display: grid;
  gap: 6px;
}

.news-cards__section-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--cdl-blue-700);
  text-align: left;
}

.news-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  background: var(--white);
  border: 1px solid rgba(15, 38, 74, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.news-card__kicker {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  color: var(--cdl-navy-800);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
}

.news-card__row {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 16px;
  align-items: center;
}

.news-card__content {
  display: grid;
  gap: 8px;
}

.news-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--cdl-blue-700);
}

.news-card__text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--cdl-ink-900);
}

.news-card__media {
  margin: 0;
  width: 100%;
}

.news-card__media img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  justify-self: end;
}

.news-card .btn-download {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cdl-blue-700);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.news-card .btn-download:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.news-card .btn-download:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.news-card .btn-download:focus-visible {
  outline: 2px solid var(--cdl-sand-500);
  outline-offset: 3px;
}

.club-cta {
  padding: 28px 0 10px;
  background: var(--cdl-cream-100);
}

.club-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
}

.club-cta__content {
  display: grid;
  gap: 14px;
}

.club-cta__content h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--cdl-ink-900);
}

.club-cta__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(14, 21, 35, 0.78);
}

.club-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.club-cta .btn-primary {
  background: var(--cdl-blue-700);
}

.club-cta__media {
  display: grid;
  justify-items: end;
}

.club-cta__media img {
  width: min(520px, 100%);
  margin-right: -24px;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
  transition: transform 0.35s ease, filter 0.35s ease;
  animation: hero-float 6s ease-in-out infinite;
}

.club-cta__media img:hover {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 24px 46px rgba(0,0,0,0.4));
}

.site-footer {
  margin-top: 60px;
  background: var(--cdl-navy-900);
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 22px;
  padding: 46px 24px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.site-footer__text {
  margin: 0;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-size: 14px;
  max-width: 420px;
}

.site-footer h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: var(--cdl-sand-500);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__social-links {
  display: grid;
  gap: 8px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 14px 24px;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

.products-track .product-card {
  width: 320px;           
  max-width: 320px;
  min-height: 430px;      
  flex: 0 0 auto;          

  background: var(--white);
  border: 1px solid var(--cdl-ink-100);
  border-radius: var(--radius-md);
  padding: 18px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  box-shadow: var(--shadow-sm);
}

.products-track .product-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--cdl-navy-800);
}

.products-track .product-card p {
  margin: 0;
  font-size: 14px;
  color: var(--cdl-ink-700);
  line-height: 1.5;

  flex: 1;                
}

.products-track .product-card figure {
  margin: 0;
}

.products-track .product-card img {
  width: 100%;
  height: 180px;           
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.products-track .product-card .btn {
  align-self: flex-start;
  min-width: 140px;
  margin-top: 0;           
}


@media (max-width: 720px) {
  .products-track .product-card {
    width: 280px;
    max-width: 280px;
    min-height: 420px;
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--cdl-ink-100);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  min-height: 100%;
}

.products {
  padding: 18px 0 10px;
  background: var(--cdl-cream-100);
}

.products-header {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.products-title {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--cdl-blue-700);
}

.products-subtitle {
  margin: 0;
  color: var(--cdl-ink-700);
  line-height: 1.6;
}

.products-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 10px 0;
}

.products-marquee::before,
.products-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 2;
}

.products-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--cdl-cream-100), rgba(248, 246, 241, 0));
}

.products-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--cdl-cream-100), rgba(248, 246, 241, 0));
}

.products-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  will-change: transform;

  animation: products-scroll 55s linear infinite;

  padding: 6px 64px;
}

.products-marquee:hover .products-track,
.products-marquee:focus-within .products-track {
  animation-play-state: paused;
}

@keyframes products-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.products-track .product-card {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .products-track { animation: none; }
}

@media (max-width: 720px) {
  .products-marquee::before,
  .products-marquee::after {
    width: 28px;
  }

  .products-track {
    padding: 6px 28px;
    animation-duration: 75s; 
  }
}
/* =========================
   RESPONSIVO
   ========================= */
@media (max-width: 900px) {
  .home-hero__layout {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .home-hero__media {
    justify-items: center;
    order: 2;
  }

  .home-hero__content { order: 1; }

  .news-cards__grid { grid-template-columns: 1fr; }

  .club-cta__inner {
    grid-template-columns: 1fr;
  }

  .club-cta__media {
    justify-items: center;
    order: 2;
  }

  .club-cta__content {
    order: 1;
  }
}

@media (max-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container { padding: 28px 18px 56px; }
  .home-hero__inner { padding: 0 18px; }

  .news-card__row {
    grid-template-columns: 1fr;
  }

  .news-card__media img {
    max-width: 180px;
    justify-self: start;
  }

  .club-cta__actions {
    justify-content: center;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    padding: 34px 18px 18px;
  }

  .site-footer__bottom { padding: 14px 18px; }
}

@media (max-width: 480px) {
  .home-hero h1 { font-size: 28px; }
  .btn { width: 100%; max-width: 320px; }
  .home-hero__benefits { font-size: 14px; }
}
