@charset "UTF-8";

/* ==========================================================================
   Style  : TVL Morbihan
   ========================================================================== */


/* GLOBAL
----------------------*/

body {
    font-family: 'Rubik', sans-serif;
    position: relative;
}

a {
    color: #00707e;
}

a:hover,
a:focus {
    color: #00505a;
}

h1 {
    font-size: 60px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: #00707e;
}

h2 {
    font-size: 30px;
    font-weight: 500;
    color: #00707e;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

h2.text-white { color: #fff !important; }

h3 {
    color: #00707e;
    font-size: 22px;
    font-weight: 500;
}

.h3{
    color: #00707e;
    font-size: 22px;
    font-weight: 500;
}

h4 {
    font-size: 20px;
    font-weight: 500;
    color: #00707e;
}

h5 {
    font-size: 2em;
    font-weight: 300;
    color: #00707e;
    text-transform: uppercase;
}

p {
    /* #000000 : ratio 4.79:1 sur blanc — conforme WCAG AA */
    color: #000000;
}

p.lead {
    color: #00707e;
    margin-bottom: 1rem;
}

p.leadDate {
    color: #00707e;
    margin-bottom: 0;
}

.list-style-none{
    list-style: none;
}

/* Texte blanc dans les zones dégradées */
.bg-gradient p,
.bg-gradient h2,
.bg-gradient h3,
.bg-gradient h4 {
    color: #fff;
}

.text-primary {
    color: #00707e !important;
}

.text-black {
    color: #000 !important;
}

.light-font {
    font-weight: 300;
}

.btn {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 0.375rem 1.35rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    color: #46babc;
}

.btn-primary {
    border-radius: 3px;
    background-color: #158285 !important;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    padding: 0.6rem 2rem;
    border: 0;
    color: #fff;
}

.btn-light {
    border-radius: 3px;
    background: #fff;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.26);
    font-size: 14px;
    font-weight: 500;
    color: #00707e;
    margin: 0.5rem;
    padding: 0.7rem 1.6rem;
    line-height: 1.8;
}

.btn-group-lg > .btn,
.btn-lg {
    padding: 0.8rem 1rem;
    font-size: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title small {
    color: #000;
}

@media (max-width: 767px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    h3 { font-size: 25px; }
}

.carousel-caption {
    background-color: #00000091;
}
.carousel-caption h3,
.carousel-caption p {
    color: #fff;
}

#communication h2 {
    text-align: center;
}


/* NAVBAR
----------------------*/

.nav-menu {
    padding: 1rem 0;
    transition: all 0.5s ease;
    background: #158285;
}

.nav-menu.is-scrolling,
.nav-menu.menu-is-open {
    background: #158285;
    box-shadow: 0px 5px 23px 0px rgba(0, 0, 0, 0.1);
}

.nav-menu.is-scrolling {
    padding: 0;
}

.navbar-nav .nav-link {
    position: relative;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
        font-size: 14px;
    }

    .navbar-nav > .nav-item > .nav-link.active:after {
        content: "";
        border-bottom: 2px solid #2bcdd1;
        left: 1rem;
        right: 1rem;
        bottom: 5px;
        height: 1px;
        position: absolute;
    }

    .navbar-brand {
        font-size: 1.3em;
    }
}

@media (max-width: 991px) {
    .navbar-nav.is-scrolling {
        padding-bottom: 1rem;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }

    .navbar-brand {
        width: 75%;
        font-size: 1em;
    }
}

@media (max-width: 500px) {
    .navbar-brand {
        white-space: initial;
        width: 220px;
    }
}


/* HERO
----------------------*/

header {
    padding: 100px 0 0;
    text-align: center;
    color: #fff;
}

.bg-home {
    background-color: #fff;
}

.bg-gradient {
    background-color: #158285;
}

.tagline {
    font-size: 1.5em;
    font-weight: 400;
    color: #00707e;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 3rem 0;
}

/* Logo principal TVL — inspiré du Finistère */
.logo {
    max-width: 50%;
    height: auto;
}

.bandeauInvitation {
    max-width: 50%;
    height: auto;
}

.imgCandidature {
    max-width: 30%;
    height: auto;
}

.logoFooter {
    max-width: 15%;
    height: auto;
}

@media (max-width: 1200px) {
    .logo { max-width: 55%; }
}

@media (max-width: 767px) {
    .tagline { font-size: 17px; }

    .logo,
    .bandeauInvitation,
    .imgCandidature {
        max-width: 80%;
    }

    .logoFooter {
        max-width: 50%;
    }
}


/* FEATURES
----------------------*/

.gradient-fill:before {
    color: #4ad1d3;
    background: #158285;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card.features {
    border: 0;
    border-radius: 3px;
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .card.features {
        margin-bottom: 2rem;
    }

    [class^="col-"]:last-child .card.features {
        margin-bottom: 0;
    }
}

.card.features:before {
    content: "";
    position: absolute;
    width: 3px;
    background: #158285;
    top: 0;
    bottom: 0;
    left: 0;
}

.card-text {
    font-size: 14px;
}

.card.features:hover {
    transform: translateY(-3px);
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.08);
}

