/* Home Page Styles - Occitanie Café */
/* Design with diagonal sections - Terracotta #b45309, Cream #fef3c7, Teal #0f766e */

/* Hero Diagonal Section */
.hero-diagonal {
    background-color: #0f766e;
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: -4rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: #b45309;
    color: #fef3c7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: #fef3c7;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    color: rgba(254, 243, 199, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: #b45309;
    color: #fef3c7;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, background-color 0.2s;
    border: 2px solid #b45309;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #92400e;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fef3c7;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #fef3c7;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(254, 243, 199, 0.1);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.hero-visual:hover {
    transform: rotate(0deg);
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Intro Section */
.intro-section {
    background-color: #fef3c7;
    padding: 8rem 0 4rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.section-title {
    color: #0f766e;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    color: #b45309;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 500;
}

.section-subtitle.centered {
    text-align: center;
}

.intro-text p {
    color: #451a03;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.intro-disclaimer {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background-color: rgba(180, 83, 9, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.5;
}

.intro-disclaimer svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background-color: #0f766e;
    color: #fef3c7;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #b45309;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #b45309;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Articles Section */
.articles-section {
    background-color: #fef3c7;
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #b45309;
    color: #fef3c7;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    color: #0f766e;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.article-title a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.article-title a:hover {
    color: #b45309;
}

.article-excerpt {
    color: #451a03;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.read-time {
    color: #b45309;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* UX Sections */
.ux-section {
    padding: 5rem 0;
    background-color: #fef3c7;
}

.ux-diagonal {
    background-color: #0f766e;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding: 6rem 0;
    margin: 2rem 0;
}

.ux-diagonal .section-title,
.ux-diagonal .section-subtitle {
    color: #fef3c7;
}

.ux-diagonal-alt {
    background-color: white;
    position: relative;
}

.ux-diagonal-alt::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background-color: #fef3c7;
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

.ux-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Calculator Widget */
.calculator-widget {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.calculator-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #0f766e;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: #b45309;
}

.btn-calculate {
    background-color: #b45309;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    height: fit-content;
}

.btn-calculate:hover {
    background-color: #92400e;
    transform: translateY(-2px);
}

.calculator-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.calculator-result h4 {
    color: #0f766e;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.route-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background-color: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid #b45309;
}

.timeline-item .time {
    font-weight: 700;
    color: #b45309;
}

.timeline-item .activity {
    font-weight: 600;
    color: #0f766e;
}

.timeline-item .location {
    color: #451a03;
    font-size: 0.9rem;
}

.route-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background-color: #0f766e;
    padding: 1.5rem;
    border-radius: 8px;
    color: #fef3c7;
}

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

.route-stat .label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.route-stat .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #b45309;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-size: 0.95rem;
}

.comparison-table th {
    background-color: #0f766e;
    color: #fef3c7;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #451a03;
}

.comparison-table tbody tr:hover {
    background-color: #fef3c7;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-high {
    background-color: #fee2e2;
    color: #991b1b;
}

.tag-medium {
    background-color: #fef3c7;
    color: #92400e;
}

/* Seasons Dashboard */
.seasons-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.season-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    border-top: 4px solid #b45309;
}

.season-card:hover {
    transform: translateY(-5px);
}

.season-icon {
    color: #b45309;
    margin-bottom: 1rem;
}

.season-name {
    color: #0f766e;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.season-months {
    color: #b45309;
    font-size: 0.875rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.season-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.season-highlights li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #451a03;
    border-bottom: 1px solid #f3f4f6;
}

.season-highlights li:last-child {
    border-bottom: none;
}

.season-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #b45309;
    border-radius: 50%;
}

.season-badge {
    display: inline-block;
    background-color: #0f766e;
    color: #fef3c7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    background-color: #fef3c7;
    padding: 4rem 0;
}

.newsletter-box {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.newsletter-content {
    padding: 3rem;
}

.newsletter-title {
    color: #0f766e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: #451a03;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-row .form-control {
    width: 100%;
}

.form-consent {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #451a03;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.2rem;
}

.newsletter-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-box {
        grid-template-columns: 1fr;
    }
    
    .newsletter-visual {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-diagonal {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding: 4rem 0 6rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .route-stats {
        grid-template-columns: 1fr;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .newsletter-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .seasons-dashboard {
        grid-template-columns: 1fr;
    }
}