/* ============================================================
   DONNA COXINHA® — Link Aggregator
   Tema: Fast food e festas
   ============================================================ */

:root {
    /* Amarelos */
    --y-gold:       #F7B20D;
    --y-strong:     #F4A900;
    --y-burnt:      #E99A00;
    --y-amber:      #D88A00;
    /* Laranjas */
    --o-vivid:      #F07A00;
    --o-dark:       #E45B00;
    --o-burnt:      #D44A00;
    /* Vermelhos */
    --r-strong:     #C61E1A;
    --r-wine:       #A31210;
    /* Marrons */
    --brown:        #4B1B12;
    --brown-dark:   #2A0F0A;
    /* Neutros */
    --white:        #FFFFFF;
    --cream:        #F2E6D0;

    /* Aliases semânticos */
    --brand-orange:      var(--o-vivid);
    --brand-orange-deep: var(--o-dark);
    --brand-yellow:      var(--y-gold);
    --brand-red:         var(--r-strong);
    --brand-cream:       var(--cream);
    --text:              var(--brown-dark);
    --text-soft:         var(--brown);

    --card-bg:     rgba(255, 255, 255, 0.95);
    --card-border: rgba(255, 255, 255, 0.85);

    --shadow-sm: 0 4px 10px rgba(42, 15, 10, 0.14);
    --shadow-md: 0 10px 28px rgba(42, 15, 10, 0.22);
    --shadow-lg: 0 22px 60px rgba(42, 15, 10, 0.32);

    --radius: 18px;
    --radius-lg: 26px;

    --font: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-weight: 500;
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(1200px 800px at 90% -10%, #FFD46A 0%, transparent 60%),
        radial-gradient(900px 700px at -10% 110%, #D44A00 0%, transparent 55%),
        linear-gradient(180deg, #F7B20D 0%, #F07A00 55%, #E45B00 100%);
    background-attachment: fixed;
    position: relative;
}

/* Textura chevron Donna Coxinha (Assets/texture.svg) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("Assets/texture.svg");
    background-repeat: repeat;
    background-size: 420px auto;
    opacity: .78;
    mix-blend-mode: multiply;
    z-index: 0;
}

/* Vinheta + grão por cima do padrão para dar profundidade */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
        radial-gradient(ellipse at center, transparent 45%, rgba(42, 15, 10, .55) 100%);
    opacity: 1;
    mix-blend-mode: overlay;
    z-index: 0;
}

/* ===== Blobs de fundo ===== */
.bg-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: floaty 16s ease-in-out infinite alternate;
}
.blob-1 { width: 420px; height: 420px; top: -80px; left: -100px; background: var(--y-gold);  animation-delay: -3s; }
.blob-2 { width: 360px; height: 360px; top: 40%; right: -120px;  background: var(--r-strong); animation-delay: -7s; }
.blob-3 { width: 300px; height: 300px; bottom: -80px; left: 20%; background: var(--y-burnt); animation-delay: -5s; }
.blob-4 { width: 260px; height: 260px; top: 20%; left: 35%;     background: var(--o-vivid); animation-delay: -10s; opacity: .3; }

@keyframes floaty {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(20px,-30px) scale(1.08); }
    100% { transform: translate(-20px,20px) scale(.95); }
}

