/*
Theme Name: Milo Child
Theme URI: http://themeforest.net/user/freshface/portfolio
Description: Premium WordPress Theme
Author: FRESHFACE
Author URI: http://themeforest.net/user/freshface/portfolio
License: Go to the "license" folder
License URI: Go to the "license" folder
Text Domain: milo-child
Tags: white
Version: 1.0.0
Template: milo
*/


input[type=radio] {
  all: initial;
  * {
    all: unset;
  }
}

input[type="checkbox"] { -webkit-appearance: checkbox; }
input[type="radio"] { -webkit-appearance: radio; }
input[type="submit"], input[type="button"] { -webkit-appearance: button; }
select { -webkit-appearance:textfield; }


/* f29200 */

.headline p strong {
    color: #f29200;
}

.blog-article-author, .post-meta-object {
    display: none !important;
}

input[type=radio] {
    display: inline;
}

#catapult-cookie-bar {
    opacity: 0.8 !important;
    height: 57px !important;
    font-size: 80% !important;
}

/* Slider Témoignages */
.pis-testimonials {
    background: #252956;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 80px;
}
.pis-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}
.pis-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.pis-track {
    min-height: 180px;
}
.pis-slide {
    animation: pisFadeIn 0.5s ease;
}
@keyframes pisFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.pis-quote {
    margin: 0;
    padding: 0;
}
.pis-quote p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
}
.pis-quote p::before { content: "\201C"; color: #f29200; font-size: 28px; margin-right: 4px; }
.pis-quote p::after { content: "\201D"; color: #f29200; font-size: 28px; margin-left: 4px; }
.pis-author {
    margin-top: 25px;
}
.pis-name {
    display: block;
    color: #f29200;
    font-size: 16px;
    font-weight: 600;
}
.pis-role {
    display: block;
    color: #a0a3c2;
    font-size: 14px;
    margin-top: 4px;
}
.pis-prev, .pis-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    font-size: 18px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.pis-prev:hover, .pis-next:hover {
    border-color: #f29200;
    color: #f29200;
}
.pis-prev { left: -60px; }
.pis-next { right: -60px; }
.pis-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pis-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s;
}
.pis-dot.active {
    background: #f29200;
}
@media (max-width: 960px) {
    .pis-prev { left: 0; }
    .pis-next { right: 0; }
    .pis-track { padding: 0 50px; }
}

/* Tableau des offres */
.pis-offres-wrap {
    max-width: 1100px;
    margin: 40px auto;
    overflow-x: auto;
}
.pis-offres {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid #333;
    font-size: 15px;
    line-height: 1.5;
}
.pis-offres th,
.pis-offres td {
    border: 2px solid #333;
    padding: 18px 20px;
    vertical-align: top;
    text-align: left;
}
/* Lignes verticales grises uniquement autour de la colonne AJUSTER */
.pis-offres th:nth-child(2),
.pis-offres td:nth-child(2) {
    border-right: 1px solid #ccc !important;
    border-top: 2px solid #333 !important;
    border-bottom: 2px solid #333 !important;
}
.pis-offres th:nth-child(3),
.pis-offres td:nth-child(3) {
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
    border-top: 2px solid #333 !important;
    border-bottom: 2px solid #333 !important;
}
.pis-offres th:nth-child(4),
.pis-offres td:nth-child(4) {
    border-left: 1px solid #ccc !important;
    border-top: 2px solid #333 !important;
    border-bottom: 2px solid #333 !important;
}
.pis-offres thead th {
    background: #fff;
    text-align: center;
    border-bottom: 2px solid #333 !important;
    padding: 14px 10px;
}
.pis-offres thead th .col-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}
.pis-offres thead th .col-sub {
    display: block;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f29200;
    margin-top: 2px;
}
.pis-offres .row-header {
    background: #fff;
    text-align: center;
    vertical-align: middle;
    width: 50px;
    min-width: 50px;
    border-right: 2px solid #333;
    padding: 10px 6px;
}
.pis-offres .row-header .row-label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    color: #333;
}
.pis-offres .row-header .row-label span {
    color: #f29200;
}
.pis-offres td ul {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}
.pis-offres td ul li {
    margin-bottom: 6px;
}
.pis-offres td ul li u {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pis-offres tr:first-child td,
.pis-offres tr:first-child th {
    border-top: none;
}
.pis-offres tbody tr:first-child td,
.pis-offres tbody tr:first-child th {
    border-top: 2px solid #333;
}
.pis-offres tbody tr + tr td,
.pis-offres tbody tr + tr th {
    border-top: 2px solid #333;
}

/* Responsive tableau offres */
@media (max-width: 768px) {
    .pis-offres {
        font-size: 13px;
    }
    .pis-offres th,
    .pis-offres td {
        padding: 12px 10px;
    }
    .pis-offres .row-header {
        width: 35px;
        min-width: 35px;
    }
    .pis-offres .row-header .row-label {
        font-size: 13px;
    }
}

/* Fun-facts section (shortcode sur pages traditionnelles) */
.pis-fun-facts-section {
    padding: 40px 0 60px;
    text-align: center;
}
.pis-fun-facts-section .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.pis-fun-facts-section .row > div {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
}

/* Fun-facts : forcer le texte à rester dans les cercles */
.pie-chart-details small {
    display: block;
    max-width: 160px;
    margin: 0 auto;
    word-break: normal;
    overflow-wrap: normal;
    line-height: 1.6;
}

/* Fun-facts : "+" devant les valeurs (sauf le dernier cercle) */
.pie-chart-details .value::before {
    content: "+ ";
}
.pie-chart:last-child .pie-chart-details .value::before,
.row > div:last-child .pie-chart-details .value::before {
    content: none;
}

/* Paire de boutons sur pages Comprendre/Ajuster/Agir.
   Le wrapper .pis-btn-pair est généré par button.php (override one-page). */

/* Desktop : boutons côte à côte, même hauteur, gap stable */
.pis-btn-pair > .btn.btn-default {
    display: inline-block;
    vertical-align: top;
    margin: 5px;
}

/* Mobile : empilés verticalement, centrés, même largeur */
@media (max-width: 768px) {
    .pis-btn-pair {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .pis-btn-pair > .btn.btn-default {
        display: block;
        width: 280px;
        max-width: calc(100% - 20px);
        margin: 0;
        box-sizing: border-box;
    }
}

/* Formulaire de contact : cases à cocher en face de chaque proposition */
.wpcf7-form .wpcf7-radio .wpcf7-list-item,
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0 0 8px 0;
}
.wpcf7-form .wpcf7-radio input[type="radio"],
.wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
    -webkit-appearance: radio;
    appearance: auto;
    margin-right: 8px;
    vertical-align: middle;
    width: auto;
    height: auto;
    display: inline-block;
    opacity: 1;
    position: static;
}
.wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
    -webkit-appearance: checkbox;
}
.wpcf7-form .wpcf7-list-item-label {
    vertical-align: middle;
}


