/* ================================================
   CASA DA PIZZA — LANDING PAGE
   Premium Dark Theme · Orange & Black
   Mobile First · Conversion Focused
   ================================================ */

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

:root {
    /* Colors */
    --black: #0a0a0a;
    --black-light: #141414;
    --black-card: #1a1a1a;
    --black-border: #2a2a2a;
    --orange: #FF6B00;
    --orange-light: #FF9A40;
    --orange-dark: #E05500;
    --orange-glow: rgba(255, 107, 0, 0.35);
    --cream: #FFF5E6;
    --white: #ffffff;
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, #FF6B00 0%, #FF9A40 100%);
    --gradient-orange-hover: linear-gradient(135deg, #FF9A40 0%, #FFB366 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    --gradient-hero: linear-gradient(180deg, 
        rgba(10,10,10,0.3) 0%, 
        rgba(10,10,10,0.6) 40%, 
        rgba(10,10,10,0.92) 70%, 
        #0a0a0a 100%
    );

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.4s var(--ease-out);
    --transition-slow: 0.6s var(--ease-out);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- UTILITIES ---------- */
.highlight {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dot {
    color: var(--orange);
    font-weight: 800;
}

.hidden {
    display: none !important;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-2xl);
    color: var(--white);
}

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--orange-glow), 0 0 40px rgba(255,107,0,0.15); }
    50% { box-shadow: 0 0 30px var(--orange-glow), 0 0 60px rgba(255,107,0,0.25); }
}

@keyframes shine {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes particle-float {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

.animate-fade-up {
    animation: fadeUp 0.8s var(--ease-out) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- PARTICLES ---------- */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--orange);
    border-radius: 50%;
    animation: particle-float linear infinite;
    opacity: 0;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero__bg-img {
    transform: scale(1.1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Brand */
.hero__brand {
    margin-bottom: var(--space-2xl);
}

.hero__logo {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-glow);
    box-shadow: 0 0 30px var(--orange-glow);
    animation: float 4s ease-in-out infinite;
}

.hero__brand-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--cream);
    margin-bottom: var(--space-xs);
}

.hero__tagline {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--white-50);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* CTA */
.hero__title {
    font-family: var(--font-primary);
    font-size: clamp(1.75rem, 7vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--white-70);
    margin-bottom: var(--space-xl);
    font-weight: 300;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.btn--primary {
    background: var(--gradient-orange);
    color: var(--white);
    border: none;
    animation: glow 2.5s ease-in-out infinite;
    box-shadow: 0 4px 25px var(--orange-glow);
}

.btn--primary:hover {
    background: var(--gradient-orange-hover);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 35px rgba(255, 107, 0, 0.5);
}

.btn--primary:active {
    transform: translateY(0) scale(0.98);
}

.btn--glow {
    /* Extra glow emphasis for main CTA */
}

.btn--lg {
    padding: 18px 42px;
    font-size: 1.05rem;
}

.btn--sm {
    padding: 12px 28px;
    font-size: 0.85rem;
    margin-top: var(--space-lg);
}

.btn__icon {
    font-size: 1.3em;
    line-height: 1;
}

.btn__shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
}

.btn--ghost {
    background: transparent;
    color: var(--white-50);
    font-size: 0.85rem;
    font-weight: 400;
    padding: 12px 24px;
    margin-top: var(--space-md);
    border-bottom: 1px solid var(--white-10);
    border-radius: 0;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.btn--ghost:hover {
    color: var(--white);
    border-color: var(--white-30);
}

/* Links Alternativos */
.hero__links {
    width: 100%;
    max-width: 420px;
    animation: fadeUp 0.5s var(--ease-out) forwards;
}

.btn-back {
    font-size: 0.85rem;
    color: var(--white-50);
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
    cursor: pointer;
}

.btn-back:hover {
    color: var(--white);
}

.links__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--cream);
}

.links__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--space-lg);
}

.link-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 14px 20px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.link-card:hover {
    background: var(--white-10);
    border-color: var(--white-30);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.link-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-card--whatsapp .link-card__icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}
.link-card--whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.4);
}

.link-card--instagram .link-card__icon {
    background: linear-gradient(135deg, rgba(131,58,180,0.15), rgba(253,29,29,0.15), rgba(252,176,69,0.15));
    color: #E1306C;
}
.link-card--instagram:hover {
    border-color: rgba(225, 48, 108, 0.4);
}

.link-card--menu .link-card__icon {
    background: rgba(255, 107, 0, 0.15);
    color: var(--orange);
}
.link-card--menu:hover {
    border-color: rgba(255, 107, 0, 0.4);
}

.link-card--location .link-card__icon {
    background: rgba(66, 133, 244, 0.15);
    color: #4285F4;
}
.link-card--location:hover {
    border-color: rgba(66, 133, 244, 0.4);
}

