/*
Theme Name: Telemiran Coming Soon
Theme URI: https://www.telemiran.pt
Author: Telemiran
Description: Tema de página "Em Breve" para Telemiran - Eletrodomésticos e Equipamentos
Version: 1.0
Text Domain: telemiran
*/

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

:root {
  /* Cores principais */
  --background: hsl(220, 20%, 97%);
  --foreground: hsl(220, 20%, 10%);
  --primary: hsl(16, 100%, 50%);
  --primary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(220, 15%, 94%);
  --muted-foreground: hsl(220, 10%, 45%);
  --border: hsl(220, 15%, 90%);
  --card: hsl(0, 0%, 100%);
  --radius: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========================================
   BACKGROUNDS E EFEITOS
   ======================================== */
.gradient-hero {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, hsla(16, 100%, 50%, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, hsla(16, 100%, 60%, 0.1), transparent),
    linear-gradient(180deg, hsl(220, 20%, 97%) 0%, hsl(220, 15%, 95%) 100%);
  position: relative;
}

.decorative-orb {
  position: fixed;
  border-radius: 50%;
  background: hsla(16, 100%, 50%, 0.05);
  filter: blur(60px);
  pointer-events: none;
}

.decorative-orb--top {
  top: -160px;
  right: -160px;
  width: 500px;
  height: 500px;
}

.decorative-orb--bottom {
  bottom: -160px;
  left: -160px;
  width: 400px;
  height: 400px;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 20px -5px rgba(0, 0, 0, 0.05),
    0 25px 50px -12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
}

/* Gradientes */
.gradient-orange {
  background: linear-gradient(135deg, hsl(16, 100%, 50%) 0%, hsl(25, 100%, 55%) 100%);
}

.text-gradient {
  background: linear-gradient(135deg, hsl(16, 100%, 45%) 0%, hsl(25, 100%, 50%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: relative;
  z-index: 10;
  padding: 2rem 1rem 1rem;
}

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

.site-logo {
  height: 4rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .site-logo {
    height: 5rem;
  }
}

@media (min-width: 768px) {
  .site-logo {
    height: 6rem;
  }
}

@media (min-width: 1024px) {
  .site-logo {
    height: 7rem;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 3rem 1rem 4rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-section {
    padding: 4rem 1rem;
  }
}

/* Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pulse-dot {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-ring 2s ease-out infinite;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.status-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Títulos */
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-subtitle strong {
  color: var(--foreground);
  font-weight: 500;
}

/* ========================================
   MAIN CONTENT GRID
   ======================================== */
.main-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 5rem;
}

@media (min-width: 640px) {
  .main-content {
    padding: 0 1.5rem 5rem;
  }
}

@media (min-width: 1024px) {
  .main-content {
    padding: 0 2rem 5rem;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 5fr 7fr;
  }
}

/* ========================================
   CONTACT CARD
   ======================================== */
.contact-card {
  padding: 2rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px hsla(16, 100%, 50%, 0.25);
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Contact Items */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  transition: background-color 0.2s;
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  background: hsla(16, 100%, 50%, 0.05);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(16, 100%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.2s;
}

a.contact-item:hover .contact-value {
  color: var(--primary);
}

.contact-value--lg {
  font-size: 1.125rem;
}

/* Arrow icon for links */
.arrow-icon {
  display: inline-flex;
  margin-left: 0.5rem;
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: all 0.2s;
}

a.contact-item:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Social Links */
.social-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(220, 15%, 90%, 0.5);
}

.social-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: hsla(16, 100%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  transition: color 0.3s;
}

.social-link--facebook:hover {
  background: #1877f2;
}

.social-link--facebook:hover svg {
  color: white;
}

.social-link--instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link--instagram:hover svg {
  color: white;
}

/* ========================================
   MAP
   ======================================== */
.map-card {
  padding: 0.75rem;
  overflow: hidden;
}

.map-container {
  border-radius: 1.25rem;
  overflow: hidden;
  height: 250px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

/* ========================================
   CONTACT FORM
   ======================================== */
.form-card {
  padding: 2rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .form-card {
    position: sticky;
    top: 2rem;
  }
}

.form-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  padding-left: 3.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-label svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(16, 100%, 50%, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px hsla(16, 100%, 50%, 0.25);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px hsla(16, 100%, 50%, 0.3);
}

.form-submit svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.form-submit:hover svg {
  transform: translateX(4px);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid hsla(220, 15%, 90%, 0.5);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .footer-logo {
    height: 2rem;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

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

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-divider {
  color: var(--border);
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(220, 15%, 94%);
}

::-webkit-scrollbar-thumb {
  background: hsl(220, 10%, 70%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(220, 10%, 55%);
}
