/* =========================================
   O Grego Landing Page - Refactored Styles
   ========================================= */

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #151515;
    --card-bg: #1c1c1c;
    --primary-gold: #D4AF37;
    --light-gold: #f3e5ab;
    --text-main: #f5f5f5;
    --text-muted: #cccccc;
    --white: #ffffff;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B89628 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.gold-text {
    color: var(--primary-gold);
}

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

/* =========================================
   1. Header
   ========================================= */
.site-header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 10px 0;
    /* Reduced padding */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
}

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

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

.header-logo {
    height: 60px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    object-fit: contain;
}

/* Button styles removed */

/* =========================================
   2. Hero Section
   ========================================= */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* Placeholder - replace with desired BG */
    background: url('https://images.unsplash.com/photo-1549488497-2956cf01b96c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    margin-bottom: 0;
    box-shadow: inset 0 -50px 50px var(--primary-black);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), var(--primary-black));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-subtitle {
    /* Responsive font size */
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0.8;
    /* Slightly less emphasis */
}

.badge-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: 500;
}

.badge-item i {
    color: var(--primary-gold);
}

.main-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 22px 50px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.3rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transition: 0.3s;
}

.main-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
    /* Reduced from 10px to sit closer to text */
    margin-bottom: 25px;
    /* Spacing between Button and Chips */
}

.secondary-hero-btn {
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    transition: 0.3s;
    background: transparent;
    width: min(92vw, 360px);
    /* Specific width constraint */
    text-align: center;
}

.secondary-hero-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--white);
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* =========================================
   3. Benefits Cards
   ========================================= */
