/* ============================================
   GR Gráficas - Em Construção
   Design: Cores vibrantes, elementos de tinta, profissionalismo
   ============================================ */

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

:root {
   --color-primary: #00a8e8;
   --color-secondary: #e91e63;
   --color-accent: #ffd700;
   --color-dark: #1a1a1a;
   --color-light: #f5f5f5;
   --color-white: #ffffff;
   --color-green: #00c853;
   --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html,
body {
   height: 100%;
   width: 100%;
}

body {
   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
   color: var(--color-dark);
   overflow-x: hidden;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container-main {
   position: relative;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   overflow: hidden;
}

.background-elements {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   pointer-events: none;
   z-index: 0;
}

.content-wrapper {
   position: relative;
   z-index: 1;
   width: 100%;
   max-width: 900px;
   padding: 2rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   min-height: 100vh;
}

/* ============================================
   PAINT SPLASHES & SPLATTERS (ANIMATED)
   ============================================ */

.paint-splash {
   position: absolute;
   border-radius: 50%;
   opacity: 0.15;
   filter: blur(40px);
   animation: float 6s ease-in-out infinite;
}

.paint-splash.splash-1 {
   width: 300px;
   height: 300px;
   background: var(--color-primary);
   top: -50px;
   right: -100px;
   animation-delay: 0s;
}

.paint-splash.splash-2 {
   width: 250px;
   height: 250px;
   background: var(--color-secondary);
   bottom: 100px;
   left: -80px;
   animation-delay: 2s;
}

.paint-splash.splash-3 {
   width: 200px;
   height: 200px;
   background: var(--color-accent);
   top: 50%;
   right: 5%;
   animation-delay: 4s;
}

.paint-splatter {
   position: absolute;
   opacity: 0.1;
   animation: pulse 4s ease-in-out infinite;
}

.paint-splatter.splatter-1 {
   width: 150px;
   height: 150px;
   background: var(--color-primary);
   top: 20%;
   left: 10%;
   clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
   animation-delay: 1s;
}

.paint-splatter.splatter-2 {
   width: 120px;
   height: 120px;
   background: var(--color-secondary);
   bottom: 20%;
   right: 15%;
   clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
   animation-delay: 2.5s;
}

.paint-splatter.splatter-3 {
   width: 100px;
   height: 100px;
   background: var(--color-accent);
   top: 60%;
   left: 5%;
   clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
   animation-delay: 0.5s;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes pulse {
   0%,
   100% {
      transform: scale(1);
      opacity: 0.1;
   }
   50% {
      transform: scale(1.1);
      opacity: 0.2;
   }
}

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

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

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

@keyframes rotate {
   from {
      transform: rotate(0deg);
   }
   to {
      transform: rotate(360deg);
   }
}

@keyframes swing {
   0%,
   100% {
      transform: rotate(-5deg);
   }
   50% {
      transform: rotate(5deg);
   }
}

/* ============================================
   HEADER & LOGO
   ============================================ */

.header {
   text-align: center;
   margin-bottom: 2rem;
   animation: slideInDown 0.8s ease-out;
}

.logo-container {
   display: flex;
   justify-content: center;
   align-items: center;
}

.logo {
   max-width: 200px;
   width: 100%;
   height: auto;
   filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
   transition: var(--transition-smooth);
}

.logo:hover {
   filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.25)) brightness(1.05);
   transform: scale(1.02);
}

.mr-2 {
   margin-right: 1.5rem;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
   width: 100%;
}

.construction-section {
   text-align: center;
   animation: slideInUp 0.8s ease-out 0.2s both;
}

.title {
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--color-dark);
   margin-bottom: 1rem;
   background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   letter-spacing: -1px;
}

.subtitle {
   font-size: 1.1rem;
   color: #666;
   margin-bottom: 1rem;
   font-weight: 300;
}

/* ============================================
   CONSTRUCTION ICON
   ============================================ */

.construction-icon {
   width: 120px;
   height: 120px;
   margin: 2rem auto;
   animation: swing 2s ease-in-out infinite;
}

