/*
 * jumbopneus-94.com, on top of Bootstrap 5.3. Colours, images and font of the legacy site
 * (app-legacy/public/assets/css/style.css), in a cleaner layout.
 */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../vendor/lato/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../vendor/lato/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("../vendor/lato/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../vendor/lato/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 700; font-display: swap; src: url("../vendor/lato/lato-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../vendor/lato/lato-latin-900-normal.woff2") format("woff2"); }

:root {
    --jp-green: #053921;
    --jp-green-2: #0b4d2d;
    --jp-yellow: #f6b404;
    --jp-yellow-light: #fad268;
    --jp-navy: #142032;
    --jp-red: #e30613;
    --jp-red-accent: #cd1821;
    --jp-black: #000;
    --jp-dark: #1d1d1b;
    --jp-bg: #f1f1f1;
    --jp-card: #fff;
    --jp-border: #dfe1e3;
    --jp-text: #3a3a3a;
    --jp-radius: .75rem;
    --jp-shadow: 0 .25rem 1.25rem rgba(5, 57, 33, .08);

    --bs-body-font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-bg: var(--jp-bg);
    --bs-body-color: var(--jp-text);
    --bs-link-color-rgb: 11, 102, 58;
    --bs-link-hover-color-rgb: 5, 57, 33;
    --bs-border-radius: .5rem;
}

body { font-size: .95rem; line-height: 1.6; }
a { text-underline-offset: .15em; }
.skip-link { position: absolute; z-index: 2000; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--jp-yellow); color: var(--jp-green); font-weight: 700; }

/* Legacy utility classes still used by the page content. */
.bold { font-weight: 700; }
.italic { font-style: italic; }
.tcenter { text-align: center; }
.maj { text-transform: uppercase; }
.color--01 { color: #fff; }
.color--02 { color: var(--jp-navy); }
.color--03 { color: var(--jp-green); }
.color--04 { color: var(--jp-dark); }
.color--05 { color: var(--jp-yellow); }
.color--06 { color: #fefefe; }
.size--15 { font-size: .95rem; }
.size--16 { font-size: 1rem; }
.size--18 { font-size: 1.125rem; }
.size--19 { font-size: 1.2rem; }
.size--20 { font-size: 1.25rem; }
.margin-top-xs { margin-top: .5rem; }

/* Buttons: the yellow two-tone legacy button, flattened into a modern one. */
.btn-jumbo {
    --bs-btn-color: var(--jp-green);
    --bs-btn-bg: var(--jp-yellow);
    --bs-btn-border-color: var(--jp-yellow);
    --bs-btn-hover-color: var(--jp-green);
    --bs-btn-hover-bg: var(--jp-yellow-light);
    --bs-btn-hover-border-color: var(--jp-yellow-light);
    --bs-btn-active-color: var(--jp-green);
    --bs-btn-active-bg: #e0a400;
    --bs-btn-active-border-color: #e0a400;
    --bs-btn-disabled-color: var(--jp-green);
    --bs-btn-disabled-bg: var(--jp-yellow);
    --bs-btn-disabled-border-color: var(--jp-yellow);
    --bs-btn-focus-shadow-rgb: 246, 180, 4;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, .28) 0 50%, transparent 50%);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-radius: 999px;
    padding: .55rem 1.5rem;
    box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .15);
}

