/* style.css - Design System da Podo Penna */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --color-bg: #F7EBC3;          /* Fundo Creme */
    --color-bg-light: #FDF9EC;    /* Creme mais claro para cards */
    --color-primary: #4A707A;     /* Teal/Azul escuro (Logo) */
    --color-primary-light: #5B8894;
    --color-primary-dark: #37535A;
    --color-text: #2C4349;
    --color-white: #ffffff;
    --color-shadow: rgba(74, 112, 122, 0.15);
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-primary);
    font-weight: 700;
}

/* Header */
header {
    background-color: var(--color-bg-light);
    padding: 0.3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px var(--color-shadow);
}

.logo img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    display: block;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: 600;
    transition: var(--transition);
}

nav a:hover {
    color: var(--color-primary-light);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-shadow);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 2rem;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--color-shadow);
    object-fit: cover;
}

/* Quem Sou Eu */
.about-professional {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 5rem 5%;
    background-color: var(--color-primary);
    color: var(--color-bg-light);
}

.about-professional .section-title {
    color: var(--color-bg-light);
    text-align: left;
}

.about-professional .section-title::after {
    background-color: var(--color-bg-light);
    left: 0;
    transform: none;
}

.about-professional h2, .about-professional h3 {
    color: var(--color-bg-light);
}

.about-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-img img {
    max-width: 100%;
    max-height: 550px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    object-fit: cover;
}

.about-text {
    flex: 1;
}

/* Sections */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

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

.service-card {
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--color-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-top {
    margin-bottom: 1.5rem;
}

.service-card img.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Special Care Section */
.special-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.special-care-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    border-top: 4px solid var(--color-primary);
}

.special-care-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.special-care-card h4 {
    margin-bottom: 0.5rem;
}

/* Location & Maps */
.location-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.location-info {
    flex: 1;
    min-width: 300px;
}

.location-map {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--color-shadow);
}

/* Reviews */
.reviews-section {
    text-align: center;
    background: var(--color-bg-light);
    padding: 4rem 5%;
    border-radius: 20px;
    margin: 2rem 5%;
    box-shadow: 0 5px 20px var(--color-shadow);
}

.reviews-section .fa-star {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* FAQ (Accordion) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-light);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--color-shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(74, 112, 122, 0.05);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    margin-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* arbitrary large value */
    padding-bottom: 1.5rem;
}

/* Forms */
.contact-container {
    background: var(--color-bg-light);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px var(--color-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(74, 112, 122, 0.2);
    border-radius: 8px;
    background: var(--color-white);
    font-family: inherit;
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 112, 122, 0.1);
}

/* Modal (Lightbox) da Logomarca */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(44, 67, 73, 0.85);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.modal-content img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-bg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--color-bg);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--color-white);
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-bg);
    text-align: center;
    padding: 2rem 5%;
}

footer a {
    color: var(--color-bg-light);
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 90px;
        width: 90px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-image {
        padding-left: 0;
        margin-top: 2rem;
    }

    .about-professional {
        flex-direction: column;
        text-align: center;
    }

    .about-professional .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-professional .section-title {
        text-align: center;
    }
    
    nav ul {
        display: none; 
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
