/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/



#masthead #logo {
  display: none !important;
}


/* =========================================================
   1. CHARTE PAR UNIVERS
========================================================= */

/* Valeurs par défaut (= Club), utilisées hors univers */
:root {
    --kq-bg: #f0f9ff;
    --kq-accent: #0084c7;
    --kq-accent-dark: #006a9f;
    --kq-pale: #e0f2fe;
    --kq-border: #bae6fd;
}

/* CLUB */
body.univers-club {
    --kq-bg: #f0f9ff;
    --kq-accent: #0084c7;
    --kq-accent-dark: #006a9f;
    --kq-pale: #e0f2fe;
    --kq-border: #bae6fd;
}

/* LOCATION KAYAK */
body.univers-location {
    --kq-bg: #fffbeb;
    --kq-accent: #d97706;
    --kq-accent-dark: #b45309;
    --kq-pale: #fef3c7;
    --kq-border: #fde68a;
}

/* DESCENTE DE L'ODET */
body.univers-odet {
    --kq-bg: #f0fdf4;
    --kq-accent: #16a34a;
    --kq-accent-dark: #15803d;
    --kq-pale: #dcfce7;
    --kq-border: #bbf7d0;
}

/* =========================================================
   2. HEADER PAR UNIVERS (image + bande de couleur)
========================================================= */

/* Cacher les 3 headers par défaut */
.header-club,
.header-tourisme,
.header-odet {
    display: none;
}

/* Afficher celui de l'univers */
.univers-club .header-club,
.univers-location .header-tourisme,
.univers-odet .header-odet {
    display: block;
}

/* Bande sous la barre du haut */
.header-main {
    background-color: var(--kq-accent) !important;
}

/* Têtières limitées à 2560 px sur très grand écran,
   côtés remplis avec la couleur de l'univers */
.header-club,
.header-tourisme,
.header-odet {
    max-width: 2560px;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 0 0 100vmax var(--kq-accent);
    clip-path: inset(0 -100vmax);
}

/* Accueil : bande bleue du header réduite à un trait fin */
.home .header-main {
    height: 0px !important;
    min-height: 0 !important;
    overflow: hidden;
}

.home .header-main .header-inner {
    display: none;
}

/* =========================================================
   3. FONDS DE PAGE
========================================================= */

body {
    background-color: var(--kq-bg);
}

#main,
#wrapper {
    background-color: transparent !important;
}

/* Les sections des pages prennent le fond de l'univers
   (remplace le gris saisi dans [section bg_color=...]) */
.section.kq-page {
    background-color: var(--kq-bg) !important;
}

/* =========================================================
   4. TITRES & BOUTONS
========================================================= */

.kq-carte h1,
.kq-carte h3,
[class*="univers-"] .section-title,
[class*="univers-"] #content h1 {
    color: var(--kq-accent) !important;
}

[class*="univers-"] #content .button:not(.is-outline):not(.is-link) {
    background-color: var(--kq-accent) !important;
    border-color: var(--kq-accent) !important;
}

[class*="univers-"] #content .button:not(.is-outline):not(.is-link):hover {
    background-color: var(--kq-accent-dark) !important;
    border-color: var(--kq-accent-dark) !important;
}

/* =========================================================
   5. COMPOSANTS DES PAGES (cadres blancs kq-*)
   Ces règles prennent le dessus sur le CSS collé dans les
   [ux_html] des pages, qui pourra être supprimé plus tard.
========================================================= */

.col.kq-carte {
    padding-bottom: 20px;
}

.col.kq-carte>.col-inner {
    height: 100%;
    background: #fff !important;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04),0 10px 30px rgba(15,23,42,.06);
    padding: 32px 30px;
}

.kq-carte h1 {
    margin: 0 0 16px;
    font-size: 2.4em;
    font-weight: 800;
}

.kq-carte h3 {
    margin: 0 0 14px;
    font-size: 1.25em;
    font-weight: 700;
}

.kq-carte p {
    color: #475569;
    line-height: 1.7;
}

.kq-carte p:last-child,.kq-carte ul:last-child {
    margin-bottom: 0;
}

.kq-carte .kq-chapo {
    font-size: 1.15em;
    color: #1e293b;
}

.kq-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--kq-pale) !important;
    border: 1px solid var(--kq-border) !important;
    border-radius: 999px;
    color: var(--kq-accent) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kq-carte ul.kq-liste {
    margin: 0 0 1.3em;
    padding: 0;
    list-style: none;
}

.kq-carte ul.kq-liste li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 22px;
    color: #475569;
}

.kq-carte ul.kq-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kq-accent) !important;
}

