/* ========================================
   Condomínios Cascais - About Page CSS
   Estilos para página Sobre Nós
   ======================================== */

/* ===== About Hero ===== */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563EB 100%);
    background-image: url('../images/about/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 80px;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(37, 99, 235, 0.88) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 20px;
}

.about-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.about-hero .breadcrumb-item a:hover {
    color: var(--white);
}

.about-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.about-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Introduction Section ===== */
.intro-section {
    padding: 80px 0;
}

.intro-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

.badge-content {
    text-align: center;
    color: var(--white);
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--font-primary);
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 5px;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(59, 130, 246, 0.08));
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.highlight-box i {
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.3;
    margin-bottom: 10px;
}

.highlight-box p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-color);
    margin-bottom: 0;
}

/* ===== Timeline Section ===== */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 50px;
}

.timeline-marker {
    position: absolute;
    top: 0;
    right: -18px;
    width: 32px;
    height: 32px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.timeline-item:nth-child(even) .timeline-marker {
    right: auto;
    left: -18px;
}

.timeline-marker-current {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 0 20px rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.timeline-content-current {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.timeline-content-current .timeline-year {
    background: var(--secondary-color);
}

.timeline-content h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray-color);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===== Mission, Vision, Values ===== */
.mvv-section {
    padding: 80px 0;
}

.mvv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 2px solid var(--light-gray);
}

.mvv-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.mvv-icon-vision {
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
}

.mvv-icon-values {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.mvv-card h3 {
    text-align: center;
    color: var(--dark-color);
}

.mvv-card p {
    color: var(--gray-color);
    text-align: center;
    line-height: 1.8;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 500;
}

.values-list li i {
    font-size: 1.2rem;
}

/* ===== Differentials Section ===== */
.differentials-section {
    padding: 80px 0;
}

.differential-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    height: 100%;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.differential-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.differential-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-light);
    opacity: 0.2;
    line-height: 1;
    flex-shrink: 0;
    font-family: var(--font-primary);
}

.differential-content h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.differential-content p {
    color: var(--gray-color);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-color);
}

.check-list li i {
    color: var(--secondary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== Team Section ===== */
.team-section {
    padding: 80px 0;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 138, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

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

.team-social a {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
}

.team-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.team-info .text-primary {
    font-weight: 600;
    font-size: 0.95rem;
}

.team-info p.text-muted {
    line-height: 1.6;
}

/* ===== Certifications Section ===== */
.certifications-section {
    padding: 80px 0;
}

.certification-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    height: 100%;
}

.certification-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.certification-card i {
    font-size: 3rem;
    color: var(--primary-color);
}

.certification-card h6 {
    color: var(--dark-color);
}

/* ===== Why Choose Section ===== */
.why-choose-section {
    padding: 80px 0;
}

.reason-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
    height: 100%;
}

.reason-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.reason-card h5 {
    color: var(--dark-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    .about-hero {
        padding: 80px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .experience-badge {
        width: 120px;
        height: 120px;
        top: -10px;
        right: -10px;
    }

    .badge-number {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 4px !important;
        right: auto !important;
    }

    .differential-number {
        font-size: 2.5rem;
    }

    .team-image {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 60px 0 40px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .intro-section,
    .timeline-section,
    .mvv-section,
    .differentials-section,
    .team-section,
    .certifications-section,
    .why-choose-section {
        padding: 60px 0;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        top: 10px;
        right: 10px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .highlight-box {
        padding: 20px;
    }

    .timeline-item {
        padding-left: 50px;
        margin-bottom: 40px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-year {
        font-size: 0.85rem;
        padding: 6px 15px;
    }

    .mvv-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .differential-card {
        flex-direction: column;
        padding: 25px;
    }

    .differential-number {
        font-size: 2rem;
    }

    .team-image {
        height: 220px;
    }

    .team-info {
        padding: 20px;
    }

    .certification-card {
        padding: 25px 15px;
    }

    .certification-card i {
        font-size: 2.5rem;
    }

    .reason-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .reason-card {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .about-hero h1 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .experience-badge {
        position: static;
        margin: 20px auto 0;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: -1px !important;
    }

    .differential-card {
        padding: 20px;
    }

    .values-list li {
        font-size: 0.95rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .about-hero {
        background: var(--primary-color) !important;
        padding: 40px 0;
    }

    .experience-badge,
    .team-overlay,
    .team-social {
        display: none !important;
    }

    .timeline::before {
        display: none;
    }

    .timeline-marker {
        position: static;
        display: inline-block;
        margin-right: 10px;
    }

    .timeline-item {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
        page-break-inside: avoid;
    }

    .team-card,
    .mvv-card,
    .differential-card {
        page-break-inside: avoid;
    }
}

/* patch footer logo and top contact icons */
.footer-logo, .footer img{max-height:72px;width:auto;display:block}
.top-bar .contact-info i{margin-right:6px}
.top-bar .contact-info a{white-space:nowrap}
