/*
====================================
  1. BASE & UTILS
====================================
*/

:root {
    --color-background: #F9F9F9;
    --color-primary: #7db076;
    --color-secondary: #FF8A65;
    --color-text-dark: #333333;
    --color-text-light: #1c194a;
    --color-white: #FFFFFF;
    --color-border: #E0E0E0;
    --font-stack: 'Montserrat', sans-serif;
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--color-background);
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-secondary);
}

h2, h3, h4 {
    color: var(--color-text-light);
    font-weight: 600;
    margin-bottom: 0.5em;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 3rem 0 1.5rem;
    font-weight: 700;
}

.title-contrast {
    color: var(--color-text-light);
    font-size: 3.5rem;
    font-weight: 800;
}

.text-main {
    color: var(--color-text-dark);
}

/*
====================================
  2. HEADER & NAVIGATION
====================================
*/

.main-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-logo {
    height: 60px;
    width: auto;
    display: block;
}

.logo a {
    color: var(--color-text-light);
    font-size: 1.6rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-text-light);
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.nav-link:after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

/*
====================================
  3. BUTTONS
====================================
*/

.btn-primary {
    display: inline-block;
    background-color: var(--color-text-light);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s, transform 0.1s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(67, 57, 181, 0.3);
    font-family: var(--font-stack);
}

.btn-primary:hover {
    background-color: #F9F9F9;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(170, 170, 170, 0.4);
}

.large-btn {
    padding: 16px 35px;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-block;
    color: var(--color-text-light);
    border: 2px solid var(--color-text-light);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/*
====================================
  4. INDEX PAGE (HERO, STATS, PET GRID)
====================================
*/

/* --- HERO SECTION --- */

.hero-section {
    min-height: calc(100vh - 80px);
    background-color: #F8DDE1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding: 0;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 5% 40px 10%;
    max-width: 60%;
}

.title-hero {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--color-text-light);
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.1;
}

.text-hero-lead {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    max-width: 40%;
}

.hero-pet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
    display: block;
}

/* --- STATS SECTION --- */

.stats-section {
    background-color: #F8DDE1;
    padding: 40px 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    color: var(--color-text-dark);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* --- PET GRID --- */

.featured-pets {
    padding: 60px 0;
}

.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.pet-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pet-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.pet-info {
    padding: 20px;
    text-align: left;
}

.pet-info h4 {
    margin-bottom: 5px;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.pet-info p {
    color: #666;
    margin-bottom: 15px;
}

/*
====================================
  4. REVIEWS SECTION        
====================================
*/

.review-hero-section {
    background-color: #7db076; 
    position: relative;
    overflow: hidden;
    padding: 60px 0; 
}

.review-main-content {
    padding: 0; 
    max-width: 1200px; 
    margin: 0 auto 40px auto; 
}

.review-image-text-overlay {
    position: relative;
    width: 100%;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 65px;
}

.review-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
    border-radius: 12px; 
    }



.review-overlay-title {
    color: var(--color-text-light);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    z-index: 5;
    margin-bottom: -95px;
    position: relative;
}

.review-details-container {
    color: var(--color-white);
    text-align: center;
    max-width: 900px; 
    margin: 0 auto;
}

.stars {
    font-size: 2.5rem;
    color: rgb(255, 232, 103);
    margin-top: 20px;
}

.testimonial-quote-modern {
    font-size: 1.1rem; /* Aumenta a fonte para dar impacto */
    font-weight: 600;
    line-height: 1.4;
    font-style: italic;
    margin: 0 auto 30px auto;
    max-width: 650px;
}

.reviewer-name-modern {
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--color-text-light); 
}

.reviewer-location {
    font-size: 1rem;
    color: #F8DDE1;
    font-weight: 700;
    margin-bottom: 40px;
}


/*
====================================
  5. ABOUT PAGE
====================================
*/

/* --- 1. SEÇÃO SUPERIOR: BLOCAGEM FULL-WIDTH --- */

.mission-hero-split {
    display: flex;
    max-height: 72vh;
    width: 100%;
}