.box-icon {
    box-shadow: 0px 0px 43px 0px rgba(0, 0, 0, 0.14);
    padding: 10px;
    width: 70px;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    background-color: #fff;
}

.circle-icon {
    padding: 10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 48px;
    text-align: center;
    line-height: 80px;
    font-weight: 300;
    transition: all 0.3s ease;
    background-color: #158285;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.09);
    color: #fff;
}

@media (max-width: 992px) {
    .circle-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        line-height: 50px;
    }
}

.ui-steps li {
    padding: 15px 0;
}

.ui-steps li:not(:last-child) {
    border-bottom: 1px solid #f0eeef;
}

.perspective-phone {
    position: relative;
    z-index: -1;
}

@media (min-width: 992px) {
    .perspective-phone {
        margin-top: -150px;
    }
}


/* TABS
----------------------*/

.tab-content {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    background-color: #fff;
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.3);
    padding: 3rem;
}

@media (max-width: 992px) {
    .tab-content {
        padding: 1.5rem;
    }
}

.tab-content p {
    line-height: 1.8;
}

.tab-content h2,
.tab-content h3 {
    margin-bottom: 0.5rem;
}

/* Listes de dates dans les blocs info */
.tab-content dl dt {
    font-weight: 500;
}

.tab-content dl dd {
    margin-bottom: 0.75rem;
    color: #000000;
}

.nav-tabs {
    border-bottom: 0;
}

.nav-tabs .nav-item .nav-link,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    padding: 1rem;
    border-color: #faf6fb #faf6fb #fff;
    font-size: 19px;
    color: #00707e;
    background: #f5eff7;
}

.nav-tabs .nav-link.active {
    background: #fff;
    border-top-width: 3px;
    border-color: #409e9e #faf6fb #fff;
    color: #00707e;
}


/* TESTIMONIALS
----------------------*/

.owl-carousel .owl-item img.client-img {
    width: 110px;
    margin: 30px auto;
    border-radius: 50%;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.07);
}

.testimonials-single {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

.blockquote {
    color: #006264;
    font-weight: 300;
}

.owl-next.disabled,
.owl-prev.disabled {
    opacity: 0.5;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-prev { left: 0; }
.owl-next { right: 0; }

.owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 60px;
}

.owl-theme .owl-dots .owl-dot span {
    background: #e7d9eb;
    width: 35px;
    height: 8px;
    border-radius: 10px;
    transition: all 0.3s ease-in;
}

.owl-theme .owl-dots .owl-dot:hover span,
.owl-theme .owl-dots .owl-dot.active span {
    background: #4ad1d3;
}

.owl-theme .owl-dots .owl-dot.active span {
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.07);
}


/* IMAGE GALLERY
----------------------*/

.img-gallery .owl-item {
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.07);
    transform: scale(0.8);
    transition: all 0.3s ease-in;
}

.img-gallery .owl-item.center {
    transform: scale(1);
}


/* CALL TO ACTION
----------------------*/

.call-to-action {
    text-align: center;
    color: #fff;
    margin: 3rem 0;
}

.call-to-action .box-icon {
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    transform: scale(0.85);
    margin-bottom: 2.5rem;
}

.call-to-action h2 {
    color: #fff;
}

.call-to-action .tagline {
    font-size: 16px;
    font-weight: 300;
    color: #abf5f5;
    max-width: 650px;
    margin: 0 auto;
}

.btn-light img {
    margin-right: 0.4rem;
    vertical-align: text-bottom;
}

.envoyer {
    background: #00707e;
    padding: 15px 40px;
    border: none;
    color: #ffffff;
    margin: 30px auto 10px;
    text-transform: uppercase;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
}

.envoyer:hover,
.envoyer:focus {
    background-color: #00505a;
    outline: 3px solid #00505a;
    outline-offset: 2px;
}


/* INPUT UPLOAD
----------------------*/

/* Le vrai input est masqué mais reste focusable */
.inputfile + label,
label[for="image"] {
    background-color: #555;
    color: #ffffff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

label[for="image"] svg path {
    fill: #ffffff;
}

label[for="image"]:hover,
label[for="image"]:focus-within {
    background-color: #333;
}

.upload {
    display: flex;
    align-items: center;
    flex-direction: column;
}


/* FORM
----------------------*/

textarea {
    width: 100%;
}

select {
    color: #3d3d3d !important;
}

select option {
    color: #3d3d3d !important;
}

#ok,
#ko {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.donnees_perso {
    text-align: center;
}

#gdpr p, #gdpr ol{
    color: #3d3d3d !important;
}