.kq-carte ul.kq-horaires {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.kq-carte ul.kq-horaires li {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

.kq-carte ul.kq-horaires li:last-child {
    border-bottom: 0;
}

.kq-carte ul.kq-horaires strong {
    color: #0f172a;
}

.kq-carte ul.kq-horaires span {
    padding-left: 12px;
    color: var(--kq-accent) !important;
    font-weight: 700;
    text-align: right;
}

.kq-carte .kq-note {
    font-size: .9em;
    color: #94a3b8;
}

.col.kq-alerte>.col-inner {
    background: #fffbeb !important;
    border-color: #fde68a;
    border-left: 5px solid #d97706;
}

.kq-table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.kq-carte table.kq-tarifs {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.kq-carte table.kq-tarifs th,.kq-carte table.kq-tarifs td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #eef2f6;
    text-align: center;
    white-space: nowrap;
}

.kq-carte table.kq-tarifs thead th {
    background: var(--kq-accent) !important;
    color: #fff;
    font-size: .85em;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.kq-carte table.kq-tarifs tbody tr:nth-child(even) {
    background: #f8fafc;
}

.kq-carte table.kq-tarifs tbody tr:last-child td {
    border-bottom: 0;
}

.kq-carte table.kq-tarifs td:first-child {
    text-align: left;
    font-weight: 700;
    color: #0f172a;
}

.kq-carte table.kq-tarifs td small {
    font-weight: 400;
    color: #94a3b8;
}

.kq-carte ul.kq-mentions {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kq-carte ul.kq-mentions li {
    margin: 0 0 4px;
    font-size: .88em;
    font-style: italic;
    color: #64748b;
}

.kq-carte .kq-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kq-carte .kq-contact a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--kq-pale) !important;
    border-radius: 999px;
    color: var(--kq-accent) !important;
    font-weight: 700;
}

.kq-carte .kq-contact a:hover {
    background: var(--kq-accent) !important;
    color: #fff;
}

.col.kq-en>.col-inner {
    background: #f8fafc !important;
    box-shadow: none;
}

.kq-carte .kq-en p,.kq-carte .kq-en li {
    font-size: .95em;
}

@media (max-width:549px) {
    .col.kq-carte>.col-inner {
        padding: 22px 18px;
        border-radius: 18px;
    }
    .kq-carte h1 {
        font-size: 1.9em;
    }
    .kq-carte table.kq-tarifs th,.kq-carte table.kq-tarifs td {
        padding: 10px 12px;
    }
}

.kq-pastille {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 16px;
    background: #fef3c7;
    border-radius: 999px;
    color: #92400e !important;
    font-weight: 700;
    font-size: .9em;
}

.kq-carte table.kq-tarifs th small,.kq-carte table.kq-tarifs td small {
    display: block;
    font-size: .75em;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: .8;
}

.kq-carte table.kq-tarifs thead th small {
    color: var(--kq-pale) !important;
}

.kq-carte table.kq-tarifs--descente td {
    white-space: normal;
}

.kq-carte table.kq-tarifs--descente td:not(:first-child) {
    font-weight: 700;
    color: var(--kq-accent) !important;
}

.kq-bouton {
    display: inline-block;
    padding: 12px 22px;
    background: var(--kq-accent) !important;
    border-radius: 999px;
    color: #fff !important;
    font-weight: 700;
}

.kq-bouton:hover {
    background: var(--kq-accent-dark) !important;
}

.kq-carte ul.kq-atouts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.kq-carte ul.kq-atouts li {
    margin: 0;
    padding: 16px 18px;
    background: var(--kq-bg) !important;
    border: 1px solid var(--kq-border) !important;
    border-radius: 14px;
    color: #475569;
}

.kq-carte ul.kq-atouts strong {
    display: block;
    color: var(--kq-accent) !important;
    font-size: 1.1em;
}

@media (max-width:549px) {
    .kq-carte ul.kq-atouts {
        grid-template-columns: 1fr;
    }
}

.kq-carte .kq-photo {
    margin: 20px 0;
}

.kq-carte .kq-photo:last-child {
    margin-bottom: 0;
}

.kq-carte .kq-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.col.kq-centre>.col-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kq-carte .kq-logo img {
    display: block;
    max-width: 240px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.kq-carte ul.kq-liste--2col {
    columns: 2;
    column-gap: 32px;
}

.kq-carte ul.kq-liste--2col li {
    break-inside: avoid;
}

@media (max-width:549px) {
    .kq-carte ul.kq-liste--2col {
        columns: 1;
    }
}

.kq-carte .kq-carte-map {
    margin: 16px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.kq-carte .kq-carte-map iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
}

.kq-carte .kq-form .wpcf7 {
    margin-top: 24px;
}

.kq-carte .kq-form .wpcf7 p {
    margin: 0 0 16px;
}

.kq-carte .kq-form .wpcf7 label {
    display: block;
    font-size: .9em;
    font-weight: 700;
    color: #0f172a;
}

.kq-carte .kq-form .wpcf7 input[type="text"],.kq-carte .kq-form .wpcf7 input[type="email"],.kq-carte .kq-form .wpcf7 input[type="tel"],.kq-carte .kq-form .wpcf7 input[type="date"],.kq-carte .kq-form .wpcf7 input[type="number"],.kq-carte .kq-form .wpcf7 select,.kq-carte .kq-form .wpcf7 textarea {
    width: 100%;
    margin: 6px 0 0;
    padding: 12px 16px;
    height: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
    font-size: 1em;
    color: #0f172a;
    transition: border-color .2s,box-shadow .2s;
}

.kq-carte .kq-form .wpcf7 textarea {
    min-height: 160px;
}

.kq-carte .kq-form .wpcf7 input:focus,.kq-carte .kq-form .wpcf7 select:focus,.kq-carte .kq-form .wpcf7 textarea:focus {
    background: #fff;
    border-color: var(--kq-accent) !important;
    box-shadow: 0 0 0 4px var(--kq-pale) !important;
    outline: 0;
}

.kq-carte .kq-form .wpcf7 input[type="submit"] {
    margin: 8px 0 0;
    padding: 12px 28px;
    background: var(--kq-accent) !important;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.kq-carte .kq-form .wpcf7 input[type="submit"]:hover {
    background: var(--kq-accent-dark) !important;
}

.kq-carte .kq-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: .85em;
    color: #e11d48;
}

.kq-carte .kq-form .wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .9em;
}

.kq-carte ul.kq-docs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kq-carte ul.kq-docs li {
    margin: 0 0 8px;
}

.kq-carte ul.kq-docs a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 600;
    transition: border-color .2s,background .2s;
}

.kq-carte ul.kq-docs a::before {
    content: "PDF";
    flex-shrink: 0;
    padding: 2px 6px;
    background: #ffe4e6;
    border-radius: 6px;
    color: #e11d48;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
}

.kq-carte ul.kq-docs a:hover {
    background: var(--kq-bg) !important;
    border-color: var(--kq-accent) !important;
    color: var(--kq-accent) !important;
}

.col.kq-titre-seul>.col-inner {
    padding: 0;
    background: none !important;
    border: 0;
    box-shadow: none;
}

.kq-carte .kq-titre-seul h3 {
    font-size: 1.6em;
}

.kq-carte ul.kq-horaires strong small {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    color: #94a3b8;
}

.kq-carte .kq-profil {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

.kq-carte .kq-profil__photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 16px;
    background: #e2e8f0;
}

@media (max-width:849px) {
    .kq-carte .kq-profil {
        grid-template-columns: 160px 1fr;
        gap: 24px;
    }
}

@media (max-width:549px) {
    .kq-carte .kq-profil {
        grid-template-columns: 1fr;
    }
    .kq-carte .kq-profil__photo img {
        max-width: 220px;
    }
}

.kq-carte ul.kq-liens {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kq-carte ul.kq-liens li {
    margin: 0;
    border-bottom: 1px solid #eef2f6;
}

.kq-carte ul.kq-liens li:last-child {
    border-bottom: 0;
}

.kq-carte ul.kq-liens a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #0f172a;
    font-weight: 600;
}

.kq-carte ul.kq-liens a::after {
    content: "↗";
    color: var(--kq-accent) !important;
    font-weight: 700;
}

.kq-carte ul.kq-liens a:hover {
    color: var(--kq-accent) !important;
}

.kq-carte ul.kq-horaires strong a {
    color: #0f172a;
    text-decoration: underline;
    text-decoration-color: var(--kq-border) !important;
    text-underline-offset: 3px;
}

.kq-carte ul.kq-horaires strong a:hover {
    color: var(--kq-accent) !important;
}

.kq-carte ul.kq-atouts--3 {
    grid-template-columns: repeat(3,1fr);
}

@media (max-width:849px) {
    .kq-carte ul.kq-atouts--3 {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   6. SOULIGNEMENT VAGUE
========================================================= */

.underline-wave {
    display: inline-block;
    position: relative;
    padding-bottom: 0 !important;
}

.underline-wave::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background-repeat: repeat-x;
    background-size: 60px 16px;
}

.underline-wave-white::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 12.5 0, 25 10 T 50 10 T 75 10 T 100 10' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
}

.underline-wave-blue::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 12.5 0, 25 10 T 50 10 T 75 10 T 100 10' fill='none' stroke='rgb(9, 54, 113)' stroke-width='3'/%3E%3C/svg%3E");
}