.split-block {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.split-text-left {
    background-color: #F8DDE1;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.split-title-hero {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-light);
    max-width: 80%;
    margin-top: 50px;
}

.split-image-right {
    background-color: var(--color-background);
    padding: 0;
}

.split-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- 2. SEÇÃO INTERMEDIÁRIA: TÍTULO DA MISSÃO --- */

.mission-title-band {
    background-color: var(--color-text-light);
    padding: 30px 0;
    text-align: left;
    margin-top: 0;
}

.mission-title-band-text {
    color: var(--color-white);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
    width: 90%;
}

/* --- 3. SEÇÃO PRINCIPAL DE TEXTO --- */

.mission-text-section {
    background-color: var(--color-white);
    padding: 40px 0 20px 0;
}

.mission-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.mission-text-wrapper {
    padding-right: 20px;
}

.mission-text-wrapper p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.mission-side-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* --- 4. SEÇÃO DE AUTOR/APRESENTAÇÃO --- */

.author-section {
    padding: 60px 0;
    background-color: var(--color-background);
}

.author-title {
    color: var(--color-secondary);
    margin-bottom: 40px;
}

.author-info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 50px;
    align-items: start;
    padding: 0 20px;
}

.author-bio p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-details {
    background-color: var(--color-white);
    padding: 20px;
    border-left: 5px solid var(--color-primary);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
}

