/* ==========================================
   1. Configurações Básicas
   ========================================== */
:root {
    --primary-color: #B27060;
    --secondary-color: #C1D4DB;
    --text-color: #333333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Figtree', sans-serif;
    font-size: 1.2rem;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   2. Header e Navegação
   ========================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 0rem 2rem;
    width: 100%;
}

.logo {
    height: 65px;
    display: flex;
    align-items: center;
    margin-left: 3%;
}

.logo img {
    height: 150%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu Mobile */
.menu-btn {
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

/* ==========================================
   3. Seção Hero
   ========================================== */
.hero {
    height: 100vh;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 0 2rem;
}

.hero-text {
    flex: 1;
    text-align: center;
}

h1 {
    font-family: 'Figtree', sans-serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Brotherside signature', sans-serif;
    color: var(--primary-color);
    font-size: 2.1rem;
}

.hero-subtitle {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-text h1 {
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    flex: 0.8;
    max-width: 450px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 1.2s ease-out;
}

.hero-image img {
    width: 150%;
    height: auto;
    object-fit: contain;
}

/* ==========================================
   4. Seções de Conteúdo
   ========================================== */
section {
    padding: 5rem 0;
}

h2 {
    font-family: 'Brotherside signature', sans-serif;
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

/* Seção Sobre */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.profile-image {
    width: 350px;
    height: 350px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    animation: scaleIn 1s ease-out;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.about-text p.visible {
    opacity: 1;
    transform: translateY(0);
    text-align: center;
}

/* Seção Serviços */
.services {
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-image {
    width: 25%;
    color: var(--primary-color);
    height: auto;
    object-fit: cover;
    
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Seção Contato */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0.5rem;
    border-radius: 50%;
    background: transparent;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: #a3655b;
}

.social-link:hover i {
    animation: pulseIcon 1s infinite;
}

.social-link[href*="whatsapp"]:hover {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

.social-link[href*="instagram"]:hover {
    color: #E4405F;
    background: rgba(228, 64, 95, 0.1);
}

.contact-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.contact-address:hover {
    transform: translateY(-5px);
    background-color: rgba(178, 112, 96, 0.1);
}

.contact-address i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Botão CTA */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(178, 112, 96, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(178, 112, 96, 0.4);
    background-color: #a3655b;
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(178, 112, 96, 0.2);
}

/* ==========================================
   5. Footer
   ========================================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

/* ==========================================
   6. Animações
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ==========================================
   7. Media Queries
   ========================================== */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    header {
        padding: 0.5rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo {
        height: 55px;
        margin-left: 0;
    }

    .logo img {
        height: 180%;
        width: auto;
    }

    .menu-btn {
        display: flex;
        margin-right: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.5s ease-in-out;
        z-index: 90;
        overflow: hidden;
        pointer-events: none;
    }

    .nav-links.active {
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.3s;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        min-height: 100vh;
        padding-top: 80px;
        padding: 80px 1rem 2rem 1rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }

    .hero-text {
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
        padding: 1rem;
        margin: 0 auto;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }

    .profile-image {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .about-text {
        text-align: center;
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0;
    }

    .contact-content {
        padding: 0 1rem;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        margin: 2rem 0;
    }

    .social-link {
        padding: 0.5rem;
    }

    .social-link i {
        font-size: 2rem;
    }

    .contact-address {
        flex-direction: column;
        padding: 1rem;
        margin: 0 auto;
        max-width: 300px;
    }

    .contact-address i {
        margin-bottom: 0.5rem;
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        margin: 1rem 0;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .profile-image {
        width: 240px;
        height: 240px;
    }

    .social-link i {
        font-size: 2rem;
    }
}
