/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb-section {
    padding: 12px 0 10px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #666666;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item:not(.active):hover {
    color: #c8102e;
}

.breadcrumb-item:not(.active):hover i {
    transform: scale(1.1);
}

.breadcrumb-item.active {
    color: #333333;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-item i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.breadcrumb-separator {
    color: #cccccc;
    user-select: none;
    font-weight: 400;
}

/* ============================================
   HERO DA PÁGINA
   ============================================ */

.history-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    padding: 80px 0 60px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.history-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    opacity: 0.5;
    pointer-events: none;
}

.history-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.history-hero-title {
    font-family: "Poppins", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.history-hero-subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: #e0e0e0;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   SEÇÃO WINSTON CHURCHILL
   ============================================ */

.churchill-biography {
    padding: 80px 0;
    background: #ffffff;
}

.churchill-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.churchill-image {
    position: sticky;
    top: 100px;
}

.churchill-image .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.churchill-image .image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 4px solid var(--primary-color);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.churchill-image .image-wrapper:hover::after {
    opacity: 1;
}

.churchill-image img {
    width: 100%;
    height: auto;
    display: block;
}

.churchill-image .image-caption {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-left: 4px solid var(--primary-color);
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.churchill-text {
    font-family: "Open Sans", sans-serif;
}

.churchill-text .lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
}

.churchill-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.churchill-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.churchill-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.highlight-item span {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

/* Citação de Churchill */
.churchill-quote-highlight {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.churchill-quote-highlight::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(200, 16, 46, 0.2) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.churchill-quote-highlight .quote-icon {
    position: absolute;
    top: 1px;
    left: 70px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.churchill-quote-highlight blockquote {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
}

.churchill-quote-highlight .quote-text {
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: #ffffff;
    margin: 0 0 20px;
    text-align: center;
}

.churchill-quote-highlight .quote-author {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* ============================================
   HISTÓRIA DO EDIFÍCIO
   ============================================ */

.building-history {
    padding: 80px 0;
    background: #f8f8f8;
}

.building-story {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.story-content .lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
}

.story-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.story-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.story-image .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

.story-image .image-caption {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-left: 4px solid var(--primary-color);
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* ============================================
   SEÇÃO DO ARQUITETO
   ============================================ */

.architect-section {
    padding: 80px 0;
    background: #ffffff;
}

.architect-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.architect-text h3 {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 25px;
}

.architect-text .lead-text {
    font-size: 1.15rem;
    font-weight: 400;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
}

.architect-text p {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.architect-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.architect-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.highlight-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.highlight-box:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.highlight-box strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.highlight-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.architect-image .image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.architect-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   DADOS TÉCNICOS
   ============================================ */

.technical-data {
    padding: 80px 0;
    background: #f8f8f8;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.technical-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.technical-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

/* Bordas coloridas no hover */
.technical-card:nth-child(1):hover {
    border-color: #c8102e;
}

.technical-card:nth-child(2):hover {
    border-color: #457b9d;
}

.technical-card:nth-child(3):hover {
    border-color: #2e7d32;
}

.technical-card:nth-child(4):hover {
    border-color: #e65100;
}

.technical-card:nth-child(5):hover {
    border-color: #6a1b9a;
}

.technical-card:nth-child(6):hover {
    border-color: #0277bd;
}

.technical-card:nth-child(7):hover {
    border-color: #c8102e;
}

.technical-card:nth-child(8):hover {
    border-color: #457b9d;
}

.tech-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.technical-card:hover .tech-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.tech-icon i {
    font-size: 2rem;
    color: #ffffff;
}

/* Cores individuais para cada tipo de dado técnico */
.technical-card:nth-child(1) .tech-icon {
    background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
}

.technical-card:nth-child(2) .tech-icon {
    background: linear-gradient(135deg, #457b9d 0%, #3a6680 100%);
}

.technical-card:nth-child(3) .tech-icon {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.technical-card:nth-child(4) .tech-icon {
    background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
}

.technical-card:nth-child(5) .tech-icon {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
}

.technical-card:nth-child(6) .tech-icon {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
}

.technical-card:nth-child(7) .tech-icon {
    background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
}

.technical-card:nth-child(8) .tech-icon {
    background: linear-gradient(135deg, #457b9d 0%, #3a6680 100%);
}

.tech-value {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tech-label {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.tech-description {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Características Adicionais */
.additional-features {
    margin-top: 80px;
    padding: 50px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.additional-features h3 {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0 0 50px;
    display: inline-block;
    width: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.features-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-column h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-column h4 i {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.feature-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-column li {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    padding-left: 25px;
    position: relative;
}

.feature-column li:last-child {
    border-bottom: none;
}

.feature-column li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ============================================
   TIMELINE - DESIGN MODERNO E LIMPO
   ============================================ */

.timeline-section {
    padding: 80px 0;
    background: #ffffff;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 60px 20px;
}

/* Linha vertical central colorida */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        to bottom,
        #c8102e 0%,
        #457b9d 25%,
        #2e7d32 50%,
        #e65100 75%,
        #6a1b9a 100%
    );
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(200, 16, 46, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Items ímpares - card à esquerda, ano à direita */
.timeline-item:nth-child(odd) {
    grid-template-areas: "content year";
}

/* Items pares - ano à esquerda, card à direita */
.timeline-item:nth-child(even) {
    grid-template-areas: "year content";
}

/* Wrapper do conteúdo */
.timeline-item-wrapper {
    display: contents;
}

/* Marcador central - oculto, substituído pelo ano */
.timeline-marker {
    display: none;
}

/* Ano em círculo grande no centro */
.timeline-year {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    z-index: 10;
    border: 5px solid #ffffff;
}

/* Cores alternadas para cada ano */
.timeline-item:nth-child(1) .timeline-year {
    background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
}

.timeline-item:nth-child(2) .timeline-year {
    background: linear-gradient(135deg, #457b9d 0%, #3a6680 100%);
}

.timeline-item:nth-child(3) .timeline-year {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.timeline-item:nth-child(4) .timeline-year {
    background: linear-gradient(135deg, #e65100 0%, #bf360c 100%);
}

.timeline-item:nth-child(5) .timeline-year {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
}

.timeline-item:nth-child(6) .timeline-year {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
}

.timeline-item:hover .timeline-year {
    transform: translate(-50%, -50%) scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Hover padronizado - aplica efeito no card quando passa mouse na bolinha ou no card */
.timeline-item:nth-child(1):hover .timeline-content {
    border-color: #c8102e;
    box-shadow: 0 12px 35px rgba(200, 16, 46, 0.2);
    transform: translateY(-8px);
}

.timeline-item:nth-child(1):hover .timeline-content::after {
    background: #c8102e;
}

.timeline-item:nth-child(2):hover .timeline-content {
    border-color: #457b9d;
    box-shadow: 0 12px 35px rgba(69, 123, 157, 0.2);
    transform: translateY(-8px);
}

.timeline-item:nth-child(2):hover .timeline-content::after {
    background: #457b9d;
}

.timeline-item:nth-child(3):hover .timeline-content {
    border-color: #2e7d32;
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.2);
    transform: translateY(-8px);
}

.timeline-item:nth-child(3):hover .timeline-content::after {
    background: #2e7d32;
}

.timeline-item:nth-child(4):hover .timeline-content {
    border-color: #e65100;
    box-shadow: 0 12px 35px rgba(230, 81, 0, 0.2);
    transform: translateY(-8px);
}

.timeline-item:nth-child(4):hover .timeline-content::after {
    background: #e65100;
}

.timeline-item:nth-child(5):hover .timeline-content {
    border-color: #6a1b9a;
    box-shadow: 0 12px 35px rgba(106, 27, 154, 0.2);
    transform: translateY(-8px);
}

.timeline-item:nth-child(5):hover .timeline-content::after {
    background: #6a1b9a;
}

.timeline-item:nth-child(6):hover .timeline-content {
    border-color: #0277bd;
    box-shadow: 0 12px 35px rgba(2, 119, 189, 0.2);
    transform: translateY(-8px);
}

.timeline-item:nth-child(6):hover .timeline-content::after {
    background: #0277bd;
}

/* Card de conteúdo */
.timeline-content {
    grid-area: content;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #e8e8e8;
    transition: all 0.4s ease;
    position: relative;
    z-index: 5;
}

/* Conector do card ao círculo - ímpares (esquerda) */
.timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    right: -33px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 3px;
    background: #e8e8e8;
    transition: all 0.3s ease;
}

/* Conector do card ao círculo - pares (direita) */
.timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 3px;
    background: #e8e8e8;
    transition: all 0.3s ease;
}

.timeline-content h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 18px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Títulos com cores correspondentes no hover */
.timeline-item:nth-child(1):hover .timeline-content h4 {
    color: #c8102e;
}
.timeline-item:nth-child(2):hover .timeline-content h4 {
    color: #457b9d;
}
.timeline-item:nth-child(3):hover .timeline-content h4 {
    color: #2e7d32;
}
.timeline-item:nth-child(4):hover .timeline-content h4 {
    color: #e65100;
}
.timeline-item:nth-child(5):hover .timeline-content h4 {
    color: #6a1b9a;
}
.timeline-item:nth-child(6):hover .timeline-content h4 {
    color: #0277bd;
}

.timeline-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666666;
    margin: 0;
}

/* ============================================
   CTA FINAL
   ============================================ */

.history-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.history-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(200, 16, 46, 0.15) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
}

.cta-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   UTILIDADES
   ============================================ */

.section-header.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: auto;
}

.history-page .section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    left: 50%;
    transition: none;
    border-radius: 2px;
}

.history-page .section-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

@keyframes underlineGrow {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

/* Manter .title-underline para compatibilidade (caso ainda seja usado) */
.title-underline {
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #a00d26);
    margin: 20px auto 30px;
    border-radius: 2px;
    transition: width 0.8s ease;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.title-underline.title-visible {
    width: 100px;
}

/* Animações de fade-in */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
    .technical-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .history-hero-title {
        font-size: 2.5rem;
    }

    .history-hero-subtitle {
        font-size: 1.1rem;
    }

    .churchill-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .churchill-image {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .churchill-highlights {
        grid-template-columns: 1fr;
    }

    .building-story {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        order: -1;
    }

    .architect-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .technical-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Timeline responsiva - tablet */
    .timeline {
        padding: 40px 10px;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
        padding-left: 100px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        grid-template-areas: "content";
    }

    .timeline-year {
        left: 30px;
        transform: translate(-50%, -50%);
        width: 90px;
        height: 90px;
        font-size: 1.1rem;
        z-index: 10;
    }

    .timeline-item:hover .timeline-year {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .timeline-content::after {
        display: none;
    }

    .timeline-content {
        padding: 25px;
        z-index: 5;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .breadcrumb-section {
        padding: 16px 0;
    }

    .breadcrumb {
        font-size: 0.8125rem;
        gap: 10px;
    }

    .breadcrumb-item {
        gap: 6px;
    }

    .breadcrumb-item i {
        font-size: 0.6875rem;
    }

    .breadcrumb-separator {
        font-size: 0.75rem;
    }

    .history-hero {
        padding: 60px 0 40px;
    }

    .history-hero-title {
        font-size: 2rem;
    }

    .history-hero-subtitle {
        font-size: 1rem;
    }

    .churchill-biography,
    .building-history,
    .architect-section,
    .technical-data,
    .timeline-section,
    .history-cta {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .churchill-quote-highlight {
        padding: 30px 20px;
    }

    .churchill-quote-highlight .quote-icon {
        font-size: 2.5rem;
        top: 10px;
        left: 30px; /* desloca também em telas pequenas */
        z-index: 3;
    }

    .churchill-quote-highlight .quote-text {
        font-size: 1.15rem;
    }

    .technical-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .additional-features {
        padding: 30px 20px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-year {
        font-size: 1rem;
        padding: 6px 15px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .cta-buttons .btn:not(:last-child) {
        margin-bottom: 8px;
    }
}

/* Mobile pequeno (< 480px) */
@media (max-width: 480px) {
    .history-hero-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }

    .history-hero-subtitle br {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .churchill-text .lead-text,
    .story-content .lead-text,
    .architect-text .lead-text {
        font-size: 1rem;
    }

    .tech-value {
        font-size: 2rem;
    }

    .tech-label {
        font-size: 1rem;
    }

    /* Timeline mobile pequeno */
    .timeline {
        padding: 30px 5px;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        padding-left: 90px;
        margin-bottom: 50px;
    }

    .timeline-year {
        left: 35px;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        font-size: 0.95rem;
        border-width: 3px;
        z-index: 10;
    }

    .timeline-item:hover .timeline-year {
        transform: translate(-50%, -50%) scale(1.05);
    }

    .timeline-content {
        padding: 20px;
        z-index: 5;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .churchill-quote-highlight .quote-icon {
        font-size: 22px;
        top: 8px;
        left: 20px; /* ajuste para mobile pequeno */
        z-index: 3;
    }
}
