/*
 * CSS Categorie Tourisme & Restauration
 * Croq-restaurants.fr - 2026
 * Couleurs: #2c2c54 (nuit), #ff6348 (braise), #ecf0f1 (vapeur)
 */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

img, video, iframe, svg, canvas {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   HERO CATEGORIE
   ============================================================ */

.cat-hero {
    background-color: #2c2c54;
    color: #ecf0f1;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 100%;
    overflow: hidden;
}

.cat-hero__inner {
    flex: 1;
    min-width: 0;
    max-width: 580px;
    padding: 0 32px 0 48px;
}

.cat-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #3a3a6e;
    color: #ff6348;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid #ff6348;
}

.cat-hero__title {
    color: #ecf0f1;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px 0;
    overflow-wrap: break-word;
}

.cat-hero__subtitle {
    color: #b8bfd4;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 36px 0;
    overflow-wrap: break-word;
}

.cat-hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cat-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cat-hero__stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #ff6348;
    line-height: 1;
}

.cat-hero__stat-label {
    font-size: 12px;
    color: #8a8fb5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cat-hero__stat-sep {
    width: 1px;
    height: 36px;
    background-color: #3a3a6e;
    flex-shrink: 0;
}

.cat-hero__visual {
    flex-shrink: 0;
    padding-right: 48px;
}

.cat-hero__visual img {
    width: 480px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

/* ============================================================
   DISCLAIMER BLOG
   ============================================================ */

.blog-disclaimer {
    background-color: #fff8f6;
    border-left: 4px solid #ff6348;
    border-radius: 0 8px 8px 0;
    padding: 14px 20px;
    margin: 28px auto;
    max-width: 1100px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow-wrap: break-word;
}

.blog-disclaimer svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.blog-disclaimer p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */

.timeline-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px;
}

.timeline-section__header {
    text-align: center;
    margin-bottom: 52px;
}

.timeline-section__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #2c2c54;
    margin: 0 0 12px 0;
}

.timeline-section__desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* TIMELINE CONTAINER */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e4f0;
    transform: translateX(-50%);
}

/* TIMELINE ITEM */
.timeline__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
    min-width: 0;
}

.timeline__item--left {
    flex-direction: row;
    justify-content: flex-start;
}

.timeline__item--right {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

/* CONNECTOR / DOT */
.timeline__connector {
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.timeline__dot {
    width: 28px;
    height: 28px;
    background-color: #fff;
    border: 3px solid #ff6348;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.25s, transform 0.25s;
}

.timeline__item:hover .timeline__dot {
    background-color: #ff6348;
    transform: scale(1.15);
}

.timeline__item:hover .timeline__dot svg {
    fill: #fff;
}

.timeline__line {
    display: none;
}

/* CARD */
.timeline__card {
    width: calc(50% - 40px);
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(44, 44, 84, 0.10);
    overflow: hidden;
    border: 1px solid #eceef6;
    transition: box-shadow 0.25s, transform 0.25s;
    min-width: 0;
}

.timeline__item:hover .timeline__card {
    box-shadow: 0 8px 32px rgba(255, 99, 72, 0.15);
    transform: translateY(-3px);
}

.timeline__item--left .timeline__card {
    margin-right: auto;
}

.timeline__item--right .timeline__card {
    margin-left: auto;
}

.timeline__card-img-wrap {
    overflow: hidden;
    height: 200px;
}

.timeline__card-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.timeline__item:hover .timeline__card-img-wrap img {
    transform: scale(1.04);
}

.timeline__card-body {
    padding: 20px 22px 22px;
}

.timeline__card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}

.timeline__card-date svg {
    flex-shrink: 0;
}

.timeline__card-title {
    font-size: 17px;
    font-weight: 700;
    color: #2c2c54;
    margin: 0 0 10px 0;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.timeline__card-title a {
    color: #2c2c54;
    text-decoration: none;
    transition: color 0.2s;
}

.timeline__card-title a:hover,
.timeline__card-title a:focus {
    color: #ff6348;
    text-decoration: underline;
}

.timeline__card-title a:focus-visible {
    outline: 2px solid #ff6348;
    outline-offset: 2px;
    border-radius: 2px;
}

.timeline__card-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px 0;
    overflow-wrap: break-word;
}

.timeline__card-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #ff6348;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background-color: #fff4f2;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid #ffd5cc;
}