/* ===== Confetes ===== */
.confetti {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.confetti span {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 14px;
    background: #fff;
    opacity: .75;
    border-radius: 2px;
    animation: fall linear infinite;
}
.confetti span:nth-child(1)  { left: 5%;  background: var(--y-gold);   animation-duration: 12s; animation-delay: 0s; }
.confetti span:nth-child(2)  { left: 15%; background: var(--white);    animation-duration: 15s; animation-delay: -3s; transform: rotate(20deg); }
.confetti span:nth-child(3)  { left: 25%; background: var(--o-vivid);  animation-duration: 18s; animation-delay: -7s; }
.confetti span:nth-child(4)  { left: 38%; background: var(--y-strong); animation-duration: 14s; animation-delay: -2s; }
.confetti span:nth-child(5)  { left: 50%; background: var(--cream);    animation-duration: 20s; animation-delay: -9s; }
.confetti span:nth-child(6)  { left: 62%; background: var(--r-strong); animation-duration: 13s; animation-delay: -4s; }
.confetti span:nth-child(7)  { left: 72%; background: var(--y-gold);   animation-duration: 17s; animation-delay: -11s; }
.confetti span:nth-child(8)  { left: 82%; background: var(--white);    animation-duration: 15s; animation-delay: -6s; }
.confetti span:nth-child(9)  { left: 90%; background: var(--o-vivid);  animation-duration: 19s; animation-delay: -1s; }
.confetti span:nth-child(10) { left: 95%; background: var(--y-burnt);  animation-duration: 16s; animation-delay: -8s; }

@keyframes fall {
    0%   { transform: translateY(-10vh) rotate(0); opacity: 0; }
    10%  { opacity: .8; }
    90%  { opacity: .6; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ===== Container ===== */
.container {
    position: relative;
    z-index: 2;
    max-width: 540px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* ===== Perfil / header ===== */
.profile {
    text-align: center;
    animation: pop-in .8s ease both;
}

.cover {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: -70px;
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(255, 255, 255, .35);
}
.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
    transform: scale(1.02);
    transition: transform 8s ease;
}
.cover:hover img { transform: scale(1.08); }
.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 75% 25%, rgba(247, 178, 13, .35), transparent 60%),
        linear-gradient(180deg, rgba(247, 178, 13, .2) 0%, transparent 40%, rgba(228, 91, 0, .55) 100%);
}

.avatar-wrapper {
    position: relative;
    width: 148px;
    height: 148px;
    margin: 0 auto 18px;
    z-index: 2;
}
.avatar-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 5px;
    background: conic-gradient(from 0deg, var(--y-gold), var(--o-vivid), var(--r-strong), var(--y-burnt), var(--y-gold));
    box-shadow: var(--shadow-lg);
    animation: spin 14s linear infinite;
}
.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 25%, var(--white) 0%, var(--cream) 55%, var(--y-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -10px 30px rgba(75, 27, 18, .18), inset 0 6px 0 rgba(255,255,255,.45);
    animation: spin-reverse 14s linear infinite;
}
.avatar-logo {
    width: 82%;
    height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(120, 40, 0, .25));
}

@keyframes spin         { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

.logo-text {
    font-family: var(--font);
    text-align: center;
    line-height: 1;
    letter-spacing: .5px;
    color: var(--brown-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-shadow: 0 2px 0 rgba(255,255,255,.45);
}
.logo-top {
    font-weight: 900;
    font-size: 22px;
    color: var(--white);
    -webkit-text-stroke: 1.5px var(--brown-dark);
    letter-spacing: 1px;
}
.logo-bottom {
    font-weight: 900;
    font-size: 26px;
    color: var(--brown-dark);
    margin-top: -2px;
}
.logo-bottom sup {
    font-size: 10px;
    vertical-align: super;
}
.logo-tag {
    font-family: var(--font);
    font-style: normal;
    font-weight: 700;
    font-size: 9px;
    color: var(--r-strong);
    background: var(--white);
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 4px;
    letter-spacing: .3px;
}

.verified {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    animation: pop-in 1s .3s both;
}
.verified svg { width: 24px; height: 24px; }
.verified .badge-star  { fill: var(--o-vivid); }
.verified .badge-check { fill: #fff; }

.name {
    font-family: var(--font);
    font-weight: 900;
    font-size: 32px;
    color: var(--white);
    text-shadow: 0 3px 0 var(--r-wine), 0 4px 12px rgba(42, 15, 10, .45);
    letter-spacing: .5px;
    text-transform: uppercase;
}
.name sup { font-size: 14px; opacity: .85; font-weight: 700; }

.handle {
    color: rgba(255,255,255,.92);
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: .3px;
}
.bio {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 12px;
    text-shadow: 0 1px 6px rgba(42, 15, 10, .4);
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Chips de ação rápida ===== */
.quick-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--white);
    color: var(--o-dark);
    font-family: var(--font);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    letter-spacing: .3px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.chip:hover { color: var(--r-strong); }
.chip svg { width: 15px; height: 15px; fill: currentColor; }
.chip:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: var(--shadow-md);
}

/* ===== Galeria deslizando ===== */
.gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: marquee 45s linear infinite;
}
.gallery:hover .gallery-track { animation-play-state: paused; }

.gallery-item {
    width: 160px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    transform: translateZ(0);
    transition: transform .3s ease;
    background: #fff;
}
.gallery-item:hover { transform: scale(1.05); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Destaque ===== */
.featured-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255,255,255,.8);
    cursor: pointer;
    width: 100%;
    font-family: var(--font);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: pop-in .8s .1s both;
}
.featured-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .7s ease;
}
.featured-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.featured-link:hover::after { transform: translateX(100%); }

.featured-thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; }

