/* Zizy Nails - Belleza & Formación - Estética femenina */
:root {
    --color-bg: #faf6f8;
    --color-surface: #fff;
    --color-surface-soft: #f5eff3;
    --color-text: #3d3539;
    --color-muted: #7d6f76;
    --color-accent: #c44d7a;
    --color-accent-hover: #d45d8a;
    --color-soft: #e8dde4;
    --color-border: rgba(61, 53, 57, 0.08);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --radius: 12px;
    --transition: 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 0 rgba(196, 77, 122, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

.logo-text {
    display: inline-block;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--color-muted);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav a:hover,
.nav a.ig-link {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #faf6f8 0%, #f0e6ec 40%, #ebe0e8 100%);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c44d7a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-media video,
.hero-media .hero-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media .hero-media-img {
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0.5;
    background: linear-gradient(180deg, rgba(250,246,248,0.85) 0%, rgba(235,224,232,0.9) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    color: var(--color-accent);
}

.tagline {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero .btn {
    display: inline-block;
    margin: 0 0.5rem 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
}

.btn-outline {
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(61, 53, 57, 0.04);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    border-color: rgba(196, 77, 122, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(61, 53, 57, 0.08);
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1;
}

.service-image img,
.service-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-soft) 0%, rgba(196, 77, 122, 0.08) 100%);
    color: var(--color-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    word-break: break-word;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.service-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--color-accent);
}

/* Galeria dentro do serviço (imagens e vídeos) */
.service-gallery {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.service-gallery-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
}

.service-gallery-empty {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
}

.service-gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-soft);
}
.service-gallery-item img,
.service-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-gallery-embed {
    grid-column: span 1;
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.service-gallery-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.service-gallery-embed blockquote.instagram-media {
    margin: 0;
    max-width: 100%;
    min-width: 0;
}

.no-content {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-muted);
}

.no-content a {
    color: var(--color-accent);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(61, 53, 57, 0.85));
    font-size: 0.9rem;
    color: #fff;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Contact */
.contact-form {
    max-width: 520px;
    margin: 0 auto 2rem;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
}

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

.contact-form button {
    width: 100%;
    padding: 1rem;
    cursor: pointer;
    font-size: 1rem;
}

.form-message {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

/* Cursos */
.courses-section { background: var(--color-surface-soft); }
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.course-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(61, 53, 57, 0.04);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.course-card:hover { border-color: rgba(196, 77, 122, 0.25); box-shadow: 0 8px 24px rgba(61, 53, 57, 0.08); }
.course-card-image { aspect-ratio: 4/3; overflow: hidden; }
.course-card-image img { width: 100%; height: 100%; object-fit: cover; }
.course-card-body { padding: 1.25rem; }
.course-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 0.5rem; }
.course-card .course-dates { font-size: 0.9rem; color: var(--color-accent); margin-bottom: 0.35rem; }
.course-card .course-vagas { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0.75rem; }
.course-card .course-vagas.full { color: var(--color-accent); font-weight: 500; }
.course-enroll-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.course-enroll-form input, .course-enroll-form textarea { margin-bottom: 0.6rem; padding: 0.6rem 0.8rem; font-size: 0.95rem; border: 1px solid var(--color-border); border-radius: 8px; width: 100%; }
.course-enroll-form button { padding: 0.65rem 1.2rem; font-size: 0.95rem; cursor: pointer; }

/* Reservar cita */
.booking-section { background: var(--color-surface); }
.form-label { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0.35rem; display: block; }
.form-select {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
}
.booking-form .form-row:has(.form-label) { grid-template-columns: 1fr; }

/* Galeria: embeds Instagram (fotos/vídeos) */
.gallery-item-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 2px 12px rgba(61, 53, 57, 0.06);
}
.gallery-embed {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}
.gallery-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.gallery-embed blockquote.instagram-media {
    margin: 0;
    max-width: 100%;
    min-width: 0;
}
.gallery-item-wrap .gallery-caption {
    position: relative;
    padding: 0.75rem 1rem;
    background: var(--color-soft);
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 1;
}

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

.contact-link {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.9rem;
    background: var(--color-surface-soft);
}

.footer a {
    color: var(--color-accent);
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(61, 53, 57, 0.08);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
