@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Inter:wght@300;400;600&family=Teko:wght@500;600;700&family=Montserrat:wght@800&family=Bebas+Neue&display=swap');

:root {
  /* Colors */
  --color-primary: #4c1180; /* Roxo Gurias */
  --color-primary-light: #6a1ba3;
  --color-secondary: #e62429; /* Vermelho Paraná */
  --color-accent: #004b93; /* Azul Paraná */
  --color-white: #ffffff;
  --color-bg-dark: #090310;
  --color-text-main: #f0f0f0;
  --color-text-muted: #a0a0a0;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-glow: rgba(76, 17, 128, 0.5);

  /* Typography */
  --font-heading: 'Teko', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Layout */
  --container-width: 1200px;
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.inline-link {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.inline-link:hover {
  color: var(--color-secondary);
  border-bottom-color: var(--color-secondary);
}

.script-text {
  font-family: var(--font-script);
  color: var(--color-secondary);
  text-transform: none;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(45deg, var(--color-secondary), var(--color-primary));
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 15px rgba(230, 36, 41, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 36, 41, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 75, 147, 0.4);
}

/* --- HERO SECTION --- */
.hero {
  padding: 8rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-dark);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(76, 17, 128, 0.2) 0%, rgba(9, 3, 16, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content, .hero-magazine-layout {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease both;
}

.hero-badges img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: var(--transition);
  animation: float 4s ease-in-out infinite;
}

.hero-badges img:nth-child(2) {
  animation-delay: 2s;
}

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


.hero-magazine-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text-side {
  text-align: left;
}

.hero-image-side {
  display: flex;
  justify-content: center;
}

.hero-image-side .magazine-cutout {
  transform: rotate(3deg);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero p.subheadline {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  text-align: left;
}

.hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  animation: fadeInUp 1s 0.9s ease both;
}

/* --- ABOUT SECTION --- */
.about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to bottom, rgba(9, 3, 16, 0.7), rgba(9, 3, 16, 0.95)), url('img/background-paper.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 5.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  letter-spacing: -1px;
}

@keyframes titleReveal {
  0% { 
    opacity: 0; 
    transform: translateY(50px) skewY(5deg);
    filter: blur(10px);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) skewY(0deg);
    filter: blur(0);
  }
}

.about-content p {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  color: var(--color-text-muted);
  /* animation: fadeInUp 1s 0.6s ease both; */
}

.highlight-box {
  text-align: center;
  perspective: 1000px;
}

.magazine-cutout {
  position: relative;
  display: inline-block;
  padding: 10px;
  background: white;
  box-shadow: 8px 8px 20px rgba(0,0,0,0.4);
  transform: rotate(-2deg);
  /* Efeito de recorte irregular */
  clip-path: polygon(
    2% 1%, 98% 3%, 99% 97%, 1% 99%,
    1.5% 50%, 0% 20%
  );
  transition: var(--transition);
}

.magazine-cutout:hover {
  transform: rotate(0deg) scale(1.02);
}

.magazine-cutout img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 2px solid #ddd;
}