.featured-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.featured-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--r-strong);
    text-transform: uppercase;
}
.featured-text strong {
    font-family: var(--font);
    font-size: 17px;
    font-weight: 900;
    color: var(--brown-dark);
    text-transform: uppercase;
    letter-spacing: .3px;
}
.featured-desc {
    font-size: 12px;
    font-weight: 500;
    color: var(--brown);
}
.arrow {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--o-dark);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}
.featured-link:hover .arrow { transform: translateX(4px); }

/* ===== Dica flutuante de rolagem ===== */
.scroll-hint-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    z-index: 29;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, .35) 55%,
        rgba(0, 0, 0, .75) 100%);
    transition: opacity .45s ease, transform .45s ease;
}
.scroll-hint-backdrop.hide {
    opacity: 0;
    transform: translateY(20px);
}

.scroll-hint {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    color: var(--white);
    font-family: var(--font);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .3px;
    text-shadow: 0 2px 6px rgba(42, 15, 10, .55);
    pointer-events: none;
    transition: opacity .45s ease, transform .45s ease;
    animation: hint-bob 1.8s ease-in-out infinite;
}
.scroll-hint svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 1px 3px rgba(42, 15, 10, .55));
    animation: hint-arrow 1.4s ease-in-out infinite;
}
.scroll-hint.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
}

@keyframes hint-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(-3px); }
}
@keyframes hint-arrow {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(3px); opacity: .55; }
}

/* ===== Links / Cards ===== */
.links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    animation: slide-up .6s both;
}
.link-card:nth-child(1) { animation-delay: .05s; }
.link-card:nth-child(2) { animation-delay: .1s;  }
.link-card:nth-child(3) { animation-delay: .15s; }
.link-card:nth-child(4) { animation-delay: .2s;  }
.link-card:nth-child(5) { animation-delay: .25s; }
.link-card:nth-child(6) { animation-delay: .3s;  }

.link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(247, 178, 13, .4) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform .7s ease;
    pointer-events: none;
}
.link-card:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.link-card:hover::before { transform: translateX(100%); }
.link-card:active { transform: translateY(0) scale(.99); }

.link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream), var(--y-gold));
    box-shadow: inset 0 -4px 10px rgba(75, 27, 18, .18);
}
.link-icon img { width: 100%; height: 100%; object-fit: cover; }
.link-icon svg { width: 24px; height: 24px; fill: var(--white); }
.link-icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.link-icon.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af 100%); }
.link-icon.map-icon  { background: linear-gradient(135deg, var(--o-vivid), var(--r-strong)); }

.link-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-title {
    font-family: var(--font);
    font-weight: 800;
    font-size: 15px;
    color: var(--brown-dark);
    letter-spacing: .2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--brown);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--white);
    background: linear-gradient(135deg, var(--r-strong), var(--o-vivid));
    padding: 3px 8px;
    border-radius: 999px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(198, 30, 26, .55); }
    50%      { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(198, 30, 26, 0); }
}

.link-go {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s ease, transform .2s ease;
}
.link-go svg { width: 14px; height: 14px; fill: none; stroke: var(--o-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.link-card:hover .link-go { background: var(--o-vivid); transform: translateX(3px); }
.link-card:hover .link-go svg { stroke: var(--white); }

/* ===== Card duplo: WhatsApp + Google Maps ===== */
.link-card.link-card-dual {
    padding: 0;
    gap: 0;
}
.link-card-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--brown-dark);
    min-width: 0;
    transition: background .2s ease;
    border-radius: var(--radius) 0 0 var(--radius);
}
.link-card-main:hover { background: rgba(247, 178, 13, .12); }

.link-card-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 64px;
    flex-shrink: 0;
    color: var(--o-dark);
    border-left: 1px dashed rgba(75, 27, 18, .2);
    transition: background .2s ease, color .2s ease;
    text-decoration: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.link-card-map svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform .2s ease;
}
.link-card-map:hover {
    background: linear-gradient(135deg, var(--o-vivid), var(--r-strong));
    color: var(--white);
}
.link-card-map:hover svg { transform: scale(1.12) translateY(-1px); }

/* ===== Rodapé ===== */
.footer {
    text-align: center;
    margin-top: 16px;
    color: rgba(255,255,255,.9);
}
.socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: var(--brown-dark);
    background: transparent;
    border: none;
    text-decoration: none;
    box-shadow: none;
    transition: transform .25s ease, color .25s ease;
}
.socials a span { display: none; }
.socials a svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    transition: transform .25s ease;
}
.socials a .wa-icon path { fill: var(--brown-dark); }
.socials a .wa-solid .wa-bubble { fill: var(--brown-dark); }
.socials a:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--brown);
}
.socials a:hover .wa-icon path { fill: var(--brown); }
.socials a:hover .wa-solid .wa-bubble { fill: var(--brown); }
.socials a:hover svg { transform: none; }