/* =========================================================
   7. CADRE BLANC (ancienne version, classe cadre-blanc)
========================================================= */

.cadre-blanc > .col-inner {
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.04);
    padding: 28px 24px 24px;
}

@media (max-width: 549px) {
    .cadre-blanc > .col-inner {
        border-radius: 18px;
        padding: 22px 16px 16px;
    }
}

/* =========================================================
   8. FOOTER GLOBAL
========================================================= */

/* --- Affichage selon l'univers --- */
/* Actualités : générales partout sauf Descente, Descente uniquement sur la Descente */
.univers-odet .kq-footer-actu--general,
body:not(.univers-odet) .kq-footer-actu--odet {
    display: none !important;
}

/* Email : kayak-quimper partout sauf Descente, descente-odet uniquement sur la Descente */
.univers-odet .kq-mail-general,
body:not(.univers-odet) .kq-mail-odet {
    display: none !important;
}

/* --- Bandeau d'accroche --- */
.kq-footer-cta .kq-footer-cta__titre {
    margin: 0 0 12px;
    color: #fff;
    font-size: 2.2em;
    font-weight: 800;
    line-height: 1.2;
}

.kq-footer-cta .kq-footer-cta__texte {
    margin: 0 auto 28px;
    max-width: 560px;
    color: rgba(255,255,255,.9);
    font-size: 1.1em;
}