/* EMPTY STATE */
.timeline-empty {
    text-align: center;
    padding: 80px 24px;
}

.timeline-empty__text {
    font-size: 16px;
    color: #888;
    margin-top: 20px;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   CALCULATEUR BUDGET REPAS VOYAGE
   ============================================================ */

.savings-section {
    background-color: #2c2c54;
    padding: 64px 24px;
}

.savings-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.savings-section__header {
    text-align: center;
    margin-bottom: 40px;
}

.savings-section__icon {
    margin-bottom: 16px;
}

.savings-section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #ecf0f1;
    margin: 0 0 12px 0;
    overflow-wrap: break-word;
}

.savings-section__intro {
    font-size: 15px;
    color: #8a8fb5;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* FORM + RESULTS */
.savings-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    min-width: 0;
}

.savings-calc__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.savings-calc__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.savings-calc__label {
    font-size: 13px;
    font-weight: 600;
    color: #b8bfd4;
    letter-spacing: 0.03em;
}

.savings-calc__input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: #3a3a6e;
    border-radius: 8px;
    border: 1px solid #4a4a82;
    overflow: hidden;
    min-width: 0;
}

.savings-calc__btn-step {
    background-color: transparent;
    border: none;
    color: #ecf0f1;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}

.savings-calc__btn-step:hover,
.savings-calc__btn-step:focus-visible {
    background-color: #ff6348;
    color: #fff;
    outline: none;
}

.savings-calc__btn-step:focus-visible {
    outline: 2px solid #ff6348;
    outline-offset: 0;
}

.savings-calc__input {
    flex: 1;
    min-width: 0;
    background-color: transparent;
    border: none;
    color: #ecf0f1;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 0;
    height: 44px;
    outline: none;
    -moz-appearance: textfield;
}

.savings-calc__input::-webkit-outer-spin-button,
.savings-calc__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* RESULTS */
.savings-calc__results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.savings-calc__result-card {
    background-color: #3a3a6e;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    border: 1px solid #4a4a82;
}

.savings-calc__result-card--main {
    background-color: #ff6348;
    border-color: #ff6348;
}

.savings-calc__result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    min-width: 0;
}

.savings-calc__result-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow-wrap: break-word;
}

.savings-calc__result-card:not(.savings-calc__result-card--main) .savings-calc__result-label {
    color: #8a8fb5;
}

.savings-calc__result-val {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.savings-calc__result-val--sm {
    font-size: 20px;
}

.savings-calc__result-card:not(.savings-calc__result-card--main) .savings-calc__result-val {
    color: #ecf0f1;
}

.savings-calc__result-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.savings-calc__disclaimer {
    font-size: 12px;
    color: #6a6f99;
    line-height: 1.5;
    margin: 0;
    border-top: 1px solid #3a3a6e;
    padding-top: 12px;
    overflow-wrap: break-word;
}

/* ============================================================
   TABLEAU COMPARATIF DESTINATIONS
   ============================================================ */

.compare-section {
    background-color: #ecf0f1;
    padding: 64px 24px;
}

.compare-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.compare-section__title {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: #2c2c54;
    margin: 0 0 12px 0;
    overflow-wrap: break-word;
}

.compare-section__intro {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 28px 0;
    overflow-wrap: break-word;
}

.table-responsive-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44, 44, 84, 0.08);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 14px;
    min-width: 540px;
}

