/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fontes Personalizadas */
@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('Fontes/AGARAMONDPRO-REGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('Fontes/AGARAMONDPRO-BOLD.OTF') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Adobe Garamond Pro';
    src: url('Fontes/AGARAMONDPRO-ITALIC.OTF') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Fontes/MONTSERRAT-LIGHT.OTF') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Fontes/MONTSERRAT-REGULAR.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('Fontes/MONTSERRAT-SEMIBOLD.OTF') format('opentype');
    font-weight: 600;
    font-style: normal;
}

:root {
    /* Paleta Elegante - Creme, Beige, Castanho, Preto */
    --primary-color: #1a1a1a;
    --secondary-color: #8b7355;
    --accent-color: #c49a6c;
    --text-dark: #1a1a1a;
    --text-light: #5c4d42;
    --bg-light: #f5f0e8;
    --bg-cream: #faf7f2;
    --beige: #e8dcc8;
    --brown-dark: #4a3f35;
    --white: #ffffff;
    --shadow: rgba(74, 63, 53, 0.1);
    --shadow-hover: rgba(74, 63, 53, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--beige) 100%);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header e Logo */
.header {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInDown 0.8s ease;
}

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

.logo {
    display: inline-block;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 15px 30px var(--shadow-hover));
}

.logo-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    display: block;
}

.logo-text {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.logo-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--secondary-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Introdução */
.introduction {
    padding: 60px 20px;
    animation: fadeIn 1s ease 0.3s both;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-photo {
    flex: 0 0 320px;
}

.ewa-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px var(--shadow);
    transition: var(--transition);
}

.ewa-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.intro-text-container {
    flex: 1;
    text-align: left;
}

.introduction h1 {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow);
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.facebook:hover {
    background: #0d5dbb;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

/* Chat Section */
.chat-section {
    padding: 40px 20px;
    animation: fadeIn 1s ease 0.6s both;
}

.chat-and-social-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.chat-container {
    flex: 1;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px var(--shadow);
    overflow: hidden;
}

.facebook-feed-container {
    flex: 0 0 360px;
}

.facebook-feed-header {
    text-align: center;
    margin-bottom: 20px;
}

.facebook-feed-header h3 {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 1.8rem;
    font-weight: normal;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.facebook-feed-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-light);
}

.facebook-feed-embed {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.facebook-feed-embed iframe {
    display: block;
    width: 100%;
}

/* Galeria de Trabalhos */
.gallery-section {
    padding: 80px 20px;
    text-align: center;
    background: var(--white);
    animation: fadeIn 1s ease 0.8s both;
}

.gallery-section h2 {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gallery-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 50px;
}

.gallery-cta {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    border-radius: var(--border-radius);
    border: 2px solid var(--secondary-color);
    transition: var(--transition);
}

.gallery-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--accent-color);
}

.gallery-cta-content svg {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.gallery-cta-content h3 {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gallery-cta-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

.view-more-button {
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow);
}

.view-more-button:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.view-more-button svg {
    transition: var(--transition);
}

.view-more-button:hover svg {
    transform: translateX(5px);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.chat-header h2 {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.chat-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
    font-weight: 300;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 25px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.welcome-message {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    animation: slideInLeft 0.5s ease;
}

.welcome-message p {
    margin: 5px 0;
}

.message {
    padding: 12px 18px;
    border-radius: var(--border-radius);
    max-width: 80%;
    word-wrap: break-word;
    animation: slideIn 0.3s ease;
}

.message.user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
}

.message.assistant {
    background: var(--white);
    color: var(--text-dark);
    align-self: flex-start;
    border: 1px solid #e0e0e0;
}

.message.error {
    background: #fff3f3;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 12px 18px;
    background: var(--white);
    border-radius: var(--border-radius);
    width: fit-content;
    border: 1px solid #e0e0e0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-input-container {
    display: flex;
    padding: 20px;
    background: var(--white);
    gap: 12px;
    border-top: 1px solid #e0e0e0;
}

.chat-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.chat-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.chat-input:disabled {
    background: var(--bg-light);
    cursor: not-allowed;
}

.send-button {
    padding: 15px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button:hover:not(:disabled) {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.send-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.chat-status {
    padding: 12px 20px;
    background: #fff3cd;
    border-top: 1px solid #ffc107;
    text-align: center;
    color: #856404;
}

.chat-status.ready {
    background: #d4edda;
    border-top-color: #28a745;
    color: #155724;
}

/* Language Selection Buttons */
.language-selection {
    padding: 60px 20px;
    text-align: center;
    animation: fadeIn 1s ease 0.9s both;
}

.language-selection h2 {
    font-family: 'Adobe Garamond Pro', serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--primary-color);
    margin-bottom: 40px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.button-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.selection-button {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.selection-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--secondary-color);
}

.selection-button .flag {
    font-size: 3rem;
    line-height: 1;
}

.selection-button .button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.selection-button strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.selection-button small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.lightbox-closing {
    animation: fadeOut 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.lightbox-navigation button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--white);
    font-size: 3rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.lightbox-navigation button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

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

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
    color: var(--text-light);
}

.footer p {
    margin: 8px 0;
}

.footer-services {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
    }

    .intro-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .intro-photo {
        flex: 0 0 250px;
    }

    .ewa-photo {
        height: 250px;
    }

    .intro-text-container {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .introduction h1 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .chat-and-social-container {
        flex-direction: column;
    }

    .facebook-feed-container {
        flex: 1;
        width: 100%;
    }

    .facebook-feed-embed iframe {
        width: 100%;
    }

    .gallery-cta {
        padding: 40px 25px;
    }

    .gallery-cta-content h3 {
        font-size: 1.6rem;
    }

    .chat-messages {
        height: 300px;
    }

    .button-group {
        grid-template-columns: 1fr;
    }

    .selection-button {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
    }

    .intro-photo {
        flex: 0 0 200px;
    }

    .ewa-photo {
        height: 200px;
    }

    .introduction h1 {
        font-size: 1.6rem;
    }

    .gallery-section h2,
    .language-selection h2 {
        font-size: 1.6rem;
    }

    .gallery-cta-content h3 {
        font-size: 1.4rem;
    }

    .selection-button .flag {
        font-size: 2.5rem;
    }
}