/* Bouton : orange sur tout le site */
.kq-footer-cta .button {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #fff !important;
}

.kq-footer-cta .button:hover {
    background-color: #b45309 !important;
    border-color: #b45309 !important;
}

/* --- Actualités --- */
.section.kq-footer-actu--general {
    background-color: #0084c7 !important;
}

.section.kq-footer-actu--odet {
    background-color: #16a34a !important;
}

.kq-footer-actu .kq-footer-actu__badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kq-footer-actu .kq-footer-actu__titre {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.8em;
    font-weight: 800;
}

.kq-footer-actu .post-item .col-inner {
    height: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,23,42,.12);
}

.kq-footer-actu .post-item .box-text {
    padding: 16px 18px 20px;
}

.kq-footer-actu .post-item .post-title,
.kq-footer-actu .post-item .post-title a {
    color: #0f172a !important;
}

.kq-footer-actu--general .post-item a:hover .post-title {
    color: #0084c7 !important;
}

.kq-footer-actu--odet .post-item a:hover .post-title {
    color: #16a34a !important;
}

.kq-footer-actu .badge-inner {
    background-color: #093671 !important;
}

/* --- Pied de page --- */
.kq-footer-bas h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kq-footer-bas p {
    color: rgba(255,255,255,.8);
    line-height: 1.7;
}

.kq-footer-bas p strong {
    color: #fff;
}

.kq-footer-bas .img {
    margin-bottom: 14px;
}

.kq-footer-bas ul.kq-footer-liens {
    margin: 0;
    padding: 0;
    list-style: none;
}

.kq-footer-bas ul.kq-footer-liens li {
    margin: 0 0 8px;
}

.kq-footer-bas ul.kq-footer-liens a,
.kq-footer-bas .kq-footer-copy a {
    color: rgba(255,255,255,.8);
}

.kq-footer-bas ul.kq-footer-liens a:hover,
.kq-footer-bas .kq-footer-copy a:hover {
    color: #fff;
    text-decoration: underline;
}

.kq-footer-bas .kq-footer-copy {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.kq-footer-bas .kq-footer-copy p {
    margin: 0;
    font-size: .85em;
    color: rgba(255,255,255,.6);
}

@media (max-width: 549px) {
    .kq-footer-cta .kq-footer-cta__titre {
        font-size: 1.6em;
    }
    .kq-footer-actu .kq-footer-actu__titre {
        font-size: 1.4em;
    }
}

/* =========================================================
   9. BLOG (pastilles de date et titres aux couleurs de l'univers)
========================================================= */

[class*="univers-"] .badge-inner {
    background-color: var(--kq-accent) !important;
}

[class*="univers-"] .post-item .post-title,
[class*="univers-"] .post-item .post-title a {
    color: var(--kq-accent) !important;
}

[class*="univers-"] .post-item .post-title a:hover {
    color: var(--kq-accent-dark) !important;
}