.benefits-section {
    padding: 60px 0;
    background-color: var(--primary-black);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   4. Categories
   ========================================= */
.categories-section {
    padding: 80px 0;
    background-color: var(--secondary-black);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.cat-card:hover {
    border-color: var(--primary-gold);
}

/* .cat-image-placeholder removed */
.cat-image {
    width: 100%;
    height: 250px;
    /* Taller for premium look */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.cat-card:hover .cat-image {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.cat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-gold);
}

.center-btn-wrapper {
    text-align: center;
}

.outline-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.outline-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

/* =========================================
   5. Why Choose Us
   ========================================= */
.why-us-section {
    padding: 80px 0;
    background-color: var(--primary-black);
    position: relative;
    overflow: hidden;
}

.why-us-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.why-us-text {
    flex: 1;
    min-width: 300px;
}

.why-us-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.check-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.check-list i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 2px;
}

.check-list strong {
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.check-list div {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.why-us-stats {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.stat-big {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
}

/* =========================================
   6. Testimonials
   ========================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--secondary-black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 3px solid var(--primary-gold);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.03);
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.client-name {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* =========================================
   7. FAQ
   ========================================= */
.faq-section {
    padding: 80px 0;
    background: var(--primary-black);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--secondary-black);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: 0.3s;
}

.faq-question:hover,
.faq-question.active {
    color: var(--primary-gold);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 15px 0;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   8. Location / Map
   ========================================= */
.location-section {
    padding: 80px 0;
    background-color: var(--secondary-black);
    text-align: center;
}

.location-text {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.map-container {
    max-width: 900px;
    height: 400px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Optional: apply grayscale filter to map for style */
    filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(110%);
}

.bottom-cta {
    font-size: 1.2rem;
    padding: 15px 50px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background: #000;
    padding: 50px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    margin-top: 30px;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: row;
        /* Keep row to align left properly without centering issues of column */
        justify-content: flex-start;
        /* Left align */
        padding-left: 0;
    }

    .header-logo {
        height: 50px;
        /* Smaller height on mobile */
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .why-us-flex {
        flex-direction: column-reverse;
    }

    .map-container {
        height: 300px;
    }

    .benefits-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Fixed Bottom CTA
   ========================================= */
.fixed-bottom-cta {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* Container width full but button constrained */
    z-index: 9999;
    padding: 0;
    justify-content: center;
    pointer-events: none;
    display: flex !important;
    /* Always visible */
}

/* @media (max-width: 768px) rule removed as it's now global */

.highlight-promo {
    color: var(--primary-gold);
    font-weight: 700;
    margin-top: 10px;
}

/* THIS IS THE PART I CHANGED FOR YOU */
.hero-subtitle p {
    margin-bottom: 10px;
    font-size: clamp(20px, 4.0vw, 22px);
    line-height: 1;
    color: var(--text-muted);
}
/* END OF CHANGE */

.whatsapp-sticky-btn {
    pointer-events: auto;
    background: linear-gradient(135deg, #D4AF37 0%, #E6C65D 50%, #D4AF37 100%);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 18px 0;
    width: min(92vw, 420px);
    /* Consistent sizing */
    border-radius: 50px;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-sticky-btn:hover {
    transform: scale(1.02);
}

.whatsapp-sticky-btn i {
    font-size: 1.5rem;
}

/* Mobile Polish */
@media (max-width: 768px) {

    /* 1. Prevent Fixed CTA Overlap */
    body {
        padding-bottom: 120px;
        /* Safe area for fixed button */
    }

    /* 2. Layout Adjustments */
    .header-flex {
        /* Already handled above but ensuring no conflict */
        flex-direction: row;
        gap: 0;
    }

    .why-us-flex {
        flex-direction: column-reverse;
    }

    .map-container {
        height: 300px;
    }

    .benefits-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* 3. Hero Optimization */
    .hero-section {
        min-height: auto;
        height: auto;
        /* Let content dictate height, or small fixed */
        padding-bottom: 20px;
        /* Reduced padding */
        align-items: center;
        background-position: center top;
    }

    .hero-content {
        padding-top: 80px;
        /* Clear header */
    }

    .hero-section h1 {
        /* Fix mobile text being cut off */
        font-size: clamp(28px, 7vw, 52px);
        line-height: 1.05;
        margin-bottom: 15px;
    }

    /* Ensure Hero CTA is visible */
    .hero-content .main-cta-btn {
        display: inline-flex;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: -10px;
        /* Reduced from 20px */
    }

    .hero-badges {
        gap: 5px;
    }

    .badge-item {
        padding: 8px 15px;
        font-size: 0.8em;
    }

    /* 4. Fixed Bottom CTA (Safe Area + Sizing) */
    .fixed-bottom-cta {
        bottom: calc(15px + env(safe-area-inset-bottom));
        padding: 0 20px;
    }

    .whatsapp-sticky-btn {
        width: min(92vw, 420px);
        /* Mobile/Desktop consistent width rule */
        padding: 18px 0;
        font-size: 1.1rem;
    }
}

/* ============================
   VER SITE - mesmo tamanho + pulse igual WhatsApp
   Cole isso NO FINAL do styles.css
   ============================ */

/* Botão VER SITE (mantém o tamanho que você queria) */
.secondary-hero-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: var(--gradient-gold) !important;
  color: #000 !important;

  width: min(92vw, 360px) !important;
  padding: 18px 0 !important;

  border-radius: 50px !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  border: 2px solid rgba(255, 255, 255, 0.2) !important;

  /* deixa "clicável" também */
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
  box-shadow: 0 5px 20px rgba(0,0,0,.5), 0 0 15px rgba(212,175,55,.45) !important;
  cursor: pointer !important;
}

/* Hover/press (sensação de clique) */
.secondary-hero-btn:hover {
  filter: brightness(1.03) !important;
  transform: scale(1.01) !important;
}

.secondary-hero-btn:active {
  transform: scale(0.98) !important;
}

/* ===== PULSE (o "cintilante"/me clica) ===== */
@keyframes pulseGoldRing {
  0% {
    box-shadow:
      0 5px 20px rgba(0,0,0,.5),
      0 0 0 0 rgba(212,175,55,.65);
  }
  70% {
    box-shadow:
      0 5px 20px rgba(0,0,0,.5),
      0 0 0 18px rgba(212,175,55,0);
  }
  100% {
    box-shadow:
      0 5px 20px rgba(0,0,0,.5),
      0 0 0 0 rgba(212,175,55,0);
  }
}

/* Aplica o pulse na classe pulse-anim */
.pulse-anim {
  animation: pulseGoldRing 2s infinite !important;
}

/* Respeita quem tem redução de movimento */
@media (prefers-reduced-motion: reduce) {
  .pulse-anim {
    animation: none !important;
  }
}