.project-details h4 {
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.project-details ul {
    list-style-type: none;
    padding-left: 0;
}

.project-details li {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* --- 5. SEÇÃO DE VALORES --- */

.values-block {
    text-align: center;
    padding: 0;
    margin-bottom: 80px;
}

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

.value-card {
    background-color: var(--color-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-border);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.value-card h4 {
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    line-height: 1;
}

.value-card p {
    color: var(--color-text-dark);
}

.statement-section {
    background-color: var(--color-primary); 
    padding: 60px 0;
    text-align: center;
}

.statement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.statement-quote {
    flex: 2; 
    text-align: left;
    color: var(--color-white);
}

.statement-phrase {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    font-style: italic;
    margin: 0;
    max-width: 800px;
}

/*
====================================
  6. CTA SECTION (FINAL DA PÁGINA)
====================================
*/

.purpose-section-final {
    background-color: var(--color-background);
    padding-top: 60px;
}

.purpose-grid-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    align-items: center;
    gap: 50px;
    padding-bottom: 60px;
}

.purpose-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.purpose-text-wrapper {
    color: var(--color-text-dark);
    padding: 20px 0;
}

.section-subtitle {
    color: var(--color-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

.purpose-phrase-final {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.cta-section-final {
    background-color: var(--color-white);
    padding: 40px 0;
    text-align: center;
}

.cta-content-final h3 {
    color: var(--color-text-light);
    font-size: 2rem;
    margin-bottom: 5px;
}

.cta-text-final {
    color: var(--color-text-dark);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-cta {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

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

/*
====================================
  7. FOOTER
====================================
*/

.main-footer {
    background-color: var(--color-text-light);
    color: var(--color-white);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link-large {
    color: var(--color-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.footer-link-large:hover {
    color: var(--color-primary);
}

.footer-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-img {
    height: 190px;
    width: auto;
    display: block;
    margin-left: -40px;
}

.contact-details {
    font-size: 0.95rem;
    color: #CCCCCC;
    line-height: 1.4;
}

.footer-email {
    font-size: 1rem;
    margin-top: 10px;
}

.link-light {
    color: var(--color-secondary);
    font-weight: bold;
}

.link-light:hover {
    color: var(--color-primary);
}

.copyright-text {
    font-size: 0.8rem;
    margin-top: 20px;
    color: #AAAAAA;
}

/*
====================================
  8. FORMS & ACTION PAGES
====================================
*/

.form-section {
    padding: 40px 0 80px;
}

.form-description {
    text-align: center;
    max-width: 600px;
    margin: 10px auto 30px;
    font-size: 1.1rem;
    color: #666;
}

.main-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-border);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.main-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--color-background);
}

.form-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.2);
}

.radio-group label, .checkbox-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
    cursor: pointer;
}

.error-message {
    display: block;
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-input.input-error {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(255, 138, 101, 0.2);
}

.form-submit-btn {
    width: 100%;
    margin-top: 15px;
    background-color: var(--color-secondary);
}

.form-submit-btn:hover {
    background-color: #FF7043;
}

.action-section {
    padding: 40px 0 80px;
    text-align: center;
}

.confirmation-box {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(202, 202, 202, 0.15);
    max-width: 700px;
    margin: 30px auto;
}

.confirmation-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.data-display {
    text-align: left;
    background-color: var(--color-background);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 2;
}

.data-display strong {
    color: var(--color-primary);
    font-weight: 700;
}

/*
====================================
  9. MODALS & SCROLL
====================================
*/

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 50px;
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: var(--color-white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s;
}

.modal-content.large-modal {
    max-width: 800px;
    margin: 3% auto;
}

.close-button {
    color: var(--color-text-dark);
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--color-secondary);
}

.modal-body {
    padding-top: 10px;
}

.modal-title-termos {
    color: var(--color-text-light);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.termos-content p {
    font-size: 0.95rem;
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.termos-content strong {
    color: var(--color-primary);
    font-size: 1rem;
}

.termos-assinatura {
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
    margin-top: 20px;
}

.pet-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.modal-pet-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
}

.modal-pet-name {
    color: var(--color-primary);
    font-size: 1.8rem;
}

.scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--color-primary);
    color: var(--color-white);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s;
}

.scroll-to-top-btn:hover {
    background-color: var(--color-secondary);
}

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

/*
====================================
  10. RESPONSIVENESS
====================================
*/

@media (max-width: 900px) {
    /* --- HERO/INDEX --- */
    .hero-section {
        flex-direction: column;
        min-height: auto;
        padding-top: 40px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
        padding-bottom: 20px;
    }
    .title-hero {
        font-size: 3rem;
        text-align: center;
    }
    .hero-image-wrapper {
        min-height: 400px;
        max-width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .large-btn {
        width: 100%;
    }

    /* --- ABOUT SPLIT HERO --- */
    .mission-hero-split {
        flex-direction: column;
        min-height: auto;
    }
    .split-text-left {
        order: 1;
        padding: 40px 20px 0 20px;
        justify-content: flex-start;
        align-items: center;
    }
    .split-image-right {
        order: 2;
        min-height: 50vh;
    }
    .split-title-hero {
        font-size: 2.5rem;
        margin-top: 0;
        max-width: 100%;
        text-align: center;
    }

    /* --- ABOUT MISSION GRID --- */
    .mission-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0 0 0;
    }
    .mission-image-wrapper {
        order: -1;
    }
    .mission-text-wrapper {
        padding: 0 15px;
        text-align: center;
    }
    .mission-text-wrapper p {
        text-align: left;
    }
    .mission-title-band {
        margin-top: 0 !important;
        text-align: center;
    }
    .mission-title-band-text {
        font-size: 1.8rem;
        text-align: center;
    }

    /* --- AUTHOR GRID --- */
    .author-info-grid {
        grid-template-columns: 1fr;
    }

    /* --- FOOTER --- */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        align-items: center;
        margin-bottom: 30px;
    }
    .footer-info {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    /* --- HEADER (Menu Sanduíche) --- */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--color-text-light);
        font-size: 1.8rem;
        cursor: pointer;
    }
    .header-logo {
        height: 40px;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        border-top: 1px solid var(--color-border);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    .nav-list {
        flex-direction: column;
        padding: 10px 0;
    }
    .nav-link {
        display: block;
        padding: 15px 0;
        color: var(--color-text-dark);
    }
    .nav-link:after {
        display: none;
    }
    .nav-link:hover {
        background-color: var(--color-background);
    }
    .main-nav.is-open {
        display: block;
    }

    /* --- STATS --- */
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
}