@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    /* Cores da Cliente: rosa claro e branco */
    --primary: #f472b6; /* Rosa claro principal */
    --primary-dark: #db2777; /* Rosa mais escuro para hover e contraste */
    --secondary: #ffffff;
    --bg: #ffffff;
    --bg-alt: #fdf2f8; /* Rosa bem suave para fundos de seções */
    --text: #1f2937; /* Texto escuro para alto contraste no fundo claro */
    --text-light: #4b5563; /* Texto secundário */
    --cta: #db2777; 
    --cta-text: #ffffff;
    
    /* Tipografia Elegante */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Medidas e Layout */
    --nav-height: 80px;
    --container-width: 1200px;
    --section-padding: 100px 0;
    --radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Acessibilidade */
:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Container Global */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--cta);
    color: var(--cta-text);
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: var(--font-body);
    min-width: 44px;
    min-height: 44px;
}

.btn:hover {
    background-color: #be185d;
    transform: translateY(-2px);
    color: var(--cta-text);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* Animações (OBRIGATÓRIO CROSS-BROWSER) */
.reveal-clip {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    transition: clip-path 1.2s cubic-bezier(0.19, 1, 0.22, 1), -webkit-clip-path 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-backface-visibility: hidden;
    will-change: clip-path, -webkit-clip-path;
}
.reveal-clip.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.reveal-clip img {
    visibility: visible !important;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animação com delay para grids */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Fallback: se JS não adicionar .active após 3s, mostra tudo */
@keyframes forceShow {
    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
.reveal-clip, .fade-up {
    animation: forceShow 0s 3s forwards;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        gap: 3rem;
    }
    .nav-links.active {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Page Header Padrão (Páginas Internas) */
.page-header {
    padding: 160px 0 80px;
    background-color: var(--bg-alt);
    text-align: center;
}
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ------------- INDEX.HTML ------------- */

/* Hero Split (Blueprint Adaptação) */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: var(--nav-height);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10%;
    background-color: var(--bg);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto 50vh;
        min-height: auto;
    }
    .hero-content {
        padding: 15% 5%;
        text-align: center;
        align-items: center;
    }
}

/* Seção Serviços */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 250px;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}
.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}
.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Diferenciais */
.differentials {
    background-color: var(--bg);
    text-align: center;
}
.diff-content {
    max-width: 800px;
    margin: 0 auto;
}
.diff-content .generic {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.diff-content .highlight {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}
.badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--bg-alt);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 30px;
    border: 1px solid var(--primary);
}

/* Processo */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    counter-reset: process-counter;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
}

.process-step h3 {
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
    margin: 0;
}

/* CTA Final */
.cta-final {
    background-color: var(--primary);
    color: var(--secondary);
}
.cta-final h2 {
    color: var(--secondary);
    margin-bottom: 2rem;
}
.cta-final .btn-primary {
    background-color: var(--secondary);
    color: var(--primary-dark);
}
.cta-final .btn-primary:hover {
    background-color: var(--bg-alt);
}

/* ------------- SOBRE.HTML ------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-block {
    margin-bottom: 1.5rem;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.feature-block h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.feature-block ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-light);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ------------- CONTATO.HTML ------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--bg);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--bg-alt);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    padding: 3rem;
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form, .contact-info {
        padding: 2rem;
    }
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #888;
}

.footer-bottom a {
    color: #fff;
}

.footer-bottom a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}