.compare-table__caption {
    text-align: left;
    font-size: 12px;
    color: #888;
    padding: 0 0 10px 0;
    caption-side: bottom;
}

.compare-table thead {
    background-color: #2c2c54;
}

.compare-table thead th {
    color: #ecf0f1;
    font-weight: 700;
    font-size: 13px;
    text-align: left;
    padding: 14px 18px;
    white-space: nowrap;
}

.compare-table tbody tr {
    border-bottom: 1px solid #eceef6;
    transition: background-color 0.2s;
}

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

.compare-table tbody tr:hover {
    background-color: #fff8f6;
}

.compare-table tbody td {
    padding: 14px 18px;
    color: #333;
    overflow-wrap: break-word;
}

.compare-table tbody td strong {
    color: #2c2c54;
}

.compare-section__note {
    font-size: 12px;
    color: #888;
    margin-top: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

/* ============================================================
   THEMES SECTION
   ============================================================ */

.themes-section {
    background-color: #fff;
    padding: 64px 24px;
}

.themes-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.themes-section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #2c2c54;
    margin: 0 0 40px 0;
    text-align: center;
    overflow-wrap: break-word;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.theme-card {
    background-color: #f7f8fc;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #eceef6;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
    min-width: 0;
}

.theme-card:hover {
    box-shadow: 0 6px 24px rgba(255, 99, 72, 0.12);
    transform: translateY(-4px);
    border-color: #ff6348;
}

.theme-card__icon {
    margin-bottom: 16px;
}

.theme-card h3.theme-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #2c2c54;
    margin: 0 0 10px 0;
    overflow-wrap: break-word;
}

.theme-card__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    overflow-wrap: break-word;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .cat-hero {
        gap: 32px;
        padding: 48px 0;
    }

    .cat-hero__inner {
        padding: 0 24px 0 32px;
        max-width: 500px;
    }

    .cat-hero__visual {
        padding-right: 32px;
    }

    .cat-hero__visual img {
        width: 380px;
    }

    .savings-calc {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .savings-calc__result-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .savings-calc__result-val {
        font-size: 26px;
    }

    .timeline__card {
        width: calc(50% - 32px);
    }

    .themes-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }

    .timeline-section {
        padding: 40px 20px;
    }

    .compare-section {
        padding: 48px 20px;
    }

    .themes-section {
        padding: 48px 20px;
    }

    .savings-section {
        padding: 48px 20px;
    }
}