.copy, .made {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    margin-top: 4px;
}
.made {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.heart {
    color: var(--y-gold);
    animation: beat 1.2s ease-in-out infinite;
    display: inline-block;
}

.credit {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    color: var(--white);
    text-decoration: none;
    transition: transform .25s ease, filter .25s ease;
    line-height: 0;
}
.credit-brand {
    height: 18px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(42, 15, 10, .35));
    transition: filter .25s ease, transform .25s ease;
}
.credit:hover {
    transform: translateY(-2px);
}
.credit:hover .credit-brand {
    filter: drop-shadow(0 4px 10px rgba(42, 15, 10, .5));
    transform: scale(1.05);
}
@keyframes beat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.25); }
}

/* ===== Animações utilitárias ===== */
@keyframes pop-in {
    from { opacity: 0; transform: scale(.9) translateY(14px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes slide-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Botão flutuante de compartilhar ===== */
.share-fab {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--o-vivid), var(--r-strong));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(42, 15, 10, .35), 0 2px 6px rgba(42, 15, 10, .2);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.share-btn svg { width: 20px; height: 20px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.share-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 28px rgba(42, 15, 10, .45); }
.share-btn:active { transform: scale(.95); }
.share-fab.open .share-btn svg { transform: rotate(135deg); }
.share-fab.open .share-btn { background: linear-gradient(135deg, var(--r-strong), var(--brown-dark)); }

.share-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, .98);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(42, 15, 10, .3), 0 4px 10px rgba(42, 15, 10, .15);
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.96);
    transform-origin: top right;
    transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.share-fab.open .share-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.share-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    border: none;
    background: transparent;
    color: var(--brown-dark);
    font-family: var(--font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .2px;
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    transition: background .2s ease, transform .15s ease;
}
.share-item:hover { background: var(--cream); }
.share-item:active { transform: scale(.97); }

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.share-icon svg { width: 18px; height: 18px; }
.share-icon-wa   { background: linear-gradient(135deg, #25d366, #128c7e); }
.share-icon-fb   { background: linear-gradient(135deg, #1877f2, #0a4fb3); }
.share-icon-x    { background: #000; }
.share-icon-ig   { background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af 100%); }
.share-icon-tt   { background: linear-gradient(135deg, #25f4ee 0%, #000 50%, #fe2c55 100%); }
.share-icon-copy { background: linear-gradient(135deg, var(--o-vivid), var(--r-strong)); }

/* Toast de feedback */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    z-index: 300;
    background: var(--brown-dark);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(42, 15, 10, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
    max-width: 85vw;
    text-align: center;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== Modal de fotos ===== */
.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto;
}
.photo-modal.open {
    display: flex;
    animation: fade-in .25s ease;
}
.photo-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(42, 15, 10, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}
.photo-modal-content {
    position: relative;
    width: 100%;
    max-width: 920px;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    padding: 22px;
    animation: scale-in .35s cubic-bezier(.2, .8, .2, 1);
    margin: auto;
}
.photo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.photo-modal-header h2 {
    font-family: var(--font);
    font-weight: 900;
    font-size: 24px;
    color: var(--brown-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.photo-modal-header p {
    font-size: 12px;
    font-weight: 500;
    color: var(--brown);
    margin-top: 2px;
}
.photo-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--o-vivid);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease;
    box-shadow: var(--shadow-sm);
}
.photo-modal-close svg { width: 18px; height: 18px; }
.photo-modal-close:hover { background: var(--r-strong); transform: rotate(90deg); }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.photo-cell {
    border: none;
    padding: 0;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: cell-in .4s both;
}
.photo-cell:nth-child(n+1)  { animation-delay: .02s; }
.photo-cell:nth-child(n+4)  { animation-delay: .06s; }
.photo-cell:nth-child(n+7)  { animation-delay: .1s;  }
.photo-cell:nth-child(n+10) { animation-delay: .14s; }
.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.photo-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-cell:hover img { transform: scale(1.08); }
.photo-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(240, 122, 0, .45));
    opacity: 0;
    transition: opacity .25s ease;
}
.photo-cell:hover::after { opacity: 1; }

@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes cell-in  { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(42, 15, 10, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; animation: fade-in .2s ease; }
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    animation: scale-in .3s cubic-bezier(.2, .8, .2, 1);
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
    backdrop-filter: blur(6px);
}
.lightbox-close svg,
.lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-close:hover { background: var(--r-strong); transform: rotate(90deg); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-nav:hover { background: var(--o-vivid); transform: translateY(-50%) scale(1.08); }
.lightbox-nav { top: 50%; transform: translateY(-50%); }

/* Impedir scroll quando modal aberto */
body.modal-open { overflow: hidden; }

/* ===== Modal do cardápio (PDF) ===== */
.menu-modal-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 48px);
}
.menu-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.menu-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--o-vivid), var(--r-strong));
    color: var(--white);
    font-family: var(--font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .3px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.menu-download svg { width: 16px; height: 16px; }
.menu-download:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.menu-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 60dvh;
}
.menu-pdf {
    width: 100%;
    flex: 1;
    min-height: 65dvh;
    border: none;
    border-radius: 14px;
    background: var(--cream);
    box-shadow: inset 0 0 0 1px rgba(75, 27, 18, .1);
}
.menu-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
    transition: transform .3s ease, box-shadow .3s ease;
}
.menu-image:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}
.menu-fallback {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--brown);
}
.menu-fallback a {
    color: var(--o-dark);
    font-weight: 700;
    text-decoration: underline;
}