span.a_green,
.a_green {
    color: #00707e;
    text-decoration: underline;
    cursor: pointer;
}

.underline {
    text-decoration: underline;
}


/* FORMULAIRE
----------------------*/

/* Décalage pour compenser la navbar fixe (uniquement sur inscription.html) */
.pt-navbar {
    padding-top: 100px;
}

.h2FormTitle {
    text-align: center;
    text-transform: uppercase;
    font-size: 45px;
    color: #00707e;
}

.h2Form {
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    color: #00707e;
    margin: 0;
}

/* Le <fieldset> remplace .formBlocs */
.formBlocs {
    padding: 3%;
    border: solid 2px #00707e;
    border-radius: 3em;
    margin-bottom: 5%;
}

/* La légende ne doit pas rétrécir à la largeur du texte puis s'étaler */
.formBlocs > legend {
    float: none;
    width: auto;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    background-color: #F0F3F4 !important;
    /* Texte suffisamment contrasté */
    color: #3d3d3d !important;
}

.form-label,
label,
legend {
    font-size: 1rem;
    color: #3d3d3d;
    font-weight: 500;
}

abbr[title] {
    text-decoration: none;
    color: #c00;
}

form .error {
    color: #c00;
    border-color: #c00;
}

/* Focus visible sur tous les contrôles */
.form-control:focus,
.form-select:focus,
.form-check-input:focus,
button:focus-visible,
a:focus-visible {
    outline: 3px solid #00707e;
    outline-offset: 2px;
    box-shadow: none;
}

/* Focus visible dans la navbar (fond sombre) */
.nav-menu a:focus-visible,
.nav-menu button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Lien d'évitement (skip link) — RGAA 12.7 */
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: #fff;
    color: #00707e;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 3px solid #00707e;
    clip: auto;
    clip-path: none;
    overflow: visible;
    white-space: nowrap;
}


/* BOUTON PDF
----------------------*/

.btn-print-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #555;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 3px;
}

.btn-print-pdf svg path {
    fill: #ffffff;
}

.btn-print-pdf:hover,
.btn-print-pdf:focus {
    background-color: #333;
    outline: 3px solid #333;
    outline-offset: 2px;
}


/* FOOTER
----------------------*/

footer {
    color: #000000;
}

footer p {
    font-size: 0.85rem;
}

footer a {
    color: #00707e;
}

footer a:hover {
    color: #00505a;
}

.social-icons {
    text-align: center;
}

.social-icons a {
    background-color: #fff;
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.05);
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.3rem;
    border-radius: 5px;
    color: #00707e;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover,
.social-icons a:focus {
    color: #00505a;
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .social-icons {
        text-align: center;
        margin-top: 2rem;
    }
}


/* Illustrations dans les onglets */
.img-prix  { max-width: 110px; }
.img-dates { max-width: 160px; }
.img_domaines{
    width: 100px;
    height: auto;
}


/* Blocs "En savoir plus" — affichage séquentiel façon Finistère */


.info-bloc h3 {
    margin-bottom: 1.5rem;
}

/* Liste de dates (dl/dt/dd) */
.info-bloc dl dt {
    font-weight: 500;
    color: #00707e;
}

.info-bloc dl dd {
    margin-bottom: 0.75rem;
    color: #000000;
}


/* IMPRESSION / SAUVEGARDE PDF
----------------------*/

@media print {
    .nav-menu,
    .bg-home,
    #btn-print,
    #btn-print-ok,
    #btn-print-ko,
    #ok,
    #ko,
    .donnees_perso,
    #gdpr,
    footer,
    input[type="submit"],
    button[type="submit"],
    input[type="file"],
    label[for="image"],
    h1, h2, h3, h4, h5 {
        display: none !important;
    }

    @page {
        margin: 10mm;
    }

    body {
        padding: 0;
        margin: 0;
        font-size: 10pt;
        width: 100%;
    }

    .section,
    .section.light-bg,
    .container,
    .row,
    #formulaire,
    #candidature,
    .box {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }

    input[type="text"],
    input[type="number"],
    input[type="email"],
    select,
    textarea {
        background-color: #fff !important;
        border: 1px solid #aaa !important;
        color: #000 !important;
        width: 100% !important;
        page-break-inside: avoid;
    }

    textarea {
        display: none !important;
    }

    .print-textarea-replacement {
        display: block;
        width: 100%;
        min-height: 40px;
        padding: 6px 8px;
        border: 1px solid #aaa;
        background: #fff;
        color: #000;
        font-family: inherit;
        font-size: inherit;
        white-space: pre-wrap;
        word-break: break-word;
        page-break-inside: avoid;
    }

    .formBlocs {
        page-break-inside: avoid;
        border: none !important;
        border-top: 1px solid #ccc !important;
        border-radius: 0 !important;
        padding: 10px !important;
        margin-bottom: 15px !important;
    }

    p, label, td, th {
        color: #000 !important;
    }

    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}