@media (max-width: 768px) {
    .cat-hero {
        flex-direction: column;
        gap: 24px;
        padding: 40px 0 32px;
        align-items: stretch;
    }

    .cat-hero__inner {
        padding: 0 20px;
        max-width: 100%;
    }

    .cat-hero__visual {
        padding: 0 20px;
        text-align: center;
    }

    .cat-hero__visual img {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .cat-hero__stats {
        gap: 16px;
    }

    .cat-hero__stat-num {
        font-size: 22px;
    }

    .cat-hero__stat-sep {
        height: 28px;
    }

    .blog-disclaimer {
        margin: 20px 16px;
        padding: 12px 16px;
        gap: 10px;
    }

    .timeline-section {
        padding: 32px 16px;
    }

    .timeline-section__header {
        margin-bottom: 36px;
    }

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

    .timeline__item {
        flex-direction: column;
        margin-bottom: 32px;
        padding-left: 48px;
    }

    .timeline__item--left {
        flex-direction: column;
        justify-content: flex-start;
    }

    .timeline__item--right {
        flex-direction: column;
        justify-content: flex-start;
    }

    .timeline__connector {
        left: 16px;
        top: 0;
        transform: translateX(-50%);
    }

    .timeline__card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .timeline__item--left .timeline__card {
        margin-right: 0;
    }

    .timeline__item--right .timeline__card {
        margin-left: 0;
    }

    .timeline__card-img-wrap {
        height: 180px;
    }

    .timeline__card-img-wrap img {
        height: 180px;
    }

    .savings-section {
        padding: 40px 16px;
    }

    .savings-calc {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .savings-calc__result-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .savings-calc__result-val {
        font-size: 22px;
    }

    .savings-calc__result-val--sm {
        font-size: 17px;
    }

    .savings-calc__result-card {
        padding: 16px;
    }

    .compare-section {
        padding: 40px 16px;
    }

    .themes-section {
        padding: 40px 16px;
    }

    .themes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .theme-card {
        padding: 20px 18px;
    }

    .savings-section__title {
        font-size: 22px;
    }

    .compare-section__title {
        font-size: 20px;
    }

    .themes-section__title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .timeline-section__title {
        font-size: 22px;
    }

    .savings-calc__form {
        gap: 16px;
    }

    .savings-calc__results {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .cat-hero {
        padding: 28px 0 24px;
        gap: 20px;
    }

    .cat-hero__inner {
        padding: 0 16px;
    }

    .cat-hero__badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .cat-hero__subtitle {
        font-size: 14px;
    }

    .cat-hero__stats {
        gap: 12px;
    }

    .cat-hero__stat-num {
        font-size: 20px;
    }

    .cat-hero__stat-label {
        font-size: 11px;
    }

    .cat-hero__stat-sep {
        height: 24px;
    }

    .cat-hero__visual {
        padding: 0 16px;
    }

    .blog-disclaimer {
        margin: 16px 12px;
        padding: 10px 14px;
        gap: 8px;
    }

    .blog-disclaimer p {
        font-size: 12px;
    }

    .timeline-section {
        padding: 24px 12px;
    }

    .timeline-section__header {
        margin-bottom: 28px;
    }

    .timeline-section__desc {
        font-size: 14px;
    }

    .timeline__item {
        padding-left: 40px;
        margin-bottom: 24px;
    }

    .timeline__connector {
        left: 14px;
    }

    .timeline__dot {
        width: 22px;
        height: 22px;
    }

    .timeline__card-img-wrap {
        height: 150px;
    }

    .timeline__card-img-wrap img {
        height: 150px;
    }

    .timeline__card-body {
        padding: 16px 16px 18px;
    }

    .timeline__card-title {
        font-size: 15px;
    }

    .timeline__card-desc {
        font-size: 13px;
    }

    .savings-section {
        padding: 28px 12px;
    }

    .savings-section__title {
        font-size: 18px;
    }

    .savings-section__intro {
        font-size: 13px;
    }

    .savings-calc {
        gap: 20px;
    }

    .savings-calc__result-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .savings-calc__result-val {
        font-size: 28px;
    }

    .savings-calc__result-val--sm {
        font-size: 20px;
    }

    .savings-calc__result-card {
        padding: 14px;
    }

    .savings-calc__btn-step {
        width: 40px;
        height: 40px;
    }

    .savings-calc__input {
        height: 40px;
        font-size: 16px;
    }

    .compare-section {
        padding: 28px 12px;
    }

    .compare-section__title {
        font-size: 18px;
    }

    .compare-section__intro {
        font-size: 13px;
    }

    .compare-table thead th {
        font-size: 12px;
        padding: 12px 12px;
    }

    .compare-table tbody td {
        padding: 12px 12px;
        font-size: 13px;
    }

    .themes-section {
        padding: 28px 12px;
    }

    .themes-section__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .themes-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .theme-card {
        padding: 18px 16px;
    }

    .theme-card h3.theme-card__title {
        font-size: 15px;
    }

    .theme-card__desc {
        font-size: 13px;
    }

    .savings-calc__label {
        font-size: 12px;
    }

    .savings-calc__result-label {
        font-size: 11px;
    }

    .savings-calc__result-note {
        font-size: 11px;
    }

    .savings-calc__disclaimer {
        font-size: 11px;
    }

    .timeline-empty {
        padding: 48px 16px;
    }

    .timeline-empty__text {
        font-size: 14px;
    }
}