/* ===== Responsivo ===== */
@media (max-width: 420px) {
    .container { padding: 28px 16px 60px; }
    .avatar-wrapper { width: 128px; height: 128px; }
    .cover { height: 120px; margin-bottom: -60px; }
    .logo-top { font-size: 18px; }
    .logo-bottom { font-size: 22px; }
    .name { font-size: 26px; }
    .gallery-item { width: 130px; height: 92px; }
    .featured-thumb { width: 60px; height: 60px; }
    .featured-text strong { font-size: 15px; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .photo-modal-content { padding: 16px; border-radius: 18px; }
    .photo-modal-header h2 { font-size: 19px; }
    .menu-download span { display: none; }
    .menu-download { padding: 8px; }
    .menu-pdf { min-height: 55dvh; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-close { top: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ===== Desktop: grid 2 colunas + conteúdo maior ===== */
@media (min-width: 900px) {
    .container {
        max-width: 1080px;
        padding: 60px 40px 80px;
        gap: 28px;
    }

    /* Header com cover mais largo + avatar maior + nome grande */
    .profile { max-width: 760px; margin: 0 auto; }
    .cover { height: 220px; margin-bottom: -90px; border-radius: 28px; }
    .avatar-wrapper { width: 190px; height: 190px; }
    .avatar-ring { padding: 6px; }
    .name { font-size: 44px; letter-spacing: .5px; }
    .handle { font-size: 16px; }
    .bio {
        font-size: 17px;
        max-width: 580px;
        line-height: 1.55;
        margin-top: 16px;
    }
    .quick-actions { gap: 14px; margin-top: 22px; }
    .chip { padding: 10px 20px; font-size: 14px; }
    .chip svg { width: 17px; height: 17px; }

    /* Galeria com thumbs maiores */
    .gallery-item { width: 220px; height: 150px; }

    /* Destaque ganha largura máxima e texto maior */
    .featured-link {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
        padding: 16px 18px;
        gap: 18px;
    }
    .featured-thumb { width: 92px; height: 92px; border-radius: 18px; }
    .featured-label { font-size: 11px; letter-spacing: 2px; }
    .featured-text strong { font-size: 22px; }
    .featured-desc { font-size: 14px; margin-top: 2px; }
    .arrow { width: 28px; height: 28px; }

    /* Links em grid 2 colunas */
    .links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .link-card {
        padding: 14px 16px;
        gap: 16px;
    }
    .link-icon { width: 56px; height: 56px; border-radius: 14px; }
    .link-icon svg { width: 28px; height: 28px; }
    .link-title { font-size: 16px; }
    .link-sub { font-size: 13px; }
    .link-go { width: 32px; height: 32px; }
    .link-go svg { width: 16px; height: 16px; }

    /* Dual card: ajusta proporção na grade */
    .link-card-dual .link-card-main { padding: 14px 16px; gap: 16px; }
    .link-card-map { width: 72px; font-size: 11px; }
    .link-card-map svg { width: 24px; height: 24px; }

    /* Footer centralizado com mais respiro */
    .footer { margin-top: 24px; }
    .socials a svg { width: 34px; height: 34px; }
    .copy, .made { font-size: 13px; }

    /* Dica de scroll escondida em desktop (não precisa) */
    .scroll-hint, .scroll-hint-backdrop { display: none; }
}

/* ===== Desktop largo (>= 1200px): pode respirar mais ===== */
@media (min-width: 1200px) {
    .container { max-width: 1160px; }
    .name { font-size: 48px; }
    .links { gap: 16px; }
}