.link-card--hours .link-card__icon {
    background: rgba(255, 193, 7, 0.15);
    color: #FFC107;
}
.link-card--hours:hover {
    border-color: rgba(255, 193, 7, 0.4);
}

.link-card__text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
}

.link-card__arrow {
    color: var(--white-30);
    font-size: 1.1rem;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.link-card:hover .link-card__arrow {
    transform: translateX(4px);
    color: var(--white-70);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--white-30);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator__arrow {
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

/* ---------- BENEFITS SECTION ---------- */
.benefits {
    padding: var(--space-3xl) 0;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.benefits__header {
    margin-bottom: var(--space-2xl);
}

.benefits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.benefit-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-orange);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.benefit-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card__icon {
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.benefit-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--cream);
}

.benefit-card__text {
    font-size: 0.82rem;
    color: var(--white-50);
    line-height: 1.5;
    font-weight: 300;
}

/* Visual / App mockup */
.benefits__visual {
    position: relative;
    margin: var(--space-2xl) auto;
    max-width: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.benefits__img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.benefits__visual-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80px;
    background: radial-gradient(ellipse, var(--orange-glow) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

/* CTA */
.benefits__cta {
    padding-top: var(--space-xl);
}

.benefits__cta-sub {
    margin-top: var(--space-md);
    font-size: 0.8rem;
    color: var(--white-30);
    letter-spacing: 1px;
    font-weight: 300;
}

/* ---------- HOURS SECTION ---------- */
.hours {
    padding: var(--space-3xl) 0;
    background: var(--black-light);
    text-align: center;
}

.hours__card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.hours__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-orange);
}

.hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.hours__day {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream);
}

.hours__time {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--orange);
}

.hours__time--closed {
    color: var(--white-30);
}

.hours__divider {
    height: 1px;
    background: var(--white-10);
    margin: var(--space-sm) 0;
}

.hours__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--white-10);
}

.hours__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #888;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.hours__dot--open {
    background: #25D366;
}

.hours__dot--closed {
    background: #FF4444;
    animation: none;
}

.hours__status-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white-50);
    letter-spacing: 0.5px;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--black);
    text-align: center;
    border-top: 1px solid var(--white-05);
}

.footer__logo {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.8;
}

.footer__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: var(--space-xs);
}

.footer__slogan {
    font-size: 0.82rem;
    color: var(--white-30);
    font-weight: 300;
    margin-bottom: var(--space-xl);
}

.footer__contacts {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.footer__btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    color: var(--white-50);
    transition: all var(--transition-fast);
}

.footer__btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--orange-glow);
}

.footer__bottom p {
    font-size: 0.7rem;
    color: var(--white-30);
    font-weight: 300;
}

/* ---------- RESPONSIVE ---------- */

/* Small phones */
@media (max-width: 374px) {
    .hero__title {
        font-size: 1.5rem;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

/* Phones */
@media (min-width: 375px) and (max-width: 767px) {
    .hero__logo {
        width: 90px;
        height: 90px;
    }

    .benefits__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .benefit-card {
        padding: var(--space-lg) var(--space-md);
    }

    .benefit-card__icon svg {
        width: 36px;
        height: 36px;
    }
}

/* Tablets */
@media (min-width: 768px) {
    .hero__logo {
        width: 120px;
        height: 120px;
    }

    .hero__brand-name {
        font-size: 1.15rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
        max-width: 400px;
    }

    .benefits {
        padding: 5rem 0;
    }

    .benefits__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }

    .benefit-card {
        padding: var(--space-xl);
    }

    .benefit-card__title {
        font-size: 1.05rem;
    }

    .benefit-card__text {
        font-size: 0.85rem;
    }

    .hours__card {
        max-width: 480px;
        padding: var(--space-2xl);
    }

    .link-card {
        padding: 16px 24px;
    }

    .links__grid {
        gap: 12px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero__content {
        max-width: 600px;
    }

    .hero__logo {
        width: 130px;
        height: 130px;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .btn {
        padding: 18px 42px;
        font-size: 1.05rem;
    }

    .scroll-indicator {
        bottom: 40px;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .benefits__visual {
        max-width: 600px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }

    .hero__title {
        font-size: 3.4rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero__bg-img {
        transform: scale(1) !important;
    }

    .particle {
        display: none;
    }
}

/* ---------- DEVELOPER CREDIT ---------- */
.developer-credit {
    margin-top: 12px;
    font-size: 0.85em;
    color: var(--white-50);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.heart-icon {
    display: inline-block;
    color: #FF4444;
    font-size: 1.1em;
    animation: heart-pulse 1.5s infinite;
}

@keyframes heart-pulse {
    0% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.25); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

.dev-credit-link {
    color: var(--orange);
    text-decoration: underline;
    text-decoration-color: rgba(255, 107, 0, 0.4);
    text-underline-offset: 4px;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

.dev-credit-link:hover {
    color: var(--cream);
    text-decoration-color: var(--cream);
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.8);
}
