/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brown-logo: #6e4c3b;    /* Marrom Escuro */
    --silver-logo: #a68b7c;   /* Caramelo Suave */
    --cream-bg: #ede8e4;      /* Fundo Bege */
    --text-color: #5d4037;    /* Café */
}

body {
    font-family: 'Quicksand', sans-serif;
    background-color: var(--cream-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; 
}

/* UTILITÁRIOS */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   CABEÇALHO
   ========================================= */
.main-header {
    background-color: var(--cream-bg);
    padding: 15px 0;
    border-bottom: 2px dashed var(--silver-logo);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.brand-logo {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    line-height: 0.8;       
    cursor: default;
}

.logo-top {
    font-family: 'Great Vibes', cursive;
    font-size: 55px; 
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5); 
}

.sub-logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: var(--brown-logo);
    text-transform: uppercase;
    letter-spacing: 6px; 
    margin-top: 5px;
    margin-left: 5px; 
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: var(--brown-logo);
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.menu a:hover { color: var(--silver-logo); }

/* REDES SOCIAIS E BOTÕES */
.social-icon {
    font-size: 24px;
    color: var(--brown-logo) !important;
    display: flex;
    align-items: center;
}
.social-icon:hover { color: #d62976 !important; }

.btn-stitch {
    border: 2px dashed var(--brown-logo);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--brown-logo) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap; 
}

.btn-stitch:hover {
    background-color: #25d366;
    color: #fff !important;
    border-color: #25d366;
    border-style: solid;
}

.btn-primary {
    background-color: var(--brown-logo);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 4px 4px 0px var(--silver-logo);
    transition: 0.2s;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px var(--silver-logo);
    background-color: #5a3a2a;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section { padding: 80px 0; }
.hero-grid { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }

.hero-text h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 65px;
    line-height: 1.1;
    color: var(--brown-logo);
    margin-bottom: 20px;
}
.hero-text p { font-size: 19px; margin-bottom: 30px; color: #7d6e68; }

/* Wrapper para os botões ficarem lado a lado */
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Se a tela for muito pequena, cai pra baixo */
}

.hero-image-placeholder {
    width: 450px;
    height: 450px;
    background-color: var(--cream-bg); 
    border-radius: 50%;
    border: 8px solid var(--brown-logo);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    box-shadow: 10px 10px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}
.hero-image-placeholder img { width: 110%; height: 110%; object-fit: contain; }

/* =========================================
   PORTFÓLIO (CARROSSEL)
   ========================================= */
.section-content { padding: 80px 0; }
.title-center { text-align: center; margin-bottom: 50px; }
.title-center h3 { font-size: 38px; color: var(--brown-logo); font-family: 'Great Vibes', cursive; }
.stitch-line {
    width: 120px;
    height: 2px;
    border-bottom: 2px dashed var(--silver-logo);
    margin: 10px auto;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    background: transparent;
    border: none;
    font-size: 30px;
    color: var(--brown-logo);
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: 0.3s;
}
.carousel-btn:hover { color: var(--silver-logo); transform: scale(1.1); }

.gallery-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto; 
    scroll-behavior: smooth;
    padding: 20px 5px;
    width: 100%;
    scrollbar-width: none; 
}
.gallery-carousel::-webkit-scrollbar { display: none; }

.gallery-card {
    min-width: 300px; 
    text-align: center;
    flex-shrink: 0;
}

.photo-space {
    width: 100%;
    height: 300px;
    background-color: #fff;
    border: 1px dashed var(--silver-logo);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}
.photo-space:hover { transform: scale(1.02); border-color: var(--brown-logo); }
.photo-space img { width: 100%; height: 100%; object-fit: cover; }

.gallery-card h4 { font-size: 18px; color: var(--brown-logo); margin-bottom: 5px; font-weight: bold; }
.gallery-card p { font-size: 14px; color: #888; }

/* =========================================
   SOBRE
   ========================================= */
.section-alt {
    background-color: #fff; 
    padding: 80px 0;
    border-top: 5px solid var(--silver-logo);
}
.about-flex-single { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }

.about-photo-large {
    width: 320px; height: 320px; border-radius: 50%;
    background-color: var(--silver-logo); border: 5px solid #fff;
    box-shadow: 0 0 0 3px var(--brown-logo); overflow: hidden; flex-shrink: 0;
}
.about-photo-large img { width: 100%; height: 100%; object-fit: cover; }

.stitch-box {
    border: 2px dashed var(--brown-logo); padding: 40px; border-radius: 10px;
    max-width: 600px; background-color: var(--cream-bg); position: relative; text-align: left;
}
.stitch-box h3 {
    font-family: 'Great Vibes', cursive; font-size: 38px; color: var(--brown-logo);
    margin-bottom: 20px; text-align: center;
}
.stitch-box::before {
    content: '♥'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--cream-bg); padding: 0 10px; color: var(--brown-logo); font-size: 20px;
}

/* =========================================
   RODAPÉ
   ========================================= */
footer { text-align: center; padding: 40px 0; background-color: #e4dfda; color: var(--brown-logo); }
footer a { color: var(--brown-logo); text-decoration: none; font-weight: bold; }
.footer-contacts { margin-top: 10px; font-size: 14px; }

/* =========================================
   RESPONSIVIDADE (A MÁGICA ACONTECE AQUI)
   ========================================= */

/* Tablets e Celulares (Telas menores que 900px) */
@media screen and (max-width: 900px) {
    .nav-content {
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        flex-direction: column; 
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    .hero-grid {
        flex-direction: column; 
        text-align: center;
        gap: 40px;
    }
    
    .hero-btns {
        justify-content: center; /* Centraliza botões no mobile */
    }

    .hero-image-placeholder {
        width: 300px;  
        height: 300px;
        order: -1; 
    }

    .hero-text h2 {
        font-size: 48px; 
    }

    .about-flex-single {
        flex-direction: column;
        gap: 40px;
    }

    .about-photo-large {
        width: 250px;
        height: 250px;
    }

    .stitch-box {
        padding: 25px;
        width: 100%;
    }
}

/* Celulares Pequenos (Telas menores que 480px) */
@media screen and (max-width: 480px) {
    .logo-top { font-size: 45px; }
    
    .hero-image-placeholder {
        width: 260px;
        height: 260px;
        border-width: 5px;
    }

    .hero-text h2 { font-size: 40px; }
    
    .gallery-card {
        min-width: 260px; 
    }
    
    .photo-space { height: 260px; }

    .carousel-btn {
        padding: 5px;
        font-size: 20px;
    }
    
    .btn-primary {
        width: 100%; /* Botões ocupam largura total em telas muito pequenas */
    }
}