/* --- SOCIAL REDESIGN (Revista/Grunge) --- */
.social-redesign {
  background-color: var(--color-bg-dark);
  background-image: linear-gradient(rgba(15, 5, 25, 0.9), rgba(15, 5, 25, 0.9)), url('img/background-paper.png');
  background-size: cover;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.bg-repeat-text {
  position: absolute;
  top: 0;
  right: -5%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18rem;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  font-weight: 900;
  transform: rotate(-15deg);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.social-magazine-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.script-title {
  font-family: var(--font-script);
  font-size: 5rem;
  color: var(--color-white);
  margin-bottom: 3rem;
  text-transform: none;
}

.social-info-vertical {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-item i {
  font-size: 3.5rem;
  color: var(--color-white);
}

.social-item .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  color: var(--color-white);
  font-weight: 800;
}

.social-item .unit {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-white);
  margin-left: 5px;
}

.social-polaroids {
  position: relative;
  height: 500px;
}

.polaroid {
  background: white;
  padding: 15px 15px 60px 15px;
  box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
  position: absolute;
  transition: var(--transition);
}

.polaroid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.polaroid.p1 {
  width: 350px;
  top: 0;
  left: 0;
  transform: rotate(-5deg);
  z-index: 2;
}

.polaroid.p2 {
  width: 350px;
  bottom: 0;
  right: 0;
  transform: rotate(5deg);
  z-index: 1;
}

.polaroid:hover {
  z-index: 10;
  transform: rotate(0deg) scale(1.05);
}

.purple-tape {
  position: absolute;
  background: rgba(76, 17, 128, 0.7);
  height: 40px;
  width: 120px;
  z-index: 3;
  backdrop-filter: blur(2px);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.purple-tape.t1 {
  top: -10px;
  left: 50%;
  margin-left: -60px;
  transform: rotate(-15deg);
}

.purple-tape.t2 {
  bottom: 40px;
  right: 50%;
  margin-right: -60px;
  transform: rotate(10deg);
}

.social-footer-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.mini-logo {
    height: 60px;
    filter: none;
    opacity: 1;
}

.round-logo {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-white);
}

.logo-wrapper {
    background: var(--color-primary);
    border-radius: 50%;
    padding: 2px;
    display: flex;
}

/* --- WHY SPONSOR SECTION --- */
.why-sponsor {
  position: relative;
  background-image: linear-gradient(to right, rgba(76, 17, 128, 0.9), rgba(9, 3, 16, 0.7)), url('img/Fotos/porquePatro.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.why-sponsor h2 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-15px) scale(1.03);
  border-color: var(--color-secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.benefit-card h4 {
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.benefit-card p {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.benefit-card .social-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: transform 0.3s ease;
}

.benefit-card:hover .social-icon {
  transform: scale(1.2) rotate(5deg);
}

/* Staggered reveal for benefits */
.benefits-grid .benefit-card:nth-child(1) { transition-delay: 0.1s; }
.benefits-grid .benefit-card:nth-child(2) { transition-delay: 0.2s; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: 0.3s; }
.benefits-grid .benefit-card:nth-child(4) { transition-delay: 0.4s; }
.benefits-grid .benefit-card:nth-child(5) { transition-delay: 0.5s; }

/* --- UNIFORM & POSITIONING SECTION --- */
.uniform {
  background-color: var(--color-bg-dark);
}

.uniform h2 {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.uniform > p {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.uniform-mockup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup-image-wrapper {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin-bottom: 3rem;
}

.mockup-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

/* --- PARTNERS SECTION --- */
.partners {
  background-color: #05020a;
  padding: 4rem 0;
  text-align: center;
}

.partners h3 {
  font-size: 2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
}

.partner-img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: var(--transition);
}

.madeira-logo {
  /* Filtro específico para tentar "matar" o fundo quadriculado e manter o logo branco */
  filter: contrast(300%) brightness(150%) grayscale(1);
  mix-blend-mode: screen;
}

.partner-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* --- CTA FINAL & CONTACT --- */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-secondary) 100%);
  text-align: center;
}

.final-cta h2 {
  font-size: 4rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.contact-section {
  background-color: var(--color-bg-dark);
  border-top: 1px solid var(--glass-border);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.contact-card {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.contact-card p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-card strong {
  color: var(--color-accent);
}

.contact-social {
  margin-top: 2rem;
}

.contact-social a {
  display: inline-block;
  color: var(--color-white);
  text-decoration: none;
  margin-right: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}

.contact-social a:hover {
  color: var(--color-secondary);
}

/* --- ANIMATIONS & UTILITIES --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero-magazine-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-text-side, .hero h1, .hero p.subheadline, .hero-cta { text-align: center; justify-content: center; }
  .hero-image-side { order: -1; margin-bottom: 2rem; }
  .about-content h2 { font-size: 3.5rem; }
  .about-content p { font-size: 1.2rem; }
  .about-grid, .contact-container { grid-template-columns: 1fr; }
  .social-magazine-grid { grid-template-columns: 1fr; gap: 2rem; }
  .social-polaroids { height: 400px; display: flex; justify-content: center; align-items: center; }
  .polaroid.p1, .polaroid.p2 { position: relative; transform: rotate(0); width: 280px; margin: 0 -20px; }
  .polaroid.p1 { z-index: 2; transform: rotate(-5deg); }
  .polaroid.p2 { z-index: 1; transform: rotate(5deg); top: 40px; }
  .bg-repeat-text { font-size: 8rem; }
  .script-title { font-size: 3.5rem; text-align: center; }
  .social-info-vertical { align-items: center; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .hero-cta { flex-direction: column; gap: 1rem; }
  .script-text { font-size: 2rem; }
  .social-polaroids { height: 350px; }
  .polaroid.p1, .polaroid.p2 { width: 220px; }
  .social-item .number { font-size: 2.5rem; }
  .social-item i { font-size: 2.5rem; }
  .social-item .unit { font-size: 1.5rem; }
}