/* Header ------------------------------------------------------------------------------------ */
.site-header { background: var(--jp-green); color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 120px; padding-block: .75rem; }
.site-header__address { flex: 1 1 0; font-weight: 700; font-size: .9rem; line-height: 1.35; }
.site-header__logo { flex: 0 0 auto; }
.site-header__logo img { display: block; height: auto; max-width: 230px; width: 100%; }
.site-header__actions { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.site-header__phone { color: #fff; font-weight: 700; font-size: 1.3rem; text-decoration: none; white-space: nowrap; }
.site-header__phone:hover { color: var(--jp-yellow); }
.site-header__phone i { margin-right: .35rem; }

@media (max-width: 767.98px) {
    .site-header__inner { min-height: 0; flex-wrap: wrap; justify-content: center; }
    .site-header__logo img { max-width: 190px; }
    .site-header__actions { display: none; }
}

/* Navigation --------------------------------------------------------------------------------- */
.site-nav { background: var(--jp-black); border-bottom: 1px solid rgba(255, 255, 255, .85); padding-block: 0; }
.site-nav .navbar-brand { font-size: .95rem; font-weight: 700; color: #fff; }
.site-nav .navbar-toggler { border-color: rgba(255, 255, 255, .3); margin-block: .5rem; }
.site-nav__list { width: 100%; }
.site-nav .nav-link { position: relative; color: #c8c8c8; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; text-align: center; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link.active { font-weight: 700; }
@media (min-width: 768px) {
    .site-nav__list { justify-content: space-around; }
    .site-nav .nav-item { flex: 1 1 0; }
    .site-nav .nav-link { padding-block: 1rem; }
    .site-nav .nav-link::before, .site-nav .nav-link::after {
        content: ""; position: absolute; left: 50%; width: 0; height: 4px; transform: translateX(-50%); transition: width .2s ease;
    }
    .site-nav .nav-link::before { top: 0; background: var(--jp-red-accent); }
    .site-nav .nav-link::after { bottom: -1px; background: var(--jp-yellow); }
    .site-nav .nav-link.active::after, .site-nav .nav-link:hover::after { width: 46px; }
}
@media (max-width: 767.98px) {
    .site-nav .nav-link { text-align: left; padding-block: .6rem; border-top: 1px solid rgba(255, 255, 255, .08); }
    .site-nav .nav-link.active { color: var(--jp-yellow); }
}

/* Hero ----------------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; min-height: 300px; display: flex; align-items: center; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { z-index: -1; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__content { padding-block: 2rem; }
.hero__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem); font-weight: 700; font-style: italic; line-height: 1.2; margin-bottom: .75rem; }
.hero__address { font-weight: 700; font-size: 1.1rem; line-height: 1.35; margin-bottom: .5rem; }
.hero__address a { color: inherit; text-decoration: none; }
.hero__tagline { font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.35rem); line-height: 1.15; margin-bottom: 0; }

.hero--dark { background: #111; color: #fff; }
.hero--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .1) 100%); }
.hero--dark .hero__title { text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.hero--dark .hero__tagline { color: var(--jp-yellow); }

.hero--light { background: #fff; color: var(--jp-navy); }
.hero--light .hero__slide { background-size: auto 100%; background-position: right top; background-repeat: no-repeat; }
.hero--light .hero__tagline { color: var(--jp-green); }
@media (max-width: 991.98px) {
    .hero--light .hero__slide { opacity: 0 !important; }
    .hero--light { background: linear-gradient(180deg, #fff, #f6f7f6); border-bottom: 1px solid var(--jp-border); }
}
@media (max-width: 767.98px) {
    .hero { min-height: 0; text-align: center; }
    .hero__address { font-size: 1rem; }
}

/* Promotions band ----------------------------------------------------------------------------- */
.promotion { background: var(--jp-yellow); color: var(--jp-dark); padding-block: 1.25rem; }
.promotion__main { text-align: center; }
.promotion__title { font-size: 1.75rem; font-weight: 700; margin-bottom: .4rem; }
.promotion__title span { color: var(--jp-red); }
.promotion__offer { background: var(--jp-green); color: #fff; border: 2px solid #fefefe; border-radius: var(--jp-radius); padding: 1rem; text-align: center; box-shadow: var(--jp-shadow); }
.promotion__offer-title { font-size: 1.2rem; font-weight: 700; margin-bottom: .35rem; }
.promotion__offer-note { font-style: italic; font-size: .9rem; margin-bottom: 0; }

/* Breadcrumb and sharing ------------------------------------------------------------------------ */
.toolbar { padding-top: 1.25rem; }
.toolbar .breadcrumb { background: #fff; border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; box-shadow: var(--jp-shadow); display: inline-flex; flex-wrap: wrap; }
.toolbar .breadcrumb a { text-decoration: none; }
.share-label { color: #8a8d8f; margin-right: .5rem; vertical-align: middle; }
.share-list { display: inline-flex; gap: .4rem; vertical-align: middle; }
.share-list .list-inline-item { margin: 0; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #fff; text-decoration: none; transition: transform .15s ease, filter .15s ease; }
.share-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.1); }
.share-btn--facebook { background: #4267b2; }
.share-btn--x { background: #111; }
.share-btn--pinterest { background: #e60023; }
.share-btn--linkedin { background: #0a66c2; }

/* Content --------------------------------------------------------------------------------------- */
.content { padding-block: 1.5rem 2.5rem; }
.introduction, .content__item {
    background: var(--jp-card);
    border: 1px solid var(--jp-border);
    border-radius: var(--jp-radius);
    box-shadow: var(--jp-shadow);
    margin-bottom: 1.5rem;
}
.introduction { padding: 1.5rem 1.75rem .5rem; border-top: 4px solid var(--jp-yellow); }
.introduction .row { margin: 0; }
.introduction .row > * { padding: 0; }
.introduction p { text-align: justify; }
.title__intro { margin-bottom: 1rem; }
.content__item { padding: 1.75rem 1.75rem .75rem; }
.content__item p { text-align: justify; }
.title__page { position: relative; padding-bottom: .75rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--jp-border); }
.title__page::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 3px; background: var(--jp-yellow); border-radius: 2px; }
.article__list { list-style: none; padding-left: 0; margin-bottom: 1.25rem; }
.article__list > li { position: relative; padding-left: 1.5rem; margin-bottom: .3rem; }
.article__list > li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border: 2px solid var(--jp-green); border-radius: 50%; }
.brand-logos { margin-bottom: 1.25rem; }
.brand-logos a { display: flex; align-items: center; justify-content: center; height: 64px; padding: .5rem; background: #fff; border: 1px solid var(--jp-border); border-radius: .5rem; transition: box-shadow .15s ease, transform .15s ease; }
.brand-logos a:hover { box-shadow: var(--jp-shadow); transform: translateY(-2px); }
.brand-logos img { max-width: 100%; max-height: 40px; height: auto; }
.brand-names { font-size: .85rem; }
.brand-names > li { margin-bottom: .2rem; }
.brand-names a { text-decoration: none; }
.brand-names a:hover { text-decoration: underline; }
.brand-logo { max-width: 180px; height: auto; }
.map-embed { border-radius: .5rem; overflow: hidden; margin-bottom: 1rem; }
.map-embed iframe { border: 0; }

.content__incitative { background: #ccc url("/images/content__incitative.jpg") left center / cover no-repeat; min-height: 160px; border-radius: var(--jp-radius); display: flex; align-items: center; justify-content: flex-end; overflow: hidden; margin-bottom: 1.5rem; }
.content__incitative--inside { width: 55%; padding: 1.5rem 1.5rem 1.5rem 0; line-height: 1.5; color: var(--jp-dark); }
.content__incitative--inside p { margin: 0; }
.content__incitative--inside a { color: inherit; text-decoration: none; white-space: nowrap; }
@media (max-width: 575.98px) {
    .content__incitative { background-size: auto 100%; justify-content: center; }
    .content__incitative--inside { width: 100%; padding: 1.25rem; margin-top: 90px; background: rgba(255, 255, 255, .92); }
}

table.table__tarifs { width: 100%; margin-bottom: 1.25rem; background: #fff; border-collapse: collapse; font-size: .85rem; }
table.table__tarifs td { border: 1px solid var(--jp-border); padding: .55rem .5rem; text-align: center; }
table.table__tarifs tr:first-child td { background: #f6f7f6; }
table.table__tarifs tr:nth-child(2) td { background: var(--jp-green); color: #fff; font-size: .8rem; }
table.table__tarifs tr:nth-child(n+3):hover td { background: #fff8e1; }

.accordion-jumbo { --bs-accordion-border-color: transparent; --bs-accordion-bg: transparent; --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(246, 180, 4, .35); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--jp-green); }
.accordion-jumbo .accordion-item.content__item { padding: 0; overflow: hidden; }
.accordion-jumbo .accordion-item:not(:first-of-type) { border-top: 1px solid var(--jp-border); }
.accordion-jumbo .accordion-button { font-weight: 700; color: var(--jp-green); font-size: 1.05rem; padding: 1.25rem 1.75rem; background: #fff; }
.accordion-jumbo .accordion-button:not(.collapsed) { box-shadow: inset 0 -1px 0 var(--jp-border); }
.accordion-jumbo .accordion-body { padding: 1.25rem 1.75rem .5rem; }
.accordion-jumbo .accordion-body img { max-width: 100%; height: auto; }

/* Sidebar ---------------------------------------------------------------------------------------- */
.aside-card { background: var(--jp-green); color: #fff; border-radius: var(--jp-radius); overflow: hidden; margin-bottom: 1.5rem; box-shadow: var(--jp-shadow); }
.aside-card__title { background: var(--jp-yellow); color: #fff; font-weight: 700; font-size: 1.25rem; padding: .85rem 1.25rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.aside-card__title i { margin-right: .5rem; }
.aside-card__title a { color: #fff; text-decoration: none; }
.aside-card__body { padding: 1.25rem; }
.aside-card__map { border-radius: .5rem; overflow: hidden; }
.aside-card__map iframe { border: 0; }
.aside-card__address { text-align: center; font-weight: 700; margin: 1rem 0 0; }
.worktime__lead { color: var(--jp-yellow); font-weight: 700; font-size: 1.25rem; margin-bottom: .75rem; }
.worktime__list { margin: 0; }
.worktime__list dt { font-weight: 400; font-size: 1.1rem; }
.worktime__list dd { margin: 0 0 .75rem 1rem; color: var(--jp-yellow); font-weight: 700; font-size: 1.1rem; }
.worktime__list dd span { color: #fff; font-weight: 400; font-size: .85rem; }

/* Forms ------------------------------------------------------------------------------------------ */
.form-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-compact .form-control { background: #e8e8e8; border-color: transparent; font-size: .9rem; }
.form-compact .form-control:focus { background: #fff; }
.form-compact .mb-3 { margin-bottom: .6rem !important; }
.aside .invalid-feedback { color: #ffb3b3; }
.form-note { font-size: .9rem; margin-top: .5rem; }
.form-message:empty { display: none; }
.form-message .alert { margin: 1rem 0 0; }
.form-message .alert h3 { font-size: 1rem; margin: 0; font-weight: 700; }

/* Footer ------------------------------------------------------------------------------------------ */
.site-footer { position: relative; isolation: isolate; color: #aaa; background: #242424 url("/images/design/bg-footer.png") center / cover no-repeat; padding-top: 3rem; font-size: .9rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(36, 36, 36, .96); }
.site-footer__title { color: #fff; font-size: 1rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1.5rem; position: relative; padding-bottom: .75rem; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: repeating-linear-gradient(90deg, var(--jp-yellow) 0 4px, transparent 4px 7px); }
.site-footer__subtitle { color: #fff; font-size: .95rem; margin-bottom: .2rem; }
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: var(--jp-yellow); }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: .55rem; }
.site-footer__links a::before { content: "\203A"; margin-right: .6rem; color: #777; }
.site-footer__social { display: flex; gap: .5rem; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border: 1px solid #555; border-radius: .4rem; }
.site-footer__social a:hover { border-color: var(--jp-yellow); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding: 1.5rem 0; text-align: center; font-size: .85rem; }
.site-footer__bottom a { color: var(--jp-yellow); text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
    .hero__slide, .share-btn, .brand-logos a, .site-nav .nav-link::after { transition: none; }
}

/* Phones: no forced line breaks in the hero, no justified text in narrow columns. */
@media (max-width: 575.98px) {
    .hero__title br { display: none; }
    .introduction p, .content__item p { text-align: left; }
    .introduction, .content__item { padding-inline: 1.15rem; }
    .accordion-jumbo .accordion-button, .accordion-jumbo .accordion-body { padding-inline: 1.15rem; }
    .toolbar .share-widget { margin-top: .25rem; }
}