.construction-icon svg {
   width: 100%;
   height: 100%;
   filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.hammer {
   animation: rotate 3s linear infinite;
   transform-origin: 76px 28px;
}

/* ============================================
   INFO BOX
   ============================================ */

.info-box {
   background: var(--color-white);
   border-radius: 15px;
   padding: 2rem;
   margin: 2rem 0;
   box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
   border-left: 5px solid var(--color-primary);
   transition: var(--transition-smooth);
   animation: fadeIn 0.8s ease-out 0.4s both;
}

.info-box:hover {
   box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
   transform: translateY(-5px);
}

.info-box h2 {
   font-size: 1.8rem;
   color: var(--color-dark);
   margin-bottom: 0.5rem;
}

.info-box p {
   font-size: 1rem;
   color: #666;
   margin-bottom: 0.5rem;
}

.info-box .description {
   font-size: 0.95rem;
   line-height: 1.6;
   margin-top: 1rem;
   color: #777;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
   margin: 2rem 0;
   animation: fadeIn 0.8s ease-out 0.6s both;
}

.contact-section h3 {
   font-size: 1.3rem;
   color: var(--color-dark);
   margin-bottom: 1.5rem;
}

.contact-info {
   display: flex;
   gap: 1.5rem;
   justify-content: center;
   flex-wrap: wrap;
}

.contact-link {
   display: inline-flex;
   align-items: center;
   gap: 0.8rem;
   padding: 0.8rem 1.5rem;
   background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
   color: var(--color-white);
   text-decoration: none;
   border-radius: 50px;
   font-weight: 500;
   transition: var(--transition-smooth);
   box-shadow: 0 5px 15px rgba(0, 168, 232, 0.3);
}

.contact-link:hover {
   transform: translateY(-3px);
   box-shadow: 0 10px 25px rgba(0, 168, 232, 0.5);
}

.contact-link .icon {
   font-size: 1.2rem;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loading-container {
   margin-top: 2rem;
   animation: fadeIn 0.8s ease-out 0.8s both;
}

.loading-bar {
   width: 200px;
   height: 6px;
   background: #e0e0e0;
   border-radius: 10px;
   margin: 0 auto 1rem;
   overflow: hidden;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.loading-progress {
   height: 100%;
   background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
   border-radius: 10px;
   animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes loadingProgress {
   0% {
      width: 0%;
   }
   50% {
      width: 100%;
   }
   100% {
      width: 0%;
   }
}

.loading-text {
   font-size: 0.9rem;
   color: #999;
   text-align: center;
   animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
   0%,
   100% {
      opacity: 0.5;
   }
   50% {
      opacity: 1;
   }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
   margin-top: 3rem;
   padding-top: 2rem;
   border-top: 1px solid rgba(0, 0, 0, 0.1);
   text-align: center;
   color: #999;
   font-size: 0.9rem;
   animation: slideInUp 0.8s ease-out 1s both;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
   .title {
      font-size: 2rem;
   }

   .subtitle {
      font-size: 1.1rem;
   }

   .info-box {
      padding: 1.5rem;
   }

   .info-box h2 {
      font-size: 1.4rem;
   }

   .contact-info {
      flex-direction: column;
      align-items: center;
   }

   .contact-link {
      width: 100%;
      justify-content: center;
   }

   .logo {
      max-width: 150px;
   }

   .construction-icon {
      width: 100px;
      height: 100px;
   }

   .paint-splash.splash-1 {
      width: 200px;
      height: 200px;
   }

   .paint-splash.splash-2 {
      width: 180px;
      height: 180px;
   }

   .paint-splash.splash-3 {
      width: 150px;
      height: 150px;
   }
}

@media (max-width: 480px) {
   .main-content {
      margin-top: 30px;
   }

   .content-wrapper {
      padding: 1rem;
   }

   .title {
      font-size: 1.5rem;
   }

   .subtitle {
      font-size: 1rem;
   }

   .info-box {
      padding: 1rem;
      border-left-width: 3px;
   }

   .info-box h2 {
      font-size: 1.2rem;
   }

   .info-box p {
      font-size: 0.9rem;
   }

   .contact-section h3 {
      font-size: 1.1rem;
   }

   .contact-link {
      padding: 0.7rem 1.2rem;
      font-size: 0.9rem;
   }

   .loading-bar {
      width: 150px;
   }

   .footer {
      font-size: 0.8rem;
   }
}
